Skip to content

[release-1.42] tests: remove dependencies on online apt repositories#6833

Open
nalind wants to merge 1 commit intocontainers:release-1.42from
nalind:no-apt-1.42
Open

[release-1.42] tests: remove dependencies on online apt repositories#6833
nalind wants to merge 1 commit intocontainers:release-1.42from
nalind:no-apt-1.42

Conversation

@nalind
Copy link
Copy Markdown
Member

@nalind nalind commented May 6, 2026

What type of PR is this?

/kind failing-test

What this PR does / why we need it:

Rework places to avoid installing packages using apt as part of tests. Use ubi10 where we need to be able to call setcap, setfattr, and getfattr from the same image.

How to verify it

Updated integration tests!

Which issue(s) this PR fixes:

None

Special notes for your reviewer:

Manual cherry pick from #6791.

Does this PR introduce a user-facing change?

None

Rework places to avoid installing packages using apt as part of tests.
Use ubi10 where we need to be able to call setcap, setfattr, and
getfattr from the same image.

Test CI images now pre-cache the hummingbird git image, so we no longer
need to it to be pulled during CI startup.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label May 6, 2026
@TomSweeneyRedHat
Copy link
Copy Markdown
Member

LGTM
Test issues look flakey, I restarted.

Copy link
Copy Markdown
Member

@lsm5 lsm5 left a comment

Choose a reason for hiding this comment

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

The testing-farm jobs are failing on not finding policy.json .
Also, is log handling mixing up stderr and stdout ?

Shouldn't those show up on Cirrus too? Anyway, since these are for older branch (Fedora has newer releases already), any Packit/TF issues can be fixed once the move away from Cirrus is complete. Don't want to block PR on it.

@nalind
Copy link
Copy Markdown
Member Author

nalind commented May 7, 2026

The testing-farm jobs are failing on not finding policy.json . Also, is log handling mixing up stderr and stdout ?

Per bats(7), the run function that underpins most invocations of anything that we want to check the output of sets "$output" to the combined stdout and stderr of the command it ran.

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

Labels

size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants