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

test/system: Miscellaneous improvements to the 'list' tests (2) #1273

Merged

Conversation

debarshiray
Copy link
Member

No description provided.

debarshiray added a commit to debarshiray/toolbox that referenced this pull request Mar 21, 2023
The long options are easier to grep(1) for in the sources than their
shorter aliases.

containers#1273
@debarshiray debarshiray force-pushed the wip/rishi/test-system-list-names branch from 0e8f294 to 1d5e897 Compare March 21, 2023 11:13
@softwarefactory-project-zuul
Copy link

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

✔️ unit-test SUCCESS in 9m 06s
✔️ unit-test-migration-path-for-coreos-toolbox SUCCESS in 3m 02s
✔️ unit-test-restricted SUCCESS in 8m 07s
✔️ system-test-fedora-rawhide SUCCESS in 15m 25s
✔️ system-test-fedora-38 SUCCESS in 14m 37s
✔️ system-test-fedora-37 SUCCESS in 14m 19s
✔️ system-test-fedora-36 SUCCESS in 14m 32s

debarshiray added a commit to debarshiray/toolbox that referenced this pull request Mar 21, 2023
Currently, some of the names of the tests were too long, and had
inconsistent and verbose wording.  This made it difficult to look at
them and get a gist of all the scenarios being tested.  The names are
like headings.  They shouldn't be too long, should capture the primary
objective of the test and be consistent in their wording.

containers#1273
@softwarefactory-project-zuul
Copy link

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

✔️ unit-test SUCCESS in 9m 14s
✔️ unit-test-migration-path-for-coreos-toolbox SUCCESS in 3m 22s
✔️ unit-test-restricted SUCCESS in 8m 16s
✔️ system-test-fedora-rawhide SUCCESS in 15m 24s
✔️ system-test-fedora-38 SUCCESS in 14m 24s
✔️ system-test-fedora-37 SUCCESS in 14m 11s
✔️ system-test-fedora-36 SUCCESS in 14m 19s

@softwarefactory-project-zuul
Copy link

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

✔️ unit-test SUCCESS in 9m 04s
✔️ unit-test-migration-path-for-coreos-toolbox SUCCESS in 2m 58s
✔️ unit-test-restricted SUCCESS in 8m 20s
✔️ system-test-fedora-rawhide SUCCESS in 15m 28s
✔️ system-test-fedora-38 SUCCESS in 14m 47s
✔️ system-test-fedora-37 SUCCESS in 14m 27s
✔️ system-test-fedora-36 SUCCESS in 14m 28s

debarshiray added a commit to debarshiray/toolbox that referenced this pull request Mar 21, 2023
Fedora 35 was stuck with Bats 1.5.0.  However, it reached End of Life on
13th December 2022 and was dropped from the CI [1].  Fedora 36 is the
oldest supported Fedora and it has Bats 1.8.2.

Therefore, there's no need to retain compatibility with Bats < 1.7.0.

Note that bats_require_minimum_version itself is only available from
Bats 1.7.0 [2].

[1] Commit 419e4e8
    containers#1237

[2] Bats commit 71d6b71cebc3d32b
    bats-core/bats-core#556
    https://bats-core.readthedocs.io/en/stable/warnings/BW02.html

containers#1273
@debarshiray debarshiray force-pushed the wip/rishi/test-system-list-names branch from 322b373 to 0553b7f Compare March 21, 2023 16:45
@softwarefactory-project-zuul
Copy link

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

✔️ unit-test SUCCESS in 8m 52s
✔️ unit-test-migration-path-for-coreos-toolbox SUCCESS in 2m 48s
✔️ unit-test-restricted SUCCESS in 8m 08s
✔️ system-test-fedora-rawhide SUCCESS in 14m 58s
✔️ system-test-fedora-38 SUCCESS in 14m 10s
✔️ system-test-fedora-37 SUCCESS in 14m 07s
✔️ system-test-fedora-36 SUCCESS in 14m 25s

debarshiray added a commit to debarshiray/toolbox that referenced this pull request Mar 21, 2023
debarshiray added a commit to debarshiray/toolbox that referenced this pull request Mar 21, 2023
Currently, some of the names of the tests were too long, and had
inconsistent and verbose wording.  This made it difficult to look at
them and get a gist of all the scenarios being tested.  The names are
like headings.  They shouldn't be too long, should capture the primary
objective of the test and be consistent in their wording.

containers#1273
debarshiray added a commit to debarshiray/toolbox that referenced this pull request Mar 21, 2023
Fedora 35 was stuck with Bats 1.5.0.  However, it reached End of Life on
13th December 2022 and was dropped from the CI [1].  Fedora 36 is the
oldest supported Fedora and it has Bats 1.8.2.

Therefore, there's no need to retain compatibility with Bats < 1.7.0.

Note that bats_require_minimum_version itself is only available from
Bats 1.7.0 [2].

[1] Commit 419e4e8
    containers#1237

[2] Bats commit 71d6b71cebc3d32b
    bats-core/bats-core#556
    https://bats-core.readthedocs.io/en/stable/warnings/BW02.html

containers#1273
@debarshiray debarshiray force-pushed the wip/rishi/test-system-list-names branch from c35eacf to 1ba95dd Compare March 21, 2023 17:41
debarshiray added a commit to debarshiray/toolbox that referenced this pull request Mar 21, 2023
@softwarefactory-project-zuul
Copy link

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

✔️ unit-test SUCCESS in 9m 05s
✔️ unit-test-migration-path-for-coreos-toolbox SUCCESS in 3m 04s
✔️ unit-test-restricted SUCCESS in 8m 04s
✔️ system-test-fedora-rawhide SUCCESS in 16m 07s
✔️ system-test-fedora-38 SUCCESS in 14m 34s
✔️ system-test-fedora-37 SUCCESS in 14m 32s
✔️ system-test-fedora-36 SUCCESS in 14m 31s

debarshiray added a commit to debarshiray/toolbox that referenced this pull request Mar 21, 2023
A subsequent commit will add a variant of this test that uses 'list'
without the '--images' option.

containers#1273
debarshiray added a commit to debarshiray/toolbox that referenced this pull request Mar 21, 2023
Currently, some of the names of the tests were too long, and had
inconsistent and verbose wording.  This made it difficult to look at
them and get a gist of all the scenarios being tested.  The names are
like headings.  They shouldn't be too long, should capture the primary
objective of the test and be consistent in their wording.

containers#1273
@softwarefactory-project-zuul
Copy link

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

✔️ unit-test SUCCESS in 10m 21s
✔️ unit-test-migration-path-for-coreos-toolbox SUCCESS in 3m 23s
✔️ unit-test-restricted SUCCESS in 8m 36s
✔️ system-test-fedora-rawhide SUCCESS in 16m 02s
✔️ system-test-fedora-38 SUCCESS in 19m 01s
✔️ system-test-fedora-37 SUCCESS in 19m 31s
✔️ system-test-fedora-36 SUCCESS in 19m 32s

debarshiray added a commit to debarshiray/toolbox that referenced this pull request Mar 21, 2023
Fedora 35 was stuck with Bats 1.5.0.  However, it reached End of Life on
13th December 2022 and was dropped from the CI [1].  Fedora 36 is the
oldest supported Fedora and it has Bats 1.8.2.

Therefore, there's no need to retain compatibility with Bats < 1.7.0.

Note that bats_require_minimum_version itself is only available from
Bats 1.7.0 [2].

[1] Commit 419e4e8
    containers#1237

[2] Bats commit 71d6b71cebc3d32b
    bats-core/bats-core#556
    https://bats-core.readthedocs.io/en/stable/warnings/BW02.html

containers#1273
debarshiray added a commit to debarshiray/toolbox that referenced this pull request Mar 21, 2023
@debarshiray debarshiray force-pushed the wip/rishi/test-system-list-names branch from ff38826 to e741215 Compare March 21, 2023 18:23
@debarshiray debarshiray changed the title test/system: Miscellaneous improvements to the 'list' tests test/system: Miscellaneous improvements to the 'list' tests (1) Mar 21, 2023
@softwarefactory-project-zuul
Copy link

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

✔️ unit-test SUCCESS in 9m 51s
✔️ unit-test-migration-path-for-coreos-toolbox SUCCESS in 3m 08s
✔️ unit-test-restricted SUCCESS in 8m 32s
✔️ system-test-fedora-rawhide SUCCESS in 16m 19s
✔️ system-test-fedora-38 SUCCESS in 15m 23s
✔️ system-test-fedora-37 SUCCESS in 15m 11s
✔️ system-test-fedora-36 SUCCESS in 15m 29s

debarshiray added a commit to debarshiray/toolbox that referenced this pull request Mar 21, 2023
A subsequent commit will add a variant of this test that uses 'list'
without the '--images' option.

containers#1273
@softwarefactory-project-zuul
Copy link

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

✔️ unit-test SUCCESS in 9m 54s
✔️ unit-test-migration-path-for-coreos-toolbox SUCCESS in 4m 25s
✔️ unit-test-restricted SUCCESS in 8m 34s
✔️ system-test-fedora-rawhide SUCCESS in 16m 40s
✔️ system-test-fedora-38 SUCCESS in 15m 42s
✔️ system-test-fedora-37 SUCCESS in 15m 32s
✔️ system-test-fedora-36 SUCCESS in 15m 24s

debarshiray added a commit to debarshiray/toolbox that referenced this pull request Mar 21, 2023
@softwarefactory-project-zuul
Copy link

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

✔️ unit-test SUCCESS in 8m 07s
✔️ unit-test-migration-path-for-coreos-toolbox SUCCESS in 3m 06s
✔️ unit-test-restricted SUCCESS in 7m 49s
✔️ system-test-fedora-rawhide SUCCESS in 15m 13s
✔️ system-test-fedora-38 SUCCESS in 14m 35s
✔️ system-test-fedora-37 SUCCESS in 14m 18s
✔️ system-test-fedora-36 SUCCESS in 14m 10s

debarshiray added a commit to debarshiray/toolbox that referenced this pull request Mar 22, 2023
This is the 'simple' case of having a well-known named Toolbx image
(ie., not a copy, not an image without a name, not a non-Toolbx image).
It's good to ensure that the default image works as expected with 'list'
before moving on to more complex scenarios.

containers#1273
debarshiray added a commit to debarshiray/toolbox that referenced this pull request Mar 22, 2023
This is the 'simple' case of having a well-known Toolbx image (ie.,
not a copy, not an image without a name, not a non-Toolbx image).  It's
good to ensure that the default image works as expected with 'list'
before moving on to more complex scenarios.

containers#1273
debarshiray added a commit to debarshiray/toolbox that referenced this pull request Mar 22, 2023
debarshiray added a commit to debarshiray/toolbox that referenced this pull request Mar 22, 2023
It's good to ensure that older well-known Toolbx images continue to work
with newer versions of 'list'.

containers#1273
@debarshiray debarshiray force-pushed the wip/rishi/test-system-list-names branch from 476153c to c13e424 Compare March 22, 2023 07:54
@softwarefactory-project-zuul
Copy link

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

✔️ unit-test SUCCESS in 8m 58s
✔️ unit-test-migration-path-for-coreos-toolbox SUCCESS in 3m 03s
✔️ unit-test-restricted SUCCESS in 8m 26s
✔️ system-test-fedora-rawhide SUCCESS in 16m 55s
✔️ system-test-fedora-38 SUCCESS in 16m 01s
✔️ system-test-fedora-37 SUCCESS in 15m 51s
✔️ system-test-fedora-36 SUCCESS in 15m 43s

debarshiray added a commit to debarshiray/toolbox that referenced this pull request Mar 22, 2023
It's good to ensure that older well-known Toolbx images continue to work
with newer versions of 'list'.

containers#1273
@debarshiray debarshiray changed the title test/system: Miscellaneous improvements to the 'list' tests (1) test/system: Miscellaneous improvements to the 'list' tests (2) Mar 22, 2023
@debarshiray debarshiray force-pushed the wip/rishi/test-system-list-names branch from c13e424 to f3a60e8 Compare March 22, 2023 08:18
@softwarefactory-project-zuul
Copy link

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

✔️ unit-test SUCCESS in 8m 06s
✔️ unit-test-migration-path-for-coreos-toolbox SUCCESS in 3m 19s
✔️ unit-test-restricted SUCCESS in 7m 54s
✔️ system-test-fedora-rawhide SUCCESS in 16m 13s
✔️ system-test-fedora-38 SUCCESS in 15m 13s
✔️ system-test-fedora-37 SUCCESS in 15m 11s
✔️ system-test-fedora-36 SUCCESS in 15m 08s

@debarshiray debarshiray force-pushed the wip/rishi/test-system-list-names branch from f3a60e8 to 55bf3d0 Compare March 22, 2023 08:50
@softwarefactory-project-zuul
Copy link

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

✔️ unit-test SUCCESS in 9m 14s
✔️ unit-test-migration-path-for-coreos-toolbox SUCCESS in 2m 56s
✔️ unit-test-restricted SUCCESS in 8m 15s
✔️ system-test-fedora-rawhide SUCCESS in 16m 30s
✔️ system-test-fedora-38 SUCCESS in 15m 38s
✔️ system-test-fedora-37 SUCCESS in 15m 46s
✔️ system-test-fedora-36 SUCCESS in 16m 00s

@softwarefactory-project-zuul
Copy link

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

✔️ unit-test SUCCESS in 10m 26s
✔️ unit-test-migration-path-for-coreos-toolbox SUCCESS in 3m 14s
✔️ unit-test-restricted SUCCESS in 9m 16s
✔️ system-test-fedora-rawhide SUCCESS in 19m 37s
✔️ system-test-fedora-38 SUCCESS in 18m 27s
✔️ system-test-fedora-37 SUCCESS in 18m 18s
✔️ system-test-fedora-36 SUCCESS in 18m 27s

This is a quick sanity check with 'podman images' to ensure that all the
images are in place before running 'list'.  Other tests already do this,
so this change makes these two tests consistent with the rest.

containers#1273
@softwarefactory-project-zuul
Copy link

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

✔️ unit-test SUCCESS in 9m 19s
✔️ unit-test-migration-path-for-coreos-toolbox SUCCESS in 3m 14s
✔️ unit-test-restricted SUCCESS in 8m 34s
✔️ system-test-fedora-rawhide SUCCESS in 18m 03s
✔️ system-test-fedora-38 SUCCESS in 17m 30s
✔️ system-test-fedora-37 SUCCESS in 18m 03s
✔️ system-test-fedora-36 SUCCESS in 15m 58s

@softwarefactory-project-zuul
Copy link

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

✔️ unit-test SUCCESS in 8m 46s
✔️ unit-test-migration-path-for-coreos-toolbox SUCCESS in 3m 03s
✔️ unit-test-restricted SUCCESS in 8m 33s
✔️ system-test-fedora-rawhide SUCCESS in 16m 41s
✔️ system-test-fedora-38 SUCCESS in 16m 03s
✔️ system-test-fedora-37 SUCCESS in 15m 47s
✔️ system-test-fedora-36 SUCCESS in 15m 45s

@debarshiray debarshiray force-pushed the wip/rishi/test-system-list-names branch from 701ce32 to 44cbdb1 Compare March 22, 2023 11:05
@softwarefactory-project-zuul
Copy link

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

✔️ unit-test SUCCESS in 8m 49s
✔️ unit-test-migration-path-for-coreos-toolbox SUCCESS in 2m 54s
✔️ unit-test-restricted SUCCESS in 8m 27s
✔️ system-test-fedora-rawhide SUCCESS in 17m 04s
✔️ system-test-fedora-38 SUCCESS in 16m 17s
✔️ system-test-fedora-37 SUCCESS in 16m 19s
✔️ system-test-fedora-36 SUCCESS in 16m 19s

