Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

verify RPMs using rpminspect #786

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

Open
lbarcziova wants to merge 4 commits into packit:main
base: main
Choose a base branch
Loading
from lbarcziova:test-rpminspect

Conversation

@lbarcziova
Copy link
Member

@lbarcziova lbarcziova commented May 22, 2023
edited
Loading

just verifying packit/packit.dev#607

Copy link
Contributor

Build succeeded.
https://softwarefactory-project.io/zuul/t/packit-service/buildset/f3aeb8af7f7249be9a7a2b86314df7bb

✔️ pre-commit SUCCESS in 2m 04s
✔️ ogr-tests-rpm SUCCESS in 11m 42s
✔️ ogr-tests-pip-deps SUCCESS in 11m 49s
✔️ ogr-reverse-dep-packit-tests SUCCESS in 19m 12s

Copy link
Contributor

Build succeeded.
https://softwarefactory-project.io/zuul/t/packit-service/buildset/02f5e1fc141744edb9ce0da63e35e5a9

✔️ pre-commit SUCCESS in 2m 10s
✔️ ogr-tests-rpm SUCCESS in 12m 00s
✔️ ogr-tests-pip-deps SUCCESS in 11m 58s
✔️ ogr-reverse-dep-packit-tests SUCCESS in 20m 41s

Copy link
Member

mfocko commented May 29, 2023

�[33m[10:42:14] [W] [worker_1] [Fedora-38:x86_64:/plans/rpminspect.fedora] Could not find results file 'work-rpminspect.fedorapxjxl6_l/plans/rpminspect.fedora/execute/results.yaml' containing tmt results�[0m

What?

Copy link
Member Author

/packit-stg test

packit-as-a-service-stg[bot] reacted with eyes emoji

Copy link
Contributor

LecrisUT commented Jun 6, 2023

Btw, for rpmlint of both spec and rpm files (rpmlint -r *.rpmlintrc ./*.spec /tmp/*.rpm as it is done downstream) you might need to add a configure file, e.g.:

$ cat packit.toml
Filters = [
 "unknown-key",
]
$ rpmlint -c packit.toml -r *.rpmlintrc ./*.spec /tmp/*.rpm

Copy link
Contributor

Build succeeded.
https://softwarefactory-project.io/zuul/t/packit-service/buildset/5f18be82226b46b081c2d93b8021e1f3

✔️ pre-commit SUCCESS in 2m 06s
✔️ ogr-tests-rpm SUCCESS in 11m 48s
✔️ ogr-tests-pip-deps SUCCESS in 11m 55s
✔️ ogr-reverse-dep-packit-tests SUCCESS in 19m 05s

Copy link
Member

mfocko commented Jun 23, 2023

/packit test

packit-as-a-service[bot] reacted with eyes emoji

- rpminspect
- rpminspect-data-centos
- how: shell
script: cd /tmp && curl -O ${PACKIT_SRPM_URL}
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
script: cd /tmp && curl -O ${PACKIT_SRPM_URL}
script: dnf download ${PACKIT_COPR_RPMS} --destdir=$TMT_PLAN_DATA

A simpler one-liner, and then in tests, change the path accordingly. Should be more robust against future environment changes.

Copy link
Member

@lachmanfrantisek lachmanfrantisek Jul 3, 2023

Choose a reason for hiding this comment

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

Good idea!

Copy link
Member Author

@lbarcziova lbarcziova Jul 11, 2023

Choose a reason for hiding this comment

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

actually, I think we wanted to avoid downloading the RPMs ourselves and leave this to TF itself, as looking into packit/packit.dev#607

Copy link
Contributor

Choose a reason for hiding this comment

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

I am not sure I understand this. You mean to not use ${PACKIT_COPR_RPMS} or to have them available on TF by default? Would this still be reproducable locally via the testing farm link?

Copy link
Member

@lachmanfrantisek lachmanfrantisek Jul 11, 2023
edited
Loading

Choose a reason for hiding this comment

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

This is just an alternative way how to download RPMs without changing anything else. So we should be fine with this approach.

Copy link
Member

@lachmanfrantisek lachmanfrantisek Jul 11, 2023

Choose a reason for hiding this comment

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

Maybe, the only downside might be the lack of DNF on some systems.

Copy link
Contributor

Copy link
Contributor

Copy link
Member Author

recheck

Copy link
Contributor

TomasTomecek and others added 4 commits December 18, 2024 07:52
Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
TF downloads both RPMs and SRPM (rebuilt by Copr), so we can run rpminspect on all of them in one step.
Copy link
Contributor

Copy link
Contributor

Actually things have evolved a bit here. How about using the packit/tmt-plans repo? https://github.com/packit/tmt-plans/tree/main/plans/rpminspect. Iirc there was an issue with rpminspect on rawhide related to rpminspect itself, but if the current ones are working fine, maybe it is resolved. Alternatively we could work on https://github.com/fedora-ci/rpminspect-pipeline to make it copr compatible, the benefit being that in that case it's the same container that is used in Fedora-CI

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

Reviewers

@lachmanfrantisek lachmanfrantisek lachmanfrantisek left review comments

@jpopelka jpopelka jpopelka approved these changes

+1 more reviewer

@LecrisUT LecrisUT LecrisUT left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /