Radicle repository id rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
[2025-10-13T10:58:25Z 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
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 6.1M 1 disk
vdc 254:32 0 32.2M 1 disk
vdd 254:48 0 9.3G 0 disk
vde 254:64 0 46.6G 0 disk
vdf 254:80 0 809.9M 1 disk
INFO: Extracting tar archive from /dev/vdb
drwxr-xr-x _rad/_rad 0 2025-10-13 10:53 ./
-rw-r--r-- _rad/_rad 2450 2025-10-13 10:53 ./plan.yaml
-rwxr-xr-x _rad/_rad 6410400 2025-10-13 10:53 ./run-ci
INFO: Extracted files:
4587526 4 drwxr-xr-x 2 1001 1001 4096 Oct 13 10:53 .
4587527 4 -rw-r--r-- 1 1001 1001 2450 Oct 13 10:53 ./plan.yaml
4587530 6264 -rwxr-xr-x 1 1001 1001 6410400 Oct 13 10:53 ./run-ci
INFO: Running run-ci from /dev/vdb
================================ BEGIN ================================
[2025-10-13T10:55:55Z TRACE ambient_execute_plan] ambient-execute-plan version 0.8.0@d43aefe starts
[2025-10-13T10:55:55Z DEBUG ambient_execute_plan] ambient-execute-plan version 0.8.0@d43aefe starts
[2025-10-13T10:55:55Z INFO ambient_execute_plan] ambient-execute-plan version 0.8.0@d43aefe starts
[2025-10-13T10:55:55Z WARN ambient_execute_plan] ambient-execute-plan version 0.8.0@d43aefe starts
[2025-10-13T10:55:55Z ERROR ambient_execute_plan] ambient-execute-plan version 0.8.0@d43aefe 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: |
# Because of a (temporary) limitation in Ambient, we need to set
# these variables manually. Once Ambient manages environment
# variables better, these can be deleted.
export CARGO_TARGET_DIR=/workspace/cache
export CARGO_HOME=/workspace/deps
export HOME=/root
export PATH="/root/.cargo/bin:$PATH"
export RUSTDOCFLAGS='-D warnings'
cargo doc --workspace --no-deps
- action: shell
shell: |
# Because of a (temporary) limitation in Ambient, we need to set
# these variables manually. Once Ambient manages environment
# variables better, these can be deleted.
export CARGO_TARGET_DIR=/workspace/cache
export CARGO_HOME=/workspace/deps
export HOME=/root
export PATH="/root/.cargo/bin:$PATH"
# These are based on debian/control.
export DEBEMAIL=liw@liw.fi
export DEBFULLNAME="Lars Wirzenius"
# Clean up after tests and documentation building. The Debian
# package building tools do not want changes outside the
# `debian` directory, compared to what is committed to Git, from
# which the "upstream tarball" is created.
git reset --hard
git clean -fdx
git status --ignored
# Update debian/changelog with a new version so that every run
# creates a newer version. This avoids us having to update the
# file manually for every CI run.
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
[2025-10-13T10:55:55Z DEBUG ambient_ci::plan] RUN: Action Mkdir {
pathname: "/workspace",
}
[2025-10-13T10:55:55Z DEBUG ambient_ci::action] Plan::execute: plan=Mkdir {
pathname: "/workspace",
}
[2025-10-13T10:55:55Z DEBUG ambient_ci::action] Plan::execute: context=Context {
envs: {
"PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"CARGO_HOME": "/workspace/deps",
"CARGO_TARGET_DIR": "/workspace/cache",
},
source_dir: "/workspace/src",
}
[2025-10-13T10:55:55Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-13T10:55:55Z DEBUG ambient_ci::plan] RUN: Action Mkdir {
pathname: "/workspace/artifacts",
}
[2025-10-13T10:55:55Z DEBUG ambient_ci::action] Plan::execute: plan=Mkdir {
pathname: "/workspace/artifacts",
}
[2025-10-13T10:55:55Z DEBUG ambient_ci::action] Plan::execute: context=Context {
envs: {
"PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"CARGO_HOME": "/workspace/deps",
"CARGO_TARGET_DIR": "/workspace/cache",
},
source_dir: "/workspace/src",
}
[2025-10-13T10:55:55Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-13T10:55:55Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
archive: "/dev/vdc",
directory: "/workspace/src",
}
[2025-10-13T10:55:55Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
archive: "/dev/vdc",
directory: "/workspace/src",
}
[2025-10-13T10:55:55Z DEBUG ambient_ci::action] Plan::execute: context=Context {
envs: {
"PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"CARGO_HOME": "/workspace/deps",
"CARGO_TARGET_DIR": "/workspace/cache",
},
source_dir: "/workspace/src",
}
[2025-10-13T10:55:55Z TRACE ambient_ci::vdrive] extracting /dev/vdc to /workspace/src
[2025-10-13T10:55:56Z TRACE ambient_ci::vdrive] extraction OK
[2025-10-13T10:55:56Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-13T10:55:56Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
archive: "/dev/vdf",
directory: "/workspace/deps",
}
[2025-10-13T10:55:56Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
archive: "/dev/vdf",
directory: "/workspace/deps",
}
[2025-10-13T10:55:56Z DEBUG ambient_ci::action] Plan::execute: context=Context {
envs: {
"PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"CARGO_HOME": "/workspace/deps",
"CARGO_TARGET_DIR": "/workspace/cache",
},
source_dir: "/workspace/src",
}
[2025-10-13T10:55:56Z TRACE ambient_ci::vdrive] extracting /dev/vdf to /workspace/deps
[2025-10-13T10:56:18Z TRACE ambient_ci::vdrive] extraction OK
[2025-10-13T10:56:18Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-13T10:56:18Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
archive: "/dev/vde",
directory: "/workspace/cache",
}
[2025-10-13T10:56:18Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
archive: "/dev/vde",
directory: "/workspace/cache",
}
[2025-10-13T10:56:18Z DEBUG ambient_ci::action] Plan::execute: context=Context {
envs: {
"PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"CARGO_HOME": "/workspace/deps",
"CARGO_TARGET_DIR": "/workspace/cache",
},
source_dir: "/workspace/src",
}
[2025-10-13T10:56:18Z TRACE ambient_ci::vdrive] extracting /dev/vde to /workspace/cache
[2025-10-13T10:58:25Z INFO ambient] ambient ends successfully
{
"request": "trigger",
"version": 1,
"event_type": "patch",
"repository": {
"id": "rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5",
"name": "heartwood",
"description": "Radicle Heartwood Protocol & Stack",
"private": false,
"default_branch": "master",
"delegates": [
"did:key:z6MksFqXN3Yhqk8pTJdUGLwATkRfQvwZXPqR2qMEhbS9wzpT",
"did:key:z6MktaNvN1KVFMkSRAiN4qK5yvX1zuEEaseeX5sffhzPZRZW",
"did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
"did:key:z6MkgFq6z5fkF2hioLLSNu1zP2qEL1aHXHZzGH1FLFGAnBGz",
"did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz"
]
},
"action": "Updated",
"patch": {
"id": "1cd8044782249b95d577e0678f10eba8c6f32e35",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": "lorenz"
},
"title": "A Little Less `git2`",
"state": {
"status": "open",
"conflicts": []
},
"before": "3e98589a767d9a17a3da90e52ae4abb198fa9ada",
"after": "0469700d83ec46eaccede2d30d36da924a7c0e3d",
"commits": [
"0469700d83ec46eaccede2d30d36da924a7c0e3d",
"60ae9f4935c54e66573084d0d082cc2e8c01f175",
"902b66a6ba0fb870daddb600649a628c4252d2b7",
"68d43d2bcc3f2ad93496f4639ecb6c6df8fe97c8",
"b01bc132226e82fd710b8a44dbbb8455abaab65a",
"4802f3a85ac68a517027fba3630099ded0318390",
"778f8897ecb08c978122fdb70fd0ef10da57a97c"
],
"target": "3e98589a767d9a17a3da90e52ae4abb198fa9ada",
"labels": [],
"assignees": [],
"revisions": [
{
"id": "1cd8044782249b95d577e0678f10eba8c6f32e35",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": "lorenz"
},
"description": "(I should write up a lengthy description…)",
"base": "5caa7b302a7d4f247aaa7cc688a692aac4486464",
"oid": "d0b815c1715dfd78a7aba632356513370d189eaa",
"timestamp": 1759707360
},
{
"id": "8a36f8eecf18c0e990125564da0f89bbbbb00aa6",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": "lorenz"
},
"description": "Make `git2` an *optional* dependency of `radicle-cob`, *no* dependency\n(also not transitively) of `radicle-crypto`, and refactor `radicle` to\ndepend on crates that in turn do not depend on `git2`\n*non-optionally*.\n\n### New Crates\n\n`radicle-git-metadata`, `radicle-git-ref-format`, and `radicle-oid` are\nintroduced. Refer to their documentation in the respective `lib.rs`.\n\n### Refactoring\n\nThe main offending dependency of `radicle-cob` is `radicle-git-ext`\nfrom the `radicle-git` workspace in repository\n(rad:z6cFWeWpnZNHh9rUW8phgA3b5yGt) which *non-optionally* depends on\n`git2`.\n\nSo, to achieve removal of this dependency:\n\n 1. The crate is refactored to depend on the new crates\n `radicle-git-ref-format` `radicle-git-metadata`, and\n `radicle-oid` introduced in the previous commits, instead of\n `radicle-git-ext`.\n 2. Some code from the `radicle-git-ext` crate in the `radicle-git`\n workspace in repository (rad:z6cFWeWpnZNHh9rUW8phgA3b5yGt) is\n copied. See `crates/radicle-cob/src/backend/git/commit.rs`.\n\nThis cascades to `radicle` and its dependents.\n\n Firstly, the there is an\n`impl Deref<Target=git2::Oid> for radicle_git_ext::Oid`. This made\nit very convenient to just deref to obtain the wrapped `git2::Oid`,\nso there are many expressions of the shape `*oid` in `radicle` and\nits dependents. However `radicle-oid` does not provide\n`impl Deref<Target=git2::Oid> for radicle_oid::Oid`, as notably,\n`Target` is an associated type, and not a type parameter, so an\nimplementation of `Deref` would tie the new `Oid` too tightly to a\nparticular implementation.\nInstead, work with `impl From<radicle_oid::Oid> for git2::Oid`\n(which can be enabled using the feature flag `radicle-oid/git2`).\nThis explains the changes from `*oid` to `oid.into()` at every\ntransition to \"`git2` land\".\n\n Secondly, `radicle` and its dependents are refactored to also depend\non `radicle-git-ref-format` and (much less prominently)\n`radicle-git-metadata` instead of `radicle-git-ext`\nThis is to avoid pulling in `git2` via these dependencies.\n\n Thirdly, as the re-exports in `crates/radicle/src/git.rs` change,\nthey are at the same time also cleaned up. Notably, the types from\n`radicle-git-ref-format` are re-exported under `fmt` only, not \"twice\".\nAlso, instead of re-exporting all of `git2`, the module `raw` actually\nonly provides the re-exports required to build the workspace\n(potentially breaking dependents outside the workspace, but given just\nhow many types are re-exported, this seems unlikely) and injects an\nextension trait for more ergonomic error handling. Uses of\n`radicle_git_ext::Error` are replaced with uses of the extension trait.\n\nWhile overall this obviously is very much a breaking change, these\nchanges should mostly amount to changing from `Deref` to `Into`, i.e.,\n`*oid` → `oid.into()`, importing the extension trait as necessary, and\nrewriting imports for `radicle::git::fmt`. This is indicated by the\nmostly mechanical nature of the changes to\n`crates/radicle-{cli,node,remote-helper}`.",
"base": "2e77d5ef4df526a8453d38d6d2d735fe9ce7e423",
"oid": "7fe1584106be32b9f2c5c153bd0d6052016dd4eb",
"timestamp": 1759877418
},
{
"id": "8c293dee6c08d53311abff02f3af729e9103cb6f",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": "lorenz"
},
"description": "Rebase onto spun out patches:\n - `222bc576b7ffb7b9650be00525a1b66087c83b44`\n - `a1b9d9c92737f12b5b24405042e2432cc9730a5e`",
"base": "ac572e64e5029cb1db16f05158915b6ef55ab7e7",
"oid": "435a75304663802c85d7083ffb35a8d78eb3ab65",
"timestamp": 1760045529
},
{
"id": "8a2ca52af6004ddee5fcce8802f22a7d79f1f83d",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": "lorenz"
},
"description": "Rebase",
"base": "633059040cf1aae705172e7dac24c1fd863d44e9",
"oid": "1d81f96ffbe3ea878181df42a3b699defc687e0d",
"timestamp": 1760089036
},
{
"id": "01334a94976a3191e59fba481c17abd724ccf3ba",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": "lorenz"
},
"description": "Linearize",
"base": "633059040cf1aae705172e7dac24c1fd863d44e9",
"oid": "3e505578b948a7541d0d88e286c0a8f1a953a115",
"timestamp": 1760089170
},
{
"id": "35ede635a75beb42ffcb629344b0e2b8de31b6b0",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": "lorenz"
},
"description": "Edit commit messages",
"base": "ea562215eaa163568c3f1061e4cbbd907e9913db",
"oid": "a1bece58c85c29d948e25abfb851814924bd9141",
"timestamp": 1760090217
},
{
"id": "af50a86347e8f3cc13d5f4d03142ba9523d7aa75",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": "lorenz"
},
"description": "REVIEW",
"base": "ea562215eaa163568c3f1061e4cbbd907e9913db",
"oid": "0db6602c1bc79c30d3351e43384d37f33e7b1bef",
"timestamp": 1760099394
},
{
"id": "deb3610cffa58908132e39c3c42324bdbf4023b9",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": "lorenz"
},
"description": "Work in Fintan's feedback, clean up, rebase on top of test fixes.",
"base": "bb68fdad2307a3768197d56cfcfeafa95c79e78b",
"oid": "c324810fa3cb49710eccb22db2f5c17754be69cf",
"timestamp": 1760206797
},
{
"id": "ae9d102a7930c1551d4f602d3dfb85f776d82e25",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": "lorenz"
},
"description": "Rebase, small fixes to `radicle-oid`.",
"base": "3e98589a767d9a17a3da90e52ae4abb198fa9ada",
"oid": "0469700d83ec46eaccede2d30d36da924a7c0e3d",
"timestamp": 1760351277
}
]
}
}[2025-10-13T10:53:22Z INFO ambient] ambient starts
[2025-10-13T10:53:22Z DEBUG ambient] load default configuration file /home/_rad/.config/ambient/config.yaml if it exists
[2025-10-13T10:53: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: None,
rsync_target_map: None,
dput_target: None,
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-10-13T10:53: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: None,
rsync_target_map: None,
dput_target: None,
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-10-13T10:53:22Z DEBUG ambient_ci::project] load project state from /srv/ambient-state/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/meta.yaml
[2025-10-13T10:53:22Z DEBUG ambient_ci::run] latest commit: "013da67aa1cd72776ecae5643fe5f055154a334d"
[2025-10-13T10:53:22Z DEBUG ambient_ci::run] is a git repository
[2025-10-13T10:53:22Z DEBUG ambient_ci::run] git repository is clean
[2025-10-13T10:53:22Z DEBUG ambient_ci::run] current (HEAD) commit: 0469700d83ec46eaccede2d30d36da924a7c0e3d
[2025-10-13T10:53:22Z DEBUG ambient_ci::run] no dry run requested
[2025-10-13T10:53:22Z DEBUG ambient_ci::run] forced run requested
[2025-10-13T10:53:22Z DEBUG ambient_ci::run] run? true
[2025-10-13T10:53:22Z INFO ambient_ci::run] project rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5: running CI
[2025-10-13T10:53:22Z DEBUG ambient_ci::run] Executing pre-plan steps
[2025-10-13T10:53:22Z DEBUG ambient_ci::plan] RUN: Action CargoFetch {
sourcedir: "/tmp/.tmpw8e94r/src",
}
[2025-10-13T10:53:22Z DEBUG ambient_ci::action] Plan::execute: plan=CargoFetch {
sourcedir: "/tmp/.tmpw8e94r/src",
}
[2025-10-13T10:53:22Z DEBUG ambient_ci::action] Plan::execute: context=Context {
envs: {
"CARGO_TARGET_DIR": "/srv/ambient-state/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/cache",
"CARGO_HOME": "/srv/ambient-state/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/dependencies",
"PATH": "/root/.cargo/bin:/bin:/home/_rad/.radicle/bin:/home/_rad/.cargo/bin",
},
source_dir: "/tmp/.tmpw8e94r/src",
}
SPAWN: argv=["cargo", "--version"]
cwd=/tmp/.tmpw8e94r/src (exists? true)
cargo 1.88.0 (873a06493 2025-05-10)
SPAWN: argv=["cargo", "clippy", "--version"]
cwd=/tmp/.tmpw8e94r/src (exists? true)
clippy 0.1.88 (6b00bc3880 2025-06-23)
SPAWN: argv=["rustc", "--version"]
cwd=/tmp/.tmpw8e94r/src (exists? true)
rustc 1.88.0 (6b00bc388 2025-06-23)
SPAWN: argv=["cargo", "fetch"]
cwd=/tmp/.tmpw8e94r/src (exists? true)
[2025-10-13T10:53:22Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-13T10:53:22Z DEBUG ambient_ci::plan] All actions were performed successfully
[2025-10-13T10:53:22Z DEBUG ambient_ci::run] create virtual drive /srv/tmp/.tmp5e64rN/src.tar
[2025-10-13T10:53:23Z DEBUG ambient_ci::run] create virtual drive /srv/tmp/.tmp5e64rN/deps.tar
[2025-10-13T10:53:31Z DEBUG ambient_ci::run] create_executor_vdrive: executor="/usr/bin/ambient-execute-plan"
[2025-10-13T10:53:31Z 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,
CargoBuild,
CargoTest,
Shell {
shell: "# Because of a (temporary) limitation in Ambient, we need to set\n# these variables manually. Once Ambient manages environment\n# variables better, these can be deleted.\nexport CARGO_TARGET_DIR=/workspace/cache\nexport CARGO_HOME=/workspace/deps\nexport HOME=/root\nexport PATH=\"/root/.cargo/bin:$PATH\"\nexport RUSTDOCFLAGS='-D warnings'\n\ncargo doc --workspace --no-deps\n",
},
Shell {
shell: "# Because of a (temporary) limitation in Ambient, we need to set\n# these variables manually. Once Ambient manages environment\n# variables better, these can be deleted.\nexport CARGO_TARGET_DIR=/workspace/cache\nexport CARGO_HOME=/workspace/deps\nexport HOME=/root\nexport PATH=\"/root/.cargo/bin:$PATH\"\n\n# These are based on debian/control.\nexport DEBEMAIL=liw@liw.fi\nexport DEBFULLNAME=\"Lars Wirzenius\"\n\n# Clean up after tests and documentation building. The Debian\n# package building tools do not want changes outside the\n# `debian` directory, compared to what is committed to Git, from\n# which the \"upstream tarball\" is created.\ngit reset --hard\ngit clean -fdx\ngit status --ignored\n\n# Update debian/changelog with a new version so that every run\n# creates a newer version. This avoids us having to update the\n# file manually for every CI run.\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-10-13T10:53:31Z DEBUG ambient_ci::run] executor bin /usr/bin/ambient-execute-plan
[2025-10-13T10:53:31Z DEBUG ambient_ci::run] copying /usr/bin/ambient-execute-plan to /srv/tmp/.tmp5e64rN/ambient-execute-plan/run-ci
[2025-10-13T10:53:31Z DEBUG ambient_ci::run] copy OK: true
[2025-10-13T10:53:31Z DEBUG ambient_ci::run] create virtual drive /srv/tmp/.tmp5e64rN/executor.tar
[2025-10-13T10:55:40Z DEBUG ambient_ci::project] removing run log file /srv/ambient-state/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/run.log
[2025-10-13T10:55:40Z DEBUG ambient_ci::project] statedir is /srv/ambient-state/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5, exists? true
[2025-10-13T10:55:40Z DEBUG ambient_ci::project] creating run log file /srv/ambient-state/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/run.log
[2025-10-13T10:55:40Z DEBUG ambient_ci::project] created run log file /srv/ambient-state/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/run.log OK
[2025-10-13T10:55:40Z DEBUG ambient_ci::cloud_init] with_hostname called: "ambient"
[2025-10-13T10:55:40Z DEBUG ambient_ci::cloud_init] with_runcmd called: "echo xyzzy > /dev/ttyS1"
[2025-10-13T10:55:40Z 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-10-13T10:55:40Z DEBUG ambient_ci::cloud_init] with_runcmd called: "poweroff"
[2025-10-13T10:55:40Z 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-10-13T10:55:40Z DEBUG ambient_ci::qemu] run QEMU
[2025-10-13T10:55:40Z DEBUG ambient_ci::qemu] create copy-on-write image and UEFI vars file
[2025-10-13T10:55:40Z DEBUG ambient_ci::qemu_utils] qemu-img create /srv/tmp/.tmpUhZXJq/.tmpNhoOHF/vm.qcow2 backing on /home/_rad/ambient.qcow2
[2025-10-13T10:55:40Z DEBUG ambient_ci::qemu] create cloud-init ISO file
[2025-10-13T10:55:40Z 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-10-13T10:55:40Z DEBUG ambient_ci::cloud_init] write /tmp/.tmpEmWu3Y/meta-data
[2025-10-13T10:55:40Z DEBUG ambient_ci::cloud_init] write /tmp/.tmpEmWu3Y/user-data
[2025-10-13T10:55:40Z DEBUG ambient_ci::qemu] set console log file to /srv/tmp/.tmpUhZXJq/.tmpNhoOHF/console.log
[2025-10-13T10:55:40Z DEBUG ambient_ci::util] create file /srv/tmp/.tmpUhZXJq/.tmpNhoOHF/console.log
[2025-10-13T10:55:40Z DEBUG ambient_ci::qemu] set run file to /srv/ambient-state/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/run.log
[2025-10-13T10:55:40Z DEBUG ambient_ci::util] create file /srv/ambient-state/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/run.log
[2025-10-13T10:55:40Z 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/.tmpUhZXJq/.tmpNhoOHF/console.log",
"-serial",
"file:/srv/ambient-state/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/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/.tmpUhZXJq/.tmpNhoOHF/vars.fd",
"-drive",
"format=qcow2,if=virtio,file=/srv/tmp/.tmpUhZXJq/.tmpNhoOHF/vm.qcow2",
"-drive",
"format=raw,if=virtio,file=/srv/tmp/.tmp5e64rN/executor.tar,readonly=on",
"-cdrom",
"/srv/tmp/.tmpUhZXJq/.tmpNhoOHF/cloud_init.iso",
"-drive",
"format=raw,if=virtio,file=/srv/tmp/.tmp5e64rN/src.tar,readonly=on",
"-drive",
"format=raw,if=virtio,file=/srv/tmp/.tmp5e64rN/artifacts.tar",
"-drive",
"format=raw,if=virtio,file=/srv/tmp/.tmp5e64rN/cache.tar",
"-drive",
"format=raw,if=virtio,file=/srv/tmp/.tmp5e64rN/deps.tar,readonly=on",
"-nodefaults",
"-no-user-config",
],
}
kvm: terminating on signal 15 from pid 522809 ()
[2025-10-13T10:58:23Z DEBUG ambient_ci::qemu] QEMU finished OK
[2025-10-13T10:58:23Z DEBUG ambient_ci::qemu] run log:
--------------------==========
[2025-10-13T10:55:55Z TRACE ambient_execute_plan] ambient-execute-plan version 0.8.0@d43aefe starts
[2025-10-13T10:55:55Z DEBUG ambient_execute_plan] ambient-execute-plan version 0.8.0@d43aefe starts
[2025-10-13T10:55:55Z INFO ambient_execute_plan] ambient-execute-plan version 0.8.0@d43aefe starts
[2025-10-13T10:55:55Z WARN ambient_execute_plan] ambient-execute-plan version 0.8.0@d43aefe starts
[2025-10-13T10:55:55Z ERROR ambient_execute_plan] ambient-execute-plan version 0.8.0@d43aefe 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: |
# Because of a (temporary) limitation in Ambient, we need to set
# these variables manually. Once Ambient manages environment
# variables better, these can be deleted.
export CARGO_TARGET_DIR=/workspace/cache
export CARGO_HOME=/workspace/deps
export HOME=/root
export PATH="/root/.cargo/bin:$PATH"
export RUSTDOCFLAGS='-D warnings'
cargo doc --workspace --no-deps
- action: shell
shell: |
# Because of a (temporary) limitation in Ambient, we need to set
# these variables manually. Once Ambient manages environment
# variables better, these can be deleted.
export CARGO_TARGET_DIR=/workspace/cache
export CARGO_HOME=/workspace/deps
export HOME=/root
export PATH="/root/.cargo/bin:$PATH"
# These are based on debian/control.
export DEBEMAIL=liw@liw.fi
export DEBFULLNAME="Lars Wirzenius"
# Clean up after tests and documentation building. The Debian
# package building tools do not want changes outside the
# `debian` directory, compared to what is committed to Git, from
# which the "upstream tarball" is created.
git reset --hard
git clean -fdx
git status --ignored
# Update debian/changelog with a new version so that every run
# creates a newer version. This avoids us having to update the
# file manually for every CI run.
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
[2025-10-13T10:55:55Z DEBUG ambient_ci::plan] RUN: Action Mkdir {
pathname: "/workspace",
}
[2025-10-13T10:55:55Z DEBUG ambient_ci::action] Plan::execute: plan=Mkdir {
pathname: "/workspace",
}
[2025-10-13T10:55:55Z DEBUG ambient_ci::action] Plan::execute: context=Context {
envs: {
"PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"CARGO_HOME": "/workspace/deps",
"CARGO_TARGET_DIR": "/workspace/cache",
},
source_dir: "/workspace/src",
}
[2025-10-13T10:55:55Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-13T10:55:55Z DEBUG ambient_ci::plan] RUN: Action Mkdir {
pathname: "/workspace/artifacts",
}
[2025-10-13T10:55:55Z DEBUG ambient_ci::action] Plan::execute: plan=Mkdir {
pathname: "/workspace/artifacts",
}
[2025-10-13T10:55:55Z DEBUG ambient_ci::action] Plan::execute: context=Context {
envs: {
"PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"CARGO_HOME": "/workspace/deps",
"CARGO_TARGET_DIR": "/workspace/cache",
},
source_dir: "/workspace/src",
}
[2025-10-13T10:55:55Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-13T10:55:55Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
archive: "/dev/vdc",
directory: "/workspace/src",
}
[2025-10-13T10:55:55Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
archive: "/dev/vdc",
directory: "/workspace/src",
}
[2025-10-13T10:55:55Z DEBUG ambient_ci::action] Plan::execute: context=Context {
envs: {
"PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"CARGO_HOME": "/workspace/deps",
"CARGO_TARGET_DIR": "/workspace/cache",
},
source_dir: "/workspace/src",
}
[2025-10-13T10:55:55Z TRACE ambient_ci::vdrive] extracting /dev/vdc to /workspace/src
[2025-10-13T10:55:56Z TRACE ambient_ci::vdrive] extraction OK
[2025-10-13T10:55:56Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-13T10:55:56Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
archive: "/dev/vdf",
directory: "/workspace/deps",
}
[2025-10-13T10:55:56Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
archive: "/dev/vdf",
directory: "/workspace/deps",
}
[2025-10-13T10:55:56Z DEBUG ambient_ci::action] Plan::execute: context=Context {
envs: {
"PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"CARGO_HOME": "/workspace/deps",
"CARGO_TARGET_DIR": "/workspace/cache",
},
source_dir: "/workspace/src",
}
[2025-10-13T10:55:56Z TRACE ambient_ci::vdrive] extracting /dev/vdf to /workspace/deps
[2025-10-13T10:56:18Z TRACE ambient_ci::vdrive] extraction OK
[2025-10-13T10:56:18Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-13T10:56:18Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
archive: "/dev/vde",
directory: "/workspace/cache",
}
[2025-10-13T10:56:18Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
archive: "/dev/vde",
directory: "/workspace/cache",
}
[2025-10-13T10:56:18Z DEBUG ambient_ci::action] Plan::execute: context=Context {
envs: {
"PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"CARGO_HOME": "/workspace/deps",
"CARGO_TARGET_DIR": "/workspace/cache",
},
source_dir: "/workspace/src",
}
[2025-10-13T10:56:18Z TRACE ambient_ci::vdrive] extracting /dev/vde to /workspace/cache
====================
ERROR: run log lacks exit code of run
<empty log>