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": "a8ad35956fdcd825aeb4751aee247d5a5eb1d5a2",
"after": "a8ad35956fdcd825aeb4751aee247d5a5eb1d5a2",
"branch": "main",
"commits": [
"a8ad35956fdcd825aeb4751aee247d5a5eb1d5a2"
]
}[2025-05-20T10:47:30Z 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: 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=[]
6029313 4 drwxr-xr-x 6 root root 4096 May 20 10:47 /workspace
6029400 4 drwxr-xr-x 3 root root 4096 May 20 10:46 /workspace/deps
6029401 56 -rw-r--r-- 1 root root 57344 May 20 10:46 /workspace/deps/.global-cache
6029402 0 -rw-r--r-- 1 root root 0 Apr 9 04:08 /workspace/deps/.package-cache
6029403 4 drwxr-xr-x 5 root root 4096 Apr 9 04:08 /workspace/deps/registry
6034872 4 drwxr-xr-x 3 root root 4096 Apr 9 04:08 /workspace/cache
6039196 4 -rw-r--r-- 1 root root 1034 May 18 07:09 /workspace/cache/.rustc_info.json
6034873 4 drwxr-xr-x 7 root root 4096 May 18 07:09 /workspace/cache/debug
6029316 4 drwxr-xr-x 5 root root 4096 May 20 10:46 /workspace/src
6029396 4 -rw-r--r-- 1 root root 1458 May 20 10:46 /workspace/src/obnam.md
6029317 4 drwxr-xr-x 2 root root 4096 May 20 10:46 /workspace/src/.radicle
6029330 4 -rw-r--r-- 1 root root 22 May 20 10:46 /workspace/src/.gitignore
6029332 4 -rw-r--r-- 1 root root 717 May 20 10:46 /workspace/src/obnam.py
6029331 4 -rw-r--r-- 1 root root 368 May 20 10:46 /workspace/src/Cargo.toml
6029319 4 drwxr-xr-x 3 root root 4096 May 20 10:46 /workspace/src/src
6029395 4 -rw-r--r-- 1 root root 300 May 20 10:46 /workspace/src/Makefile
6029399 4 -rw-r--r-- 1 root root 224 May 20 10:46 /workspace/src/obnam.subplot
6029398 20 -rw-r--r-- 1 root root 18985 May 20 10:46 /workspace/src/Cargo.lock
6029329 4 -rw-r--r-- 1 root root 189 May 20 10:46 /workspace/src/README.md
6029333 4 drwxr-xr-x 8 root root 4096 May 20 10:46 /workspace/src/.git
6029397 4 -rw-r--r-- 1 root root 163 May 20 10:46 /workspace/src/obnam.yaml
6029315 4 drwxr-xr-x 2 root root 4096 May 20 10:47 /workspace/artifacts
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 0.79s
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 4.05s
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/tmp6_s7ufdj
scenario: Inspect an encoded chunk
step: given an installed obnam
step: given file greeting.txt
step: when I run obnam chunk encrypt --label sticky.tape --key secret greeting.txt --output chunk.file
step: when I run obnam chunk inspect chunk.file
step: then stdout is valid JSON
step: then stdout contains ""id":"
step: then stdout contains ""label":"
step: then stdout contains ""data": null"
step: when I run obnam chunk inspect chunk.file --key secret
step: then stdout is valid JSON
step: then stdout contains ""id":"
step: then stdout contains ""label":"
step: then stdout contains ""data": ""
scenario: Chunk encrypt/decrypt round trip
step: given an installed obnam
step: given file greeting.txt
step: when I run obnam chunk encrypt --key secret --label sticky.tape greeting.txt --output chunk.file
step: when I run obnam chunk decrypt --key secret chunk.file
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-20T10:47:30Z INFO ambient] ambient ends successfully