Multiple buildpack releases for same version of staticfile_buildpack-cached-cflinuxfs4-v1.6.22 causes automation to fail
search cancel

Multiple buildpack releases for same version of staticfile_buildpack-cached-cflinuxfs4-v1.6.22 causes automation to fail

book

Article ID: 388654

calendar_today

Updated On:

Products

VMware Tanzu Application Service

Issue/Introduction

Multiple buildpack releases for same version of staticfile_buildpack-cached-cflinuxfs4-v1.6.22 causes automation to fail

Within 27seconds, two zip files were published and remain.  This breaks automation.

Two files:
staticfile_buildpack-cached-cflinuxfs4-v1.6.22+1739465094.zip
staticfile_buildpack-cached-cflinuxfs4-v1.6.22+1739466836.zip

This breaks automation in that:

om download-product --pivnet-api-token $api_token --pivnet-file-glob $file_glob --product-version $release_version \
   18 --pivnet-product-slug $product_slug --output-directory downloaded-files/tmp


Results in failure because there are two files matching that version and file_glob and you can't have a file_glob pattern that matches 'most recent timestamped file'.

2025/02/13 18:53:42 could not download product: for product version 1.6.22: the glob '*cflinuxfs4*.zip' matches multiple files. Write your glob to match exactly one of the following:
staticfile_buildpack-cached-cflinuxfs4-v1.6.22+1739465094.zip
staticfile_buildpack-cached-cflinuxfs4-v1.6.22+1739466836.zi

Environment

VMware Tanzu Application Service 6.0.0+LTS-T

Resolution

Call customer support for deleting duplicate file

Additional Information

Deleting duplicate staticfile_buildpack-cached-cflinuxfs4 file from customer service portal resolves the issue