Radicle repository id rad:zjxyd2A1A7FnxtC69qDfoAajfTHo
[2025-09-11T13:15:45Z INFO ambient] ambient starts
deprecated: the `cpus` field is replaced by `qemu.cpus`
deprecated: the `memory` field is replaced by `qemu.memory`
[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: Block devices
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sr0 11:0 1 370K 0 rom
vda 254:0 0 100G 0 disk
├─vda1 254:1 0 953M 0 part
└─vda2 254:2 0 99.1G 0 part /
vdb 254:16 0 2.9M 1 disk
vdc 254:32 0 2.8M 1 disk
vdd 254:48 0 953.7M 0 disk
vde 254:64 0 27.9G 0 disk
vdf 254:80 0 675.5M 1 disk
INFO: Extracting tar archive from /dev/vdb
drwxr-xr-x _rad/_rad 0 2025-09-11 13:14 ./
-rw-r--r-- _rad/_rad 1462 2025-09-11 13:14 ./plan.yaml
-rwxr-xr-x _rad/_rad 2994840 2025-09-11 13:14 ./run-ci
INFO: Extracted files:
4587530 4 drwxr-xr-x 2 1000 1000 4096 Sep 11 13:14 .
4587531 4 -rw-r--r-- 1 1000 1000 1462 Sep 11 13:14 ./plan.yaml
4587532 2928 -rwxr-xr-x 1 1000 1000 2994840 Sep 11 13:14 ./run-ci
INFO: Running run-ci from /dev/vdb
================================ BEGIN ================================
[2025-09-11T13:14:10Z TRACE ambient_execute_plan] ambient-execute-plan starts
[2025-09-11T13:14:10Z DEBUG ambient_execute_plan] ambient-execute-plan starts
[2025-09-11T13:14:10Z INFO ambient_execute_plan] ambient-execute-plan starts
[2025-09-11T13:14:10Z WARN ambient_execute_plan] ambient-execute-plan starts
[2025-09-11T13:14:10Z ERROR ambient_execute_plan] 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: shell
shell: |
export DEBEMAIL=liw@liw.fi
export DEBFULLNAME="Lars Wirzenius"
export CARGO_TARGET_DIR=/workspace/cache
export CARGO_HOME=/workspace/deps
export HOME=/root
export PATH="/root/.cargo/bin:$PATH"
shellcheck --help
make OFFLINE="--locked --offline"
# Clean up after tests and documentation building.
git reset --hard
git clean -fdx
git status --ignored
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",
}
[2025-09-11T13:14:10Z DEBUG ambient_ci::action] Plan::execute: Mkdir {
pathname: "/workspace",
}
RUN: Action finished OK
RUN: Action Mkdir {
pathname: "/workspace/artifacts",
}
[2025-09-11T13:14:10Z DEBUG ambient_ci::action] Plan::execute: Mkdir {
pathname: "/workspace/artifacts",
}
RUN: Action finished OK
RUN: Action TarExtract {
archive: "/dev/vdc",
directory: "/workspace/src",
}
[2025-09-11T13:14:10Z DEBUG ambient_ci::action] Plan::execute: TarExtract {
archive: "/dev/vdc",
directory: "/workspace/src",
}
[2025-09-11T13:14:10Z TRACE ambient_ci::vdrive] extracting /dev/vdc to /workspace/src
[2025-09-11T13:14:10Z TRACE ambient_ci::vdrive] extraction OK
RUN: Action finished OK
RUN: Action TarExtract {
archive: "/dev/vdf",
directory: "/workspace/deps",
}
[2025-09-11T13:14:10Z DEBUG ambient_ci::action] Plan::execute: TarExtract {
archive: "/dev/vdf",
directory: "/workspace/deps",
}
[2025-09-11T13:14:10Z TRACE ambient_ci::vdrive] extracting /dev/vdf to /workspace/deps
[2025-09-11T13:14:12Z TRACE ambient_ci::vdrive] extraction OK
RUN: Action finished OK
RUN: Action TarExtract {
archive: "/dev/vde",
directory: "/workspace/cache",
}
[2025-09-11T13:14:12Z DEBUG ambient_ci::action] Plan::execute: TarExtract {
archive: "/dev/vde",
directory: "/workspace/cache",
}
[2025-09-11T13:14:12Z TRACE ambient_ci::vdrive] extracting /dev/vde to /workspace/cache
[2025-09-11T13:14:16Z TRACE ambient_ci::vdrive] extraction OK
RUN: Action finished OK
RUN: Action Spawn {
argv: [
"find",
"/workspace",
"-maxdepth",
"2",
"-ls",
],
}
[2025-09-11T13:14:16Z DEBUG ambient_ci::action] Plan::execute: Spawn {
argv: [
"find",
"/workspace",
"-maxdepth",
"2",
"-ls",
],
}
SPAWN: argv=["find", "/workspace", "-maxdepth", "2", "-ls"]
cwd=/workspace/src (exists? true)
extra_env=[]
2621441 4 drwxr-xr-x 6 root root 4096 Sep 11 13:14 /workspace
2621752 4 drwxr-xr-x 3 root root 4096 Sep 11 13:13 /workspace/deps
2641294 0 -rw-r--r-- 1 root root 0 Sep 11 13:09 /workspace/deps/.package-cache-mutate
2621753 4 drwxr-xr-x 5 root root 4096 Sep 11 13:09 /workspace/deps/registry
2641293 100 -rw-r--r-- 1 root root 102400 Sep 11 13:13 /workspace/deps/.global-cache
2641295 0 -rw-r--r-- 1 root root 0 Sep 11 13:09 /workspace/deps/.package-cache
2621443 4 drwxr-xr-x 15 root root 4096 Sep 11 13:14 /workspace/src
2621606 4 drwxr-xr-x 2 root root 4096 Sep 11 13:14 /workspace/src/book
2621450 4 -rw-r--r-- 1 root root 1568 Sep 11 13:14 /workspace/src/Cargo.toml
2621618 8 -rw-r--r-- 1 root root 5176 Sep 11 13:14 /workspace/src/CONTRIBUTING.md
2621448 20 -rw-r--r-- 1 root root 19936 Sep 11 13:14 /workspace/src/NEWS.md
2621605 8 -rw-r--r-- 1 root root 5617 Sep 11 13:14 /workspace/src/build.rs
2621626 4 drwxr-xr-x 8 root root 4096 Sep 11 13:14 /workspace/src/.git
2621617 4 -rw-r--r-- 1 root root 1366 Sep 11 13:14 /workspace/src/DCO-1-1.txt
2621569 4 -rwxr-xr-x 1 root root 489 Sep 11 13:14 /workspace/src/install-debian.sh
2621616 8 -rw-r--r-- 1 root root 6501 Sep 11 13:14 /workspace/src/DECISIONS.md
2621621 4 drwxr-xr-x 3 root root 4096 Sep 11 13:14 /workspace/src/.gitlab
2621506 4 -rw-r--r-- 1 root root 2648 Sep 11 13:14 /workspace/src/subplot.yaml
2621513 4 drwxr-xr-x 2 root root 4096 Sep 11 13:14 /workspace/src/src
2621568 4 -rw-r--r-- 1 root root 1286 Sep 11 13:14 /workspace/src/reference.md
2621447 4 -rw-r--r-- 1 root root 3761 Sep 11 13:14 /workspace/src/README.md
2621507 4 -rw-r--r-- 1 root root 284 Sep 11 13:14 /workspace/src/subplot.subplot
2621567 4 -rw-r--r-- 1 root root 689 Sep 11 13:14 /workspace/src/reference.py
2621619 4 drwxr-xr-x 2 root root 4096 Sep 11 13:14 /workspace/src/.radicle
2621592 4 drwxr-xr-x 3 root root 4096 Sep 11 13:14 /workspace/src/debian
2621446 4 -rw-r--r-- 1 root root 3388 Sep 11 13:14 /workspace/src/RELEASE.md
2621625 4 -rw-r--r-- 1 root root 10 Sep 11 13:14 /workspace/src/.envrc
2621570 4 -rw-r--r-- 1 root root 56 Sep 11 13:14 /workspace/src/flake8.ini
2621451 44 -rw-r--r-- 1 root root 44081 Sep 11 13:14 /workspace/src/Cargo.lock
2621453 4 -rw-r--r-- 1 root root 136 Sep 11 13:14 /workspace/src/.gitignore
2621452 4 -rw-r--r-- 1 root root 646 Sep 11 13:14 /workspace/src/.gitlab-ci.yml
2621454 4 drwxr-xr-x 3 root root 4096 Sep 11 13:14 /workspace/src/tests
2621467 4 drwxr-xr-x 5 root root 4096 Sep 11 13:14 /workspace/src/subplotlib
2621565 4 -rw-r--r-- 1 root root 196 Sep 11 13:14 /workspace/src/reference.yaml
2621571 4 -rw-r--r-- 1 root root 1385 Sep 11 13:14 /workspace/src/flake.lock
2621509 4 drwxr-xr-x 3 root root 4096 Sep 11 13:14 /workspace/src/subplot-build
2621445 4 -rw-r--r-- 1 root root 1292 Sep 11 13:14 /workspace/src/flake.nix
2621444 4 -rw-r--r-- 1 root root 3370 Sep 11 13:14 /workspace/src/subplot.py
2621572 4 drwxr-xr-x 5 root root 4096 Sep 11 13:14 /workspace/src/examples
2621591 4 -rw-r--r-- 1 root root 295 Sep 11 13:14 /workspace/src/deny.toml
2621500 4 drwxr-xr-x 3 root root 4096 Sep 11 13:14 /workspace/src/subplotlib-derive
2621615 4 -rw-r--r-- 1 root root 1325 Sep 11 13:14 /workspace/src/LICENSE.md
2621508 96 -rw-r--r-- 1 root root 96042 Sep 11 13:14 /workspace/src/subplot.md
2621449 4 -rw-r--r-- 1 root root 4018 Sep 11 13:14 /workspace/src/Makefile
2621535 4 drwxr-xr-x 5 root root 4096 Sep 11 13:14 /workspace/src/share
2621609 4 drwxr-xr-x 3 root root 4096 Sep 11 13:14 /workspace/src/bin
2621566 4 -rw-r--r-- 1 root root 273 Sep 11 13:14 /workspace/src/reference.subplot.disabled
2621442 4 drwxr-xr-x 2 root root 4096 Sep 11 13:14 /workspace/artifacts
2641296 4 drwxr-xr-x 5 root root 4096 Sep 11 13:11 /workspace/cache
2642736 4 drwxr-xr-x 7 root root 4096 Sep 11 13:10 /workspace/cache/debug
2642735 4 drwxr-xr-x 2 root root 4096 Sep 11 13:09 /workspace/cache/tmp
2641297 4 -rw-r--r-- 1 root root 1034 Sep 11 13:11 /workspace/cache/.rustc_info.json
2641298 4 drwxr-xr-x 7 root root 4096 Sep 11 13:13 /workspace/cache/release
RUN: Action finished OK
RUN: Action CargoFmt
[2025-09-11T13:14:16Z DEBUG ambient_ci::action] Plan::execute: 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
[2025-09-11T13:14:16Z DEBUG ambient_ci::action] Plan::execute: 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
Checking cfg-if v1.0.0
Compiling memchr v2.7.4
Compiling once_cell v1.20.2
Compiling quote v1.0.37
Compiling syn v2.0.91
Compiling serde v1.0.216
Compiling ahash v0.8.11
Compiling thiserror v2.0.9
Checking aho-corasick v1.1.3
Compiling anyhow v1.0.95
Checking bitflags v2.6.0
Checking regex-automata v0.4.9
Compiling libm v0.2.11
Compiling libc v0.2.169
Compiling zerocopy-derive v0.7.35
Compiling serde_derive v1.0.216
Compiling thiserror-impl v2.0.9
Compiling rustix v0.38.42
Compiling pest v2.7.15
Compiling serde_json v1.0.134
Compiling cc v1.2.5
Compiling pest_meta v2.7.15
Checking itoa v1.0.14
Compiling pikchr v0.1.3
Compiling pest_generator v2.7.15
Compiling tracing-attributes v0.1.28
Compiling pest_derive v2.7.15
Compiling pulldown-cmark v0.12.2
Checking regex v1.11.1
Checking linux-raw-sys v0.4.14
Compiling byteorder v1.5.0
Compiling zerocopy v0.7.35
Checking tempfile v3.14.0
Checking ryu v1.0.18
Compiling log v0.4.22
Compiling time-core v0.1.2
Compiling time-macros v0.2.19
Compiling hashbrown v0.14.5
Compiling getrandom v0.2.15
Compiling subplot v0.12.0 (/workspace/src)
Checking bstr v1.11.1
Compiling unicode-width v0.1.14
Compiling rand_core v0.6.4
Compiling globset v0.4.15
Compiling hashlink v0.9.1
Compiling ppv-lite86 v0.2.20
Compiling encoding_rs v0.8.35
Compiling culpa-macros v1.0.2
Compiling yaml-rust2 v0.9.0
Compiling rand_chacha v0.3.1
Compiling ignore v0.4.23
Compiling serde_path_to_error v0.1.16
Compiling deunicode v1.6.0
Compiling textwrap v0.16.1
Compiling humansize v2.1.3
Compiling slug v0.1.6
Checking deranged v0.3.11
Compiling marked-yaml v0.7.2
Compiling globwalk v0.9.1
Compiling rand v0.8.5
Compiling getopts v0.2.21
Compiling tracing-core v0.1.33
Compiling pin-project-lite v0.2.15
Compiling unicase v2.8.0
Checking time v0.3.37
Compiling tracing v0.1.41
Compiling tera v1.20.0
Checking nix v0.29.0
Compiling roadmap v0.7.0
Checking culpa v1.0.2
Checking cvt v0.1.2
Checking fs_at v0.2.1
Compiling subplotlib v0.12.0 (/workspace/src/subplotlib)
Checking remove_dir_all v1.0.0
Compiling subplotlib-derive v0.12.0 (/workspace/src/subplotlib-derive)
Checking fs2 v0.4.3
Checking filetime v0.2.25
Checking anstyle-parse v0.2.6
Checking anstyle v1.0.10
Checking colorchoice v1.0.3
Checking anstyle-query v1.1.2
Checking anstream v0.6.18
Checking clap_lex v0.7.4
Checking clap_builder v4.5.23
Compiling clap_derive v4.5.18
Checking clap v4.5.23
Compiling git-testament-derive v0.2.1
Checking tracing-log v0.2.0
Checking thread_local v1.1.8
Checking smallvec v1.13.2
Checking tracing-subscriber v0.3.19
Checking git-testament v0.2.6
Checking subplot-bin v0.12.0 (/workspace/src/bin)
Checking subplot-build v0.12.0 (/workspace/src/subplot-build)
Checking subplot-seq-example v0.1.0 (/workspace/src/examples/seq)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.37s
RUN: Action finished OK
RUN: Action Shell {
shell: "export DEBEMAIL=liw@liw.fi\nexport DEBFULLNAME=\"Lars Wirzenius\"\nexport CARGO_TARGET_DIR=/workspace/cache\nexport CARGO_HOME=/workspace/deps\nexport HOME=/root\nexport PATH=\"/root/.cargo/bin:$PATH\"\n\nshellcheck --help\nmake OFFLINE=\"--locked --offline\"\n\n# Clean up after tests and documentation building.\ngit reset --hard\ngit clean -fdx\ngit status --ignored\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",
}
[2025-09-11T13:14:56Z DEBUG ambient_ci::action] Plan::execute: Shell {
shell: "export DEBEMAIL=liw@liw.fi\nexport DEBFULLNAME=\"Lars Wirzenius\"\nexport CARGO_TARGET_DIR=/workspace/cache\nexport CARGO_HOME=/workspace/deps\nexport HOME=/root\nexport PATH=\"/root/.cargo/bin:$PATH\"\n\nshellcheck --help\nmake OFFLINE=\"--locked --offline\"\n\n# Clean up after tests and documentation building.\ngit reset --hard\ngit clean -fdx\ngit status --ignored\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 CARGO_TARGET_DIR=/workspace/cache\nexport CARGO_HOME=/workspace/deps\nexport HOME=/root\nexport PATH=\"/root/.cargo/bin:$PATH\"\n\nshellcheck --help\nmake OFFLINE=\"--locked --offline\"\n\n# Clean up after tests and documentation building.\ngit reset --hard\ngit clean -fdx\ngit status --ignored\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 CARGO_TARGET_DIR=/workspace/cache
+ CARGO_TARGET_DIR=/workspace/cache
+ export CARGO_HOME=/workspace/deps
+ CARGO_HOME=/workspace/deps
+ export HOME=/root
+ HOME=/root
+ export PATH=/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ PATH=/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ shellcheck --help
Usage: shellcheck [OPTIONS...] FILES...
-a --check-sourced Include warnings from sourced files
-C[WHEN] --color[=WHEN] Use color (auto, always, never)
-i CODE1,CODE2.. --include=CODE1,CODE2.. Consider only given types of warnings
-e CODE1,CODE2.. --exclude=CODE1,CODE2.. Exclude types of warnings
-f FORMAT --format=FORMAT Output format (checkstyle, diff, gcc, json, json1, quiet, tty)
--list-optional List checks disabled by default
--norc Don't look for .shellcheckrc files
-o check1,check2.. --enable=check1,check2.. List of optional checks to enable (or 'all')
-P SOURCEPATHS --source-path=SOURCEPATHS Specify path when looking for sourced files ("SCRIPTDIR" for script's dir)
-s SHELLNAME --shell=SHELLNAME Specify dialect (sh, bash, dash, ksh)
-S SEVERITY --severity=SEVERITY Minimum severity of errors to consider (error, warning, info, style)
-V --version Print version information
-W NUM --wiki-link-count=NUM The number of wiki links to show, when applicable
-x --external-sources Allow 'source' outside of FILES
--help Show this usage summary and exit
+ make 'OFFLINE=--locked --offline'
which >/dev/null cargo
which >/dev/null dot
which >/dev/null plantuml
which >/dev/null python3
which >/dev/null rustc
which >/dev/null rustfmt
which >/dev/null shellcheck
which >/dev/null tidy
shellcheck *.sh
cd share/python/template && python3 context_tests.py
............................
----------------------------------------------------------------------
Ran 28 tests in 0.002s
OK
cd share/python/template && python3 encoding_tests.py
..
----------------------------------------------------------------------
Ran 2 tests in 0.000s
OK
cargo clippy --locked --offline --workspace --all-targets -- -Dwarnings
Compiling subplot v0.12.0 (/workspace/src)
Compiling subplotlib v0.12.0 (/workspace/src/subplotlib)
Compiling subplotlib-derive v0.12.0 (/workspace/src/subplotlib-derive)
Checking subplot-bin v0.12.0 (/workspace/src/bin)
Checking subplot-seq-example v0.1.0 (/workspace/src/examples/seq)
Checking subplot-build v0.12.0 (/workspace/src/subplot-build)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.23s
cd examples/seq && cargo clippy --workspace --all-targets -- -Dwarnings
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.08s
cargo test --workspace
Compiling cfg-if v1.0.0
Compiling memchr v2.7.4
Compiling once_cell v1.20.2
Compiling byteorder v1.5.0
Compiling zerocopy v0.7.35
Compiling aho-corasick v1.1.3
Compiling bitflags v2.6.0
Compiling itoa v1.0.14
Compiling bstr v1.11.1
Compiling thiserror v2.0.9
Compiling libc v0.2.169
Compiling regex-automata v0.4.9
Compiling serde v1.0.216
Compiling ppv-lite86 v0.2.20
Compiling pest v2.7.15
Compiling ahash v0.8.11
Compiling anyhow v1.0.95
Compiling hashbrown v0.14.5
Compiling pest_meta v2.7.15
Compiling unicode-width v0.1.14
Compiling hashlink v0.9.1
Compiling pest_generator v2.7.15
Compiling libm v0.2.11
Compiling regex v1.11.1
Compiling encoding_rs v0.8.35
Compiling ryu v1.0.18
Compiling pin-project-lite v0.2.15
Compiling deunicode v1.6.0
Compiling linux-raw-sys v0.4.14
Compiling rustix v0.38.42
Compiling yaml-rust2 v0.9.0
Compiling slug v0.1.6
Compiling serde_json v1.0.134
Compiling humansize v2.1.3
Compiling pest_derive v2.7.15
Compiling serde_path_to_error v0.1.16
Compiling textwrap v0.16.1
Compiling tempfile v3.14.0
Compiling marked-yaml v0.7.2
Compiling getopts v0.2.21
Compiling unicase v2.8.0
Compiling pulldown-cmark v0.12.2
Compiling roadmap v0.7.0
Compiling getrandom v0.2.15
Compiling rand_core v0.6.4
Compiling globset v0.4.15
Compiling ignore v0.4.23
Compiling rand_chacha v0.3.1
Compiling time-core v0.1.2
Compiling time-macros v0.2.19
Compiling deranged v0.3.11
Compiling globwalk v0.9.1
Compiling rand v0.8.5
Compiling subplot v0.12.0 (/workspace/src)
Compiling tracing-core v0.1.33
Compiling tera v1.20.0
Compiling tracing v0.1.41
Compiling pikchr v0.1.3
Compiling culpa v1.0.2
Compiling nix v0.29.0
Compiling cvt v0.1.2
Compiling fs_at v0.2.1
Compiling subplotlib-derive v0.12.0 (/workspace/src/subplotlib-derive)
Compiling time v0.3.37
Compiling subplotlib v0.12.0 (/workspace/src/subplotlib)
Compiling log v0.4.22
Compiling remove_dir_all v1.0.0
Compiling filetime v0.2.25
Compiling fs2 v0.4.3
Compiling anstyle-parse v0.2.6
Compiling anstyle-query v1.1.2
Compiling colorchoice v1.0.3
Compiling anstyle v1.0.10
Compiling anstream v0.6.18
Compiling clap_lex v0.7.4
Compiling clap_builder v4.5.23
Compiling clap v4.5.23
Compiling git-testament-derive v0.2.1
Compiling tracing-log v0.2.0
Compiling thread_local v1.1.8
Compiling smallvec v1.13.2
Compiling git-testament v0.2.6
Compiling tracing-subscriber v0.3.19
Compiling subplot-build v0.12.0 (/workspace/src/subplot-build)
Compiling subplot-bin v0.12.0 (/workspace/src/bin)
Compiling subplot-seq-example v0.1.0 (/workspace/src/examples/seq)
Finished `test` profile [unoptimized + debuginfo] target(s) in 39.25s
Running unittests src/lib.rs (/workspace/cache/debug/deps/subplot-094668524162d5b8)
running 108 tests
test bindings::test_binding::creates_new ... ok
test bindings::test_binding::case_sensitive_mismatch ... ok
test bindings::test_binding::does_not_match_with_wrong_kind ... ok
test bindings::test_binding::does_not_match_with_wrong_text ... ok
test bindings::test_binding::equal ... ok
test bindings::test_binding::match_with_fixed_pattern ... ok
test bindings::test_binding::not_equal ... ok
test bindings::test_bindings::add_from_yaml_notices_multiple_keywords ... ok
test bindings::test_bindings::adds_binding ... ok
test bindings::test_binding::match_with_regex ... ok
test bindings::test_bindings::does_not_find_match_for_unmatching_kind ... ok
test bindings::test_bindings::does_not_find_match_for_unmatching_pattern ... ok
test bindings::test_bindings::finds_match_for_fixed_string_pattern ... ok
test bindings::test_bindings::finds_match_for_regexp_pattern ... ok
test bindings::test_bindings::has_no_bindings_initially ... ok
test bindings::test_bindings::adds_from_yaml ... ok
test bindings::test_bindings::two_matching_bindings ... ok
test bindings::test_bindings::typemap_must_match_pattern ... ok
test bindings::test_regex_from_simple_pattern::returns_boring_pattern_as_is ... ok
test bindings::test_regex_from_simple_pattern::returns_empty_string_as_is ... ok
test bindings::test_regex_from_simple_pattern::kindless_simple_pattern ... ok
test bindings::test_regex_from_simple_pattern::returns_error_for_stray_closing_brace ... ok
test bindings::test_regex_from_simple_pattern::returns_error_for_stray_closing_brace_before_capture ... ok
test bindings::test_regex_from_simple_pattern::returns_error_for_stray_opening_brace ... ok
test bindings::test_regex_from_simple_pattern::returns_error_for_stray_opening_brace_before_capture ... ok
test bindings::test_regex_from_simple_pattern::returns_pattern_with_regexp_chars_escaped ... ok
test bindings::test_regex_from_simple_pattern::simple_int_pattern ... ok
test bindings::test_regex_from_simple_pattern::simple_text_pattern ... ok
test bindings::test_regex_from_simple_pattern::simple_number_pattern ... ok
test bindings::test_regex_from_simple_pattern::simple_word_pattern ... ok
test bindings::test_regex_from_simple_pattern::typemap_and_pattern_kind_must_match ... ok
test bindings::test_regex_from_simple_pattern::typemap_checked_on_pattern_parse_and_default_agrees ... ok
test bindings::test_regex_from_simple_pattern::typemap_updated_on_pattern_parse_default ... ok
test bindings::test_regex_from_simple_pattern::typemap_updated_on_pattern_parse_explicit ... ok
test bindings::test_regex_from_simple_pattern::typemap_used_when_kind_not_present ... ok
test blockattr::test::empty_braces ... ok
test blockattr::test::empty_string ... ok
test blockattr::test::just_word ... ok
test blockattr::test::open_brace_without_close ... ok
test blockattr::test::parse_one_dotted_word ... ok
test blockattr::test::parse_one_id ... ok
test blockattr::test::parse_one_kv ... ok
test bindings::test_regex_from_simple_pattern::simple_uint_pattern ... ok
test blockattr::test::parse_one_kv_with_double_quotes ... ok
test blockattr::test::parse_one_kv_with_single_quotes ... ok
test blockattr::test::parse_one_word ... ok
test blockattr::test::two_ids ... ok
test blockattr::test::two_words ... ok
test codegen::test::verify_commentsafe_filter ... ok
test codegen::test::verify_name_slugification ... ok
test html::test_tag::can_self_close ... ok
test html::test_tag::cannot_self_close ... ok
test matches::test::returns_text ... ok
test matches::test::returns_uncaptured ... ok
test matches::test_partial_steps::different_captured_texts_dont_match ... ok
test matches::test_partial_steps::different_uncaptured_texts_dont_match ... ok
test matches::test_partial_steps::differently_captured_texts_dont_match ... ok
test matches::test_partial_steps::differently_named_captured_texts_dont_match ... ok
test matches::test_partial_steps::identical_captured_texts_match ... ok
test matches::test_partial_steps::identical_uncaptured_texts_match ... ok
test md::test::finds_block_classes ... ok
test md::test::finds_embedded_files ... ok
test md::test::finds_images ... ok
test md::test::finds_no_blocks_in_empty_doc ... ok
test md::test::finds_no_classes_when_no_blocks_have_them ... ok
test md::test::finds_no_embedded_files_in_empty_doc ... ok
test md::test::finds_no_images_in_empty_doc ... ok
test md::test::finds_no_scenarios_in_empty_doc ... ok
test md::test::finds_scenarios ... ok
test md::test::loads_empty_doc ... ok
test md::test::parses_auto_as_auto ... ok
test md::test::parses_empty_as_error ... ok
test md::test::parses_garbage_as_error ... ok
test md::test::parses_no_as_no ... ok
test md::test::parses_no_auto_newline_as_auto ... ok
test md::test::parses_yes_as_yes ... ok
test md::test_extract::returns_error_if_scenario_has_no_title ... ok
test md::test_extract::returns_nothing_if_there_is_no_scenario ... ok
test md::test_extract::returns_parent_section_with_scenario_snippet ... ok
test md::test_extract::returns_scenario_if_there_is_one ... ok
test md::test_extract::skips_scenarioless_deeper_headings ... ok
test md::test_extract::skips_scenarioless_parent_heading ... ok
test md::test_extract::skips_scenarioless_section_in_favour_of_same_level ... ok
test metadata::test::full_meta ... ok
test scenarios::filtertest::exclude_slow ... ok
test scenarios::filtertest::exclude_unimportant_slow ... ok
test scenarios::filtertest::include_all ... ok
test scenarios::filtertest::include_fast ... ok
test scenarios::filtertest::include_none ... ok
test scenarios::test::adds_step ... ok
test scenarios::test::has_no_steps_initially ... ok
test scenarios::test::has_title ... ok
test steps::test::fails_to_parse_and ... ok
test steps::test::parses_and ... ok
test steps::test::parses_given ... ok
test steps::test::parses_given_with_extra_spaces ... ok
test steps::test::parses_then ... ok
test steps::test::parses_when ... ok
test steps::test_steps_parser::empty_string ... ok
test steps::test_steps_parser::preserve_nonascii_whitespace ... ok
test steps::test_steps_parser::simple ... ok
test steps::test_steps_parser::two_simple ... ok
test templatespec::test::new_from_yaml ... ok
test toc::test_numberer::numbering ... ok
test toc::test_slugs::short_and_simple ... ok
test toc::test_slugs::unique_for_identical_simple_headings ... ok
test toc::test_toc::iterate ... ok
test toc::test_toc::uses_given_slug ... ok
test result: ok. 108 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s
Running tests/bindings-ubm.rs (/workspace/cache/debug/deps/bindings_ubm-d0f6bc72cfbb7793)
running 1 test
test bindings_microbenchmark ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.87s
Running unittests src/subplot.rs (/workspace/cache/debug/deps/subplot-5f1e2e98cf42a9e2)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/lib.rs (/workspace/cache/debug/deps/subplot_build-6b2dd467b72efad4)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/seq.rs (/workspace/cache/debug/deps/seq-7ec92c4715a5f2cc)
running 4 tests
test more_than_one_number ... ok
test no_arguments ... ok
test not_a_number ... ok
test one_number ... ok
test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/lib.rs (/workspace/cache/debug/deps/subplotlib-e06c73a79c36ff5c)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/files.rs (/workspace/cache/debug/deps/files-4f8862c0f10e9faf)
running 7 tests
test create_on_disk_files_from_embedded_files ... ok
test directories ... ok
test file_and_directory_removal ... ok
test file_equality ... ok
test file_metadata ... ok
test file_modification_time ... ok
test file_contents ... ok
test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/runcmd.rs (/workspace/cache/debug/deps/runcmd-2695413f9701aad6)
running 21 tests
test check_stderr_doesn_t_contain_sub_string ... ok
test check_stderr_doesn_t_match_regular_expressions ... ok
test check_stderr_is_exactly_as_wanted ... ok
test check_stderr_is_not_exactly_something ... ok
test check_stderr_using_regular_expressions ... ok
test check_stderr_using_sub_string_search ... ok
test check_stdout_doesn_t_contain_sub_string ... ok
test check_stdout_doesn_t_match_regular_expression ... ok
test check_stdout_is_exactly_as_wanted ... ok
test check_stdout_using_regular_expressions ... ok
test check_stdout_is_not_exactly_something ... ok
test check_stdout_using_sub_string_search ... ok
test check_we_can_prepend_to__path ... ok
test execution_in_a_sub_directory_does_not_affect_home ... ok
test failed_execution_in_a_sub_directory ... ok
test failed_execution ... ok
test stdin_comes_from_a_named_file ... ok
test stdin_contains_exactly ... ok
test setting_and_clearing_of_environment_variables ... ok
test successful_execution ... ok
test successful_execution_in_a_sub_directory ... ok
test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
Running tests/subplot-codegen.rs (/workspace/cache/debug/deps/subplot_codegen-decbcd508a05ce8d)
running 29 tests
test capture_using_regular_expressions ... FAILED
test all_the_keywords ... FAILED
test cleanup_functions_get_called_on_failure__python_ ... FAILED
test capture_using_simple_patterns ... FAILED
test code_generator_gives_an_error_if_input_document_lacks_title ... ok
test embedded_file_name_didn_t_match ... ok
test cleanup_functions_gets_called_on_success__python_ ... FAILED
test examples_are_not_files ... ok
test empty_lines_in_scenarios ... FAILED
test files_not_in_current_working_directory ... ok
test missing_functions_file ... ok
test misuse_of_continuation_keywords ... ok
test lowest_level_heading_is_name_of_scenario ... ok
test next_heading_at_higher_level_starts_new_scenario ... ok
test next_heading_at_same_level_starts_new_scenario ... ok
test no_scenarios_means_codegen_fails ... ok
test no_template_means_you_can_docgen_but_not_codegen ... ok
test recall_values_for_use_in_later_steps ... ok
test running_only_chosen_scenarios_with_python ... ok
test simple_patterns_with_regex_metacharacters__allowed_case ... ok
test simple_patterns_with_regex_metacharacters__forbidden_case ... ok
test set_environment_variables_in_generated_test_programs ... ok
test smoke_test ... FAILED
test steps_which_do_not_case_sensitively_match_sensitive_bindings_do_not_work ... ok
test steps_which_do_not_match_bindings_do_not_work ... ok
test steps_which_match_more_than_one_binding_do_not_work ... ok
test subplot_accepts_title_and_headings_with_inline_markup ... ok
test subheadings_don_t_start_new_scenario ... ok
test temporary_files_in_scenarios_in_python ... FAILED
failures:
---- capture_using_regular_expressions stdout ----
unknown: scenario: Capture using regular expressions
/workspace/src/subplot.md:1788:1: step: given file regex.subplot
/workspace/src/subplot.md:1789:1: step: given file regex.md
/workspace/src/subplot.md:1790:1: step: given file regex.yaml
/workspace/src/subplot.md:1791:1: step: given file capture.py
/workspace/src/subplot.md:1792:1: step: given an installed subplot
Creating temporary rundir at /tmp/.tmp5CeIq4
/workspace/src/subplot.md:1793:1: step: when I run subplot codegen --run regex.subplot -o test.py
Running `subplot` with args ["codegen", "--run", "regex.subplot", "-o", "test.py"]
Running in /tmp/subplothjRnPCapture-using-regular-expressions
ENV: SHELL = /bin/sh
PATH: /workspace/cache/debug:/tmp/.tmp5CeIq4:/workspace/deps/bin:/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Exit code: 0
Stdout:
srcdir /tmp/subplothjRnPCapture-using-regular-expressions
datadir /tmp/subplothjRnPCapture-using-regular-expressions/tmp802x3fsh
scenario: Regex
step 1: given I am Tomjon
function got argument name as Tomjon
OK, all scenarios finished successfully
Stderr:
INFO Starting Subplot
INFO Subplot finished successfully
/workspace/src/subplot.md:1794:1: step: then scenario "Regex" was run
/workspace/src/subplot.md:1795:1: step: then step "given I am Tomjon" was run
cleanup: given an installed subplot
return: Failure
thread 'capture_using_regular_expressions' panicked at subplotlib/tests/subplot-codegen.rs:2:1:
called `Result::unwrap()` on an `Err` value: "stdout does not contain \"\\n step: given I am Tomjon\\n\""
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
---- all_the_keywords stdout ----
unknown: scenario: All the keywords
/workspace/src/subplot.md:1225:1: step: given file allkeywords.subplot
/workspace/src/subplot.md:1226:1: step: given file allkeywords.md
/workspace/src/subplot.md:1227:1: step: given file b.yaml
/workspace/src/subplot.md:1228:1: step: given file f.py
/workspace/src/subplot.md:1229:1: step: given an installed subplot
Creating temporary rundir at /tmp/.tmpagW9Gw
/workspace/src/subplot.md:1230:1: step: when I run subplot codegen --run allkeywords.subplot -o test.py
Running `subplot` with args ["codegen", "--run", "allkeywords.subplot", "-o", "test.py"]
Running in /tmp/subplotgzmeWAll-the-keywords
ENV: SHELL = /bin/sh
PATH: /workspace/cache/debug:/tmp/.tmpagW9Gw:/workspace/deps/bin:/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Exit code: 0
Stdout:
srcdir /tmp/subplotgzmeWAll-the-keywords
datadir /tmp/subplotgzmeWAll-the-keywords/tmp89p3iog6
scenario: All keywords
step 1: given precondition foo
step 2: when I do bar
step 3: when I do foobar
step 4: then bar was done
step 5: then foobar was done
OK, all scenarios finished successfully
Stderr:
INFO Starting Subplot
INFO Subplot finished successfully
/workspace/src/subplot.md:1231:1: step: then scenario "All keywords" was run
/workspace/src/subplot.md:1232:1: step: then step "given precondition foo" was run
cleanup: given an installed subplot
return: Failure
thread 'all_the_keywords' panicked at subplotlib/tests/subplot-codegen.rs:2:1:
called `Result::unwrap()` on an `Err` value: "stdout does not contain \"\\n step: given precondition foo\\n\""
---- cleanup_functions_get_called_on_failure__python_ stdout ----
unknown: scenario: Cleanup functions get called on failure (Python)
/workspace/src/subplot.md:1568:1: step: given file cleanup-fail-python.subplot
/workspace/src/subplot.md:1569:1: step: given file cleanup-fail-python.md
/workspace/src/subplot.md:1570:1: step: given file cleanup.yaml
/workspace/src/subplot.md:1571:1: step: given file cleanup.py
/workspace/src/subplot.md:1572:1: step: given an installed subplot
Creating temporary rundir at /tmp/.tmpvWEg5y
/workspace/src/subplot.md:1573:1: step: when I try to run subplot codegen --run cleanup-fail-python.subplot -o test.py
Running `subplot` with args ["codegen", "--run", "cleanup-fail-python.subplot", "-o", "test.py"]
Running in /tmp/subplotUJuSPCleanup-functions-get-called-on-failure--Python-
ENV: SHELL = /bin/sh
PATH: /workspace/cache/debug:/tmp/.tmpvWEg5y:/workspace/deps/bin:/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Exit code: 2
Stdout:
srcdir /tmp/subplotUJuSPCleanup-functions-get-called-on-failure--Python-
datadir /tmp/subplotUJuSPCleanup-functions-get-called-on-failure--Python-/tmpfbxbs97z
scenario: Cleanup
step 1: given foo
step 2: given bar
step 3: given failure
cleanup 2: given bar
cleanup 1: given foo
Stderr:
INFO Starting Subplot
Traceback (most recent call last):
File "/tmp/subplotUJuSPCleanup-functions-get-called-on-failure--Python-/test.py", line 544, in <module>
main(_scenarios)
File "/tmp/subplotUJuSPCleanup-functions-get-called-on-failure--Python-/test.py", line 452, in main
scen.run(_datadir, extra_env)
File "/tmp/subplotUJuSPCleanup-functions-get-called-on-failure--Python-/test.py", line 534, in run
self._scenario.run(datadir, extra_env)
File "/tmp/subplotUJuSPCleanup-functions-get-called-on-failure--Python-/test.py", line 289, in run
step.do(ctx)
File "/tmp/subplotUJuSPCleanup-functions-get-called-on-failure--Python-/test.py", line 250, in do
self._function(ctx, **self._args)
File "/tmp/subplotUJuSPCleanup-functions-get-called-on-failure--Python-/test.py", line 17, in failure
assert 0
AssertionError
ERROR Test suite failed!
/workspace/src/subplot.md:1574:1: step: then scenario "Cleanup" was run
/workspace/src/subplot.md:1575:1: step: then step "given foo" was run, and then step "given bar"
cleanup: given an installed subplot
return: Failure
thread 'cleanup_functions_get_called_on_failure__python_' panicked at subplotlib/tests/subplot-codegen.rs:2:1:
called `Result::unwrap()` on an `Err` value: "stdout does not contain \"\\n step: given foo\\n step: given bar\""
---- capture_using_simple_patterns stdout ----
unknown: scenario: Capture using simple patterns
/workspace/src/subplot.md:1665:1: step: given file simplepattern.subplot
/workspace/src/subplot.md:1666:1: step: given file simplepattern.md
/workspace/src/subplot.md:1667:1: step: given file simplepattern.yaml
/workspace/src/subplot.md:1668:1: step: given file capture.py
/workspace/src/subplot.md:1669:1: step: given an installed subplot
Creating temporary rundir at /tmp/.tmpOk8gIM
/workspace/src/subplot.md:1670:1: step: when I run subplot codegen --run simplepattern.subplot -o test.py
Running `subplot` with args ["codegen", "--run", "simplepattern.subplot", "-o", "test.py"]
Running in /tmp/subplotmElLaCapture-using-simple-patterns
ENV: SHELL = /bin/sh
PATH: /workspace/cache/debug:/tmp/.tmpOk8gIM:/workspace/deps/bin:/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Exit code: 0
Stdout:
srcdir /tmp/subplotmElLaCapture-using-simple-patterns
datadir /tmp/subplotmElLaCapture-using-simple-patterns/tmp3ds4ncnc
scenario: Simple pattern
step 1: given I am Tomjon
function got argument name as Tomjon
OK, all scenarios finished successfully
Stderr:
INFO Starting Subplot
INFO Subplot finished successfully
/workspace/src/subplot.md:1671:1: step: then scenario "Simple pattern" was run
/workspace/src/subplot.md:1672:1: step: then step "given I am Tomjon" was run
cleanup: given an installed subplot
return: Failure
thread 'capture_using_simple_patterns' panicked at subplotlib/tests/subplot-codegen.rs:2:1:
called `Result::unwrap()` on an `Err` value: "stdout does not contain \"\\n step: given I am Tomjon\\n\""
---- cleanup_functions_gets_called_on_success__python_ stdout ----
unknown: scenario: Cleanup functions gets called on success (Python)
/workspace/src/subplot.md:1532:1: step: given file cleanup-success-python.subplot
/workspace/src/subplot.md:1533:1: step: given file cleanup-success-python.md
/workspace/src/subplot.md:1534:1: step: given file cleanup.yaml
/workspace/src/subplot.md:1535:1: step: given file cleanup.py
/workspace/src/subplot.md:1536:1: step: given an installed subplot
Creating temporary rundir at /tmp/.tmpuMwMS6
/workspace/src/subplot.md:1537:1: step: when I run subplot codegen --run cleanup-success-python.subplot -o test.py
Running `subplot` with args ["codegen", "--run", "cleanup-success-python.subplot", "-o", "test.py"]
Running in /tmp/subplotYESTUCleanup-functions-gets-called-on-success--Python-
ENV: SHELL = /bin/sh
PATH: /workspace/cache/debug:/tmp/.tmpuMwMS6:/workspace/deps/bin:/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Exit code: 0
Stdout:
srcdir /tmp/subplotYESTUCleanup-functions-gets-called-on-success--Python-
datadir /tmp/subplotYESTUCleanup-functions-gets-called-on-success--Python-/tmpk5ngvilw
scenario: Cleanup
step 1: given foo
step 2: given bar
cleanup 2: given bar
cleanup 1: given foo
OK, all scenarios finished successfully
Stderr:
INFO Starting Subplot
INFO Subplot finished successfully
/workspace/src/subplot.md:1538:1: step: then scenario "Cleanup" was run
/workspace/src/subplot.md:1539:1: step: then step "given foo" was run, and then step "given bar"
cleanup: given an installed subplot
return: Failure
thread 'cleanup_functions_gets_called_on_success__python_' panicked at subplotlib/tests/subplot-codegen.rs:2:1:
called `Result::unwrap()` on an `Err` value: "stdout does not contain \"\\n step: given foo\\n step: given bar\""
---- empty_lines_in_scenarios stdout ----
unknown: scenario: Empty lines in scenarios
/workspace/src/subplot.md:1450:1: step: given file emptylines.subplot
/workspace/src/subplot.md:1451:1: step: given file emptylines.md
/workspace/src/subplot.md:1452:1: step: given file b.yaml
/workspace/src/subplot.md:1453:1: step: given file f.py
/workspace/src/subplot.md:1454:1: step: given an installed subplot
Creating temporary rundir at /tmp/.tmpxVFwi5
/workspace/src/subplot.md:1455:1: step: when I run subplot docgen emptylines.subplot -o emptylines.html
Running `subplot` with args ["docgen", "emptylines.subplot", "-o", "emptylines.html"]
Running in /tmp/subplotfEnBREmpty-lines-in-scenarios
ENV: SHELL = /bin/sh
PATH: /workspace/cache/debug:/tmp/.tmpxVFwi5:/workspace/deps/bin:/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Exit code: 0
Stdout:
Stderr:
INFO Starting Subplot
INFO Subplot finished successfully
/workspace/src/subplot.md:1456:1: step: then file emptylines.html exists
/workspace/src/subplot.md:1457:1: step: when I run subplot codegen --run emptylines.subplot -o test.py
Running `subplot` with args ["codegen", "--run", "emptylines.subplot", "-o", "test.py"]
Running in /tmp/subplotfEnBREmpty-lines-in-scenarios
ENV: SHELL = /bin/sh
PATH: /workspace/cache/debug:/tmp/.tmpxVFwi5:/workspace/deps/bin:/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Exit code: 0
Stdout:
srcdir /tmp/subplotfEnBREmpty-lines-in-scenarios
datadir /tmp/subplotfEnBREmpty-lines-in-scenarios/tmp9wt5uu0p
scenario: Simple
step 1: given precondition foo
step 2: when I do bar
step 3: then bar was done
OK, all scenarios finished successfully
Stderr:
INFO Starting Subplot
INFO Subplot finished successfully
/workspace/src/subplot.md:1458:1: step: then scenario "Simple" was run
/workspace/src/subplot.md:1459:1: step: then step "given precondition foo" was run
cleanup: given an installed subplot
return: Failure
thread 'empty_lines_in_scenarios' panicked at subplotlib/tests/subplot-codegen.rs:2:1:
called `Result::unwrap()` on an `Err` value: "stdout does not contain \"\\n step: given precondition foo\\n\""
---- smoke_test stdout ----
unknown: scenario: Smoke test
/workspace/src/subplot.md:1052:1: step: given file simple.subplot
/workspace/src/subplot.md:1053:1: step: given file simple.md
/workspace/src/subplot.md:1054:1: step: given file b.yaml
/workspace/src/subplot.md:1055:1: step: given file f.py
/workspace/src/subplot.md:1056:1: step: given an installed subplot
Creating temporary rundir at /tmp/.tmpAlSwMb
/workspace/src/subplot.md:1057:1: step: when I run subplot docgen simple.subplot -o simple.html
Running `subplot` with args ["docgen", "simple.subplot", "-o", "simple.html"]
Running in /tmp/subplotxWOJASmoke-test
ENV: SHELL = /bin/sh
PATH: /workspace/cache/debug:/tmp/.tmpAlSwMb:/workspace/deps/bin:/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Exit code: 0
Stdout:
Stderr:
INFO Starting Subplot
INFO Subplot finished successfully
/workspace/src/subplot.md:1058:1: step: then file simple.html exists
/workspace/src/subplot.md:1059:1: step: when I run subplot codegen --run simple.subplot -o test.py
Running `subplot` with args ["codegen", "--run", "simple.subplot", "-o", "test.py"]
Running in /tmp/subplotxWOJASmoke-test
ENV: SHELL = /bin/sh
PATH: /workspace/cache/debug:/tmp/.tmpAlSwMb:/workspace/deps/bin:/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Exit code: 0
Stdout:
srcdir /tmp/subplotxWOJASmoke-test
datadir /tmp/subplotxWOJASmoke-test/tmpnpd30i0v
scenario: Simple
step 1: given precondition foo
step 2: when I do bar
step 3: then bar was done
OK, all scenarios finished successfully
Stderr:
INFO Starting Subplot
INFO Subplot finished successfully
/workspace/src/subplot.md:1060:1: step: then scenario "Simple" was run
/workspace/src/subplot.md:1061:1: step: then step "given precondition foo" was run
cleanup: given an installed subplot
return: Failure
thread 'smoke_test' panicked at subplotlib/tests/subplot-codegen.rs:2:1:
called `Result::unwrap()` on an `Err` value: "stdout does not contain \"\\n step: given precondition foo\\n\""
---- temporary_files_in_scenarios_in_python stdout ----
unknown: scenario: Temporary files in scenarios in Python
/workspace/src/subplot.md:1612:1: step: given file tmpdir.subplot
/workspace/src/subplot.md:1613:1: step: given file tmpdir.md
/workspace/src/subplot.md:1614:1: step: given file tmpdir.yaml
/workspace/src/subplot.md:1615:1: step: given file tmpdir.py
/workspace/src/subplot.md:1616:1: step: given an installed subplot
Creating temporary rundir at /tmp/.tmpfexEUb
/workspace/src/subplot.md:1617:1: step: when I run subplot codegen --run tmpdir.subplot -o test.py
Running `subplot` with args ["codegen", "--run", "tmpdir.subplot", "-o", "test.py"]
Running in /tmp/subplotxCElGTemporary-files-in-scenarios-in-Python
ENV: SHELL = /bin/sh
PATH: /workspace/cache/debug:/tmp/.tmpfexEUb:/workspace/deps/bin:/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Exit code: 0
Stdout:
srcdir /tmp/subplotxCElGTemporary-files-in-scenarios-in-Python
datadir /tmp/subplotxCElGTemporary-files-in-scenarios-in-Python/tmpl3di8w6x
scenario: TMPDIR
step 1: then TMPDIR is set
OK, all scenarios finished successfully
Stderr:
INFO Starting Subplot
INFO Subplot finished successfully
/workspace/src/subplot.md:1618:1: step: then command is successful
/workspace/src/subplot.md:1619:1: step: then scenario "TMPDIR" was run
/workspace/src/subplot.md:1620:1: step: then step "then TMPDIR is set" was run
cleanup: given an installed subplot
return: Failure
thread 'temporary_files_in_scenarios_in_python' panicked at subplotlib/tests/subplot-codegen.rs:2:1:
called `Result::unwrap()` on an `Err` value: "stdout does not contain \"\\n step: then TMPDIR is set\\n\""
failures:
all_the_keywords
capture_using_regular_expressions
capture_using_simple_patterns
cleanup_functions_get_called_on_failure__python_
cleanup_functions_gets_called_on_success__python_
empty_lines_in_scenarios
smoke_test
temporary_files_in_scenarios_in_python
test result: FAILED. 21 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.61s
error: test failed, to rerun pass `-p subplotlib --test subplot-codegen`
make: *** [Makefile:44: rust] Error 101
ERROR: Action failed: command failed: ["/bin/bash", "-c", "set -xeuo pipefail\nexport DEBEMAIL=liw@liw.fi\nexport DEBFULLNAME=\"Lars Wirzenius\"\nexport CARGO_TARGET_DIR=/workspace/cache\nexport CARGO_HOME=/workspace/deps\nexport HOME=/root\nexport PATH=\"/root/.cargo/bin:$PATH\"\n\nshellcheck --help\nmake OFFLINE=\"--locked --offline\"\n\n# Clean up after tests and documentation building.\ngit reset --hard\ngit clean -fdx\ngit status --ignored\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"]
ERROR: command failed: ["/bin/bash", "-c", "set -xeuo pipefail\nexport DEBEMAIL=liw@liw.fi\nexport DEBFULLNAME=\"Lars Wirzenius\"\nexport CARGO_TARGET_DIR=/workspace/cache\nexport CARGO_HOME=/workspace/deps\nexport HOME=/root\nexport PATH=\"/root/.cargo/bin:$PATH\"\n\nshellcheck --help\nmake OFFLINE=\"--locked --offline\"\n\n# Clean up after tests and documentation building.\ngit reset --hard\ngit clean -fdx\ngit status --ignored\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"]
EXIT CODE: 1
[2025-09-11T13:15:45Z INFO ambient] ambient ends successfully
{
"request": "trigger",
"version": 1,
"event_type": "patch",
"repository": {
"id": "rad:zjxyd2A1A7FnxtC69qDfoAajfTHo",
"name": "subplot",
"description": "Capture and communicate acceptance criteria and their verification",
"private": false,
"default_branch": "main",
"delegates": [
"did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV"
]
},
"action": "Created",
"patch": {
"id": "2868ae650ab55df8b9b9e0ae80acb54c334a5dba",
"author": {
"id": "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV",
"alias": "liw"
},
"title": "replace build system with Makefile",
"state": {
"status": "archived",
"conflicts": []
},
"before": "2e38d848af2367ce0591bbd1e3ac99136d3fc4b9",
"after": "09a63d11a52b9019d43d0c227f4bf2de56cf3dbe",
"commits": [
"09a63d11a52b9019d43d0c227f4bf2de56cf3dbe",
"a704a3ed3c34346ea7619f83527f5029803b0d82",
"217f2a460e70db1164e8b22dbb71e00a297d9418",
"5fc378f6fa4903f1c68dcac9da48ef3a04bbc5ac",
"7875152cbfe9f791b0ec7d5dcee25143848efdee",
"429d6486e86b202fdf4720d453c6bd4f5748649e",
"bd8987dd1cb7c1bbeffcfcff9c0dc7fc0143843b",
"be7de2d92465e25a95ed26ff0a62a36597b175b7",
"99fc5d9ee47ee6daa25a46c3745aa2c732107d30"
],
"target": "8539754c682ec6adaed454d236e778d2b15daf19",
"labels": [],
"assignees": [],
"revisions": [
{
"id": "2868ae650ab55df8b9b9e0ae80acb54c334a5dba",
"author": {
"id": "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV",
"alias": "liw"
},
"description": "",
"base": "2e38d848af2367ce0591bbd1e3ac99136d3fc4b9",
"oid": "09a63d11a52b9019d43d0c227f4bf2de56cf3dbe",
"timestamp": 1752228974
}
]
}
}[2025-09-11T13:14:03Z INFO ambient] ambient starts
[2025-09-11T13:14:03Z DEBUG ambient] load default configuration file /home/_rad/.config/ambient/config.yaml if it exists
deprecated: the `cpus` field is replaced by `qemu.cpus`
deprecated: the `memory` field is replaced by `qemu.memory`
[2025-09-11T13:14:03Z DEBUG ambient] complete configuration: Config {
tmpdir: "/home/_rad/tmp",
image_store: "/home/_rad/ambient-images",
projects: "/dev/null",
state: "/home/_rad/ambient-state",
rsync_target: None,
rsync_target_base: None,
rsync_target_map: None,
dput_target: None,
executor: Some(
"/usr/bin/ambient-execute-plan",
),
artifacts_max_size: Byte(
1000000000,
),
cache_max_size: Byte(
30000000000,
),
qemu: QemuConfig {
cpus: 2,
memory: Byte(
12000000000,
),
kvm_binary: "/usr/bin/kvm",
ovmf_vars_file: "/usr/share/ovmf/OVMF.fd",
ovmf_code_file: "/usr/share/ovmf/OVMF.fd",
},
}
[2025-09-11T13:14:03Z DEBUG ambient] configuration: Config {
tmpdir: "/home/_rad/tmp",
image_store: "/home/_rad/ambient-images",
projects: "/dev/null",
state: "/home/_rad/ambient-state",
rsync_target: None,
rsync_target_base: None,
rsync_target_map: None,
dput_target: None,
executor: Some(
"/usr/bin/ambient-execute-plan",
),
artifacts_max_size: Byte(
1000000000,
),
cache_max_size: Byte(
30000000000,
),
qemu: QemuConfig {
cpus: 2,
memory: Byte(
12000000000,
),
kvm_binary: "/usr/bin/kvm",
ovmf_vars_file: "/usr/share/ovmf/OVMF.fd",
ovmf_code_file: "/usr/share/ovmf/OVMF.fd",
},
}
[2025-09-11T13:14:03Z DEBUG ambient_ci::project] load project state from /home/_rad/ambient-state/rad:zjxyd2A1A7FnxtC69qDfoAajfTHo/meta.yaml
[2025-09-11T13:14:03Z DEBUG ambient_ci::run] latest commit: "8539754c682ec6adaed454d236e778d2b15daf19"
[2025-09-11T13:14:03Z DEBUG ambient_ci::run] is a git repository
[2025-09-11T13:14:03Z DEBUG ambient_ci::run] git repository is clean
[2025-09-11T13:14:03Z DEBUG ambient_ci::run] current (HEAD) commit: 09a63d11a52b9019d43d0c227f4bf2de56cf3dbe
[2025-09-11T13:14:03Z DEBUG ambient_ci::run] no dry run requested
[2025-09-11T13:14:03Z DEBUG ambient_ci::run] forced run requested
[2025-09-11T13:14:03Z DEBUG ambient_ci::run] run? true
[2025-09-11T13:14:03Z INFO ambient_ci::run] project rad:zjxyd2A1A7FnxtC69qDfoAajfTHo: running CI
[2025-09-11T13:14:03Z DEBUG ambient_ci::run] Executing pre-plan steps
[2025-09-11T13:14:03Z DEBUG ambient_ci::action] Plan::execute: CargoFetch {
sourcedir: "/tmp/.tmpBlkNeg/src",
dependenciesdir: "/home/_rad/ambient-state/rad:zjxyd2A1A7FnxtC69qDfoAajfTHo/dependencies",
}
SPAWN: argv=["env", "CARGO_HOME=/home/_rad/ambient-state/rad:zjxyd2A1A7FnxtC69qDfoAajfTHo/dependencies", "cargo", "fetch", "--locked"]
cwd=/tmp/.tmpBlkNeg/src (exists? true)
extra_env=[]
[2025-09-11T13:14:04Z DEBUG ambient_ci::run] create virtual drive /home/_rad/tmp/.tmpIoDR6v/src.tar
[2025-09-11T13:14:04Z DEBUG ambient_ci::run] create virtual drive /home/_rad/tmp/.tmpIoDR6v/deps.tar
[2025-09-11T13:14:04Z DEBUG ambient_ci::run] create_executor_vdrive: executor="/usr/bin/ambient-execute-plan"
[2025-09-11T13:14:04Z DEBUG ambient_ci::run] create_executor_vdrive: plan=RunnablePlan {
steps: [
Mkdir {
pathname: "/workspace",
},
Mkdir {
pathname: "/workspace/artifacts",
},
TarExtract {
archive: "/dev/vdc",
directory: "/workspace/src",
},
TarExtract {
archive: "/dev/vdf",
directory: "/workspace/deps",
},
TarExtract {
archive: "/dev/vde",
directory: "/workspace/cache",
},
Spawn {
argv: [
"find",
"/workspace",
"-maxdepth",
"2",
"-ls",
],
},
CargoFmt,
CargoClippy,
Shell {
shell: "export DEBEMAIL=liw@liw.fi\nexport DEBFULLNAME=\"Lars Wirzenius\"\nexport CARGO_TARGET_DIR=/workspace/cache\nexport CARGO_HOME=/workspace/deps\nexport HOME=/root\nexport PATH=\"/root/.cargo/bin:$PATH\"\n\nshellcheck --help\nmake OFFLINE=\"--locked --offline\"\n\n# Clean up after tests and documentation building.\ngit reset --hard\ngit clean -fdx\ngit status --ignored\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",
},
Deb,
TarCreate {
archive: "/dev/vde",
directory: "/workspace/cache",
},
TarCreate {
archive: "/dev/vdd",
directory: "/workspace/artifacts",
},
],
executor_drive: Some(
"/dev/vdb",
),
source_drive: Some(
"/dev/vdc",
),
artifact_drive: Some(
"/dev/vdd",
),
cache_drive: Some(
"/dev/vde",
),
deps_drive: Some(
"/dev/vdf",
),
workspace_dir: Some(
"/workspace",
),
source_dir: Some(
"/workspace/src",
),
deps_dir: Some(
"/workspace/deps",
),
cache_dir: Some(
"/workspace/cache",
),
artifacts_dir: Some(
"/workspace/artifacts",
),
}
[2025-09-11T13:14:04Z DEBUG ambient_ci::run] executor bin /usr/bin/ambient-execute-plan
[2025-09-11T13:14:04Z DEBUG ambient_ci::run] copying /usr/bin/ambient-execute-plan to /home/_rad/tmp/.tmpIoDR6v/ambient-execute-plan/run-ci
[2025-09-11T13:14:04Z DEBUG ambient_ci::run] copy OK: true
[2025-09-11T13:14:04Z DEBUG ambient_ci::run] create virtual drive /home/_rad/tmp/.tmpIoDR6v/executor.tar
[2025-09-11T13:14:06Z DEBUG ambient_ci::project] removing run log file /home/_rad/ambient-state/rad:zjxyd2A1A7FnxtC69qDfoAajfTHo/run.log
[2025-09-11T13:14:06Z DEBUG ambient_ci::project] statedir is /home/_rad/ambient-state/rad:zjxyd2A1A7FnxtC69qDfoAajfTHo, exists? true
[2025-09-11T13:14:06Z DEBUG ambient_ci::project] creating run log file /home/_rad/ambient-state/rad:zjxyd2A1A7FnxtC69qDfoAajfTHo/run.log
[2025-09-11T13:14:06Z DEBUG ambient_ci::project] created run log file /home/_rad/ambient-state/rad:zjxyd2A1A7FnxtC69qDfoAajfTHo/run.log OK
[2025-09-11T13:14:06Z DEBUG ambient_ci::cloud_init] with_hostname called: "ambient"
[2025-09-11T13:14:06Z DEBUG ambient_ci::cloud_init] with_runcmd called: "echo xyzzy > /dev/ttyS1"
[2025-09-11T13:14:06Z DEBUG ambient_ci::cloud_init] with_runcmd called: "\n(set -xeu\nenv\ndir=\"$(mktemp -d)\"\ncd \"$dir\"\ntar -xvf /dev/vdb\nfind -ls || true\nldd ./run-ci || true\necho ================================ BEGIN ================================\nexport RUST_BACKTRACE=1\nif ./run-ci; then\n echo \"EXIT CODE: 0\"\nelse\n echo \"EXIT CODE: $?\"\nfi) > /dev/ttyS1 2>&1\n"
[2025-09-11T13:14:06Z DEBUG ambient_ci::cloud_init] with_runcmd called: "poweroff"
[2025-09-11T13:14:06Z DEBUG ambient_ci::cloud_init] LocalDataStoreBuilder: LocalDataStoreBuilder {
hostname: Some(
"ambient",
),
network: false,
bootcmd: [],
runcmd: [
"echo xyzzy > /dev/ttyS1",
"\n(set -xeu\nenv\ndir=\"$(mktemp -d)\"\ncd \"$dir\"\ntar -xvf /dev/vdb\nfind -ls || true\nldd ./run-ci || true\necho ================================ BEGIN ================================\nexport RUST_BACKTRACE=1\nif ./run-ci; then\n echo \"EXIT CODE: 0\"\nelse\n echo \"EXIT CODE: $?\"\nfi) > /dev/ttyS1 2>&1\n",
"poweroff",
],
}
[2025-09-11T13:14:06Z DEBUG ambient_ci::qemu] run QEMU
[2025-09-11T13:14:06Z DEBUG ambient_ci::qemu] create copy-on-write image and UEFI vars file
[2025-09-11T13:14:06Z DEBUG ambient_ci::qemu_utils] qemu-img create /home/_rad/tmp/.tmpwb3Uw3/.tmp3lwNue/vm.qcow2 backing on /home/_rad/ambient.qcow2
[2025-09-11T13:14:06Z DEBUG ambient_ci::qemu] create cloud-init ISO file
[2025-09-11T13:14:06Z DEBUG ambient_ci::cloud_init] LocalDataStore: LocalDataStore {
hostname: "ambient",
network: false,
bootcmd: [],
runcmd: [
"echo xyzzy > /dev/ttyS1",
"\n(set -xeu\nenv\ndir=\"$(mktemp -d)\"\ncd \"$dir\"\ntar -xvf /dev/vdb\nfind -ls || true\nldd ./run-ci || true\necho ================================ BEGIN ================================\nexport RUST_BACKTRACE=1\nif ./run-ci; then\n echo \"EXIT CODE: 0\"\nelse\n echo \"EXIT CODE: $?\"\nfi) > /dev/ttyS1 2>&1\n",
"poweroff",
],
}
[2025-09-11T13:14:06Z DEBUG ambient_ci::cloud_init] write /tmp/.tmpbJQ8PT/meta-data
[2025-09-11T13:14:06Z DEBUG ambient_ci::cloud_init] write /tmp/.tmpbJQ8PT/user-data
[2025-09-11T13:14:07Z DEBUG ambient_ci::qemu] set console log file to /home/_rad/tmp/.tmpwb3Uw3/.tmp3lwNue/console.log
[2025-09-11T13:14:07Z DEBUG ambient_ci::util] create file /home/_rad/tmp/.tmpwb3Uw3/.tmp3lwNue/console.log
[2025-09-11T13:14:07Z DEBUG ambient_ci::qemu] set run file to /home/_rad/ambient-state/rad:zjxyd2A1A7FnxtC69qDfoAajfTHo/run.log
[2025-09-11T13:14:07Z DEBUG ambient_ci::util] create file /home/_rad/ambient-state/rad:zjxyd2A1A7FnxtC69qDfoAajfTHo/run.log
[2025-09-11T13:14:07Z DEBUG ambient_ci::qemu] run QEMU: QemuArgs {
args: [
"-m",
"11444",
"-smp",
"cpus=2",
"-cpu",
"kvm64",
"-machine",
"type=q35,accel=kvm,usb=off",
"-uuid",
"a85c9de7-edc0-4e54-bead-112e5733582c",
"-boot",
"strict=on",
"-name",
"ambient-ci-vm",
"-rtc",
"base=utc,driftfix=slew",
"-display",
"none",
"-device",
"virtio-rng-pci",
"-serial",
"file:/home/_rad/tmp/.tmpwb3Uw3/.tmp3lwNue/console.log",
"-serial",
"file:/home/_rad/ambient-state/rad:zjxyd2A1A7FnxtC69qDfoAajfTHo/run.log",
"-drive",
"if=pflash,format=raw,unit=0,file=/usr/share/ovmf/OVMF.fd,readonly=on",
"-drive",
"if=pflash,format=raw,unit=1,file=/home/_rad/tmp/.tmpwb3Uw3/.tmp3lwNue/vars.fd",
"-drive",
"format=qcow2,if=virtio,file=/home/_rad/tmp/.tmpwb3Uw3/.tmp3lwNue/vm.qcow2",
"-drive",
"format=raw,if=virtio,file=/home/_rad/tmp/.tmpIoDR6v/executor.tar,readonly=on",
"-cdrom",
"/home/_rad/tmp/.tmpwb3Uw3/.tmp3lwNue/cloud_init.iso",
"-drive",
"format=raw,if=virtio,file=/home/_rad/tmp/.tmpIoDR6v/src.tar,readonly=on",
"-drive",
"format=raw,if=virtio,file=/home/_rad/tmp/.tmpIoDR6v/artifacts.tar",
"-drive",
"format=raw,if=virtio,file=/home/_rad/tmp/.tmpIoDR6v/cache.tar",
"-drive",
"format=raw,if=virtio,file=/home/_rad/tmp/.tmpIoDR6v/deps.tar,readonly=on",
"-nodefaults",
"-no-user-config",
],
}
[2025-09-11T13:15:44Z DEBUG ambient_ci::qemu] QEMU finished OK
[2025-09-11T13:15:44Z DEBUG ambient_ci::qemu] run log:
--------------------==========
[2025-09-11T13:14:10Z TRACE ambient_execute_plan] ambient-execute-plan starts
[2025-09-11T13:14:10Z DEBUG ambient_execute_plan] ambient-execute-plan starts
[2025-09-11T13:14:10Z INFO ambient_execute_plan] ambient-execute-plan starts
[2025-09-11T13:14:10Z WARN ambient_execute_plan] ambient-execute-plan starts
[2025-09-11T13:14:10Z ERROR ambient_execute_plan] 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: shell
shell: |
export DEBEMAIL=liw@liw.fi
export DEBFULLNAME="Lars Wirzenius"
export CARGO_TARGET_DIR=/workspace/cache
export CARGO_HOME=/workspace/deps
export HOME=/root
export PATH="/root/.cargo/bin:$PATH"
shellcheck --help
make OFFLINE="--locked --offline"
# Clean up after tests and documentation building.
git reset --hard
git clean -fdx
git status --ignored
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",
}
[2025-09-11T13:14:10Z DEBUG ambient_ci::action] Plan::execute: Mkdir {
pathname: "/workspace",
}
RUN: Action finished OK
RUN: Action Mkdir {
pathname: "/workspace/artifacts",
}
[2025-09-11T13:14:10Z DEBUG ambient_ci::action] Plan::execute: Mkdir {
pathname: "/workspace/artifacts",
}
RUN: Action finished OK
RUN: Action TarExtract {
archive: "/dev/vdc",
directory: "/workspace/src",
}
[2025-09-11T13:14:10Z DEBUG ambient_ci::action] Plan::execute: TarExtract {
archive: "/dev/vdc",
directory: "/workspace/src",
}
[2025-09-11T13:14:10Z TRACE ambient_ci::vdrive] extracting /dev/vdc to /workspace/src
[2025-09-11T13:14:10Z TRACE ambient_ci::vdrive] extraction OK
RUN: Action finished OK
RUN: Action TarExtract {
archive: "/dev/vdf",
directory: "/workspace/deps",
}
[2025-09-11T13:14:10Z DEBUG ambient_ci::action] Plan::execute: TarExtract {
archive: "/dev/vdf",
directory: "/workspace/deps",
}
[2025-09-11T13:14:10Z TRACE ambient_ci::vdrive] extracting /dev/vdf to /workspace/deps
[2025-09-11T13:14:12Z TRACE ambient_ci::vdrive] extraction OK
RUN: Action finished OK
RUN: Action TarExtract {
archive: "/dev/vde",
directory: "/workspace/cache",
}
[2025-09-11T13:14:12Z DEBUG ambient_ci::action] Plan::execute: TarExtract {
archive: "/dev/vde",
directory: "/workspace/cache",
}
[2025-09-11T13:14:12Z TRACE ambient_ci::vdrive] extracting /dev/vde to /workspace/cache
[2025-09-11T13:14:16Z TRACE ambient_ci::vdrive] extraction OK
RUN: Action finished OK
RUN: Action Spawn {
argv: [
"find",
"/workspace",
"-maxdepth",
"2",
"-ls",
],
}
[2025-09-11T13:14:16Z DEBUG ambient_ci::action] Plan::execute: Spawn {
argv: [
"find",
"/workspace",
"-maxdepth",
"2",
"-ls",
],
}
SPAWN: argv=["find", "/workspace", "-maxdepth", "2", "-ls"]
cwd=/workspace/src (exists? true)
extra_env=[]
2621441 4 drwxr-xr-x 6 root root 4096 Sep 11 13:14 /workspace
2621752 4 drwxr-xr-x 3 root root 4096 Sep 11 13:13 /workspace/deps
2641294 0 -rw-r--r-- 1 root root 0 Sep 11 13:09 /workspace/deps/.package-cache-mutate
2621753 4 drwxr-xr-x 5 root root 4096 Sep 11 13:09 /workspace/deps/registry
2641293 100 -rw-r--r-- 1 root root 102400 Sep 11 13:13 /workspace/deps/.global-cache
2641295 0 -rw-r--r-- 1 root root 0 Sep 11 13:09 /workspace/deps/.package-cache
2621443 4 drwxr-xr-x 15 root root 4096 Sep 11 13:14 /workspace/src
2621606 4 drwxr-xr-x 2 root root 4096 Sep 11 13:14 /workspace/src/book
2621450 4 -rw-r--r-- 1 root root 1568 Sep 11 13:14 /workspace/src/Cargo.toml
2621618 8 -rw-r--r-- 1 root root 5176 Sep 11 13:14 /workspace/src/CONTRIBUTING.md
2621448 20 -rw-r--r-- 1 root root 19936 Sep 11 13:14 /workspace/src/NEWS.md
2621605 8 -rw-r--r-- 1 root root 5617 Sep 11 13:14 /workspace/src/build.rs
2621626 4 drwxr-xr-x 8 root root 4096 Sep 11 13:14 /workspace/src/.git
2621617 4 -rw-r--r-- 1 root root 1366 Sep 11 13:14 /workspace/src/DCO-1-1.txt
2621569 4 -rwxr-xr-x 1 root root 489 Sep 11 13:14 /workspace/src/install-debian.sh
2621616 8 -rw-r--r-- 1 root root 6501 Sep 11 13:14 /workspace/src/DECISIONS.md
2621621 4 drwxr-xr-x 3 root root 4096 Sep 11 13:14 /workspace/src/.gitlab
2621506 4 -rw-r--r-- 1 root root 2648 Sep 11 13:14 /workspace/src/subplot.yaml
2621513 4 drwxr-xr-x 2 root root 4096 Sep 11 13:14 /workspace/src/src
2621568 4 -rw-r--r-- 1 root root 1286 Sep 11 13:14 /workspace/src/reference.md
2621447 4 -rw-r--r-- 1 root root 3761 Sep 11 13:14 /workspace/src/README.md
2621507 4 -rw-r--r-- 1 root root 284 Sep 11 13:14 /workspace/src/subplot.subplot
2621567 4 -rw-r--r-- 1 root root 689 Sep 11 13:14 /workspace/src/reference.py
2621619 4 drwxr-xr-x 2 root root 4096 Sep 11 13:14 /workspace/src/.radicle
2621592 4 drwxr-xr-x 3 root root 4096 Sep 11 13:14 /workspace/src/debian
2621446 4 -rw-r--r-- 1 root root 3388 Sep 11 13:14 /workspace/src/RELEASE.md
2621625 4 -rw-r--r-- 1 root root 10 Sep 11 13:14 /workspace/src/.envrc
2621570 4 -rw-r--r-- 1 root root 56 Sep 11 13:14 /workspace/src/flake8.ini
2621451 44 -rw-r--r-- 1 root root 44081 Sep 11 13:14 /workspace/src/Cargo.lock
2621453 4 -rw-r--r-- 1 root root 136 Sep 11 13:14 /workspace/src/.gitignore
2621452 4 -rw-r--r-- 1 root root 646 Sep 11 13:14 /workspace/src/.gitlab-ci.yml
2621454 4 drwxr-xr-x 3 root root 4096 Sep 11 13:14 /workspace/src/tests
2621467 4 drwxr-xr-x 5 root root 4096 Sep 11 13:14 /workspace/src/subplotlib
2621565 4 -rw-r--r-- 1 root root 196 Sep 11 13:14 /workspace/src/reference.yaml
2621571 4 -rw-r--r-- 1 root root 1385 Sep 11 13:14 /workspace/src/flake.lock
2621509 4 drwxr-xr-x 3 root root 4096 Sep 11 13:14 /workspace/src/subplot-build
2621445 4 -rw-r--r-- 1 root root 1292 Sep 11 13:14 /workspace/src/flake.nix
2621444 4 -rw-r--r-- 1 root root 3370 Sep 11 13:14 /workspace/src/subplot.py
2621572 4 drwxr-xr-x 5 root root 4096 Sep 11 13:14 /workspace/src/examples
2621591 4 -rw-r--r-- 1 root root 295 Sep 11 13:14 /workspace/src/deny.toml
2621500 4 drwxr-xr-x 3 root root 4096 Sep 11 13:14 /workspace/src/subplotlib-derive
2621615 4 -rw-r--r-- 1 root root 1325 Sep 11 13:14 /workspace/src/LICENSE.md
2621508 96 -rw-r--r-- 1 root root 96042 Sep 11 13:14 /workspace/src/subplot.md
2621449 4 -rw-r--r-- 1 root root 4018 Sep 11 13:14 /workspace/src/Makefile
2621535 4 drwxr-xr-x 5 root root 4096 Sep 11 13:14 /workspace/src/share
2621609 4 drwxr-xr-x 3 root root 4096 Sep 11 13:14 /workspace/src/bin
2621566 4 -rw-r--r-- 1 root root 273 Sep 11 13:14 /workspace/src/reference.subplot.disabled
2621442 4 drwxr-xr-x 2 root root 4096 Sep 11 13:14 /workspace/artifacts
2641296 4 drwxr-xr-x 5 root root 4096 Sep 11 13:11 /workspace/cache
2642736 4 drwxr-xr-x 7 root root 4096 Sep 11 13:10 /workspace/cache/debug
2642735 4 drwxr-xr-x 2 root root 4096 Sep 11 13:09 /workspace/cache/tmp
2641297 4 -rw-r--r-- 1 root root 1034 Sep 11 13:11 /workspace/cache/.rustc_info.json
2641298 4 drwxr-xr-x 7 root root 4096 Sep 11 13:13 /workspace/cache/release
RUN: Action finished OK
RUN: Action CargoFmt
[2025-09-11T13:14:16Z DEBUG ambient_ci::action] Plan::execute: 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
[2025-09-11T13:14:16Z DEBUG ambient_ci::action] Plan::execute: 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
Checking cfg-if v1.0.0
Compiling memchr v2.7.4
Compiling once_cell v1.20.2
Compiling quote v1.0.37
Compiling syn v2.0.91
Compiling serde v1.0.216
Compiling ahash v0.8.11
Compiling thiserror v2.0.9
Checking aho-corasick v1.1.3
Compiling anyhow v1.0.95
Checking bitflags v2.6.0
Checking regex-automata v0.4.9
Compiling libm v0.2.11
Compiling libc v0.2.169
Compiling zerocopy-derive v0.7.35
Compiling serde_derive v1.0.216
Compiling thiserror-impl v2.0.9
Compiling rustix v0.38.42
Compiling pest v2.7.15
Compiling serde_json v1.0.134
Compiling cc v1.2.5
Compiling pest_meta v2.7.15
Checking itoa v1.0.14
Compiling pikchr v0.1.3
Compiling pest_generator v2.7.15
Compiling tracing-attributes v0.1.28
Compiling pest_derive v2.7.15
Compiling pulldown-cmark v0.12.2
Checking regex v1.11.1
Checking linux-raw-sys v0.4.14
Compiling byteorder v1.5.0
Compiling zerocopy v0.7.35
Checking tempfile v3.14.0
Checking ryu v1.0.18
Compiling log v0.4.22
Compiling time-core v0.1.2
Compiling time-macros v0.2.19
Compiling hashbrown v0.14.5
Compiling getrandom v0.2.15
Compiling subplot v0.12.0 (/workspace/src)
Checking bstr v1.11.1
Compiling unicode-width v0.1.14
Compiling rand_core v0.6.4
Compiling globset v0.4.15
Compiling hashlink v0.9.1
Compiling ppv-lite86 v0.2.20
Compiling encoding_rs v0.8.35
Compiling culpa-macros v1.0.2
Compiling yaml-rust2 v0.9.0
Compiling rand_chacha v0.3.1
Compiling ignore v0.4.23
Compiling serde_path_to_error v0.1.16
Compiling deunicode v1.6.0
Compiling textwrap v0.16.1
Compiling humansize v2.1.3
Compiling slug v0.1.6
Checking deranged v0.3.11
Compiling marked-yaml v0.7.2
Compiling globwalk v0.9.1
Compiling rand v0.8.5
Compiling getopts v0.2.21
Compiling tracing-core v0.1.33
Compiling pin-project-lite v0.2.15
Compiling unicase v2.8.0
Checking time v0.3.37
Compiling tracing v0.1.41
Compiling tera v1.20.0
Checking nix v0.29.0
Compiling roadmap v0.7.0
Checking culpa v1.0.2
Checking cvt v0.1.2
Checking fs_at v0.2.1
Compiling subplotlib v0.12.0 (/workspace/src/subplotlib)
Checking remove_dir_all v1.0.0
Compiling subplotlib-derive v0.12.0 (/workspace/src/subplotlib-derive)
Checking fs2 v0.4.3
Checking filetime v0.2.25
Checking anstyle-parse v0.2.6
Checking anstyle v1.0.10
Checking colorchoice v1.0.3
Checking anstyle-query v1.1.2
Checking anstream v0.6.18
Checking clap_lex v0.7.4
Checking clap_builder v4.5.23
Compiling clap_derive v4.5.18
Checking clap v4.5.23
Compiling git-testament-derive v0.2.1
Checking tracing-log v0.2.0
Checking thread_local v1.1.8
Checking smallvec v1.13.2
Checking tracing-subscriber v0.3.19
Checking git-testament v0.2.6
Checking subplot-bin v0.12.0 (/workspace/src/bin)
Checking subplot-build v0.12.0 (/workspace/src/subplot-build)
Checking subplot-seq-example v0.1.0 (/workspace/src/examples/seq)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.37s
RUN: Action finished OK
RUN: Action Shell {
shell: "export DEBEMAIL=liw@liw.fi\nexport DEBFULLNAME=\"Lars Wirzenius\"\nexport CARGO_TARGET_DIR=/workspace/cache\nexport CARGO_HOME=/workspace/deps\nexport HOME=/root\nexport PATH=\"/root/.cargo/bin:$PATH\"\n\nshellcheck --help\nmake OFFLINE=\"--locked --offline\"\n\n# Clean up after tests and documentation building.\ngit reset --hard\ngit clean -fdx\ngit status --ignored\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",
}
[2025-09-11T13:14:56Z DEBUG ambient_ci::action] Plan::execute: Shell {
shell: "export DEBEMAIL=liw@liw.fi\nexport DEBFULLNAME=\"Lars Wirzenius\"\nexport CARGO_TARGET_DIR=/workspace/cache\nexport CARGO_HOME=/workspace/deps\nexport HOME=/root\nexport PATH=\"/root/.cargo/bin:$PATH\"\n\nshellcheck --help\nmake OFFLINE=\"--locked --offline\"\n\n# Clean up after tests and documentation building.\ngit reset --hard\ngit clean -fdx\ngit status --ignored\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 CARGO_TARGET_DIR=/workspace/cache\nexport CARGO_HOME=/workspace/deps\nexport HOME=/root\nexport PATH=\"/root/.cargo/bin:$PATH\"\n\nshellcheck --help\nmake OFFLINE=\"--locked --offline\"\n\n# Clean up after tests and documentation building.\ngit reset --hard\ngit clean -fdx\ngit status --ignored\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 CARGO_TARGET_DIR=/workspace/cache
+ CARGO_TARGET_DIR=/workspace/cache
+ export CARGO_HOME=/workspace/deps
+ CARGO_HOME=/workspace/deps
+ export HOME=/root
+ HOME=/root
+ export PATH=/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ PATH=/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ shellcheck --help
Usage: shellcheck [OPTIONS...] FILES...
-a --check-sourced Include warnings from sourced files
-C[WHEN] --color[=WHEN] Use color (auto, always, never)
-i CODE1,CODE2.. --include=CODE1,CODE2.. Consider only given types of warnings
-e CODE1,CODE2.. --exclude=CODE1,CODE2.. Exclude types of warnings
-f FORMAT --format=FORMAT Output format (checkstyle, diff, gcc, json, json1, quiet, tty)
--list-optional List checks disabled by default
--norc Don't look for .shellcheckrc files
-o check1,check2.. --enable=check1,check2.. List of optional checks to enable (or 'all')
-P SOURCEPATHS --source-path=SOURCEPATHS Specify path when looking for sourced files ("SCRIPTDIR" for script's dir)
-s SHELLNAME --shell=SHELLNAME Specify dialect (sh, bash, dash, ksh)
-S SEVERITY --severity=SEVERITY Minimum severity of errors to consider (error, warning, info, style)
-V --version Print version information
-W NUM --wiki-link-count=NUM The number of wiki links to show, when applicable
-x --external-sources Allow 'source' outside of FILES
--help Show this usage summary and exit
+ make 'OFFLINE=--locked --offline'
which >/dev/null cargo
which >/dev/null dot
which >/dev/null plantuml
which >/dev/null python3
which >/dev/null rustc
which >/dev/null rustfmt
which >/dev/null shellcheck
which >/dev/null tidy
shellcheck *.sh
cd share/python/template && python3 context_tests.py
............................
----------------------------------------------------------------------
Ran 28 tests in 0.002s
OK
cd share/python/template && python3 encoding_tests.py
..
----------------------------------------------------------------------
Ran 2 tests in 0.000s
OK
cargo clippy --locked --offline --workspace --all-targets -- -Dwarnings
Compiling subplot v0.12.0 (/workspace/src)
Compiling subplotlib v0.12.0 (/workspace/src/subplotlib)
Compiling subplotlib-derive v0.12.0 (/workspace/src/subplotlib-derive)
Checking subplot-bin v0.12.0 (/workspace/src/bin)
Checking subplot-seq-example v0.1.0 (/workspace/src/examples/seq)
Checking subplot-build v0.12.0 (/workspace/src/subplot-build)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.23s
cd examples/seq && cargo clippy --workspace --all-targets -- -Dwarnings
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.08s
cargo test --workspace
Compiling cfg-if v1.0.0
Compiling memchr v2.7.4
Compiling once_cell v1.20.2
Compiling byteorder v1.5.0
Compiling zerocopy v0.7.35
Compiling aho-corasick v1.1.3
Compiling bitflags v2.6.0
Compiling itoa v1.0.14
Compiling bstr v1.11.1
Compiling thiserror v2.0.9
Compiling libc v0.2.169
Compiling regex-automata v0.4.9
Compiling serde v1.0.216
Compiling ppv-lite86 v0.2.20
Compiling pest v2.7.15
Compiling ahash v0.8.11
Compiling anyhow v1.0.95
Compiling hashbrown v0.14.5
Compiling pest_meta v2.7.15
Compiling unicode-width v0.1.14
Compiling hashlink v0.9.1
Compiling pest_generator v2.7.15
Compiling libm v0.2.11
Compiling regex v1.11.1
Compiling encoding_rs v0.8.35
Compiling ryu v1.0.18
Compiling pin-project-lite v0.2.15
Compiling deunicode v1.6.0
Compiling linux-raw-sys v0.4.14
Compiling rustix v0.38.42
Compiling yaml-rust2 v0.9.0
Compiling slug v0.1.6
Compiling serde_json v1.0.134
Compiling humansize v2.1.3
Compiling pest_derive v2.7.15
Compiling serde_path_to_error v0.1.16
Compiling textwrap v0.16.1
Compiling tempfile v3.14.0
Compiling marked-yaml v0.7.2
Compiling getopts v0.2.21
Compiling unicase v2.8.0
Compiling pulldown-cmark v0.12.2
Compiling roadmap v0.7.0
Compiling getrandom v0.2.15
Compiling rand_core v0.6.4
Compiling globset v0.4.15
Compiling ignore v0.4.23
Compiling rand_chacha v0.3.1
Compiling time-core v0.1.2
Compiling time-macros v0.2.19
Compiling deranged v0.3.11
Compiling globwalk v0.9.1
Compiling rand v0.8.5
Compiling subplot v0.12.0 (/workspace/src)
Compiling tracing-core v0.1.33
Compiling tera v1.20.0
Compiling tracing v0.1.41
Compiling pikchr v0.1.3
Compiling culpa v1.0.2
Compiling nix v0.29.0
Compiling cvt v0.1.2
Compiling fs_at v0.2.1
Compiling subplotlib-derive v0.12.0 (/workspace/src/subplotlib-derive)
Compiling time v0.3.37
Compiling subplotlib v0.12.0 (/workspace/src/subplotlib)
Compiling log v0.4.22
Compiling remove_dir_all v1.0.0
Compiling filetime v0.2.25
Compiling fs2 v0.4.3
Compiling anstyle-parse v0.2.6
Compiling anstyle-query v1.1.2
Compiling colorchoice v1.0.3
Compiling anstyle v1.0.10
Compiling anstream v0.6.18
Compiling clap_lex v0.7.4
Compiling clap_builder v4.5.23
Compiling clap v4.5.23
Compiling git-testament-derive v0.2.1
Compiling tracing-log v0.2.0
Compiling thread_local v1.1.8
Compiling smallvec v1.13.2
Compiling git-testament v0.2.6
Compiling tracing-subscriber v0.3.19
Compiling subplot-build v0.12.0 (/workspace/src/subplot-build)
Compiling subplot-bin v0.12.0 (/workspace/src/bin)
Compiling subplot-seq-example v0.1.0 (/workspace/src/examples/seq)
Finished `test` profile [unoptimized + debuginfo] target(s) in 39.25s
Running unittests src/lib.rs (/workspace/cache/debug/deps/subplot-094668524162d5b8)
running 108 tests
test bindings::test_binding::creates_new ... ok
test bindings::test_binding::case_sensitive_mismatch ... ok
test bindings::test_binding::does_not_match_with_wrong_kind ... ok
test bindings::test_binding::does_not_match_with_wrong_text ... ok
test bindings::test_binding::equal ... ok
test bindings::test_binding::match_with_fixed_pattern ... ok
test bindings::test_binding::not_equal ... ok
test bindings::test_bindings::add_from_yaml_notices_multiple_keywords ... ok
test bindings::test_bindings::adds_binding ... ok
test bindings::test_binding::match_with_regex ... ok
test bindings::test_bindings::does_not_find_match_for_unmatching_kind ... ok
test bindings::test_bindings::does_not_find_match_for_unmatching_pattern ... ok
test bindings::test_bindings::finds_match_for_fixed_string_pattern ... ok
test bindings::test_bindings::finds_match_for_regexp_pattern ... ok
test bindings::test_bindings::has_no_bindings_initially ... ok
test bindings::test_bindings::adds_from_yaml ... ok
test bindings::test_bindings::two_matching_bindings ... ok
test bindings::test_bindings::typemap_must_match_pattern ... ok
test bindings::test_regex_from_simple_pattern::returns_boring_pattern_as_is ... ok
test bindings::test_regex_from_simple_pattern::returns_empty_string_as_is ... ok
test bindings::test_regex_from_simple_pattern::kindless_simple_pattern ... ok
test bindings::test_regex_from_simple_pattern::returns_error_for_stray_closing_brace ... ok
test bindings::test_regex_from_simple_pattern::returns_error_for_stray_closing_brace_before_capture ... ok
test bindings::test_regex_from_simple_pattern::returns_error_for_stray_opening_brace ... ok
test bindings::test_regex_from_simple_pattern::returns_error_for_stray_opening_brace_before_capture ... ok
test bindings::test_regex_from_simple_pattern::returns_pattern_with_regexp_chars_escaped ... ok
test bindings::test_regex_from_simple_pattern::simple_int_pattern ... ok
test bindings::test_regex_from_simple_pattern::simple_text_pattern ... ok
test bindings::test_regex_from_simple_pattern::simple_number_pattern ... ok
test bindings::test_regex_from_simple_pattern::simple_word_pattern ... ok
test bindings::test_regex_from_simple_pattern::typemap_and_pattern_kind_must_match ... ok
test bindings::test_regex_from_simple_pattern::typemap_checked_on_pattern_parse_and_default_agrees ... ok
test bindings::test_regex_from_simple_pattern::typemap_updated_on_pattern_parse_default ... ok
test bindings::test_regex_from_simple_pattern::typemap_updated_on_pattern_parse_explicit ... ok
test bindings::test_regex_from_simple_pattern::typemap_used_when_kind_not_present ... ok
test blockattr::test::empty_braces ... ok
test blockattr::test::empty_string ... ok
test blockattr::test::just_word ... ok
test blockattr::test::open_brace_without_close ... ok
test blockattr::test::parse_one_dotted_word ... ok
test blockattr::test::parse_one_id ... ok
test blockattr::test::parse_one_kv ... ok
test bindings::test_regex_from_simple_pattern::simple_uint_pattern ... ok
test blockattr::test::parse_one_kv_with_double_quotes ... ok
test blockattr::test::parse_one_kv_with_single_quotes ... ok
test blockattr::test::parse_one_word ... ok
test blockattr::test::two_ids ... ok
test blockattr::test::two_words ... ok
test codegen::test::verify_commentsafe_filter ... ok
test codegen::test::verify_name_slugification ... ok
test html::test_tag::can_self_close ... ok
test html::test_tag::cannot_self_close ... ok
test matches::test::returns_text ... ok
test matches::test::returns_uncaptured ... ok
test matches::test_partial_steps::different_captured_texts_dont_match ... ok
test matches::test_partial_steps::different_uncaptured_texts_dont_match ... ok
test matches::test_partial_steps::differently_captured_texts_dont_match ... ok
test matches::test_partial_steps::differently_named_captured_texts_dont_match ... ok
test matches::test_partial_steps::identical_captured_texts_match ... ok
test matches::test_partial_steps::identical_uncaptured_texts_match ... ok
test md::test::finds_block_classes ... ok
test md::test::finds_embedded_files ... ok
test md::test::finds_images ... ok
test md::test::finds_no_blocks_in_empty_doc ... ok
test md::test::finds_no_classes_when_no_blocks_have_them ... ok
test md::test::finds_no_embedded_files_in_empty_doc ... ok
test md::test::finds_no_images_in_empty_doc ... ok
test md::test::finds_no_scenarios_in_empty_doc ... ok
test md::test::finds_scenarios ... ok
test md::test::loads_empty_doc ... ok
test md::test::parses_auto_as_auto ... ok
test md::test::parses_empty_as_error ... ok
test md::test::parses_garbage_as_error ... ok
test md::test::parses_no_as_no ... ok
test md::test::parses_no_auto_newline_as_auto ... ok
test md::test::parses_yes_as_yes ... ok
test md::test_extract::returns_error_if_scenario_has_no_title ... ok
test md::test_extract::returns_nothing_if_there_is_no_scenario ... ok
test md::test_extract::returns_parent_section_with_scenario_snippet ... ok
test md::test_extract::returns_scenario_if_there_is_one ... ok
test md::test_extract::skips_scenarioless_deeper_headings ... ok
test md::test_extract::skips_scenarioless_parent_heading ... ok
test md::test_extract::skips_scenarioless_section_in_favour_of_same_level ... ok
test metadata::test::full_meta ... ok
test scenarios::filtertest::exclude_slow ... ok
test scenarios::filtertest::exclude_unimportant_slow ... ok
test scenarios::filtertest::include_all ... ok
test scenarios::filtertest::include_fast ... ok
test scenarios::filtertest::include_none ... ok
test scenarios::test::adds_step ... ok
test scenarios::test::has_no_steps_initially ... ok
test scenarios::test::has_title ... ok
test steps::test::fails_to_parse_and ... ok
test steps::test::parses_and ... ok
test steps::test::parses_given ... ok
test steps::test::parses_given_with_extra_spaces ... ok
test steps::test::parses_then ... ok
test steps::test::parses_when ... ok
test steps::test_steps_parser::empty_string ... ok
test steps::test_steps_parser::preserve_nonascii_whitespace ... ok
test steps::test_steps_parser::simple ... ok
test steps::test_steps_parser::two_simple ... ok
test templatespec::test::new_from_yaml ... ok
test toc::test_numberer::numbering ... ok
test toc::test_slugs::short_and_simple ... ok
test toc::test_slugs::unique_for_identical_simple_headings ... ok
test toc::test_toc::iterate ... ok
test toc::test_toc::uses_given_slug ... ok
test result: ok. 108 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s
Running tests/bindings-ubm.rs (/workspace/cache/debug/deps/bindings_ubm-d0f6bc72cfbb7793)
running 1 test
test bindings_microbenchmark ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.87s
Running unittests src/subplot.rs (/workspace/cache/debug/deps/subplot-5f1e2e98cf42a9e2)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/lib.rs (/workspace/cache/debug/deps/subplot_build-6b2dd467b72efad4)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/seq.rs (/workspace/cache/debug/deps/seq-7ec92c4715a5f2cc)
running 4 tests
test more_than_one_number ... ok
test no_arguments ... ok
test not_a_number ... ok
test one_number ... ok
test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/lib.rs (/workspace/cache/debug/deps/subplotlib-e06c73a79c36ff5c)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/files.rs (/workspace/cache/debug/deps/files-4f8862c0f10e9faf)
running 7 tests
test create_on_disk_files_from_embedded_files ... ok
test directories ... ok
test file_and_directory_removal ... ok
test file_equality ... ok
test file_metadata ... ok
test file_modification_time ... ok
test file_contents ... ok
test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/runcmd.rs (/workspace/cache/debug/deps/runcmd-2695413f9701aad6)
running 21 tests
test check_stderr_doesn_t_contain_sub_string ... ok
test check_stderr_doesn_t_match_regular_expressions ... ok
test check_stderr_is_exactly_as_wanted ... ok
test check_stderr_is_not_exactly_something ... ok
test check_stderr_using_regular_expressions ... ok
test check_stderr_using_sub_string_search ... ok
test check_stdout_doesn_t_contain_sub_string ... ok
test check_stdout_doesn_t_match_regular_expression ... ok
test check_stdout_is_exactly_as_wanted ... ok
test check_stdout_using_regular_expressions ... ok
test check_stdout_is_not_exactly_something ... ok
test check_stdout_using_sub_string_search ... ok
test check_we_can_prepend_to__path ... ok
test execution_in_a_sub_directory_does_not_affect_home ... ok
test failed_execution_in_a_sub_directory ... ok
test failed_execution ... ok
test stdin_comes_from_a_named_file ... ok
test stdin_contains_exactly ... ok
test setting_and_clearing_of_environment_variables ... ok
test successful_execution ... ok
test successful_execution_in_a_sub_directory ... ok
test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
Running tests/subplot-codegen.rs (/workspace/cache/debug/deps/subplot_codegen-decbcd508a05ce8d)
running 29 tests
test capture_using_regular_expressions ... FAILED
test all_the_keywords ... FAILED
test cleanup_functions_get_called_on_failure__python_ ... FAILED
test capture_using_simple_patterns ... FAILED
test code_generator_gives_an_error_if_input_document_lacks_title ... ok
test embedded_file_name_didn_t_match ... ok
test cleanup_functions_gets_called_on_success__python_ ... FAILED
test examples_are_not_files ... ok
test empty_lines_in_scenarios ... FAILED
test files_not_in_current_working_directory ... ok
test missing_functions_file ... ok
test misuse_of_continuation_keywords ... ok
test lowest_level_heading_is_name_of_scenario ... ok
test next_heading_at_higher_level_starts_new_scenario ... ok
test next_heading_at_same_level_starts_new_scenario ... ok
test no_scenarios_means_codegen_fails ... ok
test no_template_means_you_can_docgen_but_not_codegen ... ok
test recall_values_for_use_in_later_steps ... ok
test running_only_chosen_scenarios_with_python ... ok
test simple_patterns_with_regex_metacharacters__allowed_case ... ok
test simple_patterns_with_regex_metacharacters__forbidden_case ... ok
test set_environment_variables_in_generated_test_programs ... ok
test smoke_test ... FAILED
test steps_which_do_not_case_sensitively_match_sensitive_bindings_do_not_work ... ok
test steps_which_do_not_match_bindings_do_not_work ... ok
test steps_which_match_more_than_one_binding_do_not_work ... ok
test subplot_accepts_title_and_headings_with_inline_markup ... ok
test subheadings_don_t_start_new_scenario ... ok
test temporary_files_in_scenarios_in_python ... FAILED
failures:
---- capture_using_regular_expressions stdout ----
unknown: scenario: Capture using regular expressions
/workspace/src/subplot.md:1788:1: step: given file regex.subplot
/workspace/src/subplot.md:1789:1: step: given file regex.md
/workspace/src/subplot.md:1790:1: step: given file regex.yaml
/workspace/src/subplot.md:1791:1: step: given file capture.py
/workspace/src/subplot.md:1792:1: step: given an installed subplot
Creating temporary rundir at /tmp/.tmp5CeIq4
/workspace/src/subplot.md:1793:1: step: when I run subplot codegen --run regex.subplot -o test.py
Running `subplot` with args ["codegen", "--run", "regex.subplot", "-o", "test.py"]
Running in /tmp/subplothjRnPCapture-using-regular-expressions
ENV: SHELL = /bin/sh
PATH: /workspace/cache/debug:/tmp/.tmp5CeIq4:/workspace/deps/bin:/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Exit code: 0
Stdout:
srcdir /tmp/subplothjRnPCapture-using-regular-expressions
datadir /tmp/subplothjRnPCapture-using-regular-expressions/tmp802x3fsh
scenario: Regex
step 1: given I am Tomjon
function got argument name as Tomjon
OK, all scenarios finished successfully
Stderr:
INFO Starting Subplot
INFO Subplot finished successfully
/workspace/src/subplot.md:1794:1: step: then scenario "Regex" was run
/workspace/src/subplot.md:1795:1: step: then step "given I am Tomjon" was run
cleanup: given an installed subplot
return: Failure
thread 'capture_using_regular_expressions' panicked at subplotlib/tests/subplot-codegen.rs:2:1:
called `Result::unwrap()` on an `Err` value: "stdout does not contain \"\\n step: given I am Tomjon\\n\""
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
---- all_the_keywords stdout ----
unknown: scenario: All the keywords
/workspace/src/subplot.md:1225:1: step: given file allkeywords.subplot
/workspace/src/subplot.md:1226:1: step: given file allkeywords.md
/workspace/src/subplot.md:1227:1: step: given file b.yaml
/workspace/src/subplot.md:1228:1: step: given file f.py
/workspace/src/subplot.md:1229:1: step: given an installed subplot
Creating temporary rundir at /tmp/.tmpagW9Gw
/workspace/src/subplot.md:1230:1: step: when I run subplot codegen --run allkeywords.subplot -o test.py
Running `subplot` with args ["codegen", "--run", "allkeywords.subplot", "-o", "test.py"]
Running in /tmp/subplotgzmeWAll-the-keywords
ENV: SHELL = /bin/sh
PATH: /workspace/cache/debug:/tmp/.tmpagW9Gw:/workspace/deps/bin:/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Exit code: 0
Stdout:
srcdir /tmp/subplotgzmeWAll-the-keywords
datadir /tmp/subplotgzmeWAll-the-keywords/tmp89p3iog6
scenario: All keywords
step 1: given precondition foo
step 2: when I do bar
step 3: when I do foobar
step 4: then bar was done
step 5: then foobar was done
OK, all scenarios finished successfully
Stderr:
INFO Starting Subplot
INFO Subplot finished successfully
/workspace/src/subplot.md:1231:1: step: then scenario "All keywords" was run
/workspace/src/subplot.md:1232:1: step: then step "given precondition foo" was run
cleanup: given an installed subplot
return: Failure
thread 'all_the_keywords' panicked at subplotlib/tests/subplot-codegen.rs:2:1:
called `Result::unwrap()` on an `Err` value: "stdout does not contain \"\\n step: given precondition foo\\n\""
---- cleanup_functions_get_called_on_failure__python_ stdout ----
unknown: scenario: Cleanup functions get called on failure (Python)
/workspace/src/subplot.md:1568:1: step: given file cleanup-fail-python.subplot
/workspace/src/subplot.md:1569:1: step: given file cleanup-fail-python.md
/workspace/src/subplot.md:1570:1: step: given file cleanup.yaml
/workspace/src/subplot.md:1571:1: step: given file cleanup.py
/workspace/src/subplot.md:1572:1: step: given an installed subplot
Creating temporary rundir at /tmp/.tmpvWEg5y
/workspace/src/subplot.md:1573:1: step: when I try to run subplot codegen --run cleanup-fail-python.subplot -o test.py
Running `subplot` with args ["codegen", "--run", "cleanup-fail-python.subplot", "-o", "test.py"]
Running in /tmp/subplotUJuSPCleanup-functions-get-called-on-failure--Python-
ENV: SHELL = /bin/sh
PATH: /workspace/cache/debug:/tmp/.tmpvWEg5y:/workspace/deps/bin:/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Exit code: 2
Stdout:
srcdir /tmp/subplotUJuSPCleanup-functions-get-called-on-failure--Python-
datadir /tmp/subplotUJuSPCleanup-functions-get-called-on-failure--Python-/tmpfbxbs97z
scenario: Cleanup
step 1: given foo
step 2: given bar
step 3: given failure
cleanup 2: given bar
cleanup 1: given foo
Stderr:
INFO Starting Subplot
Traceback (most recent call last):
File "/tmp/subplotUJuSPCleanup-functions-get-called-on-failure--Python-/test.py", line 544, in <module>
main(_scenarios)
File "/tmp/subplotUJuSPCleanup-functions-get-called-on-failure--Python-/test.py", line 452, in main
scen.run(_datadir, extra_env)
File "/tmp/subplotUJuSPCleanup-functions-get-called-on-failure--Python-/test.py", line 534, in run
self._scenario.run(datadir, extra_env)
File "/tmp/subplotUJuSPCleanup-functions-get-called-on-failure--Python-/test.py", line 289, in run
step.do(ctx)
File "/tmp/subplotUJuSPCleanup-functions-get-called-on-failure--Python-/test.py", line 250, in do
self._function(ctx, **self._args)
File "/tmp/subplotUJuSPCleanup-functions-get-called-on-failure--Python-/test.py", line 17, in failure
assert 0
AssertionError
ERROR Test suite failed!
/workspace/src/subplot.md:1574:1: step: then scenario "Cleanup" was run
/workspace/src/subplot.md:1575:1: step: then step "given foo" was run, and then step "given bar"
cleanup: given an installed subplot
return: Failure
thread 'cleanup_functions_get_called_on_failure__python_' panicked at subplotlib/tests/subplot-codegen.rs:2:1:
called `Result::unwrap()` on an `Err` value: "stdout does not contain \"\\n step: given foo\\n step: given bar\""
---- capture_using_simple_patterns stdout ----
unknown: scenario: Capture using simple patterns
/workspace/src/subplot.md:1665:1: step: given file simplepattern.subplot
/workspace/src/subplot.md:1666:1: step: given file simplepattern.md
/workspace/src/subplot.md:1667:1: step: given file simplepattern.yaml
/workspace/src/subplot.md:1668:1: step: given file capture.py
/workspace/src/subplot.md:1669:1: step: given an installed subplot
Creating temporary rundir at /tmp/.tmpOk8gIM
/workspace/src/subplot.md:1670:1: step: when I run subplot codegen --run simplepattern.subplot -o test.py
Running `subplot` with args ["codegen", "--run", "simplepattern.subplot", "-o", "test.py"]
Running in /tmp/subplotmElLaCapture-using-simple-patterns
ENV: SHELL = /bin/sh
PATH: /workspace/cache/debug:/tmp/.tmpOk8gIM:/workspace/deps/bin:/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Exit code: 0
Stdout:
srcdir /tmp/subplotmElLaCapture-using-simple-patterns
datadir /tmp/subplotmElLaCapture-using-simple-patterns/tmp3ds4ncnc
scenario: Simple pattern
step 1: given I am Tomjon
function got argument name as Tomjon
OK, all scenarios finished successfully
Stderr:
INFO Starting Subplot
INFO Subplot finished successfully
/workspace/src/subplot.md:1671:1: step: then scenario "Simple pattern" was run
/workspace/src/subplot.md:1672:1: step: then step "given I am Tomjon" was run
cleanup: given an installed subplot
return: Failure
thread 'capture_using_simple_patterns' panicked at subplotlib/tests/subplot-codegen.rs:2:1:
called `Result::unwrap()` on an `Err` value: "stdout does not contain \"\\n step: given I am Tomjon\\n\""
---- cleanup_functions_gets_called_on_success__python_ stdout ----
unknown: scenario: Cleanup functions gets called on success (Python)
/workspace/src/subplot.md:1532:1: step: given file cleanup-success-python.subplot
/workspace/src/subplot.md:1533:1: step: given file cleanup-success-python.md
/workspace/src/subplot.md:1534:1: step: given file cleanup.yaml
/workspace/src/subplot.md:1535:1: step: given file cleanup.py
/workspace/src/subplot.md:1536:1: step: given an installed subplot
Creating temporary rundir at /tmp/.tmpuMwMS6
/workspace/src/subplot.md:1537:1: step: when I run subplot codegen --run cleanup-success-python.subplot -o test.py
Running `subplot` with args ["codegen", "--run", "cleanup-success-python.subplot", "-o", "test.py"]
Running in /tmp/subplotYESTUCleanup-functions-gets-called-on-success--Python-
ENV: SHELL = /bin/sh
PATH: /workspace/cache/debug:/tmp/.tmpuMwMS6:/workspace/deps/bin:/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Exit code: 0
Stdout:
srcdir /tmp/subplotYESTUCleanup-functions-gets-called-on-success--Python-
datadir /tmp/subplotYESTUCleanup-functions-gets-called-on-success--Python-/tmpk5ngvilw
scenario: Cleanup
step 1: given foo
step 2: given bar
cleanup 2: given bar
cleanup 1: given foo
OK, all scenarios finished successfully
Stderr:
INFO Starting Subplot
INFO Subplot finished successfully
/workspace/src/subplot.md:1538:1: step: then scenario "Cleanup" was run
/workspace/src/subplot.md:1539:1: step: then step "given foo" was run, and then step "given bar"
cleanup: given an installed subplot
return: Failure
thread 'cleanup_functions_gets_called_on_success__python_' panicked at subplotlib/tests/subplot-codegen.rs:2:1:
called `Result::unwrap()` on an `Err` value: "stdout does not contain \"\\n step: given foo\\n step: given bar\""
---- empty_lines_in_scenarios stdout ----
unknown: scenario: Empty lines in scenarios
/workspace/src/subplot.md:1450:1: step: given file emptylines.subplot
/workspace/src/subplot.md:1451:1: step: given file emptylines.md
/workspace/src/subplot.md:1452:1: step: given file b.yaml
/workspace/src/subplot.md:1453:1: step: given file f.py
/workspace/src/subplot.md:1454:1: step: given an installed subplot
Creating temporary rundir at /tmp/.tmpxVFwi5
/workspace/src/subplot.md:1455:1: step: when I run subplot docgen emptylines.subplot -o emptylines.html
Running `subplot` with args ["docgen", "emptylines.subplot", "-o", "emptylines.html"]
Running in /tmp/subplotfEnBREmpty-lines-in-scenarios
ENV: SHELL = /bin/sh
PATH: /workspace/cache/debug:/tmp/.tmpxVFwi5:/workspace/deps/bin:/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Exit code: 0
Stdout:
Stderr:
INFO Starting Subplot
INFO Subplot finished successfully
/workspace/src/subplot.md:1456:1: step: then file emptylines.html exists
/workspace/src/subplot.md:1457:1: step: when I run subplot codegen --run emptylines.subplot -o test.py
Running `subplot` with args ["codegen", "--run", "emptylines.subplot", "-o", "test.py"]
Running in /tmp/subplotfEnBREmpty-lines-in-scenarios
ENV: SHELL = /bin/sh
PATH: /workspace/cache/debug:/tmp/.tmpxVFwi5:/workspace/deps/bin:/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Exit code: 0
Stdout:
srcdir /tmp/subplotfEnBREmpty-lines-in-scenarios
datadir /tmp/subplotfEnBREmpty-lines-in-scenarios/tmp9wt5uu0p
scenario: Simple
step 1: given precondition foo
step 2: when I do bar
step 3: then bar was done
OK, all scenarios finished successfully
Stderr:
INFO Starting Subplot
INFO Subplot finished successfully
/workspace/src/subplot.md:1458:1: step: then scenario "Simple" was run
/workspace/src/subplot.md:1459:1: step: then step "given precondition foo" was run
cleanup: given an installed subplot
return: Failure
thread 'empty_lines_in_scenarios' panicked at subplotlib/tests/subplot-codegen.rs:2:1:
called `Result::unwrap()` on an `Err` value: "stdout does not contain \"\\n step: given precondition foo\\n\""
---- smoke_test stdout ----
unknown: scenario: Smoke test
/workspace/src/subplot.md:1052:1: step: given file simple.subplot
/workspace/src/subplot.md:1053:1: step: given file simple.md
/workspace/src/subplot.md:1054:1: step: given file b.yaml
/workspace/src/subplot.md:1055:1: step: given file f.py
/workspace/src/subplot.md:1056:1: step: given an installed subplot
Creating temporary rundir at /tmp/.tmpAlSwMb
/workspace/src/subplot.md:1057:1: step: when I run subplot docgen simple.subplot -o simple.html
Running `subplot` with args ["docgen", "simple.subplot", "-o", "simple.html"]
Running in /tmp/subplotxWOJASmoke-test
ENV: SHELL = /bin/sh
PATH: /workspace/cache/debug:/tmp/.tmpAlSwMb:/workspace/deps/bin:/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Exit code: 0
Stdout:
Stderr:
INFO Starting Subplot
INFO Subplot finished successfully
/workspace/src/subplot.md:1058:1: step: then file simple.html exists
/workspace/src/subplot.md:1059:1: step: when I run subplot codegen --run simple.subplot -o test.py
Running `subplot` with args ["codegen", "--run", "simple.subplot", "-o", "test.py"]
Running in /tmp/subplotxWOJASmoke-test
ENV: SHELL = /bin/sh
PATH: /workspace/cache/debug:/tmp/.tmpAlSwMb:/workspace/deps/bin:/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Exit code: 0
Stdout:
srcdir /tmp/subplotxWOJASmoke-test
datadir /tmp/subplotxWOJASmoke-test/tmpnpd30i0v
scenario: Simple
step 1: given precondition foo
step 2: when I do bar
step 3: then bar was done
OK, all scenarios finished successfully
Stderr:
INFO Starting Subplot
INFO Subplot finished successfully
/workspace/src/subplot.md:1060:1: step: then scenario "Simple" was run
/workspace/src/subplot.md:1061:1: step: then step "given precondition foo" was run
cleanup: given an installed subplot
return: Failure
thread 'smoke_test' panicked at subplotlib/tests/subplot-codegen.rs:2:1:
called `Result::unwrap()` on an `Err` value: "stdout does not contain \"\\n step: given precondition foo\\n\""
---- temporary_files_in_scenarios_in_python stdout ----
unknown: scenario: Temporary files in scenarios in Python
/workspace/src/subplot.md:1612:1: step: given file tmpdir.subplot
/workspace/src/subplot.md:1613:1: step: given file tmpdir.md
/workspace/src/subplot.md:1614:1: step: given file tmpdir.yaml
/workspace/src/subplot.md:1615:1: step: given file tmpdir.py
/workspace/src/subplot.md:1616:1: step: given an installed subplot
Creating temporary rundir at /tmp/.tmpfexEUb
/workspace/src/subplot.md:1617:1: step: when I run subplot codegen --run tmpdir.subplot -o test.py
Running `subplot` with args ["codegen", "--run", "tmpdir.subplot", "-o", "test.py"]
Running in /tmp/subplotxCElGTemporary-files-in-scenarios-in-Python
ENV: SHELL = /bin/sh
PATH: /workspace/cache/debug:/tmp/.tmpfexEUb:/workspace/deps/bin:/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Exit code: 0
Stdout:
srcdir /tmp/subplotxCElGTemporary-files-in-scenarios-in-Python
datadir /tmp/subplotxCElGTemporary-files-in-scenarios-in-Python/tmpl3di8w6x
scenario: TMPDIR
step 1: then TMPDIR is set
OK, all scenarios finished successfully
Stderr:
INFO Starting Subplot
INFO Subplot finished successfully
/workspace/src/subplot.md:1618:1: step: then command is successful
/workspace/src/subplot.md:1619:1: step: then scenario "TMPDIR" was run
/workspace/src/subplot.md:1620:1: step: then step "then TMPDIR is set" was run
cleanup: given an installed subplot
return: Failure
thread 'temporary_files_in_scenarios_in_python' panicked at subplotlib/tests/subplot-codegen.rs:2:1:
called `Result::unwrap()` on an `Err` value: "stdout does not contain \"\\n step: then TMPDIR is set\\n\""
failures:
all_the_keywords
capture_using_regular_expressions
capture_using_simple_patterns
cleanup_functions_get_called_on_failure__python_
cleanup_functions_gets_called_on_success__python_
empty_lines_in_scenarios
smoke_test
temporary_files_in_scenarios_in_python
test result: FAILED. 21 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.61s
error: test failed, to rerun pass `-p subplotlib --test subplot-codegen`
make: *** [Makefile:44: rust] Error 101
ERROR: Action failed: command failed: ["/bin/bash", "-c", "set -xeuo pipefail\nexport DEBEMAIL=liw@liw.fi\nexport DEBFULLNAME=\"Lars Wirzenius\"\nexport CARGO_TARGET_DIR=/workspace/cache\nexport CARGO_HOME=/workspace/deps\nexport HOME=/root\nexport PATH=\"/root/.cargo/bin:$PATH\"\n\nshellcheck --help\nmake OFFLINE=\"--locked --offline\"\n\n# Clean up after tests and documentation building.\ngit reset --hard\ngit clean -fdx\ngit status --ignored\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"]
ERROR: command failed: ["/bin/bash", "-c", "set -xeuo pipefail\nexport DEBEMAIL=liw@liw.fi\nexport DEBFULLNAME=\"Lars Wirzenius\"\nexport CARGO_TARGET_DIR=/workspace/cache\nexport CARGO_HOME=/workspace/deps\nexport HOME=/root\nexport PATH=\"/root/.cargo/bin:$PATH\"\n\nshellcheck --help\nmake OFFLINE=\"--locked --offline\"\n\n# Clean up after tests and documentation building.\ngit reset --hard\ngit clean -fdx\ngit status --ignored\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"]
EXIT CODE: 1
====================
[2025-09-11T13:15:45Z DEBUG ambient_ci::qemu] QEMU exit code 1
ERROR: failed to run actions in QEMU
<empty log>