Radicle repository id rad:z4ExzU1jYHivznhtDPvuTL9z5Ebit
{
"request": "trigger",
"version": 1,
"event_type": "push",
"repository": {
"id": "rad:z4ExzU1jYHivznhtDPvuTL9z5Ebit",
"name": "sopass",
"description": "A command line password manager using SOP",
"private": false,
"default_branch": "main",
"delegates": [
"did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV"
]
},
"pusher": {
"id": "did:key:z6MkkYez6QAFWvmdudjrfMXySu1NTpSrraJotCJFwGgkmgx8",
"alias": "ci0"
},
"before": "36497f52e27f7a88fe812f4b182e4575d1517cd0",
"after": "36497f52e27f7a88fe812f4b182e4575d1517cd0",
"branch": "main",
"commits": [
"36497f52e27f7a88fe812f4b182e4575d1517cd0"
]
}[2025-05-19T14:50:57Z 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_fmt
- action: cargo_clippy
- action: cargo_build
- action: shell
shell: |
export PATH="/root/.cargo/bin:/bin:/sbin"
export SOPASS_LOG=trace
export CARGO_TARGET_DIR=/workspace/cache
export CARGO_HOME=/workspace/deps
make OFFLINE="--offline --locked"
- 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 19 14:49 /workspace
6029431 4 drwxr-xr-x 3 root root 4096 May 19 14:48 /workspace/deps
6029432 56 -rw-r--r-- 1 root root 57344 May 19 14:48 /workspace/deps/.global-cache
6029433 0 -rw-r--r-- 1 root root 0 Apr 9 04:21 /workspace/deps/.package-cache
6029434 4 drwxr-xr-x 5 root root 4096 Apr 9 04:21 /workspace/deps/registry
6037545 4 drwxr-xr-x 4 root root 4096 Apr 9 04:21 /workspace/cache
6040252 4 -rw-r--r-- 1 root root 218 Apr 14 11:13 /workspace/cache/.rustdoc_fingerprint.json
6040253 4 -rw-r--r-- 1 root root 1033 May 16 05:16 /workspace/cache/.rustc_info.json
6040254 4 drwxr-xr-x 7 root root 4096 May 16 05:16 /workspace/cache/doc
6037546 4 drwxr-xr-x 7 root root 4096 May 16 05:16 /workspace/cache/debug
6029316 4 drwxr-xr-x 6 root root 4096 May 19 14:48 /workspace/src
6029428 4 -rw-r--r-- 1 root root 447 May 19 14:48 /workspace/src/sopass.py
6029317 4 drwxr-xr-x 2 root root 4096 May 19 14:48 /workspace/src/.radicle
6029353 20 -rw-r--r-- 1 root root 17262 May 19 14:48 /workspace/src/sopass.md
6029336 4 drwxr-xr-x 3 root root 4096 May 19 14:48 /workspace/src/debian
6029349 4 -rw-r--r-- 1 root root 206 May 19 14:48 /workspace/src/sopass.subplot
6029334 4 -rw-r--r-- 1 root root 289 May 19 14:48 /workspace/src/pass-to-sopass.sh
6029335 4 -rw-r--r-- 1 root root 3822 May 19 14:48 /workspace/src/NEWS.md
6029351 4 -rw-r--r-- 1 root root 20 May 19 14:48 /workspace/src/.gitignore
6029350 4 -rw-r--r-- 1 root root 82 May 19 14:48 /workspace/src/sopass.yaml
6029352 4 -rw-r--r-- 1 root root 517 May 19 14:48 /workspace/src/Cargo.toml
6029319 4 drwxr-xr-x 3 root root 4096 May 19 14:48 /workspace/src/src
6029429 4 -rw-r--r-- 1 root root 480 May 19 14:48 /workspace/src/Makefile
6029430 20 -rw-r--r-- 1 root root 19397 May 19 14:48 /workspace/src/Cargo.lock
6029348 4 -rw-r--r-- 1 root root 1109 May 19 14:48 /workspace/src/README.md
6029354 4 drwxr-xr-x 8 root root 4096 May 19 14:48 /workspace/src/.git
6029347 4 -rw-r--r-- 1 root root 1377 May 19 14:48 /workspace/src/sopass.1
6029315 4 drwxr-xr-x 2 root root 4096 May 19 14:48 /workspace/artifacts
RUN: Action finished OK
RUN: Action 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
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.92
Compiling unicode-ident v1.0.14
Compiling libc v0.2.169
Checking memchr v2.7.4
Compiling rustix v0.38.42
Checking linux-raw-sys v0.4.14
Checking bitflags v2.6.0
Checking utf8parse v0.2.2
Compiling serde v1.0.217
Checking anstyle-parse v0.2.6
Checking aho-corasick v1.1.3
Compiling quote v1.0.38
Compiling syn v2.0.92
Checking anstyle-query v1.1.2
Checking colorchoice v1.0.3
Checking anstyle v1.0.10
Checking regex-syntax v0.8.5
Checking is_terminal_polyfill v1.70.1
Checking regex-automata v0.4.9
Checking anstream v0.6.18
Checking option-ext v0.2.0
Compiling thiserror v1.0.69
Checking itoa v1.0.14
Checking ryu v1.0.18
Checking equivalent v1.0.1
Checking hashbrown v0.15.2
Checking terminal_size v0.4.1
Checking dirs-sys v0.4.1
Checking cfg-if v1.0.0
Checking unsafe-libyaml v0.2.11
Checking regex v1.11.1
Checking indexmap v2.7.1
Compiling thiserror v2.0.9
Checking clap_lex v0.7.4
Checking log v0.4.22
Compiling serde_json v1.0.134
Compiling heck v0.5.0
Checking strsim v0.11.1
Checking clap_builder v4.5.23
Checking env_filter v0.1.3
Checking directories v5.0.1
Checking dirs-sys-next v0.1.2
Checking once_cell v1.20.2
Checking fastrand v2.3.0
Checking humantime v2.1.0
Compiling serde_derive v1.0.217
Compiling thiserror-impl v1.0.69
Compiling thiserror-impl v2.0.9
Compiling clap_derive v4.5.18
Checking env_logger v0.11.6
Checking tempfile v3.14.0
Checking directories-next v2.0.0
Checking clap v4.5.23
Checking serde_yaml v0.9.34+deprecated
Checking confy v0.6.1
Checking sopass v0.5.0 (/workspace/src)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.83s
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 memchr v2.7.4
Compiling libc v0.2.169
Compiling utf8parse v0.2.2
Compiling linux-raw-sys v0.4.14
Compiling bitflags v2.6.0
Compiling anstyle-parse v0.2.6
Compiling rustix v0.38.42
Compiling anstyle v1.0.10
Compiling aho-corasick v1.1.3
Compiling regex-syntax v0.8.5
Compiling is_terminal_polyfill v1.70.1
Compiling colorchoice v1.0.3
Compiling anstyle-query v1.1.2
Compiling anstream v0.6.18
Compiling serde v1.0.217
Compiling regex-automata v0.4.9
Compiling ryu v1.0.18
Compiling equivalent v1.0.1
Compiling option-ext v0.2.0
Compiling hashbrown v0.15.2
Compiling itoa v1.0.14
Compiling dirs-sys v0.4.1
Compiling terminal_size v0.4.1
Compiling clap_lex v0.7.4
Compiling unsafe-libyaml v0.2.11
Compiling indexmap v2.7.1
Compiling log v0.4.22
Compiling strsim v0.11.1
Compiling cfg-if v1.0.0
Compiling clap_builder v4.5.23
Compiling serde_yaml v0.9.34+deprecated
Compiling thiserror v1.0.69
Compiling regex v1.11.1
Compiling env_filter v0.1.3
Compiling directories v5.0.1
Compiling dirs-sys-next v0.1.2
Compiling once_cell v1.20.2
Compiling humantime v2.1.0
Compiling fastrand v2.3.0
Compiling env_logger v0.11.6
Compiling tempfile v3.14.0
Compiling clap v4.5.23
Compiling thiserror v2.0.9
Compiling directories-next v2.0.0
Compiling confy v0.6.1
Compiling serde_json v1.0.134
Compiling sopass v0.5.0 (/workspace/src)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.79s
RUN: Action finished OK
RUN: Action Shell {
shell: "export PATH=\"/root/.cargo/bin:/bin:/sbin\"\nexport SOPASS_LOG=trace\nexport CARGO_TARGET_DIR=/workspace/cache\nexport CARGO_HOME=/workspace/deps\n\nmake OFFLINE=\"--offline --locked\"\n",
}
SPAWN: argv=["/bin/bash", "-c", "set -xeuo pipefail\nexport PATH=\"/root/.cargo/bin:/bin:/sbin\"\nexport SOPASS_LOG=trace\nexport CARGO_TARGET_DIR=/workspace/cache\nexport CARGO_HOME=/workspace/deps\n\nmake OFFLINE=\"--offline --locked\"\n\n"]
cwd=/workspace/src (exists? true)
extra_env=[]
+ export PATH=/root/.cargo/bin:/bin:/sbin
+ PATH=/root/.cargo/bin:/bin:/sbin
+ export SOPASS_LOG=trace
+ SOPASS_LOG=trace
+ export CARGO_TARGET_DIR=/workspace/cache
+ CARGO_TARGET_DIR=/workspace/cache
+ export CARGO_HOME=/workspace/deps
+ CARGO_HOME=/workspace/deps
+ make 'OFFLINE=--offline --locked'
subplot docgen sopass.subplot -o sopass.html
[32m INFO[0m Starting Subplot
[32m INFO[0m Subplot finished successfully
cargo clippy --offline --locked --all-targets -- -Dwarnings
Checking sopass v0.5.0 (/workspace/src)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.06s
cargo build --offline --locked --all-targets
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.17s
cargo test --offline --locked --all-targets
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
Running unittests src/lib.rs (/workspace/cache/debug/deps/sopass-a60c5327a59fbb44)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/main.rs (/workspace/cache/debug/deps/sopass-38366486db0bb0f1)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
cargo test --offline --locked --doc
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
Doc-tests sopass
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
cargo doc --offline --locked --no-deps
Documenting sopass v0.5.0 (/workspace/src)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.84s
Generated /workspace/cache/doc/sopass/index.html
rm -f test.py test.log
subplot codegen sopass.subplot -o test.py
[32m INFO[0m Starting Subplot
[32m INFO[0m Subplot finished successfully
SOPASS_LOG=trace python3 test.py --log test.log
srcdir /workspace/src
datadir /tmp/tmp1phg5i7y
scenario: Loads default configuration file
step: given an installed sopass
bindir /workspace/cache/debug
step: given file .config/sopass/sopass.yml from default.yaml
step: when I run env HOME=. sopass config
step: then stdout contains ""store": "/over/the/rainbow""
scenario: Manages certificates
step: given an installed sopass
bindir /workspace/cache/debug
step: given file my.key
step: given file other.key
step: given file other.cert
step: when I run sopass --store xyzzy init --name primary --key my.key
step: when I run sopass --store xyzzy cert list
step: then stdout is exactly "primary\n"
step: when I run sopass --store xyzzy cert add --name secondary --cert other.cert
step: when I run sopass --store xyzzy cert list
step: then stdout contains "primary"
step: then stdout contains "secondary"
step: when I run mv other.key xyzzy/default.key
step: when I run rm my.key
step: when I run sopass --store xyzzy cert list
step: then stdout contains "primary"
step: then stdout contains "secondary"
step: when I run sopass --store xyzzy cert remove primary
step: when I run sopass --store xyzzy cert list
step: then stdout doesn't contain "primary"
step: then stdout contains "secondary"
step: when I try to run sopass --store xyzzy cert remove secondary
step: then command fails
step: then stderr contains "secondary"
step: when I run sopass --store xyzzy cert list
step: then stdout contains "secondary"
scenario: Loads specified configuration file
step: given an installed sopass
bindir /workspace/cache/debug
step: when I try to run sopass --config custom.yaml config
step: then command fails
step: then stderr contains "custom.yaml"
step: given file custom.yaml
step: when I run sopass --config custom.yaml config
step: then stdout contains ""sop": "soppy""
scenario: Showing value that does not exist fails
step: given an installed sopass
bindir /workspace/cache/debug
step: given file my.key
step: when I run sopass --store xyzzy init --name primary --key my.key
step: when I try to run sopass --store xyzzy value show foo
step: then command fails
step: then stderr contains "foo"
step: then stdout is exactly ""
scenario: Reports a default configuration
step: given an installed sopass
bindir /workspace/cache/debug
step: when I run sopass config
step: then stdout contains ""store": "/"
step: then stdout contains ""sop": ""
step: then stdout contains ""key_file": ""
step: then file .config/sopass/sopass.yml does not exist
scenario: Imports from a file
step: given an installed sopass
bindir /workspace/cache/debug
step: given file my.key
step: given file value.dat
step: given file yo.dat
step: when I run sopass --store xyzzy init --name primary --key my.key
step: when I run sopass --store xyzzy value add foo --file value.dat
step: when I run sopass --store xyzzy value add bar --file value.dat
step: when I run sopass --store xyzzy value add yo --file value.dat
step: when I run sopass --store xyzzy export store.json
step: when I run sopass --store new init --name primary --key my.key
step: when I run sopass --store new value add foo --file yo.dat
step: when I run sopass --store new value add bar --file yo.dat
step: when I run sopass --store new import store.json
step: when I run sopass --store new value list
step: then stdout contains "foo"
step: then stdout contains "bar"
step: then stdout contains "yo"
step: when I run sopass --store new value show foo
step: then stdout is exactly "bar\n"
step: when I run sopass --store new value show bar
step: then stdout is exactly "bar\n"
step: when I run sopass --store new value show yo
step: then stdout is exactly "bar\n"
scenario: Exports store to file
step: given an installed sopass
bindir /workspace/cache/debug
step: given file my.key
step: when I run sopass --store xyzzy init --name primary --key my.key
step: given file value.dat
step: when I run sopass --store xyzzy value add foo --file value.dat
step: when I run sopass --store xyzzy export store.json
step: when I run cat store.json
step: then file store.json contains ""certs":"
step: then file store.json contains ""primary":"
step: then file store.json contains ""kv":"
step: then file store.json contains ""foo":"
scenario: Rejects unknown field in configuration file
step: given an installed sopass
bindir /workspace/cache/debug
step: given file unknown.yaml
step: when I try to run sopass --config unknown.yaml config
step: then command fails
step: then stderr contains "unknown"
scenario: Manages values
step: given an installed sopass
bindir /workspace/cache/debug
step: given file my.key
step: when I run sopass --store xyzzy init --name primary --key my.key
step: when I run sopass --store xyzzy value list
step: then stdout is exactly ""
step: given file value.dat
step: when I run sopass --store xyzzy value add foo --file value.dat
step: when I run sopass --store xyzzy value list
step: then stdout is exactly "foo\n"
step: when I run sopass --store xyzzy value show foo
step: then stdout is exactly "bar\n"
step: when I run sopass --store xyzzy value remove foo
step: then stdout is exactly ""
step: given file add-stdin.sh
step: when I run sh add-stdin.sh
step: when I run sopass --store xyzzy value list
step: then stdout is exactly "foo\n"
step: when I run sopass --store xyzzy value show foo
step: then stdout is exactly "bar\n"
step: when I run sopass --store xyzzy value remove foo
step: then stdout is exactly ""
scenario: Reports its version
step: given an installed sopass
bindir /workspace/cache/debug
step: when I run sopass --version
step: then stdout matches regex ^sopass \\d+\\.\\d+\\.\\d+$
step: when I run sopass version
step: then stdout matches regex ^sopass \\d+\\.\\d+\\.\\d+$
scenario: Initializes the password store
step: given an installed sopass
bindir /workspace/cache/debug
step: given file my.key
step: then directory xyzzy does not exist
step: when I run sopass --store xyzzy init --name primary --key my.key
step: then file xyzzy/values.sopass exists
scenario: Renames values
step: given an installed sopass
bindir /workspace/cache/debug
step: given file my.key
step: when I run sopass --store xyzzy init --name primary --key my.key
step: given file value.dat
step: when I run sopass --store xyzzy value add foo --file value.dat
step: when I run sopass --store xyzzy value add foobar --file value.dat
step: when I try to run sopass --store xyzzy value rename ghost yo
step: then command fails
step: then stderr contains "ghost"
step: when I try to run sopass --store xyzzy value rename foo foobar
step: then command fails
step: then stderr contains "foobar"
step: when I run sopass --store xyzzy value rename foo yo
step: when I run sopass --store xyzzy value list
step: then stdout is exactly "foobar\nyo\n"
OK, all scenarios finished successfully
rm -f test.py test.log
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-19T14:50:57Z INFO ambient] ambient ends successfully