Radicle repository id rad:z34Lk5Z18mw8gyfMwJvNPjA1ZwJgd
{ "request": "trigger", "version": 1, "event_type": "push", "repository": { "id": "rad:z34Lk5Z18mw8gyfMwJvNPjA1ZwJgd", "name": "repeatcmd", "description": "Run command repeatedly until it succeeds", "private": false, "default_branch": "main", "delegates": [ "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV" ] }, "pusher": { "id": "did:key:z6MkkYez6QAFWvmdudjrfMXySu1NTpSrraJotCJFwGgkmgx8", "alias": "ci0" }, "before": "6dd45669e2bc5afa1f11a9d33ff8cf95ebca2194", "after": "6dd45669e2bc5afa1f11a9d33ff8cf95ebca2194", "branch": "main", "commits": [ "6dd45669e2bc5afa1f11a9d33ff8cf95ebca2194" ] }
[2025-06-26T03:40:46Z INFO ambient] ambient starts [2J[01;01H[=3h[2J[01;01H[2J[01;01H[=3h[2J[01;01HBdsDxe: failed to load Boot0001 "UEFI QEMU DVD-ROM QM00005 " from PciRoot(0x0)/Pci(0x1F,0x2)/Sata(0x2,0xFFFF,0x0): Not Found BdsDxe: loading Boot0002 "UEFI Misc Device" from PciRoot(0x0)/Pci(0x2,0x0) BdsDxe: starting Boot0002 "UEFI Misc Device" from PciRoot(0x0)/Pci(0x2,0x0) [0m[30m[47mWelcome to GRUB! [0m[37m[40m[0m[30m[40m[2J[01;01H[0m[37m[40mINFO: Extracting tar archive from /dev/vdb ./ ./plan.yaml ./run-ci INFO: Running run-ci from /dev/vdb ================================ BEGIN ================================ ambient-execute-plan starts RunnablePlan::from_file: filename=plan.yaml steps: - action: mkdir pathname: /workspace - action: mkdir pathname: /workspace/artifacts - action: tar_extract archive: /dev/vdc directory: /workspace/src - action: tar_extract archive: /dev/vdf directory: /workspace/deps - action: tar_extract archive: /dev/vde directory: /workspace/cache - action: spawn argv: - find - /workspace - '-maxdepth' - '2' - '-ls' - action: cargo_fmt - action: cargo_clippy - action: cargo_build - action: shell shell: | export CARGO_TARGET_DIR=/workspace/cache export CARGO_HOME=/workspace/deps export PATH="/root/.cargo/bin:$PATH" if ! make; then cat test.log; exit 1; fi export DEBEMAIL=liw@liw.fi export DEBFULLNAME="Lars Wirzenius" V="$(dpkg-parsechangelog -SVersion | sed 's/-[^-]*$//')" T="$(date -u "+%Y%m%dT%H%M%S")" version="$V.ci$T-1" dch -v "$version" "CI build under Ambient." dch -r '' git status --ignored git clean -fdx - action: deb - action: tar_create archive: /dev/vde directory: /workspace/cache - action: tar_create archive: /dev/vdd directory: /workspace/artifacts executor_drive: /dev/vdb source_drive: /dev/vdc artifact_drive: /dev/vdd cache_drive: /dev/vde deps_drive: /dev/vdf workspace_dir: /workspace source_dir: /workspace/src deps_dir: /workspace/deps cache_dir: /workspace/cache artifacts_dir: /workspace/artifacts RUN: Action Mkdir { pathname: "/workspace", } RUN: Action finished OK RUN: Action Mkdir { pathname: "/workspace/artifacts", } RUN: Action finished OK RUN: Action TarExtract { archive: "/dev/vdc", directory: "/workspace/src", } RUN: Action finished OK RUN: Action TarExtract { archive: "/dev/vdf", directory: "/workspace/deps", } RUN: Action finished OK RUN: Action TarExtract { archive: "/dev/vde", directory: "/workspace/cache", } RUN: Action finished OK RUN: Action Spawn { argv: [ "find", "/workspace", "-maxdepth", "2", "-ls", ], } SPAWN: argv=["find", "/workspace", "-maxdepth", "2", "-ls"] cwd=/workspace/src (exists? true) extra_env=[] 3538945 4 drwxr-xr-x 6 root root 4096 Jun 26 03:40 /workspace 3543259 4 drwxr-xr-x 4 root root 4096 Jun 7 11:08 /workspace/cache 3543260 4 drwxr-xr-x 7 root root 4096 Jun 25 13:12 /workspace/cache/debug 3544504 4 -rw-r--r-- 1 root root 1034 Jun 25 13:12 /workspace/cache/.rustc_info.json 3544119 4 drwxr-xr-x 7 root root 4096 Jun 25 13:12 /workspace/cache/release 3539256 4 drwxr-xr-x 3 root root 4096 Jun 26 03:39 /workspace/deps 3539258 0 -rw-r--r-- 1 root root 0 Jun 7 11:06 /workspace/deps/.package-cache 3539257 56 -rw-r--r-- 1 root root 57344 Jun 26 03:39 /workspace/deps/.global-cache 3539259 4 drwxr-xr-x 5 root root 4096 Jun 7 11:06 /workspace/deps/registry 3538946 4 drwxr-xr-x 2 root root 4096 Jun 26 03:40 /workspace/artifacts 3538947 4 drwxr-xr-x 6 root root 4096 Jun 26 03:39 /workspace/src 3538967 4 drwxr-xr-x 8 root root 4096 Jun 26 03:39 /workspace/src/.git 3538950 4 -rw-r--r-- 1 root root 1325 Jun 26 03:39 /workspace/src/LICENSE.md 3538953 4 drwxr-xr-x 3 root root 4096 Jun 26 03:39 /workspace/src/debian 3538964 4 -rw-r--r-- 1 root root 657 Jun 26 03:39 /workspace/src/README.md 3539254 4 -rw-r--r-- 1 root root 86 Jun 26 03:39 /workspace/src/Makefile 3538948 4 drwxr-xr-x 2 root root 4096 Jun 26 03:39 /workspace/src/.radicle 3538966 4 -rw-r--r-- 1 root root 168 Jun 26 03:39 /workspace/src/Cargo.toml 3539255 12 -rw-r--r-- 1 root root 11918 Jun 26 03:39 /workspace/src/Cargo.lock 3538951 4 drwxr-xr-x 2 root root 4096 Jun 26 03:39 /workspace/src/src 3538965 4 -rw-r--r-- 1 root root 8 Jun 26 03:39 /workspace/src/.gitignore RUN: Action finished OK RUN: Action CargoFmt SPAWN: argv=["cargo", "fmt", "--check"] cwd=/workspace/src (exists? true) extra_env=[("CARGO_TARGET_DIR", "/workspace/cache"), ("CARGO_HOME", "/workspace/deps"), ("PATH", "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin")] RUN: Action finished OK RUN: Action CargoClippy SPAWN: argv=["cargo", "clippy", "--offline", "--locked", "--workspace", "--all-targets", "--no-deps", "--", "--deny", "warnings"] cwd=/workspace/src (exists? true) extra_env=[("CARGO_TARGET_DIR", "/workspace/cache"), ("CARGO_HOME", "/workspace/deps"), ("PATH", "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin")] Checking repeatcmd v0.1.0 (/workspace/src) Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.83s RUN: Action finished OK RUN: Action CargoBuild SPAWN: argv=["cargo", "build", "--offline", "--locked", "--workspace", "--all-targets"] cwd=/workspace/src (exists? true) extra_env=[("CARGO_TARGET_DIR", "/workspace/cache"), ("CARGO_HOME", "/workspace/deps"), ("PATH", "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin")] Compiling repeatcmd v0.1.0 (/workspace/src) Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.51s RUN: Action finished OK RUN: Action Shell { shell: "export CARGO_TARGET_DIR=/workspace/cache\nexport CARGO_HOME=/workspace/deps\nexport PATH=\"/root/.cargo/bin:$PATH\"\nif ! make; then cat test.log; exit 1; fi\n\nexport DEBEMAIL=liw@liw.fi\nexport DEBFULLNAME=\"Lars Wirzenius\"\n\nV=\"$(dpkg-parsechangelog -SVersion | sed 's/-[^-]*$//')\"\nT=\"$(date -u \"+%Y%m%dT%H%M%S\")\"\nversion=\"$V.ci$T-1\"\ndch -v \"$version\" \"CI build under Ambient.\"\ndch -r ''\n\ngit status --ignored\ngit clean -fdx\n", } SPAWN: argv=["/bin/bash", "-c", "set -xeuo pipefail\nexport CARGO_TARGET_DIR=/workspace/cache\nexport CARGO_HOME=/workspace/deps\nexport PATH=\"/root/.cargo/bin:$PATH\"\nif ! make; then cat test.log; exit 1; fi\n\nexport DEBEMAIL=liw@liw.fi\nexport DEBFULLNAME=\"Lars Wirzenius\"\n\nV=\"$(dpkg-parsechangelog -SVersion | sed 's/-[^-]*$//')\"\nT=\"$(date -u \"+%Y%m%dT%H%M%S\")\"\nversion=\"$V.ci$T-1\"\ndch -v \"$version\" \"CI build under Ambient.\"\ndch -r ''\n\ngit status --ignored\ngit clean -fdx\n\n"] cwd=/workspace/src (exists? true) extra_env=[] + export CARGO_TARGET_DIR=/workspace/cache + CARGO_TARGET_DIR=/workspace/cache + export CARGO_HOME=/workspace/deps + CARGO_HOME=/workspace/deps + export PATH=/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin + PATH=/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin + make cargo clippy --all-targets -- -Dwarnings Checking repeatcmd v0.1.0 (/workspace/src) Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.17s cargo build --all-targets Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.11s cargo test Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s Running unittests src/main.rs (/workspace/cache/debug/deps/repeatcmd-4371912f6be37ab4) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + export DEBEMAIL=liw@liw.fi + DEBEMAIL=liw@liw.fi + export 'DEBFULLNAME=Lars Wirzenius' + DEBFULLNAME='Lars Wirzenius' ++ dpkg-parsechangelog -SVersion ++ sed 's/-[^-]*$//' + V=0.1.0 ++ date -u +%Y%m%dT%H%M%S + T=20250626T034031 + version=0.1.0.ci20250626T034031-1 + dch -v 0.1.0.ci20250626T034031-1 'CI build under Ambient.' + dch -r '' + git status --ignored HEAD detached at 6dd4566 Changes not staged for commit: (use "git add <file>..." to update what will be committed) (use "git restore <file>..." to discard changes in working directory) modified: debian/changelog no changes added to commit (use "git add" and/or "git commit -a") + git clean -fdx RUN: Action finished OK RUN: Action Deb SPAWN: argv=["/bin/bash", "-c", "#!/bin/bash\nset -xeuo pipefail\n\necho \"PATH at start: $PATH\"\nexport PATH=\"/root/.cargo/bin:$PATH\"\nexport CARGO_HOME=/workspace/deps\nexport DEBEMAIL=liw@liw.fi\nexport DEBFULLNAME=\"Lars Wirzenius\"\n/bin/env\n\ncommand -v cargo\ncommand -v rustc\n\ncargo --version\nrustc --version\n\n# Get name and version of source package.\nname=\"$(dpkg-parsechangelog -SSource)\"\nversion=\"$(dpkg-parsechangelog -SVersion)\"\n\n# Get upstream version: everything before the last dash.\nuv=\"$(echo \"$version\" | sed 's/-[^-]*$//')\"\n\n# Files that will be created.\narch=\"$(dpkg --print-architecture)\"\norig=\"../${name}_${uv}.orig.tar.xz\"\ndeb=\"../${name}_${version}_${arch}.deb\"\nchanges=\"../${name}_${version}_${arch}.changes\"\n\n# Create \"upstream tarball\".\ngit archive HEAD | xz >\"$orig\"\n\n# Build package.\ndpkg-buildpackage -us -uc\n\n# Dump some information to make it easier to visually verify\n# everything looks OK. Also, test the package with the lintian tool.\n\nls -l ..\nfor x in ../*.deb; do dpkg -c \"$x\"; done\n# FIXME: disabled while this prevents radicle-native-ci deb from being built.\n# lintian -i --allow-root --fail-on warning ../*.changes\n\n# Move files to artifacts directory.\nmv ../*_* /workspace/artifacts\n "] cwd=/workspace/src (exists? true) extra_env=[("CARGO_TARGET_DIR", "/workspace/cache"), ("CARGO_HOME", "/workspace/deps"), ("PATH", "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin")] + echo 'PATH at start: /root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' PATH at start: /root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin + export PATH=/root/.cargo/bin:/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin + PATH=/root/.cargo/bin:/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin + export CARGO_HOME=/workspace/deps + CARGO_HOME=/workspace/deps + export DEBEMAIL=liw@liw.fi + DEBEMAIL=liw@liw.fi + export 'DEBFULLNAME=Lars Wirzenius' + DEBFULLNAME='Lars Wirzenius' + /bin/env DEBFULLNAME=Lars Wirzenius CARGO_TARGET_DIR=/workspace/cache PWD=/workspace/src SYSTEMD_EXEC_PID=269 LANG=C.UTF-8 CARGO_HOME=/workspace/deps DEBEMAIL=liw@liw.fi INVOCATION_ID=0fbf69d02aa347769d60263c8b45d419 SHLVL=2 JOURNAL_STREAM=8:14056 PATH=/root/.cargo/bin:/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin OLDPWD=/ _=/bin/env + command -v cargo /root/.cargo/bin/cargo + command -v rustc /root/.cargo/bin/rustc + cargo --version cargo 1.87.0 (99624be96 2025-05-06) + rustc --version rustc 1.87.0 (17067e9ac 2025-05-09) ++ dpkg-parsechangelog -SSource + name=repeatcmd ++ dpkg-parsechangelog -SVersion + version=0.1.0.ci20250626T034031-1 ++ sed 's/-[^-]*$//' ++ echo 0.1.0.ci20250626T034031-1 + uv=0.1.0.ci20250626T034031 ++ dpkg --print-architecture + arch=amd64 + orig=../repeatcmd_0.1.0.ci20250626T034031.orig.tar.xz + deb=../repeatcmd_0.1.0.ci20250626T034031-1_amd64.deb + changes=../repeatcmd_0.1.0.ci20250626T034031-1_amd64.changes + git archive HEAD + xz + dpkg-buildpackage -us -uc [1mdpkg-buildpackage: [0m[32minfo[0m: source package repeatcmd [1mdpkg-buildpackage: [0m[32minfo[0m: source version 0.1.0.ci20250626T034031-1 [1mdpkg-buildpackage: [0m[32minfo[0m: source distribution unstable [1mdpkg-buildpackage: [0m[32minfo[0m: source changed by Lars Wirzenius <liw@liw.fi> [1mdpkg-buildpackage: [0m[32minfo[0m: host architecture amd64 [1;35m dpkg-source --before-build . [0m[1;35m debian/rules clean [0mdh clean dh_auto_clean dh_clean [1;35m dpkg-source -b . [0m[1mdpkg-source: [0m[32minfo[0m: using source format '3.0 (quilt)' [1mdpkg-source: [0m[32minfo[0m: building repeatcmd using existing ./repeatcmd_0.1.0.ci20250626T034031.orig.tar.xz [1mdpkg-source: [0m[32minfo[0m: building repeatcmd in repeatcmd_0.1.0.ci20250626T034031-1.debian.tar.xz [1mdpkg-source: [0m[32minfo[0m: building repeatcmd in repeatcmd_0.1.0.ci20250626T034031-1.dsc [1;35m debian/rules build [0mdh build dh_update_autotools_config dh_autoreconf dh_auto_configure debian/rules override_dh_auto_build make[1]: Entering directory '/workspace/src' true make[1]: Leaving directory '/workspace/src' debian/rules override_dh_auto_test make[1]: Entering directory '/workspace/src' echo tests are disabled, for now tests are disabled, for now make[1]: Leaving directory '/workspace/src' create-stamp debian/debhelper-build-stamp [1;35m debian/rules binary [0mdh binary dh_testroot dh_prep debian/rules override_dh_auto_install make[1]: Entering directory '/workspace/src' mkdir -p debian/repeatcmd/usr cargo install --locked --offline --path=. --root=debian/repeatcmd/usr Installing repeatcmd v0.1.0 (/workspace/src) Compiling repeatcmd v0.1.0 (/workspace/src) Finished `release` profile [optimized] target(s) in 1.04s Installing debian/repeatcmd/usr/bin/repeatcmd Installed package `repeatcmd v0.1.0 (/workspace/src)` (executable `repeatcmd`) warning: be sure to add `debian/repeatcmd/usr/bin` to your PATH to be able to run the installed binaries find debian/*/ -name '.crates*.*' -delete make[1]: Leaving directory '/workspace/src' dh_installdocs dh_installchangelogs dh_lintian dh_perl dh_link dh_strip_nondeterminism dh_compress dh_fixperms dh_missing dh_strip dh_makeshlibs dh_shlibdeps dh_installdeb dh_gencontrol dh_md5sums dh_builddeb [1mdpkg-deb:[0m building package 'repeatcmd-dbgsym' in '../repeatcmd-dbgsym_0.1.0.ci20250626T034031-1_amd64.deb'. [1mdpkg-deb:[0m building package 'repeatcmd' in '../repeatcmd_0.1.0.ci20250626T034031-1_amd64.deb'. [1;35m dpkg-genbuildinfo -O../repeatcmd_0.1.0.ci20250626T034031-1_amd64.buildinfo [0m[1;35m dpkg-genchanges -O../repeatcmd_0.1.0.ci20250626T034031-1_amd64.changes [0m[1mdpkg-genchanges: [0m[32minfo[0m: including full source code in upload [1;35m dpkg-source --after-build . [0m[1mdpkg-buildpackage: [0m[32minfo[0m: full upload (original source is included) + ls -l .. total 488 drwxr-xr-x 2 root root 4096 Jun 26 03:40 artifacts drwxr-xr-x 4 root root 4096 Jun 7 11:08 cache drwxr-xr-x 3 root root 4096 Jun 26 03:40 deps -rw-r--r-- 1 root root 54504 Jun 26 03:40 repeatcmd-dbgsym_0.1.0.ci20250626T034031-1_amd64.deb -rw-r--r-- 1 root root 1744 Jun 26 03:40 repeatcmd_0.1.0.ci20250626T034031-1.debian.tar.xz -rw-r--r-- 1 root root 903 Jun 26 03:40 repeatcmd_0.1.0.ci20250626T034031-1.dsc -rw-r--r-- 1 root root 5674 Jun 26 03:40 repeatcmd_0.1.0.ci20250626T034031-1_amd64.buildinfo -rw-r--r-- 1 root root 2392 Jun 26 03:40 repeatcmd_0.1.0.ci20250626T034031-1_amd64.changes -rw-r--r-- 1 root root 393292 Jun 26 03:40 repeatcmd_0.1.0.ci20250626T034031-1_amd64.deb -rw-r--r-- 1 root root 7540 Jun 26 03:40 repeatcmd_0.1.0.ci20250626T034031.orig.tar.xz drwxr-xr-x 6 root root 4096 Jun 26 03:39 src + for x in ../*.deb + dpkg -c ../repeatcmd-dbgsym_0.1.0.ci20250626T034031-1_amd64.deb drwxr-xr-x root/root 0 2025-06-26 03:40 ./ drwxr-xr-x root/root 0 2025-06-26 03:40 ./usr/ drwxr-xr-x root/root 0 2025-06-26 03:40 ./usr/lib/ drwxr-xr-x root/root 0 2025-06-26 03:40 ./usr/lib/debug/ drwxr-xr-x root/root 0 2025-06-26 03:40 ./usr/lib/debug/.build-id/ drwxr-xr-x root/root 0 2025-06-26 03:40 ./usr/lib/debug/.build-id/90/ -rw-r--r-- root/root 259360 2025-06-26 03:40 ./usr/lib/debug/.build-id/90/ed92f5941425af3cb629218156db87b6af26dd.debug drwxr-xr-x root/root 0 2025-06-26 03:40 ./usr/share/ drwxr-xr-x root/root 0 2025-06-26 03:40 ./usr/share/doc/ lrwxrwxrwx root/root 0 2025-06-26 03:40 ./usr/share/doc/repeatcmd-dbgsym -> repeatcmd + for x in ../*.deb + dpkg -c ../repeatcmd_0.1.0.ci20250626T034031-1_amd64.deb drwxr-xr-x root/root 0 2025-06-26 03:40 ./ drwxr-xr-x root/root 0 2025-06-26 03:40 ./usr/ drwxr-xr-x root/root 0 2025-06-26 03:40 ./usr/bin/ -rwxr-xr-x root/root 1164048 2025-06-26 03:40 ./usr/bin/repeatcmd drwxr-xr-x root/root 0 2025-06-26 03:40 ./usr/share/ drwxr-xr-x root/root 0 2025-06-26 03:40 ./usr/share/doc/ drwxr-xr-x root/root 0 2025-06-26 03:40 ./usr/share/doc/repeatcmd/ -rw-r--r-- root/root 204 2025-06-26 03:40 ./usr/share/doc/repeatcmd/changelog.Debian.gz -rw-r--r-- root/root 337 2025-06-26 03:39 ./usr/share/doc/repeatcmd/copyright drwxr-xr-x root/root 0 2025-06-26 03:40 ./usr/share/lintian/ drwxr-xr-x root/root 0 2025-06-26 03:40 ./usr/share/lintian/overrides/ -rw-r--r-- root/root 81 2025-06-26 03:39 ./usr/share/lintian/overrides/repeatcmd + mv ../repeatcmd-dbgsym_0.1.0.ci20250626T034031-1_amd64.deb ../repeatcmd_0.1.0.ci20250626T034031-1.debian.tar.xz ../repeatcmd_0.1.0.ci20250626T034031-1.dsc ../repeatcmd_0.1.0.ci20250626T034031-1_amd64.buildinfo ../repeatcmd_0.1.0.ci20250626T034031-1_amd64.changes ../repeatcmd_0.1.0.ci20250626T034031-1_amd64.deb ../repeatcmd_0.1.0.ci20250626T034031.orig.tar.xz /workspace/artifacts RUN: Action finished OK RUN: Action TarCreate { archive: "/dev/vde", directory: "/workspace/cache", } RUN: Action finished OK RUN: Action TarCreate { archive: "/dev/vdd", directory: "/workspace/artifacts", } RUN: Action finished OK ambient-execute-plan ends EXIT CODE: 0 [2025-06-26T03:40:46Z INFO ambient] ambient ends successfully