Skip to content

Conversation

@qinqon
Copy link
Contributor

@qinqon qinqon commented Nov 12, 2025

If the virtctl download/unpack fails in the middle the downloadFile can leave a corrupted file behind, this change ensure file is removed if function do not correctly finish.

@qinqon
Copy link
Contributor Author

qinqon commented Nov 12, 2025

/jira cherry-pick 4.20

@qinqon qinqon force-pushed the kubevirt-remove-virtctl-if-not-correctly-downloaded branch from 6c1e12c to 4ea5d93 Compare November 12, 2025 15:46
@qinqon
Copy link
Contributor Author

qinqon commented Nov 12, 2025

/payload help

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 12, 2025

@qinqon: it appears that you have attempted to use some version of the payload command, but your comment was incorrectly formatted and cannot be acted upon. See the docs for usage info.

@qinqon
Copy link
Contributor Author

qinqon commented Nov 12, 2025

/payload-job periodic-ci-openshift-ovn-kubernetes-release-4.20-periodics-e2e-metal-ipi-ovn-bgp-virt-dualstack-techpreview

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 12, 2025

@qinqon: trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command

  • periodic-ci-openshift-ovn-kubernetes-release-4.20-periodics-e2e-metal-ipi-ovn-bgp-virt-dualstack-techpreview

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/3aff56b0-bfdf-11f0-8b16-391e67e12ac3-0

@qinqon qinqon changed the title net(virt): Remove virtctl if not correctly retrieved NO_JIRA: net(virt) remove virtctl if not correctly retrieved Nov 12, 2025
@qinqon qinqon changed the title NO_JIRA: net(virt) remove virtctl if not correctly retrieved NO-JIRA: net(virt) remove virtctl if not correctly retrieved Nov 12, 2025
@openshift-ci-robot
Copy link

@qinqon: This pull request explicitly references no jira issue.

In response to this:

If the virtctl download/unpack fails in the middle the downloadFile can leave a corrupted file behind, this change ensure file is removed if function do not correctly finish.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Nov 12, 2025
@qinqon
Copy link
Contributor Author

qinqon commented Nov 12, 2025

/backport release-4.20

@qinqon
Copy link
Contributor Author

qinqon commented Nov 12, 2025

/cherry-pick release-4.20

@openshift-cherrypick-robot

@qinqon: once the present PR merges, I will cherry-pick it on top of release-4.20 in a new PR and assign it to you.

In response to this:

/cherry-pick release-4.20

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@kyrtapz
Copy link
Contributor

kyrtapz commented Nov 12, 2025

I am not a huge fan of the fact that we download virtctl directly to /tmp/, this PR shows how that can be an issue 😓 .
You will need a bug for the backport to get in.
/test ?

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 12, 2025

@kyrtapz: The following commands are available to trigger required jobs:

/test e2e-aws-csi
/test e2e-aws-jenkins
/test e2e-aws-ovn-fips
/test e2e-aws-ovn-image-registry
/test e2e-aws-ovn-microshift
/test e2e-aws-ovn-microshift-serial
/test e2e-aws-ovn-serial-1of2
/test e2e-aws-ovn-serial-2of2
/test e2e-gcp-csi
/test e2e-gcp-ovn
/test e2e-gcp-ovn-builds
/test e2e-gcp-ovn-image-ecosystem
/test e2e-gcp-ovn-upgrade
/test e2e-metal-ipi-ovn-ipv6
/test e2e-vsphere-ovn
/test e2e-vsphere-ovn-upi
/test go-verify-deps
/test images
/test lint
/test okd-scos-images
/test unit
/test verify
/test verify-deps

The following commands are available to trigger optional jobs:

/test e2e-agnostic-ovn-cmd
/test e2e-aws-disruptive
/test e2e-aws-etcd-certrotation
/test e2e-aws-etcd-recovery
/test e2e-aws-ovn
/test e2e-aws-ovn-cgroupsv2
/test e2e-aws-ovn-edge-zones
/test e2e-aws-ovn-etcd-scaling
/test e2e-aws-ovn-kube-apiserver-rollout
/test e2e-aws-ovn-kubevirt
/test e2e-aws-ovn-serial-fast
/test e2e-aws-ovn-serial-ipsec
/test e2e-aws-ovn-serial-publicnet-1of2
/test e2e-aws-ovn-serial-publicnet-2of2
/test e2e-aws-ovn-single-node
/test e2e-aws-ovn-single-node-serial
/test e2e-aws-ovn-single-node-techpreview
/test e2e-aws-ovn-single-node-techpreview-serial
/test e2e-aws-ovn-single-node-upgrade
/test e2e-aws-ovn-upgrade
/test e2e-aws-ovn-upgrade-rollback
/test e2e-aws-ovn-upi
/test e2e-aws-proxy
/test e2e-azure
/test e2e-azure-ovn-etcd-scaling
/test e2e-azure-ovn-upgrade
/test e2e-baremetalds-kubevirt
/test e2e-external-aws
/test e2e-external-aws-ccm
/test e2e-external-vsphere-ccm
/test e2e-gcp-disruptive
/test e2e-gcp-fips-serial-1of2
/test e2e-gcp-fips-serial-2of2
/test e2e-gcp-ovn-etcd-scaling
/test e2e-gcp-ovn-rt-upgrade
/test e2e-gcp-ovn-techpreview
/test e2e-gcp-ovn-techpreview-serial-1of2
/test e2e-gcp-ovn-techpreview-serial-2of2
/test e2e-gcp-ovn-usernamespace
/test e2e-hypershift-conformance
/test e2e-metal-ipi-ovn
/test e2e-metal-ipi-ovn-bgp-virt-dualstack
/test e2e-metal-ipi-ovn-bgp-virt-dualstack-techpreview
/test e2e-metal-ipi-ovn-dualstack
/test e2e-metal-ipi-ovn-dualstack-bgp
/test e2e-metal-ipi-ovn-dualstack-bgp-local-gw
/test e2e-metal-ipi-ovn-dualstack-local-gateway
/test e2e-metal-ipi-ovn-kube-apiserver-rollout
/test e2e-metal-ipi-serial-1of2
/test e2e-metal-ipi-serial-2of2
/test e2e-metal-ipi-serial-ovn-ipv6-1of2
/test e2e-metal-ipi-serial-ovn-ipv6-2of2
/test e2e-metal-ipi-virtualmedia
/test e2e-metal-ovn-single-node-live-iso
/test e2e-metal-ovn-single-node-with-worker-live-iso
/test e2e-metal-ovn-two-node-arbiter
/test e2e-metal-ovn-two-node-fencing
/test e2e-openstack-ovn
/test e2e-openstack-serial
/test e2e-vsphere-ovn-dualstack-primaryv6
/test e2e-vsphere-ovn-etcd-scaling
/test okd-scos-e2e-aws-ovn

Use /test all to run the following jobs that were automatically triggered:

pull-ci-openshift-origin-main-e2e-aws-csi
pull-ci-openshift-origin-main-e2e-aws-ovn-fips
pull-ci-openshift-origin-main-e2e-aws-ovn-microshift
pull-ci-openshift-origin-main-e2e-aws-ovn-microshift-serial
pull-ci-openshift-origin-main-e2e-aws-ovn-serial-1of2
pull-ci-openshift-origin-main-e2e-aws-ovn-serial-2of2
pull-ci-openshift-origin-main-e2e-gcp-csi
pull-ci-openshift-origin-main-e2e-gcp-ovn
pull-ci-openshift-origin-main-e2e-gcp-ovn-upgrade
pull-ci-openshift-origin-main-e2e-metal-ipi-ovn-ipv6
pull-ci-openshift-origin-main-e2e-vsphere-ovn
pull-ci-openshift-origin-main-e2e-vsphere-ovn-upi
pull-ci-openshift-origin-main-go-verify-deps
pull-ci-openshift-origin-main-images
pull-ci-openshift-origin-main-lint
pull-ci-openshift-origin-main-okd-scos-images
pull-ci-openshift-origin-main-unit
pull-ci-openshift-origin-main-verify
pull-ci-openshift-origin-main-verify-deps

In response to this:

I am not a huge fan of the fact that we download virtctl directly to /tmp/, this PR shows how that can be an issue 😓 .
You will need a bug for the backport to get in.
/test ?

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@kyrtapz
Copy link
Contributor

kyrtapz commented Nov 12, 2025

/test e2e-metal-ipi-ovn-bgp-virt-dualstack
/lgtm
/hold
Feel free to remove the hold once the above passes.

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 12, 2025
@openshift-ci openshift-ci bot added lgtm Indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Nov 12, 2025
@qinqon
Copy link
Contributor Author

qinqon commented Nov 13, 2025

/retest-required

not related

{  mp.aeOJc9ySQx/bin/go-bindata -nocompress -nometadata -prefix "testextended" -pkg "testdata" -o "/tmp/tmp.WsgOcCTVP4/test/extended/testdata/bindata.go" -ignore "OWNERS" -ignore ".*\.(go|md)$" examples/db-templates examples/image-streams examples/sample-app examples/quickstarts/... examples/hello-openshift examples/jenkins/... examples/quickstarts/cakephp-mysql.json test/extended/testdata/... e2echart && gofmt -s -w "/tmp/tmp.WsgOcCTVP4/test/extended/testdata/bindata.go" && diff -Naup {.,/tmp/tmp.WsgOcCTVP4}/test/extended/testdata/bindata.go
hack/verify-jsonformat.sh
2025/11/12 16:23:31 ERROR: Invalid JSON file  'test/extended/util/compat_otp/testdata/opm/render/validate/catalog-error/operator-2/index.json': json: cannot unmarshal array into Go value of type map[string]interface {}
exit status 1

There are problems with some JSON files, to verify them you can run:
$ go run ./hack/jsonformat.go <filename>

hack/verify-generated.sh
Running hack/verify-generated.sh:13: executing '/go/src/github.com/openshift/origin/hack/update-generated.sh' expecting success...
SUCCESS after 18.782s: hack/verify-generated.sh:13: executing '/go/src/github.com/openshift/origin/hack/update-generated.sh' expecting success
Running hack/verify-generated.sh:14: executing 'git diff --exit-code /go/src/github.com/openshift/origin/test/extended/util/image/zz_generated.txt' expecting success...
SUCCESS after 2.121s: hack/verify-generated.sh:14: executing 'git diff --exit-code /go/src/github.com/openshift/origin/test/extended/util/image/zz_generated.txt' expecting success
[INFO] hack/verify-generated.sh exited with code 0 after 00h 00m 21s
hack/verify-tls-ownership.sh
hack/verify-tls-ownership.sh took 9 seconds
make: Target 'verify' not remade because of errors.
{"component":"entrypoint","error":"wrapped process failed: exit status 2","file":"sigs.k8s.io/prow/pkg/entrypoint/run.go:84","func":"sigs.k8s.io/prow/pkg/entrypoint.Options.internalRun","level":"error","msg":"Error executing test process","severity":"error","time":"2025-11-12T16:24:04Z"}
}

@qinqon
Copy link
Contributor Author

qinqon commented Nov 13, 2025

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 13, 2025
@qinqon qinqon force-pushed the kubevirt-remove-virtctl-if-not-correctly-downloaded branch from 4ea5d93 to 4a6b702 Compare November 13, 2025 07:07
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Nov 13, 2025
If the virtctl download/unpack fails in the middle the downloadFile can
leave a corrupted file behind, this change ensure file is removed if
function do not correctly finish.

Signed-off-by: Enrique Llorente <[email protected]>
@qinqon qinqon force-pushed the kubevirt-remove-virtctl-if-not-correctly-downloaded branch from 4a6b702 to 3e4f851 Compare November 13, 2025 07:08
@qinqon
Copy link
Contributor Author

qinqon commented Nov 13, 2025

/test e2e-metal-ipi-ovn-bgp-virt-dualstack

@qinqon
Copy link
Contributor Author

qinqon commented Nov 17, 2025

/retest-required

@kyrtapz
Copy link
Contributor

kyrtapz commented Nov 17, 2025

the vsphere job passed before and the changes in this pr are unrelated:
https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/30485/pull-ci-openshift-origin-main-e2e-vsphere-ovn-upi/1988866594989674496
/override ci/prow/e2e-vsphere-ovn-upi

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 17, 2025

@kyrtapz: kyrtapz unauthorized: /override is restricted to Repo administrators, approvers in top level OWNERS file, and the following github teams:openshift: openshift-release-oversight openshift-staff-engineers openshift-sustaining-engineers.

In response to this:

the vsphere job passed before and the changes in this pr are unrelated:
https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/30485/pull-ci-openshift-origin-main-e2e-vsphere-ovn-upi/1988866594989674496
/override ci/prow/e2e-vsphere-ovn-upi

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@openshift-trt
Copy link

openshift-trt bot commented Nov 17, 2025

Job Failure Risk Analysis for sha: 3e4f851

Job Name Failure Risk
pull-ci-openshift-origin-main-e2e-aws-ovn-fips IncompleteTests
Tests for this run (30) are below the historical average (3372): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)

1 similar comment
@openshift-trt
Copy link

openshift-trt bot commented Nov 17, 2025

Job Failure Risk Analysis for sha: 3e4f851

Job Name Failure Risk
pull-ci-openshift-origin-main-e2e-aws-ovn-fips IncompleteTests
Tests for this run (30) are below the historical average (3372): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)

@kyrtapz
Copy link
Contributor

kyrtapz commented Nov 17, 2025

/test e2e-aws-ovn-fips

@openshift-trt
Copy link

openshift-trt bot commented Nov 17, 2025

Job Failure Risk Analysis for sha: 3e4f851

