Radicle repository id rad:z4ExzU1jYHivznhtDPvuTL9z5Ebit
{
"request": "trigger",
"version": 1,
"event_type": "patch",
"repository": {
"id": "rad:z4ExzU1jYHivznhtDPvuTL9z5Ebit",
"name": "sopass",
"description": "A command line password manager using SOP",
"private": false,
"default_branch": "main",
"delegates": [
"did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV"
]
},
"action": "Created",
"patch": {
"id": "6a1b23b6cb60a2613786c84f4acd5488a5a41454",
"author": {
"id": "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV",
"alias": "liw"
},
"title": "use clingwrap crate",
"state": {
"status": "open",
"conflicts": []
},
"before": "595b1f74e51d9b401483f81126a7ceccf276df83",
"after": "6ca779a7d9d7f3cd125fa9fad8ae6b792e4385c8",
"commits": [
"6ca779a7d9d7f3cd125fa9fad8ae6b792e4385c8",
"e55d474a506075bf11111ab2fa025b233d886011",
"fd61c0cfc8437c4d0f3859479f2f2841d385d053"
],
"target": "595b1f74e51d9b401483f81126a7ceccf276df83",
"labels": [],
"assignees": [],
"revisions": [
{
"id": "6a1b23b6cb60a2613786c84f4acd5488a5a41454",
"author": {
"id": "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV",
"alias": "liw"
},
"description": "",
"base": "595b1f74e51d9b401483f81126a7ceccf276df83",
"oid": "6ca779a7d9d7f3cd125fa9fad8ae6b792e4385c8",
"timestamp": 1751973922
}
]
}
}[2025-07-08T11:26:35Z 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: |
make sopass.html
mv sopass.html /workspace/artifacts/sopass.html
- action: shell
shell: |
export DEBEMAIL=liw@liw.fi
export DEBFULLNAME="Lars Wirzenius"
export HOME=/root
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"
git clean -fdx
V="$(dpkg-parsechangelog -SVersion | sed 's/-[^-]*$//')"
T="$(date -u "+%Y%m%dT%H%M%S")"
version="$V.ci$T-1"
dch -v "$version" "CI build under Ambient."
dch -r ''
- action: deb
- 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=[]
1048577 4 drwxr-xr-x 6 root root 4096 Jul 8 11:25 /workspace
1058214 4 drwxr-xr-x 2 root root 4096 Jul 8 11:25 /workspace/cache
1048579 4 drwxr-xr-x 6 root root 4096 Jul 8 11:25 /workspace/src
1048599 4 drwxr-xr-x 3 root root 4096 Jul 8 11:25 /workspace/src/debian
1048766 4 -rw-r--r-- 1 root root 447 Jul 8 11:25 /workspace/src/sopass.py
1048615 4 -rw-r--r-- 1 root root 537 Jul 8 11:25 /workspace/src/Cargo.toml
1048767 4 -rw-r--r-- 1 root root 480 Jul 8 11:25 /workspace/src/Makefile
1048582 4 drwxr-xr-x 3 root root 4096 Jul 8 11:25 /workspace/src/src
1048768 24 -rw-r--r-- 1 root root 22098 Jul 8 11:25 /workspace/src/Cargo.lock
1048598 4 -rw-r--r-- 1 root root 3822 Jul 8 11:25 /workspace/src/NEWS.md
1048610 4 -rw-r--r-- 1 root root 1377 Jul 8 11:25 /workspace/src/sopass.1
1048613 4 -rw-r--r-- 1 root root 82 Jul 8 11:25 /workspace/src/sopass.yaml
1048597 4 -rw-r--r-- 1 root root 289 Jul 8 11:25 /workspace/src/pass-to-sopass.sh
1048611 4 -rw-r--r-- 1 root root 1109 Jul 8 11:25 /workspace/src/README.md
1048580 4 drwxr-xr-x 2 root root 4096 Jul 8 11:25 /workspace/src/.radicle
1048612 4 -rw-r--r-- 1 root root 206 Jul 8 11:25 /workspace/src/sopass.subplot
1048616 20 -rw-r--r-- 1 root root 17262 Jul 8 11:25 /workspace/src/sopass.md
1048614 4 -rw-r--r-- 1 root root 20 Jul 8 11:25 /workspace/src/.gitignore
1048617 4 drwxr-xr-x 8 root root 4096 Jul 8 11:25 /workspace/src/.git
1048578 4 drwxr-xr-x 2 root root 4096 Jul 8 11:25 /workspace/artifacts
1048769 4 drwxr-xr-x 3 root root 4096 Jul 8 11:25 /workspace/deps
1048770 0 -rw-r--r-- 1 root root 0 Jul 8 11:25 /workspace/deps/.package-cache-mutate
1048771 56 -rw-r--r-- 1 root root 57344 Jul 8 11:25 /workspace/deps/.global-cache
1048773 4 drwxr-xr-x 5 root root 4096 Jul 8 11:25 /workspace/deps/registry
1048772 0 -rw-r--r-- 1 root root 0 Jul 8 11:25 /workspace/deps/.package-cache
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 serde v1.0.219
Checking bitflags v2.6.0
Compiling anyhow v1.0.98
Compiling rustix v0.38.42
Checking utf8parse v0.2.2
Checking itoa v1.0.14
Checking ryu v1.0.18
Checking hashbrown v0.15.2
Checking equivalent v1.0.1
Checking anstyle-parse v0.2.6
Compiling quote v1.0.38
Checking aho-corasick v1.1.3
Compiling getrandom v0.3.3
Compiling syn v2.0.92
Checking indexmap v2.7.1
Compiling version_check v0.9.5
Checking linux-raw-sys v0.4.14
Checking anstyle-query v1.1.2
Checking anstyle v1.0.10
Checking colorchoice v1.0.3
Compiling rustix v1.0.7
Checking regex-syntax v0.8.5
Checking cfg-if v1.0.0
Checking is_terminal_polyfill v1.70.1
Checking anstream v0.6.18
Compiling serde_yml v0.0.12
Compiling serde_json v1.0.140
Checking linux-raw-sys v0.9.4
Compiling thiserror v2.0.12
Checking regex-automata v0.4.9
Checking option-ext v0.2.0
Compiling thiserror v1.0.69
Checking dirs-sys v0.4.1
Checking terminal_size v0.4.1
Checking libyml v0.0.5
Checking unsafe-libyaml v0.2.11
Checking strsim v0.11.1
Checking clap_lex v0.7.4
Checking regex v1.11.1
Compiling heck v0.5.0
Checking once_cell v1.20.2
Checking log v0.4.22
Compiling serde_derive v1.0.219
Compiling thiserror-impl v1.0.69
Compiling thiserror-impl v2.0.12
Checking fastrand v2.3.0
Checking tempfile v3.20.0
Checking env_filter v0.1.3
Compiling clap_derive v4.5.18
Checking clap_builder v4.5.23
Checking directories v5.0.1
Checking dirs-sys-next v0.1.2
Checking humantime v2.1.0
Checking env_logger v0.11.6
Checking directories-next v2.0.0
Checking clap v4.5.23
Checking serde_yaml v0.9.34+deprecated
Checking confy v0.6.1
Checking clingwrap v0.1.0
Checking sopass v0.5.0 (/workspace/src)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.08s
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 libc v0.2.169
Compiling memchr v2.7.4
Compiling bitflags v2.6.0
Compiling serde v1.0.219
Compiling utf8parse v0.2.2
Compiling itoa v1.0.14
Compiling ryu v1.0.18
Compiling hashbrown v0.15.2
Compiling equivalent v1.0.1
Compiling aho-corasick v1.1.3
Compiling anstyle-parse v0.2.6
Compiling colorchoice v1.0.3
Compiling is_terminal_polyfill v1.70.1
Compiling linux-raw-sys v0.4.14
Compiling indexmap v2.7.1
Compiling anstyle-query v1.1.2
Compiling anstyle v1.0.10
Compiling regex-syntax v0.8.5
Compiling cfg-if v1.0.0
Compiling anstream v0.6.18
Compiling rustix v0.38.42
Compiling anyhow v1.0.98
Compiling option-ext v0.2.0
Compiling linux-raw-sys v0.9.4
Compiling regex-automata v0.4.9
Compiling rustix v1.0.7
Compiling libyml v0.0.5
Compiling dirs-sys v0.4.1
Compiling getrandom v0.3.3
Compiling terminal_size v0.4.1
Compiling strsim v0.11.1
Compiling log v0.4.22
Compiling clap_lex v0.7.4
Compiling unsafe-libyaml v0.2.11
Compiling once_cell v1.20.2
Compiling fastrand v2.3.0
Compiling clap_builder v4.5.23
Compiling tempfile v3.20.0
Compiling regex v1.11.1
Compiling serde_yaml v0.9.34+deprecated
Compiling env_filter v0.1.3
Compiling thiserror v2.0.12
Compiling thiserror v1.0.69
Compiling serde_yml v0.0.12
Compiling directories v5.0.1
Compiling serde_json v1.0.140
Compiling dirs-sys-next v0.1.2
Compiling humantime v2.1.0
Compiling env_logger v0.11.6
Compiling directories-next v2.0.0
Compiling confy v0.6.1
Compiling clingwrap v0.1.0
Compiling clap v4.5.23
Compiling sopass v0.5.0 (/workspace/src)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.53s
RUN: Action finished OK
RUN: Action Shell {
shell: "make sopass.html\nmv sopass.html /workspace/artifacts/sopass.html\n",
}
SPAWN: argv=["/bin/bash", "-c", "set -xeuo pipefail\nmake sopass.html\nmv sopass.html /workspace/artifacts/sopass.html\n\n"]
cwd=/workspace/src (exists? true)
extra_env=[]
+ make sopass.html
subplot docgen sopass.subplot -o sopass.html
[32m INFO[0m Starting Subplot
[32m INFO[0m Subplot finished successfully
+ mv sopass.html /workspace/artifacts/sopass.html
RUN: Action finished OK
RUN: Action Shell {
shell: "export DEBEMAIL=liw@liw.fi\nexport DEBFULLNAME=\"Lars Wirzenius\"\nexport HOME=/root\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\"\ngit clean -fdx\n\nV=\"$(dpkg-parsechangelog -SVersion | sed 's/-[^-]*$//')\"\nT=\"$(date -u \"+%Y%m%dT%H%M%S\")\"\nversion=\"$V.ci$T-1\"\ndch -v \"$version\" \"CI build under Ambient.\"\ndch -r ''\n",
}
SPAWN: argv=["/bin/bash", "-c", "set -xeuo pipefail\nexport DEBEMAIL=liw@liw.fi\nexport DEBFULLNAME=\"Lars Wirzenius\"\nexport HOME=/root\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\"\ngit clean -fdx\n\nV=\"$(dpkg-parsechangelog -SVersion | sed 's/-[^-]*$//')\"\nT=\"$(date -u \"+%Y%m%dT%H%M%S\")\"\nversion=\"$V.ci$T-1\"\ndch -v \"$version\" \"CI build under Ambient.\"\ndch -r ''\n\n"]
cwd=/workspace/src (exists? true)
extra_env=[]
+ export DEBEMAIL=liw@liw.fi
+ DEBEMAIL=liw@liw.fi
+ export 'DEBFULLNAME=Lars Wirzenius'
+ DEBFULLNAME='Lars Wirzenius'
+ export HOME=/root
+ HOME=/root
+ 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.65s
cargo build --offline --locked --all-targets
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.07s
cargo test --offline --locked --all-targets
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
Running unittests src/lib.rs (/workspace/cache/debug/deps/sopass-6f8f50efc549af19)
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-91f87b64a4152b34)
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.91s
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/tmp2go0rzqg
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: 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: 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: 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: 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: 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: 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: 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: 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: 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
+ git clean -fdx
Removing sopass.html
++ dpkg-parsechangelog -SVersion
++ sed 's/-[^-]*$//'
+ V=0.5.0
++ date -u +%Y%m%dT%H%M%S
+ T=20250708T112600
+ version=0.5.0.ci20250708T112600-1
+ dch -v 0.5.0.ci20250708T112600-1 'CI build under Ambient.'
+ dch -r ''
RUN: Action finished OK
RUN: Action Deb
SPAWN: argv=["/bin/bash", "-c", "#!/bin/bash\nset -xeuo pipefail\n\necho \"PATH at start: $PATH\"\nexport PATH=\"/root/.cargo/bin:$PATH\"\nexport CARGO_HOME=/workspace/deps\nexport DEBEMAIL=liw@liw.fi\nexport DEBFULLNAME=\"Lars Wirzenius\"\n/bin/env\n\ncommand -v cargo\ncommand -v rustc\n\ncargo --version\nrustc --version\n\n# Get name and version of source package.\nname=\"$(dpkg-parsechangelog -SSource)\"\nversion=\"$(dpkg-parsechangelog -SVersion)\"\n\n# Get upstream version: everything before the last dash.\nuv=\"$(echo \"$version\" | sed 's/-[^-]*$//')\"\n\n# Files that will be created.\narch=\"$(dpkg --print-architecture)\"\norig=\"../${name}_${uv}.orig.tar.xz\"\ndeb=\"../${name}_${version}_${arch}.deb\"\nchanges=\"../${name}_${version}_${arch}.changes\"\n\n# Create \"upstream tarball\".\ngit archive HEAD | xz >\"$orig\"\n\n# Build package.\ndpkg-buildpackage -us -uc\n\n# Dump some information to make it easier to visually verify\n# everything looks OK. Also, test the package with the lintian tool.\n\nls -l ..\nfor x in ../*.deb; do dpkg -c \"$x\"; done\n# FIXME: disabled while this prevents radicle-native-ci deb from being built.\n# lintian -i --allow-root --fail-on warning ../*.changes\n\n# Move files to artifacts directory.\nmv ../*_* /workspace/artifacts\n "]
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")]
+ echo 'PATH at start: /root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
PATH at start: /root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ export PATH=/root/.cargo/bin:/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ PATH=/root/.cargo/bin:/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ export CARGO_HOME=/workspace/deps
+ CARGO_HOME=/workspace/deps
+ export DEBEMAIL=liw@liw.fi
+ DEBEMAIL=liw@liw.fi
+ export 'DEBFULLNAME=Lars Wirzenius'
+ DEBFULLNAME='Lars Wirzenius'
+ /bin/env
DEBFULLNAME=Lars Wirzenius
CARGO_TARGET_DIR=/workspace/cache
PWD=/workspace/src
SYSTEMD_EXEC_PID=284
LANG=C.UTF-8
CARGO_HOME=/workspace/deps
DEBEMAIL=liw@liw.fi
INVOCATION_ID=fa2abc01a08640458dbe583cbd7f9d3c
SHLVL=2
JOURNAL_STREAM=8:2457
PATH=/root/.cargo/bin:/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
OLDPWD=/
_=/bin/env
+ command -v cargo
/root/.cargo/bin/cargo
+ command -v rustc
/root/.cargo/bin/rustc
+ cargo --version
cargo 1.88.0 (873a06493 2025-05-10)
+ rustc --version
rustc 1.88.0 (6b00bc388 2025-06-23)
++ dpkg-parsechangelog -SSource
+ name=sopass
++ dpkg-parsechangelog -SVersion
+ version=0.5.0.ci20250708T112600-1
++ sed 's/-[^-]*$//'
++ echo 0.5.0.ci20250708T112600-1
+ uv=0.5.0.ci20250708T112600
++ dpkg --print-architecture
+ arch=amd64
+ orig=../sopass_0.5.0.ci20250708T112600.orig.tar.xz
+ deb=../sopass_0.5.0.ci20250708T112600-1_amd64.deb
+ changes=../sopass_0.5.0.ci20250708T112600-1_amd64.changes
+ xz
+ git archive HEAD
+ dpkg-buildpackage -us -uc
[1mdpkg-buildpackage: [0m[32minfo[0m: source package sopass
[1mdpkg-buildpackage: [0m[32minfo[0m: source version 0.5.0.ci20250708T112600-1
[1mdpkg-buildpackage: [0m[32minfo[0m: source distribution unstable
[1mdpkg-buildpackage: [0m[32minfo[0m: source changed by Lars Wirzenius <liw@liw.fi>
[1mdpkg-buildpackage: [0m[32minfo[0m: host architecture amd64
[1;35m dpkg-source --before-build .
[0m[1;35m debian/rules clean
[0mdh clean
dh_auto_clean
dh_clean
[1;35m dpkg-source -b .
[0m[1mdpkg-source: [0m[32minfo[0m: using source format '3.0 (quilt)'
[1mdpkg-source: [0m[32minfo[0m: building sopass using existing ./sopass_0.5.0.ci20250708T112600.orig.tar.xz
[1mdpkg-source: [0m[32minfo[0m: building sopass in sopass_0.5.0.ci20250708T112600-1.debian.tar.xz
[1mdpkg-source: [0m[32minfo[0m: building sopass in sopass_0.5.0.ci20250708T112600-1.dsc
[1;35m debian/rules build
[0mdh build
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
debian/rules override_dh_auto_build
make[1]: Entering directory '/workspace/src'
true
make[1]: Leaving directory '/workspace/src'
debian/rules override_dh_auto_test
make[1]: Entering directory '/workspace/src'
echo tests are disabled, for now
tests are disabled, for now
make[1]: Leaving directory '/workspace/src'
create-stamp debian/debhelper-build-stamp
[1;35m debian/rules binary
[0mdh binary
dh_testroot
dh_prep
debian/rules override_dh_auto_install
make[1]: Entering directory '/workspace/src'
cargo install --offline --locked --target x86_64-unknown-linux-musl --path=. --root=debian/sopass/usr
Installing sopass v0.5.0 (/workspace/src)
Compiling proc-macro2 v1.0.92
Compiling unicode-ident v1.0.14
Compiling libc v0.2.169
Compiling memchr v2.7.4
Compiling serde v1.0.219
Compiling bitflags v2.6.0
Compiling quote v1.0.38
Compiling rustix v0.38.42
Compiling anyhow v1.0.98
Compiling syn v2.0.92
Compiling ryu v1.0.18
Compiling utf8parse v0.2.2
Compiling hashbrown v0.15.2
Compiling equivalent v1.0.1
Compiling itoa v1.0.14
Compiling anstyle-parse v0.2.6
Compiling aho-corasick v1.1.3
Compiling getrandom v0.3.3
Compiling indexmap v2.7.1
Compiling regex-syntax v0.8.5
Compiling rustix v1.0.7
Compiling linux-raw-sys v0.4.14
Compiling anstyle v1.0.10
Compiling is_terminal_polyfill v1.70.1
Compiling cfg-if v1.0.0
Compiling anstyle-query v1.1.2
Compiling version_check v0.9.5
Compiling colorchoice v1.0.3
Compiling anstream v0.6.18
Compiling serde_yml v0.0.12
Compiling regex-automata v0.4.9
Compiling serde_derive v1.0.219
Compiling thiserror v1.0.69
Compiling serde_json v1.0.140
Compiling linux-raw-sys v0.9.4
Compiling option-ext v0.2.0
Compiling thiserror v2.0.12
Compiling dirs-sys v0.4.1
Compiling libyml v0.0.5
Compiling terminal_size v0.4.1
Compiling regex v1.11.1
Compiling thiserror-impl v1.0.69
Compiling thiserror-impl v2.0.12
Compiling once_cell v1.20.2
Compiling heck v0.5.0
Compiling strsim v0.11.1
Compiling clap_lex v0.7.4
Compiling fastrand v2.3.0
Compiling unsafe-libyaml v0.2.11
Compiling log v0.4.22
Compiling tempfile v3.20.0
Compiling env_filter v0.1.3
Compiling serde_yaml v0.9.34+deprecated
Compiling clap_builder v4.5.23
Compiling clap_derive v4.5.18
Compiling directories v5.0.1
Compiling dirs-sys-next v0.1.2
Compiling humantime v2.1.0
Compiling env_logger v0.11.6
Compiling directories-next v2.0.0
Compiling clingwrap v0.1.0
Compiling confy v0.6.1
Compiling clap v4.5.23
Compiling sopass v0.5.0 (/workspace/src)
Finished `release` profile [optimized] target(s) in 20.99s
Installing debian/sopass/usr/bin/sopass
Installed package `sopass v0.5.0 (/workspace/src)` (executable `sopass`)
warning: be sure to add `debian/sopass/usr/bin` to your PATH to be able to run the installed binaries
find debian -name ".crates*" -delete
make[1]: Leaving directory '/workspace/src'
dh_installdocs
dh_installchangelogs
dh_lintian
dh_perl
dh_link
dh_strip_nondeterminism
dh_compress
dh_fixperms
dh_missing
dh_strip
dh_makeshlibs
dh_shlibdeps
[1mdpkg-shlibdeps: [0m[1;33mwarning[0m: couldn't parse dynamic symbol definition: no symbols
dh_installdeb
dh_gencontrol
[1mdpkg-gencontrol: [0m[1;33mwarning[0m: Depends field of package sopass: substitution variable ${shlibs:Depends} used, but is not defined
[1mdpkg-gencontrol: [0m[1;33mwarning[0m: Depends field of package sopass: substitution variable ${shlibs:Depends} used, but is not defined
dh_md5sums
dh_builddeb
[1mdpkg-deb:[0m building package 'sopass' in '../sopass_0.5.0.ci20250708T112600-1_amd64.deb'.
[1mdpkg-deb:[0m building package 'sopass-dbgsym' in '../sopass-dbgsym_0.5.0.ci20250708T112600-1_amd64.deb'.
[1;35m dpkg-genbuildinfo -O../sopass_0.5.0.ci20250708T112600-1_amd64.buildinfo
[0m[1;35m dpkg-genchanges -O../sopass_0.5.0.ci20250708T112600-1_amd64.changes
[0m[1mdpkg-genchanges: [0m[32minfo[0m: including full source code in upload
[1;35m dpkg-source --after-build .
[0m[1mdpkg-buildpackage: [0m[32minfo[0m: full upload (original source is included)
+ ls -l ..
total 1080
drwxr-xr-x 2 root root 4096 Jul 8 11:25 artifacts
drwxr-xr-x 6 root root 4096 Jul 8 11:26 cache
drwxr-xr-x 3 root root 4096 Jul 8 11:25 deps
-rw-r--r-- 1 root root 121920 Jul 8 11:26 sopass-dbgsym_0.5.0.ci20250708T112600-1_amd64.deb
-rw-r--r-- 1 root root 2296 Jul 8 11:26 sopass_0.5.0.ci20250708T112600-1.debian.tar.xz
-rw-r--r-- 1 root root 926 Jul 8 11:26 sopass_0.5.0.ci20250708T112600-1.dsc
-rw-r--r-- 1 root root 5756 Jul 8 11:26 sopass_0.5.0.ci20250708T112600-1_amd64.buildinfo
-rw-r--r-- 1 root root 2331 Jul 8 11:26 sopass_0.5.0.ci20250708T112600-1_amd64.changes
-rw-r--r-- 1 root root 915788 Jul 8 11:26 sopass_0.5.0.ci20250708T112600-1_amd64.deb
-rw-r--r-- 1 root root 25876 Jul 8 11:26 sopass_0.5.0.ci20250708T112600.orig.tar.xz
drwxr-xr-x 6 root root 4096 Jul 8 11:26 src
+ for x in ../*.deb
+ dpkg -c ../sopass-dbgsym_0.5.0.ci20250708T112600-1_amd64.deb
drwxr-xr-x root/root 0 2025-07-08 11:26 ./
drwxr-xr-x root/root 0 2025-07-08 11:26 ./usr/
drwxr-xr-x root/root 0 2025-07-08 11:26 ./usr/lib/
drwxr-xr-x root/root 0 2025-07-08 11:26 ./usr/lib/debug/
drwxr-xr-x root/root 0 2025-07-08 11:26 ./usr/lib/debug/.build-id/
drwxr-xr-x root/root 0 2025-07-08 11:26 ./usr/lib/debug/.build-id/72/
-rw-r--r-- root/root 619112 2025-07-08 11:26 ./usr/lib/debug/.build-id/72/dc6e74eded5ba9e69c48f6d2a5a1908adaf45a.debug
drwxr-xr-x root/root 0 2025-07-08 11:26 ./usr/share/
drwxr-xr-x root/root 0 2025-07-08 11:26 ./usr/share/doc/
lrwxrwxrwx root/root 0 2025-07-08 11:26 ./usr/share/doc/sopass-dbgsym -> sopass
+ for x in ../*.deb
+ dpkg -c ../sopass_0.5.0.ci20250708T112600-1_amd64.deb
drwxr-xr-x root/root 0 2025-07-08 11:26 ./
drwxr-xr-x root/root 0 2025-07-08 11:26 ./usr/
drwxr-xr-x root/root 0 2025-07-08 11:26 ./usr/bin/
-rwxr-xr-x root/root 2863776 2025-07-08 11:26 ./usr/bin/sopass
drwxr-xr-x root/root 0 2025-07-08 11:26 ./usr/share/
drwxr-xr-x root/root 0 2025-07-08 11:26 ./usr/share/doc/
drwxr-xr-x root/root 0 2025-07-08 11:26 ./usr/share/doc/sopass/
-rw-r--r-- root/root 278 2025-07-08 11:26 ./usr/share/doc/sopass/changelog.Debian.gz
-rw-r--r-- root/root 1150 2025-07-08 11:25 ./usr/share/doc/sopass/copyright
drwxr-xr-x root/root 0 2025-07-08 11:26 ./usr/share/lintian/
drwxr-xr-x root/root 0 2025-07-08 11:26 ./usr/share/lintian/overrides/
-rw-r--r-- root/root 173 2025-07-08 11:25 ./usr/share/lintian/overrides/sopass
+ mv ../sopass-dbgsym_0.5.0.ci20250708T112600-1_amd64.deb ../sopass_0.5.0.ci20250708T112600-1.debian.tar.xz ../sopass_0.5.0.ci20250708T112600-1.dsc ../sopass_0.5.0.ci20250708T112600-1_amd64.buildinfo ../sopass_0.5.0.ci20250708T112600-1_amd64.changes ../sopass_0.5.0.ci20250708T112600-1_amd64.deb ../sopass_0.5.0.ci20250708T112600.orig.tar.xz /workspace/artifacts
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-07-08T11:26:35Z INFO ambient] ambient ends successfully