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

[BUG] Add sleep interval into Jenkins workflow when publishing new OSB versions #486

Closed
IanHoang opened this issue Mar 21, 2024 · 1 comment
Assignees
Labels
1.6.0 bug Something isn't working

Comments

@IanHoang
Copy link
Collaborator

IanHoang commented Mar 21, 2024

Describe the bug
When Jenkins workflow is triggered, OSB first publishes to PyPI and then Dockerhub staging. Recently, we have discovered that the Dockerhub staging encounters this error:

#14 [linux/amd64 4/6] RUN if [ -z "1.4.0" ] ; then python3 -m pip install opensearch-benchmark ; else python3 -m pip install opensearch-benchmark==1.4.0 ; fi
#0 1.734 ERROR: Ignored the following versions that require a different python version: 0.0.1 Requires-Python >=3.8,<3.10; 0.0.2 Requires-Python >=3.8,<3.10; 0.1.0 Requires-Python >=3.8,<3.10
#0 1.735 ERROR: Could not find a version that satisfies the requirement opensearch-benchmark==1.4.0 (from versions: 0.2.0, 0.3.0, 0.4.0, 0.4.1, 0.5.0, 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.3.1)

It's been tested and confirmed that this can be resolved if we add a sleep in the Jenkins workflow script.

To Reproduce
Trigger release

Expected behavior
This should not happen because PyPI already published the new version.

Logs
https://build.ci.opensearch.org/job/docker-build/4997/console

More Context (please complete the following information):

  • Workload(Share link for custom workloads)
  • Service(E.g OpenSearch)
  • Version (E.g. 1.0)

Additional context
Add any other context about the problem here.

@IanHoang IanHoang added bug Something isn't working untriaged and removed untriaged labels Mar 21, 2024
@cgchinmay cgchinmay self-assigned this Apr 5, 2024
@beaioun beaioun added the 1.6.0 label May 1, 2024
@gkamat gkamat assigned gkamat and unassigned cgchinmay Sep 13, 2024
@gkamat
Copy link
Collaborator

gkamat commented Sep 13, 2024

Fixed with #635

@gkamat gkamat closed this as completed Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.6.0 bug Something isn't working
Projects
Status: ✅ Done
Development

No branches or pull requests

4 participants