@debarshiray debarshiray merged commit 44cbdb1 into containers:main Mar 22, 2023
@debarshiray debarshiray deleted the wip/rishi/test-system-list-names branch March 22, 2023 12:32
debarshiray added a commit to debarshiray/toolbox that referenced this pull request Jun 23, 2023
Now that Toolbx offers built-in support for Ubuntu containers [1], it
makes sense to test that it works well on Ubuntu hosts.  Ubuntu 22.04 is
the latest long term support (or LTS) release [2] from Ubuntu, and
GitHub provides runners for GitHub workflows [3].

Ubuntu 22.04 only has Bats 1.2.1 [4], while Toolbx requires 1.7.0 [5];
and Shadow 4.8 [6], while libsubid.so was introduced in Shadow 4.9 [7].
Hence, newer versions of these dependencies need to be built to run the
tests.

Note that a separate sub-directory inside $GITHUB_WORKSPACE [8] is used
for Toolbx itself to prevent codespell from getting triggered by
problems in the dependencies themselves [9].

[1] Commit a84a358
    containers#483
    containers#1284

[2] https://wiki.ubuntu.com/Releases

[3] https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners

[4] https://packages.ubuntu.com/jammy/bats

[5] Commit e22a82f
    containers#1273

[6] https://packages.ubuntu.com/source/jammy/shadow
    https://packages.ubuntu.com/source/jammy-updates/shadow

[7] Shadow commit 0a7888b1fad613a0
    shadow-maint/shadow@0a7888b1fad613a0
    shadow-maint/shadow#154

[8] https://docs.github.com/en/actions/learn-github-actions/variables

[9] bats-core/bats-core#743

containers#1319
debarshiray added a commit to debarshiray/toolbox that referenced this pull request Jun 23, 2023
Now that Toolbx offers built-in support for Ubuntu containers [1],
adding an Ubuntu host to the upstream CI will help ensure that Toolbx
continues to work well on Ubuntu.  Ubuntu 22.04 is the latest long term
support (or LTS) release [2] from Ubuntu, and GitHub provides runners
for GitHub workflows [3].

Ubuntu 22.04 only has Bats 1.2.1 [4], while Toolbx requires 1.7.0 [5];
and Shadow 4.8 [6], while libsubid.so was introduced in Shadow 4.9 [7].
Hence, newer versions of these dependencies need to be built to run the
tests.

Note that a separate sub-directory inside $GITHUB_WORKSPACE [8] is used
for Toolbx itself to prevent codespell from getting triggered by
problems in the dependencies themselves [9].

[1] Commit a84a358
    containers#483
    containers#1284

[2] https://wiki.ubuntu.com/Releases

[3] https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners

[4] https://packages.ubuntu.com/jammy/bats

[5] Commit e22a82f
    containers#1273

[6] https://packages.ubuntu.com/source/jammy/shadow
    https://packages.ubuntu.com/source/jammy-updates/shadow

[7] Shadow commit 0a7888b1fad613a0
    shadow-maint/shadow@0a7888b1fad613a0
    shadow-maint/shadow#154

[8] https://docs.github.com/en/actions/learn-github-actions/variables

[9] bats-core/bats-core#743

containers#1319
debarshiray added a commit to debarshiray/toolbox that referenced this pull request Jun 23, 2023
Now that Toolbx offers built-in support for Ubuntu containers [1],
adding an Ubuntu host to the upstream CI will help ensure that Toolbx
continues to work well on Ubuntu.  Ubuntu 22.04 is the latest long term
support (or LTS) release [2] from Ubuntu, and GitHub provides runners
for GitHub workflows [3].

Ubuntu 22.04 only has Bats 1.2.1 [4], while Toolbx requires 1.7.0 [5];
and Shadow 4.8 [6], while libsubid.so was introduced in Shadow 4.9 [7].
Hence, newer versions of these dependencies need to be built to run the
tests.

Note that a separate sub-directory inside $GITHUB_WORKSPACE [8] is used
for Toolbx itself to prevent codespell from getting triggered by
problems in the dependencies themselves [9].

[1] Commit a84a358
    containers#483
    containers#1284

[2] https://wiki.ubuntu.com/Releases

[3] https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners

[4] https://packages.ubuntu.com/jammy/bats

[5] Commit e22a82f
    containers#1273

[6] https://packages.ubuntu.com/source/jammy/shadow
    https://packages.ubuntu.com/source/jammy-updates/shadow

[7] Shadow commit 0a7888b1fad613a0
    shadow-maint/shadow@0a7888b1fad613a0
    shadow-maint/shadow#154

[8] https://docs.github.com/en/actions/learn-github-actions/variables

[9] bats-core/bats-core#743

containers#1319
debarshiray added a commit to debarshiray/toolbox that referenced this pull request Jun 27, 2023
Now that Toolbx offers built-in support for Ubuntu containers [1],
adding an Ubuntu host to the upstream CI will help ensure that Toolbx
continues to work well on Ubuntu.  Ubuntu 22.04 is the latest long term
support (or LTS) release [2] from Ubuntu, and GitHub provides runners
for GitHub workflows [3].

Ubuntu 22.04 only has Bats 1.2.1 [4], while Toolbx requires 1.7.0 [5];
and Shadow 4.8 [6], while libsubid.so was introduced in Shadow 4.9 [7].
Hence, newer versions of these dependencies need to be built to run the
tests.

Note that a separate sub-directory inside $GITHUB_WORKSPACE [8] is used
for Toolbx itself to prevent codespell from getting triggered by
problems in the dependencies themselves [9].

[1] Commit a84a358
    containers#483
    containers#1284

[2] https://wiki.ubuntu.com/Releases

[3] https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners

[4] https://packages.ubuntu.com/jammy/bats

[5] Commit e22a82f
    containers#1273

[6] https://packages.ubuntu.com/source/jammy/shadow
    https://packages.ubuntu.com/source/jammy-updates/shadow

[7] Shadow commit 0a7888b1fad613a0
    shadow-maint/shadow@0a7888b1fad613a0
    shadow-maint/shadow#154

[8] https://docs.github.com/en/actions/learn-github-actions/variables

[9] bats-core/bats-core#743

containers#1319
debarshiray added a commit to debarshiray/toolbox that referenced this pull request Jun 27, 2023
Now that Toolbx offers built-in support for Ubuntu containers [1],
adding an Ubuntu host to the upstream CI will help ensure that Toolbx
continues to work well on Ubuntu.  Ubuntu 22.04 is the latest long term
support (or LTS) release [2] from Ubuntu, and is the latest Ubuntu
version that GitHub provides runners for [3].

Ubuntu 22.04 only has Bats 1.2.1 [4], while Toolbx requires 1.7.0 [5];
and Shadow 4.8 [6], while Toolbx requires 4.9 because it needs
libsubid.so [7,8].  Hence, newer versions of these dependencies need to
be built to run the tests.  The build flags for Shadow were taken from
the Debian package [9].

A separate sub-directory inside $GITHUB_WORKSPACE [10] is used for
Toolbx itself to prevent codespell from getting triggered by spelling
mistakes in these dependencies themselves [11].

Unfortunately, the SHELL environment variable goes mysteriously missing
from the runtime environment of the GitHub Actions workflow [12].  This
breaks the 'create' and 'enter' commands, and therefore tests involving
them can't be run until this is resolved.  Meanwhile, running the CI on
Ubuntu with a subset of the tests, is still better than not running the
CI on Ubuntu at all.

[1] Commit a84a358
    containers#483
    containers#1284

[2] https://wiki.ubuntu.com/Releases

[3] https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners

[4] https://packages.ubuntu.com/jammy/bats

[5] Commit e22a82f
    containers#1273

[6] https://packages.ubuntu.com/source/jammy/shadow
    https://packages.ubuntu.com/source/jammy-updates/shadow

[7] Shadow commit 0a7888b1fad613a0
    shadow-maint/shadow@0a7888b1fad613a0
    shadow-maint/shadow#154

[8] Commit ca8007c
    containers#1074

[9] https://salsa.debian.org/debian/shadow/

[10] https://docs.github.com/en/actions/learn-github-actions/variables

[11] bats-core/bats-core#743

[12] https://github.com/orgs/community/discussions/59413

containers#1319
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.

1 participant