Radicle repository id rad:zwPaQSTBX8hktn22F6tHAZSFH2Fh
{ "request": "trigger", "version": 1, "event_type": "push", "repository": { "id": "rad:zwPaQSTBX8hktn22F6tHAZSFH2Fh", "name": "ambient-ci", "description": "Ambient command line tool to run CI projects locally", "private": false, "default_branch": "main", "delegates": [ "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV" ] }, "pusher": { "id": "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV", "alias": "liw" }, "before": "6ff47afc1ff53414d3fb0867bc2f315b66daaeaf", "after": "6ff47afc1ff53414d3fb0867bc2f315b66daaeaf", "branch": "main", "commits": [ "6ff47afc1ff53414d3fb0867bc2f315b66daaeaf" ] }
[2025-05-16T14:06:21Z 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 QM00003 " from PciRoot(0x0)/Pci(0x1,0x1)/Ata(Secondary,Master,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: cargo_test - action: shell shell: | 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=[] 131073 4 drwxr-xr-x 6 root root 4096 May 16 14:04 /workspace 131074 4 drwxr-xr-x 2 root root 4096 May 16 14:04 /workspace/artifacts 131273 4 drwxr-xr-x 3 root root 4096 May 16 14:01 /workspace/deps 131276 4 drwxr-xr-x 5 root root 4096 Apr 8 13:29 /workspace/deps/registry 131274 100 -rw-r--r-- 1 root root 102400 May 16 14:01 /workspace/deps/.global-cache 131275 0 -rw-r--r-- 1 root root 0 Apr 8 13:29 /workspace/deps/.package-cache 153508 4 drwxr-xr-x 5 root root 4096 Apr 9 06:17 /workspace/cache 153509 4 drwxr-xr-x 7 root root 4096 May 16 14:02 /workspace/cache/debug 164865 4 drwxr-xr-x 7 root root 4096 Apr 9 06:17 /workspace/cache/release 168547 4 drwxr-xr-x 3 root root 4096 Apr 9 06:17 /workspace/cache/x86_64-unknown-linux-musl 168546 4 -rw-r--r-- 1 root root 1903 May 16 14:02 /workspace/cache/.rustc_info.json 131075 4 drwxr-xr-x 7 root root 4096 May 16 14:04 /workspace/src 131270 4 -rw-r--r-- 1 root root 668 May 16 14:04 /workspace/src/Makefile 131271 4 -rw-r--r-- 1 root root 380 May 16 14:04 /workspace/src/ambient.yaml 131105 4 -rw-r--r-- 1 root root 224 May 16 14:04 /workspace/src/ambient.subplot 131107 36 -rw-r--r-- 1 root root 34260 May 16 14:04 /workspace/src/COPYING.md 131124 4 -rw-r--r-- 1 root root 32 May 16 14:04 /workspace/src/.gitignore 131078 12 -rw-r--r-- 1 root root 10856 May 16 14:04 /workspace/src/ambient.md 131106 4 -rw-r--r-- 1 root root 1607 May 16 14:04 /workspace/src/ambient.py 131108 4 -rw-r--r-- 1 root root 3106 May 16 14:04 /workspace/src/INSTALL.md 131123 4 -rw-r--r-- 1 root root 1641 May 16 14:04 /workspace/src/README.md 131076 4 drwxr-xr-x 2 root root 4096 May 16 14:04 /workspace/src/.radicle 131125 4 -rw-r--r-- 1 root root 1158 May 16 14:04 /workspace/src/Cargo.toml 131110 4 drwxr-xr-x 3 root root 4096 May 16 14:04 /workspace/src/debian 131120 4 drwxr-xr-x 2 root root 4096 May 16 14:04 /workspace/src/.woodpecker 131109 4 -rw-r--r-- 1 root root 2547 May 16 14:04 /workspace/src/NEWS.md 131079 4 drwxr-xr-x 3 root root 4096 May 16 14:04 /workspace/src/src 131126 4 drwxr-xr-x 8 root root 4096 May 16 14:04 /workspace/src/.git 131272 68 -rw-r--r-- 1 root root 65840 May 16 14:04 /workspace/src/Cargo.lock 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 ambient-ci v0.3.0 (/workspace/src) Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.29s 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 ambient-ci v0.3.0 (/workspace/src) Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.70s RUN: Action finished OK RUN: Action CargoTest SPAWN: argv=["cargo", "test", "--offline", "--locked", "--workspace"] 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")] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s Running unittests src/lib.rs (/workspace/cache/debug/deps/ambient_ci-e8496e9fff98eec1) running 26 tests test action::test::mkdir_action ... ok test action::test::tar_create_action ... ok test cloud_init::test::metadata ... ok test cloud_init::test::userdata ... ok test cloud_init::test::userdata_fails_without_runcmd ... ok test plan::test::round_trip ... ok test run::test_run_decision::commit_changed ... ok test run::test_run_decision::dry_run_for_commit_changed ... ok test run::test_run_decision::dry_run_for_commit_changed_with_force ... ok test run::test_run_decision::dry_run_for_unchanged ... ok test run::test_run_decision::dry_run_for_unchanged_but_dirty ... ok test run::test_run_decision::dry_run_for_unchanged_but_dirty_with_force ... ok test run::test_run_decision::dry_run_for_unchanged_with_force ... ok test run::test_run_decision::is_not_git ... ok test run::test_run_decision::unchanged ... ok test run::test_run_decision::unchanged_commit_but_dirty ... ok test run::test_run_decision::unchanged_with_force ... ok test tildepathbuf::test::deser ... ok test tildepathbuf::test::just_tilde ... ok test tildepathbuf::test::no_tilde ... ok test tildepathbuf::test::tilde_slash ... ok test tildepathbuf::test::tilde_slash_with_home_from_var ... ok test tildepathbuf::test::tilde_username ... ok test action::test::tar_extract_action ... ok test action::test::spawn_action ... ok test cloud_init::test::iso ... ok test result: ok. 26 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s Running unittests src/bin/ambient.rs (/workspace/cache/debug/deps/ambient-0ac5c544c165152a) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/bin/ambient-execute-plan.rs (/workspace/cache/debug/deps/ambient_execute_plan-e898a432c54f9da7) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests ambient_ci running 1 test test src/tildepathbuf.rs - tildepathbuf (line 9) ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.64s RUN: Action finished OK RUN: Action Shell { shell: "git clean -fdx\n", } SPAWN: argv=["/bin/bash", "-c", "set -xeuo pipefail\ngit clean -fdx\n\n"] cwd=/workspace/src (exists? true) extra_env=[] + 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=267 LANG=C.UTF-8 CARGO_HOME=/workspace/deps DEBEMAIL=liw@liw.fi INVOCATION_ID=ee98f66682f5472b809e94e251b57f88 SHLVL=2 JOURNAL_STREAM=8:14455 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.86.0 (adf9b6ad1 2025-02-28) + rustc --version rustc 1.86.0 (05f9846f8 2025-03-31) ++ dpkg-parsechangelog -SSource + name=ambient-ci ++ dpkg-parsechangelog -SVersion + version=0.3.0-1 ++ echo 0.3.0-1 ++ sed 's/-[^-]*$//' + uv=0.3.0 ++ dpkg --print-architecture + arch=amd64 + orig=../ambient-ci_0.3.0.orig.tar.xz + deb=../ambient-ci_0.3.0-1_amd64.deb + changes=../ambient-ci_0.3.0-1_amd64.changes + git archive HEAD + xz + dpkg-buildpackage -us -uc [1mdpkg-buildpackage: [0m[32minfo[0m: source package ambient-ci [1mdpkg-buildpackage: [0m[32minfo[0m: source version 0.3.0-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 ambient-ci using existing ./ambient-ci_0.3.0.orig.tar.xz [1mdpkg-source: [0m[32minfo[0m: building ambient-ci in ambient-ci_0.3.0-1.debian.tar.xz [1mdpkg-source: [0m[32minfo[0m: building ambient-ci in ambient-ci_0.3.0-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' cargo install --locked --offline --target x86_64-unknown-linux-musl --path=. --root=debian/ambient-ci Installing ambient-ci v0.3.0 (/workspace/src) Compiling ambient-ci v0.3.0 (/workspace/src) Finished `release` profile [optimized] target(s) in 5.95s Installing debian/ambient-ci/bin/ambient Installing debian/ambient-ci/bin/ambient-execute-plan Installed package `ambient-ci v0.3.0 (/workspace/src)` (executables `ambient`, `ambient-execute-plan`) warning: be sure to add `debian/ambient-ci/bin` to your PATH to be able to run the installed binaries rm -f debian/*/.crates*.* 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 [1mdpkg-shlibdeps: [0m[1;33mwarning[0m: couldn't parse dynamic symbol definition: no symbols [1mdpkg-shlibdeps: [0m[1;33mwarning[0m: couldn't parse dynamic symbol definition: no symbols dh_installdeb dh_gencontrol dh_md5sums dh_builddeb [1mdpkg-deb:[0m building package 'ambient-ci-dbgsym' in '../ambient-ci-dbgsym_0.3.0-1_amd64.deb'. [1mdpkg-deb:[0m building package 'ambient-ci' in '../ambient-ci_0.3.0-1_amd64.deb'. [1;35m dpkg-genbuildinfo -O../ambient-ci_0.3.0-1_amd64.buildinfo [0m[1;35m dpkg-genchanges -O../ambient-ci_0.3.0-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 1572 -rw-r--r-- 1 root root 204380 May 16 14:05 ambient-ci-dbgsym_0.3.0-1_amd64.deb -rw-r--r-- 1 root root 1260 May 16 14:05 ambient-ci_0.3.0-1.debian.tar.xz -rw-r--r-- 1 root root 837 May 16 14:05 ambient-ci_0.3.0-1.dsc -rw-r--r-- 1 root root 5398 May 16 14:05 ambient-ci_0.3.0-1_amd64.buildinfo -rw-r--r-- 1 root root 2052 May 16 14:05 ambient-ci_0.3.0-1_amd64.changes -rw-r--r-- 1 root root 1304264 May 16 14:05 ambient-ci_0.3.0-1_amd64.deb -rw-r--r-- 1 root root 58692 May 16 14:05 ambient-ci_0.3.0.orig.tar.xz drwxr-xr-x 2 root root 4096 May 16 14:04 artifacts drwxr-xr-x 5 root root 4096 Apr 9 06:17 cache drwxr-xr-x 3 root root 4096 May 16 14:05 deps drwxr-xr-x 7 root root 4096 May 16 14:04 src + for x in ../*.deb + dpkg -c ../ambient-ci-dbgsym_0.3.0-1_amd64.deb drwxr-xr-x root/root 0 2025-04-17 10:42 ./ drwxr-xr-x root/root 0 2025-04-17 10:42 ./usr/ drwxr-xr-x root/root 0 2025-04-17 10:42 ./usr/lib/ drwxr-xr-x root/root 0 2025-04-17 10:42 ./usr/lib/debug/ drwxr-xr-x root/root 0 2025-04-17 10:42 ./usr/lib/debug/.build-id/ drwxr-xr-x root/root 0 2025-04-17 10:42 ./usr/lib/debug/.build-id/57/ -rw-r--r-- root/root 1077216 2025-04-17 10:42 ./usr/lib/debug/.build-id/57/10bb81ea324757a624ea7d02cab0ece92da0da.debug drwxr-xr-x root/root 0 2025-04-17 10:42 ./usr/lib/debug/.build-id/e4/ -rw-r--r-- root/root 232984 2025-04-17 10:42 ./usr/lib/debug/.build-id/e4/729ef70f9dba5991f45c20b72540df21e888c7.debug drwxr-xr-x root/root 0 2025-04-17 10:42 ./usr/share/ drwxr-xr-x root/root 0 2025-04-17 10:42 ./usr/share/doc/ lrwxrwxrwx root/root 0 2025-04-17 10:42 ./usr/share/doc/ambient-ci-dbgsym -> ambient-ci + for x in ../*.deb + dpkg -c ../ambient-ci_0.3.0-1_amd64.deb drwxr-xr-x root/root 0 2025-04-17 10:42 ./ drwxr-xr-x root/root 0 2025-04-17 10:42 ./bin/ -rwxr-xr-x root/root 4399832 2025-04-17 10:42 ./bin/ambient -rwxr-xr-x root/root 975448 2025-04-17 10:42 ./bin/ambient-execute-plan drwxr-xr-x root/root 0 2025-04-17 10:42 ./usr/ drwxr-xr-x root/root 0 2025-04-17 10:42 ./usr/share/ drwxr-xr-x root/root 0 2025-04-17 10:42 ./usr/share/doc/ drwxr-xr-x root/root 0 2025-04-17 10:42 ./usr/share/doc/ambient-ci/ -rw-r--r-- root/root 203 2025-04-17 10:42 ./usr/share/doc/ambient-ci/changelog.Debian.gz -rw-r--r-- root/root 340 2025-04-17 10:42 ./usr/share/doc/ambient-ci/copyright drwxr-xr-x root/root 0 2025-04-17 10:42 ./usr/share/lintian/ drwxr-xr-x root/root 0 2025-04-17 10:42 ./usr/share/lintian/overrides/ -rw-r--r-- root/root 130 2025-04-17 10:42 ./usr/share/lintian/overrides/ambient-ci + mv ../ambient-ci-dbgsym_0.3.0-1_amd64.deb ../ambient-ci_0.3.0-1.debian.tar.xz ../ambient-ci_0.3.0-1.dsc ../ambient-ci_0.3.0-1_amd64.buildinfo ../ambient-ci_0.3.0-1_amd64.changes ../ambient-ci_0.3.0-1_amd64.deb ../ambient-ci_0.3.0.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-05-16T14:06:21Z INFO ambient] ambient ends successfully