Radicle repository id rad:zjxyd2A1A7FnxtC69qDfoAajfTHo
[2025-09-06T05:09:19Z INFO ambient] ambient starts [2J[01;01H[=3h[2J[01;01H[2J[01;01H[=3h[2J[01;01HBdsDxe: failed to load Boot0001 "UEFI QEMU DVD-ROM QM00005 " from PciRoot(0x0)/Pci(0x1F,0x2)/Sata(0x2,0xFFFF,0x0): Not Found BdsDxe: loading Boot0002 "UEFI Misc Device" from PciRoot(0x0)/Pci(0x2,0x0) BdsDxe: starting Boot0002 "UEFI Misc Device" from PciRoot(0x0)/Pci(0x2,0x0) [0m[30m[47mWelcome to GRUB! [0m[37m[40m[0m[30m[40m[2J[01;01H[0m[37m[40mINFO: 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 7M 1 disk vdd 254:48 0 9.3G 0 disk vde 254:64 0 46.6G 0 disk vdf 254:80 0 627.8M 1 disk INFO: Extracting tar archive from /dev/vdb drwxr-xr-x _rad/_rad 0 2025-09-06 05:04 ./ -rw-r--r-- _rad/_rad 1431 2025-09-06 05:04 ./plan.yaml -rwxr-xr-x _rad/_rad 3011224 2025-09-06 05:04 ./run-ci INFO: Extracted files: 4587528 4 drwxr-xr-x 2 1001 1001 4096 Sep 6 05:04 . 4587531 4 -rw-r--r-- 1 1001 1001 1431 Sep 6 05:04 ./plan.yaml 4587532 2944 -rwxr-xr-x 1 1001 1001 3011224 Sep 6 05:04 ./run-ci INFO: Running run-ci from /dev/vdb ================================ BEGIN ================================ [2025-09-06T05:05:19Z TRACE ambient_execute_plan] ambient-execute-plan starts [2025-09-06T05:05:19Z DEBUG ambient_execute_plan] ambient-execute-plan starts [2025-09-06T05:05:19Z INFO ambient_execute_plan] ambient-execute-plan starts [2025-09-06T05:05:19Z WARN ambient_execute_plan] ambient-execute-plan starts [2025-09-06T05:05:19Z 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" make OFFLINE="--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-06T05:05:19Z DEBUG ambient_ci::action] Plan::execute: Mkdir { pathname: "/workspace", } RUN: Action finished OK RUN: Action Mkdir { pathname: "/workspace/artifacts", } [2025-09-06T05:05:19Z 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-06T05:05:19Z DEBUG ambient_ci::action] Plan::execute: TarExtract { archive: "/dev/vdc", directory: "/workspace/src", } [2025-09-06T05:05:19Z TRACE ambient_ci::vdrive] extracting /dev/vdc to /workspace/src [2025-09-06T05:05:19Z TRACE ambient_ci::vdrive] extraction OK RUN: Action finished OK RUN: Action TarExtract { archive: "/dev/vdf", directory: "/workspace/deps", } [2025-09-06T05:05:19Z DEBUG ambient_ci::action] Plan::execute: TarExtract { archive: "/dev/vdf", directory: "/workspace/deps", } [2025-09-06T05:05:19Z TRACE ambient_ci::vdrive] extracting /dev/vdf to /workspace/deps [2025-09-06T05:05:22Z TRACE ambient_ci::vdrive] extraction OK RUN: Action finished OK RUN: Action TarExtract { archive: "/dev/vde", directory: "/workspace/cache", } [2025-09-06T05:05:22Z DEBUG ambient_ci::action] Plan::execute: TarExtract { archive: "/dev/vde", directory: "/workspace/cache", } [2025-09-06T05:05:22Z TRACE ambient_ci::vdrive] extracting /dev/vde to /workspace/cache [2025-09-06T05:06:35Z TRACE ambient_ci::vdrive] extraction OK RUN: Action finished OK RUN: Action Spawn { argv: [ "find", "/workspace", "-maxdepth", "2", "-ls", ], } [2025-09-06T05:06:35Z 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 6 05:05 /workspace 2622373 4 drwxr-xr-x 3 root root 4096 Sep 6 05:04 /workspace/deps 2622374 0 -rw-r--r-- 1 root root 0 Aug 21 14:26 /workspace/deps/.package-cache-mutate 2622377 4 drwxr-xr-x 5 root root 4096 Aug 21 14:26 /workspace/deps/registry 2622375 88 -rw-r--r-- 1 root root 90112 Sep 6 05:04 /workspace/deps/.global-cache 2622376 0 -rw-r--r-- 1 root root 0 Aug 21 14:26 /workspace/deps/.package-cache 2621443 4 drwxr-xr-x 15 root root 4096 Sep 6 05:04 /workspace/src 2621499 4 drwxr-xr-x 2 root root 4096 Sep 6 05:04 /workspace/src/book 2621513 4 -rw-r--r-- 1 root root 1568 Sep 6 05:04 /workspace/src/Cargo.toml 2622371 8 -rw-r--r-- 1 root root 5176 Sep 6 05:04 /workspace/src/CONTRIBUTING.md 2621483 24 -rw-r--r-- 1 root root 21606 Sep 6 05:04 /workspace/src/NEWS.md 2621510 8 -rw-r--r-- 1 root root 5617 Sep 6 05:04 /workspace/src/build.rs 2621584 4 drwxr-xr-x 8 root root 4096 Sep 6 05:04 /workspace/src/.git 2621447 4 -rw-r--r-- 1 root root 1366 Sep 6 05:04 /workspace/src/DCO-1-1.txt 2621475 4 -rwxr-xr-x 1 root root 489 Sep 6 05:04 /workspace/src/install-debian.sh 2621514 8 -rw-r--r-- 1 root root 6501 Sep 6 05:04 /workspace/src/DECISIONS.md 2621449 4 drwxr-xr-x 3 root root 4096 Sep 6 05:04 /workspace/src/.gitlab 2621476 4 -rw-r--r-- 1 root root 2648 Sep 6 05:04 /workspace/src/subplot.yaml 2621453 4 drwxr-xr-x 2 root root 4096 Sep 6 05:04 /workspace/src/src 2621498 4 -rw-r--r-- 1 root root 1286 Sep 6 05:04 /workspace/src/reference.md 2621503 4 -rw-r--r-- 1 root root 3623 Sep 6 05:04 /workspace/src/README.md 2621515 4 -rw-r--r-- 1 root root 284 Sep 6 05:04 /workspace/src/subplot.subplot 2621561 4 -rw-r--r-- 1 root root 689 Sep 6 05:04 /workspace/src/reference.py 2621445 4 drwxr-xr-x 2 root root 4096 Sep 6 05:04 /workspace/src/.radicle 2621484 4 drwxr-xr-x 3 root root 4096 Sep 6 05:04 /workspace/src/debian 2622370 4 -rw-r--r-- 1 root root 3387 Sep 6 05:04 /workspace/src/RELEASE.md 2621482 4 -rw-r--r-- 1 root root 10 Sep 6 05:04 /workspace/src/.envrc 2621481 4 -rw-r--r-- 1 root root 56 Sep 6 05:04 /workspace/src/flake8.ini 2622372 48 -rw-r--r-- 1 root root 48925 Sep 6 05:04 /workspace/src/Cargo.lock 2621512 4 -rw-r--r-- 1 root root 142 Sep 6 05:04 /workspace/src/.gitignore 2621583 4 -rw-r--r-- 1 root root 678 Sep 6 05:04 /workspace/src/.gitlab-ci.yml 2621549 4 drwxr-xr-x 3 root root 4096 Sep 6 05:04 /workspace/src/tests 2621516 4 drwxr-xr-x 5 root root 4096 Sep 6 05:04 /workspace/src/subplotlib 2621497 4 -rw-r--r-- 1 root root 196 Sep 6 05:04 /workspace/src/reference.yaml 2622369 4 -rw-r--r-- 1 root root 1385 Sep 6 05:04 /workspace/src/flake.lock 2621477 4 drwxr-xr-x 3 root root 4096 Sep 6 05:04 /workspace/src/subplot-build 2621511 4 -rw-r--r-- 1 root root 1334 Sep 6 05:04 /workspace/src/flake.nix 2621444 4 -rw-r--r-- 1 root root 3473 Sep 6 05:04 /workspace/src/subplot.py 2621564 4 drwxr-xr-x 5 root root 4096 Sep 6 05:04 /workspace/src/examples 2621563 4 -rw-r--r-- 1 root root 295 Sep 6 05:04 /workspace/src/deny.toml 2621504 4 drwxr-xr-x 3 root root 4096 Sep 6 05:04 /workspace/src/subplotlib-derive 2621448 4 -rw-r--r-- 1 root root 1325 Sep 6 05:04 /workspace/src/LICENSE.md 2621502 96 -rw-r--r-- 1 root root 96042 Sep 6 05:04 /workspace/src/subplot.md 2622338 8 -rw-r--r-- 1 root root 4300 Sep 6 05:04 /workspace/src/Makefile 2622339 4 drwxr-xr-x 5 root root 4096 Sep 6 05:04 /workspace/src/share 2622332 4 drwxr-xr-x 3 root root 4096 Sep 6 05:04 /workspace/src/bin 2621562 4 -rw-r--r-- 1 root root 273 Sep 6 05:04 /workspace/src/reference.subplot.disabled 2621442 4 drwxr-xr-x 2 root root 4096 Sep 6 05:05 /workspace/artifacts 2637808 4 drwxr-xr-x 5 root root 4096 Aug 21 14:28 /workspace/cache 2637810 4 drwxr-xr-x 7 root root 4096 Aug 31 11:55 /workspace/cache/debug 2637809 4 drwxr-xr-x 2 root root 4096 Aug 21 14:26 /workspace/cache/tmp 2647469 4 -rw-r--r-- 1 root root 1034 Aug 31 11:55 /workspace/cache/.rustc_info.json 2646032 4 drwxr-xr-x 7 root root 4096 Aug 31 11:56 /workspace/cache/release RUN: Action finished OK RUN: Action CargoFmt [2025-09-06T05:06:36Z 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-06T05:06:39Z 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 subplot v0.13.0 (/workspace/src) Compiling subplotlib v0.13.0 (/workspace/src/subplotlib) Checking subplot-build v0.13.0 (/workspace/src/subplot-build) Checking subplotlib-derive v0.13.0 (/workspace/src/subplotlib-derive) Checking subplot-bin v0.13.0 (/workspace/src/bin) Checking subplot-seq-example v0.1.0 (/workspace/src/examples/seq) Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.53s 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\nmake OFFLINE=\"--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-06T05:06:49Z 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\nmake OFFLINE=\"--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\nmake OFFLINE=\"--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 + make OFFLINE=--offline which cargo /root/.cargo/bin/cargo which dot /usr/bin/dot which plantuml /usr/bin/plantuml which python3 /usr/bin/python3 which rustc /root/.cargo/bin/rustc which rustfmt /root/.cargo/bin/rustfmt which tidy /usr/bin/tidy if which shellcheck; then shellcheck *.sh; fi /usr/bin/shellcheck if cargo clippy --version; then \ cargo clippy --locked --offline --workspace --all-targets -- -Dwarnings && \ cd examples/seq && cargo clippy --workspace --all-targets -- -Dwarnings; \ fi clippy 0.1.88 (6b00bc3880 2025-06-23) Compiling subplot v0.13.0 (/workspace/src) Compiling subplotlib v0.13.0 (/workspace/src/subplotlib) Checking subplotlib-derive v0.13.0 (/workspace/src/subplotlib-derive) Checking subplot-bin v0.13.0 (/workspace/src/bin) Checking subplot-build v0.13.0 (/workspace/src/subplot-build) Checking subplot-seq-example v0.1.0 (/workspace/src/examples/seq) Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.84s Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.15s rm -rf "/workspace/src/inst" cargo install --locked --offline --path=bin --root="/workspace/src/inst" --debug Installing subplot-bin v0.13.0 (/workspace/src/bin) Compiling subplot v0.13.0 (/workspace/src) Compiling subplot-bin v0.13.0 (/workspace/src/bin) Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.03s Installing /workspace/src/inst/bin/subplot Installed package `subplot-bin v0.13.0 (/workspace/src/bin)` (executable `subplot`) warning: be sure to add `/workspace/src/inst/bin` to your PATH to be able to run the installed binaries mv "/workspace/src/inst"/bin/* "/workspace/src/inst" rm -rf "/workspace/src/inst"/.crate* "/workspace/src/inst"/bin cd share/python/template && python3 context_tests.py ............................ ---------------------------------------------------------------------- Ran 28 tests in 0.009s OK cd share/python/template && python3 encoding_tests.py .. ---------------------------------------------------------------------- Ran 2 tests in 0.001s OK env SUBPLOT_DIR="/workspace/src/inst" cargo test --workspace -- Compiling subplot v0.13.0 (/workspace/src) Compiling subplotlib v0.13.0 (/workspace/src/subplotlib) Compiling subplot-build v0.13.0 (/workspace/src/subplot-build) Compiling subplot-bin v0.13.0 (/workspace/src/bin) Compiling subplotlib-derive v0.13.0 (/workspace/src/subplotlib-derive) Compiling subplot-seq-example v0.1.0 (/workspace/src/examples/seq) Finished `test` profile [unoptimized + debuginfo] target(s) in 13.67s Running unittests src/lib.rs (/workspace/cache/debug/deps/subplot-a93d32caed9cb015) running 108 tests test bindings::test_binding::creates_new ... ok test bindings::test_binding::does_not_match_with_wrong_text ... ok test bindings::test_binding::case_sensitive_mismatch ... ok test bindings::test_binding::does_not_match_with_wrong_kind ... 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::adds_binding ... ok test bindings::test_bindings::add_from_yaml_notices_multiple_keywords ... 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_binding::match_with_regex ... 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::typemap_must_match_pattern ... ok test bindings::test_bindings::two_matching_bindings ... ok test bindings::test_regex_from_simple_pattern::returns_boring_pattern_as_is ... ok test bindings::test_regex_from_simple_pattern::kindless_simple_pattern ... ok test bindings::test_regex_from_simple_pattern::returns_empty_string_as_is ... 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_text_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::simple_int_pattern ... 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 bindings::test_regex_from_simple_pattern::simple_uint_pattern ... 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 bindings::test_regex_from_simple_pattern::simple_number_pattern ... ok test blockattr::test::parse_one_kv ... 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.42s Running tests/bindings-ubm.rs (/workspace/cache/debug/deps/bindings_ubm-df057825ec7086da) running 1 test test bindings_microbenchmark ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.79s Running unittests src/subplot.rs (/workspace/cache/debug/deps/subplot-8ddd746a6462ef25) 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-bcfd1c0ec5fd9e09) 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-7062ab134606eee5) running 4 tests test not_a_number ... ok test more_than_one_number ... ok test no_arguments ... ok test one_number ... ok test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s Running unittests src/lib.rs (/workspace/cache/debug/deps/subplotlib-7bca702444bedd6d) 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-24c6fc136bd9af01) 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_modification_time ... ok test file_contents ... ok test file_metadata ... ok test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s Running tests/runcmd.rs (/workspace/cache/debug/deps/runcmd-3229ae48a5e83527) running 21 tests test check_stderr_is_not_exactly_something ... ok 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_using_sub_string_search ... ok test check_stderr_using_regular_expressions ... ok test check_stdout_doesn_t_contain_sub_string ... ok test check_stdout_doesn_t_match_regular_expression ... ok test check_stdout_is_not_exactly_something ... ok test check_stdout_using_regular_expressions ... ok test check_stdout_is_exactly_as_wanted ... ok test check_stdout_using_sub_string_search ... ok test check_we_can_prepend_to__path ... ok test failed_execution ... ok test execution_in_a_sub_directory_does_not_affect_home ... ok test failed_execution_in_a_sub_directory ... 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.09s Running tests/subplot-codegen.rs (/workspace/cache/debug/deps/subplot_codegen-8b89ef4cc0e94322) running 29 tests test capture_using_regular_expressions ... ok test capture_using_simple_patterns ... ok test all_the_keywords ... ok test cleanup_functions_get_called_on_failure__python_ ... ok test code_generator_gives_an_error_if_input_document_lacks_title ... ok test examples_are_not_files ... ok test embedded_file_name_didn_t_match ... ok test cleanup_functions_gets_called_on_success__python_ ... ok test files_not_in_current_working_directory ... ok test lowest_level_heading_is_name_of_scenario ... ok test missing_functions_file ... ok test empty_lines_in_scenarios ... ok test misuse_of_continuation_keywords ... ok test no_scenarios_means_codegen_fails ... ok test no_template_means_you_can_docgen_but_not_codegen ... ok test next_heading_at_same_level_starts_new_scenario ... ok test next_heading_at_higher_level_starts_new_scenario ... ok test recall_values_for_use_in_later_steps ... ok test running_only_chosen_scenarios_with_python ... ok test simple_patterns_with_regex_metacharacters__forbidden_case ... ok 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 simple_patterns_with_regex_metacharacters__allowed_case ... ok test smoke_test ... ok test subplot_accepts_title_and_headings_with_inline_markup ... ok test subheadings_don_t_start_new_scenario ... ok test set_environment_variables_in_generated_test_programs ... ok test temporary_files_in_scenarios_in_python ... ok test result: ok. 29 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.96s Running tests/subplot-diagrams.rs (/workspace/cache/debug/deps/subplot_diagrams-7c16a8ba5badeb6f) running 4 tests test pikchr ... ok test roadmap ... ok test dot ... ok test plantuml ... ok test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.39s Running tests/subplot-docgen.rs (/workspace/cache/debug/deps/subplot_docgen-9f98ddd861c03d31) running 30 tests test bindings_file_strictness___unknown_field ... ok test attempt_to_use_definition_list ... ok test bad__add_newline__value ... ok test bindings_file_strictness___given_when_then ... ok test class_name_validation ... ok test date_given_in_metadata ... ok test date_given_on_command_line ... ok test document_generator_gives_an_error_if_input_document_lacks_title ... ok test css_urls ... ok test examples_may_be_unused ... ok test extract_embedded_file ... ok test embedded_css ... ok test fail_if_embedded_file_isn_t_used ... ok test fail_if_two_filenames_only_differ_in_case ... ok test dot ... ok test missing_bindings_file ... ok test multiple_markdown_files ... ok test indented_scenario_steps_are_not_allowed ... ok test no_date_anywhere ... ok test no_template_means_you_can_docgen_but_not_codegen ... ok test named_code_blocks_must_have_an_appropriate_class ... ok test pikchr ... ok test roadmap ... ok test scenario_before_the_first_heading ... ok test files_not_in_current_working_directory ... ok test empty_lines_in_scenarios ... ok test title_markup ... ok test subplot_accepts_title_and_headings_with_inline_markup ... ok test smoke_test ... ok test plantuml ... ok test result: ok. 30 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.73s Running tests/subplot-extract.rs (/workspace/cache/debug/deps/subplot_extract-ea41b3d9a1a056a7) running 1 test test extract_embedded_files ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Running tests/subplot-metadata.rs (/workspace/cache/debug/deps/subplot_metadata-e2e63d414fb99302) running 5 tests test list_embedded_files ... ok test duplicate_scenario_titles ... ok test scenario_titles ... ok test extracting_metadata_from_a_document ... ok test files_not_in_current_working_directory ... ok test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s Running tests/subplot-others.rs (/workspace/cache/debug/deps/subplot_others-b3192b2a9bc0a7fc) running 68 tests test bad__add_newline__value ... ok test attempt_to_use_definition_list ... ok test bindings_file_strictness___given_when_then ... ok test bindings_file_strictness___unknown_field ... ok test class_name_validation ... ok test all_the_keywords ... ok test capture_using_simple_patterns ... ok test capture_using_regular_expressions ... ok test code_generator_gives_an_error_if_input_document_lacks_title ... ok test date_given_in_metadata ... ok test cleanup_functions_get_called_on_failure__python_ ... ok test date_given_on_command_line ... ok test document_generator_gives_an_error_if_input_document_lacks_title ... ok test css_urls ... ok test duplicate_scenario_titles ... ok test dot ... ok test embedded_css ... ok test embedded_file_name_didn_t_match ... ok test examples_are_not_files ... ok test examples_may_be_unused ... ok test extract_embedded_file__automatically_add_missing_newline ... ok test extract_embedded_file__by_default_add_missing_newline ... ok test extract_embedded_file__by_default_do_not_add_a_second_newline ... ok test extract_embedded_file__do_not_add_missing_newline ... ok test extract_embedded_file ... ok test extract_embedded_file__do_not_automatically_add_second_newline ... ok test extract_embedded_file__explicitly_add_missing_newline ... ok test extract_embedded_file__explicitly_add_second_newline ... ok test extract_embedded_files ... ok test fail_if_embedded_file_isn_t_used ... ok test fail_if_the_same_filename_is_used_twice ... ok test fail_if_two_filenames_only_differ_in_case ... ok test extracting_metadata_from_a_document ... ok test cleanup_functions_gets_called_on_success__python_ ... ok test list_embedded_files ... ok test indented_scenario_steps_are_not_allowed ... ok test missing_bindings_file ... ok test missing_functions_file ... ok test files_not_in_current_working_directory ... ok test multiple_markdown_files ... ok test misuse_of_continuation_keywords ... ok test empty_lines_in_scenarios ... ok test named_code_blocks_must_have_an_appropriate_class ... ok test no_date_anywhere ... ok test lowest_level_heading_is_name_of_scenario ... ok test no_scenarios_means_codegen_fails ... ok test no_template_means_you_can_docgen_but_not_codegen ... ok test pikchr ... ok test next_heading_at_higher_level_starts_new_scenario ... ok test next_heading_at_same_level_starts_new_scenario ... ok test roadmap ... ok test scenario_before_the_first_heading ... ok test recall_values_for_use_in_later_steps ... ok test scenario_titles ... ok test running_only_chosen_scenarios_with_python ... ok test simple_patterns_with_regex_metacharacters__forbidden_case ... ok test simple_patterns_with_regex_metacharacters__allowed_case ... ok 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 smoke_test ... ok test set_environment_variables_in_generated_test_programs ... ok test subheadings_don_t_start_new_scenario ... ok test title_markup ... ok test use_embedded_file ... ok test subplot_accepts_title_and_headings_with_inline_markup ... ok test temporary_files_in_scenarios_in_python ... ok test plantuml ... ok test result: ok. 68 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.04s Running tests/subplotlib.rs (/workspace/cache/debug/deps/subplotlib-b7d0c90b9dd029e6) running 3 tests test embedded_files ... ok test fundamentals ... ok test data_directory ... ok test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Running unittests src/lib.rs (/workspace/cache/debug/deps/subplotlib_derive-6bffe14e6d2e28d4) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests subplot running 6 tests test src/bindings.rs - bindings::BindingImpl::cleanup (line 163) ... ignored test src/bindings.rs - bindings::BindingImpl::function (line 151) ... ignored test src/bindings.rs - bindings::BindingImpl::new (line 137) ... ignored test src/diagrams.rs - diagrams::PikchrMarkup (line 116) ... ok test src/diagrams.rs - diagrams::DotMarkup (line 149) ... ok test src/diagrams.rs - diagrams::PlantumlMarkup (line 198) ... ok test result: ok. 3 passed; 0 failed; 3 ignored; 0 measured; 0 filtered out; finished in 4.58s Doc-tests subplot_build running 1 test test subplot-build/src/lib.rs - codegen (line 27) ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.35s Doc-tests subplotlib running 73 tests test subplotlib/src/file.rs - file::SubplotDataFile (line 20) ... ok test subplotlib/src/prelude.rs - prelude (line 6) ... ok test subplotlib/src/prelude.rs - prelude::step (line 100) ... ok test subplotlib/src/file.rs - file::SubplotDataFile::data (line 120) ... ok test subplotlib/src/file.rs - file::SubplotDataFile::new (line 76) ... ok test subplotlib/src/prelude.rs - prelude::step (line 73) ... ok test subplotlib/src/file.rs - file::SubplotDataFile::name (line 105) ... ok test subplotlib/src/prelude.rs - prelude::throws (line 39) ... ok test subplotlib/src/prelude.rs - prelude::throws (line 26) ... ok test subplotlib/src/steplibrary/datadir.rs - steplibrary::datadir::datadir_has_enough_space::call (line 160) ... ignored test subplotlib/src/steplibrary/datadir.rs - steplibrary::datadir::datadir_has_enough_space_megabytes::call (line 171) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::_create_from_embedded_with_other_name_executable::call (line 129) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::create_executable_from_embedded::call (line 93) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::create_executable_from_embedded_with_other_name::call (line 111) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::create_from_embedded::call (line 56) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::create_from_embedded_with_other_name::call (line 70) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::create_from_text::call (line 220) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::file_and_embedded_file_do_not_match::call (line 469) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::file_and_embedded_file_match::call (line 443) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::file_contains::call (line 341) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::file_do_not_match::call (line 417) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::file_does_not_exist::call (line 296) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::file_doesnt_contain::call (line 357) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::file_exists::call (line 276) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::file_match::call (line 390) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::file_matches_regex::call (line 374) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::has_different_metadata::call (line 544) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::has_remembered_metadata::call (line 505) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::make_directory::call (line 609) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::mtime_is_ancient::call (line 593) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::mtime_is_recent::call (line 577) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::only_these_exist::call (line 322) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::path_does_not_exist::call (line 659) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::path_exists::call (line 642) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::path_is_empty::call (line 678) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::path_is_not_empty::call (line 696) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::remember_metadata::call (line 231) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::remove_directory::call (line 619) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::remove_empty_directory::call (line 630) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::remove_file::call (line 181) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::touch::call (line 255) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::touch_with_timestamp::call (line 193) ... ignored test subplotlib/src/steplibrary.rs - steplibrary (line 10) ... ok test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::exit_code_is::call (line 403) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::exit_code_is_nonzero::call (line 442) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::exit_code_is_not::call (line 419) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::exit_code_is_zero::call (line 431) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::helper_script::call (line 227) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::helper_srcdir_path::call (line 241) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::run::call (line 254) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::run_in::call (line 271) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::set_environment_variable::call (line 677) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::stderr_contains::call (line 594) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::stderr_doesnt_contain::call (line 607) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::stderr_doesnt_match_regex::call (line 663) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::stderr_is::call (line 542) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::stderr_isnt::call (line 555) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::stderr_matches_regex::call (line 649) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::stdin_from_file::call (line 480) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::stdin_is::call (line 502) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::stdout_contains::call (line 568) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::stdout_doesnt_contain::call (line 581) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::stdout_doesnt_match_regex::call (line 635) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::stdout_is::call (line 516) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::stdout_isnt::call (line 529) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::stdout_matches_regex::call (line 621) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::try_to_run::call (line 285) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::try_to_run_in::call (line 298) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::unset_environment_variable::call (line 691) ... ignored test subplotlib/src/scenario.rs - scenario::Scenario (line 305) ... ok test subplotlib/src/step.rs - step::ScenarioStep (line 24) ... ok test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::Runcmd::join_paths (line 155) ... ok test subplotlib/src/utils.rs - utils::base64_decode (line 9) ... ok test result: ok. 14 passed; 0 failed; 59 ignored; 0 measured; 0 filtered out; finished in 2.90s Doc-tests subplotlib_derive running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s /workspace/src/inst/subplot --resources /workspace/src/share codegen subplot.subplot -o test.py --template python [32m INFO[0m Starting Subplot [32m INFO[0m Subplot finished successfully rm -f test.log python3 test.py --log test.log --env SUBPLOT_DIR=/workspace/src/inst srcdir /workspace/src datadir /tmp/tmpo_yovjih scenario: Extract embedded file, automatically add missing newline step 1: given file auto-without-newline.txt step 2: then auto-without-newline.txt ends in one newline scenario: Extract embedded file, explicitly add missing newline step 1: given file add-without-newline.txt step 2: then add-without-newline.txt ends in one newline scenario: Extract embedded file, explicitly add second newline step 1: given file add-has-newline.txt step 2: then add-has-newline.txt ends in two newlines scenario: Multiple markdown files step 1: given file multimd.subplot step 2: given file md1.md step 3: given file md2.md step 4: given an installed subplot step 5: when I run subplot docgen multimd.subplot -o multimd.html step 6: when I run cat multimd.html step 7: then file multimd.html exists step 8: then file multimd.html contains "<title>The Fabulous Title</title>" step 9: then file multimd.html contains "First markdown file." step 10: then file multimd.html contains "Second markdown file." cleanup 4: given an installed subplot scenario: Set environment variables in generated test programs step 1: given file env.subplot step 2: given file env.md step 3: given file env.yaml step 4: given file env.py step 5: given an installed subplot step 6: when I run subplot codegen env.subplot -o test.py step 7: when I try to run python3 test.py step 8: then command fails step 9: when I try to run python3 test.py --env FOO=foo step 10: then command fails step 11: when I try to run python3 test.py --env FOO=bar step 12: then command is successful cleanup 5: given an installed subplot scenario: Temporary files in scenarios in Python step 1: given file tmpdir.subplot step 2: given file tmpdir.md step 3: given file tmpdir.yaml step 4: given file tmpdir.py step 5: given an installed subplot step 6: when I run subplot codegen --run tmpdir.subplot -o test.py step 7: then command is successful step 8: then scenario "TMPDIR" was run step 9: then step "then TMPDIR is set" was run cleanup 5: given an installed subplot scenario: Next heading at same level starts new scenario step 1: given file samelevelisnewscenario.subplot step 2: given file samelevelisnewscenario.md step 3: given file b.yaml step 4: given file f.py step 5: given an installed subplot step 6: when I run subplot codegen --run samelevelisnewscenario.subplot -o test.py step 7: then scenario "heading 1.1.1" was run step 8: then scenario "heading 1.1.2" was run step 9: then command is successful cleanup 5: given an installed subplot scenario: PlantUML step 1: given file plantuml.subplot step 2: given file plantuml.md step 3: given file b.yaml step 4: given an installed subplot step 5: when I run subplot docgen plantuml.subplot -o plantuml.html step 6: then file plantuml.html matches regex /src="data:image/svg\\+xml;base64,/ cleanup 4: given an installed subplot scenario: Scenario before the first heading step 1: given an installed subplot step 2: given file scenario-before-heading.subplot step 3: given file scenario-before-heading.md step 4: when I try to run subplot docgen scenario-before-heading.subplot -o /dev/null step 5: then command fails step 6: then stderr contains "ERROR scenario-before-heading.md:1:1: first scenario is before first heading" cleanup 1: given an installed subplot scenario: Indented scenario steps are not allowed step 1: given file indented-step.subplot step 2: given file indented-step.md step 3: given file b.yaml step 4: given an installed subplot step 5: when I try to run subplot docgen indented-step.subplot -o foo.html step 6: then command fails step 7: then stderr contains "indented" cleanup 4: given an installed subplot scenario: Simple patterns with regex metacharacters: allowed case step 1: given file confusedbutok.subplot step 2: given file confusedbutok.md step 3: given file confusedbutok.yaml step 4: given file capture.py step 5: given an installed subplot step 6: when I run subplot codegen --run confusedbutok.subplot -o test.py step 7: then command is successful cleanup 5: given an installed subplot scenario: Fail if the same filename is used twice step 1: given file onefiletwice.md step 2: given an installed subplot step 3: when I try to run subplot docgen onefiletwice.md -o onefiletwice.html step 4: then command fails step 5: then file onefiletwice.html does not exist cleanup 2: given an installed subplot scenario: Next heading at higher level starts new scenario step 1: given file higherisnewscenario.subplot step 2: given file higherisnewscenario.md step 3: given file b.yaml step 4: given file f.py step 5: given an installed subplot step 6: when I run subplot codegen --run higherisnewscenario.subplot -o test.py step 7: then scenario "heading 1.1.1" was run step 8: then scenario "heading 1.2" was run step 9: then command is successful cleanup 5: given an installed subplot scenario: Extracting metadata from a document step 1: given file images.subplot step 2: given file images.md step 3: given file b.yaml step 4: given file other.yaml step 5: given file f.py step 6: given file other.py step 7: given file expected.json step 8: given an installed subplot step 9: when I run subplot metadata images.subplot step 10: then stdout contains "source: images.md" step 11: then stdout contains "source: b.yaml" step 12: then stdout contains "source: other.yaml" step 13: then stdout contains "source: f.py" step 14: then stdout contains "source: other.py" step 15: then stdout contains "source: image.gif" step 16: then stdout contains "bindings: b.yaml" step 17: then stdout contains "bindings: other.yaml" step 18: then stdout contains "functions[python]: f.py" step 19: when I run subplot metadata images.subplot -o json step 20: then JSON output matches expected.json cleanup 8: given an installed subplot scenario: Recall values for use in later steps step 1: given file values.subplot step 2: given file values.md step 3: given file values.yaml step 4: given file values.py step 5: given an installed subplot step 6: when I run subplot codegen values.subplot -o test.py step 7: when I run python3 test.py step 8: then command is successful cleanup 5: given an installed subplot scenario: Steps which do not match bindings do not work step 1: given file nobinding.subplot step 2: given file nobinding.md step 3: given file badbindings.yaml step 4: given an installed subplot step 5: when I try to run subplot codegen --run nobinding.subplot -o test.py step 6: then command fails cleanup 4: given an installed subplot scenario: Subheadings don't start new scenario step 1: given file subisnotnewscenario.subplot step 2: given file subisnotnewscenario.md step 3: given file b.yaml step 4: given file f.py step 5: given an installed subplot step 6: when I run subplot codegen --run subisnotnewscenario.subplot -o test.py step 7: then scenario "heading 1.1a" was run step 8: then command is successful cleanup 5: given an installed subplot scenario: Running only chosen scenarios with Python step 1: given file twoscenarios-python.subplot step 2: given file twoscenarios-python.md step 3: given file b.yaml step 4: given file f.py step 5: given an installed subplot step 6: when I run subplot codegen twoscenarios-python.subplot -o test.py step 7: when I run python3 test.py on step 8: then scenario "One" was run step 9: then scenario "Two" was not run step 10: then command is successful cleanup 5: given an installed subplot scenario: Bindings file strictness - given when then step 1: given file badbindingsgwt.subplot step 2: given file badbindingsgwt.md step 3: given file badbindingsgwt.yaml step 4: given an installed subplot step 5: when I try to run subplot docgen --output ignored.html badbindingsgwt.subplot step 6: then command fails step 7: then stderr contains "binding has more than one keyword" cleanup 4: given an installed subplot scenario: Cleanup functions gets called on success (Python) step 1: given file cleanup-success-python.subplot step 2: given file cleanup-success-python.md step 3: given file cleanup.yaml step 4: given file cleanup.py step 5: given an installed subplot step 6: when I run subplot codegen --run cleanup-success-python.subplot -o test.py step 7: then scenario "Cleanup" was run step 8: then step "given foo" was run, and then step "given bar" step 9: then cleanup for "given bar" was run, and then for "given foo" step 10: then command is successful cleanup 5: given an installed subplot scenario: Fail if embedded file isn't used step 1: given file unusedfile.subplot step 2: given file unusedfile.md step 3: given an installed subplot step 4: when I try to run subplot docgen --merciful unusedfile.subplot -o unusedfile.html step 5: then command is successful step 6: then file unusedfile.html exists step 7: then stderr contains "thisisnotused.txt" cleanup 3: given an installed subplot scenario: Capture using simple patterns step 1: given file simplepattern.subplot step 2: given file simplepattern.md step 3: given file simplepattern.yaml step 4: given file capture.py step 5: given an installed subplot step 6: when I run subplot codegen --run simplepattern.subplot -o test.py step 7: then scenario "Simple pattern" was run step 8: then step "given I am Tomjon" was run step 9: then stdout contains "function got argument name as Tomjon" step 10: then command is successful cleanup 5: given an installed subplot scenario: Lowest level heading is name of scenario step 1: given file scenarioislowest.subplot step 2: given file scenarioislowest.md step 3: given file b.yaml step 4: given file f.py step 5: given an installed subplot step 6: when I run subplot codegen --run scenarioislowest.subplot -o test.py step 7: then scenario "heading 1.1.1" was run step 8: then command is successful cleanup 5: given an installed subplot scenario: Attempt to use definition list step 1: given an installed subplot step 2: given file dl.subplot step 3: given file dl.md step 4: when I try to run subplot docgen dl.subplot -o /dev/null step 5: then command fails step 6: then stderr contains "ERROR dl.md:3:1: attempt to use definition lists in Markdown" cleanup 1: given an installed subplot scenario: Extract embedded file step 1: given file embedded.subplot step 2: given file embedded.md step 3: given an installed subplot step 4: when I run subplot docgen --merciful embedded.subplot -o foo.html step 5: then file foo.html exists step 6: then file foo.html matches regex /embedded\\.txt/ cleanup 3: given an installed subplot scenario: Extract embedded file, by default do not add a second newline step 1: given file default-has-newline.txt step 2: then default-has-newline.txt ends in one newline scenario: Misuse of continuation keywords step 1: given file continuationmisuse.subplot step 2: given file continuationmisuse.md step 3: given file b.yaml step 4: given file f.py step 5: given an installed subplot step 6: when I try to run subplot codegen --run continuationmisuse.subplot -o test.py step 7: then command fails cleanup 5: given an installed subplot scenario: Named code blocks must have an appropriate class step 1: given file named-code-blocks-appropriate.subplot step 2: given file named-code-blocks-appropriate.md step 3: given file b.yaml step 4: given an installed subplot step 5: when I try to run subplot docgen named-code-blocks-appropriate.subplot -o foo.html step 6: then command fails step 7: then stderr contains "#example-1 at named-code-blocks-appropriate.md:7:1" step 8: then stderr doesn't contain "example-2" step 9: then stderr doesn't contain "example-3" cleanup 4: given an installed subplot scenario: All the keywords step 1: given file allkeywords.subplot step 2: given file allkeywords.md step 3: given file b.yaml step 4: given file f.py step 5: given an installed subplot step 6: when I run subplot codegen --run allkeywords.subplot -o test.py step 7: then scenario "All keywords" was run step 8: then step "given precondition foo" was run step 9: then step "when I do bar" was run step 10: then step "then bar was done" was run step 11: then command is successful cleanup 5: given an installed subplot scenario: CSS URLs step 1: given file css-urls.subplot step 2: given file css-urls.md step 3: given file b.yaml step 4: given an installed subplot step 5: when I run subplot docgen css-urls.subplot -o foo.html step 6: then file foo.html contains "https://example.com/flushing.css" cleanup 4: given an installed subplot scenario: Document generator gives an error if input document lacks title step 1: given file notitle.subplot step 2: given file notitle.md step 3: given an installed subplot step 4: when I try to run subplot docgen notitle.subplot -o foo.md step 5: then command fails cleanup 3: given an installed subplot scenario: Examples are not files step 1: given file examplesnotfiles.subplot step 2: given file examplesnotfiles.md step 3: given an installed subplot step 4: when I try to run subplot codegen examplesnotfiles.subplot -t python -o examplesnotfiles.html step 5: then command fails step 6: then file examplesnotfiles.html does not exist step 7: then stderr contains "thisisanexample.txt" cleanup 3: given an installed subplot scenario: Subplot accepts title and headings with inline markup step 1: given file fancytitle.subplot step 2: given file fancytitle.md step 3: given file b.yaml step 4: given file f.py step 5: given an installed subplot step 6: when I try to run subplot docgen fancytitle.subplot -o foo.md step 7: then command is successful step 8: when I try to run subplot codegen fancytitle.subplot -o foo.md step 9: then command is successful cleanup 5: given an installed subplot scenario: Pikchr step 1: given file pikchr.subplot step 2: given file pikchr.md step 3: given an installed subplot step 4: when I run subplot docgen pikchr.subplot -o pikchr.html step 5: then file pikchr.html matches regex /src="data:image/svg\\+xml;base64,/ cleanup 3: given an installed subplot scenario: Extract embedded file, do not add missing newline step 1: given file no-adding-without-newline.txt step 2: then no-adding-without-newline.txt does not end in a newline scenario: Empty lines in scenarios step 1: given file emptylines.subplot step 2: given file emptylines.md step 3: given file b.yaml step 4: given file f.py step 5: given an installed subplot step 6: when I run subplot docgen emptylines.subplot -o emptylines.html step 7: then file emptylines.html exists step 8: when I run subplot codegen --run emptylines.subplot -o test.py step 9: then scenario "Simple" was run step 10: then step "given precondition foo" was run step 11: then step "when I do bar" was run step 12: then step "then bar was done" was run step 13: then command is successful cleanup 5: given an installed subplot scenario: Embedded CSS step 1: given file embedded-css.subplot step 2: given file embedded-css.md step 3: given file embedded-css.css step 4: given file b.yaml step 5: given an installed subplot step 6: when I run subplot docgen embedded-css.subplot -o foo.html step 7: then file foo.html contains "silly: property;" cleanup 5: given an installed subplot scenario: Scenario titles step 1: given file scenario-titles.subplot step 2: given file scenario-titles.md step 3: given file b.yaml step 4: given file f.py step 5: given an installed subplot step 6: when I run subplot metadata scenario-titles.subplot step 7: then stdout contains "My fun scenario title" cleanup 5: given an installed subplot scenario: Cleanup functions get called on failure (Python) step 1: given file cleanup-fail-python.subplot step 2: given file cleanup-fail-python.md step 3: given file cleanup.yaml step 4: given file cleanup.py step 5: given an installed subplot step 6: when I try to run subplot codegen --run cleanup-fail-python.subplot -o test.py step 7: then scenario "Cleanup" was run step 8: then step "given foo" was run, and then step "given bar" step 9: then cleanup for "given bar" was run, and then for "given foo" step 10: then cleanup for "given failure" was not run step 11: then command fails cleanup 5: given an installed subplot scenario: Dot step 1: given file dot.subplot step 2: given file dot.md step 3: given file b.yaml step 4: given an installed subplot step 5: when I run subplot docgen dot.subplot -o dot.html step 6: then file dot.html matches regex /src="data:image/svg\\+xml;base64,/ cleanup 4: given an installed subplot scenario: Extract embedded file, do not automatically add second newline step 1: given file auto-has-newline.txt step 2: then auto-has-newline.txt ends in one newline scenario: Smoke test step 1: given file simple.subplot step 2: given file simple.md step 3: given file b.yaml step 4: given file f.py step 5: given an installed subplot step 6: when I run subplot docgen simple.subplot -o simple.html step 7: then file simple.html exists step 8: when I run subplot codegen --run simple.subplot -o test.py step 9: then scenario "Simple" was run step 10: then step "given precondition foo" was run step 11: then step "when I do bar" was run step 12: then step "then bar was done" was run step 13: then command is successful cleanup 5: given an installed subplot scenario: Bindings file strictness - unknown field step 1: given file badbindingsuf.subplot step 2: given file badbindingsuf.md step 3: given file badbindingsuf.yaml step 4: given an installed subplot step 5: when I try to run subplot docgen --output ignored.html badbindingsuf.subplot step 6: then command fails step 7: then stderr contains "Unknown field `function`" cleanup 4: given an installed subplot scenario: No scenarios means codegen fails step 1: given file noscenarios.subplot step 2: given file noscenarios.md step 3: given an installed subplot step 4: when I try to run subplot codegen noscenarios.subplot -o test.py step 5: then command fails step 6: then stderr contains "no scenarios were found" cleanup 3: given an installed subplot scenario: Roadmap step 1: given file roadmap.subplot step 2: given file roadmap.md step 3: given file b.yaml step 4: given an installed subplot step 5: when I run subplot docgen roadmap.subplot -o roadmap.html step 6: then file roadmap.html matches regex /src="data:image/svg\\+xml;base64,/ cleanup 4: given an installed subplot scenario: No date anywhere step 1: given file dateless.subplot step 2: given file dateless.md step 3: given file dateless.md has modification time 2020-02-26 07:53:17 step 4: given an installed subplot step 5: when I run subplot docgen dateless.subplot -o mtime.html step 6: then file mtime.html exists step 7: then file mtime.html contains "<title>The Fabulous Title</title>" step 8: then file mtime.html contains "Alfred Pennyworth" step 9: then file mtime.html contains "Geoffrey Butler" step 10: then file mtime.html contains "2020-02-26 07:53" cleanup 4: given an installed subplot scenario: Date given on command line step 1: given file dateless.subplot step 2: given file dateless.md step 3: given an installed subplot step 4: when I run subplot docgen dateless.subplot -o dateoption.html --date=FANCYDATE step 5: then file dateoption.html exists step 6: then file dateoption.html contains "<title>The Fabulous Title</title>" step 7: then file dateoption.html contains "Alfred Pennyworth" step 8: then file dateoption.html contains "Geoffrey Butler" step 9: then file dateoption.html contains "FANCYDATE" cleanup 3: given an installed subplot scenario: No template means you can docgen but not codegen step 1: given file notemplate.subplot step 2: given file notemplate.md step 3: given an installed subplot step 4: when I run subplot docgen notemplate.subplot -o notemplate.html step 5: then file notemplate.html exists step 6: when I try to run subplot codegen notemplate.subplot -o test.py step 7: then command fails step 8: then stderr contains "document has no template" cleanup 3: given an installed subplot scenario: Fail if two filenames only differ in case step 1: given file casediff.md step 2: given an installed subplot step 3: when I try to run subplot docgen casediff.md -o casediff.html step 4: then command fails step 5: then file casediff.html does not exist cleanup 2: given an installed subplot scenario: Title markup step 1: given file title-markup.subplot step 2: given file title-markup.md step 3: given an installed subplot step 4: when I run subplot docgen title-markup.subplot -o foo.html step 5: then file foo.html exists cleanup 3: given an installed subplot scenario: Steps which do not case-sensitively match sensitive bindings do not work step 1: given file casemismatch.subplot step 2: given file casemismatch.md step 3: given file badbindings.yaml step 4: given an installed subplot step 5: when I try to run subplot codegen --run casemismatch.subplot -o test.py step 6: then command fails cleanup 4: given an installed subplot scenario: Embedded file name didn't match step 1: given file badfilename.subplot step 2: given file badfilename.md step 3: given file b.yaml step 4: given file f.py step 5: given an installed subplot step 6: when I try to run subplot codegen --run badfilename.md -o test.py step 7: then command fails cleanup 5: given an installed subplot scenario: Class name validation step 1: given file unknown-class-name.subplot step 2: given file unknown-class-name.md step 3: given file known-class-name.subplot step 4: given file known-class-name.md step 5: given file b.yaml step 6: given an installed subplot step 7: when I try to run subplot docgen unknown-class-name.subplot -o unknown-class-name.html step 8: then command fails step 9: then file unknown-class-name.html does not exist step 10: then stderr contains "Unknown classes found in the document: foobar" step 11: when I run subplot docgen known-class-name.subplot -o known-class-name.html step 12: then file known-class-name.html exists cleanup 6: given an installed subplot scenario: Duplicate scenario titles step 1: given file duplicate-scenario-titles.subplot step 2: given file duplicate-scenario-titles.md step 3: given file b.yaml step 4: given file f.py step 5: given an installed subplot step 6: when I try to run subplot metadata duplicate-scenario-titles.subplot step 7: then command fails step 8: then stderr contains "duplicate" cleanup 5: given an installed subplot scenario: Extract embedded files step 1: given file embedded-file.subplot step 2: given file embedded-file.md step 3: given file expected.txt step 4: given an installed subplot step 5: when I run subplot extract --merciful embedded-file.subplot foo.txt -d . step 6: then files foo.txt and expected.txt match cleanup 4: given an installed subplot scenario: Capture using regular expressions step 1: given file regex.subplot step 2: given file regex.md step 3: given file regex.yaml step 4: given file capture.py step 5: given an installed subplot step 6: when I run subplot codegen --run regex.subplot -o test.py step 7: then scenario "Regex" was run step 8: then step "given I am Tomjon" was run step 9: then stdout contains "function got argument name as Tomjon" step 10: then command is successful cleanup 5: given an installed subplot scenario: Extract embedded file, by default add missing newline step 1: given file default-without-newline.txt step 2: then default-without-newline.txt ends in one newline scenario: Use embedded file step 1: given file numbered-lines.txt step 2: given file not-numbered-lines.txt scenario: Missing functions file step 1: given file missing-functions.subplot step 2: given file missing-functions.md step 3: given file b.yaml step 4: given an installed subplot step 5: when I try to run subplot codegen --run missing-functions.subplot -o foo.py step 6: then command fails step 7: then stderr contains "could not be found" step 8: then stderr contains "missing-functions.py" cleanup 4: given an installed subplot scenario: Files not in current working directory step 1: given file x/simple.subplot from simple.subplot step 2: given file x/simple.md from simple.md step 3: given file x/b.yaml from b.yaml step 4: given file x/f.py from f.py step 5: given an installed subplot step 6: when I run subplot metadata x/simple.subplot step 7: then command is successful step 8: when I run subplot codegen x/simple.subplot -o test.py step 9: then file test.py exists step 10: when I run subplot docgen x/simple.subplot -o simple.html step 11: then file simple.html exists cleanup 5: given an installed subplot scenario: Code generator gives an error if input document lacks title step 1: given file notitle.subplot step 2: given file notitle.md step 3: given an installed subplot step 4: when I try to run subplot codegen --run notitle.subplot -o test.py step 5: then command fails cleanup 3: given an installed subplot scenario: Missing bindings file step 1: given file missing-binding.subplot step 2: given file missing-binding.md step 3: given an installed subplot step 4: when I try to run subplot docgen missing-binding.subplot -o foo.html step 5: then command fails step 6: then stderr contains "could not be found" step 7: then stderr contains "missing-binding.yaml" cleanup 3: given an installed subplot scenario: Date given in metadata step 1: given file metadate.subplot step 2: given file metadate.md step 3: given an installed subplot step 4: when I run subplot docgen metadate.subplot -o metadate.html step 5: when I run cat metadate.html step 6: then file metadate.html exists step 7: then file metadate.html contains "<title>The Fabulous Title</title>" step 8: then file metadate.html contains "Alfred Pennyworth" step 9: then file metadate.html contains "Geoffrey Butler" step 10: then file metadate.html contains "WIP" cleanup 3: given an installed subplot scenario: Steps which match more than one binding do not work step 1: given file twobindings.subplot step 2: given file twobindings.md step 3: given file twobindings.yaml step 4: given file a_function.py step 5: given an installed subplot step 6: when I try to run subplot codegen --run twobindings.subplot -o test.py step 7: then command fails step 8: then stderr contains "xyzzy" step 9: then stderr contains "plugh" cleanup 5: given an installed subplot scenario: List embedded files step 1: given file two-embedded.subplot step 2: given file two-embedded.md step 3: given an installed subplot step 4: when I run subplot metadata --merciful two-embedded.subplot step 5: then stdout contains "foo.txt" step 6: then stdout contains "bar.yaml" cleanup 3: given an installed subplot scenario: Bad "add-newline" value step 1: given an installed subplot step 2: given file add-newline.subplot step 3: given file add-newline.md step 4: when I try to run subplot docgen add-newline.subplot -o /dev/null step 5: then command fails step 6: then stderr contains "ERROR add-newline.md:1:1: value of add-newline attribute is not understood: xyzzy" cleanup 1: given an installed subplot scenario: Examples may be unused step 1: given file unusedexample.subplot step 2: given file unusedexample.md step 3: given an installed subplot step 4: when I try to run subplot docgen --merciful unusedexample.subplot -o unusedexample.html step 5: then command is successful step 6: then file unusedexample.html exists step 7: then stderr doesn't contain "thisisnotused.txt" cleanup 3: given an installed subplot scenario: Simple patterns with regex metacharacters: forbidden case step 1: given file confusedpattern.subplot step 2: given file confusedpattern.md step 3: given file confusedpattern.yaml step 4: given file capture.py step 5: given an installed subplot step 6: when I try to run subplot codegen --run confusedpattern.subplot -o test.py step 7: then command fails step 8: then stderr contains "simple pattern contains regex" cleanup 5: given an installed subplot OK, all scenarios finished successfully cd examples/muck && /workspace/src/inst/subplot --resources /workspace/src/share codegen muck.subplot --run --output test.py [32m INFO[0m Starting Subplot srcdir /workspace/src/examples/muck datadir /tmp/tmpwfkmin_w scenario: Deleting someone else's data step 1: given a fresh Muck server step 2: given I am Tomjon step 3: when I do POST /res with {"foo": "bar"} step 4: then header Muck-Id is ID step 5: then header Muck-Revision is REV1 step 6: given I am Verence step 7: when I do DELETE /res with Muck-Id: {ID} step 8: then response code is 404 scenario: Accessing someone else's data step 1: given a fresh Muck server step 2: given I am Tomjon step 3: when I do POST /res with {"foo": "bar"} step 4: then header Muck-Id is ID step 5: then header Muck-Revision is REV1 step 6: when I do GET /res with Muck-Id: {ID} step 7: then response code is 200 step 8: then header Muck-Revision matches {REV1} step 9: then body matches {"foo": "bar"} step 10: given I am Verence step 11: when I do GET /res with Muck-Id: {ID} step 12: then response code is 404 scenario: Updating someone else's data step 1: given a fresh Muck server step 2: given I am Tomjon step 3: when I do POST /res with {"foo": "bar"} step 4: then header Muck-Id is ID step 5: then header Muck-Revision is REV1 step 6: given I am Verence step 7: when I do PUT /res with Muck-Id: {ID}, Muck-Revision: {REV1}, and body {"foo":"yo"} step 8: then response code is 404 scenario: Basic object handling step 1: given a fresh Muck server step 2: given I am Tomjon step 3: when I do POST /res with {"foo": "bar"} step 4: then response code is 201 step 5: then header Muck-Id is ID step 6: then header Muck-Revision is REV1 step 7: when I do GET /res with Muck-Id: {ID} step 8: then response code is 200 step 9: then header Muck-Revision matches {REV1} step 10: then body matches {"foo": "bar"} step 11: when I do PUT /res with Muck-Id: {ID}, Muck-Revision: {REV1}, and body {"foo":"yo"} step 12: then response code is 200 step 13: then header Muck-Revision is {REV2} step 14: then revisions {REV1} and {REV2} are different step 15: when I do PUT /res with Muck-Id: {ID}, Muck-Revision: {REV1}, and body {"foo":"yo"} step 16: then response code is 409 step 17: when I do GET /res with Muck-Id: {ID} step 18: then response code is 200 step 19: then header Muck-Revision matches {REV2} step 20: then body matches {"foo": "yo"} step 21: when I do DELETE /res with Muck-Id: {ID} step 22: then response code is 200 step 23: when I do GET /res with Muck-Id: {ID} step 24: then response code is 404 scenario: Restarting Muck step 1: given a fresh Muck server step 2: given I am Tomjon, with super capability step 3: when I do POST /res with {"foo": "bar"} step 4: then header Muck-Id is ID step 5: then header Muck-Revision is REV1 step 6: when I restart Muck step 7: when I do GET /res with Muck-Id: {ID} step 8: then response code is 200 step 9: then header Muck-Revision matches {REV1} step 10: then body matches {"foo": "bar"} OK, all scenarios finished successfully [32m INFO[0m Subplot finished successfully if [ "--offline" = "" ] ; then \ cd examples/website && \ /workspace/src/inst/subplot --resources /workspace/src/share codegen website.subplot --run --output test.py; \ fi cd examples/seq && cargo test -- Compiling subplot v0.13.0 (/workspace/src) Compiling subplotlib-derive v0.13.0 (/workspace/src/subplotlib-derive) Compiling subplotlib v0.13.0 (/workspace/src/subplotlib) Compiling subplot-seq-example v0.1.0 (/workspace/src/examples/seq) Finished `test` profile [unoptimized + debuginfo] target(s) in 5.53s Running tests/seq.rs (/workspace/cache/debug/deps/seq-a75a0c0a0169d695) running 4 tests test more_than_one_number ... ok test not_a_number ... ok test no_arguments ... ok test one_number ... ok test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s /workspace/src/inst/subplot --resources /workspace/src/share docgen subplot.subplot -o subplot.html [32m INFO[0m Starting Subplot [32m INFO[0m Subplot finished successfully /workspace/src/inst/subplot --resources /workspace/src/share docgen tests/subplots/common/files.subplot -o tests/subplots/common/files.html [32m INFO[0m Starting Subplot [32m INFO[0m Subplot finished successfully /workspace/src/inst/subplot --resources /workspace/src/share docgen tests/subplots/common/runcmd.subplot -o tests/subplots/common/runcmd.html [32m INFO[0m Starting Subplot [32m INFO[0m Subplot finished successfully cd examples/muck && /workspace/src/inst/subplot --resources /workspace/src/share/subplot docgen muck.subplot -o muck.html [32m INFO[0m Starting Subplot [32m INFO[0m Subplot finished successfully cd examples/website && /workspace/src/inst/subplot --resources /workspace/src/share docgen website.subplot -o website.html [32m INFO[0m Starting Subplot [32m INFO[0m Subplot finished successfully cd examples/seq && /workspace/src/inst/subplot --resources /workspace/src/share docgen seq.subplot -o seq.html [32m INFO[0m Starting Subplot [32m INFO[0m Subplot finished successfully /workspace/src/inst/subplot --resources /workspace/src/share libdocgen lib/runcmd.yaml --output /workspace/src/inst/runcmd.md [32m INFO[0m Starting Subplot [32m INFO[0m Subplot finished successfully if which pandoc>/dev/null; then pandoc --toc --standalone --self-contained --metadata "title=lib/runcmd" --output /workspace/src/inst/runcmd.html /workspace/src/inst/runcmd.md; fi /workspace/src/inst/subplot --resources /workspace/src/share libdocgen lib/files.yaml --output /workspace/src/inst/files.md [32m INFO[0m Starting Subplot [32m INFO[0m Subplot finished successfully if which pandoc>/dev/null; then pandoc --toc --standalone --self-contained --metadata "title=lib/files" --output /workspace/src/inst/files.html /workspace/src/inst/files.md; fi /workspace/src/inst/subplot --resources /workspace/src/share libdocgen python/lib/daemon.yaml --output /workspace/src/inst/daemon.md [32m INFO[0m Starting Subplot [32m INFO[0m Subplot finished successfully if which pandoc>/dev/null; then pandoc --toc --standalone --self-contained --metadata "title=lib/daemon" --output /workspace/src/inst/daemon.html /workspace/src/inst/daemon.md; fi /workspace/src/inst/subplot --resources /workspace/src/share docgen book/user-guide.subplot --output book/user-guide.html [32m INFO[0m Starting Subplot [32m INFO[0m Subplot finished successfully mkdir -p doc/libdocs for x in subplot.html tests/subplots/common/*.html examples/*/*.html book/*.html; do if [ -e "$x" ]; then mv "$x" doc; fi; done for x in /workspace/src/inst/*.html; do if [ -e "$x" ]; then mv "$x" doc/libdocs/; fi; done + git reset --hard HEAD is now at 8539754c Merge branch 'fix-295' into 'main' + git clean -fdx Removing doc/ Removing examples/muck/test.py Removing inst/ Removing share/python/template/__pycache__/ Removing test.log Removing test.py + git status --ignored HEAD detached at 8539754c nothing to commit, working tree clean ++ dpkg-parsechangelog -SVersion ++ sed 's/-[^-]*$//' + V=0.13.0 ++ date -u +%Y%m%dT%H%M%S + T=20250906T050757 + version=0.13.0.ci20250906T050757-1 + dch -v 0.13.0.ci20250906T050757-1 'CI build under Ambient.' + dch -r '' RUN: Action finished OK RUN: Action Deb [2025-09-06T05:07:58Z DEBUG ambient_ci::action] Plan::execute: Deb SPAWN: argv=["/bin/bash", "-c", "#!/bin/bash\nset -xeuo pipefail\n\necho \"PATH at start: $PATH\"\nexport PATH=\"/root/.cargo/bin:$PATH\"\nexport CARGO_HOME=/workspace/deps\nexport DEBEMAIL=liw@liw.fi\nexport DEBFULLNAME=\"Lars Wirzenius\"\n/bin/env\n\ncommand -v cargo\ncommand -v rustc\n\ncargo --version\nrustc --version\n\n# Get name and version of source package.\nname=\"$(dpkg-parsechangelog -SSource)\"\nversion=\"$(dpkg-parsechangelog -SVersion)\"\n\n# Get upstream version: everything before the last dash.\nuv=\"$(echo \"$version\" | sed 's/-[^-]*$//')\"\n\n# Files that will be created.\narch=\"$(dpkg --print-architecture)\"\norig=\"../${name}_${uv}.orig.tar.xz\"\ndeb=\"../${name}_${version}_${arch}.deb\"\nchanges=\"../${name}_${version}_${arch}.changes\"\n\n# Create \"upstream tarball\".\ngit archive HEAD | xz >\"$orig\"\n\n# Build package.\ndpkg-buildpackage -us -uc\n\n# Dump some information to make it easier to visually verify\n# everything looks OK. Also, test the package with the lintian tool.\n\nls -l ..\nfor x in ../*.deb; do dpkg -c \"$x\"; done\n# FIXME: disabled while this prevents radicle-native-ci deb from being built.\n# lintian -i --allow-root --fail-on warning ../*.changes\n\n# Move files to artifacts directory.\nmv ../*_* /workspace/artifacts\n "] cwd=/workspace/src (exists? true) extra_env=[("CARGO_TARGET_DIR", "/workspace/cache"), ("CARGO_HOME", "/workspace/deps"), ("PATH", "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin")] + echo 'PATH at start: /root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' PATH at start: /root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin + export PATH=/root/.cargo/bin:/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin + PATH=/root/.cargo/bin:/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin + export CARGO_HOME=/workspace/deps + CARGO_HOME=/workspace/deps + export DEBEMAIL=liw@liw.fi + DEBEMAIL=liw@liw.fi + export 'DEBFULLNAME=Lars Wirzenius' + DEBFULLNAME='Lars Wirzenius' + /bin/env DEBFULLNAME=Lars Wirzenius CARGO_TARGET_DIR=/workspace/cache PWD=/workspace/src SYSTEMD_EXEC_PID=296 LANG=C.UTF-8 CARGO_HOME=/workspace/deps DEBEMAIL=liw@liw.fi INVOCATION_ID=c839ef1087134882a7b35cabb0b3bd68 SHLVL=2 JOURNAL_STREAM=8:14449 PATH=/root/.cargo/bin:/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin OLDPWD=/ _=/bin/env + command -v cargo /root/.cargo/bin/cargo + command -v rustc /root/.cargo/bin/rustc + cargo --version cargo 1.88.0 (873a06493 2025-05-10) + rustc --version rustc 1.88.0 (6b00bc388 2025-06-23) ++ dpkg-parsechangelog -SSource + name=subplot ++ dpkg-parsechangelog -SVersion + version=0.13.0.ci20250906T050757-1 ++ echo 0.13.0.ci20250906T050757-1 ++ sed 's/-[^-]*$//' + uv=0.13.0.ci20250906T050757 ++ dpkg --print-architecture + arch=amd64 + orig=../subplot_0.13.0.ci20250906T050757.orig.tar.xz + deb=../subplot_0.13.0.ci20250906T050757-1_amd64.deb + changes=../subplot_0.13.0.ci20250906T050757-1_amd64.changes + git archive HEAD + xz + dpkg-buildpackage -us -uc [1mdpkg-buildpackage: [0m[32minfo[0m: source package subplot [1mdpkg-buildpackage: [0m[32minfo[0m: source version 0.13.0.ci20250906T050757-1 [1mdpkg-buildpackage: [0m[32minfo[0m: source distribution unstable [1mdpkg-buildpackage: [0m[32minfo[0m: source changed by Lars Wirzenius <liw@liw.fi> [1mdpkg-buildpackage: [0m[32minfo[0m: host architecture amd64 [1;35m dpkg-source --before-build . [0m[1;35m debian/rules clean [0mdh clean dh_auto_clean dh_clean [1;35m dpkg-source -b . [0m[1mdpkg-source: [0m[32minfo[0m: using source format '3.0 (quilt)' [1mdpkg-source: [0m[32minfo[0m: building subplot using existing ./subplot_0.13.0.ci20250906T050757.orig.tar.xz [1mdpkg-source: [0m[32minfo[0m: building subplot in subplot_0.13.0.ci20250906T050757-1.debian.tar.xz [1mdpkg-source: [0m[32minfo[0m: building subplot in subplot_0.13.0.ci20250906T050757-1.dsc [1;35m debian/rules build [0mdh build dh_update_autotools_config dh_autoreconf dh_auto_configure debian/rules override_dh_auto_build make[1]: Entering directory '/workspace/src' true make[1]: Leaving directory '/workspace/src' debian/rules override_dh_auto_test make[1]: Entering directory '/workspace/src' echo disabled disabled make[1]: Leaving directory '/workspace/src' create-stamp debian/debhelper-build-stamp [1;35m debian/rules binary [0mdh binary dh_testroot dh_prep debian/rules override_dh_auto_install make[1]: Entering directory '/workspace/src' cargo install --path=bin --root=debian/subplot --offline --locked Installing subplot-bin v0.13.0 (/workspace/src/bin) Compiling subplot v0.13.0 (/workspace/src) Compiling subplot-bin v0.13.0 (/workspace/src/bin) Finished `release` profile [optimized] target(s) in 17.09s Installing debian/subplot/bin/subplot Installed package `subplot-bin v0.13.0 (/workspace/src/bin)` (executable `subplot`) warning: be sure to add `debian/subplot/bin` to your PATH to be able to run the installed binaries rm -f debian/subplot/.crates.toml rm -f debian/subplot/.crates2.json dh_lintian make[1]: Leaving directory '/workspace/src' dh_install dh_installdocs dh_installchangelogs [1mdh_installchangelogs[0m: [1;33mwarning[0m: Could not parse timestamp '15 April 2022 15:00:00 +0100'. debian/changelog will not be trimmed. [1mdh_installchangelogs[0m: [1;33mwarning[0m: debian/changelog could not be trimmed. The full changelog will be installed. dh_lintian dh_perl dh_link dh_strip_nondeterminism dh_compress dh_fixperms dh_missing dh_strip dh_makeshlibs dh_shlibdeps dh_installdeb dh_gencontrol [1mdpkg-gencontrol: [0m[1;33mwarning[0m: Built-Using field of package subplot: substitution variable ${cargo:Built-Using} used, but is not defined [1mdpkg-gencontrol: [0m[1;33mwarning[0m: Built-Using field of package subplot: substitution variable ${cargo:Built-Using} used, but is not defined dh_md5sums dh_builddeb [1mdpkg-deb:[0m building package 'subplot' in '../subplot_0.13.0.ci20250906T050757-1_amd64.deb'. [1mdpkg-deb:[0m building package 'subplot-dbgsym' in '../subplot-dbgsym_0.13.0.ci20250906T050757-1_amd64.deb'. [1;35m dpkg-genbuildinfo -O../subplot_0.13.0.ci20250906T050757-1_amd64.buildinfo [0m[1;35m dpkg-genchanges -O../subplot_0.13.0.ci20250906T050757-1_amd64.changes [0m[1mdpkg-genchanges: [0m[32minfo[0m: including full source code in upload [1;35m dpkg-source --after-build . [0m[1mdpkg-buildpackage: [0m[32minfo[0m: full upload (original source is included) + ls -l .. total 2372 drwxr-xr-x 2 root root 4096 Sep 6 05:05 artifacts drwxr-xr-x 5 root root 4096 Aug 21 14:28 cache drwxr-xr-x 3 root root 4096 Sep 6 05:04 deps drwxr-xr-x 15 root root 4096 Sep 6 05:07 src -rw-r--r-- 1 root root 273960 Sep 6 05:08 subplot-dbgsym_0.13.0.ci20250906T050757-1_amd64.deb -rw-r--r-- 1 root root 2376 Sep 6 05:08 subplot_0.13.0.ci20250906T050757-1.debian.tar.xz -rw-r--r-- 1 root root 1018 Sep 6 05:08 subplot_0.13.0.ci20250906T050757-1.dsc -rw-r--r-- 1 root root 10151 Sep 6 05:08 subplot_0.13.0.ci20250906T050757-1_amd64.buildinfo -rw-r--r-- 1 root root 2388 Sep 6 05:08 subplot_0.13.0.ci20250906T050757-1_amd64.changes -rw-r--r-- 1 root root 1957992 Sep 6 05:08 subplot_0.13.0.ci20250906T050757-1_amd64.deb -rw-r--r-- 1 root root 149436 Sep 6 05:07 subplot_0.13.0.ci20250906T050757.orig.tar.xz + for x in ../*.deb + dpkg -c ../subplot-dbgsym_0.13.0.ci20250906T050757-1_amd64.deb drwxr-xr-x root/root 0 2025-09-06 05:07 ./ drwxr-xr-x root/root 0 2025-09-06 05:07 ./usr/ drwxr-xr-x root/root 0 2025-09-06 05:07 ./usr/lib/ drwxr-xr-x root/root 0 2025-09-06 05:07 ./usr/lib/debug/ drwxr-xr-x root/root 0 2025-09-06 05:07 ./usr/lib/debug/.build-id/ drwxr-xr-x root/root 0 2025-09-06 05:07 ./usr/lib/debug/.build-id/34/ -rw-r--r-- root/root 1801696 2025-09-06 05:07 ./usr/lib/debug/.build-id/34/1e3a73ed7ac40210716b84d5021dd6aa6e3ae8.debug drwxr-xr-x root/root 0 2025-09-06 05:07 ./usr/share/ drwxr-xr-x root/root 0 2025-09-06 05:07 ./usr/share/doc/ lrwxrwxrwx root/root 0 2025-09-06 05:07 ./usr/share/doc/subplot-dbgsym -> subplot + for x in ../*.deb + dpkg -c ../subplot_0.13.0.ci20250906T050757-1_amd64.deb drwxr-xr-x root/root 0 2025-09-06 05:07 ./ drwxr-xr-x root/root 0 2025-09-06 05:07 ./bin/ -rwxr-xr-x root/root 8134040 2025-09-06 05:07 ./bin/subplot drwxr-xr-x root/root 0 2025-09-06 05:07 ./usr/ drwxr-xr-x root/root 0 2025-09-06 05:07 ./usr/share/ drwxr-xr-x root/root 0 2025-09-06 05:07 ./usr/share/doc/ drwxr-xr-x root/root 0 2025-09-06 05:07 ./usr/share/doc/subplot/ -rw-r--r-- root/root 3623 2025-09-06 05:04 ./usr/share/doc/subplot/README.md -rw-r--r-- root/root 645 2025-09-06 05:07 ./usr/share/doc/subplot/changelog.Debian.gz -rw-r--r-- root/root 1394 2025-09-06 05:04 ./usr/share/doc/subplot/copyright drwxr-xr-x root/root 0 2025-09-06 05:07 ./usr/share/lintian/ drwxr-xr-x root/root 0 2025-09-06 05:07 ./usr/share/lintian/overrides/ -rw-r--r-- root/root 103 2025-09-06 05:04 ./usr/share/lintian/overrides/subplot drwxr-xr-x root/root 0 2025-09-06 05:07 ./usr/share/subplot/ drwxr-xr-x root/root 0 2025-09-06 05:04 ./usr/share/subplot/common/ drwxr-xr-x root/root 0 2025-09-06 05:04 ./usr/share/subplot/common/lib/ -rw-r--r-- root/root 10268 2025-09-06 05:04 ./usr/share/subplot/common/lib/files.yaml -rw-r--r-- root/root 8470 2025-09-06 05:04 ./usr/share/subplot/common/lib/runcmd.yaml drwxr-xr-x root/root 0 2025-09-06 05:04 ./usr/share/subplot/python/ drwxr-xr-x root/root 0 2025-09-06 05:04 ./usr/share/subplot/python/lib/ -rw-r--r-- root/root 10415 2025-09-06 05:04 ./usr/share/subplot/python/lib/daemon.py -rw-r--r-- root/root 4434 2025-09-06 05:04 ./usr/share/subplot/python/lib/daemon.yaml -rw-r--r-- root/root 8048 2025-09-06 05:04 ./usr/share/subplot/python/lib/files.py -rw-r--r-- root/root 8657 2025-09-06 05:04 ./usr/share/subplot/python/lib/runcmd.py drwxr-xr-x root/root 0 2025-09-06 05:07 ./usr/share/subplot/python/template/ -rw-r--r-- root/root 1275 2025-09-06 05:04 ./usr/share/subplot/python/template/asserts.py -rw-r--r-- root/root 2457 2025-09-06 05:04 ./usr/share/subplot/python/template/context.py -rw-r--r-- root/root 4611 2025-09-06 05:04 ./usr/share/subplot/python/template/context_tests.py -rw-r--r-- root/root 201 2025-09-06 05:04 ./usr/share/subplot/python/template/encoding.py -rw-r--r-- root/root 474 2025-09-06 05:04 ./usr/share/subplot/python/template/encoding_tests.py -rw-r--r-- root/root 412 2025-09-06 05:04 ./usr/share/subplot/python/template/files.py -rw-r--r-- root/root 4557 2025-09-06 05:04 ./usr/share/subplot/python/template/main.py -rw-r--r-- root/root 2785 2025-09-06 05:04 ./usr/share/subplot/python/template/scenarios.py -rw-r--r-- root/root 2565 2025-09-06 05:04 ./usr/share/subplot/python/template/template.py.tera -rw-r--r-- root/root 137 2025-09-06 05:04 ./usr/share/subplot/python/template/template.yaml drwxr-xr-x root/root 0 2025-09-06 05:04 ./usr/share/subplot/rust/ drwxr-xr-x root/root 0 2025-09-06 05:04 ./usr/share/subplot/rust/lib/ -rw-r--r-- root/root 788 2025-09-06 05:04 ./usr/share/subplot/rust/lib/datadir.yaml drwxr-xr-x root/root 0 2025-09-06 05:04 ./usr/share/subplot/rust/template/ -rw-r--r-- root/root 1449 2025-09-06 05:04 ./usr/share/subplot/rust/template/macros.rs.tera -rw-r--r-- root/root 1213 2025-09-06 05:04 ./usr/share/subplot/rust/template/template.rs.tera -rw-r--r-- root/root 71 2025-09-06 05:04 ./usr/share/subplot/rust/template/template.yaml -rw-r--r-- root/root 2103 2025-09-06 05:04 ./usr/share/subplot/subplot.css + mv ../subplot-dbgsym_0.13.0.ci20250906T050757-1_amd64.deb ../subplot_0.13.0.ci20250906T050757-1.debian.tar.xz ../subplot_0.13.0.ci20250906T050757-1.dsc ../subplot_0.13.0.ci20250906T050757-1_amd64.buildinfo ../subplot_0.13.0.ci20250906T050757-1_amd64.changes ../subplot_0.13.0.ci20250906T050757-1_amd64.deb ../subplot_0.13.0.ci20250906T050757.orig.tar.xz /workspace/artifacts RUN: Action finished OK RUN: Action TarCreate { archive: "/dev/vde", directory: "/workspace/cache", } [2025-09-06T05:08:25Z DEBUG ambient_ci::action] Plan::execute: TarCreate { archive: "/dev/vde", directory: "/workspace/cache", } [2025-09-06T05:08:25Z TRACE ambient_ci::vdrive] creating virtual drive (tar archive): VirtualDriveBuilder { filename: Some( "/dev/vde", ), root: Some( "/workspace/cache", ), size: None, } [2025-09-06T05:08:25Z TRACE ambient_ci::vdrive] tar archive to be created: /dev/vde; exists? true [2025-09-06T05:08:25Z TRACE ambient_ci::vdrive] create archive file /dev/vde [2025-09-06T05:08:25Z TRACE ambient_ci::vdrive] directory /workspace/cache exists? true [2025-09-06T05:08:25Z TRACE ambient_ci::vdrive] add contents of /workspace/cache as . [2025-09-06T05:09:06Z TRACE ambient_ci::vdrive] created virtual drive /dev/vde RUN: Action finished OK RUN: Action TarCreate { archive: "/dev/vdd", directory: "/workspace/artifacts", } [2025-09-06T05:09:06Z DEBUG ambient_ci::action] Plan::execute: TarCreate { archive: "/dev/vdd", directory: "/workspace/artifacts", } [2025-09-06T05:09:06Z TRACE ambient_ci::vdrive] creating virtual drive (tar archive): VirtualDriveBuilder { filename: Some( "/dev/vdd", ), root: Some( "/workspace/artifacts", ), size: None, } [2025-09-06T05:09:06Z TRACE ambient_ci::vdrive] tar archive to be created: /dev/vdd; exists? true [2025-09-06T05:09:06Z TRACE ambient_ci::vdrive] create archive file /dev/vdd [2025-09-06T05:09:06Z TRACE ambient_ci::vdrive] directory /workspace/artifacts exists? true [2025-09-06T05:09:06Z TRACE ambient_ci::vdrive] add contents of /workspace/artifacts as . [2025-09-06T05:09:06Z TRACE ambient_ci::vdrive] created virtual drive /dev/vdd RUN: Action finished OK ambient-execute-plan ends EXIT CODE: 0 [2025-09-06T05:09:19Z INFO ambient] ambient ends successfully
{ "request": "trigger", "version": 1, "event_type": "push", "repository": { "id": "rad:zjxyd2A1A7FnxtC69qDfoAajfTHo", "name": "subplot", "description": "Capture and communicate acceptance criteria and their verification", "private": false, "default_branch": "main", "delegates": [ "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV" ] }, "pusher": { "id": "did:key:z6MkkYez6QAFWvmdudjrfMXySu1NTpSrraJotCJFwGgkmgx8", "alias": "ci0" }, "before": "8539754c682ec6adaed454d236e778d2b15daf19", "after": "8539754c682ec6adaed454d236e778d2b15daf19", "branch": "main", "commits": [ "8539754c682ec6adaed454d236e778d2b15daf19", "10c5b7b25ee7d051c97e8462fac3524f85d1dfb1" ] }
[2025-09-06T05:04:42Z INFO ambient] ambient starts [2025-09-06T05:04:42Z DEBUG ambient] load default configuration file /home/_rad/.config/ambient/config.yaml if it exists [2025-09-06T05:04:42Z DEBUG ambient] load files named with --config: /tmp/.tmp9AeBnd/ambient_extra_values.yaml [2025-09-06T05:04:42Z DEBUG ambient] complete configuration: Config { tmpdir: "/srv/tmp", image_store: "/home/_rad/.local/state/ambient-ci/images", projects: "/home/_rad/ambient-projects.yaml", state: "/srv/ambient-state", rsync_target: Some( "ci@http.liw.fi:/srv/http/doc.subplot.tech", ), rsync_target_base: None, rsync_target_map: None, dput_target: Some( "apt.liw.fi", ), executor: Some( "/usr/bin/ambient-execute-plan", ), artifacts_max_size: Byte( 10000000000, ), cache_max_size: Byte( 50000000000, ), qemu: QemuConfig { cpus: 4, memory: Byte( 8000000000, ), kvm_binary: "/usr/bin/kvm", ovmf_vars_file: "/usr/share/ovmf/OVMF.fd", ovmf_code_file: "/usr/share/ovmf/OVMF.fd", }, } [2025-09-06T05:04:42Z DEBUG ambient] configuration: Config { tmpdir: "/srv/tmp", image_store: "/home/_rad/.local/state/ambient-ci/images", projects: "/home/_rad/ambient-projects.yaml", state: "/srv/ambient-state", rsync_target: Some( "ci@http.liw.fi:/srv/http/doc.subplot.tech", ), rsync_target_base: None, rsync_target_map: None, dput_target: Some( "apt.liw.fi", ), executor: Some( "/usr/bin/ambient-execute-plan", ), artifacts_max_size: Byte( 10000000000, ), cache_max_size: Byte( 50000000000, ), qemu: QemuConfig { cpus: 4, memory: Byte( 8000000000, ), kvm_binary: "/usr/bin/kvm", ovmf_vars_file: "/usr/share/ovmf/OVMF.fd", ovmf_code_file: "/usr/share/ovmf/OVMF.fd", }, } [2025-09-06T05:04:42Z DEBUG ambient_ci::project] load project state from /srv/ambient-state/subplot/meta.yaml [2025-09-06T05:04:42Z DEBUG ambient_ci::run] latest commit: "8539754c682ec6adaed454d236e778d2b15daf19" [2025-09-06T05:04:42Z DEBUG ambient_ci::run] is a git repository [2025-09-06T05:04:42Z DEBUG ambient_ci::run] git repository is clean [2025-09-06T05:04:42Z DEBUG ambient_ci::run] current (HEAD) commit: 8539754c682ec6adaed454d236e778d2b15daf19 [2025-09-06T05:04:42Z DEBUG ambient_ci::run] no dry run requested [2025-09-06T05:04:42Z DEBUG ambient_ci::run] forced run requested [2025-09-06T05:04:42Z DEBUG ambient_ci::run] run? true [2025-09-06T05:04:42Z INFO ambient_ci::run] project subplot: running CI [2025-09-06T05:04:42Z DEBUG ambient_ci::run] Executing pre-plan steps [2025-09-06T05:04:42Z DEBUG ambient_ci::action] Plan::execute: CargoFetch { sourcedir: "/tmp/.tmp5BU1VJ/src", dependenciesdir: "/srv/ambient-state/subplot/dependencies", } SPAWN: argv=["env", "CARGO_HOME=/srv/ambient-state/subplot/dependencies", "cargo", "fetch", "--locked"] cwd=/tmp/.tmp5BU1VJ/src (exists? true) extra_env=[] [2025-09-06T05:04:43Z DEBUG ambient_ci::run] create virtual drive /srv/tmp/.tmpNg2G9G/src.tar [2025-09-06T05:04:43Z DEBUG ambient_ci::run] create virtual drive /srv/tmp/.tmpNg2G9G/deps.tar [2025-09-06T05:04:48Z DEBUG ambient_ci::run] create_executor_vdrive: executor="/usr/bin/ambient-execute-plan" [2025-09-06T05:04:48Z 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\nmake OFFLINE=\"--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-06T05:04:48Z DEBUG ambient_ci::run] executor bin /usr/bin/ambient-execute-plan [2025-09-06T05:04:48Z DEBUG ambient_ci::run] copying /usr/bin/ambient-execute-plan to /srv/tmp/.tmpNg2G9G/ambient-execute-plan/run-ci [2025-09-06T05:04:48Z DEBUG ambient_ci::run] copy OK: true [2025-09-06T05:04:48Z DEBUG ambient_ci::run] create virtual drive /srv/tmp/.tmpNg2G9G/executor.tar [2025-09-06T05:05:11Z DEBUG ambient_ci::project] removing run log file /srv/ambient-state/subplot/run.log [2025-09-06T05:05:11Z DEBUG ambient_ci::project] statedir is /srv/ambient-state/subplot, exists? true [2025-09-06T05:05:11Z DEBUG ambient_ci::project] creating run log file /srv/ambient-state/subplot/run.log [2025-09-06T05:05:11Z DEBUG ambient_ci::project] created run log file /srv/ambient-state/subplot/run.log OK [2025-09-06T05:05:11Z DEBUG ambient_ci::cloud_init] with_hostname called: "ambient" [2025-09-06T05:05:11Z DEBUG ambient_ci::cloud_init] with_runcmd called: "echo xyzzy > /dev/ttyS1" [2025-09-06T05:05:11Z 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-06T05:05:11Z DEBUG ambient_ci::cloud_init] with_runcmd called: "poweroff" [2025-09-06T05:05:11Z 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-06T05:05:11Z DEBUG ambient_ci::qemu] run QEMU [2025-09-06T05:05:11Z DEBUG ambient_ci::qemu] create copy-on-write image and UEFI vars file [2025-09-06T05:05:11Z DEBUG ambient_ci::qemu_utils] qemu-img create /srv/tmp/.tmpKTz1Tr/.tmpS5rayZ/vm.qcow2 backing on /home/_rad/ambient.qcow2 [2025-09-06T05:05:11Z DEBUG ambient_ci::qemu] create cloud-init ISO file [2025-09-06T05:05:11Z 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-06T05:05:11Z DEBUG ambient_ci::cloud_init] write /tmp/.tmp9BjY7e/meta-data [2025-09-06T05:05:11Z DEBUG ambient_ci::cloud_init] write /tmp/.tmp9BjY7e/user-data [2025-09-06T05:05:11Z DEBUG ambient_ci::qemu] set console log file to /srv/tmp/.tmpKTz1Tr/.tmpS5rayZ/console.log [2025-09-06T05:05:11Z DEBUG ambient_ci::util] create file /srv/tmp/.tmpKTz1Tr/.tmpS5rayZ/console.log [2025-09-06T05:05:11Z DEBUG ambient_ci::qemu] set run file to /srv/ambient-state/subplot/run.log [2025-09-06T05:05:11Z DEBUG ambient_ci::util] create file /srv/ambient-state/subplot/run.log [2025-09-06T05:05:11Z DEBUG ambient_ci::qemu] run QEMU: QemuArgs { args: [ "-m", "7629", "-smp", "cpus=4", "-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:/srv/tmp/.tmpKTz1Tr/.tmpS5rayZ/console.log", "-serial", "file:/srv/ambient-state/subplot/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=/srv/tmp/.tmpKTz1Tr/.tmpS5rayZ/vars.fd", "-drive", "format=qcow2,if=virtio,file=/srv/tmp/.tmpKTz1Tr/.tmpS5rayZ/vm.qcow2", "-drive", "format=raw,if=virtio,file=/srv/tmp/.tmpNg2G9G/executor.tar,readonly=on", "-cdrom", "/srv/tmp/.tmpKTz1Tr/.tmpS5rayZ/cloud_init.iso", "-drive", "format=raw,if=virtio,file=/srv/tmp/.tmpNg2G9G/src.tar,readonly=on", "-drive", "format=raw,if=virtio,file=/srv/tmp/.tmpNg2G9G/artifacts.tar", "-drive", "format=raw,if=virtio,file=/srv/tmp/.tmpNg2G9G/cache.tar", "-drive", "format=raw,if=virtio,file=/srv/tmp/.tmpNg2G9G/deps.tar,readonly=on", "-nodefaults", "-no-user-config", ], } [2025-09-06T05:09:12Z DEBUG ambient_ci::qemu] QEMU finished OK [2025-09-06T05:09:12Z DEBUG ambient_ci::qemu] run log: --------------------========== [2025-09-06T05:05:19Z TRACE ambient_execute_plan] ambient-execute-plan starts [2025-09-06T05:05:19Z DEBUG ambient_execute_plan] ambient-execute-plan starts [2025-09-06T05:05:19Z INFO ambient_execute_plan] ambient-execute-plan starts [2025-09-06T05:05:19Z WARN ambient_execute_plan] ambient-execute-plan starts [2025-09-06T05:05:19Z 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" make OFFLINE="--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-06T05:05:19Z DEBUG ambient_ci::action] Plan::execute: Mkdir { pathname: "/workspace", } RUN: Action finished OK RUN: Action Mkdir { pathname: "/workspace/artifacts", } [2025-09-06T05:05:19Z 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-06T05:05:19Z DEBUG ambient_ci::action] Plan::execute: TarExtract { archive: "/dev/vdc", directory: "/workspace/src", } [2025-09-06T05:05:19Z TRACE ambient_ci::vdrive] extracting /dev/vdc to /workspace/src [2025-09-06T05:05:19Z TRACE ambient_ci::vdrive] extraction OK RUN: Action finished OK RUN: Action TarExtract { archive: "/dev/vdf", directory: "/workspace/deps", } [2025-09-06T05:05:19Z DEBUG ambient_ci::action] Plan::execute: TarExtract { archive: "/dev/vdf", directory: "/workspace/deps", } [2025-09-06T05:05:19Z TRACE ambient_ci::vdrive] extracting /dev/vdf to /workspace/deps [2025-09-06T05:05:22Z TRACE ambient_ci::vdrive] extraction OK RUN: Action finished OK RUN: Action TarExtract { archive: "/dev/vde", directory: "/workspace/cache", } [2025-09-06T05:05:22Z DEBUG ambient_ci::action] Plan::execute: TarExtract { archive: "/dev/vde", directory: "/workspace/cache", } [2025-09-06T05:05:22Z TRACE ambient_ci::vdrive] extracting /dev/vde to /workspace/cache [2025-09-06T05:06:35Z TRACE ambient_ci::vdrive] extraction OK RUN: Action finished OK RUN: Action Spawn { argv: [ "find", "/workspace", "-maxdepth", "2", "-ls", ], } [2025-09-06T05:06:35Z 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 6 05:05 /workspace 2622373 4 drwxr-xr-x 3 root root 4096 Sep 6 05:04 /workspace/deps 2622374 0 -rw-r--r-- 1 root root 0 Aug 21 14:26 /workspace/deps/.package-cache-mutate 2622377 4 drwxr-xr-x 5 root root 4096 Aug 21 14:26 /workspace/deps/registry 2622375 88 -rw-r--r-- 1 root root 90112 Sep 6 05:04 /workspace/deps/.global-cache 2622376 0 -rw-r--r-- 1 root root 0 Aug 21 14:26 /workspace/deps/.package-cache 2621443 4 drwxr-xr-x 15 root root 4096 Sep 6 05:04 /workspace/src 2621499 4 drwxr-xr-x 2 root root 4096 Sep 6 05:04 /workspace/src/book 2621513 4 -rw-r--r-- 1 root root 1568 Sep 6 05:04 /workspace/src/Cargo.toml 2622371 8 -rw-r--r-- 1 root root 5176 Sep 6 05:04 /workspace/src/CONTRIBUTING.md 2621483 24 -rw-r--r-- 1 root root 21606 Sep 6 05:04 /workspace/src/NEWS.md 2621510 8 -rw-r--r-- 1 root root 5617 Sep 6 05:04 /workspace/src/build.rs 2621584 4 drwxr-xr-x 8 root root 4096 Sep 6 05:04 /workspace/src/.git 2621447 4 -rw-r--r-- 1 root root 1366 Sep 6 05:04 /workspace/src/DCO-1-1.txt 2621475 4 -rwxr-xr-x 1 root root 489 Sep 6 05:04 /workspace/src/install-debian.sh 2621514 8 -rw-r--r-- 1 root root 6501 Sep 6 05:04 /workspace/src/DECISIONS.md 2621449 4 drwxr-xr-x 3 root root 4096 Sep 6 05:04 /workspace/src/.gitlab 2621476 4 -rw-r--r-- 1 root root 2648 Sep 6 05:04 /workspace/src/subplot.yaml 2621453 4 drwxr-xr-x 2 root root 4096 Sep 6 05:04 /workspace/src/src 2621498 4 -rw-r--r-- 1 root root 1286 Sep 6 05:04 /workspace/src/reference.md 2621503 4 -rw-r--r-- 1 root root 3623 Sep 6 05:04 /workspace/src/README.md 2621515 4 -rw-r--r-- 1 root root 284 Sep 6 05:04 /workspace/src/subplot.subplot 2621561 4 -rw-r--r-- 1 root root 689 Sep 6 05:04 /workspace/src/reference.py 2621445 4 drwxr-xr-x 2 root root 4096 Sep 6 05:04 /workspace/src/.radicle 2621484 4 drwxr-xr-x 3 root root 4096 Sep 6 05:04 /workspace/src/debian 2622370 4 -rw-r--r-- 1 root root 3387 Sep 6 05:04 /workspace/src/RELEASE.md 2621482 4 -rw-r--r-- 1 root root 10 Sep 6 05:04 /workspace/src/.envrc 2621481 4 -rw-r--r-- 1 root root 56 Sep 6 05:04 /workspace/src/flake8.ini 2622372 48 -rw-r--r-- 1 root root 48925 Sep 6 05:04 /workspace/src/Cargo.lock 2621512 4 -rw-r--r-- 1 root root 142 Sep 6 05:04 /workspace/src/.gitignore 2621583 4 -rw-r--r-- 1 root root 678 Sep 6 05:04 /workspace/src/.gitlab-ci.yml 2621549 4 drwxr-xr-x 3 root root 4096 Sep 6 05:04 /workspace/src/tests 2621516 4 drwxr-xr-x 5 root root 4096 Sep 6 05:04 /workspace/src/subplotlib 2621497 4 -rw-r--r-- 1 root root 196 Sep 6 05:04 /workspace/src/reference.yaml 2622369 4 -rw-r--r-- 1 root root 1385 Sep 6 05:04 /workspace/src/flake.lock 2621477 4 drwxr-xr-x 3 root root 4096 Sep 6 05:04 /workspace/src/subplot-build 2621511 4 -rw-r--r-- 1 root root 1334 Sep 6 05:04 /workspace/src/flake.nix 2621444 4 -rw-r--r-- 1 root root 3473 Sep 6 05:04 /workspace/src/subplot.py 2621564 4 drwxr-xr-x 5 root root 4096 Sep 6 05:04 /workspace/src/examples 2621563 4 -rw-r--r-- 1 root root 295 Sep 6 05:04 /workspace/src/deny.toml 2621504 4 drwxr-xr-x 3 root root 4096 Sep 6 05:04 /workspace/src/subplotlib-derive 2621448 4 -rw-r--r-- 1 root root 1325 Sep 6 05:04 /workspace/src/LICENSE.md 2621502 96 -rw-r--r-- 1 root root 96042 Sep 6 05:04 /workspace/src/subplot.md 2622338 8 -rw-r--r-- 1 root root 4300 Sep 6 05:04 /workspace/src/Makefile 2622339 4 drwxr-xr-x 5 root root 4096 Sep 6 05:04 /workspace/src/share 2622332 4 drwxr-xr-x 3 root root 4096 Sep 6 05:04 /workspace/src/bin 2621562 4 -rw-r--r-- 1 root root 273 Sep 6 05:04 /workspace/src/reference.subplot.disabled 2621442 4 drwxr-xr-x 2 root root 4096 Sep 6 05:05 /workspace/artifacts 2637808 4 drwxr-xr-x 5 root root 4096 Aug 21 14:28 /workspace/cache 2637810 4 drwxr-xr-x 7 root root 4096 Aug 31 11:55 /workspace/cache/debug 2637809 4 drwxr-xr-x 2 root root 4096 Aug 21 14:26 /workspace/cache/tmp 2647469 4 -rw-r--r-- 1 root root 1034 Aug 31 11:55 /workspace/cache/.rustc_info.json 2646032 4 drwxr-xr-x 7 root root 4096 Aug 31 11:56 /workspace/cache/release RUN: Action finished OK RUN: Action CargoFmt [2025-09-06T05:06:36Z 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-06T05:06:39Z 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 subplot v0.13.0 (/workspace/src) Compiling subplotlib v0.13.0 (/workspace/src/subplotlib) Checking subplot-build v0.13.0 (/workspace/src/subplot-build) Checking subplotlib-derive v0.13.0 (/workspace/src/subplotlib-derive) Checking subplot-bin v0.13.0 (/workspace/src/bin) Checking subplot-seq-example v0.1.0 (/workspace/src/examples/seq) Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.53s 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\nmake OFFLINE=\"--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-06T05:06:49Z 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\nmake OFFLINE=\"--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\nmake OFFLINE=\"--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 + make OFFLINE=--offline which cargo /root/.cargo/bin/cargo which dot /usr/bin/dot which plantuml /usr/bin/plantuml which python3 /usr/bin/python3 which rustc /root/.cargo/bin/rustc which rustfmt /root/.cargo/bin/rustfmt which tidy /usr/bin/tidy if which shellcheck; then shellcheck *.sh; fi /usr/bin/shellcheck if cargo clippy --version; then \ cargo clippy --locked --offline --workspace --all-targets -- -Dwarnings && \ cd examples/seq && cargo clippy --workspace --all-targets -- -Dwarnings; \ fi clippy 0.1.88 (6b00bc3880 2025-06-23) Compiling subplot v0.13.0 (/workspace/src) Compiling subplotlib v0.13.0 (/workspace/src/subplotlib) Checking subplotlib-derive v0.13.0 (/workspace/src/subplotlib-derive) Checking subplot-bin v0.13.0 (/workspace/src/bin) Checking subplot-build v0.13.0 (/workspace/src/subplot-build) Checking subplot-seq-example v0.1.0 (/workspace/src/examples/seq) Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.84s Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.15s rm -rf "/workspace/src/inst" cargo install --locked --offline --path=bin --root="/workspace/src/inst" --debug Installing subplot-bin v0.13.0 (/workspace/src/bin) Compiling subplot v0.13.0 (/workspace/src) Compiling subplot-bin v0.13.0 (/workspace/src/bin) Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.03s Installing /workspace/src/inst/bin/subplot Installed package `subplot-bin v0.13.0 (/workspace/src/bin)` (executable `subplot`) warning: be sure to add `/workspace/src/inst/bin` to your PATH to be able to run the installed binaries mv "/workspace/src/inst"/bin/* "/workspace/src/inst" rm -rf "/workspace/src/inst"/.crate* "/workspace/src/inst"/bin cd share/python/template && python3 context_tests.py ............................ ---------------------------------------------------------------------- Ran 28 tests in 0.009s OK cd share/python/template && python3 encoding_tests.py .. ---------------------------------------------------------------------- Ran 2 tests in 0.001s OK env SUBPLOT_DIR="/workspace/src/inst" cargo test --workspace -- Compiling subplot v0.13.0 (/workspace/src) Compiling subplotlib v0.13.0 (/workspace/src/subplotlib) Compiling subplot-build v0.13.0 (/workspace/src/subplot-build) Compiling subplot-bin v0.13.0 (/workspace/src/bin) Compiling subplotlib-derive v0.13.0 (/workspace/src/subplotlib-derive) Compiling subplot-seq-example v0.1.0 (/workspace/src/examples/seq) Finished `test` profile [unoptimized + debuginfo] target(s) in 13.67s Running unittests src/lib.rs (/workspace/cache/debug/deps/subplot-a93d32caed9cb015) running 108 tests test bindings::test_binding::creates_new ... ok test bindings::test_binding::does_not_match_with_wrong_text ... ok test bindings::test_binding::case_sensitive_mismatch ... ok test bindings::test_binding::does_not_match_with_wrong_kind ... 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::adds_binding ... ok test bindings::test_bindings::add_from_yaml_notices_multiple_keywords ... 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_binding::match_with_regex ... 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::typemap_must_match_pattern ... ok test bindings::test_bindings::two_matching_bindings ... ok test bindings::test_regex_from_simple_pattern::returns_boring_pattern_as_is ... ok test bindings::test_regex_from_simple_pattern::kindless_simple_pattern ... ok test bindings::test_regex_from_simple_pattern::returns_empty_string_as_is ... 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_text_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::simple_int_pattern ... 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 bindings::test_regex_from_simple_pattern::simple_uint_pattern ... 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 bindings::test_regex_from_simple_pattern::simple_number_pattern ... ok test blockattr::test::parse_one_kv ... 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.42s Running tests/bindings-ubm.rs (/workspace/cache/debug/deps/bindings_ubm-df057825ec7086da) running 1 test test bindings_microbenchmark ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.79s Running unittests src/subplot.rs (/workspace/cache/debug/deps/subplot-8ddd746a6462ef25) 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-bcfd1c0ec5fd9e09) 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-7062ab134606eee5) running 4 tests test not_a_number ... ok test more_than_one_number ... ok test no_arguments ... ok test one_number ... ok test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s Running unittests src/lib.rs (/workspace/cache/debug/deps/subplotlib-7bca702444bedd6d) 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-24c6fc136bd9af01) 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_modification_time ... ok test file_contents ... ok test file_metadata ... ok test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s Running tests/runcmd.rs (/workspace/cache/debug/deps/runcmd-3229ae48a5e83527) running 21 tests test check_stderr_is_not_exactly_something ... ok 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_using_sub_string_search ... ok test check_stderr_using_regular_expressions ... ok test check_stdout_doesn_t_contain_sub_string ... ok test check_stdout_doesn_t_match_regular_expression ... ok test check_stdout_is_not_exactly_something ... ok test check_stdout_using_regular_expressions ... ok test check_stdout_is_exactly_as_wanted ... ok test check_stdout_using_sub_string_search ... ok test check_we_can_prepend_to__path ... ok test failed_execution ... ok test execution_in_a_sub_directory_does_not_affect_home ... ok test failed_execution_in_a_sub_directory ... 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.09s Running tests/subplot-codegen.rs (/workspace/cache/debug/deps/subplot_codegen-8b89ef4cc0e94322) running 29 tests test capture_using_regular_expressions ... ok test capture_using_simple_patterns ... ok test all_the_keywords ... ok test cleanup_functions_get_called_on_failure__python_ ... ok test code_generator_gives_an_error_if_input_document_lacks_title ... ok test examples_are_not_files ... ok test embedded_file_name_didn_t_match ... ok test cleanup_functions_gets_called_on_success__python_ ... ok test files_not_in_current_working_directory ... ok test lowest_level_heading_is_name_of_scenario ... ok test missing_functions_file ... ok test empty_lines_in_scenarios ... ok test misuse_of_continuation_keywords ... ok test no_scenarios_means_codegen_fails ... ok test no_template_means_you_can_docgen_but_not_codegen ... ok test next_heading_at_same_level_starts_new_scenario ... ok test next_heading_at_higher_level_starts_new_scenario ... ok test recall_values_for_use_in_later_steps ... ok test running_only_chosen_scenarios_with_python ... ok test simple_patterns_with_regex_metacharacters__forbidden_case ... ok 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 simple_patterns_with_regex_metacharacters__allowed_case ... ok test smoke_test ... ok test subplot_accepts_title_and_headings_with_inline_markup ... ok test subheadings_don_t_start_new_scenario ... ok test set_environment_variables_in_generated_test_programs ... ok test temporary_files_in_scenarios_in_python ... ok test result: ok. 29 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.96s Running tests/subplot-diagrams.rs (/workspace/cache/debug/deps/subplot_diagrams-7c16a8ba5badeb6f) running 4 tests test pikchr ... ok test roadmap ... ok test dot ... ok test plantuml ... ok test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.39s Running tests/subplot-docgen.rs (/workspace/cache/debug/deps/subplot_docgen-9f98ddd861c03d31) running 30 tests test bindings_file_strictness___unknown_field ... ok test attempt_to_use_definition_list ... ok test bad__add_newline__value ... ok test bindings_file_strictness___given_when_then ... ok test class_name_validation ... ok test date_given_in_metadata ... ok test date_given_on_command_line ... ok test document_generator_gives_an_error_if_input_document_lacks_title ... ok test css_urls ... ok test examples_may_be_unused ... ok test extract_embedded_file ... ok test embedded_css ... ok test fail_if_embedded_file_isn_t_used ... ok test fail_if_two_filenames_only_differ_in_case ... ok test dot ... ok test missing_bindings_file ... ok test multiple_markdown_files ... ok test indented_scenario_steps_are_not_allowed ... ok test no_date_anywhere ... ok test no_template_means_you_can_docgen_but_not_codegen ... ok test named_code_blocks_must_have_an_appropriate_class ... ok test pikchr ... ok test roadmap ... ok test scenario_before_the_first_heading ... ok test files_not_in_current_working_directory ... ok test empty_lines_in_scenarios ... ok test title_markup ... ok test subplot_accepts_title_and_headings_with_inline_markup ... ok test smoke_test ... ok test plantuml ... ok test result: ok. 30 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.73s Running tests/subplot-extract.rs (/workspace/cache/debug/deps/subplot_extract-ea41b3d9a1a056a7) running 1 test test extract_embedded_files ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Running tests/subplot-metadata.rs (/workspace/cache/debug/deps/subplot_metadata-e2e63d414fb99302) running 5 tests test list_embedded_files ... ok test duplicate_scenario_titles ... ok test scenario_titles ... ok test extracting_metadata_from_a_document ... ok test files_not_in_current_working_directory ... ok test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s Running tests/subplot-others.rs (/workspace/cache/debug/deps/subplot_others-b3192b2a9bc0a7fc) running 68 tests test bad__add_newline__value ... ok test attempt_to_use_definition_list ... ok test bindings_file_strictness___given_when_then ... ok test bindings_file_strictness___unknown_field ... ok test class_name_validation ... ok test all_the_keywords ... ok test capture_using_simple_patterns ... ok test capture_using_regular_expressions ... ok test code_generator_gives_an_error_if_input_document_lacks_title ... ok test date_given_in_metadata ... ok test cleanup_functions_get_called_on_failure__python_ ... ok test date_given_on_command_line ... ok test document_generator_gives_an_error_if_input_document_lacks_title ... ok test css_urls ... ok test duplicate_scenario_titles ... ok test dot ... ok test embedded_css ... ok test embedded_file_name_didn_t_match ... ok test examples_are_not_files ... ok test examples_may_be_unused ... ok test extract_embedded_file__automatically_add_missing_newline ... ok test extract_embedded_file__by_default_add_missing_newline ... ok test extract_embedded_file__by_default_do_not_add_a_second_newline ... ok test extract_embedded_file__do_not_add_missing_newline ... ok test extract_embedded_file ... ok test extract_embedded_file__do_not_automatically_add_second_newline ... ok test extract_embedded_file__explicitly_add_missing_newline ... ok test extract_embedded_file__explicitly_add_second_newline ... ok test extract_embedded_files ... ok test fail_if_embedded_file_isn_t_used ... ok test fail_if_the_same_filename_is_used_twice ... ok test fail_if_two_filenames_only_differ_in_case ... ok test extracting_metadata_from_a_document ... ok test cleanup_functions_gets_called_on_success__python_ ... ok test list_embedded_files ... ok test indented_scenario_steps_are_not_allowed ... ok test missing_bindings_file ... ok test missing_functions_file ... ok test files_not_in_current_working_directory ... ok test multiple_markdown_files ... ok test misuse_of_continuation_keywords ... ok test empty_lines_in_scenarios ... ok test named_code_blocks_must_have_an_appropriate_class ... ok test no_date_anywhere ... ok test lowest_level_heading_is_name_of_scenario ... ok test no_scenarios_means_codegen_fails ... ok test no_template_means_you_can_docgen_but_not_codegen ... ok test pikchr ... ok test next_heading_at_higher_level_starts_new_scenario ... ok test next_heading_at_same_level_starts_new_scenario ... ok test roadmap ... ok test scenario_before_the_first_heading ... ok test recall_values_for_use_in_later_steps ... ok test scenario_titles ... ok test running_only_chosen_scenarios_with_python ... ok test simple_patterns_with_regex_metacharacters__forbidden_case ... ok test simple_patterns_with_regex_metacharacters__allowed_case ... ok 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 smoke_test ... ok test set_environment_variables_in_generated_test_programs ... ok test subheadings_don_t_start_new_scenario ... ok test title_markup ... ok test use_embedded_file ... ok test subplot_accepts_title_and_headings_with_inline_markup ... ok test temporary_files_in_scenarios_in_python ... ok test plantuml ... ok test result: ok. 68 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.04s Running tests/subplotlib.rs (/workspace/cache/debug/deps/subplotlib-b7d0c90b9dd029e6) running 3 tests test embedded_files ... ok test fundamentals ... ok test data_directory ... ok test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Running unittests src/lib.rs (/workspace/cache/debug/deps/subplotlib_derive-6bffe14e6d2e28d4) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests subplot running 6 tests test src/bindings.rs - bindings::BindingImpl::cleanup (line 163) ... ignored test src/bindings.rs - bindings::BindingImpl::function (line 151) ... ignored test src/bindings.rs - bindings::BindingImpl::new (line 137) ... ignored test src/diagrams.rs - diagrams::PikchrMarkup (line 116) ... ok test src/diagrams.rs - diagrams::DotMarkup (line 149) ... ok test src/diagrams.rs - diagrams::PlantumlMarkup (line 198) ... ok test result: ok. 3 passed; 0 failed; 3 ignored; 0 measured; 0 filtered out; finished in 4.58s Doc-tests subplot_build running 1 test test subplot-build/src/lib.rs - codegen (line 27) ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.35s Doc-tests subplotlib running 73 tests test subplotlib/src/file.rs - file::SubplotDataFile (line 20) ... ok test subplotlib/src/prelude.rs - prelude (line 6) ... ok test subplotlib/src/prelude.rs - prelude::step (line 100) ... ok test subplotlib/src/file.rs - file::SubplotDataFile::data (line 120) ... ok test subplotlib/src/file.rs - file::SubplotDataFile::new (line 76) ... ok test subplotlib/src/prelude.rs - prelude::step (line 73) ... ok test subplotlib/src/file.rs - file::SubplotDataFile::name (line 105) ... ok test subplotlib/src/prelude.rs - prelude::throws (line 39) ... ok test subplotlib/src/prelude.rs - prelude::throws (line 26) ... ok test subplotlib/src/steplibrary/datadir.rs - steplibrary::datadir::datadir_has_enough_space::call (line 160) ... ignored test subplotlib/src/steplibrary/datadir.rs - steplibrary::datadir::datadir_has_enough_space_megabytes::call (line 171) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::_create_from_embedded_with_other_name_executable::call (line 129) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::create_executable_from_embedded::call (line 93) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::create_executable_from_embedded_with_other_name::call (line 111) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::create_from_embedded::call (line 56) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::create_from_embedded_with_other_name::call (line 70) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::create_from_text::call (line 220) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::file_and_embedded_file_do_not_match::call (line 469) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::file_and_embedded_file_match::call (line 443) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::file_contains::call (line 341) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::file_do_not_match::call (line 417) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::file_does_not_exist::call (line 296) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::file_doesnt_contain::call (line 357) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::file_exists::call (line 276) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::file_match::call (line 390) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::file_matches_regex::call (line 374) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::has_different_metadata::call (line 544) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::has_remembered_metadata::call (line 505) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::make_directory::call (line 609) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::mtime_is_ancient::call (line 593) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::mtime_is_recent::call (line 577) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::only_these_exist::call (line 322) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::path_does_not_exist::call (line 659) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::path_exists::call (line 642) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::path_is_empty::call (line 678) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::path_is_not_empty::call (line 696) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::remember_metadata::call (line 231) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::remove_directory::call (line 619) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::remove_empty_directory::call (line 630) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::remove_file::call (line 181) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::touch::call (line 255) ... ignored test subplotlib/src/steplibrary/files.rs - steplibrary::files::touch_with_timestamp::call (line 193) ... ignored test subplotlib/src/steplibrary.rs - steplibrary (line 10) ... ok test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::exit_code_is::call (line 403) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::exit_code_is_nonzero::call (line 442) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::exit_code_is_not::call (line 419) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::exit_code_is_zero::call (line 431) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::helper_script::call (line 227) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::helper_srcdir_path::call (line 241) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::run::call (line 254) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::run_in::call (line 271) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::set_environment_variable::call (line 677) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::stderr_contains::call (line 594) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::stderr_doesnt_contain::call (line 607) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::stderr_doesnt_match_regex::call (line 663) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::stderr_is::call (line 542) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::stderr_isnt::call (line 555) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::stderr_matches_regex::call (line 649) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::stdin_from_file::call (line 480) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::stdin_is::call (line 502) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::stdout_contains::call (line 568) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::stdout_doesnt_contain::call (line 581) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::stdout_doesnt_match_regex::call (line 635) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::stdout_is::call (line 516) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::stdout_isnt::call (line 529) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::stdout_matches_regex::call (line 621) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::try_to_run::call (line 285) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::try_to_run_in::call (line 298) ... ignored test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::unset_environment_variable::call (line 691) ... ignored test subplotlib/src/scenario.rs - scenario::Scenario (line 305) ... ok test subplotlib/src/step.rs - step::ScenarioStep (line 24) ... ok test subplotlib/src/steplibrary/runcmd.rs - steplibrary::runcmd::Runcmd::join_paths (line 155) ... ok test subplotlib/src/utils.rs - utils::base64_decode (line 9) ... ok test result: ok. 14 passed; 0 failed; 59 ignored; 0 measured; 0 filtered out; finished in 2.90s Doc-tests subplotlib_derive running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s /workspace/src/inst/subplot --resources /workspace/src/share codegen subplot.subplot -o test.py --template python INFO Starting Subplot INFO Subplot finished successfully rm -f test.log python3 test.py --log test.log --env SUBPLOT_DIR=/workspace/src/inst srcdir /workspace/src datadir /tmp/tmpo_yovjih scenario: Extract embedded file, automatically add missing newline step 1: given file auto-without-newline.txt step 2: then auto-without-newline.txt ends in one newline scenario: Extract embedded file, explicitly add missing newline step 1: given file add-without-newline.txt step 2: then add-without-newline.txt ends in one newline scenario: Extract embedded file, explicitly add second newline step 1: given file add-has-newline.txt step 2: then add-has-newline.txt ends in two newlines scenario: Multiple markdown files step 1: given file multimd.subplot step 2: given file md1.md step 3: given file md2.md step 4: given an installed subplot step 5: when I run subplot docgen multimd.subplot -o multimd.html step 6: when I run cat multimd.html step 7: then file multimd.html exists step 8: then file multimd.html contains "<title>The Fabulous Title</title>" step 9: then file multimd.html contains "First markdown file." step 10: then file multimd.html contains "Second markdown file." cleanup 4: given an installed subplot scenario: Set environment variables in generated test programs step 1: given file env.subplot step 2: given file env.md step 3: given file env.yaml step 4: given file env.py step 5: given an installed subplot step 6: when I run subplot codegen env.subplot -o test.py step 7: when I try to run python3 test.py step 8: then command fails step 9: when I try to run python3 test.py --env FOO=foo step 10: then command fails step 11: when I try to run python3 test.py --env FOO=bar step 12: then command is successful cleanup 5: given an installed subplot scenario: Temporary files in scenarios in Python step 1: given file tmpdir.subplot step 2: given file tmpdir.md step 3: given file tmpdir.yaml step 4: given file tmpdir.py step 5: given an installed subplot step 6: when I run subplot codegen --run tmpdir.subplot -o test.py step 7: then command is successful step 8: then scenario "TMPDIR" was run step 9: then step "then TMPDIR is set" was run cleanup 5: given an installed subplot scenario: Next heading at same level starts new scenario step 1: given file samelevelisnewscenario.subplot step 2: given file samelevelisnewscenario.md step 3: given file b.yaml step 4: given file f.py step 5: given an installed subplot step 6: when I run subplot codegen --run samelevelisnewscenario.subplot -o test.py step 7: then scenario "heading 1.1.1" was run step 8: then scenario "heading 1.1.2" was run step 9: then command is successful cleanup 5: given an installed subplot scenario: PlantUML step 1: given file plantuml.subplot step 2: given file plantuml.md step 3: given file b.yaml step 4: given an installed subplot step 5: when I run subplot docgen plantuml.subplot -o plantuml.html step 6: then file plantuml.html matches regex /src="data:image/svg\\+xml;base64,/ cleanup 4: given an installed subplot scenario: Scenario before the first heading step 1: given an installed subplot step 2: given file scenario-before-heading.subplot step 3: given file scenario-before-heading.md step 4: when I try to run subplot docgen scenario-before-heading.subplot -o /dev/null step 5: then command fails step 6: then stderr contains "ERROR scenario-before-heading.md:1:1: first scenario is before first heading" cleanup 1: given an installed subplot scenario: Indented scenario steps are not allowed step 1: given file indented-step.subplot step 2: given file indented-step.md step 3: given file b.yaml step 4: given an installed subplot step 5: when I try to run subplot docgen indented-step.subplot -o foo.html step 6: then command fails step 7: then stderr contains "indented" cleanup 4: given an installed subplot scenario: Simple patterns with regex metacharacters: allowed case step 1: given file confusedbutok.subplot step 2: given file confusedbutok.md step 3: given file confusedbutok.yaml step 4: given file capture.py step 5: given an installed subplot step 6: when I run subplot codegen --run confusedbutok.subplot -o test.py step 7: then command is successful cleanup 5: given an installed subplot scenario: Fail if the same filename is used twice step 1: given file onefiletwice.md step 2: given an installed subplot step 3: when I try to run subplot docgen onefiletwice.md -o onefiletwice.html step 4: then command fails step 5: then file onefiletwice.html does not exist cleanup 2: given an installed subplot scenario: Next heading at higher level starts new scenario step 1: given file higherisnewscenario.subplot step 2: given file higherisnewscenario.md step 3: given file b.yaml step 4: given file f.py step 5: given an installed subplot step 6: when I run subplot codegen --run higherisnewscenario.subplot -o test.py step 7: then scenario "heading 1.1.1" was run step 8: then scenario "heading 1.2" was run step 9: then command is successful cleanup 5: given an installed subplot scenario: Extracting metadata from a document step 1: given file images.subplot step 2: given file images.md step 3: given file b.yaml step 4: given file other.yaml step 5: given file f.py step 6: given file other.py step 7: given file expected.json step 8: given an installed subplot step 9: when I run subplot metadata images.subplot step 10: then stdout contains "source: images.md" step 11: then stdout contains "source: b.yaml" step 12: then stdout contains "source: other.yaml" step 13: then stdout contains "source: f.py" step 14: then stdout contains "source: other.py" step 15: then stdout contains "source: image.gif" step 16: then stdout contains "bindings: b.yaml" step 17: then stdout contains "bindings: other.yaml" step 18: then stdout contains "functions[python]: f.py" step 19: when I run subplot metadata images.subplot -o json step 20: then JSON output matches expected.json cleanup 8: given an installed subplot scenario: Recall values for use in later steps step 1: given file values.subplot step 2: given file values.md step 3: given file values.yaml step 4: given file values.py step 5: given an installed subplot step 6: when I run subplot codegen values.subplot -o test.py step 7: when I run python3 test.py step 8: then command is successful cleanup 5: given an installed subplot scenario: Steps which do not match bindings do not work step 1: given file nobinding.subplot step 2: given file nobinding.md step 3: given file badbindings.yaml step 4: given an installed subplot step 5: when I try to run subplot codegen --run nobinding.subplot -o test.py step 6: then command fails cleanup 4: given an installed subplot scenario: Subheadings don't start new scenario step 1: given file subisnotnewscenario.subplot step 2: given file subisnotnewscenario.md step 3: given file b.yaml step 4: given file f.py step 5: given an installed subplot step 6: when I run subplot codegen --run subisnotnewscenario.subplot -o test.py step 7: then scenario "heading 1.1a" was run step 8: then command is successful cleanup 5: given an installed subplot scenario: Running only chosen scenarios with Python step 1: given file twoscenarios-python.subplot step 2: given file twoscenarios-python.md step 3: given file b.yaml step 4: given file f.py step 5: given an installed subplot step 6: when I run subplot codegen twoscenarios-python.subplot -o test.py step 7: when I run python3 test.py on step 8: then scenario "One" was run step 9: then scenario "Two" was not run step 10: then command is successful cleanup 5: given an installed subplot scenario: Bindings file strictness - given when then step 1: given file badbindingsgwt.subplot step 2: given file badbindingsgwt.md step 3: given file badbindingsgwt.yaml step 4: given an installed subplot step 5: when I try to run subplot docgen --output ignored.html badbindingsgwt.subplot step 6: then command fails step 7: then stderr contains "binding has more than one keyword" cleanup 4: given an installed subplot scenario: Cleanup functions gets called on success (Python) step 1: given file cleanup-success-python.subplot step 2: given file cleanup-success-python.md step 3: given file cleanup.yaml step 4: given file cleanup.py step 5: given an installed subplot step 6: when I run subplot codegen --run cleanup-success-python.subplot -o test.py step 7: then scenario "Cleanup" was run step 8: then step "given foo" was run, and then step "given bar" step 9: then cleanup for "given bar" was run, and then for "given foo" step 10: then command is successful cleanup 5: given an installed subplot scenario: Fail if embedded file isn't used step 1: given file unusedfile.subplot step 2: given file unusedfile.md step 3: given an installed subplot step 4: when I try to run subplot docgen --merciful unusedfile.subplot -o unusedfile.html step 5: then command is successful step 6: then file unusedfile.html exists step 7: then stderr contains "thisisnotused.txt" cleanup 3: given an installed subplot scenario: Capture using simple patterns step 1: given file simplepattern.subplot step 2: given file simplepattern.md step 3: given file simplepattern.yaml step 4: given file capture.py step 5: given an installed subplot step 6: when I run subplot codegen --run simplepattern.subplot -o test.py step 7: then scenario "Simple pattern" was run step 8: then step "given I am Tomjon" was run step 9: then stdout contains "function got argument name as Tomjon" step 10: then command is successful cleanup 5: given an installed subplot scenario: Lowest level heading is name of scenario step 1: given file scenarioislowest.subplot step 2: given file scenarioislowest.md step 3: given file b.yaml step 4: given file f.py step 5: given an installed subplot step 6: when I run subplot codegen --run scenarioislowest.subplot -o test.py step 7: then scenario "heading 1.1.1" was run step 8: then command is successful cleanup 5: given an installed subplot scenario: Attempt to use definition list step 1: given an installed subplot step 2: given file dl.subplot step 3: given file dl.md step 4: when I try to run subplot docgen dl.subplot -o /dev/null step 5: then command fails step 6: then stderr contains "ERROR dl.md:3:1: attempt to use definition lists in Markdown" cleanup 1: given an installed subplot scenario: Extract embedded file step 1: given file embedded.subplot step 2: given file embedded.md step 3: given an installed subplot step 4: when I run subplot docgen --merciful embedded.subplot -o foo.html step 5: then file foo.html exists step 6: then file foo.html matches regex /embedded\\.txt/ cleanup 3: given an installed subplot scenario: Extract embedded file, by default do not add a second newline step 1: given file default-has-newline.txt step 2: then default-has-newline.txt ends in one newline scenario: Misuse of continuation keywords step 1: given file continuationmisuse.subplot step 2: given file continuationmisuse.md step 3: given file b.yaml step 4: given file f.py step 5: given an installed subplot step 6: when I try to run subplot codegen --run continuationmisuse.subplot -o test.py step 7: then command fails cleanup 5: given an installed subplot scenario: Named code blocks must have an appropriate class step 1: given file named-code-blocks-appropriate.subplot step 2: given file named-code-blocks-appropriate.md step 3: given file b.yaml step 4: given an installed subplot step 5: when I try to run subplot docgen named-code-blocks-appropriate.subplot -o foo.html step 6: then command fails step 7: then stderr contains "#example-1 at named-code-blocks-appropriate.md:7:1" step 8: then stderr doesn't contain "example-2" step 9: then stderr doesn't contain "example-3" cleanup 4: given an installed subplot scenario: All the keywords step 1: given file allkeywords.subplot step 2: given file allkeywords.md step 3: given file b.yaml step 4: given file f.py step 5: given an installed subplot step 6: when I run subplot codegen --run allkeywords.subplot -o test.py step 7: then scenario "All keywords" was run step 8: then step "given precondition foo" was run step 9: then step "when I do bar" was run step 10: then step "then bar was done" was run step 11: then command is successful cleanup 5: given an installed subplot scenario: CSS URLs step 1: given file css-urls.subplot step 2: given file css-urls.md step 3: given file b.yaml step 4: given an installed subplot step 5: when I run subplot docgen css-urls.subplot -o foo.html step 6: then file foo.html contains "https://example.com/flushing.css" cleanup 4: given an installed subplot scenario: Document generator gives an error if input document lacks title step 1: given file notitle.subplot step 2: given file notitle.md step 3: given an installed subplot step 4: when I try to run subplot docgen notitle.subplot -o foo.md step 5: then command fails cleanup 3: given an installed subplot scenario: Examples are not files step 1: given file examplesnotfiles.subplot step 2: given file examplesnotfiles.md step 3: given an installed subplot step 4: when I try to run subplot codegen examplesnotfiles.subplot -t python -o examplesnotfiles.html step 5: then command fails step 6: then file examplesnotfiles.html does not exist step 7: then stderr contains "thisisanexample.txt" cleanup 3: given an installed subplot scenario: Subplot accepts title and headings with inline markup step 1: given file fancytitle.subplot step 2: given file fancytitle.md step 3: given file b.yaml step 4: given file f.py step 5: given an installed subplot step 6: when I try to run subplot docgen fancytitle.subplot -o foo.md step 7: then command is successful step 8: when I try to run subplot codegen fancytitle.subplot -o foo.md step 9: then command is successful cleanup 5: given an installed subplot scenario: Pikchr step 1: given file pikchr.subplot step 2: given file pikchr.md step 3: given an installed subplot step 4: when I run subplot docgen pikchr.subplot -o pikchr.html step 5: then file pikchr.html matches regex /src="data:image/svg\\+xml;base64,/ cleanup 3: given an installed subplot scenario: Extract embedded file, do not add missing newline step 1: given file no-adding-without-newline.txt step 2: then no-adding-without-newline.txt does not end in a newline scenario: Empty lines in scenarios step 1: given file emptylines.subplot step 2: given file emptylines.md step 3: given file b.yaml step 4: given file f.py step 5: given an installed subplot step 6: when I run subplot docgen emptylines.subplot -o emptylines.html step 7: then file emptylines.html exists step 8: when I run subplot codegen --run emptylines.subplot -o test.py step 9: then scenario "Simple" was run step 10: then step "given precondition foo" was run step 11: then step "when I do bar" was run step 12: then step "then bar was done" was run step 13: then command is successful cleanup 5: given an installed subplot scenario: Embedded CSS step 1: given file embedded-css.subplot step 2: given file embedded-css.md step 3: given file embedded-css.css step 4: given file b.yaml step 5: given an installed subplot step 6: when I run subplot docgen embedded-css.subplot -o foo.html step 7: then file foo.html contains "silly: property;" cleanup 5: given an installed subplot scenario: Scenario titles step 1: given file scenario-titles.subplot step 2: given file scenario-titles.md step 3: given file b.yaml step 4: given file f.py step 5: given an installed subplot step 6: when I run subplot metadata scenario-titles.subplot step 7: then stdout contains "My fun scenario title" cleanup 5: given an installed subplot scenario: Cleanup functions get called on failure (Python) step 1: given file cleanup-fail-python.subplot step 2: given file cleanup-fail-python.md step 3: given file cleanup.yaml step 4: given file cleanup.py step 5: given an installed subplot step 6: when I try to run subplot codegen --run cleanup-fail-python.subplot -o test.py step 7: then scenario "Cleanup" was run step 8: then step "given foo" was run, and then step "given bar" step 9: then cleanup for "given bar" was run, and then for "given foo" step 10: then cleanup for "given failure" was not run step 11: then command fails cleanup 5: given an installed subplot scenario: Dot step 1: given file dot.subplot step 2: given file dot.md step 3: given file b.yaml step 4: given an installed subplot step 5: when I run subplot docgen dot.subplot -o dot.html step 6: then file dot.html matches regex /src="data:image/svg\\+xml;base64,/ cleanup 4: given an installed subplot scenario: Extract embedded file, do not automatically add second newline step 1: given file auto-has-newline.txt step 2: then auto-has-newline.txt ends in one newline scenario: Smoke test step 1: given file simple.subplot step 2: given file simple.md step 3: given file b.yaml step 4: given file f.py step 5: given an installed subplot step 6: when I run subplot docgen simple.subplot -o simple.html step 7: then file simple.html exists step 8: when I run subplot codegen --run simple.subplot -o test.py step 9: then scenario "Simple" was run step 10: then step "given precondition foo" was run step 11: then step "when I do bar" was run step 12: then step "then bar was done" was run step 13: then command is successful cleanup 5: given an installed subplot scenario: Bindings file strictness - unknown field step 1: given file badbindingsuf.subplot step 2: given file badbindingsuf.md step 3: given file badbindingsuf.yaml step 4: given an installed subplot step 5: when I try to run subplot docgen --output ignored.html badbindingsuf.subplot step 6: then command fails step 7: then stderr contains "Unknown field `function`" cleanup 4: given an installed subplot scenario: No scenarios means codegen fails step 1: given file noscenarios.subplot step 2: given file noscenarios.md step 3: given an installed subplot step 4: when I try to run subplot codegen noscenarios.subplot -o test.py step 5: then command fails step 6: then stderr contains "no scenarios were found" cleanup 3: given an installed subplot scenario: Roadmap step 1: given file roadmap.subplot step 2: given file roadmap.md step 3: given file b.yaml step 4: given an installed subplot step 5: when I run subplot docgen roadmap.subplot -o roadmap.html step 6: then file roadmap.html matches regex /src="data:image/svg\\+xml;base64,/ cleanup 4: given an installed subplot scenario: No date anywhere step 1: given file dateless.subplot step 2: given file dateless.md step 3: given file dateless.md has modification time 2020-02-26 07:53:17 step 4: given an installed subplot step 5: when I run subplot docgen dateless.subplot -o mtime.html step 6: then file mtime.html exists step 7: then file mtime.html contains "<title>The Fabulous Title</title>" step 8: then file mtime.html contains "Alfred Pennyworth" step 9: then file mtime.html contains "Geoffrey Butler" step 10: then file mtime.html contains "2020-02-26 07:53" cleanup 4: given an installed subplot scenario: Date given on command line step 1: given file dateless.subplot step 2: given file dateless.md step 3: given an installed subplot step 4: when I run subplot docgen dateless.subplot -o dateoption.html --date=FANCYDATE step 5: then file dateoption.html exists step 6: then file dateoption.html contains "<title>The Fabulous Title</title>" step 7: then file dateoption.html contains "Alfred Pennyworth" step 8: then file dateoption.html contains "Geoffrey Butler" step 9: then file dateoption.html contains "FANCYDATE" cleanup 3: given an installed subplot scenario: No template means you can docgen but not codegen step 1: given file notemplate.subplot step 2: given file notemplate.md step 3: given an installed subplot step 4: when I run subplot docgen notemplate.subplot -o notemplate.html step 5: then file notemplate.html exists step 6: when I try to run subplot codegen notemplate.subplot -o test.py step 7: then command fails step 8: then stderr contains "document has no template" cleanup 3: given an installed subplot scenario: Fail if two filenames only differ in case step 1: given file casediff.md step 2: given an installed subplot step 3: when I try to run subplot docgen casediff.md -o casediff.html step 4: then command fails step 5: then file casediff.html does not exist cleanup 2: given an installed subplot scenario: Title markup step 1: given file title-markup.subplot step 2: given file title-markup.md step 3: given an installed subplot step 4: when I run subplot docgen title-markup.subplot -o foo.html step 5: then file foo.html exists cleanup 3: given an installed subplot scenario: Steps which do not case-sensitively match sensitive bindings do not work step 1: given file casemismatch.subplot step 2: given file casemismatch.md step 3: given file badbindings.yaml step 4: given an installed subplot step 5: when I try to run subplot codegen --run casemismatch.subplot -o test.py step 6: then command fails cleanup 4: given an installed subplot scenario: Embedded file name didn't match step 1: given file badfilename.subplot step 2: given file badfilename.md step 3: given file b.yaml step 4: given file f.py step 5: given an installed subplot step 6: when I try to run subplot codegen --run badfilename.md -o test.py step 7: then command fails cleanup 5: given an installed subplot scenario: Class name validation step 1: given file unknown-class-name.subplot step 2: given file unknown-class-name.md step 3: given file known-class-name.subplot step 4: given file known-class-name.md step 5: given file b.yaml step 6: given an installed subplot step 7: when I try to run subplot docgen unknown-class-name.subplot -o unknown-class-name.html step 8: then command fails step 9: then file unknown-class-name.html does not exist step 10: then stderr contains "Unknown classes found in the document: foobar" step 11: when I run subplot docgen known-class-name.subplot -o known-class-name.html step 12: then file known-class-name.html exists cleanup 6: given an installed subplot scenario: Duplicate scenario titles step 1: given file duplicate-scenario-titles.subplot step 2: given file duplicate-scenario-titles.md step 3: given file b.yaml step 4: given file f.py step 5: given an installed subplot step 6: when I try to run subplot metadata duplicate-scenario-titles.subplot step 7: then command fails step 8: then stderr contains "duplicate" cleanup 5: given an installed subplot scenario: Extract embedded files step 1: given file embedded-file.subplot step 2: given file embedded-file.md step 3: given file expected.txt step 4: given an installed subplot step 5: when I run subplot extract --merciful embedded-file.subplot foo.txt -d . step 6: then files foo.txt and expected.txt match cleanup 4: given an installed subplot scenario: Capture using regular expressions step 1: given file regex.subplot step 2: given file regex.md step 3: given file regex.yaml step 4: given file capture.py step 5: given an installed subplot step 6: when I run subplot codegen --run regex.subplot -o test.py step 7: then scenario "Regex" was run step 8: then step "given I am Tomjon" was run step 9: then stdout contains "function got argument name as Tomjon" step 10: then command is successful cleanup 5: given an installed subplot scenario: Extract embedded file, by default add missing newline step 1: given file default-without-newline.txt step 2: then default-without-newline.txt ends in one newline scenario: Use embedded file step 1: given file numbered-lines.txt step 2: given file not-numbered-lines.txt scenario: Missing functions file step 1: given file missing-functions.subplot step 2: given file missing-functions.md step 3: given file b.yaml step 4: given an installed subplot step 5: when I try to run subplot codegen --run missing-functions.subplot -o foo.py step 6: then command fails step 7: then stderr contains "could not be found" step 8: then stderr contains "missing-functions.py" cleanup 4: given an installed subplot scenario: Files not in current working directory step 1: given file x/simple.subplot from simple.subplot step 2: given file x/simple.md from simple.md step 3: given file x/b.yaml from b.yaml step 4: given file x/f.py from f.py step 5: given an installed subplot step 6: when I run subplot metadata x/simple.subplot step 7: then command is successful step 8: when I run subplot codegen x/simple.subplot -o test.py step 9: then file test.py exists step 10: when I run subplot docgen x/simple.subplot -o simple.html step 11: then file simple.html exists cleanup 5: given an installed subplot scenario: Code generator gives an error if input document lacks title step 1: given file notitle.subplot step 2: given file notitle.md step 3: given an installed subplot step 4: when I try to run subplot codegen --run notitle.subplot -o test.py step 5: then command fails cleanup 3: given an installed subplot scenario: Missing bindings file step 1: given file missing-binding.subplot step 2: given file missing-binding.md step 3: given an installed subplot step 4: when I try to run subplot docgen missing-binding.subplot -o foo.html step 5: then command fails step 6: then stderr contains "could not be found" step 7: then stderr contains "missing-binding.yaml" cleanup 3: given an installed subplot scenario: Date given in metadata step 1: given file metadate.subplot step 2: given file metadate.md step 3: given an installed subplot step 4: when I run subplot docgen metadate.subplot -o metadate.html step 5: when I run cat metadate.html step 6: then file metadate.html exists step 7: then file metadate.html contains "<title>The Fabulous Title</title>" step 8: then file metadate.html contains "Alfred Pennyworth" step 9: then file metadate.html contains "Geoffrey Butler" step 10: then file metadate.html contains "WIP" cleanup 3: given an installed subplot scenario: Steps which match more than one binding do not work step 1: given file twobindings.subplot step 2: given file twobindings.md step 3: given file twobindings.yaml step 4: given file a_function.py step 5: given an installed subplot step 6: when I try to run subplot codegen --run twobindings.subplot -o test.py step 7: then command fails step 8: then stderr contains "xyzzy" step 9: then stderr contains "plugh" cleanup 5: given an installed subplot scenario: List embedded files step 1: given file two-embedded.subplot step 2: given file two-embedded.md step 3: given an installed subplot step 4: when I run subplot metadata --merciful two-embedded.subplot step 5: then stdout contains "foo.txt" step 6: then stdout contains "bar.yaml" cleanup 3: given an installed subplot scenario: Bad "add-newline" value step 1: given an installed subplot step 2: given file add-newline.subplot step 3: given file add-newline.md step 4: when I try to run subplot docgen add-newline.subplot -o /dev/null step 5: then command fails step 6: then stderr contains "ERROR add-newline.md:1:1: value of add-newline attribute is not understood: xyzzy" cleanup 1: given an installed subplot scenario: Examples may be unused step 1: given file unusedexample.subplot step 2: given file unusedexample.md step 3: given an installed subplot step 4: when I try to run subplot docgen --merciful unusedexample.subplot -o unusedexample.html step 5: then command is successful step 6: then file unusedexample.html exists step 7: then stderr doesn't contain "thisisnotused.txt" cleanup 3: given an installed subplot scenario: Simple patterns with regex metacharacters: forbidden case step 1: given file confusedpattern.subplot step 2: given file confusedpattern.md step 3: given file confusedpattern.yaml step 4: given file capture.py step 5: given an installed subplot step 6: when I try to run subplot codegen --run confusedpattern.subplot -o test.py step 7: then command fails step 8: then stderr contains "simple pattern contains regex" cleanup 5: given an installed subplot OK, all scenarios finished successfully cd examples/muck && /workspace/src/inst/subplot --resources /workspace/src/share codegen muck.subplot --run --output test.py INFO Starting Subplot srcdir /workspace/src/examples/muck datadir /tmp/tmpwfkmin_w scenario: Deleting someone else's data step 1: given a fresh Muck server step 2: given I am Tomjon step 3: when I do POST /res with {"foo": "bar"} step 4: then header Muck-Id is ID step 5: then header Muck-Revision is REV1 step 6: given I am Verence step 7: when I do DELETE /res with Muck-Id: {ID} step 8: then response code is 404 scenario: Accessing someone else's data step 1: given a fresh Muck server step 2: given I am Tomjon step 3: when I do POST /res with {"foo": "bar"} step 4: then header Muck-Id is ID step 5: then header Muck-Revision is REV1 step 6: when I do GET /res with Muck-Id: {ID} step 7: then response code is 200 step 8: then header Muck-Revision matches {REV1} step 9: then body matches {"foo": "bar"} step 10: given I am Verence step 11: when I do GET /res with Muck-Id: {ID} step 12: then response code is 404 scenario: Updating someone else's data step 1: given a fresh Muck server step 2: given I am Tomjon step 3: when I do POST /res with {"foo": "bar"} step 4: then header Muck-Id is ID step 5: then header Muck-Revision is REV1 step 6: given I am Verence step 7: when I do PUT /res with Muck-Id: {ID}, Muck-Revision: {REV1}, and body {"foo":"yo"} step 8: then response code is 404 scenario: Basic object handling step 1: given a fresh Muck server step 2: given I am Tomjon step 3: when I do POST /res with {"foo": "bar"} step 4: then response code is 201 step 5: then header Muck-Id is ID step 6: then header Muck-Revision is REV1 step 7: when I do GET /res with Muck-Id: {ID} step 8: then response code is 200 step 9: then header Muck-Revision matches {REV1} step 10: then body matches {"foo": "bar"} step 11: when I do PUT /res with Muck-Id: {ID}, Muck-Revision: {REV1}, and body {"foo":"yo"} step 12: then response code is 200 step 13: then header Muck-Revision is {REV2} step 14: then revisions {REV1} and {REV2} are different step 15: when I do PUT /res with Muck-Id: {ID}, Muck-Revision: {REV1}, and body {"foo":"yo"} step 16: then response code is 409 step 17: when I do GET /res with Muck-Id: {ID} step 18: then response code is 200 step 19: then header Muck-Revision matches {REV2} step 20: then body matches {"foo": "yo"} step 21: when I do DELETE /res with Muck-Id: {ID} step 22: then response code is 200 step 23: when I do GET /res with Muck-Id: {ID} step 24: then response code is 404 scenario: Restarting Muck step 1: given a fresh Muck server step 2: given I am Tomjon, with super capability step 3: when I do POST /res with {"foo": "bar"} step 4: then header Muck-Id is ID step 5: then header Muck-Revision is REV1 step 6: when I restart Muck step 7: when I do GET /res with Muck-Id: {ID} step 8: then response code is 200 step 9: then header Muck-Revision matches {REV1} step 10: then body matches {"foo": "bar"} OK, all scenarios finished successfully INFO Subplot finished successfully if [ "--offline" = "" ] ; then \ cd examples/website && \ /workspace/src/inst/subplot --resources /workspace/src/share codegen website.subplot --run --output test.py; \ fi cd examples/seq && cargo test -- Compiling subplot v0.13.0 (/workspace/src) Compiling subplotlib-derive v0.13.0 (/workspace/src/subplotlib-derive) Compiling subplotlib v0.13.0 (/workspace/src/subplotlib) Compiling subplot-seq-example v0.1.0 (/workspace/src/examples/seq) Finished `test` profile [unoptimized + debuginfo] target(s) in 5.53s Running tests/seq.rs (/workspace/cache/debug/deps/seq-a75a0c0a0169d695) running 4 tests test more_than_one_number ... ok test not_a_number ... ok test no_arguments ... ok test one_number ... ok test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s /workspace/src/inst/subplot --resources /workspace/src/share docgen subplot.subplot -o subplot.html INFO Starting Subplot INFO Subplot finished successfully /workspace/src/inst/subplot --resources /workspace/src/share docgen tests/subplots/common/files.subplot -o tests/subplots/common/files.html INFO Starting Subplot INFO Subplot finished successfully /workspace/src/inst/subplot --resources /workspace/src/share docgen tests/subplots/common/runcmd.subplot -o tests/subplots/common/runcmd.html INFO Starting Subplot INFO Subplot finished successfully cd examples/muck && /workspace/src/inst/subplot --resources /workspace/src/share/subplot docgen muck.subplot -o muck.html INFO Starting Subplot INFO Subplot finished successfully cd examples/website && /workspace/src/inst/subplot --resources /workspace/src/share docgen website.subplot -o website.html INFO Starting Subplot INFO Subplot finished successfully cd examples/seq && /workspace/src/inst/subplot --resources /workspace/src/share docgen seq.subplot -o seq.html INFO Starting Subplot INFO Subplot finished successfully /workspace/src/inst/subplot --resources /workspace/src/share libdocgen lib/runcmd.yaml --output /workspace/src/inst/runcmd.md INFO Starting Subplot INFO Subplot finished successfully if which pandoc>/dev/null; then pandoc --toc --standalone --self-contained --metadata "title=lib/runcmd" --output /workspace/src/inst/runcmd.html /workspace/src/inst/runcmd.md; fi /workspace/src/inst/subplot --resources /workspace/src/share libdocgen lib/files.yaml --output /workspace/src/inst/files.md INFO Starting Subplot INFO Subplot finished successfully if which pandoc>/dev/null; then pandoc --toc --standalone --self-contained --metadata "title=lib/files" --output /workspace/src/inst/files.html /workspace/src/inst/files.md; fi /workspace/src/inst/subplot --resources /workspace/src/share libdocgen python/lib/daemon.yaml --output /workspace/src/inst/daemon.md INFO Starting Subplot INFO Subplot finished successfully if which pandoc>/dev/null; then pandoc --toc --standalone --self-contained --metadata "title=lib/daemon" --output /workspace/src/inst/daemon.html /workspace/src/inst/daemon.md; fi /workspace/src/inst/subplot --resources /workspace/src/share docgen book/user-guide.subplot --output book/user-guide.html INFO Starting Subplot INFO Subplot finished successfully mkdir -p doc/libdocs for x in subplot.html tests/subplots/common/*.html examples/*/*.html book/*.html; do if [ -e "$x" ]; then mv "$x" doc; fi; done for x in /workspace/src/inst/*.html; do if [ -e "$x" ]; then mv "$x" doc/libdocs/; fi; done + git reset --hard HEAD is now at 8539754c Merge branch 'fix-295' into 'main' + git clean -fdx Removing doc/ Removing examples/muck/test.py Removing inst/ Removing share/python/template/__pycache__/ Removing test.log Removing test.py + git status --ignored HEAD detached at 8539754c nothing to commit, working tree clean ++ dpkg-parsechangelog -SVersion ++ sed 's/-[^-]*$//' + V=0.13.0 ++ date -u +%Y%m%dT%H%M%S + T=20250906T050757 + version=0.13.0.ci20250906T050757-1 + dch -v 0.13.0.ci20250906T050757-1 'CI build under Ambient.' + dch -r '' RUN: Action finished OK RUN: Action Deb [2025-09-06T05:07:58Z DEBUG ambient_ci::action] Plan::execute: Deb SPAWN: argv=["/bin/bash", "-c", "#!/bin/bash\nset -xeuo pipefail\n\necho \"PATH at start: $PATH\"\nexport PATH=\"/root/.cargo/bin:$PATH\"\nexport CARGO_HOME=/workspace/deps\nexport DEBEMAIL=liw@liw.fi\nexport DEBFULLNAME=\"Lars Wirzenius\"\n/bin/env\n\ncommand -v cargo\ncommand -v rustc\n\ncargo --version\nrustc --version\n\n# Get name and version of source package.\nname=\"$(dpkg-parsechangelog -SSource)\"\nversion=\"$(dpkg-parsechangelog -SVersion)\"\n\n# Get upstream version: everything before the last dash.\nuv=\"$(echo \"$version\" | sed 's/-[^-]*$//')\"\n\n# Files that will be created.\narch=\"$(dpkg --print-architecture)\"\norig=\"../${name}_${uv}.orig.tar.xz\"\ndeb=\"../${name}_${version}_${arch}.deb\"\nchanges=\"../${name}_${version}_${arch}.changes\"\n\n# Create \"upstream tarball\".\ngit archive HEAD | xz >\"$orig\"\n\n# Build package.\ndpkg-buildpackage -us -uc\n\n# Dump some information to make it easier to visually verify\n# everything looks OK. Also, test the package with the lintian tool.\n\nls -l ..\nfor x in ../*.deb; do dpkg -c \"$x\"; done\n# FIXME: disabled while this prevents radicle-native-ci deb from being built.\n# lintian -i --allow-root --fail-on warning ../*.changes\n\n# Move files to artifacts directory.\nmv ../*_* /workspace/artifacts\n "] cwd=/workspace/src (exists? true) extra_env=[("CARGO_TARGET_DIR", "/workspace/cache"), ("CARGO_HOME", "/workspace/deps"), ("PATH", "/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin")] + echo 'PATH at start: /root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' PATH at start: /root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin + export PATH=/root/.cargo/bin:/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin + PATH=/root/.cargo/bin:/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin + export CARGO_HOME=/workspace/deps + CARGO_HOME=/workspace/deps + export DEBEMAIL=liw@liw.fi + DEBEMAIL=liw@liw.fi + export 'DEBFULLNAME=Lars Wirzenius' + DEBFULLNAME='Lars Wirzenius' + /bin/env DEBFULLNAME=Lars Wirzenius CARGO_TARGET_DIR=/workspace/cache PWD=/workspace/src SYSTEMD_EXEC_PID=296 LANG=C.UTF-8 CARGO_HOME=/workspace/deps DEBEMAIL=liw@liw.fi INVOCATION_ID=c839ef1087134882a7b35cabb0b3bd68 SHLVL=2 JOURNAL_STREAM=8:14449 PATH=/root/.cargo/bin:/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin OLDPWD=/ _=/bin/env + command -v cargo /root/.cargo/bin/cargo + command -v rustc /root/.cargo/bin/rustc + cargo --version cargo 1.88.0 (873a06493 2025-05-10) + rustc --version rustc 1.88.0 (6b00bc388 2025-06-23) ++ dpkg-parsechangelog -SSource + name=subplot ++ dpkg-parsechangelog -SVersion + version=0.13.0.ci20250906T050757-1 ++ echo 0.13.0.ci20250906T050757-1 ++ sed 's/-[^-]*$//' + uv=0.13.0.ci20250906T050757 ++ dpkg --print-architecture + arch=amd64 + orig=../subplot_0.13.0.ci20250906T050757.orig.tar.xz + deb=../subplot_0.13.0.ci20250906T050757-1_amd64.deb + changes=../subplot_0.13.0.ci20250906T050757-1_amd64.changes + git archive HEAD + xz + dpkg-buildpackage -us -uc dpkg-buildpackage: info: source package subplot dpkg-buildpackage: info: source version 0.13.0.ci20250906T050757-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Lars Wirzenius <liw@liw.fi> dpkg-buildpackage: info: host architecture amd64 dpkg-source --before-build . debian/rules clean dh clean dh_auto_clean dh_clean dpkg-source -b . dpkg-source: info: using source format '3.0 (quilt)' dpkg-source: info: building subplot using existing ./subplot_0.13.0.ci20250906T050757.orig.tar.xz dpkg-source: info: building subplot in subplot_0.13.0.ci20250906T050757-1.debian.tar.xz dpkg-source: info: building subplot in subplot_0.13.0.ci20250906T050757-1.dsc debian/rules build dh build dh_update_autotools_config dh_autoreconf dh_auto_configure debian/rules override_dh_auto_build make[1]: Entering directory '/workspace/src' true make[1]: Leaving directory '/workspace/src' debian/rules override_dh_auto_test make[1]: Entering directory '/workspace/src' echo disabled disabled make[1]: Leaving directory '/workspace/src' create-stamp debian/debhelper-build-stamp debian/rules binary dh binary dh_testroot dh_prep debian/rules override_dh_auto_install make[1]: Entering directory '/workspace/src' cargo install --path=bin --root=debian/subplot --offline --locked Installing subplot-bin v0.13.0 (/workspace/src/bin) Compiling subplot v0.13.0 (/workspace/src) Compiling subplot-bin v0.13.0 (/workspace/src/bin) Finished `release` profile [optimized] target(s) in 17.09s Installing debian/subplot/bin/subplot Installed package `subplot-bin v0.13.0 (/workspace/src/bin)` (executable `subplot`) warning: be sure to add `debian/subplot/bin` to your PATH to be able to run the installed binaries rm -f debian/subplot/.crates.toml rm -f debian/subplot/.crates2.json dh_lintian make[1]: Leaving directory '/workspace/src' dh_install dh_installdocs dh_installchangelogs dh_installchangelogs: warning: Could not parse timestamp '15 April 2022 15:00:00 +0100'. debian/changelog will not be trimmed. dh_installchangelogs: warning: debian/changelog could not be trimmed. The full changelog will be installed. dh_lintian dh_perl dh_link dh_strip_nondeterminism dh_compress dh_fixperms dh_missing dh_strip dh_makeshlibs dh_shlibdeps dh_installdeb dh_gencontrol dpkg-gencontrol: warning: Built-Using field of package subplot: substitution variable ${cargo:Built-Using} used, but is not defined dpkg-gencontrol: warning: Built-Using field of package subplot: substitution variable ${cargo:Built-Using} used, but is not defined dh_md5sums dh_builddeb dpkg-deb: building package 'subplot' in '../subplot_0.13.0.ci20250906T050757-1_amd64.deb'. dpkg-deb: building package 'subplot-dbgsym' in '../subplot-dbgsym_0.13.0.ci20250906T050757-1_amd64.deb'. dpkg-genbuildinfo -O../subplot_0.13.0.ci20250906T050757-1_amd64.buildinfo dpkg-genchanges -O../subplot_0.13.0.ci20250906T050757-1_amd64.changes dpkg-genchanges: info: including full source code in upload dpkg-source --after-build . dpkg-buildpackage: info: full upload (original source is included) + ls -l .. total 2372 drwxr-xr-x 2 root root 4096 Sep 6 05:05 artifacts drwxr-xr-x 5 root root 4096 Aug 21 14:28 cache drwxr-xr-x 3 root root 4096 Sep 6 05:04 deps drwxr-xr-x 15 root root 4096 Sep 6 05:07 src -rw-r--r-- 1 root root 273960 Sep 6 05:08 subplot-dbgsym_0.13.0.ci20250906T050757-1_amd64.deb -rw-r--r-- 1 root root 2376 Sep 6 05:08 subplot_0.13.0.ci20250906T050757-1.debian.tar.xz -rw-r--r-- 1 root root 1018 Sep 6 05:08 subplot_0.13.0.ci20250906T050757-1.dsc -rw-r--r-- 1 root root 10151 Sep 6 05:08 subplot_0.13.0.ci20250906T050757-1_amd64.buildinfo -rw-r--r-- 1 root root 2388 Sep 6 05:08 subplot_0.13.0.ci20250906T050757-1_amd64.changes -rw-r--r-- 1 root root 1957992 Sep 6 05:08 subplot_0.13.0.ci20250906T050757-1_amd64.deb -rw-r--r-- 1 root root 149436 Sep 6 05:07 subplot_0.13.0.ci20250906T050757.orig.tar.xz + for x in ../*.deb + dpkg -c ../subplot-dbgsym_0.13.0.ci20250906T050757-1_amd64.deb drwxr-xr-x root/root 0 2025-09-06 05:07 ./ drwxr-xr-x root/root 0 2025-09-06 05:07 ./usr/ drwxr-xr-x root/root 0 2025-09-06 05:07 ./usr/lib/ drwxr-xr-x root/root 0 2025-09-06 05:07 ./usr/lib/debug/ drwxr-xr-x root/root 0 2025-09-06 05:07 ./usr/lib/debug/.build-id/ drwxr-xr-x root/root 0 2025-09-06 05:07 ./usr/lib/debug/.build-id/34/ -rw-r--r-- root/root 1801696 2025-09-06 05:07 ./usr/lib/debug/.build-id/34/1e3a73ed7ac40210716b84d5021dd6aa6e3ae8.debug drwxr-xr-x root/root 0 2025-09-06 05:07 ./usr/share/ drwxr-xr-x root/root 0 2025-09-06 05:07 ./usr/share/doc/ lrwxrwxrwx root/root 0 2025-09-06 05:07 ./usr/share/doc/subplot-dbgsym -> subplot + for x in ../*.deb + dpkg -c ../subplot_0.13.0.ci20250906T050757-1_amd64.deb drwxr-xr-x root/root 0 2025-09-06 05:07 ./ drwxr-xr-x root/root 0 2025-09-06 05:07 ./bin/ -rwxr-xr-x root/root 8134040 2025-09-06 05:07 ./bin/subplot drwxr-xr-x root/root 0 2025-09-06 05:07 ./usr/ drwxr-xr-x root/root 0 2025-09-06 05:07 ./usr/share/ drwxr-xr-x root/root 0 2025-09-06 05:07 ./usr/share/doc/ drwxr-xr-x root/root 0 2025-09-06 05:07 ./usr/share/doc/subplot/ -rw-r--r-- root/root 3623 2025-09-06 05:04 ./usr/share/doc/subplot/README.md -rw-r--r-- root/root 645 2025-09-06 05:07 ./usr/share/doc/subplot/changelog.Debian.gz -rw-r--r-- root/root 1394 2025-09-06 05:04 ./usr/share/doc/subplot/copyright drwxr-xr-x root/root 0 2025-09-06 05:07 ./usr/share/lintian/ drwxr-xr-x root/root 0 2025-09-06 05:07 ./usr/share/lintian/overrides/ -rw-r--r-- root/root 103 2025-09-06 05:04 ./usr/share/lintian/overrides/subplot drwxr-xr-x root/root 0 2025-09-06 05:07 ./usr/share/subplot/ drwxr-xr-x root/root 0 2025-09-06 05:04 ./usr/share/subplot/common/ drwxr-xr-x root/root 0 2025-09-06 05:04 ./usr/share/subplot/common/lib/ -rw-r--r-- root/root 10268 2025-09-06 05:04 ./usr/share/subplot/common/lib/files.yaml -rw-r--r-- root/root 8470 2025-09-06 05:04 ./usr/share/subplot/common/lib/runcmd.yaml drwxr-xr-x root/root 0 2025-09-06 05:04 ./usr/share/subplot/python/ drwxr-xr-x root/root 0 2025-09-06 05:04 ./usr/share/subplot/python/lib/ -rw-r--r-- root/root 10415 2025-09-06 05:04 ./usr/share/subplot/python/lib/daemon.py -rw-r--r-- root/root 4434 2025-09-06 05:04 ./usr/share/subplot/python/lib/daemon.yaml -rw-r--r-- root/root 8048 2025-09-06 05:04 ./usr/share/subplot/python/lib/files.py -rw-r--r-- root/root 8657 2025-09-06 05:04 ./usr/share/subplot/python/lib/runcmd.py drwxr-xr-x root/root 0 2025-09-06 05:07 ./usr/share/subplot/python/template/ -rw-r--r-- root/root 1275 2025-09-06 05:04 ./usr/share/subplot/python/template/asserts.py -rw-r--r-- root/root 2457 2025-09-06 05:04 ./usr/share/subplot/python/template/context.py -rw-r--r-- root/root 4611 2025-09-06 05:04 ./usr/share/subplot/python/template/context_tests.py -rw-r--r-- root/root 201 2025-09-06 05:04 ./usr/share/subplot/python/template/encoding.py -rw-r--r-- root/root 474 2025-09-06 05:04 ./usr/share/subplot/python/template/encoding_tests.py -rw-r--r-- root/root 412 2025-09-06 05:04 ./usr/share/subplot/python/template/files.py -rw-r--r-- root/root 4557 2025-09-06 05:04 ./usr/share/subplot/python/template/main.py -rw-r--r-- root/root 2785 2025-09-06 05:04 ./usr/share/subplot/python/template/scenarios.py -rw-r--r-- root/root 2565 2025-09-06 05:04 ./usr/share/subplot/python/template/template.py.tera -rw-r--r-- root/root 137 2025-09-06 05:04 ./usr/share/subplot/python/template/template.yaml drwxr-xr-x root/root 0 2025-09-06 05:04 ./usr/share/subplot/rust/ drwxr-xr-x root/root 0 2025-09-06 05:04 ./usr/share/subplot/rust/lib/ -rw-r--r-- root/root 788 2025-09-06 05:04 ./usr/share/subplot/rust/lib/datadir.yaml drwxr-xr-x root/root 0 2025-09-06 05:04 ./usr/share/subplot/rust/template/ -rw-r--r-- root/root 1449 2025-09-06 05:04 ./usr/share/subplot/rust/template/macros.rs.tera -rw-r--r-- root/root 1213 2025-09-06 05:04 ./usr/share/subplot/rust/template/template.rs.tera -rw-r--r-- root/root 71 2025-09-06 05:04 ./usr/share/subplot/rust/template/template.yaml -rw-r--r-- root/root 2103 2025-09-06 05:04 ./usr/share/subplot/subplot.css + mv ../subplot-dbgsym_0.13.0.ci20250906T050757-1_amd64.deb ../subplot_0.13.0.ci20250906T050757-1.debian.tar.xz ../subplot_0.13.0.ci20250906T050757-1.dsc ../subplot_0.13.0.ci20250906T050757-1_amd64.buildinfo ../subplot_0.13.0.ci20250906T050757-1_amd64.changes ../subplot_0.13.0.ci20250906T050757-1_amd64.deb ../subplot_0.13.0.ci20250906T050757.orig.tar.xz /workspace/artifacts RUN: Action finished OK RUN: Action TarCreate { archive: "/dev/vde", directory: "/workspace/cache", } [2025-09-06T05:08:25Z DEBUG ambient_ci::action] Plan::execute: TarCreate { archive: "/dev/vde", directory: "/workspace/cache", } [2025-09-06T05:08:25Z TRACE ambient_ci::vdrive] creating virtual drive (tar archive): VirtualDriveBuilder { filename: Some( "/dev/vde", ), root: Some( "/workspace/cache", ), size: None, } [2025-09-06T05:08:25Z TRACE ambient_ci::vdrive] tar archive to be created: /dev/vde; exists? true [2025-09-06T05:08:25Z TRACE ambient_ci::vdrive] create archive file /dev/vde [2025-09-06T05:08:25Z TRACE ambient_ci::vdrive] directory /workspace/cache exists? true [2025-09-06T05:08:25Z TRACE ambient_ci::vdrive] add contents of /workspace/cache as . [2025-09-06T05:09:06Z TRACE ambient_ci::vdrive] created virtual drive /dev/vde RUN: Action finished OK RUN: Action TarCreate { archive: "/dev/vdd", directory: "/workspace/artifacts", } [2025-09-06T05:09:06Z DEBUG ambient_ci::action] Plan::execute: TarCreate { archive: "/dev/vdd", directory: "/workspace/artifacts", } [2025-09-06T05:09:06Z TRACE ambient_ci::vdrive] creating virtual drive (tar archive): VirtualDriveBuilder { filename: Some( "/dev/vdd", ), root: Some( "/workspace/artifacts", ), size: None, } [2025-09-06T05:09:06Z TRACE ambient_ci::vdrive] tar archive to be created: /dev/vdd; exists? true [2025-09-06T05:09:06Z TRACE ambient_ci::vdrive] create archive file /dev/vdd [2025-09-06T05:09:06Z TRACE ambient_ci::vdrive] directory /workspace/artifacts exists? true [2025-09-06T05:09:06Z TRACE ambient_ci::vdrive] add contents of /workspace/artifacts as . [2025-09-06T05:09:06Z TRACE ambient_ci::vdrive] created virtual drive /dev/vdd RUN: Action finished OK ambient-execute-plan ends EXIT CODE: 0 ==================== [2025-09-06T05:09:12Z DEBUG ambient_ci::qemu] QEMU exit code 0 [2025-09-06T05:09:12Z DEBUG ambient_ci::run] remove old cache [2025-09-06T05:09:13Z DEBUG ambient_ci::run] extract cache [2025-09-06T05:09:16Z DEBUG ambient_ci::run] Executing post-plan steps [2025-09-06T05:09:16Z DEBUG ambient_ci::action] Plan::execute: Dput { artifactsdir: "/srv/ambient-state/subplot/artifacts", dput_target: Some( "apt.liw.fi", ), } [2025-09-06T05:09:16Z DEBUG ambient_ci::util] found /srv/ambient-state/subplot/artifacts [2025-09-06T05:09:16Z DEBUG ambient_ci::util] found /srv/ambient-state/subplot/artifacts/subplot-dbgsym_0.13.0.ci20250906T050757-1_amd64.deb [2025-09-06T05:09:16Z DEBUG ambient_ci::util] found /srv/ambient-state/subplot/artifacts/subplot_0.13.0.ci20250906T050757-1.dsc [2025-09-06T05:09:16Z DEBUG ambient_ci::util] found /srv/ambient-state/subplot/artifacts/subplot_0.13.0.ci20250906T050757-1_amd64.buildinfo [2025-09-06T05:09:16Z DEBUG ambient_ci::util] found /srv/ambient-state/subplot/artifacts/subplot_0.13.0.ci20250906T050757.orig.tar.xz [2025-09-06T05:09:16Z DEBUG ambient_ci::util] found /srv/ambient-state/subplot/artifacts/subplot_0.13.0.ci20250906T050757-1.debian.tar.xz [2025-09-06T05:09:16Z DEBUG ambient_ci::util] found /srv/ambient-state/subplot/artifacts/subplot_0.13.0.ci20250906T050757-1_amd64.deb [2025-09-06T05:09:16Z DEBUG ambient_ci::util] found /srv/ambient-state/subplot/artifacts/subplot_0.13.0.ci20250906T050757-1_amd64.changes [2025-09-06T05:09:16Z INFO ambient_ci::util] dput apt.liw.fi /srv/ambient-state/subplot/artifacts/subplot_0.13.0.ci20250906T050757-1_amd64.changes [2025-09-06T05:09:17Z DEBUG ambient_ci::action] Plan::execute: Rsync { artifactsdir: "/srv/ambient-state/subplot/artifacts", rsync_target: Some( "ci@http.liw.fi:/srv/http/doc.subplot.tech", ), } [2025-09-06T05:09:17Z INFO ambient_ci::util] rsync /srv/ambient-state/subplot/artifacts/. -> ci@http.liw.fi:/srv/http/doc.subplot.tech/. [2025-09-06T05:09:18Z DEBUG ambient_ci::project] write project state to /srv/ambient-state/subplot/meta.yaml [2025-09-06T05:09:19Z INFO ambient] ambient ends successfully
<empty log>