Job Name Failure Risk
pull-ci-openshift-origin-main-e2e-aws-ovn-fips IncompleteTests
Tests for this run (27) are below the historical average (3341): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)

@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD 12a5219 and 1 for PR HEAD 3e4f851 in total

@ricky-rav
Copy link

@qinqon should we link this bug to https://issues.redhat.com/browse/OCPBUGS-65565 ?

@maiqueb
Copy link
Contributor

maiqueb commented Nov 17, 2025

@qinqon should we link this bug to https://issues.redhat.com/browse/OCPBUGS-65565 ?

I think that's the 4.20 backport.

@qinqon
Copy link
Contributor Author

qinqon commented Nov 17, 2025

@qinqon should we link this bug to https://issues.redhat.com/browse/OCPBUGS-65565 ?

I think that's the 4.20 backport.

When this merge and backport pops up, then we link it to the jira.

@openshift-trt
Copy link

openshift-trt bot commented Nov 17, 2025

Job Failure Risk Analysis for sha: 3e4f851

Job Name Failure Risk
pull-ci-openshift-origin-main-e2e-aws-ovn-fips IncompleteTests
Tests for this run (27) are below the historical average (3280): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)

@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD fd9b538 and 0 for PR HEAD 3e4f851 in total

@openshift-trt
Copy link

openshift-trt bot commented Nov 17, 2025

Job Failure Risk Analysis for sha: 3e4f851

Job Name Failure Risk
pull-ci-openshift-origin-main-e2e-aws-ovn-fips IncompleteTests
Tests for this run (27) are below the historical average (3207): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)

@openshift-ci-robot
Copy link

/hold

Revision 3e4f851 was retested 3 times: holding

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 17, 2025
@qinqon
Copy link
Contributor Author

qinqon commented Nov 18, 2025

/hold cancel
/retest-required

@qinqon qinqon closed this Nov 18, 2025
@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 18, 2025
@qinqon qinqon reopened this Nov 18, 2025
@openshift-ci-robot
Copy link

@qinqon: This pull request explicitly references no jira issue.

In response to this:

If the virtctl download/unpack fails in the middle the downloadFile can leave a corrupted file behind, this change ensure file is removed if function do not correctly finish.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@qinqon
Copy link
Contributor Author

qinqon commented Nov 18, 2025

Closed it by mistake.

@openshift-trt
Copy link

openshift-trt bot commented Nov 18, 2025

Job Failure Risk Analysis for sha: 3e4f851

Job Name Failure Risk
pull-ci-openshift-origin-main-e2e-aws-ovn-fips IncompleteTests
Tests for this run (27) are below the historical average (3185): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)

@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD 74c8e4a and 2 for PR HEAD 3e4f851 in total

@openshift-trt
Copy link

openshift-trt bot commented Nov 18, 2025

Job Failure Risk Analysis for sha: 3e4f851

Job Name Failure Risk
pull-ci-openshift-origin-main-e2e-aws-ovn-fips IncompleteTests
Tests for this run (27) are below the historical average (3188): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-metal-ipi-ovn-ipv6 IncompleteTests
Tests for this run (22) are below the historical average (2192): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)

@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD 93dc9ad and 1 for PR HEAD 3e4f851 in total

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 19, 2025

@qinqon: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-aws-ovn-fips 3e4f851 link true /test e2e-aws-ovn-fips

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@openshift-trt
Copy link

openshift-trt bot commented Nov 19, 2025

Job Failure Risk Analysis for sha: 3e4f851

Job Name Failure Risk
pull-ci-openshift-origin-main-e2e-aws-ovn-fips IncompleteTests
Tests for this run (27) are below the historical average (3205): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)

Risk analysis has seen new tests most likely introduced by this PR.
Please ensure that new tests meet guidelines for naming and stability.

New Test Risks for sha: 3e4f851

Job Name New Test Risk
pull-ci-openshift-origin-main-e2e-metal-ipi-ovn-ipv6 High - "verify the cluster readiness and stability" is a new test that was not present in all runs against the current commit.

New tests seen in this PR at sha: 3e4f851

  • "verify the cluster readiness and stability" [Total: 5, Pass: 5, Fail: 0, Flake: 0]

@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD e371111 and 0 for PR HEAD 3e4f851 in total

@openshift-trt
Copy link

openshift-trt bot commented Nov 20, 2025

Job Failure Risk Analysis for sha: 3e4f851

Job Name Failure Risk
pull-ci-openshift-origin-main-e2e-aws-ovn-fips IncompleteTests
Tests for this run (27) are below the historical average (3187): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. verified Signifies that the PR passed pre-merge verification criteria

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants