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

release-bundle-create POST request returns timeout although bundle created and retry fails #2665

Open
mariadeluna-tomtom opened this issue Aug 23, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@mariadeluna-tomtom
Copy link

mariadeluna-tomtom commented Aug 23, 2024

Describe the bug

When executing the following command to create a release bundle:

jf ds release-bundle-create --spec XXX --sign "XXX" "${RELEASE_VERSION}"

the POST request to https://artifactory.tomtomgroup.com/distribution/api/v1/release_bundle times out although the Release Bundle has been created correctly. Then, after 40 mins in the second attempt of creating it fails with following error:

Error: 0 [Error] Distribution response: 409 Conflict
{
  "detail": "Release bundle version: XXX/0.59.0-rc01 already exists",
  "message": "Release bundle version: XXX/0.59.0-rc01 already exists",
  "status_code": 409
}

Current behavior

09:54:39 [Debug] JFrog CLI version: 2.62.2
09:54:39 [Debug] OS/Arch: darwin/arm64
09:54:39 [Debug] Trace ID for JFrog Platform logs: 29890a93c5f6d84b
09:54:39 [Debug] Usage Report: Sending info...
09:54:39 [Debug] Sending HTTP GET request to: https://artifactory.tomtomgroup.com/artifactory/api/system/version
09:54:39 [Info] Creating: sdk-spm-dev/0.[59](https://github.com/tomtom-internal/go-sdk-ios/actions/runs/10468045593/job/28988785791#step:13:60).0-rc01
09:54:39 [Debug] Sending HTTP POST request to: https://artifactory.tomtomgroup.com/distribution/api/v1/release_bundle
09:54:39 [Debug] Artifactory response: 200 
09:54:39 [Debug] JFrog Artifactory version is: 7.93.3
09:54:39 [Debug] Sending HTTP POST request to: https://artifactory.tomtomgroup.com/artifactory/api/system/usage
10:34:39 [Warn] The server response: 504 Gateway Time-out
<html>
<head><title>504 Gateway Time-out</title></head>
<body>
<center><h1>504 Gateway Time-out</h1></center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>

10:34:39 [Warn] (Attempt 1) - Failure occurred while sending POST request to https://artifactory.tomtomgroup.com/distribution/api/v1/release_bundle
10:34:39 [Debug] Sending HTTP POST request to: https://artifactory.tomtomgroup.com/distribution/api/v1/release_bundle
10:34:40 [Info] Trace ID for JFrog Platform logs: 29890a93c5f6d84b
Error: 0 [Error] Distribution response: 409 Conflict
{
  "detail": "Release bundle version: XXX/0.59.0-rc01 already exists",
  "message": "Release bundle version: XXX/0.59.0-rc01 already exists",
  "status_code": 409
}

Reproduction steps

No response

Expected behavior

Don't timeout if bundle has been created correctly.

JFrog CLI version

2.62.2

Operating system type and version

MacOS 13

JFrog Artifactory version

No response

JFrog Xray version

No response

@mariadeluna-tomtom mariadeluna-tomtom added the bug Something isn't working label Aug 23, 2024
@mariadeluna-tomtom mariadeluna-tomtom changed the title bundle_create POST request returns timeout but bundle created correctly so retry fails release-bundle-create POST request returns timeout althpugh bundle created and retry fails Aug 23, 2024
@mariadeluna-tomtom mariadeluna-tomtom changed the title release-bundle-create POST request returns timeout althpugh bundle created and retry fails release-bundle-create POST request returns timeout although bundle created and retry fails Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant