Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Review workflow is failing with "Create Artifact Container failed" error #549

Open
ryonakano opened this issue Feb 1, 2025 · 4 comments
Labels
Priority: High To be addressed after any critical issues Status: Blocked Something else needs to be done before this can be fixed

Comments

@ryonakano
Copy link
Member

What Happened?

From #548 (comment)

The Review workflow is failing with the following error:

Error: Build failed: Error: Create Artifact Container failed: The artifact name com.github.ztefn.haguichi-x86_64 is not valid. Request URL https://pipelinesghubeus24.actions.githubusercontent.com/27kOXcXbm09kHxrFJEHB25mTfYcOg8anCtwtGzd2PXJ79lMxKT/_apis/pipelines/workflows/13082823958/artifacts?api-version=6.0-preview

Steps to Reproduce

  1. Go to the app submission PRs like Create io.elementary.goaltracker.json #545 or Update com.github.ztefn.haguichi to 1.151.0 #548
  2. See the build log of the CI

Expected Behavior

The workflow should success

OS Version

8.x (Circe)

Session Type

Classic Session (X11, This is the default)

Software Version

Latest release (I have run all updates)

Log Output

/usr/bin/flatpak build-bundle repo com.github.ztefn.haguichi.flatpak --runtime-repo=https://flatpak.elementary.io/repo.flatpakrepo --arch=x86_64 com.github.ztefn.haguichi stable
Uploading artifact...
Starting artifact upload
For more detailed logs during the artifact upload process, enable step-debugging: https://docs.github.com/actions/monitoring-and-troubleshooting-workflows/enabling-debug-logging#enabling-step-debug-logging
Artifact name is valid!
Create Artifact Container - Error is not retryable
##### Begin Diagnostic HTTP information #####
Status Code: 400
Status Message: Bad Request
Header Information: {
  "content-length": "268",
  "content-type": "application/json; charset=utf-8",
  "date": "Sat, 01 Feb 2025 04:47:09 GMT",
  "server": "Kestrel",
  "cache-control": "no-store,no-cache",
  "pragma": "no-cache",
  "strict-transport-security": "max-age=2592000",
  "x-tfs-processid": "15ed339a-69cd-4cae-8260-db3e247bdd6d",
  "activityid": "eca2c705-0873-4ba9-82a1-000b6a50538d",
  "x-tfs-session": "eca2c705-0873-4ba9-82a1-000b6a50538d",
  "x-vss-e2eid": "eca2c705-0873-4ba9-82a1-000b6a50538d",
  "x-vss-senderdeploymentid": "2c974d96-2c30-cef5-eff2-3e0511a903a5",
  "x-frame-options": "SAMEORIGIN"
}
###### End Diagnostic HTTP information ######
##### Begin Diagnostic HTTP information #####
Status Code: 400
Status Message: Bad Request
Header Information: {
  "content-length": "268",
  "content-type": "application/json; charset=utf-8",
  "date": "Sat, 01 Feb 2025 04:47:09 GMT",
  "server": "Kestrel",
  "cache-control": "no-store,no-cache",
  "pragma": "no-cache",
  "strict-transport-security": "max-age=2592000",
  "x-tfs-processid": "15ed339a-69cd-4cae-8260-db3e247bdd6d",
  "activityid": "eca2c705-0873-4ba9-82a1-000b6a50538d",
  "x-tfs-session": "eca2c705-0873-4ba9-82a1-000b6a50538d",
  "x-vss-e2eid": "eca2c705-0873-4ba9-82a1-000b6a50538d",
  "x-vss-senderdeploymentid": "2c974d96-2c30-cef5-eff2-3e0511a903a5",
  "x-frame-options": "SAMEORIGIN"
}
###### End Diagnostic HTTP information ######
Error: Build failed: Error: Create Artifact Container failed: The artifact name com.github.ztefn.haguichi-x86_64 is not valid. Request URL https://pipelinesghubeus24.actions.githubusercontent.com/27kOXcXbm09kHxrFJEHB25mTfYcOg8anCtwtGzd2PXJ79lMxKT/_apis/pipelines/workflows/13082823958/artifacts?api-version=6.0-preview

Hardware Info

Not relevant

@ryonakano ryonakano added the Priority: High To be addressed after any critical issues label Feb 1, 2025
@danirabbit
Copy link
Member

@danirabbit
Copy link
Member

This appears to be happening for all flatpak actions. So I wonder if it's a Github Actions/Flatpak Builder issue

@ryonakano
Copy link
Member Author

Ah yes, many people who use flatpak-builder reports the same issue: flatpak/flatpak-github-actions#214

@ryonakano
Copy link
Member Author

flatpak/flatpak-github-actions#215 seems to fix the above issue, so let's wait it get reviewed and merged by Flatpak maintainers, and then update flat-manager version we use in our workflow as before:

uses: flatpak/flatpak-github-actions/flat-manager@0ab9dd6a6afa6fe7e292db0325171660bf5b6fdf # v6.3 plus https://github.com/flatpak/flatpak-github-actions/pull/160

@ryonakano ryonakano added the Status: Blocked Something else needs to be done before this can be fixed label Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: High To be addressed after any critical issues Status: Blocked Something else needs to be done before this can be fixed
Projects
None yet
Development

No branches or pull requests

2 participants