Skip to content

[release-0.0.99.5] Prepare stable branch (part 2)#1740

Merged
debarshiray merged 4 commits intocontainers:release-0.0.99.5from
debarshiray:wip/rishi/prepare-release-0.0.99.5-part-2
Jan 26, 2026
Merged

[release-0.0.99.5] Prepare stable branch (part 2)#1740
debarshiray merged 4 commits intocontainers:release-0.0.99.5from
debarshiray:wip/rishi/prepare-release-0.0.99.5-part-2

Conversation

@debarshiray
Copy link
Copy Markdown
Member

@softwarefactory-project-zuul
Copy link
Copy Markdown

Merge Failed.

This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset.
Warning:
Error merging github.com/containers/toolbox for 1740,7f745b6de7ca18517531a864d048acdbdf8e6028

@gemini-code-assist
Copy link
Copy Markdown

Summary of Changes

Hello @debarshiray, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request is a crucial step in preparing the 0.0.99.5 stable release branch. It primarily focuses on updating the continuous integration pipeline to align with the new release and newer Fedora versions for testing. The most notable change is the extensive removal of Dockerfiles and associated build artifacts for various container images, indicating a strategic move towards externalizing or streamlining the image build process. Minor adjustments to system tests and script logic are also included to improve reliability and potentially enhance debugging capabilities.

