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:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV",
"alias": "liw"
},
"before": "36497f52e27f7a88fe812f4b182e4575d1517cd0",
"after": "36497f52e27f7a88fe812f4b182e4575d1517cd0",
"branch": "main",
"commits": [
"36497f52e27f7a88fe812f4b182e4575d1517cd0",
"3262887c0ca0aec95ebb34bd65c75820f4fba9dd"
]
}[2025-05-10T14:55:52Z 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_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=[]
131073 4 drwxr-xr-x 6 root root 4096 May 10 14:55 /workspace
131074 4 drwxr-xr-x 2 root root 4096 May 10 14:55 /workspace/artifacts
131186 4 drwxr-xr-x 3 root root 4096 May 10 14:55 /workspace/deps
131189 4 drwxr-xr-x 5 root root 4096 Apr 9 04:21 /workspace/deps/registry
131187 56 -rw-r--r-- 1 root root 57344 May 10 14:55 /workspace/deps/.global-cache
131188 0 -rw-r--r-- 1 root root 0 Apr 9 04:21 /workspace/deps/.package-cache
139300 4 drwxr-xr-x 4 root root 4096 Apr 9 04:21 /workspace/cache
139301 4 drwxr-xr-x 7 root root 4096 Apr 30 10:27 /workspace/cache/debug
141695 4 drwxr-xr-x 7 root root 4096 Apr 30 10:27 /workspace/cache/doc
141693 4 -rw-r--r-- 1 root root 218 Apr 14 11:13 /workspace/cache/.rustdoc_fingerprint.json
141694 4 -rw-r--r-- 1 root root 1033 Apr 30 10:27 /workspace/cache/.rustc_info.json
131075 4 drwxr-xr-x 6 root root 4096 May 10 14:55 /workspace/src
131106 4 -rw-r--r-- 1 root root 1377 May 10 14:55 /workspace/src/sopass.1
131184 4 -rw-r--r-- 1 root root 480 May 10 14:55 /workspace/src/Makefile
131108 4 -rw-r--r-- 1 root root 206 May 10 14:55 /workspace/src/sopass.subplot
131110 4 -rw-r--r-- 1 root root 20 May 10 14:55 /workspace/src/.gitignore
131109 4 -rw-r--r-- 1 root root 82 May 10 14:55 /workspace/src/sopass.yaml
131107 4 -rw-r--r-- 1 root root 1109 May 10 14:55 /workspace/src/README.md
131076 4 drwxr-xr-x 2 root root 4096 May 10 14:55 /workspace/src/.radicle
131111 4 -rw-r--r-- 1 root root 517 May 10 14:55 /workspace/src/Cargo.toml
131095 4 drwxr-xr-x 3 root root 4096 May 10 14:55 /workspace/src/debian
131112 20 -rw-r--r-- 1 root root 17262 May 10 14:55 /workspace/src/sopass.md
131094 4 -rw-r--r-- 1 root root 3822 May 10 14:55 /workspace/src/NEWS.md
131093 4 -rw-r--r-- 1 root root 289 May 10 14:55 /workspace/src/pass-to-sopass.sh
131183 4 -rw-r--r-- 1 root root 447 May 10 14:55 /workspace/src/sopass.py
131078 4 drwxr-xr-x 3 root root 4096 May 10 14:55 /workspace/src/src
131113 4 drwxr-xr-x 8 root root 4096 May 10 14:55 /workspace/src/.git
131185 20 -rw-r--r-- 1 root root 19397 May 10 14:55 /workspace/src/Cargo.lock
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")]
Checking sopass v0.5.0 (/workspace/src)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.71s
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 sopass v0.5.0 (/workspace/src)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.08s
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 0.77s
cargo build --offline --locked --all-targets
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.08s
cargo test --offline --locked --all-targets
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s
Running unittests src/lib.rs (/workspace/cache/debug/deps/sopass-2a27bb145b604eff)
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-9a77b248522e5cf3)
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.07s
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.80s
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/tmp5sfthod7
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: 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: 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"
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: 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: 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: 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: 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: 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: 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"
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-10T14:55:52Z INFO ambient] ambient ends successfully