Radicle repository id rad:z3U5PDwEqz64be8vfqEyyj2rkfd1s
[2025-08-16T05:30:59Z 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: Block devices
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sr0 11:0 1 370K 0 rom
vda 254:0 0 100G 0 disk
├─vda1 254:1 0 953M 0 part
└─vda2 254:2 0 99.1G 0 part /
vdb 254:16 0 2.9M 1 disk
vdc 254:32 0 790K 1 disk
vdd 254:48 0 9.3G 0 disk
vde 254:64 0 46.6G 0 disk
vdf 254:80 0 321.7M 1 disk
INFO: Extracting tar archive from /dev/vdb
drwxr-xr-x _rad/_rad 0 2025-08-16 05:29 ./
-rw-r--r-- _rad/_rad 1602 2025-08-16 05:29 ./plan.yaml
-rwxr-xr-x _rad/_rad 3003032 2025-08-16 05:29 ./run-ci
INFO: Extracted files:
1477881 4 drwxr-xr-x 2 1001 1001 4096 Aug 16 05:29 .
1477882 4 -rw-r--r-- 1 1001 1001 1602 Aug 16 05:29 ./plan.yaml
1477883 2936 -rwxr-xr-x 1 1001 1001 3003032 Aug 16 05:29 ./run-ci
INFO: Running run-ci from /dev/vdb
================================ BEGIN ================================
[2025-08-16T05:29:45Z TRACE ambient_execute_plan] ambient-execute-plan starts
[2025-08-16T05:29:45Z DEBUG ambient_execute_plan] ambient-execute-plan starts
[2025-08-16T05:29:45Z INFO ambient_execute_plan] ambient-execute-plan starts
[2025-08-16T05:29:45Z WARN ambient_execute_plan] ambient-execute-plan starts
[2025-08-16T05:29:45Z ERROR ambient_execute_plan] 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_test
- action: shell
shell: |
subplot docgen vmadm.subplot -o /workspace/artifacts/vmadm.html
- action: shell
shell: |
export DEBEMAIL=liw@liw.fi
export DEBFULLNAME="Lars Wirzenius"
export CARGO_TARGET_DIR=/workspace/cache
export CARGO_HOME=/workspace/deps
export HOME=/root
export PATH="/root/.cargo/bin:$PATH"
cargo doc --workspace --no-deps
subplot docgen vmadm.subplot -o vmadm.html
# Clean up after tests and documentation building.
git reset --hard
git clean -fdx
git status --ignored
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 ''
- 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",
}
[2025-08-16T05:29:45Z DEBUG ambient_ci::action] Plan::execute: Mkdir {
pathname: "/workspace",
}
RUN: Action finished OK
RUN: Action Mkdir {
pathname: "/workspace/artifacts",
}
[2025-08-16T05:29:45Z DEBUG ambient_ci::action] Plan::execute: Mkdir {
pathname: "/workspace/artifacts",
}
RUN: Action finished OK
RUN: Action TarExtract {
archive: "/dev/vdc",
directory: "/workspace/src",
}
[2025-08-16T05:29:45Z DEBUG ambient_ci::action] Plan::execute: TarExtract {
archive: "/dev/vdc",
directory: "/workspace/src",
}
[2025-08-16T05:29:45Z TRACE ambient_ci::vdrive] extracting /dev/vdc to /workspace/src
[2025-08-16T05:29:45Z TRACE ambient_ci::vdrive] extraction OK
RUN: Action finished OK
RUN: Action TarExtract {
archive: "/dev/vdf",
directory: "/workspace/deps",
}
[2025-08-16T05:29:45Z DEBUG ambient_ci::action] Plan::execute: TarExtract {
archive: "/dev/vdf",
directory: "/workspace/deps",
}
[2025-08-16T05:29:45Z TRACE ambient_ci::vdrive] extracting /dev/vdf to /workspace/deps
[2025-08-16T05:29:51Z TRACE ambient_ci::vdrive] extraction OK
RUN: Action finished OK
RUN: Action TarExtract {
archive: "/dev/vde",
directory: "/workspace/cache",
}
[2025-08-16T05:29:51Z DEBUG ambient_ci::action] Plan::execute: TarExtract {
archive: "/dev/vde",
directory: "/workspace/cache",
}
[2025-08-16T05:29:51Z TRACE ambient_ci::vdrive] extracting /dev/vde to /workspace/cache
[2025-08-16T05:29:51Z TRACE ambient_ci::vdrive] extraction OK
RUN: Action finished OK
RUN: Action Spawn {
argv: [
"find",
"/workspace",
"-maxdepth",
"2",
"-ls",
],
}
[2025-08-16T05:29:51Z DEBUG ambient_ci::action] Plan::execute: Spawn {
argv: [
"find",
"/workspace",
"-maxdepth",
"2",
"-ls",
],
}
SPAWN: argv=["find", "/workspace", "-maxdepth", "2", "-ls"]
cwd=/workspace/src (exists? true)
extra_env=[]
3932161 4 drwxr-xr-x 6 root root 4096 Aug 16 05:29 /workspace
3932162 4 drwxr-xr-x 2 root root 4096 Aug 16 05:29 /workspace/artifacts
3932598 4 drwxr-xr-x 3 root root 4096 Aug 16 05:29 /workspace/deps
3932600 56 -rw-r--r-- 1 root root 57344 Aug 16 05:29 /workspace/deps/.global-cache
3932599 0 -rw-r--r-- 1 root root 0 Aug 16 05:29 /workspace/deps/.package-cache-mutate
3932601 0 -rw-r--r-- 1 root root 0 Aug 16 05:29 /workspace/deps/.package-cache
3932602 4 drwxr-xr-x 5 root root 4096 Aug 16 05:29 /workspace/deps/registry
3932163 4 drwxr-xr-x 8 root root 4096 Aug 16 05:29 /workspace/src
3932164 4 drwxr-xr-x 2 root root 4096 Aug 16 05:29 /workspace/src/.radicle
3932596 4 -rw-r--r-- 1 root root 1042 Aug 16 05:29 /workspace/src/RELEASE.md
3932597 24 -rw-r--r-- 1 root root 21367 Aug 16 05:29 /workspace/src/Cargo.lock
3932170 4 -rw-r--r-- 1 root root 3142 Aug 16 05:29 /workspace/src/cloud-init.py
3932214 16 -rw-r--r-- 1 root root 15359 Aug 16 05:29 /workspace/src/vmadm.md
3932217 4 -rw-r--r-- 1 root root 747 Aug 16 05:29 /workspace/src/Cargo.toml
3932200 4 -rw-r--r-- 1 root root 269 Aug 16 05:29 /workspace/src/vmadm.subplot
3932202 4 -rwxr-xr-x 1 root root 1516 Aug 16 05:29 /workspace/src/list_new_release_tags
3932216 4 -rw-r--r-- 1 root root 46 Aug 16 05:29 /workspace/src/.gitignore
3932166 4 drwxr-xr-x 2 root root 4096 Aug 16 05:29 /workspace/src/ssh
3932595 36 -rw-r--r-- 1 root root 35147 Aug 16 05:29 /workspace/src/COPYING
3932218 4 drwxr-xr-x 8 root root 4096 Aug 16 05:29 /workspace/src/.git
3932203 4 drwxr-xr-x 3 root root 4096 Aug 16 05:29 /workspace/src/debian
3932213 8 -rw-r--r-- 1 root root 7526 Aug 16 05:29 /workspace/src/README.md
3932172 4 drwxr-xr-x 2 root root 4096 Aug 16 05:29 /workspace/src/subplot
3932175 4 drwxr-xr-x 4 root root 4096 Aug 16 05:29 /workspace/src/src
3932201 4 -rw-r--r-- 1 root root 1897 Aug 16 05:29 /workspace/src/NEWS
3932594 4 -rwxr-xr-x 1 root root 1163 Aug 16 05:29 /workspace/src/build_release_deb.sh
3932215 4 -rw-r--r-- 1 root root 323 Aug 16 05:29 /workspace/src/build.rs
3932171 4 -rwxr-xr-x 1 root root 736 Aug 16 05:29 /workspace/src/check
3940908 4 drwxr-xr-x 2 root root 4096 Aug 16 05:29 /workspace/cache
RUN: Action finished OK
RUN: Action CargoFmt
[2025-08-16T05:29:51Z DEBUG ambient_ci::action] Plan::execute: 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
[2025-08-16T05:29:51Z DEBUG ambient_ci::action] Plan::execute: 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")]
Compiling proc-macro2 v1.0.66
Compiling unicode-ident v1.0.11
Compiling libc v0.2.147
Checking utf8parse v0.2.1
Checking anstyle-parse v0.2.1
Checking anstyle v1.0.10
Checking memchr v2.6.3
Checking colorchoice v1.0.0
Checking anstyle-query v1.0.0
Compiling serde v1.0.188
Checking regex-syntax v0.7.5
Checking aho-corasick v1.0.5
Compiling quote v1.0.33
Compiling syn v2.0.31
Compiling pkg-config v0.3.27
Compiling nix v0.18.0
Compiling rustix v0.38.11
Compiling virt-sys v0.3.0
Compiling thiserror v1.0.48
Checking anstream v0.5.0
Checking regex-automata v0.3.8
Checking ryu v1.0.15
Checking cfg-if v0.1.10
Checking equivalent v1.0.1
Checking itoa v1.0.9
Checking log v0.4.22
Compiling serde_json v1.0.105
Checking bitflags v2.4.0
Checking linux-raw-sys v0.4.5
Checking clap_lex v0.5.1
Compiling anyhow v1.0.75
Checking regex v1.9.5
Checking is_terminal_polyfill v1.70.1
Checking cfg-if v1.0.0
Checking strsim v0.10.0
Compiling heck v0.4.1
Checking hashbrown v0.14.0
Checking bitflags v1.3.2
Compiling serde_derive v1.0.188
Compiling thiserror-impl v1.0.48
Checking indexmap v2.0.0
Compiling clap_derive v4.4.2
Checking env_filter v0.1.2
Checking clap_builder v4.4.2
Checking anstream v0.6.18
Checking dirs-sys-next v0.1.2
Checking unsafe-libyaml v0.2.9
Compiling vmadm v0.4.1 (/workspace/src)
Checking humantime v2.1.0
Checking uuid v1.11.0
Checking fastrand v2.0.0
Checking env_logger v0.11.5
Checking virt v0.4.1
Checking tempfile v3.8.0
Checking directories-next v2.0.0
Checking clap v4.4.2
Checking home-dir v0.1.0
Checking shell-words v1.1.0
Checking lazy_static v1.4.0
Checking bytesize v1.3.0
Checking serde_yaml v0.9.25
Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.00s
RUN: Action finished OK
RUN: Action CargoTest
[2025-08-16T05:30:03Z DEBUG ambient_ci::action] Plan::execute: 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")]
Compiling libc v0.2.147
Compiling utf8parse v0.2.1
Compiling anstyle v1.0.10
Compiling memchr v2.6.3
Compiling anstyle-parse v0.2.1
Compiling colorchoice v1.0.0
Compiling anstyle-query v1.0.0
Compiling regex-syntax v0.7.5
Compiling serde v1.0.188
Compiling aho-corasick v1.0.5
Compiling anstream v0.5.0
Compiling clap_lex v0.5.1
Compiling log v0.4.22
Compiling equivalent v1.0.1
Compiling cfg-if v0.1.10
Compiling ryu v1.0.15
Compiling regex-automata v0.3.8
Compiling cfg-if v1.0.0
Compiling itoa v1.0.9
Compiling bitflags v2.4.0
Compiling linux-raw-sys v0.4.5
Compiling bitflags v1.3.2
Compiling is_terminal_polyfill v1.70.1
Compiling hashbrown v0.14.0
Compiling strsim v0.10.0
Compiling clap_builder v4.4.2
Compiling rustix v0.38.11
Compiling indexmap v2.0.0
Compiling anstream v0.6.18
Compiling regex v1.9.5
Compiling env_filter v0.1.2
Compiling nix v0.18.0
Compiling thiserror v1.0.48
Compiling virt-sys v0.3.0
Compiling dirs-sys-next v0.1.2
Compiling vmadm v0.4.1 (/workspace/src)
Compiling unsafe-libyaml v0.2.9
Compiling fastrand v2.0.0
Compiling humantime v2.1.0
Compiling uuid v1.11.0
Compiling virt v0.4.1
Compiling serde_yaml v0.9.25
Compiling env_logger v0.11.5
Compiling home-dir v0.1.0
Compiling tempfile v3.8.0
Compiling directories-next v2.0.0
Compiling anyhow v1.0.75
Compiling serde_json v1.0.105
Compiling clap v4.4.2
Compiling bytesize v1.3.0
Compiling lazy_static v1.4.0
Compiling shell-words v1.1.0
Finished `test` profile [unoptimized + debuginfo] target(s) in 10.39s
Running unittests src/lib.rs (/workspace/cache/debug/deps/vmadm-7a5b9033def1866d)
running 5 tests
test util::test::accepts_bridge_name ... ok
test util::test::accepts_network_name ... ok
test util::test::rejects_plain_name ... ok
test sshkeys::keypair_test::generate_key ... ok
test sshkeys::keypair_test::certify_host_key ... ok
test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
Running unittests src/bin/vmadm.rs (/workspace/cache/debug/deps/vmadm-abaafe613a2e2d03)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests vmadm
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
RUN: Action finished OK
RUN: Action Shell {
shell: "subplot docgen vmadm.subplot -o /workspace/artifacts/vmadm.html\n",
}
[2025-08-16T05:30:14Z DEBUG ambient_ci::action] Plan::execute: Shell {
shell: "subplot docgen vmadm.subplot -o /workspace/artifacts/vmadm.html\n",
}
SPAWN: argv=["/bin/bash", "-c", "set -xeuo pipefail\nsubplot docgen vmadm.subplot -o /workspace/artifacts/vmadm.html\n\n"]
cwd=/workspace/src (exists? true)
extra_env=[]
+ subplot docgen vmadm.subplot -o /workspace/artifacts/vmadm.html
[32m INFO[0m Starting Subplot
[32m INFO[0m Subplot finished successfully
RUN: Action finished OK
RUN: Action Shell {
shell: "export DEBEMAIL=liw@liw.fi\nexport DEBFULLNAME=\"Lars Wirzenius\"\nexport CARGO_TARGET_DIR=/workspace/cache\nexport CARGO_HOME=/workspace/deps\nexport HOME=/root\nexport PATH=\"/root/.cargo/bin:$PATH\"\n\ncargo doc --workspace --no-deps\n\nsubplot docgen vmadm.subplot -o vmadm.html\n\n# Clean up after tests and documentation building.\ngit reset --hard\ngit clean -fdx\ngit status --ignored\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",
}
[2025-08-16T05:30:14Z DEBUG ambient_ci::action] Plan::execute: Shell {
shell: "export DEBEMAIL=liw@liw.fi\nexport DEBFULLNAME=\"Lars Wirzenius\"\nexport CARGO_TARGET_DIR=/workspace/cache\nexport CARGO_HOME=/workspace/deps\nexport HOME=/root\nexport PATH=\"/root/.cargo/bin:$PATH\"\n\ncargo doc --workspace --no-deps\n\nsubplot docgen vmadm.subplot -o vmadm.html\n\n# Clean up after tests and documentation building.\ngit reset --hard\ngit clean -fdx\ngit status --ignored\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",
}
SPAWN: argv=["/bin/bash", "-c", "set -xeuo pipefail\nexport DEBEMAIL=liw@liw.fi\nexport DEBFULLNAME=\"Lars Wirzenius\"\nexport CARGO_TARGET_DIR=/workspace/cache\nexport CARGO_HOME=/workspace/deps\nexport HOME=/root\nexport PATH=\"/root/.cargo/bin:$PATH\"\n\ncargo doc --workspace --no-deps\n\nsubplot docgen vmadm.subplot -o vmadm.html\n\n# Clean up after tests and documentation building.\ngit reset --hard\ngit clean -fdx\ngit status --ignored\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\n"]
cwd=/workspace/src (exists? true)
extra_env=[]
+ export DEBEMAIL=liw@liw.fi
+ DEBEMAIL=liw@liw.fi
+ export 'DEBFULLNAME=Lars Wirzenius'
+ DEBFULLNAME='Lars Wirzenius'
+ export CARGO_TARGET_DIR=/workspace/cache
+ CARGO_TARGET_DIR=/workspace/cache
+ export CARGO_HOME=/workspace/deps
+ CARGO_HOME=/workspace/deps
+ export HOME=/root
+ HOME=/root
+ 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
+ cargo doc --workspace --no-deps
Documenting vmadm v0.4.1 (/workspace/src)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.71s
Generated /workspace/cache/doc/vmadm/index.html
+ subplot docgen vmadm.subplot -o vmadm.html
[32m INFO[0m Starting Subplot
[32m INFO[0m Subplot finished successfully
+ git reset --hard
HEAD is now at bf11df7 fix: inline variables into format strings
+ git clean -fdx
Removing vmadm.html
+ git status --ignored
HEAD detached at bf11df7
nothing to commit, working tree clean
++ dpkg-parsechangelog -SVersion
++ sed 's/-[^-]*$//'
+ V=0.4.0
++ date -u +%Y%m%dT%H%M%S
+ T=20250816T053015
+ version=0.4.0.ci20250816T053015-1
+ dch -v 0.4.0.ci20250816T053015-1 'CI build under Ambient.'
+ dch -r ''
RUN: Action finished OK
RUN: Action Deb
[2025-08-16T05:30:15Z DEBUG ambient_ci::action] Plan::execute: 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=289
LANG=C.UTF-8
CARGO_HOME=/workspace/deps
DEBEMAIL=liw@liw.fi
INVOCATION_ID=5c4ca541cc3e4a39a52c9d34adb3a5af
SHLVL=2
JOURNAL_STREAM=8:12703
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.89.0 (c24e10642 2025-06-23)
+ rustc --version
rustc 1.89.0 (29483883e 2025-08-04)
++ dpkg-parsechangelog -SSource
+ name=vmadm
++ dpkg-parsechangelog -SVersion
+ version=0.4.0.ci20250816T053015-1
++ sed 's/-[^-]*$//'
++ echo 0.4.0.ci20250816T053015-1
+ uv=0.4.0.ci20250816T053015
++ dpkg --print-architecture
+ arch=amd64
+ orig=../vmadm_0.4.0.ci20250816T053015.orig.tar.xz
+ deb=../vmadm_0.4.0.ci20250816T053015-1_amd64.deb
+ changes=../vmadm_0.4.0.ci20250816T053015-1_amd64.changes
+ git archive HEAD
+ xz
+ dpkg-buildpackage -us -uc
[1mdpkg-buildpackage: [0m[32minfo[0m: source package vmadm
[1mdpkg-buildpackage: [0m[32minfo[0m: source version 0.4.0.ci20250816T053015-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_clean
[1;35m dpkg-source -b .
[0m[1mdpkg-source: [0m[32minfo[0m: using source format '3.0 (quilt)'
[1mdpkg-source: [0m[32minfo[0m: building vmadm using existing ./vmadm_0.4.0.ci20250816T053015.orig.tar.xz
[1mdpkg-source: [0m[32minfo[0m: building vmadm in vmadm_0.4.0.ci20250816T053015-1.debian.tar.xz
[1mdpkg-source: [0m[32minfo[0m: building vmadm in vmadm_0.4.0.ci20250816T053015-1.dsc
[1;35m debian/rules build
[0mdh build
dh_update_autotools_config
dh_autoreconf
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 not run when building Debian package
tests not run when building Debian package
echo they need a running libvirt and system configuration
they need a running libvirt and system configuration
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 --path=. --root=debian/vmadm --offline
Installing vmadm v0.4.1 (/workspace/src)
Locking 92 packages to latest compatible versions
Compiling proc-macro2 v1.0.66
Compiling unicode-ident v1.0.11
Compiling libc v0.2.147
Compiling utf8parse v0.2.1
Compiling anstyle-parse v0.2.1
Compiling colorchoice v1.0.0
Compiling anstyle v1.0.10
Compiling anstyle-query v1.0.0
Compiling memchr v2.6.3
Compiling regex-syntax v0.7.5
Compiling quote v1.0.33
Compiling syn v2.0.31
Compiling aho-corasick v1.0.5
Compiling pkg-config v0.3.27
Compiling serde v1.0.188
Compiling virt-sys v0.3.0
Compiling rustix v0.38.11
Compiling nix v0.18.0
Compiling thiserror v1.0.48
Compiling regex-automata v0.3.8
Compiling serde_derive v1.0.188
Compiling regex v1.9.5
Compiling thiserror-impl v1.0.48
Compiling anstream v0.5.0
Compiling cfg-if v1.0.0
Compiling cfg-if v0.1.10
Compiling serde_json v1.0.105
Compiling ryu v1.0.15
Compiling heck v0.4.1
Compiling log v0.4.22
Compiling itoa v1.0.9
Compiling is_terminal_polyfill v1.70.1
Compiling hashbrown v0.14.0
Compiling anyhow v1.0.75
Compiling bitflags v2.4.0
Compiling equivalent v1.0.1
Compiling linux-raw-sys v0.4.5
Compiling bitflags v1.3.2
Compiling strsim v0.10.0
Compiling clap_lex v0.5.1
Compiling indexmap v2.0.0
Compiling clap_builder v4.4.2
Compiling anstream v0.6.18
Compiling env_filter v0.1.2
Compiling clap_derive v4.4.2
Compiling dirs-sys-next v0.1.2
Compiling uuid v1.11.0
Compiling vmadm v0.4.1 (/workspace/src)
Compiling humantime v2.1.0
Compiling fastrand v2.0.0
Compiling unsafe-libyaml v0.2.9
Compiling tempfile v3.8.0
Compiling clap v4.4.2
Compiling env_logger v0.11.5
Compiling serde_yaml v0.9.25
Compiling virt v0.4.1
Compiling directories-next v2.0.0
Compiling home-dir v0.1.0
Compiling shell-words v1.1.0
Compiling bytesize v1.3.0
Compiling lazy_static v1.4.0
Finished `release` profile [optimized] target(s) in 28.27s
Installing debian/vmadm/bin/vmadm
Installed package `vmadm v0.4.1 (/workspace/src)` (executable `vmadm`)
warning: be sure to add `debian/vmadm/bin` to your PATH to be able to run the installed binaries
find debian/vmadm -name '.crates*' -delete
make[1]: Leaving directory '/workspace/src'
dh_installdocs
dh_installchangelogs
dh_perl
dh_link
dh_strip_nondeterminism
dh_compress
dh_fixperms
dh_missing
dh_strip
dh_makeshlibs
dh_shlibdeps
dh_installdeb
dh_gencontrol
[1mdpkg-gencontrol: [0m[1;33mwarning[0m: Built-Using field of package vmadm: substitution variable ${cargo:Built-Using} used, but is not defined
[1mdpkg-gencontrol: [0m[1;33mwarning[0m: Built-Using field of package vmadm: substitution variable ${cargo:Built-Using} used, but is not defined
dh_md5sums
dh_builddeb
[1mdpkg-deb:[0m building package 'vmadm-dbgsym' in '../vmadm-dbgsym_0.4.0.ci20250816T053015-1_amd64.deb'.
[1mdpkg-deb:[0m building package 'vmadm' in '../vmadm_0.4.0.ci20250816T053015-1_amd64.deb'.
[1;35m dpkg-genbuildinfo -O../vmadm_0.4.0.ci20250816T053015-1_amd64.buildinfo
[0m[1;35m dpkg-genchanges -O../vmadm_0.4.0.ci20250816T053015-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 1128
drwxr-xr-x 2 root root 4096 Aug 16 05:30 artifacts
drwxr-xr-x 5 root root 4096 Aug 16 05:30 cache
drwxr-xr-x 3 root root 4096 Aug 16 05:29 deps
drwxr-xr-x 8 root root 4096 Aug 16 05:30 src
-rw-r--r-- 1 root root 143680 Aug 16 05:30 vmadm-dbgsym_0.4.0.ci20250816T053015-1_amd64.deb
-rw-r--r-- 1 root root 1644 Aug 16 05:30 vmadm_0.4.0.ci20250816T053015-1.debian.tar.xz
-rw-r--r-- 1 root root 956 Aug 16 05:30 vmadm_0.4.0.ci20250816T053015-1.dsc
-rw-r--r-- 1 root root 8594 Aug 16 05:30 vmadm_0.4.0.ci20250816T053015-1_amd64.buildinfo
-rw-r--r-- 1 root root 2302 Aug 16 05:30 vmadm_0.4.0.ci20250816T053015-1_amd64.changes
-rw-r--r-- 1 root root 920292 Aug 16 05:30 vmadm_0.4.0.ci20250816T053015-1_amd64.deb
-rw-r--r-- 1 root root 42036 Aug 16 05:30 vmadm_0.4.0.ci20250816T053015.orig.tar.xz
+ for x in ../*.deb
+ dpkg -c ../vmadm-dbgsym_0.4.0.ci20250816T053015-1_amd64.deb
drwxr-xr-x root/root 0 2025-08-16 05:30 ./
drwxr-xr-x root/root 0 2025-08-16 05:30 ./usr/
drwxr-xr-x root/root 0 2025-08-16 05:30 ./usr/lib/
drwxr-xr-x root/root 0 2025-08-16 05:30 ./usr/lib/debug/
drwxr-xr-x root/root 0 2025-08-16 05:30 ./usr/lib/debug/.build-id/
drwxr-xr-x root/root 0 2025-08-16 05:30 ./usr/lib/debug/.build-id/be/
-rw-r--r-- root/root 880424 2025-08-16 05:30 ./usr/lib/debug/.build-id/be/9da74a8c8657880762dbab0099c4eb2b98f83f.debug
drwxr-xr-x root/root 0 2025-08-16 05:30 ./usr/share/
drwxr-xr-x root/root 0 2025-08-16 05:30 ./usr/share/doc/
lrwxrwxrwx root/root 0 2025-08-16 05:30 ./usr/share/doc/vmadm-dbgsym -> vmadm
+ for x in ../*.deb
+ dpkg -c ../vmadm_0.4.0.ci20250816T053015-1_amd64.deb
drwxr-xr-x root/root 0 2025-08-16 05:30 ./
drwxr-xr-x root/root 0 2025-08-16 05:30 ./bin/
-rwxr-xr-x root/root 3359504 2025-08-16 05:30 ./bin/vmadm
drwxr-xr-x root/root 0 2025-08-16 05:30 ./usr/
drwxr-xr-x root/root 0 2025-08-16 05:30 ./usr/share/
drwxr-xr-x root/root 0 2025-08-16 05:30 ./usr/share/doc/
drwxr-xr-x root/root 0 2025-08-16 05:30 ./usr/share/doc/vmadm/
-rw-r--r-- root/root 341 2025-08-16 05:30 ./usr/share/doc/vmadm/changelog.Debian.gz
-rw-r--r-- root/root 957 2025-08-16 05:30 ./usr/share/doc/vmadm/copyright
+ mv ../vmadm-dbgsym_0.4.0.ci20250816T053015-1_amd64.deb ../vmadm_0.4.0.ci20250816T053015-1.debian.tar.xz ../vmadm_0.4.0.ci20250816T053015-1.dsc ../vmadm_0.4.0.ci20250816T053015-1_amd64.buildinfo ../vmadm_0.4.0.ci20250816T053015-1_amd64.changes ../vmadm_0.4.0.ci20250816T053015-1_amd64.deb ../vmadm_0.4.0.ci20250816T053015.orig.tar.xz /workspace/artifacts
RUN: Action finished OK
RUN: Action TarCreate {
archive: "/dev/vde",
directory: "/workspace/cache",
}
[2025-08-16T05:30:51Z DEBUG ambient_ci::action] Plan::execute: TarCreate {
archive: "/dev/vde",
directory: "/workspace/cache",
}
[2025-08-16T05:30:51Z TRACE ambient_ci::vdrive] creating virtual drive (tar archive): VirtualDriveBuilder {
filename: Some(
"/dev/vde",
),
root: Some(
"/workspace/cache",
),
size: None,
}
[2025-08-16T05:30:51Z TRACE ambient_ci::vdrive] tar archive to be created: /dev/vde; exists? true
[2025-08-16T05:30:51Z TRACE ambient_ci::vdrive] create archive file /dev/vde
[2025-08-16T05:30:51Z TRACE ambient_ci::vdrive] directory /workspace/cache exists? true
[2025-08-16T05:30:51Z TRACE ambient_ci::vdrive] add contents of /workspace/cache as .
[2025-08-16T05:30:52Z TRACE ambient_ci::vdrive] created virtual drive /dev/vde
RUN: Action finished OK
RUN: Action TarCreate {
archive: "/dev/vdd",
directory: "/workspace/artifacts",
}
[2025-08-16T05:30:52Z DEBUG ambient_ci::action] Plan::execute: TarCreate {
archive: "/dev/vdd",
directory: "/workspace/artifacts",
}
[2025-08-16T05:30:52Z TRACE ambient_ci::vdrive] creating virtual drive (tar archive): VirtualDriveBuilder {
filename: Some(
"/dev/vdd",
),
root: Some(
"/workspace/artifacts",
),
size: None,
}
[2025-08-16T05:30:52Z TRACE ambient_ci::vdrive] tar archive to be created: /dev/vdd; exists? true
[2025-08-16T05:30:52Z TRACE ambient_ci::vdrive] create archive file /dev/vdd
[2025-08-16T05:30:52Z TRACE ambient_ci::vdrive] directory /workspace/artifacts exists? true
[2025-08-16T05:30:52Z TRACE ambient_ci::vdrive] add contents of /workspace/artifacts as .
[2025-08-16T05:30:52Z TRACE ambient_ci::vdrive] created virtual drive /dev/vdd
RUN: Action finished OK
ambient-execute-plan ends
EXIT CODE: 0
[2025-08-16T05:30:59Z INFO ambient] ambient ends successfully
{
"request": "trigger",
"version": 1,
"event_type": "push",
"repository": {
"id": "rad:z3U5PDwEqz64be8vfqEyyj2rkfd1s",
"name": "vmadm",
"description": "Virtual machine administration tool for libvirt",
"private": false,
"default_branch": "main",
"delegates": [
"did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV"
]
},
"pusher": {
"id": "did:key:z6MkkYez6QAFWvmdudjrfMXySu1NTpSrraJotCJFwGgkmgx8",
"alias": "ci0"
},
"before": "bf11df750e73272e15932b953b4e63aa9c0216f6",
"after": "bf11df750e73272e15932b953b4e63aa9c0216f6",
"branch": "main",
"commits": [
"bf11df750e73272e15932b953b4e63aa9c0216f6"
]
}[2025-08-16T05:29:22Z INFO ambient] ambient starts
[2025-08-16T05:29:22Z DEBUG ambient] load default configuration file /home/_rad/.config/ambient/config.yaml if it exists
[2025-08-16T05:29:22Z DEBUG ambient] load files named with --config: /tmp/.tmpjvkwSB/ambient_extra_values.yaml
[2025-08-16T05:29:22Z DEBUG ambient] complete configuration: Config {
tmpdir: "/srv/tmp",
image_store: "/home/_rad/.local/state/ambient-ci/images",
projects: "/home/_rad/ambient-projects.yaml",
state: "/srv/ambient-state",
rsync_target: None,
rsync_target_base: Some(
"ci@http.liw.fi:/srv/http/doc.liw.fi",
),
rsync_target_map: None,
dput_target: Some(
"apt.liw.fi",
),
executor: Some(
"/usr/bin/ambient-execute-plan",
),
artifacts_max_size: Byte(
10000000000,
),
cache_max_size: Byte(
50000000000,
),
qemu: QemuConfig {
cpus: 4,
memory: Byte(
8000000000,
),
kvm_binary: "/usr/bin/kvm",
ovmf_vars_file: "/usr/share/ovmf/OVMF.fd",
ovmf_code_file: "/usr/share/ovmf/OVMF.fd",
},
}
[2025-08-16T05:29:22Z DEBUG ambient] configuration: Config {
tmpdir: "/srv/tmp",
image_store: "/home/_rad/.local/state/ambient-ci/images",
projects: "/home/_rad/ambient-projects.yaml",
state: "/srv/ambient-state",
rsync_target: None,
rsync_target_base: Some(
"ci@http.liw.fi:/srv/http/doc.liw.fi",
),
rsync_target_map: None,
dput_target: Some(
"apt.liw.fi",
),
executor: Some(
"/usr/bin/ambient-execute-plan",
),
artifacts_max_size: Byte(
10000000000,
),
cache_max_size: Byte(
50000000000,
),
qemu: QemuConfig {
cpus: 4,
memory: Byte(
8000000000,
),
kvm_binary: "/usr/bin/kvm",
ovmf_vars_file: "/usr/share/ovmf/OVMF.fd",
ovmf_code_file: "/usr/share/ovmf/OVMF.fd",
},
}
[2025-08-16T05:29:22Z DEBUG ambient_ci::project] load project state from /srv/ambient-state/vmadm/meta.yaml
[2025-08-16T05:29:22Z DEBUG ambient_ci::run] latest commit: "bf11df750e73272e15932b953b4e63aa9c0216f6"
[2025-08-16T05:29:22Z DEBUG ambient_ci::run] is a git repository
[2025-08-16T05:29:22Z DEBUG ambient_ci::run] git repository is clean
[2025-08-16T05:29:22Z DEBUG ambient_ci::run] current (HEAD) commit: bf11df750e73272e15932b953b4e63aa9c0216f6
[2025-08-16T05:29:22Z DEBUG ambient_ci::run] no dry run requested
[2025-08-16T05:29:22Z DEBUG ambient_ci::run] forced run requested
[2025-08-16T05:29:22Z DEBUG ambient_ci::run] run? true
[2025-08-16T05:29:22Z INFO ambient_ci::run] project vmadm: running CI
[2025-08-16T05:29:22Z DEBUG ambient_ci::run] Executing pre-plan steps
[2025-08-16T05:29:22Z DEBUG ambient_ci::action] Plan::execute: CargoFetch {
sourcedir: "/tmp/.tmpY9N4U0/src",
dependenciesdir: "/srv/ambient-state/vmadm/dependencies",
}
SPAWN: argv=["env", "CARGO_HOME=/srv/ambient-state/vmadm/dependencies", "cargo", "fetch", "--locked"]
cwd=/tmp/.tmpY9N4U0/src (exists? true)
extra_env=[]
Updating crates.io index
Downloading crates ...
Downloaded pkg-config v0.3.27
Downloaded virt-sys v0.3.0
Downloaded cfg-if v1.0.0
Downloaded errno v0.3.3
Downloaded log v0.4.22
Downloaded bitflags v2.4.0
Downloaded is_terminal_polyfill v1.70.1
Downloaded shell-words v1.1.0
Downloaded unicode-ident v1.0.11
Downloaded equivalent v1.0.1
Downloaded itoa v1.0.9
Downloaded windows-targets v0.52.6
Downloaded colorchoice v1.0.0
Downloaded redox_syscall v0.3.5
Downloaded anstyle-wincon v3.0.6
Downloaded clap_lex v0.5.1
Downloaded redox_users v0.4.3
Downloaded bytesize v1.3.0
Downloaded env_logger v0.11.5
Downloaded anstyle v1.0.10
Downloaded indexmap v2.0.0
Downloaded anstream v0.5.0
Downloaded cc v1.0.83
Downloaded anyhow v1.0.75
Downloaded unsafe-libyaml v0.2.9
Downloaded clap v4.4.2
Downloaded getrandom v0.2.10
Downloaded memchr v2.6.3
Downloaded hashbrown v0.14.0
Downloaded syn v2.0.31
Downloaded proc-macro2 v1.0.66
Downloaded serde_json v1.0.105
Downloaded aho-corasick v1.0.5
Downloaded clap_derive v4.4.2
Downloaded libc v0.2.147
Downloaded wasi v0.11.0+wasi-snapshot-preview1
Downloaded redox_syscall v0.2.16
Downloaded directories-next v2.0.0
Downloaded anstyle-parse v0.2.1
Downloaded serde v1.0.188
Downloaded ryu v1.0.15
Downloaded anstyle-wincon v2.1.0
Downloaded regex-syntax v0.7.5
Downloaded dirs-sys-next v0.1.2
Downloaded strsim v0.10.0
Downloaded heck v0.4.1
Downloaded windows_aarch64_gnullvm v0.52.6
Downloaded anstyle-query v1.0.0
Downloaded windows_x86_64_gnullvm v0.48.5
Downloaded cfg-if v0.1.10
Downloaded windows_aarch64_gnullvm v0.48.5
Downloaded windows_i686_gnullvm v0.52.6
Downloaded windows_x86_64_gnullvm v0.52.6
Downloaded utf8parse v0.2.1
Downloaded anstream v0.6.18
Downloaded env_filter v0.1.2
Downloaded humantime v2.1.0
Downloaded regex-automata v0.3.8
Downloaded serde_derive v1.0.188
Downloaded quote v1.0.33
Downloaded windows_i686_msvc v0.48.5
Downloaded bitflags v1.3.2
Downloaded windows_x86_64_gnu v0.48.5
Downloaded windows_aarch64_msvc v0.52.6
Downloaded windows_aarch64_msvc v0.48.5
Downloaded windows_x86_64_msvc v0.52.6
Downloaded windows_i686_gnu v0.52.6
Downloaded windows_i686_msvc v0.52.6
Downloaded windows_x86_64_gnu v0.52.6
Downloaded windows_i686_gnu v0.48.5
Downloaded windows_x86_64_msvc v0.48.5
Downloaded errno-dragonfly v0.1.2
Downloaded thiserror v1.0.48
Downloaded lazy_static v1.4.0
Downloaded fastrand v2.0.0
Downloaded winapi v0.3.9
Downloaded linux-raw-sys v0.4.5
Downloaded windows-targets v0.48.5
Downloaded uuid v1.11.0
Downloaded tempfile v3.8.0
Downloaded thiserror-impl v1.0.48
Downloaded windows-sys v0.59.0
Downloaded windows-sys v0.48.0
Downloaded winapi-x86_64-pc-windows-gnu v0.4.0
Downloaded winapi-i686-pc-windows-gnu v0.4.0
Downloaded home-dir v0.1.0
Downloaded serde_yaml v0.9.25
Downloaded nix v0.18.0
Downloaded rustix v0.38.11
Downloaded clap_builder v4.4.2
Downloaded regex v1.9.5
Downloaded virt v0.4.1
[2025-08-16T05:29:24Z DEBUG ambient_ci::run] create virtual drive /srv/tmp/.tmpLHoj6b/src.tar
[2025-08-16T05:29:24Z DEBUG ambient_ci::run] create virtual drive /srv/tmp/.tmpLHoj6b/deps.tar
[2025-08-16T05:29:27Z DEBUG ambient_ci::run] create_executor_vdrive: executor="/usr/bin/ambient-execute-plan"
[2025-08-16T05:29:27Z DEBUG ambient_ci::run] create_executor_vdrive: plan=RunnablePlan {
steps: [
Mkdir {
pathname: "/workspace",
},
Mkdir {
pathname: "/workspace/artifacts",
},
TarExtract {
archive: "/dev/vdc",
directory: "/workspace/src",
},
TarExtract {
archive: "/dev/vdf",
directory: "/workspace/deps",
},
TarExtract {
archive: "/dev/vde",
directory: "/workspace/cache",
},
Spawn {
argv: [
"find",
"/workspace",
"-maxdepth",
"2",
"-ls",
],
},
CargoFmt,
CargoClippy,
CargoTest,
Shell {
shell: "subplot docgen vmadm.subplot -o /workspace/artifacts/vmadm.html\n",
},
Shell {
shell: "export DEBEMAIL=liw@liw.fi\nexport DEBFULLNAME=\"Lars Wirzenius\"\nexport CARGO_TARGET_DIR=/workspace/cache\nexport CARGO_HOME=/workspace/deps\nexport HOME=/root\nexport PATH=\"/root/.cargo/bin:$PATH\"\n\ncargo doc --workspace --no-deps\n\nsubplot docgen vmadm.subplot -o vmadm.html\n\n# Clean up after tests and documentation building.\ngit reset --hard\ngit clean -fdx\ngit status --ignored\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",
},
Deb,
TarCreate {
archive: "/dev/vde",
directory: "/workspace/cache",
},
TarCreate {
archive: "/dev/vdd",
directory: "/workspace/artifacts",
},
],
executor_drive: Some(
"/dev/vdb",
),
source_drive: Some(
"/dev/vdc",
),
artifact_drive: Some(
"/dev/vdd",
),
cache_drive: Some(
"/dev/vde",
),
deps_drive: Some(
"/dev/vdf",
),
workspace_dir: Some(
"/workspace",
),
source_dir: Some(
"/workspace/src",
),
deps_dir: Some(
"/workspace/deps",
),
cache_dir: Some(
"/workspace/cache",
),
artifacts_dir: Some(
"/workspace/artifacts",
),
}
[2025-08-16T05:29:27Z DEBUG ambient_ci::run] executor bin /usr/bin/ambient-execute-plan
[2025-08-16T05:29:27Z DEBUG ambient_ci::run] copying /usr/bin/ambient-execute-plan to /srv/tmp/.tmpLHoj6b/ambient-execute-plan/run-ci
[2025-08-16T05:29:27Z DEBUG ambient_ci::run] copy OK: true
[2025-08-16T05:29:27Z DEBUG ambient_ci::run] create virtual drive /srv/tmp/.tmpLHoj6b/executor.tar
[2025-08-16T05:29:27Z DEBUG ambient_ci::project] removing run log file /srv/ambient-state/vmadm/run.log
[2025-08-16T05:29:27Z DEBUG ambient_ci::project] statedir is /srv/ambient-state/vmadm, exists? true
[2025-08-16T05:29:27Z DEBUG ambient_ci::project] creating run log file /srv/ambient-state/vmadm/run.log
[2025-08-16T05:29:27Z DEBUG ambient_ci::project] created run log file /srv/ambient-state/vmadm/run.log OK
[2025-08-16T05:29:27Z DEBUG ambient_ci::cloud_init] with_hostname called: "ambient"
[2025-08-16T05:29:27Z DEBUG ambient_ci::cloud_init] with_runcmd called: "echo xyzzy > /dev/ttyS1"
[2025-08-16T05:29:27Z DEBUG ambient_ci::cloud_init] with_runcmd called: "\n(set -xeu\nenv\ndir=\"$(mktemp -d)\"\ncd \"$dir\"\ntar -xvf /dev/vdb\nfind -ls || true\nldd ./run-ci || true\necho ================================ BEGIN ================================\nexport RUST_BACKTRACE=1\nif ./run-ci; then\n echo \"EXIT CODE: 0\"\nelse\n echo \"EXIT CODE: $?\"\nfi) > /dev/ttyS1 2>&1\n"
[2025-08-16T05:29:27Z DEBUG ambient_ci::cloud_init] with_runcmd called: "poweroff"
[2025-08-16T05:29:27Z DEBUG ambient_ci::cloud_init] LocalDataStoreBuilder: LocalDataStoreBuilder {
hostname: Some(
"ambient",
),
network: false,
bootcmd: [],
runcmd: [
"echo xyzzy > /dev/ttyS1",
"\n(set -xeu\nenv\ndir=\"$(mktemp -d)\"\ncd \"$dir\"\ntar -xvf /dev/vdb\nfind -ls || true\nldd ./run-ci || true\necho ================================ BEGIN ================================\nexport RUST_BACKTRACE=1\nif ./run-ci; then\n echo \"EXIT CODE: 0\"\nelse\n echo \"EXIT CODE: $?\"\nfi) > /dev/ttyS1 2>&1\n",
"poweroff",
],
}
[2025-08-16T05:29:27Z DEBUG ambient_ci::qemu] run QEMU
[2025-08-16T05:29:27Z DEBUG ambient_ci::qemu] create copy-on-write image and UEFI vars file
[2025-08-16T05:29:27Z DEBUG ambient_ci::qemu_utils] qemu-img create /srv/tmp/.tmpYxheXR/.tmpIRBI65/vm.qcow2 backing on /home/_rad/ambient.qcow2
[2025-08-16T05:29:27Z DEBUG ambient_ci::qemu] create cloud-init ISO file
[2025-08-16T05:29:27Z DEBUG ambient_ci::cloud_init] LocalDataStore: LocalDataStore {
hostname: "ambient",
network: false,
bootcmd: [],
runcmd: [
"echo xyzzy > /dev/ttyS1",
"\n(set -xeu\nenv\ndir=\"$(mktemp -d)\"\ncd \"$dir\"\ntar -xvf /dev/vdb\nfind -ls || true\nldd ./run-ci || true\necho ================================ BEGIN ================================\nexport RUST_BACKTRACE=1\nif ./run-ci; then\n echo \"EXIT CODE: 0\"\nelse\n echo \"EXIT CODE: $?\"\nfi) > /dev/ttyS1 2>&1\n",
"poweroff",
],
}
[2025-08-16T05:29:27Z DEBUG ambient_ci::cloud_init] write /tmp/.tmpEOL10Q/meta-data
[2025-08-16T05:29:27Z DEBUG ambient_ci::cloud_init] write /tmp/.tmpEOL10Q/user-data
[2025-08-16T05:29:28Z DEBUG ambient_ci::qemu] set console log file to /srv/tmp/.tmpYxheXR/.tmpIRBI65/console.log
[2025-08-16T05:29:28Z DEBUG ambient_ci::util] create file /srv/tmp/.tmpYxheXR/.tmpIRBI65/console.log
[2025-08-16T05:29:28Z DEBUG ambient_ci::qemu] set run file to /srv/ambient-state/vmadm/run.log
[2025-08-16T05:29:28Z DEBUG ambient_ci::util] create file /srv/ambient-state/vmadm/run.log
[2025-08-16T05:29:28Z DEBUG ambient_ci::qemu] run QEMU: QemuArgs {
args: [
"-m",
"7629",
"-smp",
"cpus=4",
"-cpu",
"kvm64",
"-machine",
"type=q35,accel=kvm,usb=off",
"-uuid",
"a85c9de7-edc0-4e54-bead-112e5733582c",
"-boot",
"strict=on",
"-name",
"ambient-ci-vm",
"-rtc",
"base=utc,driftfix=slew",
"-display",
"none",
"-device",
"virtio-rng-pci",
"-serial",
"file:/srv/tmp/.tmpYxheXR/.tmpIRBI65/console.log",
"-serial",
"file:/srv/ambient-state/vmadm/run.log",
"-drive",
"if=pflash,format=raw,unit=0,file=/usr/share/ovmf/OVMF.fd,readonly=on",
"-drive",
"if=pflash,format=raw,unit=1,file=/srv/tmp/.tmpYxheXR/.tmpIRBI65/vars.fd",
"-drive",
"format=qcow2,if=virtio,file=/srv/tmp/.tmpYxheXR/.tmpIRBI65/vm.qcow2",
"-drive",
"format=raw,if=virtio,file=/srv/tmp/.tmpLHoj6b/executor.tar,readonly=on",
"-cdrom",
"/srv/tmp/.tmpYxheXR/.tmpIRBI65/cloud_init.iso",
"-drive",
"format=raw,if=virtio,file=/srv/tmp/.tmpLHoj6b/src.tar,readonly=on",
"-drive",
"format=raw,if=virtio,file=/srv/tmp/.tmpLHoj6b/artifacts.tar",
"-drive",
"format=raw,if=virtio,file=/srv/tmp/.tmpLHoj6b/cache.tar",
"-drive",
"format=raw,if=virtio,file=/srv/tmp/.tmpLHoj6b/deps.tar,readonly=on",
"-nodefaults",
"-no-user-config",
],
}
[2025-08-16T05:30:57Z DEBUG ambient_ci::qemu] QEMU finished OK
[2025-08-16T05:30:57Z DEBUG ambient_ci::qemu] run log:
--------------------==========
[2025-08-16T05:29:45Z TRACE ambient_execute_plan] ambient-execute-plan starts
[2025-08-16T05:29:45Z DEBUG ambient_execute_plan] ambient-execute-plan starts
[2025-08-16T05:29:45Z INFO ambient_execute_plan] ambient-execute-plan starts
[2025-08-16T05:29:45Z WARN ambient_execute_plan] ambient-execute-plan starts
[2025-08-16T05:29:45Z ERROR ambient_execute_plan] 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_test
- action: shell
shell: |
subplot docgen vmadm.subplot -o /workspace/artifacts/vmadm.html
- action: shell
shell: |
export DEBEMAIL=liw@liw.fi
export DEBFULLNAME="Lars Wirzenius"
export CARGO_TARGET_DIR=/workspace/cache
export CARGO_HOME=/workspace/deps
export HOME=/root
export PATH="/root/.cargo/bin:$PATH"
cargo doc --workspace --no-deps
subplot docgen vmadm.subplot -o vmadm.html
# Clean up after tests and documentation building.
git reset --hard
git clean -fdx
git status --ignored
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 ''
- 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",
}
[2025-08-16T05:29:45Z DEBUG ambient_ci::action] Plan::execute: Mkdir {
pathname: "/workspace",
}
RUN: Action finished OK
RUN: Action Mkdir {
pathname: "/workspace/artifacts",
}
[2025-08-16T05:29:45Z DEBUG ambient_ci::action] Plan::execute: Mkdir {
pathname: "/workspace/artifacts",
}
RUN: Action finished OK
RUN: Action TarExtract {
archive: "/dev/vdc",
directory: "/workspace/src",
}
[2025-08-16T05:29:45Z DEBUG ambient_ci::action] Plan::execute: TarExtract {
archive: "/dev/vdc",
directory: "/workspace/src",
}
[2025-08-16T05:29:45Z TRACE ambient_ci::vdrive] extracting /dev/vdc to /workspace/src
[2025-08-16T05:29:45Z TRACE ambient_ci::vdrive] extraction OK
RUN: Action finished OK
RUN: Action TarExtract {
archive: "/dev/vdf",
directory: "/workspace/deps",
}
[2025-08-16T05:29:45Z DEBUG ambient_ci::action] Plan::execute: TarExtract {
archive: "/dev/vdf",
directory: "/workspace/deps",
}
[2025-08-16T05:29:45Z TRACE ambient_ci::vdrive] extracting /dev/vdf to /workspace/deps
[2025-08-16T05:29:51Z TRACE ambient_ci::vdrive] extraction OK
RUN: Action finished OK
RUN: Action TarExtract {
archive: "/dev/vde",
directory: "/workspace/cache",
}
[2025-08-16T05:29:51Z DEBUG ambient_ci::action] Plan::execute: TarExtract {
archive: "/dev/vde",
directory: "/workspace/cache",
}
[2025-08-16T05:29:51Z TRACE ambient_ci::vdrive] extracting /dev/vde to /workspace/cache
[2025-08-16T05:29:51Z TRACE ambient_ci::vdrive] extraction OK
RUN: Action finished OK
RUN: Action Spawn {
argv: [
"find",
"/workspace",
"-maxdepth",
"2",
"-ls",
],
}
[2025-08-16T05:29:51Z DEBUG ambient_ci::action] Plan::execute: Spawn {
argv: [
"find",
"/workspace",
"-maxdepth",
"2",
"-ls",
],
}
SPAWN: argv=["find", "/workspace", "-maxdepth", "2", "-ls"]
cwd=/workspace/src (exists? true)
extra_env=[]
3932161 4 drwxr-xr-x 6 root root 4096 Aug 16 05:29 /workspace
3932162 4 drwxr-xr-x 2 root root 4096 Aug 16 05:29 /workspace/artifacts
3932598 4 drwxr-xr-x 3 root root 4096 Aug 16 05:29 /workspace/deps
3932600 56 -rw-r--r-- 1 root root 57344 Aug 16 05:29 /workspace/deps/.global-cache
3932599 0 -rw-r--r-- 1 root root 0 Aug 16 05:29 /workspace/deps/.package-cache-mutate
3932601 0 -rw-r--r-- 1 root root 0 Aug 16 05:29 /workspace/deps/.package-cache
3932602 4 drwxr-xr-x 5 root root 4096 Aug 16 05:29 /workspace/deps/registry
3932163 4 drwxr-xr-x 8 root root 4096 Aug 16 05:29 /workspace/src
3932164 4 drwxr-xr-x 2 root root 4096 Aug 16 05:29 /workspace/src/.radicle
3932596 4 -rw-r--r-- 1 root root 1042 Aug 16 05:29 /workspace/src/RELEASE.md
3932597 24 -rw-r--r-- 1 root root 21367 Aug 16 05:29 /workspace/src/Cargo.lock
3932170 4 -rw-r--r-- 1 root root 3142 Aug 16 05:29 /workspace/src/cloud-init.py
3932214 16 -rw-r--r-- 1 root root 15359 Aug 16 05:29 /workspace/src/vmadm.md
3932217 4 -rw-r--r-- 1 root root 747 Aug 16 05:29 /workspace/src/Cargo.toml
3932200 4 -rw-r--r-- 1 root root 269 Aug 16 05:29 /workspace/src/vmadm.subplot
3932202 4 -rwxr-xr-x 1 root root 1516 Aug 16 05:29 /workspace/src/list_new_release_tags
3932216 4 -rw-r--r-- 1 root root 46 Aug 16 05:29 /workspace/src/.gitignore
3932166 4 drwxr-xr-x 2 root root 4096 Aug 16 05:29 /workspace/src/ssh
3932595 36 -rw-r--r-- 1 root root 35147 Aug 16 05:29 /workspace/src/COPYING
3932218 4 drwxr-xr-x 8 root root 4096 Aug 16 05:29 /workspace/src/.git
3932203 4 drwxr-xr-x 3 root root 4096 Aug 16 05:29 /workspace/src/debian
3932213 8 -rw-r--r-- 1 root root 7526 Aug 16 05:29 /workspace/src/README.md
3932172 4 drwxr-xr-x 2 root root 4096 Aug 16 05:29 /workspace/src/subplot
3932175 4 drwxr-xr-x 4 root root 4096 Aug 16 05:29 /workspace/src/src
3932201 4 -rw-r--r-- 1 root root 1897 Aug 16 05:29 /workspace/src/NEWS
3932594 4 -rwxr-xr-x 1 root root 1163 Aug 16 05:29 /workspace/src/build_release_deb.sh
3932215 4 -rw-r--r-- 1 root root 323 Aug 16 05:29 /workspace/src/build.rs
3932171 4 -rwxr-xr-x 1 root root 736 Aug 16 05:29 /workspace/src/check
3940908 4 drwxr-xr-x 2 root root 4096 Aug 16 05:29 /workspace/cache
RUN: Action finished OK
RUN: Action CargoFmt
[2025-08-16T05:29:51Z DEBUG ambient_ci::action] Plan::execute: 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
[2025-08-16T05:29:51Z DEBUG ambient_ci::action] Plan::execute: 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")]
Compiling proc-macro2 v1.0.66
Compiling unicode-ident v1.0.11
Compiling libc v0.2.147
Checking utf8parse v0.2.1
Checking anstyle-parse v0.2.1
Checking anstyle v1.0.10
Checking memchr v2.6.3
Checking colorchoice v1.0.0
Checking anstyle-query v1.0.0
Compiling serde v1.0.188
Checking regex-syntax v0.7.5
Checking aho-corasick v1.0.5
Compiling quote v1.0.33
Compiling syn v2.0.31
Compiling pkg-config v0.3.27
Compiling nix v0.18.0
Compiling rustix v0.38.11
Compiling virt-sys v0.3.0
Compiling thiserror v1.0.48
Checking anstream v0.5.0
Checking regex-automata v0.3.8
Checking ryu v1.0.15
Checking cfg-if v0.1.10
Checking equivalent v1.0.1
Checking itoa v1.0.9
Checking log v0.4.22
Compiling serde_json v1.0.105
Checking bitflags v2.4.0
Checking linux-raw-sys v0.4.5
Checking clap_lex v0.5.1
Compiling anyhow v1.0.75
Checking regex v1.9.5
Checking is_terminal_polyfill v1.70.1
Checking cfg-if v1.0.0
Checking strsim v0.10.0
Compiling heck v0.4.1
Checking hashbrown v0.14.0
Checking bitflags v1.3.2
Compiling serde_derive v1.0.188
Compiling thiserror-impl v1.0.48
Checking indexmap v2.0.0
Compiling clap_derive v4.4.2
Checking env_filter v0.1.2
Checking clap_builder v4.4.2
Checking anstream v0.6.18
Checking dirs-sys-next v0.1.2
Checking unsafe-libyaml v0.2.9
Compiling vmadm v0.4.1 (/workspace/src)
Checking humantime v2.1.0
Checking uuid v1.11.0
Checking fastrand v2.0.0
Checking env_logger v0.11.5
Checking virt v0.4.1
Checking tempfile v3.8.0
Checking directories-next v2.0.0
Checking clap v4.4.2
Checking home-dir v0.1.0
Checking shell-words v1.1.0
Checking lazy_static v1.4.0
Checking bytesize v1.3.0
Checking serde_yaml v0.9.25
Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.00s
RUN: Action finished OK
RUN: Action CargoTest
[2025-08-16T05:30:03Z DEBUG ambient_ci::action] Plan::execute: 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")]
Compiling libc v0.2.147
Compiling utf8parse v0.2.1
Compiling anstyle v1.0.10
Compiling memchr v2.6.3
Compiling anstyle-parse v0.2.1
Compiling colorchoice v1.0.0
Compiling anstyle-query v1.0.0
Compiling regex-syntax v0.7.5
Compiling serde v1.0.188
Compiling aho-corasick v1.0.5
Compiling anstream v0.5.0
Compiling clap_lex v0.5.1
Compiling log v0.4.22
Compiling equivalent v1.0.1
Compiling cfg-if v0.1.10
Compiling ryu v1.0.15
Compiling regex-automata v0.3.8
Compiling cfg-if v1.0.0
Compiling itoa v1.0.9
Compiling bitflags v2.4.0
Compiling linux-raw-sys v0.4.5
Compiling bitflags v1.3.2
Compiling is_terminal_polyfill v1.70.1
Compiling hashbrown v0.14.0
Compiling strsim v0.10.0
Compiling clap_builder v4.4.2
Compiling rustix v0.38.11
Compiling indexmap v2.0.0
Compiling anstream v0.6.18
Compiling regex v1.9.5
Compiling env_filter v0.1.2
Compiling nix v0.18.0
Compiling thiserror v1.0.48
Compiling virt-sys v0.3.0
Compiling dirs-sys-next v0.1.2
Compiling vmadm v0.4.1 (/workspace/src)
Compiling unsafe-libyaml v0.2.9
Compiling fastrand v2.0.0
Compiling humantime v2.1.0
Compiling uuid v1.11.0
Compiling virt v0.4.1
Compiling serde_yaml v0.9.25
Compiling env_logger v0.11.5
Compiling home-dir v0.1.0
Compiling tempfile v3.8.0
Compiling directories-next v2.0.0
Compiling anyhow v1.0.75
Compiling serde_json v1.0.105
Compiling clap v4.4.2
Compiling bytesize v1.3.0
Compiling lazy_static v1.4.0
Compiling shell-words v1.1.0
Finished `test` profile [unoptimized + debuginfo] target(s) in 10.39s
Running unittests src/lib.rs (/workspace/cache/debug/deps/vmadm-7a5b9033def1866d)
running 5 tests
test util::test::accepts_bridge_name ... ok
test util::test::accepts_network_name ... ok
test util::test::rejects_plain_name ... ok
test sshkeys::keypair_test::generate_key ... ok
test sshkeys::keypair_test::certify_host_key ... ok
test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
Running unittests src/bin/vmadm.rs (/workspace/cache/debug/deps/vmadm-abaafe613a2e2d03)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests vmadm
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
RUN: Action finished OK
RUN: Action Shell {
shell: "subplot docgen vmadm.subplot -o /workspace/artifacts/vmadm.html\n",
}
[2025-08-16T05:30:14Z DEBUG ambient_ci::action] Plan::execute: Shell {
shell: "subplot docgen vmadm.subplot -o /workspace/artifacts/vmadm.html\n",
}
SPAWN: argv=["/bin/bash", "-c", "set -xeuo pipefail\nsubplot docgen vmadm.subplot -o /workspace/artifacts/vmadm.html\n\n"]
cwd=/workspace/src (exists? true)
extra_env=[]
+ subplot docgen vmadm.subplot -o /workspace/artifacts/vmadm.html
INFO Starting Subplot
INFO Subplot finished successfully
RUN: Action finished OK
RUN: Action Shell {
shell: "export DEBEMAIL=liw@liw.fi\nexport DEBFULLNAME=\"Lars Wirzenius\"\nexport CARGO_TARGET_DIR=/workspace/cache\nexport CARGO_HOME=/workspace/deps\nexport HOME=/root\nexport PATH=\"/root/.cargo/bin:$PATH\"\n\ncargo doc --workspace --no-deps\n\nsubplot docgen vmadm.subplot -o vmadm.html\n\n# Clean up after tests and documentation building.\ngit reset --hard\ngit clean -fdx\ngit status --ignored\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",
}
[2025-08-16T05:30:14Z DEBUG ambient_ci::action] Plan::execute: Shell {
shell: "export DEBEMAIL=liw@liw.fi\nexport DEBFULLNAME=\"Lars Wirzenius\"\nexport CARGO_TARGET_DIR=/workspace/cache\nexport CARGO_HOME=/workspace/deps\nexport HOME=/root\nexport PATH=\"/root/.cargo/bin:$PATH\"\n\ncargo doc --workspace --no-deps\n\nsubplot docgen vmadm.subplot -o vmadm.html\n\n# Clean up after tests and documentation building.\ngit reset --hard\ngit clean -fdx\ngit status --ignored\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",
}
SPAWN: argv=["/bin/bash", "-c", "set -xeuo pipefail\nexport DEBEMAIL=liw@liw.fi\nexport DEBFULLNAME=\"Lars Wirzenius\"\nexport CARGO_TARGET_DIR=/workspace/cache\nexport CARGO_HOME=/workspace/deps\nexport HOME=/root\nexport PATH=\"/root/.cargo/bin:$PATH\"\n\ncargo doc --workspace --no-deps\n\nsubplot docgen vmadm.subplot -o vmadm.html\n\n# Clean up after tests and documentation building.\ngit reset --hard\ngit clean -fdx\ngit status --ignored\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\n"]
cwd=/workspace/src (exists? true)
extra_env=[]
+ export DEBEMAIL=liw@liw.fi
+ DEBEMAIL=liw@liw.fi
+ export 'DEBFULLNAME=Lars Wirzenius'
+ DEBFULLNAME='Lars Wirzenius'
+ export CARGO_TARGET_DIR=/workspace/cache
+ CARGO_TARGET_DIR=/workspace/cache
+ export CARGO_HOME=/workspace/deps
+ CARGO_HOME=/workspace/deps
+ export HOME=/root
+ HOME=/root
+ 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
+ cargo doc --workspace --no-deps
Documenting vmadm v0.4.1 (/workspace/src)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.71s
Generated /workspace/cache/doc/vmadm/index.html
+ subplot docgen vmadm.subplot -o vmadm.html
INFO Starting Subplot
INFO Subplot finished successfully
+ git reset --hard
HEAD is now at bf11df7 fix: inline variables into format strings
+ git clean -fdx
Removing vmadm.html
+ git status --ignored
HEAD detached at bf11df7
nothing to commit, working tree clean
++ dpkg-parsechangelog -SVersion
++ sed 's/-[^-]*$//'
+ V=0.4.0
++ date -u +%Y%m%dT%H%M%S
+ T=20250816T053015
+ version=0.4.0.ci20250816T053015-1
+ dch -v 0.4.0.ci20250816T053015-1 'CI build under Ambient.'
+ dch -r ''
RUN: Action finished OK
RUN: Action Deb
[2025-08-16T05:30:15Z DEBUG ambient_ci::action] Plan::execute: 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=289
LANG=C.UTF-8
CARGO_HOME=/workspace/deps
DEBEMAIL=liw@liw.fi
INVOCATION_ID=5c4ca541cc3e4a39a52c9d34adb3a5af
SHLVL=2
JOURNAL_STREAM=8:12703
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.89.0 (c24e10642 2025-06-23)
+ rustc --version
rustc 1.89.0 (29483883e 2025-08-04)
++ dpkg-parsechangelog -SSource
+ name=vmadm
++ dpkg-parsechangelog -SVersion
+ version=0.4.0.ci20250816T053015-1
++ sed 's/-[^-]*$//'
++ echo 0.4.0.ci20250816T053015-1
+ uv=0.4.0.ci20250816T053015
++ dpkg --print-architecture
+ arch=amd64
+ orig=../vmadm_0.4.0.ci20250816T053015.orig.tar.xz
+ deb=../vmadm_0.4.0.ci20250816T053015-1_amd64.deb
+ changes=../vmadm_0.4.0.ci20250816T053015-1_amd64.changes
+ git archive HEAD
+ xz
+ dpkg-buildpackage -us -uc
dpkg-buildpackage: info: source package vmadm
dpkg-buildpackage: info: source version 0.4.0.ci20250816T053015-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Lars Wirzenius <liw@liw.fi>
dpkg-buildpackage: info: host architecture amd64
dpkg-source --before-build .
debian/rules clean
dh clean
dh_clean
dpkg-source -b .
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building vmadm using existing ./vmadm_0.4.0.ci20250816T053015.orig.tar.xz
dpkg-source: info: building vmadm in vmadm_0.4.0.ci20250816T053015-1.debian.tar.xz
dpkg-source: info: building vmadm in vmadm_0.4.0.ci20250816T053015-1.dsc
debian/rules build
dh build
dh_update_autotools_config
dh_autoreconf
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 not run when building Debian package
tests not run when building Debian package
echo they need a running libvirt and system configuration
they need a running libvirt and system configuration
make[1]: Leaving directory '/workspace/src'
create-stamp debian/debhelper-build-stamp
debian/rules binary
dh binary
dh_testroot
dh_prep
debian/rules override_dh_auto_install
make[1]: Entering directory '/workspace/src'
cargo install --path=. --root=debian/vmadm --offline
Installing vmadm v0.4.1 (/workspace/src)
Locking 92 packages to latest compatible versions
Compiling proc-macro2 v1.0.66
Compiling unicode-ident v1.0.11
Compiling libc v0.2.147
Compiling utf8parse v0.2.1
Compiling anstyle-parse v0.2.1
Compiling colorchoice v1.0.0
Compiling anstyle v1.0.10
Compiling anstyle-query v1.0.0
Compiling memchr v2.6.3
Compiling regex-syntax v0.7.5
Compiling quote v1.0.33
Compiling syn v2.0.31
Compiling aho-corasick v1.0.5
Compiling pkg-config v0.3.27
Compiling serde v1.0.188
Compiling virt-sys v0.3.0
Compiling rustix v0.38.11
Compiling nix v0.18.0
Compiling thiserror v1.0.48
Compiling regex-automata v0.3.8
Compiling serde_derive v1.0.188
Compiling regex v1.9.5
Compiling thiserror-impl v1.0.48
Compiling anstream v0.5.0
Compiling cfg-if v1.0.0
Compiling cfg-if v0.1.10
Compiling serde_json v1.0.105
Compiling ryu v1.0.15
Compiling heck v0.4.1
Compiling log v0.4.22
Compiling itoa v1.0.9
Compiling is_terminal_polyfill v1.70.1
Compiling hashbrown v0.14.0
Compiling anyhow v1.0.75
Compiling bitflags v2.4.0
Compiling equivalent v1.0.1
Compiling linux-raw-sys v0.4.5
Compiling bitflags v1.3.2
Compiling strsim v0.10.0
Compiling clap_lex v0.5.1
Compiling indexmap v2.0.0
Compiling clap_builder v4.4.2
Compiling anstream v0.6.18
Compiling env_filter v0.1.2
Compiling clap_derive v4.4.2
Compiling dirs-sys-next v0.1.2
Compiling uuid v1.11.0
Compiling vmadm v0.4.1 (/workspace/src)
Compiling humantime v2.1.0
Compiling fastrand v2.0.0
Compiling unsafe-libyaml v0.2.9
Compiling tempfile v3.8.0
Compiling clap v4.4.2
Compiling env_logger v0.11.5
Compiling serde_yaml v0.9.25
Compiling virt v0.4.1
Compiling directories-next v2.0.0
Compiling home-dir v0.1.0
Compiling shell-words v1.1.0
Compiling bytesize v1.3.0
Compiling lazy_static v1.4.0
Finished `release` profile [optimized] target(s) in 28.27s
Installing debian/vmadm/bin/vmadm
Installed package `vmadm v0.4.1 (/workspace/src)` (executable `vmadm`)
warning: be sure to add `debian/vmadm/bin` to your PATH to be able to run the installed binaries
find debian/vmadm -name '.crates*' -delete
make[1]: Leaving directory '/workspace/src'
dh_installdocs
dh_installchangelogs
dh_perl
dh_link
dh_strip_nondeterminism
dh_compress
dh_fixperms
dh_missing
dh_strip
dh_makeshlibs
dh_shlibdeps
dh_installdeb
dh_gencontrol
dpkg-gencontrol: warning: Built-Using field of package vmadm: substitution variable ${cargo:Built-Using} used, but is not defined
dpkg-gencontrol: warning: Built-Using field of package vmadm: substitution variable ${cargo:Built-Using} used, but is not defined
dh_md5sums
dh_builddeb
dpkg-deb: building package 'vmadm-dbgsym' in '../vmadm-dbgsym_0.4.0.ci20250816T053015-1_amd64.deb'.
dpkg-deb: building package 'vmadm' in '../vmadm_0.4.0.ci20250816T053015-1_amd64.deb'.
dpkg-genbuildinfo -O../vmadm_0.4.0.ci20250816T053015-1_amd64.buildinfo
dpkg-genchanges -O../vmadm_0.4.0.ci20250816T053015-1_amd64.changes
dpkg-genchanges: info: including full source code in upload
dpkg-source --after-build .
dpkg-buildpackage: info: full upload (original source is included)
+ ls -l ..
total 1128
drwxr-xr-x 2 root root 4096 Aug 16 05:30 artifacts
drwxr-xr-x 5 root root 4096 Aug 16 05:30 cache
drwxr-xr-x 3 root root 4096 Aug 16 05:29 deps
drwxr-xr-x 8 root root 4096 Aug 16 05:30 src
-rw-r--r-- 1 root root 143680 Aug 16 05:30 vmadm-dbgsym_0.4.0.ci20250816T053015-1_amd64.deb
-rw-r--r-- 1 root root 1644 Aug 16 05:30 vmadm_0.4.0.ci20250816T053015-1.debian.tar.xz
-rw-r--r-- 1 root root 956 Aug 16 05:30 vmadm_0.4.0.ci20250816T053015-1.dsc
-rw-r--r-- 1 root root 8594 Aug 16 05:30 vmadm_0.4.0.ci20250816T053015-1_amd64.buildinfo
-rw-r--r-- 1 root root 2302 Aug 16 05:30 vmadm_0.4.0.ci20250816T053015-1_amd64.changes
-rw-r--r-- 1 root root 920292 Aug 16 05:30 vmadm_0.4.0.ci20250816T053015-1_amd64.deb
-rw-r--r-- 1 root root 42036 Aug 16 05:30 vmadm_0.4.0.ci20250816T053015.orig.tar.xz
+ for x in ../*.deb
+ dpkg -c ../vmadm-dbgsym_0.4.0.ci20250816T053015-1_amd64.deb
drwxr-xr-x root/root 0 2025-08-16 05:30 ./
drwxr-xr-x root/root 0 2025-08-16 05:30 ./usr/
drwxr-xr-x root/root 0 2025-08-16 05:30 ./usr/lib/
drwxr-xr-x root/root 0 2025-08-16 05:30 ./usr/lib/debug/
drwxr-xr-x root/root 0 2025-08-16 05:30 ./usr/lib/debug/.build-id/
drwxr-xr-x root/root 0 2025-08-16 05:30 ./usr/lib/debug/.build-id/be/
-rw-r--r-- root/root 880424 2025-08-16 05:30 ./usr/lib/debug/.build-id/be/9da74a8c8657880762dbab0099c4eb2b98f83f.debug
drwxr-xr-x root/root 0 2025-08-16 05:30 ./usr/share/
drwxr-xr-x root/root 0 2025-08-16 05:30 ./usr/share/doc/
lrwxrwxrwx root/root 0 2025-08-16 05:30 ./usr/share/doc/vmadm-dbgsym -> vmadm
+ for x in ../*.deb
+ dpkg -c ../vmadm_0.4.0.ci20250816T053015-1_amd64.deb
drwxr-xr-x root/root 0 2025-08-16 05:30 ./
drwxr-xr-x root/root 0 2025-08-16 05:30 ./bin/
-rwxr-xr-x root/root 3359504 2025-08-16 05:30 ./bin/vmadm
drwxr-xr-x root/root 0 2025-08-16 05:30 ./usr/
drwxr-xr-x root/root 0 2025-08-16 05:30 ./usr/share/
drwxr-xr-x root/root 0 2025-08-16 05:30 ./usr/share/doc/
drwxr-xr-x root/root 0 2025-08-16 05:30 ./usr/share/doc/vmadm/
-rw-r--r-- root/root 341 2025-08-16 05:30 ./usr/share/doc/vmadm/changelog.Debian.gz
-rw-r--r-- root/root 957 2025-08-16 05:30 ./usr/share/doc/vmadm/copyright
+ mv ../vmadm-dbgsym_0.4.0.ci20250816T053015-1_amd64.deb ../vmadm_0.4.0.ci20250816T053015-1.debian.tar.xz ../vmadm_0.4.0.ci20250816T053015-1.dsc ../vmadm_0.4.0.ci20250816T053015-1_amd64.buildinfo ../vmadm_0.4.0.ci20250816T053015-1_amd64.changes ../vmadm_0.4.0.ci20250816T053015-1_amd64.deb ../vmadm_0.4.0.ci20250816T053015.orig.tar.xz /workspace/artifacts
RUN: Action finished OK
RUN: Action TarCreate {
archive: "/dev/vde",
directory: "/workspace/cache",
}
[2025-08-16T05:30:51Z DEBUG ambient_ci::action] Plan::execute: TarCreate {
archive: "/dev/vde",
directory: "/workspace/cache",
}
[2025-08-16T05:30:51Z TRACE ambient_ci::vdrive] creating virtual drive (tar archive): VirtualDriveBuilder {
filename: Some(
"/dev/vde",
),
root: Some(
"/workspace/cache",
),
size: None,
}
[2025-08-16T05:30:51Z TRACE ambient_ci::vdrive] tar archive to be created: /dev/vde; exists? true
[2025-08-16T05:30:51Z TRACE ambient_ci::vdrive] create archive file /dev/vde
[2025-08-16T05:30:51Z TRACE ambient_ci::vdrive] directory /workspace/cache exists? true
[2025-08-16T05:30:51Z TRACE ambient_ci::vdrive] add contents of /workspace/cache as .
[2025-08-16T05:30:52Z TRACE ambient_ci::vdrive] created virtual drive /dev/vde
RUN: Action finished OK
RUN: Action TarCreate {
archive: "/dev/vdd",
directory: "/workspace/artifacts",
}
[2025-08-16T05:30:52Z DEBUG ambient_ci::action] Plan::execute: TarCreate {
archive: "/dev/vdd",
directory: "/workspace/artifacts",
}
[2025-08-16T05:30:52Z TRACE ambient_ci::vdrive] creating virtual drive (tar archive): VirtualDriveBuilder {
filename: Some(
"/dev/vdd",
),
root: Some(
"/workspace/artifacts",
),
size: None,
}
[2025-08-16T05:30:52Z TRACE ambient_ci::vdrive] tar archive to be created: /dev/vdd; exists? true
[2025-08-16T05:30:52Z TRACE ambient_ci::vdrive] create archive file /dev/vdd
[2025-08-16T05:30:52Z TRACE ambient_ci::vdrive] directory /workspace/artifacts exists? true
[2025-08-16T05:30:52Z TRACE ambient_ci::vdrive] add contents of /workspace/artifacts as .
[2025-08-16T05:30:52Z TRACE ambient_ci::vdrive] created virtual drive /dev/vdd
RUN: Action finished OK
ambient-execute-plan ends
EXIT CODE: 0
====================
[2025-08-16T05:30:57Z DEBUG ambient_ci::qemu] QEMU exit code 0
[2025-08-16T05:30:57Z DEBUG ambient_ci::run] remove old cache
[2025-08-16T05:30:57Z DEBUG ambient_ci::run] extract cache
[2025-08-16T05:30:57Z DEBUG ambient_ci::run] Executing post-plan steps
[2025-08-16T05:30:57Z DEBUG ambient_ci::action] Plan::execute: Dput {
artifactsdir: "/srv/ambient-state/vmadm/artifacts",
dput_target: Some(
"apt.liw.fi",
),
}
[2025-08-16T05:30:57Z DEBUG ambient_ci::util] found /srv/ambient-state/vmadm/artifacts
[2025-08-16T05:30:57Z DEBUG ambient_ci::util] found /srv/ambient-state/vmadm/artifacts/vmadm.html
[2025-08-16T05:30:57Z DEBUG ambient_ci::util] found /srv/ambient-state/vmadm/artifacts/vmadm_0.4.0.ci20250816T053015-1_amd64.buildinfo
[2025-08-16T05:30:57Z DEBUG ambient_ci::util] found /srv/ambient-state/vmadm/artifacts/vmadm_0.4.0.ci20250816T053015-1_amd64.deb
[2025-08-16T05:30:57Z DEBUG ambient_ci::util] found /srv/ambient-state/vmadm/artifacts/vmadm_0.4.0.ci20250816T053015.orig.tar.xz
[2025-08-16T05:30:57Z DEBUG ambient_ci::util] found /srv/ambient-state/vmadm/artifacts/vmadm_0.4.0.ci20250816T053015-1_amd64.changes
[2025-08-16T05:30:57Z DEBUG ambient_ci::util] found /srv/ambient-state/vmadm/artifacts/vmadm_0.4.0.ci20250816T053015-1.dsc
[2025-08-16T05:30:57Z DEBUG ambient_ci::util] found /srv/ambient-state/vmadm/artifacts/vmadm-dbgsym_0.4.0.ci20250816T053015-1_amd64.deb
[2025-08-16T05:30:57Z DEBUG ambient_ci::util] found /srv/ambient-state/vmadm/artifacts/vmadm_0.4.0.ci20250816T053015-1.debian.tar.xz
[2025-08-16T05:30:57Z INFO ambient_ci::util] dput apt.liw.fi /srv/ambient-state/vmadm/artifacts/vmadm_0.4.0.ci20250816T053015-1_amd64.changes
[2025-08-16T05:30:58Z DEBUG ambient_ci::action] Plan::execute: Rsync {
artifactsdir: "/srv/ambient-state/vmadm/artifacts",
rsync_target: Some(
"ci@http.liw.fi:/srv/http/doc.liw.fi/vmadm",
),
}
[2025-08-16T05:30:58Z INFO ambient_ci::util] rsync /srv/ambient-state/vmadm/artifacts/. -> ci@http.liw.fi:/srv/http/doc.liw.fi/vmadm/.
[2025-08-16T05:30:59Z DEBUG ambient_ci::project] write project state to /srv/ambient-state/vmadm/meta.yaml
[2025-08-16T05:30:59Z INFO ambient] ambient ends successfully
<empty log>