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

Improve error handling #265

Merged
merged 1 commit into from
Feb 3, 2025

Conversation

fao89
Copy link
Contributor

@fao89 fao89 commented Jan 29, 2025

Copy link
Contributor

openshift-ci bot commented Jan 29, 2025

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@fao89
Copy link
Contributor Author

fao89 commented Jan 29, 2025

/test all

@fao89
Copy link
Contributor Author

fao89 commented Jan 30, 2025

/test precommit-check

ref OSPRH-9329

Signed-off-by: Fabricio Aguiar <[email protected]>
@fao89
Copy link
Contributor Author

fao89 commented Jan 30, 2025

/test precommit-check

Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/64db1081e5954319a2397e2b6be2fa06

✔️ openstack-baremetal-operator-content-provider SUCCESS in 2h 06m 45s
openstack-baremetal-operator-crc-podified-edpm-baremetal FAILURE in 1h 39m 21s

@fao89 fao89 marked this pull request as ready for review January 31, 2025 13:11
@openshift-ci openshift-ci bot requested review from dprince and lewisdenny January 31, 2025 13:11
@fao89
Copy link
Contributor Author

fao89 commented Jan 31, 2025

recheck

Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/a4214ce164be40f5aa980abaa3db239b

✔️ openstack-baremetal-operator-content-provider SUCCESS in 1h 34m 20s
openstack-baremetal-operator-crc-podified-edpm-baremetal FAILURE in 1h 01m 32s

@fao89
Copy link
Contributor Author

fao89 commented Jan 31, 2025

recheck

Copy link
Contributor

@bshephar bshephar left a comment

Choose a reason for hiding this comment

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

Clean. Looks good.

@@ -128,7 +128,7 @@ func runChecksumStartCmd(_ *cobra.Command, _ []string) {
}

if checksumFileName == "" {
panic(fmt.Errorf("could not find any OSImage checksum file in %s", checksumStartOpts.osImageDir))
panic(fmt.Errorf("%w in %s", ErrOSImageNotFound, checksumStartOpts.osImageDir))
Copy link
Contributor

Choose a reason for hiding this comment

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

Hmm.. Does err113 linter crib only for this one? We use it everywhere[1]. Realistically neither we compare the error anywhere nor there is memory related optimization, as it's used only once.

[1] https://github.com/search?q=repo%3Aopenstack-k8s-operators%2Fopenstack-baremetal-operator%20fmt.Errorf&type=code

Copy link
Contributor

@rabi rabi left a comment

Choose a reason for hiding this comment

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

/lgtm

Copy link
Contributor

openshift-ci bot commented Feb 3, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bshephar, fao89, rabi, slagle

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 label Feb 3, 2025
@openshift-merge-bot openshift-merge-bot bot merged commit 929e660 into openstack-k8s-operators:main Feb 3, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants