bitcoin/ci/test
fanquake 504f1f30ed
Merge bitcoin/bitcoin#28547: ci: Work around podman stop intermittent failure
fa2c894cbb ci: move-only CI_CONTAINER_ID to 02_run_container.sh (MarcoFalke)
fa695b4df0 ci: Work around podman stop bug (MarcoFalke)
fa09a031c1 ci: Add set -ex to 02_run_container.sh (MarcoFalke)
fac9abbf47 ci: Rename 04_install to 02_run_container (MarcoFalke)

Pull request description:

  Sometimes, it seems that `podman stop` does not work. Presumably, it falls back to `podman kill`, which is async.

  Try to work around this intermittent issue by using the `rm --force` over `stop`.

  Example failing log https://cirrus-ci.com/task/4549784611061760?logs=ci#L238:

  ```
  Restart docker before run to stop and clear all containers started with --rm
  ++ podman container stop --all
  e4eca0766f87864d89fc230aa884a238c214cfbcd44cf76a4dbdb2a30c982009
  ++ echo 'Prune all dangling images'
  Prune all dangling images
  ++ docker image prune --force
  Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
  +++ docker run --cap-add LINUX_IMMUTABLE --rm --interactive --detach --tty --mount type=bind,src=/tmp/cirrus-build-1970593815,dst=/tmp/cirrus-build-1970593815,readonly --mount type=volume,src=ci_macos_cross_ccache,dst=/tmp/ccache_dir --mount type=volume,src=ci_macos_cross_depends,dst=/ci_container_base/depends --mount type=volume,src=ci_macos_cross_previous_releases,dst=/ci_container_base/prev_releases --env-file /tmp/env --name ci_macos_cross ci_macos_cross
  Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
  time="2023-09-27T20:55:39Z" level=warning msg="The input device is not a TTY. The --tty and --interactive flags might not work properly"
  Error: creating container storage: the container name "ci_macos_cross" is already in use by e4eca0766f87864d89fc230aa884a238c214cfbcd44cf76a4dbdb2a30c982009. You have to remove that container to be able to reuse that name: that name is already in use

ACKs for top commit:
  hebasto:
    ACK fa2c894cbb, I have reviewed the code and tested it locally.

Tree-SHA512: 31fca340c6bedaadf4dd51fa745d9b3969042cebc0c7c904ef18af3f2f986039ec4354ccdff1422fbf77cf223e4423857368dce53cfa67ef15c76b78d007eace
2023-10-13 10:24:07 +02:00
..
00_setup_env.sh ci: enable chattr +i capability inside containers 2023-09-06 10:40:09 -04:00
00_setup_env_android.sh ci: Add missing amd64 to win64-cross task 2023-08-18 14:23:17 +02:00
00_setup_env_arm.sh ci: Use qemu-user through container engine 2023-08-07 17:36:14 +02:00
00_setup_env_i686_centos.sh ci: enable chattr +i capability inside containers 2023-09-06 10:40:09 -04:00
00_setup_env_i686_multiprocess.sh ci: Use qemu-user through container engine 2023-08-07 17:36:14 +02:00
00_setup_env_mac.sh build: remove dmg dependencies 2023-09-15 13:47:50 +01:00
00_setup_env_mac_native.sh ci: Run "macOS native x86_64" job on GitHub Actions 2023-08-09 10:59:43 +01:00
00_setup_env_native_asan.sh ci: Bump asan 2023-10-12 13:07:06 +02:00
00_setup_env_native_fuzz.sh ci: clang-17 for fuzz and tsan 2023-09-13 13:35:39 +02:00
00_setup_env_native_fuzz_with_msan.sh ci: Add missing docker.io prefix to CI_IMAGE_NAME_TAG 2023-08-23 22:33:02 +02:00
00_setup_env_native_fuzz_with_valgrind.sh ci: Add missing docker.io prefix to CI_IMAGE_NAME_TAG 2023-08-23 22:33:02 +02:00
00_setup_env_native_msan.sh ci: Add missing docker.io prefix to CI_IMAGE_NAME_TAG 2023-08-23 22:33:02 +02:00
00_setup_env_native_nowallet_libbitcoinkernel.sh ci: Add missing docker.io prefix to CI_IMAGE_NAME_TAG 2023-08-23 22:33:02 +02:00
00_setup_env_native_qt5.sh ci: Add missing docker.io prefix to CI_IMAGE_NAME_TAG 2023-08-23 22:33:02 +02:00
00_setup_env_native_tidy.sh ci: use LLVM/Clang 17 in tidy job 2023-10-10 11:02:10 +01:00
00_setup_env_native_tsan.sh ci: clang-17 for fuzz and tsan 2023-09-13 13:35:39 +02:00
00_setup_env_native_valgrind.sh ci: Add missing docker.io prefix to CI_IMAGE_NAME_TAG 2023-08-23 22:33:02 +02:00
00_setup_env_s390x.sh ci: Remove unused TEST_RUNNER_ENV="LC_ALL=C" from s390x task 2023-08-27 22:50:42 +02:00
00_setup_env_win64.sh ci: Add missing amd64 to win64-cross task 2023-08-18 14:23:17 +02:00
01_base_install.sh Merge bitcoin/bitcoin#28633: ci: Install Qt's default Android API platform 2023-10-12 09:11:49 +02:00
02_run_container.sh ci: move-only CI_CONTAINER_ID to 02_run_container.sh 2023-10-09 16:17:04 +02:00
06_script_b.sh ci: use LLVM/Clang 17 in tidy job 2023-10-10 11:02:10 +01:00
wrap-valgrind.sh scripted-diff: Bump copyright headers 2021-12-30 19:36:57 +02:00
wrap-wine.sh scripted-diff: Bump copyright headers 2022-12-24 23:49:50 +00:00