Highlights

  • CI/CD Configuration Updates: The Zuul CI configuration (.zuul.yaml) has been updated to include the release-0.0.99.5 branch for all unit and system test jobs. Additionally, the system tests for Fedora have been updated to target newer versions (Fedora 40 and 39, replacing 39 and 38 respectively) and their timeouts have been increased.
  • Removal of Container Image Definitions: A significant number of files related to building specific container images for various Linux distributions and versions have been removed. This includes Containerfile, README.md, extra-packages, missing-docs, and ensure-files for Arch, multiple Fedora versions (f28 through f39), RHEL (8.5 through 9.1), Ubuntu (16.04 through 22.04), and a Busybox test image. This suggests a shift in how these images are managed or provided, likely externalizing their definitions.
  • System Test Robustness Improvement: A system test (test/system/104-run.bats) has been made more robust by adjusting the assertion for stderr_lines when attempting to run a directory. It now checks for either 2 or 3 lines of error output, accommodating potential variations in bash error messages.
  • Minor Script Logic Adjustment: A minor change in the main toolbox script removes >/dev/null from a readlink /etc/localtime command within the init_container function. This change might affect how output from this command is handled, potentially making it visible for debugging or logging purposes if it was previously suppressed.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Ignored Files
  • Ignored by pattern: .github/workflows/** (4)
    • .github/workflows/arch-images-pr.yaml
    • .github/workflows/arch-images.yaml
    • .github/workflows/ubuntu-images.yaml
    • .github/workflows/ubuntu-tests.yaml
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

This is meant to make the project more searchable on the Internet.  More
and more people have been pointing out that "toolbox" is terribly
difficult to search for, and it's impossible to find any decent
Internet real estate by that name.

containers#1399
containers#1740
(backported from commit c3403da)
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request prepares the release-0.0.99.5 stable branch. The changes include updating the Zuul CI configuration for the new release, removing a significant number of container image definition files, fixing a system test to be more robust, and applying a bug fix to the main toolbox script. The changes are logical for a release preparation. I've found a few minor typos in the CI configuration descriptions that should be fixed.

@debarshiray debarshiray force-pushed the wip/rishi/prepare-release-0.0.99.5-part-2 branch from 7f745b6 to e7043ea Compare January 26, 2026 01:30
@softwarefactory-project-zuul
Copy link
Copy Markdown

Merge Failed.

This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset.
Warning:
Error merging github.com/containers/toolbox for 1740,e7043ea3abec0cb2673c52cc45e3358f801fb874

@debarshiray debarshiray changed the base branch from main to release-0.0.99.5 January 26, 2026 01:33
@debarshiray
Copy link
Copy Markdown
Member Author

recheck

@softwarefactory-project-zuul
Copy link
Copy Markdown

Build failed.
https://softwarefactory-project.io/zuul/t/local/buildset/ac4a48469ece4507ac33ed5f02b69fbe

✔️ unit-test SUCCESS in 1m 38s
✔️ unit-test-migration-path-for-coreos-toolbox SUCCESS in 3m 02s
✔️ unit-test-restricted SUCCESS in 1m 43s
✔️ system-test-fedora-rawhide SUCCESS in 31m 13s
✔️ system-test-fedora-39 SUCCESS in 35m 53s
system-test-fedora-38 NODE_FAILURE Node request 200-0008144997 failed in 0s

@softwarefactory-project-zuul
Copy link
Copy Markdown

Build failed.
https://softwarefactory-project.io/zuul/t/local/buildset/1f0570bef16b4e389e611156b7fcc403

✔️ unit-test SUCCESS in 1m 39s
✔️ unit-test-migration-path-for-coreos-toolbox SUCCESS in 3m 04s
✔️ unit-test-restricted SUCCESS in 1m 37s
✔️ system-test-fedora-rawhide SUCCESS in 32m 02s
✔️ system-test-fedora-40 SUCCESS in 37m 00s
✔️ system-test-fedora-39 SUCCESS in 37m 42s
system-test-fedora-38 NODE_FAILURE Node request 200-0008145016 failed in 0s

debarshiray added a commit to debarshiray/toolbox that referenced this pull request Jan 26, 2026
Fedora 38 reached End of Life on 21st May 2024:
https://docs.fedoraproject.org/en-US/releases/eol/

containers#1527
containers#1740
(cherry picked from commit b684b19)
@softwarefactory-project-zuul
Copy link
Copy Markdown

Build succeeded.
https://softwarefactory-project.io/zuul/t/local/buildset/fe49c6748f2d4a00aa2da73dc687577c

✔️ unit-test SUCCESS in 1m 48s
✔️ unit-test-migration-path-for-coreos-toolbox SUCCESS in 3m 00s
✔️ unit-test-restricted SUCCESS in 1m 46s
✔️ system-test-fedora-rawhide SUCCESS in 31m 09s
✔️ system-test-fedora-40 SUCCESS in 36m 49s
✔️ system-test-fedora-39 SUCCESS in 36m 10s

The paths to bats-assert and bats-support are broken, if bats(1) is
invoked from any other location than the parent directory of the 'tests'
directory.  eg., Podman's downstream Fedora CI invokes the tests as:
  $ cd /path/to/toolbox/test/system
  $ bats .

... and it led to [1]:
  1..306
  # test suite: Set up
  # Missing dependencies
  # Forgot to run 'git submodule init' and 'git submodule update' ?
  # test suite: Tear down
  not ok 1 setup_suite
  # (from function `setup_suite' in test file ./setup_suite.bash, line 33)
  #   `return 1' failed
  # bats warning: Executed 1 instead of expected 306 tests

Fallout from 2c09606

[1] https://bugzilla.redhat.com/show_bug.cgi?id=2263968

containers#1448
containers#1740
(cherry picked from commit 6838e93)
The working directory from which bats(1) is invoked might not be part of
the Toolbx container.  eg., Podman's downstream Fedora CI invokes the
tests as:
  $ cd /path/to/toolbox/test/system
  $ bats .

... and it led to [1]:
  not ok 110 run: Smoke test with true(1)
  # (from function `assert_output' in file
      ./libs/bats-assert/src/assert.bash, line 255,
  #  in test file ./104-run.bats, line 38)
  #   `assert_output ""' failed
  #
  # -- output differs --
  # expected (0 lines):
  #
  # actual (3 lines):
  #   Error: crun: chdir to `/usr/share/toolbox/test/system`: No such
      file or directory: OCI runtime attempted to invoke a command that
      was not found
  #   Error: directory /usr/share/toolbox/test/system not found in
      container fedora-toolbox-41
  #   Using /home/testuser instead.
  # --
  #

[1] https://bugzilla.redhat.com/show_bug.cgi?id=2263968

containers#1457
containers#1740
(cherry picked from commit 9d3ae61)
@debarshiray debarshiray force-pushed the wip/rishi/prepare-release-0.0.99.5-part-2 branch from 399a49d to a72f1da Compare January 26, 2026 20:35
debarshiray added a commit to debarshiray/toolbox that referenced this pull request Jan 26, 2026
Fedora 38 reached End of Life on 21st May 2024:
https://docs.fedoraproject.org/en-US/releases/eol/

containers#1527
containers#1740
(cherry picked from commit b684b19)
debarshiray added a commit to debarshiray/toolbox that referenced this pull request Jan 26, 2026
It's far more consistent and understandable if all tests start with a
clean state without any containers or images present.  Otherwise, the
subtle side-effects of having some image left behind from a previous
test can lead to surprises, and there's no need to spend time wondering
whether some tests should only clean up the containers or both
containers and images.

This additional work of cleaning up the images for all tests makes it
necessary to increase the timeout for all Fedora nodes to prevent the CI
from timing out.

containers#1526
containers#1740
(backported from commit 67d4002)
debarshiray added a commit to debarshiray/toolbox that referenced this pull request Jan 26, 2026
debarshiray added a commit to debarshiray/toolbox that referenced this pull request Jan 26, 2026
@softwarefactory-project-zuul
Copy link
Copy Markdown

Build failed.
https://softwarefactory-project.io/zuul/t/local/buildset/6eca364d8ba44cb3adf196084875d9a0

✔️ unit-test SUCCESS in 1m 45s
✔️ unit-test-migration-path-for-coreos-toolbox SUCCESS in 3m 01s
✔️ unit-test-restricted SUCCESS in 1m 40s
✔️ system-test-fedora-rawhide SUCCESS in 32m 44s
✔️ system-test-fedora-40 SUCCESS in 35m 58s
✔️ system-test-fedora-39 SUCCESS in 36m 34s
system-test-fedora-38 NODE_FAILURE Node request 200-0008145773 failed in 0s

@softwarefactory-project-zuul
Copy link
Copy Markdown

Build failed.
https://softwarefactory-project.io/zuul/t/local/buildset/c6c090726d714f15a55925287f5abe51

✔️ unit-test SUCCESS in 1m 37s
✔️ unit-test-migration-path-for-coreos-toolbox SUCCESS in 3m 11s
✔️ unit-test-restricted SUCCESS in 1m 40s
✔️ system-test-fedora-rawhide SUCCESS in 30m 49s
✔️ system-test-fedora-40 SUCCESS in 35m 24s
✔️ system-test-fedora-39 SUCCESS in 35m 48s
system-test-fedora-38 NODE_FAILURE Node request 200-0008145854 failed in 0s

@debarshiray debarshiray merged commit c0fb8f3 into containers:release-0.0.99.5 Jan 26, 2026
1 of 2 checks passed
@debarshiray debarshiray deleted the wip/rishi/prepare-release-0.0.99.5-part-2 branch January 26, 2026 22:16
debarshiray added a commit to debarshiray/toolbox that referenced this pull request Jan 28, 2026
This is meant to make the project more searchable on the Internet.  More
and more people have been pointing out that "toolbox" is terribly
difficult to search for, and it's impossible to find any decent
Internet real estate by that name.

containers#1399
containers#1740
containers#1744
(backported from commit c3403da)
(backported from commit e7043ea)
debarshiray added a commit to debarshiray/toolbox that referenced this pull request Jan 29, 2026
containers#1468
containers#1740
(cherry picked from commit 9ea8967)
(cherry picked from commit ec3553b)
debarshiray added a commit to debarshiray/toolbox that referenced this pull request Jan 29, 2026
debarshiray added a commit to debarshiray/toolbox that referenced this pull request Jan 29, 2026
debarshiray added a commit to debarshiray/toolbox that referenced this pull request Jan 29, 2026
The working directory from which bats(1) is invoked might not be part of
the Toolbx container.  eg., Podman's downstream Fedora CI invokes the
tests as:
  $ cd /path/to/toolbox/test/system
  $ bats .

... and it led to [1]:
  not ok 110 run: Smoke test with true(1)
  # (from function `assert_output' in file
      ./libs/bats-assert/src/assert.bash, line 255,
  #  in test file ./104-run.bats, line 38)
  #   `assert_output ""' failed
  #
  # -- output differs --
  # expected (0 lines):
  #
  # actual (3 lines):
  #   Error: crun: chdir to `/usr/share/toolbox/test/system`: No such
      file or directory: OCI runtime attempted to invoke a command that
      was not found
  #   Error: directory /usr/share/toolbox/test/system not found in
      container fedora-toolbox-41
  #   Using /home/testuser instead.
  # --
  #

[1] https://bugzilla.redhat.com/show_bug.cgi?id=2263968

containers#1457
containers#1740
containers#1750
(cherry picked from commit 9d3ae61)
(backported from commit c0fb8f3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants