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

fix ocp CI lane #595

Merged
merged 1 commit into from
Jan 26, 2024
Merged

Conversation

SchSeba
Copy link
Collaborator

@SchSeba SchSeba commented Jan 25, 2024

some time there is a registry push error so we just implement a retry

Copy link

Thanks for your PR,
To run vendors CIs use one of:

  • /test-all: To run all tests for all vendors.
  • /test-e2e-all: To run all E2E tests for all vendors.
  • /test-e2e-nvidia-all: To run all E2E tests for NVIDIA vendor.

To skip the vendors CIs use one of:

  • /skip-all: To skip all tests for all vendors.
  • /skip-e2e-all: To skip all E2E tests for all vendors.
  • /skip-e2e-nvidia-all: To skip all E2E tests for NVIDIA vendor.
    Best regards.

@SchSeba
Copy link
Collaborator Author

SchSeba commented Jan 25, 2024

example

+ MAX_RETRIES=20
+ DELAY_SECONDS=10
+ retry_push default-route-openshift-image-registry.apps.ocp-virt.lab/openshift-sriov-network-operator/sriov-network-operator:latest
+ local 'command=podman push --tls-verify=false default-route-openshift-image-registry.apps.ocp-virt.lab/openshift-sriov-network-operator/sriov-network-operator:latest'
+ local retries=0
+ '[' 0 -ge 20 ']'
+ podman push --tls-verify=false default-route-openshift-image-registry.apps.ocp-virt.lab/openshift-sriov-network-operator/sriov-network-operator:latest
Getting image source signatures
Error: trying to reuse blob sha256:e308ff2f9fe6cbc24791bddbb4732b2ba8cd8e44d34edec788eeb905265f0cbb at destination: checking whether a blob sha256:e308ff2f9fe6cbc24791bddbb4732b2ba8cd8e44d34edec788eeb905265f0cbb exists in default-route-openshift-image-registry.apps.ocp-virt.lab/openshift-sriov-network-operator/sriov-network-operator: received unexpected HTTP status: 500 Internal Server Error
+ retries=1
+ echo 'Command failed. Retrying... (Attempt 1/20)'
Command failed. Retrying... (Attempt 1/20)
+ sleep 10
+ '[' 1 -ge 20 ']'
+ podman push --tls-verify=false default-route-openshift-image-registry.apps.ocp-virt.lab/openshift-sriov-network-operator/sriov-network-operator:latest
Getting image source signatures
Error: trying to reuse blob sha256:e308ff2f9fe6cbc24791bddbb4732b2ba8cd8e44d34edec788eeb905265f0cbb at destination: checking whether a blob sha256:e308ff2f9fe6cbc24791bddbb4732b2ba8cd8e44d34edec788eeb905265f0cbb exists in default-route-openshift-image-registry.apps.ocp-virt.lab/openshift-sriov-network-operator/sriov-network-operator: received unexpected HTTP status: 500 Internal Server Error
+ retries=2
+ echo 'Command failed. Retrying... (Attempt 2/20)'
Command failed. Retrying... (Attempt 2/20)
+ sleep 10
+ '[' 2 -ge 20 ']'
+ podman push --tls-verify=false default-route-openshift-image-registry.apps.ocp-virt.lab/openshift-sriov-network-operator/sriov-network-operator:latest
Getting image source signatures
Error: trying to reuse blob sha256:e308ff2f9fe6cbc24791bddbb4732b2ba8cd8e44d34edec788eeb905265f0cbb at destination: checking whether a blob sha256:e308ff2f9fe6cbc24791bddbb4732b2ba8cd8e44d34edec788eeb905265f0cbb exists in default-route-openshift-image-registry.apps.ocp-virt.lab/openshift-sriov-network-operator/sriov-network-operator: received unexpected HTTP status: 500 Internal Server Error
+ retries=3
+ echo 'Command failed. Retrying... (Attempt 3/20)'
Command failed. Retrying... (Attempt 3/20)

@coveralls
Copy link

coveralls commented Jan 25, 2024

Pull Request Test Coverage Report for Build 7660133553

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.009%) to 24.349%

Totals Coverage Status
Change from base Build 7660127112: 0.009%
Covered Lines: 2703
Relevant Lines: 11101

💛 - Coveralls

some time there is a registry push error so we just implement a retry

Signed-off-by: Sebastian Sch <[email protected]>
Copy link

Thanks for your PR,
To run vendors CIs use one of:

  • /test-all: To run all tests for all vendors.
  • /test-e2e-all: To run all E2E tests for all vendors.
  • /test-e2e-nvidia-all: To run all E2E tests for NVIDIA vendor.

To skip the vendors CIs use one of:

  • /skip-all: To skip all tests for all vendors.
  • /skip-e2e-all: To skip all E2E tests for all vendors.
  • /skip-e2e-nvidia-all: To skip all E2E tests for NVIDIA vendor.
    Best regards.

Copy link
Member

@zeeke zeeke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@SchSeba
Copy link
Collaborator Author

SchSeba commented Jan 26, 2024

@e0ne @Eoghan1232 can you please take a quick look now the CI is green again

Copy link
Collaborator

@Eoghan1232 Eoghan1232 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Eoghan1232 Eoghan1232 merged commit 82ef267 into k8snetworkplumbingwg:master Jan 26, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants