Skip to content

Conversation

vanhalenar
Copy link
Contributor

I had to add a trailing slash to the wget command, because it would get redirected and wouldn't download the .cfg files otherwise, I'm not sure how it has worked so far.

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

openshift-ci-robot commented Jan 28, 2025

@vanhalenar: This pull request references USHIFT-4726 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.19.0" version, but no target version was set.

In response to this:

I had to add a trailing slash to the wget command, because it would get redirected and wouldn't download the .cfg files otherwise, I'm not sure how it has worked so far.

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 openshift-ci bot requested review from agullon and copejon January 28, 2025 14:02
@@ -622,7 +622,7 @@ launch_vm() {
vm_extra_args+=" inst.ks=file:/$(basename "${kickstart_file}")"
vm_initrd_inject+=" --initrd-inject ${kickstart_file}"
# Download and inject all the kickstart include files
wget -r -q -nd -A "*.cfg" -P "${kickstart_idir}" "$(dirname "${kickstart_url}")"
wget -r -q -nd -A "*.cfg" -P "${kickstart_idir}" "$(dirname "${kickstart_url}")/"
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do we need this change?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The command would otherwise not work for me, it would redirect to the url with the slash but not download any files. This way it doesn't have to redirect.

Copy link
Contributor

@ggiguash ggiguash Jan 29, 2025

Choose a reason for hiding this comment

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

This is a bit strange as it's been working for some time already and it's not related to the current changes.
What's version of wget you have installed? This is what I have, for example.

GNU Wget 1.21.1 built on linux-gnu.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I agree it is strange. I have GNU Wget2 2.2.0. I'll try downgrading then.

Copy link
Contributor

Choose a reason for hiding this comment

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

Please, verify that it works for you in the older version with and without changes.
You're probably using Fedora, which has a newer wget version. I'm fine with this change - just need to make sure we're not breaking anything for RHEL 9.4 environments.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I tested on Wget 1.21.4 on Fedora and it works fine with and without the slash.

Copy link
Contributor

Choose a reason for hiding this comment

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

OK, so it's the new package update than that introduced this issue.
Let's merge it.

@vanhalenar
Copy link
Contributor Author

/test e2e-aws-tests-bootc-periodic
/test e2e-aws-tests-bootc-periodic-arm

@ggiguash
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 29, 2025
Copy link
Contributor

openshift-ci bot commented Jan 29, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ggiguash, vanhalenar

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 29, 2025
@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD dee7226 and 2 for PR HEAD 1ce0e9a in total

@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD df8741d and 1 for PR HEAD 1ce0e9a in total

@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD 8d69db1 and 0 for PR HEAD 1ce0e9a in total

Copy link
Contributor

openshift-ci bot commented Jan 30, 2025

@vanhalenar: all tests passed!

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-merge-bot openshift-merge-bot bot merged commit 36d138e into openshift:main Jan 30, 2025
13 checks passed
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants