Radicle repository id rad:zbWNQYkQ4QKgdSQcd1tjaemv6d6x
{
"request": "trigger",
"version": 1,
"event_type": "push",
"repository": {
"id": "rad:zbWNQYkQ4QKgdSQcd1tjaemv6d6x",
"name": "obnam",
"description": "Explore implementation of backup fundamentals",
"private": false,
"default_branch": "main",
"delegates": [
"did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV"
]
},
"pusher": {
"id": "did:key:z6MkkYez6QAFWvmdudjrfMXySu1NTpSrraJotCJFwGgkmgx8",
"alias": "ci0"
},
"before": "ae7c6f53858630b3d35c5480a954c11fcdf6ff3b",
"after": "ae7c6f53858630b3d35c5480a954c11fcdf6ff3b",
"branch": "main",
"commits": [
"ae7c6f53858630b3d35c5480a954c11fcdf6ff3b"
]
}[2025-05-16T05:06:02Z INFO ambient] ambient starts
[2J[01;01H[=3h[2J[01;01H[2J[01;01H[=3h[2J[01;01HBdsDxe: failed to load Boot0001 "UEFI QEMU DVD-ROM QM00003 " from PciRoot(0x0)/Pci(0x1,0x1)/Ata(Secondary,Master,0x0): Not Found
BdsDxe: loading Boot0002 "UEFI Misc Device" from PciRoot(0x0)/Pci(0x2,0x0)
BdsDxe: starting Boot0002 "UEFI Misc Device" from PciRoot(0x0)/Pci(0x2,0x0)
[0m[30m[47mWelcome to GRUB!
[0m[37m[40m[0m[30m[40m[2J[01;01H[0m[37m[40mINFO: Extracting tar archive from /dev/vdb
./
./plan.yaml
./run-ci
INFO: Running run-ci from /dev/vdb
================================ BEGIN ================================
ambient-execute-plan starts
RunnablePlan::from_file: filename=plan.yaml
steps:
- action: mkdir
pathname: /workspace
- action: mkdir
pathname: /workspace/artifacts
- action: tar_extract
archive: /dev/vdc
directory: /workspace/src
- action: tar_extract
archive: /dev/vdf
directory: /workspace/deps
- action: tar_extract
archive: /dev/vde
directory: /workspace/cache
- action: spawn
argv:
- find
- /workspace
- '-maxdepth'
- '2'
- '-ls'
- action: cargo_clippy
- action: cargo_build
- action: shell
shell: |
export PATH=/root/.cargo/bin:/bin:/sbin
export CARGO_TARGET_DIR=/workspace/cache
make subplot
- action: tar_create
archive: /dev/vde
directory: /workspace/cache
- action: tar_create
archive: /dev/vdd
directory: /workspace/artifacts
executor_drive: /dev/vdb
source_drive: /dev/vdc
artifact_drive: /dev/vdd
cache_drive: /dev/vde
deps_drive: /dev/vdf
workspace_dir: /workspace
source_dir: /workspace/src
deps_dir: /workspace/deps
cache_dir: /workspace/cache
artifacts_dir: /workspace/artifacts
RUN: Action Mkdir {
pathname: "/workspace",
}
RUN: Action finished OK
RUN: Action Mkdir {
pathname: "/workspace/artifacts",
}
RUN: Action finished OK
RUN: Action TarExtract {
archive: "/dev/vdc",
directory: "/workspace/src",
}
RUN: Action finished OK
RUN: Action TarExtract {
archive: "/dev/vdf",
directory: "/workspace/deps",
}
RUN: Action finished OK
RUN: Action TarExtract {
archive: "/dev/vde",
directory: "/workspace/cache",
}
RUN: Action finished OK
RUN: Action Spawn {
argv: [
"find",
"/workspace",
"-maxdepth",
"2",
"-ls",
],
}
SPAWN: argv=["find", "/workspace", "-maxdepth", "2", "-ls"]
cwd=/workspace/src (exists? true)
extra_env=[]
131073 4 drwxr-xr-x 6 root root 4096 May 16 05:05 /workspace
131074 4 drwxr-xr-x 2 root root 4096 May 16 05:05 /workspace/artifacts
131146 4 drwxr-xr-x 3 root root 4096 May 16 05:05 /workspace/deps
131149 4 drwxr-xr-x 5 root root 4096 Apr 9 04:08 /workspace/deps/registry
131147 56 -rw-r--r-- 1 root root 57344 May 16 05:05 /workspace/deps/.global-cache
131148 0 -rw-r--r-- 1 root root 0 Apr 9 04:08 /workspace/deps/.package-cache
134876 4 drwxr-xr-x 3 root root 4096 Apr 9 04:08 /workspace/cache
134877 4 drwxr-xr-x 7 root root 4096 May 12 13:57 /workspace/cache/debug
137060 4 -rw-r--r-- 1 root root 1033 May 12 13:57 /workspace/cache/.rustc_info.json
131075 4 drwxr-xr-x 5 root root 4096 May 16 05:05 /workspace/src
131141 4 -rw-r--r-- 1 root root 300 May 16 05:05 /workspace/src/Makefile
131142 4 -rw-r--r-- 1 root root 1947 May 16 05:05 /workspace/src/obnam.md
131143 4 -rw-r--r-- 1 root root 163 May 16 05:05 /workspace/src/obnam.yaml
131090 4 -rw-r--r-- 1 root root 717 May 16 05:05 /workspace/src/obnam.py
131088 4 -rw-r--r-- 1 root root 22 May 16 05:05 /workspace/src/.gitignore
131087 4 -rw-r--r-- 1 root root 189 May 16 05:05 /workspace/src/README.md
131145 4 -rw-r--r-- 1 root root 224 May 16 05:05 /workspace/src/obnam.subplot
131076 4 drwxr-xr-x 2 root root 4096 May 16 05:05 /workspace/src/.radicle
131089 4 -rw-r--r-- 1 root root 345 May 16 05:05 /workspace/src/Cargo.toml
131078 4 drwxr-xr-x 3 root root 4096 May 16 05:05 /workspace/src/src
131091 4 drwxr-xr-x 8 root root 4096 May 16 05:05 /workspace/src/.git
131144 16 -rw-r--r-- 1 root root 14559 May 16 05:05 /workspace/src/Cargo.lock
RUN: Action finished OK
RUN: Action CargoClippy
SPAWN: argv=["cargo", "clippy", "--offline", "--locked", "--workspace", "--all-targets", "--no-deps", "--", "--deny", "warnings"]
cwd=/workspace/src (exists? true)
extra_env=[("CARGO_TARGET_DIR", "/workspace/cache"), ("CARGO_HOME", "/workspace/deps"), ("PATH", "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin")]
Checking obnam v0.1.0 (/workspace/src)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.34s
RUN: Action finished OK
RUN: Action CargoBuild
SPAWN: argv=["cargo", "build", "--offline", "--locked", "--workspace", "--all-targets"]
cwd=/workspace/src (exists? true)
extra_env=[("CARGO_TARGET_DIR", "/workspace/cache"), ("CARGO_HOME", "/workspace/deps"), ("PATH", "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin")]
Compiling obnam v0.1.0 (/workspace/src)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.84s
RUN: Action finished OK
RUN: Action Shell {
shell: "export PATH=/root/.cargo/bin:/bin:/sbin\nexport CARGO_TARGET_DIR=/workspace/cache\nmake subplot\n",
}
SPAWN: argv=["/bin/bash", "-c", "set -xeuo pipefail\nexport PATH=/root/.cargo/bin:/bin:/sbin\nexport CARGO_TARGET_DIR=/workspace/cache\nmake subplot\n\n"]
cwd=/workspace/src (exists? true)
extra_env=[]
+ export PATH=/root/.cargo/bin:/bin:/sbin
+ PATH=/root/.cargo/bin:/bin:/sbin
+ export CARGO_TARGET_DIR=/workspace/cache
+ CARGO_TARGET_DIR=/workspace/cache
+ make subplot
subplot docgen obnam.subplot --output obnam.html
[32m INFO[0m Starting Subplot
[32m INFO[0m Subplot finished successfully
rm -f test.py test.log
subplot codegen obnam.subplot --output test.py
[32m INFO[0m Starting Subplot
[32m INFO[0m Subplot finished successfully
python3 test.py --log test.log
srcdir /workspace/src
datadir /tmp/tmpz541j4uu
scenario: Inspect an encoded chunk
step: given an installed obnam
step: given file greeting.txt
step: when I run obnam chunk encode --label sticky.tape greeting.txt --output encoded.chunk --version 0
step: when I run obnam chunk inspect encoded.chunk
step: then stdout is valid JSON
step: then stdout contains ""version": 0"
step: then stdout contains ""id": null"
step: then stdout contains ""label": null"
step: then stdout contains ""data": null"
step: when I run obnam chunk encode --label sticky.tape greeting.txt --output encoded.chunk
step: when I run obnam chunk inspect encoded.chunk
step: then stdout is valid JSON
step: then stdout contains ""version": 1"
step: then stdout contains ""id":"
step: then stdout contains ""label": "sticky.tape""
step: then stdout contains ""data": "Hello, world.\\n""
step: when I run obnam chunk encode --kind json --label sticky.tape greeting.txt --output encoded.chunk
step: when I run obnam chunk inspect encoded.chunk
step: then stdout is valid JSON
step: then stdout contains ""version": 1"
step: then stdout contains ""id":"
step: then stdout contains ""label": "sticky.tape""
step: then stdout contains ""data": "Hello, world.\\n""
scenario: Chunk encode/decode round trip
step: given an installed obnam
step: given file greeting.txt
step: when I run obnam chunk encode --label sticky.tape greeting.txt --output encoded.chunk
step: when I run obnam chunk decode encoded.chunk
step: then stdout is exactly "Hello, world.\n"
OK, all scenarios finished successfully
RUN: Action finished OK
RUN: Action TarCreate {
archive: "/dev/vde",
directory: "/workspace/cache",
}
RUN: Action finished OK
RUN: Action TarCreate {
archive: "/dev/vdd",
directory: "/workspace/artifacts",
}
RUN: Action finished OK
ambient-execute-plan ends
EXIT CODE: 0
[2025-05-16T05:06:02Z INFO ambient] ambient ends successfully