Radicle repository id rad:z37oHWbEomJXUAqxd9hoQHWkg2pC8
[2025-10-02T14:33:05Z INFO ambient] ambient starts
deprecated: the `cpus` field is replaced by `qemu.cpus`
deprecated: the `memory` field is replaced by `qemu.memory`
[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 6.1M 1 disk
vdc 254:32 0 35.2M 1 disk
vdd 254:48 0 953.7M 0 disk
vde 254:64 0 27.9G 0 disk
vdf 254:80 0 10K 1 disk
INFO: Extracting tar archive from /dev/vdb
drwxr-xr-x _rad/_rad 0 2025-10-02 14:33 ./
-rw-r--r-- _rad/_rad 842 2025-10-02 14:33 ./plan.yaml
-rwxr-xr-x _rad/_rad 6369536 2025-10-02 14:33 ./run-ci
INFO: Extracted files:
3538954 4 drwxr-xr-x 2 1000 1000 4096 Oct 2 14:33 .
3538955 4 -rw-r--r-- 1 1000 1000 842 Oct 2 14:33 ./plan.yaml
3538956 6224 -rwxr-xr-x 1 1000 1000 6369536 Oct 2 14:33 ./run-ci
INFO: Running run-ci from /dev/vdb
================================ BEGIN ================================
[2025-10-02T14:33:03Z TRACE ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
[2025-10-02T14:33:03Z DEBUG ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
[2025-10-02T14:33:03Z INFO ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
[2025-10-02T14:33:03Z WARN ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
[2025-10-02T14:33:03Z ERROR ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 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: shell
shell: |
echo hello Radicle!
- 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-02T14:33:03Z DEBUG ambient_ci::plan] RUN: Action Mkdir {
pathname: "/workspace",
}
[2025-10-02T14:33:03Z DEBUG ambient_ci::action] Plan::execute: plan=Mkdir {
pathname: "/workspace",
}
[2025-10-02T14:33:03Z DEBUG ambient_ci::action] Plan::execute: context=Context {
envs: {
"CARGO_HOME": "/workspace/deps",
"CARGO_TARGET_DIR": "/workspace/cache",
"PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
},
source_dir: "/workspace/src",
}
[2025-10-02T14:33:03Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-02T14:33:03Z DEBUG ambient_ci::plan] RUN: Action Mkdir {
pathname: "/workspace/artifacts",
}
[2025-10-02T14:33:03Z DEBUG ambient_ci::action] Plan::execute: plan=Mkdir {
pathname: "/workspace/artifacts",
}
[2025-10-02T14:33:03Z DEBUG ambient_ci::action] Plan::execute: context=Context {
envs: {
"CARGO_HOME": "/workspace/deps",
"CARGO_TARGET_DIR": "/workspace/cache",
"PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
},
source_dir: "/workspace/src",
}
[2025-10-02T14:33:03Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-02T14:33:03Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
archive: "/dev/vdc",
directory: "/workspace/src",
}
[2025-10-02T14:33:03Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
archive: "/dev/vdc",
directory: "/workspace/src",
}
[2025-10-02T14:33:03Z DEBUG ambient_ci::action] Plan::execute: context=Context {
envs: {
"CARGO_HOME": "/workspace/deps",
"CARGO_TARGET_DIR": "/workspace/cache",
"PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
},
source_dir: "/workspace/src",
}
[2025-10-02T14:33:03Z TRACE ambient_ci::vdrive] extracting /dev/vdc to /workspace/src
[2025-10-02T14:33:03Z TRACE ambient_ci::vdrive] extraction OK
[2025-10-02T14:33:03Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-02T14:33:03Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
archive: "/dev/vdf",
directory: "/workspace/deps",
}
[2025-10-02T14:33:03Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
archive: "/dev/vdf",
directory: "/workspace/deps",
}
[2025-10-02T14:33:03Z DEBUG ambient_ci::action] Plan::execute: context=Context {
envs: {
"CARGO_HOME": "/workspace/deps",
"CARGO_TARGET_DIR": "/workspace/cache",
"PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
},
source_dir: "/workspace/src",
}
[2025-10-02T14:33:03Z TRACE ambient_ci::vdrive] extracting /dev/vdf to /workspace/deps
[2025-10-02T14:33:03Z TRACE ambient_ci::vdrive] extraction OK
[2025-10-02T14:33:03Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-02T14:33:03Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
archive: "/dev/vde",
directory: "/workspace/cache",
}
[2025-10-02T14:33:03Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
archive: "/dev/vde",
directory: "/workspace/cache",
}
[2025-10-02T14:33:03Z DEBUG ambient_ci::action] Plan::execute: context=Context {
envs: {
"CARGO_HOME": "/workspace/deps",
"CARGO_TARGET_DIR": "/workspace/cache",
"PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
},
source_dir: "/workspace/src",
}
[2025-10-02T14:33:03Z TRACE ambient_ci::vdrive] extracting /dev/vde to /workspace/cache
[2025-10-02T14:33:03Z TRACE ambient_ci::vdrive] extraction OK
[2025-10-02T14:33:03Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-02T14:33:03Z DEBUG ambient_ci::plan] RUN: Action Spawn {
argv: [
"find",
"/workspace",
"-maxdepth",
"2",
"-ls",
],
}
[2025-10-02T14:33:03Z DEBUG ambient_ci::action] Plan::execute: plan=Spawn {
argv: [
"find",
"/workspace",
"-maxdepth",
"2",
"-ls",
],
}
[2025-10-02T14:33:03Z DEBUG ambient_ci::action] Plan::execute: context=Context {
envs: {
"CARGO_HOME": "/workspace/deps",
"CARGO_TARGET_DIR": "/workspace/cache",
"PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
},
source_dir: "/workspace/src",
}
SPAWN: argv=["find", "/workspace", "-maxdepth", "2", "-ls"]
cwd=/workspace/src (exists? true)
5242881 4 drwxr-xr-x 6 root root 4096 Oct 2 14:33 /workspace
5242882 4 drwxr-xr-x 2 root root 4096 Oct 2 14:33 /workspace/artifacts
5243510 4 drwxr-xr-x 2 root root 4096 Oct 2 14:15 /workspace/deps
5243511 4 drwxr-xr-x 2 root root 4096 Oct 2 14:15 /workspace/cache
5242883 4 drwxr-xr-x 11 root root 4096 Oct 2 14:33 /workspace/src
5243214 4 drwxr-xr-x 4 root root 4096 Oct 2 14:33 /workspace/src/api
5243196 12 -rw-r--r-- 1 root root 9792 Oct 2 14:33 /workspace/src/compose.yaml
5243389 4 -rw-r--r-- 1 root root 105 Oct 2 14:33 /workspace/src/.gitignore
5243398 4 -rw-r--r-- 1 root root 1524 Oct 2 14:33 /workspace/src/.env.example
5243401 4 drwxr-xr-x 8 root root 4096 Oct 2 14:33 /workspace/src/.git
5243197 4 -rw-r--r-- 1 root root 3661 Oct 2 14:33 /workspace/src/compose.production.yaml
5243399 4 drwxr-xr-x 2 root root 4096 Oct 2 14:33 /workspace/src/.config
5243190 4 drwxr-xr-x 2 root root 4096 Oct 2 14:33 /workspace/src/hooks
5243198 4 drwxr-xr-x 4 root root 4096 Oct 2 14:33 /workspace/src/auth
5243382 32 -rw-r--r-- 1 root root 32475 Oct 2 14:33 /workspace/src/LICENSE
5242886 4 drwxr-xr-x 2 root root 4096 Oct 2 14:33 /workspace/src/.radicle
5243195 4 -rw-r--r-- 1 root root 811 Oct 2 14:33 /workspace/src/config.json
5242884 0 lrwxrwxrwx 1 root root 19 Oct 2 14:33 /workspace/src/Cargo.toml -> api/rust/Cargo.toml
5243381 4 -rw-r--r-- 1 root root 2077 Oct 2 14:33 /workspace/src/Makefile
5243380 4 -rw-r--r-- 1 root root 1007 Oct 2 14:33 /workspace/src/README.md
5243390 4 drwxr-xr-x 3 root root 4096 Oct 2 14:33 /workspace/src/.github
5243384 4 drwxr-xr-x 2 root root 4096 Oct 2 14:33 /workspace/src/.woodpecker
5243383 4 -rw-r--r-- 1 root root 2594 Oct 2 14:33 /workspace/src/CONTRIBUTING.md
5242885 0 lrwxrwxrwx 1 root root 19 Oct 2 14:33 /workspace/src/Cargo.lock -> api/rust/Cargo.lock
5242888 4 drwxr-xr-x 9 root root 4096 Oct 2 14:33 /workspace/src/ui
[2025-10-02T14:33:03Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-02T14:33:03Z DEBUG ambient_ci::plan] RUN: Action Shell {
shell: "echo hello Radicle!\n",
}
[2025-10-02T14:33:03Z DEBUG ambient_ci::action] Plan::execute: plan=Shell {
shell: "echo hello Radicle!\n",
}
[2025-10-02T14:33:03Z DEBUG ambient_ci::action] Plan::execute: context=Context {
envs: {
"CARGO_HOME": "/workspace/deps",
"CARGO_TARGET_DIR": "/workspace/cache",
"PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
},
source_dir: "/workspace/src",
}
SPAWN: argv=["/bin/bash", "-c", "set -xeuo pipefail\necho hello Radicle!\n\n"]
cwd=/workspace/src (exists? true)
+ echo hello 'Radicle!'
hello Radicle!
[2025-10-02T14:33:03Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-02T14:33:03Z DEBUG ambient_ci::plan] RUN: Action TarCreate {
archive: "/dev/vde",
directory: "/workspace/cache",
}
[2025-10-02T14:33:03Z DEBUG ambient_ci::action] Plan::execute: plan=TarCreate {
archive: "/dev/vde",
directory: "/workspace/cache",
}
[2025-10-02T14:33:03Z DEBUG ambient_ci::action] Plan::execute: context=Context {
envs: {
"CARGO_HOME": "/workspace/deps",
"CARGO_TARGET_DIR": "/workspace/cache",
"PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
},
source_dir: "/workspace/src",
}
[2025-10-02T14:33:03Z TRACE ambient_ci::vdrive] creating virtual drive (tar archive): VirtualDriveBuilder {
filename: Some(
"/dev/vde",
),
root: Some(
"/workspace/cache",
),
size: None,
}
[2025-10-02T14:33:03Z TRACE ambient_ci::vdrive] tar archive to be created: /dev/vde; exists? true
[2025-10-02T14:33:03Z TRACE ambient_ci::vdrive] create archive file /dev/vde
[2025-10-02T14:33:03Z TRACE ambient_ci::vdrive] directory /workspace/cache exists? true
[2025-10-02T14:33:03Z TRACE ambient_ci::vdrive] add contents of /workspace/cache as .
[2025-10-02T14:33:03Z TRACE ambient_ci::vdrive] calling tar_create
[2025-10-02T14:33:03Z TRACE ambient_ci::vdrive] created virtual drive /dev/vde
[2025-10-02T14:33:03Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-02T14:33:03Z DEBUG ambient_ci::plan] RUN: Action TarCreate {
archive: "/dev/vdd",
directory: "/workspace/artifacts",
}
[2025-10-02T14:33:03Z DEBUG ambient_ci::action] Plan::execute: plan=TarCreate {
archive: "/dev/vdd",
directory: "/workspace/artifacts",
}
[2025-10-02T14:33:03Z DEBUG ambient_ci::action] Plan::execute: context=Context {
envs: {
"CARGO_HOME": "/workspace/deps",
"CARGO_TARGET_DIR": "/workspace/cache",
"PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
},
source_dir: "/workspace/src",
}
[2025-10-02T14:33:03Z TRACE ambient_ci::vdrive] creating virtual drive (tar archive): VirtualDriveBuilder {
filename: Some(
"/dev/vdd",
),
root: Some(
"/workspace/artifacts",
),
size: None,
}
[2025-10-02T14:33:03Z TRACE ambient_ci::vdrive] tar archive to be created: /dev/vdd; exists? true
[2025-10-02T14:33:03Z TRACE ambient_ci::vdrive] create archive file /dev/vdd
[2025-10-02T14:33:03Z TRACE ambient_ci::vdrive] directory /workspace/artifacts exists? true
[2025-10-02T14:33:03Z TRACE ambient_ci::vdrive] add contents of /workspace/artifacts as .
[2025-10-02T14:33:03Z TRACE ambient_ci::vdrive] calling tar_create
[2025-10-02T14:33:03Z TRACE ambient_ci::vdrive] created virtual drive /dev/vdd
[2025-10-02T14:33:03Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-02T14:33:03Z DEBUG ambient_ci::plan] All actions were performed successfully
ambient-execute-plan ends
EXIT CODE: 0
[2025-10-02T14:33:05Z INFO ambient] ambient ends successfully
{
"request": "trigger",
"version": 1,
"event_type": "patch",
"repository": {
"id": "rad:z37oHWbEomJXUAqxd9hoQHWkg2pC8",
"name": "radicle.garden",
"description": "The radicle.garden monorepo",
"private": false,
"default_branch": "main",
"delegates": [
"did:key:z6MkkfM3tPXNPrPevKr3uSiQtHPuwnNhu2yUVjgd2jXVsVz5",
"did:key:z6MkwPUeUS2fJMfc2HZN1RQTQcTTuhw4HhPySB8JeUg2mVvx",
"did:key:z6Mkm8kyYUD9Q2zMRtM9yU3Ci1K5PqyD2CGqErFfWrNgcKu8",
"did:key:z6MkrnXJWPndzPBxpBUaE3L3BnMeWpaQdT1V1FvkoCPFSFS3",
"did:key:z6MkgKs9cCTbhj8K7n6UmVj8A6xE6CTFMXEjUPr27AzgWRCi"
]
},
"action": "Updated",
"patch": {
"id": "83fc52bcd03c7002cf983f7946261b03717cf8c0",
"author": {
"id": "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV",
"alias": "liw"
},
"title": "ci: add a sample .radicle/ambient.yaml to test Ambient integration",
"state": {
"status": "open",
"conflicts": []
},
"before": "4d51701edeea20f92dfa37dcacc587aa22f293fc",
"after": "83666fb692e8df59192ea40ff31829012d6c73e8",
"commits": [
"83666fb692e8df59192ea40ff31829012d6c73e8",
"90b19b6b18d1e76fe2796741c13c959159a5edaa"
],
"target": "4d51701edeea20f92dfa37dcacc587aa22f293fc",
"labels": [],
"assignees": [],
"revisions": [
{
"id": "83fc52bcd03c7002cf983f7946261b03717cf8c0",
"author": {
"id": "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV",
"alias": "liw"
},
"description": "",
"base": "4d51701edeea20f92dfa37dcacc587aa22f293fc",
"oid": "90b19b6b18d1e76fe2796741c13c959159a5edaa",
"timestamp": 1759414491
},
{
"id": "fc72b24707d5a6820e7ecc4f9741dc5a4abfe17b",
"author": {
"id": "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV",
"alias": "liw"
},
"description": "add symlinks for Ambient cargo_fetch",
"base": "4d51701edeea20f92dfa37dcacc587aa22f293fc",
"oid": "83666fb692e8df59192ea40ff31829012d6c73e8",
"timestamp": 1759415573
}
]
}
}[2025-10-02T14:33:00Z INFO ambient] ambient starts
[2025-10-02T14:33:00Z DEBUG ambient] load default configuration file /home/_rad/.config/ambient/config.yaml if it exists
deprecated: the `cpus` field is replaced by `qemu.cpus`
deprecated: the `memory` field is replaced by `qemu.memory`
[2025-10-02T14:33:00Z DEBUG ambient] complete configuration: Config {
tmpdir: "/home/_rad/tmp",
image_store: "/home/_rad/ambient-images",
projects: "/dev/null",
state: "/home/_rad/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(
1000000000,
),
cache_max_size: Byte(
30000000000,
),
qemu: QemuConfig {
cpus: 2,
memory: Byte(
12000000000,
),
kvm_binary: "/usr/bin/kvm",
ovmf_vars_file: "/usr/share/ovmf/OVMF.fd",
ovmf_code_file: "/usr/share/ovmf/OVMF.fd",
},
}
[2025-10-02T14:33:00Z DEBUG ambient] configuration: Config {
tmpdir: "/home/_rad/tmp",
image_store: "/home/_rad/ambient-images",
projects: "/dev/null",
state: "/home/_rad/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(
1000000000,
),
cache_max_size: Byte(
30000000000,
),
qemu: QemuConfig {
cpus: 2,
memory: Byte(
12000000000,
),
kvm_binary: "/usr/bin/kvm",
ovmf_vars_file: "/usr/share/ovmf/OVMF.fd",
ovmf_code_file: "/usr/share/ovmf/OVMF.fd",
},
}
[2025-10-02T14:33:00Z DEBUG ambient_ci::project] load project state from /home/_rad/ambient-state/rad:z37oHWbEomJXUAqxd9hoQHWkg2pC8/meta.yaml
[2025-10-02T14:33:00Z DEBUG ambient_ci::run] latest commit: "90b19b6b18d1e76fe2796741c13c959159a5edaa"
[2025-10-02T14:33:00Z DEBUG ambient_ci::run] is a git repository
[2025-10-02T14:33:00Z DEBUG ambient_ci::run] git repository is clean
[2025-10-02T14:33:00Z DEBUG ambient_ci::run] current (HEAD) commit: 83666fb692e8df59192ea40ff31829012d6c73e8
[2025-10-02T14:33:00Z DEBUG ambient_ci::run] no dry run requested
[2025-10-02T14:33:00Z DEBUG ambient_ci::run] forced run requested
[2025-10-02T14:33:00Z DEBUG ambient_ci::run] run? true
[2025-10-02T14:33:00Z INFO ambient_ci::run] project rad:z37oHWbEomJXUAqxd9hoQHWkg2pC8: running CI
[2025-10-02T14:33:00Z DEBUG ambient_ci::run] Executing pre-plan steps
[2025-10-02T14:33:00Z DEBUG ambient_ci::plan] All actions were performed successfully
[2025-10-02T14:33:00Z DEBUG ambient_ci::run] create virtual drive /home/_rad/tmp/.tmp0HI7U2/src.tar
[2025-10-02T14:33:00Z DEBUG ambient_ci::run] create virtual drive /home/_rad/tmp/.tmp0HI7U2/deps.tar
[2025-10-02T14:33:00Z DEBUG ambient_ci::run] create_executor_vdrive: executor="/usr/bin/ambient-execute-plan"
[2025-10-02T14:33:00Z 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",
],
},
Shell {
shell: "echo hello Radicle!\n",
},
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-02T14:33:00Z DEBUG ambient_ci::run] executor bin /usr/bin/ambient-execute-plan
[2025-10-02T14:33:00Z DEBUG ambient_ci::run] copying /usr/bin/ambient-execute-plan to /home/_rad/tmp/.tmp0HI7U2/ambient-execute-plan/run-ci
[2025-10-02T14:33:00Z DEBUG ambient_ci::run] copy OK: true
[2025-10-02T14:33:00Z DEBUG ambient_ci::run] create virtual drive /home/_rad/tmp/.tmp0HI7U2/executor.tar
[2025-10-02T14:33:00Z DEBUG ambient_ci::project] removing run log file /home/_rad/ambient-state/rad:z37oHWbEomJXUAqxd9hoQHWkg2pC8/run.log
[2025-10-02T14:33:00Z DEBUG ambient_ci::project] statedir is /home/_rad/ambient-state/rad:z37oHWbEomJXUAqxd9hoQHWkg2pC8, exists? true
[2025-10-02T14:33:00Z DEBUG ambient_ci::project] creating run log file /home/_rad/ambient-state/rad:z37oHWbEomJXUAqxd9hoQHWkg2pC8/run.log
[2025-10-02T14:33:00Z DEBUG ambient_ci::project] created run log file /home/_rad/ambient-state/rad:z37oHWbEomJXUAqxd9hoQHWkg2pC8/run.log OK
[2025-10-02T14:33:00Z DEBUG ambient_ci::cloud_init] with_hostname called: "ambient"
[2025-10-02T14:33:00Z DEBUG ambient_ci::cloud_init] with_runcmd called: "echo xyzzy > /dev/ttyS1"
[2025-10-02T14:33:00Z 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-02T14:33:00Z DEBUG ambient_ci::cloud_init] with_runcmd called: "poweroff"
[2025-10-02T14:33:00Z 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-02T14:33:00Z DEBUG ambient_ci::qemu] run QEMU
[2025-10-02T14:33:00Z DEBUG ambient_ci::qemu] create copy-on-write image and UEFI vars file
[2025-10-02T14:33:00Z DEBUG ambient_ci::qemu_utils] qemu-img create /home/_rad/tmp/.tmpOVKjsy/.tmpCeKP8X/vm.qcow2 backing on /home/_rad/ambient.qcow2
[2025-10-02T14:33:00Z DEBUG ambient_ci::qemu] create cloud-init ISO file
[2025-10-02T14:33:00Z 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-02T14:33:00Z DEBUG ambient_ci::cloud_init] write /tmp/.tmpMrTbvR/meta-data
[2025-10-02T14:33:00Z DEBUG ambient_ci::cloud_init] write /tmp/.tmpMrTbvR/user-data
[2025-10-02T14:33:00Z DEBUG ambient_ci::qemu] set console log file to /home/_rad/tmp/.tmpOVKjsy/.tmpCeKP8X/console.log
[2025-10-02T14:33:00Z DEBUG ambient_ci::util] create file /home/_rad/tmp/.tmpOVKjsy/.tmpCeKP8X/console.log
[2025-10-02T14:33:00Z DEBUG ambient_ci::qemu] set run file to /home/_rad/ambient-state/rad:z37oHWbEomJXUAqxd9hoQHWkg2pC8/run.log
[2025-10-02T14:33:00Z DEBUG ambient_ci::util] create file /home/_rad/ambient-state/rad:z37oHWbEomJXUAqxd9hoQHWkg2pC8/run.log
[2025-10-02T14:33:00Z DEBUG ambient_ci::qemu] run QEMU: QemuArgs {
args: [
"-m",
"11444",
"-smp",
"cpus=2",
"-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:/home/_rad/tmp/.tmpOVKjsy/.tmpCeKP8X/console.log",
"-serial",
"file:/home/_rad/ambient-state/rad:z37oHWbEomJXUAqxd9hoQHWkg2pC8/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=/home/_rad/tmp/.tmpOVKjsy/.tmpCeKP8X/vars.fd",
"-drive",
"format=qcow2,if=virtio,file=/home/_rad/tmp/.tmpOVKjsy/.tmpCeKP8X/vm.qcow2",
"-drive",
"format=raw,if=virtio,file=/home/_rad/tmp/.tmp0HI7U2/executor.tar,readonly=on",
"-cdrom",
"/home/_rad/tmp/.tmpOVKjsy/.tmpCeKP8X/cloud_init.iso",
"-drive",
"format=raw,if=virtio,file=/home/_rad/tmp/.tmp0HI7U2/src.tar,readonly=on",
"-drive",
"format=raw,if=virtio,file=/home/_rad/tmp/.tmp0HI7U2/artifacts.tar",
"-drive",
"format=raw,if=virtio,file=/home/_rad/tmp/.tmp0HI7U2/cache.tar",
"-drive",
"format=raw,if=virtio,file=/home/_rad/tmp/.tmp0HI7U2/deps.tar,readonly=on",
"-nodefaults",
"-no-user-config",
],
}
[2025-10-02T14:33:05Z DEBUG ambient_ci::qemu] QEMU finished OK
[2025-10-02T14:33:05Z DEBUG ambient_ci::qemu] run log:
--------------------==========
[2025-10-02T14:33:03Z TRACE ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
[2025-10-02T14:33:03Z DEBUG ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
[2025-10-02T14:33:03Z INFO ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
[2025-10-02T14:33:03Z WARN ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 starts
[2025-10-02T14:33:03Z ERROR ambient_execute_plan] ambient-execute-plan version 0.8.0@735cb79 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: shell
shell: |
echo hello Radicle!
- 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-02T14:33:03Z DEBUG ambient_ci::plan] RUN: Action Mkdir {
pathname: "/workspace",
}
[2025-10-02T14:33:03Z DEBUG ambient_ci::action] Plan::execute: plan=Mkdir {
pathname: "/workspace",
}
[2025-10-02T14:33:03Z DEBUG ambient_ci::action] Plan::execute: context=Context {
envs: {
"CARGO_HOME": "/workspace/deps",
"CARGO_TARGET_DIR": "/workspace/cache",
"PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
},
source_dir: "/workspace/src",
}
[2025-10-02T14:33:03Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-02T14:33:03Z DEBUG ambient_ci::plan] RUN: Action Mkdir {
pathname: "/workspace/artifacts",
}
[2025-10-02T14:33:03Z DEBUG ambient_ci::action] Plan::execute: plan=Mkdir {
pathname: "/workspace/artifacts",
}
[2025-10-02T14:33:03Z DEBUG ambient_ci::action] Plan::execute: context=Context {
envs: {
"CARGO_HOME": "/workspace/deps",
"CARGO_TARGET_DIR": "/workspace/cache",
"PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
},
source_dir: "/workspace/src",
}
[2025-10-02T14:33:03Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-02T14:33:03Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
archive: "/dev/vdc",
directory: "/workspace/src",
}
[2025-10-02T14:33:03Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
archive: "/dev/vdc",
directory: "/workspace/src",
}
[2025-10-02T14:33:03Z DEBUG ambient_ci::action] Plan::execute: context=Context {
envs: {
"CARGO_HOME": "/workspace/deps",
"CARGO_TARGET_DIR": "/workspace/cache",
"PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
},
source_dir: "/workspace/src",
}
[2025-10-02T14:33:03Z TRACE ambient_ci::vdrive] extracting /dev/vdc to /workspace/src
[2025-10-02T14:33:03Z TRACE ambient_ci::vdrive] extraction OK
[2025-10-02T14:33:03Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-02T14:33:03Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
archive: "/dev/vdf",
directory: "/workspace/deps",
}
[2025-10-02T14:33:03Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
archive: "/dev/vdf",
directory: "/workspace/deps",
}
[2025-10-02T14:33:03Z DEBUG ambient_ci::action] Plan::execute: context=Context {
envs: {
"CARGO_HOME": "/workspace/deps",
"CARGO_TARGET_DIR": "/workspace/cache",
"PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
},
source_dir: "/workspace/src",
}
[2025-10-02T14:33:03Z TRACE ambient_ci::vdrive] extracting /dev/vdf to /workspace/deps
[2025-10-02T14:33:03Z TRACE ambient_ci::vdrive] extraction OK
[2025-10-02T14:33:03Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-02T14:33:03Z DEBUG ambient_ci::plan] RUN: Action TarExtract {
archive: "/dev/vde",
directory: "/workspace/cache",
}
[2025-10-02T14:33:03Z DEBUG ambient_ci::action] Plan::execute: plan=TarExtract {
archive: "/dev/vde",
directory: "/workspace/cache",
}
[2025-10-02T14:33:03Z DEBUG ambient_ci::action] Plan::execute: context=Context {
envs: {
"CARGO_HOME": "/workspace/deps",
"CARGO_TARGET_DIR": "/workspace/cache",
"PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
},
source_dir: "/workspace/src",
}
[2025-10-02T14:33:03Z TRACE ambient_ci::vdrive] extracting /dev/vde to /workspace/cache
[2025-10-02T14:33:03Z TRACE ambient_ci::vdrive] extraction OK
[2025-10-02T14:33:03Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-02T14:33:03Z DEBUG ambient_ci::plan] RUN: Action Spawn {
argv: [
"find",
"/workspace",
"-maxdepth",
"2",
"-ls",
],
}
[2025-10-02T14:33:03Z DEBUG ambient_ci::action] Plan::execute: plan=Spawn {
argv: [
"find",
"/workspace",
"-maxdepth",
"2",
"-ls",
],
}
[2025-10-02T14:33:03Z DEBUG ambient_ci::action] Plan::execute: context=Context {
envs: {
"CARGO_HOME": "/workspace/deps",
"CARGO_TARGET_DIR": "/workspace/cache",
"PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
},
source_dir: "/workspace/src",
}
SPAWN: argv=["find", "/workspace", "-maxdepth", "2", "-ls"]
cwd=/workspace/src (exists? true)
5242881 4 drwxr-xr-x 6 root root 4096 Oct 2 14:33 /workspace
5242882 4 drwxr-xr-x 2 root root 4096 Oct 2 14:33 /workspace/artifacts
5243510 4 drwxr-xr-x 2 root root 4096 Oct 2 14:15 /workspace/deps
5243511 4 drwxr-xr-x 2 root root 4096 Oct 2 14:15 /workspace/cache
5242883 4 drwxr-xr-x 11 root root 4096 Oct 2 14:33 /workspace/src
5243214 4 drwxr-xr-x 4 root root 4096 Oct 2 14:33 /workspace/src/api
5243196 12 -rw-r--r-- 1 root root 9792 Oct 2 14:33 /workspace/src/compose.yaml
5243389 4 -rw-r--r-- 1 root root 105 Oct 2 14:33 /workspace/src/.gitignore
5243398 4 -rw-r--r-- 1 root root 1524 Oct 2 14:33 /workspace/src/.env.example
5243401 4 drwxr-xr-x 8 root root 4096 Oct 2 14:33 /workspace/src/.git
5243197 4 -rw-r--r-- 1 root root 3661 Oct 2 14:33 /workspace/src/compose.production.yaml
5243399 4 drwxr-xr-x 2 root root 4096 Oct 2 14:33 /workspace/src/.config
5243190 4 drwxr-xr-x 2 root root 4096 Oct 2 14:33 /workspace/src/hooks
5243198 4 drwxr-xr-x 4 root root 4096 Oct 2 14:33 /workspace/src/auth
5243382 32 -rw-r--r-- 1 root root 32475 Oct 2 14:33 /workspace/src/LICENSE
5242886 4 drwxr-xr-x 2 root root 4096 Oct 2 14:33 /workspace/src/.radicle
5243195 4 -rw-r--r-- 1 root root 811 Oct 2 14:33 /workspace/src/config.json
5242884 0 lrwxrwxrwx 1 root root 19 Oct 2 14:33 /workspace/src/Cargo.toml -> api/rust/Cargo.toml
5243381 4 -rw-r--r-- 1 root root 2077 Oct 2 14:33 /workspace/src/Makefile
5243380 4 -rw-r--r-- 1 root root 1007 Oct 2 14:33 /workspace/src/README.md
5243390 4 drwxr-xr-x 3 root root 4096 Oct 2 14:33 /workspace/src/.github
5243384 4 drwxr-xr-x 2 root root 4096 Oct 2 14:33 /workspace/src/.woodpecker
5243383 4 -rw-r--r-- 1 root root 2594 Oct 2 14:33 /workspace/src/CONTRIBUTING.md
5242885 0 lrwxrwxrwx 1 root root 19 Oct 2 14:33 /workspace/src/Cargo.lock -> api/rust/Cargo.lock
5242888 4 drwxr-xr-x 9 root root 4096 Oct 2 14:33 /workspace/src/ui
[2025-10-02T14:33:03Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-02T14:33:03Z DEBUG ambient_ci::plan] RUN: Action Shell {
shell: "echo hello Radicle!\n",
}
[2025-10-02T14:33:03Z DEBUG ambient_ci::action] Plan::execute: plan=Shell {
shell: "echo hello Radicle!\n",
}
[2025-10-02T14:33:03Z DEBUG ambient_ci::action] Plan::execute: context=Context {
envs: {
"CARGO_HOME": "/workspace/deps",
"CARGO_TARGET_DIR": "/workspace/cache",
"PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
},
source_dir: "/workspace/src",
}
SPAWN: argv=["/bin/bash", "-c", "set -xeuo pipefail\necho hello Radicle!\n\n"]
cwd=/workspace/src (exists? true)
+ echo hello 'Radicle!'
hello Radicle!
[2025-10-02T14:33:03Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-02T14:33:03Z DEBUG ambient_ci::plan] RUN: Action TarCreate {
archive: "/dev/vde",
directory: "/workspace/cache",
}
[2025-10-02T14:33:03Z DEBUG ambient_ci::action] Plan::execute: plan=TarCreate {
archive: "/dev/vde",
directory: "/workspace/cache",
}
[2025-10-02T14:33:03Z DEBUG ambient_ci::action] Plan::execute: context=Context {
envs: {
"CARGO_HOME": "/workspace/deps",
"CARGO_TARGET_DIR": "/workspace/cache",
"PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
},
source_dir: "/workspace/src",
}
[2025-10-02T14:33:03Z TRACE ambient_ci::vdrive] creating virtual drive (tar archive): VirtualDriveBuilder {
filename: Some(
"/dev/vde",
),
root: Some(
"/workspace/cache",
),
size: None,
}
[2025-10-02T14:33:03Z TRACE ambient_ci::vdrive] tar archive to be created: /dev/vde; exists? true
[2025-10-02T14:33:03Z TRACE ambient_ci::vdrive] create archive file /dev/vde
[2025-10-02T14:33:03Z TRACE ambient_ci::vdrive] directory /workspace/cache exists? true
[2025-10-02T14:33:03Z TRACE ambient_ci::vdrive] add contents of /workspace/cache as .
[2025-10-02T14:33:03Z TRACE ambient_ci::vdrive] calling tar_create
[2025-10-02T14:33:03Z TRACE ambient_ci::vdrive] created virtual drive /dev/vde
[2025-10-02T14:33:03Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-02T14:33:03Z DEBUG ambient_ci::plan] RUN: Action TarCreate {
archive: "/dev/vdd",
directory: "/workspace/artifacts",
}
[2025-10-02T14:33:03Z DEBUG ambient_ci::action] Plan::execute: plan=TarCreate {
archive: "/dev/vdd",
directory: "/workspace/artifacts",
}
[2025-10-02T14:33:03Z DEBUG ambient_ci::action] Plan::execute: context=Context {
envs: {
"CARGO_HOME": "/workspace/deps",
"CARGO_TARGET_DIR": "/workspace/cache",
"PATH": "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
},
source_dir: "/workspace/src",
}
[2025-10-02T14:33:03Z TRACE ambient_ci::vdrive] creating virtual drive (tar archive): VirtualDriveBuilder {
filename: Some(
"/dev/vdd",
),
root: Some(
"/workspace/artifacts",
),
size: None,
}
[2025-10-02T14:33:03Z TRACE ambient_ci::vdrive] tar archive to be created: /dev/vdd; exists? true
[2025-10-02T14:33:03Z TRACE ambient_ci::vdrive] create archive file /dev/vdd
[2025-10-02T14:33:03Z TRACE ambient_ci::vdrive] directory /workspace/artifacts exists? true
[2025-10-02T14:33:03Z TRACE ambient_ci::vdrive] add contents of /workspace/artifacts as .
[2025-10-02T14:33:03Z TRACE ambient_ci::vdrive] calling tar_create
[2025-10-02T14:33:03Z TRACE ambient_ci::vdrive] created virtual drive /dev/vdd
[2025-10-02T14:33:03Z DEBUG ambient_ci::plan] RUN: Action finished OK
[2025-10-02T14:33:03Z DEBUG ambient_ci::plan] All actions were performed successfully
ambient-execute-plan ends
EXIT CODE: 0
====================
[2025-10-02T14:33:05Z DEBUG ambient_ci::qemu] QEMU: CI run under exit code 0
[2025-10-02T14:33:05Z DEBUG ambient_ci::run] CI run exit code from QEMU: 0
[2025-10-02T14:33:05Z DEBUG ambient_ci::run] remove old cache
[2025-10-02T14:33:05Z DEBUG ambient_ci::run] extract cache
[2025-10-02T14:33:05Z DEBUG ambient_ci::run] Executing post-plan steps
[2025-10-02T14:33:05Z DEBUG ambient_ci::plan] All actions were performed successfully
[2025-10-02T14:33:05Z DEBUG ambient_ci::project] write project state to /home/_rad/ambient-state/rad:z37oHWbEomJXUAqxd9hoQHWkg2pC8/meta.yaml
[2025-10-02T14:33:05Z INFO ambient] ambient ends successfully
<empty log>