Skip to content

test/system: Unbreak Podman's downstream Fedora CI#1448

Merged
debarshiray merged 1 commit intocontainers:mainfrom
debarshiray:wip/rishi/unbreak-pull-1298
Feb 13, 2024
Merged

test/system: Unbreak Podman's downstream Fedora CI#1448
debarshiray merged 1 commit intocontainers:mainfrom
debarshiray:wip/rishi/unbreak-pull-1298

Conversation

@debarshiray
Copy link
Copy Markdown
Member

@debarshiray debarshiray commented Feb 13, 2024

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

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
@debarshiray debarshiray force-pushed the wip/rishi/unbreak-pull-1298 branch from 8dd9538 to 6838e93 Compare February 13, 2024 21:08
@softwarefactory-project-zuul
Copy link
Copy Markdown

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

✔️ unit-test SUCCESS in 4m 43s
✔️ unit-test-migration-path-for-coreos-toolbox SUCCESS in 3m 22s
✔️ unit-test-restricted SUCCESS in 3m 47s
✔️ system-test-fedora-rawhide SUCCESS in 30m 46s
✔️ system-test-fedora-39 SUCCESS in 31m 55s
✔️ system-test-fedora-38 SUCCESS in 32m 22s

@debarshiray debarshiray merged commit 6838e93 into containers:main Feb 13, 2024
@debarshiray debarshiray deleted the wip/rishi/unbreak-pull-1298 branch February 13, 2024 21:51
debarshiray added a commit to debarshiray/toolbox that referenced this pull request Jan 26, 2026
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)
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