Log from Radicle native CI

Request message

{
  "request": "trigger",
  "version": 1,
  "event_type": "push",
  "repository": {
    "id": "rad:zwTxygwuz5LDGBq255RA2CbNGrz8",
    "name": "radicle-ci-broker",
    "description": "Radicle CI broker",
    "private": false,
    "default_branch": "main",
    "delegates": [
      "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV",
      "did:key:z6MksFqXN3Yhqk8pTJdUGLwATkRfQvwZXPqR2qMEhbS9wzpT"
    ]
  },
  "pusher": {
    "id": "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV",
    "alias": "liw"
  },
  "before": "89b89ac6b2f07e5a621b09bd80eab56755e7592f",
  "after": "55320371804c8b0783e5c11f35e4c449defe5243",
  "branch": "main",
  "commits": [
    "55320371804c8b0783e5c11f35e4c449defe5243"
  ]
}

.radicle/native.yaml

shell: |
  cargo --version
  rustc --version

  cargo fmt --check
  cargo clippy --all-targets --workspace -- -Dwarnings
  cargo build --all-targets --workspace
  cargo doc --workspace
  cargo test --workspace --no-fail-fast

  subplot docgen ci-broker.subplot -o doc/ci-broker.html
  make -C doc publish

Table of contents

Run: git clone /home/_rad/.radicle/storage/zwTxygwuz5LDGBq255RA2CbNGrz8 /srv/http/6fddddb5-727f-4e69-bc0e-f8b27b176324/src

Command arguments:

In directory: /

Exit code: 0

Output (stdout and stderr):

Cloning into '/srv/http/6fddddb5-727f-4e69-bc0e-f8b27b176324/src'...
done.

Run: git config advice.detachedHead false

Command arguments:

In directory: /srv/http/6fddddb5-727f-4e69-bc0e-f8b27b176324/src

Exit code: 0

Run: git checkout 55320371804c8b0783e5c11f35e4c449defe5243

Command arguments:

In directory: /srv/http/6fddddb5-727f-4e69-bc0e-f8b27b176324/src

Exit code: 0

Output (stdout and stderr):

HEAD is now at 5532037 chore: prepare release 0.6.0

Run: git show 55320371804c8b0783e5c11f35e4c449defe5243

Command arguments:

In directory: /srv/http/6fddddb5-727f-4e69-bc0e-f8b27b176324/src

Exit code: 0

Output (stdout and stderr):

commit 55320371804c8b0783e5c11f35e4c449defe5243
Author: Lars Wirzenius <liw@liw.fi>
Date:   Mon Sep 2 10:54:28 2024 +0300

    chore: prepare release 0.6.0
    
    Signed-off-by: Lars Wirzenius <liw@liw.fi>

diff --git a/Cargo.lock b/Cargo.lock
index 28612d8..511d0d4 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1718,7 +1718,7 @@ dependencies = [
 
 [[package]]
 name = "radicle-ci-broker"
-version = "0.5.0"
+version = "0.6.0"
 dependencies = [
  "anyhow",
  "clap",
diff --git a/Cargo.toml b/Cargo.toml
index 71a8500..700d422 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "radicle-ci-broker"
-version = "0.5.0"
+version = "0.6.0"
 edition = "2021"
 rust-version = "1.80"
 authors = ["Lars Wirzenius <liw@liw.fi", "cloudhead <cloudhead@radicle.xyz>"]
diff --git a/NEWS.md b/NEWS.md
index 9c382ba..086b7a9 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -4,6 +4,39 @@ This file summarizes the user-visible changes to `radicle-ci-broker`
 between releases.
 
 
+## Version 0.6.0, released 2024-09-02
+
+### Breaking changes
+  
+* The CI broker test suite now verifies that it can be upgraded
+  without making changes to the configuration file or the database.
+  This should lessen how often accidental, unintended breaking
+  changes, so this counts as a user-visible lack of change. Note that
+  this testing doesn't prevent breaking changes from being made, but
+  makes it more likely that they'll be documented as such.
+
+### New or changed features
+
+* The CI broker now logs, to its own log, the standard error output of
+  the CI adapter it runs, as well as their exist code. This should
+  make it easier to debug problems in adapters, especially for the
+  developers of the adapters. The log messages look like:
+  
+~~~json
+{"msg":"adapter exit code","level":"DEBG","ts":"2024-08-27T17:38:26.762222386Z","exit_code":1}
+{"msg":"adapter stderr","level":"DEBG","ts":"2024-08-27T17:38:26.762289242Z","stderr":"woe be me\n"}
+~~~
+
+* The `cibtool event list` command now has a `--jdon` option to output
+  the event queue using the JSON format, for easier post-processing by
+  other software.
+
+* The CI broker logs its git commit when it starts.
+
+* The CI broker [`README.md`](README.md) lists the known CI adapter,
+  and links to documentation about using them.
+
+
 ## Version 0.5.0, released 2024-08-26
 
 ### Breaking changes

Run: timeout 600 bash -c set -xeuo pipefail cargo --version rustc --version cargo fmt --check cargo clippy --all-targets --workspace -- -Dwarnings cargo build --all-targets --workspace cargo doc --workspace cargo test --workspace --no-fail-fast subplot docgen ci-broker.subplot -o doc/ci-broker.html make -C doc publish

Command arguments:

In directory: /srv/http/6fddddb5-727f-4e69-bc0e-f8b27b176324/src

Exit code: 101

Output (stdout and stderr):

+ cargo --version
cargo 1.80.1 (376290515 2024-07-16)
+ rustc --version
rustc 1.80.1 (3f5fd8dd4 2024-08-06)
+ cargo fmt --check
+ cargo clippy --all-targets --workspace -- -Dwarnings
   Compiling proc-macro2 v1.0.86
   Compiling unicode-ident v1.0.12
   Compiling version_check v0.9.5
   Compiling libc v0.2.158
   Compiling typenum v1.17.0
    Checking cfg-if v1.0.0
   Compiling shlex v1.3.0
   Compiling serde v1.0.209
   Compiling thiserror v1.0.63
   Compiling memchr v2.7.4
   Compiling once_cell v1.19.0
   Compiling byteorder v1.5.0
   Compiling syn v1.0.109
   Compiling bitflags v2.6.0
    Checking subtle v2.6.1
   Compiling rustix v0.38.34
   Compiling pkg-config v0.3.30
   Compiling crossbeam-utils v0.8.20
   Compiling linux-raw-sys v0.4.14
   Compiling anyhow v1.0.86
   Compiling regex-syntax v0.8.4
   Compiling generic-array v0.14.7
   Compiling ahash v0.8.11
   Compiling itoa v1.0.11
   Compiling log v0.4.22
    Checking cpufeatures v0.2.13
   Compiling time-core v0.1.2
   Compiling allocator-api2 v0.2.18
   Compiling num-conv v0.1.0
   Compiling utf8parse v0.2.2
   Compiling aho-corasick v1.1.3
   Compiling same-file v1.0.6
   Compiling anstyle-parse v0.2.5
   Compiling ucd-trie v0.1.6
   Compiling time-macros v0.2.18
   Compiling walkdir v2.5.0
   Compiling colorchoice v1.0.2
   Compiling anstyle v1.0.8
   Compiling quote v1.0.37
   Compiling anstyle-query v1.1.1
   Compiling is_terminal_polyfill v1.70.1
   Compiling bstr v1.10.0
   Compiling anstream v0.6.15
   Compiling powerfmt v0.2.0
   Compiling unic-char-range v0.9.0
   Compiling syn v2.0.76
   Compiling jobserver v0.1.32
   Compiling getrandom v0.2.15
   Compiling crossbeam-epoch v0.9.18
   Compiling vcpkg v0.2.15
   Compiling libm v0.2.8
   Compiling heck v0.5.0
   Compiling unic-common v0.9.0
   Compiling cc v1.1.14
   Compiling rand_core v0.6.4
   Compiling doc-comment v0.3.3
   Compiling unicode-width v0.1.13
   Compiling crossbeam-deque v0.8.5
   Compiling unic-ucd-version v0.9.0
   Compiling deranged v0.3.11
   Compiling unic-char-property v0.9.0
   Compiling unicase v2.7.0
   Compiling proc-macro-error-attr v1.0.4
   Compiling encoding_rs v0.8.34
   Compiling serde_json v1.0.127
    Checking tinyvec_macros v0.1.1
   Compiling clap_lex v0.7.2
   Compiling strsim v0.11.1
   Compiling fastrand v2.1.1
   Compiling arraydeque v0.5.1
    Checking crypto-common v0.1.6
    Checking block-padding v0.3.3
    Checking block-buffer v0.10.4
   Compiling clap_builder v4.5.15
    Checking universal-hash v0.5.1
    Checking tinyvec v1.8.0
    Checking inout v0.1.3
   Compiling unic-ucd-segment v0.9.0
    Checking digest v0.10.7
    Checking cipher v0.4.4
   Compiling proc-macro-error v1.0.4
   Compiling regex-automata v0.4.7
   Compiling tempfile v3.12.0
   Compiling deunicode v1.6.0
   Compiling time v0.3.36
   Compiling pulldown-cmark v0.12.0
   Compiling amplify_syn v2.0.1
   Compiling smawk v0.3.2
    Checking signature v1.6.4
   Compiling ryu v1.0.18
    Checking opaque-debug v0.3.1
   Compiling unicode-linebreak v0.1.5
    Checking unicode-normalization v0.1.23
    Checking ed25519 v1.5.3
   Compiling humansize v2.1.3
   Compiling textwrap v0.16.1
   Compiling slug v0.1.6
   Compiling unic-segment v0.9.0
   Compiling getopts v0.2.21
   Compiling libz-sys v1.1.20
   Compiling pikchr v0.1.3
   Compiling libgit2-sys v0.16.2+1.7.2
   Compiling subplot v0.11.0
   Compiling utf8-width v0.1.7
   Compiling humantime v2.1.0
    Checking ct-codecs v1.1.1
    Checking percent-encoding v2.3.1
    Checking ascii v1.1.0
    Checking amplify_num v0.5.3
   Compiling lazy_static v1.5.0
   Compiling pulldown-cmark-escape v0.11.0
    Checking unicode-bidi v0.3.15
    Checking form_urlencoded v1.2.1
    Checking ec25519 v0.1.0
   Compiling html-escape v0.2.13
   Compiling amplify_derive v4.0.1
   Compiling sqlite3-src v0.5.1
    Checking polyval v0.6.2
    Checking idna v0.5.0
    Checking sha2 v0.10.8
   Compiling tracing-core v0.1.32
   Compiling pin-project-lite v0.2.14
    Checking base64ct v1.6.0
   Compiling line-col v0.2.1
   Compiling base64 v0.22.1
   Compiling file_diff v1.0.0
    Checking keccak v0.1.5
    Checking url v2.5.2
    Checking pem-rfc7468 v0.7.0
   Compiling globset v0.4.14
   Compiling regex v1.10.6
    Checking ghash v0.5.1
    Checking sha3 v0.10.8
    Checking ctr v0.9.2
    Checking aes v0.8.4
    Checking aead v0.5.2
    Checking hashbrown v0.14.5
   Compiling cfg_aliases v0.2.1
    Checking equivalent v1.0.1
   Compiling ignore v0.4.22
    Checking base32 v0.4.0
   Compiling data-encoding v2.6.0
   Compiling env_filter v0.1.2
   Compiling nix v0.29.0
    Checking aes-gcm v0.10.3
    Checking ssh-encoding v0.2.0
   Compiling env_logger v0.11.5
    Checking blowfish v0.9.1
    Checking indexmap v2.4.0
    Checking poly1305 v0.8.0
    Checking cbc v0.1.2
    Checking chacha20 v0.9.1
   Compiling globwalk v0.9.1
    Checking pbkdf2 v0.12.2
    Checking zeroize v1.8.1
    Checking radicle-std-ext v0.1.0
   Compiling adler2 v2.0.0
    Checking bcrypt-pbkdf v0.10.0
    Checking ssh-cipher v0.2.0
    Checking rand v0.8.5
   Compiling miniz_oxide v0.8.0
   Compiling xattr v1.3.1
   Compiling filetime v0.2.24
   Compiling crc32fast v1.4.2
   Compiling slog v2.7.0
   Compiling data-encoding-macro-internal v0.1.13
    Checking signature v2.2.0
    Checking base-x v0.2.11
    Checking ssh-key v0.6.6
   Compiling tar v0.4.41
    Checking cvt v0.1.2
    Checking qcheck v1.0.0
   Compiling flate2 v1.0.33
   Compiling glob v0.3.1
    Checking data-encoding-macro v0.1.15
    Checking multibase v0.9.1
    Checking amplify v4.7.0
    Checking terminal_size v0.3.0
    Checking radicle-dag v0.9.0
   Compiling serde_yml v0.0.11
    Checking normpath v1.3.0
    Checking fs2 v0.4.3
   Compiling radicle-surf v0.18.0
    Checking cyphergraphy v0.3.0
    Checking nonempty v0.5.0
    Checking base64 v0.13.1
    Checking shell-words v1.1.0
    Checking fs_at v0.2.1
    Checking crossbeam-channel v0.5.13
    Checking siphasher v1.0.1
    Checking unescape v0.1.0
    Checking base64 v0.21.7
    Checking libyml v0.0.4
    Checking cypheraddr v0.4.0
   Compiling serde_derive v1.0.209
   Compiling thiserror-impl v1.0.63
   Compiling zerocopy-derive v0.7.35
   Compiling clap_derive v4.5.13
   Compiling git-testament-derive v0.2.0
   Compiling tracing-attributes v0.1.27
    Checking socks5-client v0.4.1
   Compiling culpa-macros v1.0.2
    Checking remove_dir_all v0.8.3
    Checking cyphernet v0.5.2
    Checking state v0.5.3
    Checking arc-swap v1.7.1
    Checking html-page v0.4.0
    Checking slog-scope v4.4.0
    Checking uuid v1.10.0
   Compiling ctor v0.2.8
   Compiling git-testament v0.2.5
   Compiling zerocopy v0.7.35
   Compiling pest v2.7.11
   Compiling git-ref-format-core v0.3.0
   Compiling culpa v1.0.2
    Checking radicle-ssh v0.9.0
   Compiling tracing v0.1.40
   Compiling subplotlib-derive v0.11.0
   Compiling ppv-lite86 v0.2.20
   Compiling git-ref-format-macro v0.3.0
   Compiling clap v4.5.16
   Compiling rand_chacha v0.3.1
   Compiling hashlink v0.8.4
   Compiling hashlink v0.9.1
   Compiling pest_meta v2.7.11
   Compiling yaml-rust2 v0.8.1
   Compiling tempfile-fast v0.3.4
   Compiling pest_generator v2.7.11
   Compiling pest_derive v2.7.11
    Checking nonempty v0.9.0
    Checking localtime v1.3.1
    Checking git-ref-format v0.3.0
   Compiling serde_path_to_error v0.1.16
    Checking slog-json v2.6.1
   Compiling marked-yaml v0.7.1
   Compiling roadmap v0.6.1
   Compiling tera v1.20.0
    Checking git2 v0.18.3
    Checking radicle-git-ext v0.7.0
   Compiling subplot-build v0.11.0
   Compiling subplotlib v0.11.0
   Compiling radicle-ci-broker v0.6.0 (/srv/http/6fddddb5-727f-4e69-bc0e-f8b27b176324/src)
    Checking sqlite3-sys v0.15.2
    Checking sqlite v0.32.0
    Checking radicle-crypto v0.10.0
    Checking radicle-cob v0.11.0
    Checking radicle v0.12.0
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.53s
+ cargo build --all-targets --workspace
   Compiling cfg-if v1.0.0
   Compiling bitflags v2.6.0
   Compiling memchr v2.7.4
   Compiling once_cell v1.19.0
   Compiling log v0.4.22
   Compiling itoa v1.0.11
   Compiling subtle v2.6.1
   Compiling typenum v1.17.0
   Compiling libc v0.2.158
   Compiling regex-syntax v0.8.4
   Compiling fastrand v2.1.1
   Compiling percent-encoding v2.3.1
   Compiling serde v1.0.209
   Compiling thiserror v1.0.63
   Compiling utf8parse v0.2.2
   Compiling crossbeam-utils v0.8.20
   Compiling cpufeatures v0.2.13
   Compiling anstyle-parse v0.2.5
   Compiling colorchoice v1.0.2
   Compiling ryu v1.0.18
   Compiling rustix v0.38.34
   Compiling anstyle-query v1.1.1
   Compiling anstyle v1.0.8
   Compiling is_terminal_polyfill v1.70.1
   Compiling ahash v0.8.11
   Compiling anyhow v1.0.86
   Compiling powerfmt v0.2.0
   Compiling num-conv v0.1.0
   Compiling time-core v0.1.2
   Compiling getrandom v0.2.15
   Compiling clap_lex v0.7.2
   Compiling strsim v0.11.1
   Compiling deranged v0.3.11
   Compiling time-macros v0.2.18
   Compiling anstream v0.6.15
   Compiling hashbrown v0.14.5
   Compiling rand_core v0.6.4
   Compiling crossbeam-epoch v0.9.18
   Compiling aho-corasick v1.1.3
   Compiling pest v2.7.11
   Compiling generic-array v0.14.7
   Compiling bstr v1.10.0
   Compiling rand_chacha v0.3.1
   Compiling crossbeam-deque v0.8.5
   Compiling encoding_rs v0.8.34
   Compiling tinyvec_macros v0.1.1
   Compiling tinyvec v1.8.0
   Compiling rand v0.8.5
   Compiling clap_builder v4.5.15
   Compiling hashlink v0.8.4
   Compiling crypto-common v0.1.6
   Compiling block-padding v0.3.3
   Compiling block-buffer v0.10.4
   Compiling hashlink v0.9.1
   Compiling inout v0.1.3
   Compiling digest v0.10.7
   Compiling cipher v0.4.4
   Compiling universal-hash v0.5.1
   Compiling lazy_static v1.5.0
   Compiling signature v1.6.4
   Compiling utf8-width v0.1.7
   Compiling opaque-debug v0.3.1
   Compiling subplot v0.11.0
   Compiling ct-codecs v1.1.1
   Compiling ed25519 v1.5.3
   Compiling html-escape v0.2.13
   Compiling amplify_num v0.5.3
   Compiling linux-raw-sys v0.4.14
   Compiling tempfile v3.12.0
   Compiling unicode-normalization v0.1.23
   Compiling ascii v1.1.0
   Compiling unicode-bidi v0.3.15
   Compiling regex-automata v0.4.7
   Compiling pest_meta v2.7.11
   Compiling yaml-rust2 v0.8.1
   Compiling time v0.3.36
   Compiling tempfile-fast v0.3.4
   Compiling idna v0.5.0
   Compiling pulldown-cmark v0.12.0
   Compiling ec25519 v0.1.0
   Compiling polyval v0.6.2
   Compiling sha2 v0.10.8
   Compiling libz-sys v1.1.20
   Compiling serde_path_to_error v0.1.16
   Compiling pest_generator v2.7.11
   Compiling serde_json v1.0.127
   Compiling tracing-core v0.1.32
   Compiling clap v4.5.16
   Compiling marked-yaml v0.7.1
   Compiling amplify v4.7.0
   Compiling form_urlencoded v1.2.1
   Compiling git-ref-format-core v0.3.0
   Compiling base64ct v1.6.0
   Compiling base64 v0.22.1
   Compiling keccak v0.1.5
   Compiling roadmap v0.6.1
   Compiling byteorder v1.5.0
   Compiling git-ref-format-macro v0.3.0
   Compiling sha3 v0.10.8
   Compiling git-testament-derive v0.2.0
   Compiling tracing v0.1.40
   Compiling pem-rfc7468 v0.7.0
   Compiling cyphergraphy v0.3.0
   Compiling url v2.5.2
   Compiling libgit2-sys v0.16.2+1.7.2
   Compiling pest_derive v2.7.11
   Compiling globset v0.4.14
   Compiling regex v1.10.6
   Compiling ghash v0.5.1
   Compiling aes v0.8.4
   Compiling ctr v0.9.2
   Compiling aead v0.5.2
   Compiling base32 v0.4.0
   Compiling equivalent v1.0.1
   Compiling git-ref-format v0.3.0
   Compiling ssh-encoding v0.2.0
   Compiling cypheraddr v0.4.0
   Compiling sqlite3-src v0.5.1
   Compiling ignore v0.4.22
   Compiling env_filter v0.1.2
   Compiling git2 v0.18.3
   Compiling blowfish v0.9.1
   Compiling env_logger v0.11.5
   Compiling aes-gcm v0.10.3
   Compiling cbc v0.1.2
   Compiling chacha20 v0.9.1
   Compiling poly1305 v0.8.0
   Compiling pbkdf2 v0.12.2
   Compiling zeroize v1.8.1
   Compiling radicle-std-ext v0.1.0
   Compiling data-encoding v2.6.0
   Compiling bcrypt-pbkdf v0.10.0
   Compiling git-testament v0.2.5
   Compiling socks5-client v0.4.1
   Compiling indexmap v2.4.0
   Compiling sqlite3-sys v0.15.2
   Compiling xattr v1.3.1
   Compiling crc32fast v1.4.2
   Compiling filetime v0.2.24
   Compiling signature v2.2.0
   Compiling ssh-cipher v0.2.0
   Compiling globwalk v0.9.1
   Compiling base-x v0.2.11
   Compiling cyphernet v0.5.2
   Compiling flate2 v1.0.33
   Compiling tar v0.4.41
   Compiling sqlite v0.32.0
   Compiling nix v0.29.0
   Compiling radicle-ssh v0.9.0
   Compiling data-encoding-macro v0.1.15
   Compiling tera v1.20.0
   Compiling multibase v0.9.1
   Compiling ssh-key v0.6.6
   Compiling cvt v0.1.2
   Compiling qcheck v1.0.0
   Compiling culpa v1.0.2
   Compiling slog v2.7.0
   Compiling terminal_size v0.3.0
   Compiling nonempty v0.9.0
   Compiling radicle-dag v0.9.0
   Compiling normpath v1.3.0
   Compiling subplotlib-derive v0.11.0
   Compiling localtime v1.3.1
   Compiling fs2 v0.4.3
   Compiling crossbeam-channel v0.5.13
   Compiling radicle-surf v0.18.0
   Compiling arc-swap v1.7.1
   Compiling fs_at v0.2.1
   Compiling siphasher v1.0.1
   Compiling unescape v0.1.0
   Compiling remove_dir_all v0.8.3
   Compiling shell-words v1.1.0
   Compiling libyml v0.0.4
   Compiling base64 v0.13.1
   Compiling state v0.5.3
   Compiling nonempty v0.5.0
   Compiling base64 v0.21.7
   Compiling slog-scope v4.4.0
   Compiling html-page v0.4.0
   Compiling uuid v1.10.0
   Compiling radicle-git-ext v0.7.0
   Compiling slog-json v2.6.1
   Compiling serde_yml v0.0.11
   Compiling radicle-crypto v0.10.0
   Compiling radicle-cob v0.11.0
   Compiling radicle v0.12.0
   Compiling subplot-build v0.11.0
   Compiling subplotlib v0.11.0
   Compiling radicle-ci-broker v0.6.0 (/srv/http/6fddddb5-727f-4e69-bc0e-f8b27b176324/src)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.90s
+ cargo doc --workspace
    Checking unicode-ident v1.0.12
 Documenting unicode-ident v1.0.12
 Documenting cfg-if v1.0.0
 Documenting typenum v1.17.0
 Documenting libc v0.2.158
 Documenting subtle v2.6.1
 Documenting bitflags v2.6.0
 Documenting cpufeatures v0.2.13
 Documenting tinyvec_macros v0.1.1
 Documenting memchr v2.7.4
 Documenting opaque-debug v0.3.1
 Documenting ed25519 v1.5.3
 Documenting percent-encoding v2.3.1
 Documenting ct-codecs v1.1.1
 Documenting ascii v1.1.0
 Documenting unicode-bidi v0.3.15
    Checking proc-macro2 v1.0.86
 Documenting linux-raw-sys v0.4.14
 Documenting log v0.4.22
 Documenting amplify_num v0.5.3
 Documenting proc-macro2 v1.0.86
 Documenting tinyvec v1.8.0
    Checking git-ref-format-core v0.3.0
    Checking quote v1.0.37
 Documenting byteorder v1.5.0
 Documenting base64ct v1.6.0
 Documenting fastrand v2.1.1
 Documenting form_urlencoded v1.2.1
 Documenting keccak v0.1.5
    Checking syn v2.0.76
    Checking syn v1.0.109
 Documenting itoa v1.0.11
    Checking data-encoding v2.6.0
 Documenting base32 v0.4.0
 Documenting quote v1.0.37
 Documenting equivalent v1.0.1
 Documenting hashbrown v0.14.5
 Documenting sqlite3-src v0.5.1
 Documenting unicode-normalization v0.1.23
 Documenting once_cell v1.19.0
 Documenting ryu v1.0.18
 Documenting data-encoding v2.6.0
 Documenting rustix v0.38.34
 Documenting pem-rfc7468 v0.7.0
    Checking amplify_syn v2.0.1
    Checking proc-macro-error v1.0.4
 Documenting data-encoding-macro-internal v0.1.13
 Documenting zeroize v1.8.1
 Documenting radicle-std-ext v0.1.0
 Documenting base-x v0.2.11
 Documenting signature v2.2.0
 Documenting utf8parse v0.2.2
 Documenting powerfmt v0.2.0
 Documenting serde_derive v1.0.209
 Documenting amplify_syn v2.0.1
 Documenting thiserror-impl v1.0.63
 Documenting proc-macro-error-attr v1.0.4
 Documenting idna v0.5.0
 Documenting generic-array v0.14.7
 Documenting data-encoding-macro v0.1.15
 Documenting aho-corasick v1.1.3
 Documenting indexmap v2.4.0
 Documenting cvt v0.1.2
 Documenting anstyle-parse v0.2.5
 Documenting deranged v0.3.11
 Documenting time-macros v0.2.18
 Documenting getrandom v0.2.15
 Documenting libz-sys v1.1.20
 Documenting sqlite3-sys v0.15.2
 Documenting multibase v0.9.1
 Documenting proc-macro-error v1.0.4
 Documenting amplify_derive v4.0.1
 Documenting thiserror v1.0.63
 Documenting tempfile v3.12.0
 Documenting crypto-common v0.1.6
 Documenting block-buffer v0.10.4
 Documenting block-padding v0.3.3
 Documenting url v2.5.2
 Documenting ec25519 v0.1.0
 Documenting libgit2-sys v0.16.2+1.7.2
 Documenting rand_core v0.6.4
 Documenting sqlite v0.32.0
 Documenting git-ref-format-macro v0.3.0
 Documenting nix v0.29.0
 Documenting regex-syntax v0.8.4
 Documenting serde v1.0.209
 Documenting radicle-ssh v0.9.0
 Documenting anstyle-query v1.1.1
 Documenting anstyle v1.0.8
 Documenting inout v0.1.3
 Documenting digest v0.10.7
 Documenting universal-hash v0.5.1
 Documenting aead v0.5.2
 Documenting rand v0.8.5
 Documenting is_terminal_polyfill v1.70.1
 Documenting amplify v4.7.0
 Documenting colorchoice v1.0.2
 Documenting num-conv v0.1.0
 Documenting time-core v0.1.2
 Documenting terminal_size v0.3.0
 Documenting cipher v0.4.4
 Documenting git2 v0.18.3
 Documenting culpa-macros v1.0.2
 Documenting radicle-dag v0.9.0
 Documenting fs_at v0.2.1
 Documenting anstream v0.6.15
   Compiling radicle-ci-broker v0.6.0 (/srv/http/6fddddb5-727f-4e69-bc0e-f8b27b176324/src)
 Documenting slog v2.7.0
 Documenting polyval v0.6.2
 Documenting poly1305 v0.8.0
 Documenting time v0.3.36
 Documenting qcheck v1.0.0
 Documenting regex-automata v0.4.7
 Documenting sha2 v0.10.8
 Documenting sha3 v0.10.8
 Documenting pbkdf2 v0.12.2
 Documenting cyphergraphy v0.3.0
 Documenting crossbeam-utils v0.8.20
 Documenting heck v0.5.0
 Documenting ctr v0.9.2
 Documenting aes v0.8.4
 Documenting cbc v0.1.2
 Documenting ghash v0.5.1
 Documenting chacha20 v0.9.1
 Documenting blowfish v0.9.1
 Documenting normpath v1.3.0
 Documenting git-ref-format-core v0.3.0
 Documenting ssh-encoding v0.2.0
 Documenting serde_json v1.0.127
 Documenting nonempty v0.9.0
 Documenting cypheraddr v0.4.0
 Documenting utf8-width v0.1.7
 Documenting strsim v0.11.1
 Documenting clap_lex v0.7.2
    Checking heck v0.5.0
 Documenting lazy_static v1.5.0
 Documenting regex v1.10.6
 Documenting crossbeam-channel v0.5.13
 Documenting clap_derive v4.5.13
 Documenting remove_dir_all v0.8.3
 Documenting bcrypt-pbkdf v0.10.0
 Documenting localtime v1.3.1
 Documenting aes-gcm v0.10.3
 Documenting culpa v1.0.2
 Documenting html-escape v0.2.13
 Documenting git-ref-format v0.3.0
 Documenting filetime v0.2.24
 Documenting clap_builder v4.5.15
 Documenting fs2 v0.4.3
 Documenting socks5-client v0.4.1
 Documenting subplotlib-derive v0.11.0
 Documenting state v0.5.3
 Documenting libyml v0.0.4
 Documenting shell-words v1.1.0
 Documenting siphasher v1.0.1
 Documenting arc-swap v1.7.1
 Documenting unescape v0.1.0
 Documenting base64 v0.22.1
 Documenting ssh-cipher v0.2.0
 Documenting slog-json v2.6.1
 Documenting html-page v0.4.0
 Documenting uuid v1.10.0
 Documenting anyhow v1.0.86
 Documenting radicle-git-ext v0.7.0
 Documenting cyphernet v0.5.2
 Documenting slog-scope v4.4.0
 Documenting serde_yml v0.0.11
 Documenting subplotlib v0.11.0
 Documenting clap v4.5.16
 Documenting ssh-key v0.6.6
 Documenting radicle-surf v0.18.0
 Documenting radicle-crypto v0.10.0
 Documenting radicle-cob v0.11.0
 Documenting radicle v0.12.0
 Documenting radicle-ci-broker v0.6.0 (/srv/http/6fddddb5-727f-4e69-bc0e-f8b27b176324/src)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.52s
   Generated /srv/http/6fddddb5-727f-4e69-bc0e-f8b27b176324/src/target/doc/radicle_ci_broker/index.html and 3 other files
+ cargo test --workspace --no-fail-fast
    Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s
     Running unittests src/lib.rs (target/debug/deps/radicle_ci_broker-a05104484cb4ee46)

running 40 tests
{"msg":"broker database: /tmp/.tmppQ9KCu/db.db","level":"INFO","ts":"2024-09-02T07:57:24.70757149Z"}
{"msg":"broker database: /tmp/.tmpKcHnrx/db.db","level":"INFO","ts":"2024-09-02T07:57:24.70774777Z"}
{"msg":"broker database: /tmp/.tmpCS9BT9/db.db","level":"INFO","ts":"2024-09-02T07:57:24.70779927Z"}
{"msg":"broker database: /tmp/.tmpuCEMBx/db.db","level":"INFO","ts":"2024-09-02T07:57:24.70784433Z"}
test broker::test::does_not_have_a_default_adapter_initially ... ok
{"test broker::test::adds_adapter ... okmsg
":"broker database: /tmp/.tmptXKoFv/db.db","level":"INFO","ts":"2024-09-02T07:57:25.028991533Z"}
{"msg":"broker database: /tmp/.tmpoyxiY4/db.db","level":"INFO","ts":"2024-09-02T07:57:25.029179773Z"}
test broker::test::does_not_find_unknown_repo ... ok
{"msg":"broker database: /tmp/.tmpvr9YyR/db.db","level":"INFO","ts":"2024-09-02T07:57:25.039423422Z"}
test adapter::test::adapter_first_message_isnt_triggered ... ok
{"msg":"broker database: /tmp/.tmp9faQFR/db.db","level":"INFO","ts":"2024-09-02T07:57:25.094259992Z"}
{"msg":"adapter exit code","level":"DEBG","ts":"2024-09-02T07:57:25.101354754Z","exit_code":0}
test adapter::test::adapter_reports_success ... ok
test event::test::branch_is_not_patch_update ... ok
test event::test::get_no_push_branch ... ok
test event::test::get_push_branch ... ok
test event::test::patch_branch_is_not_patch_update ... ok
test event::test::patch_update ... ok
test event::test::test_parse_invalid_ref ... ok
test event::test::test_parse_patch_ref ... ok
{"msg":"adapter exit code","level":"DEBG","ts":"2024-09-02T07:57:25.110773062Z","exit_code":0}
test adapter::test::adapter_reports_failure ... ok
test event::test_broker_event::name_for_branch ... ok
test event::test_broker_event::name_for_shutdown ... ok
test event::test::test_parse_push_ref ... ok
test event::test_broker_event::nid_for_plain_branch_name ... ok
test adapter::test::adapter_does_not_exist ... ok
{"msg":"too many response messages","level":"ERRO","ts":"2024-09-02T07:57:25.113289126Z"}
test event::test_broker_event::nid_for_ref_with_namespace ... ok
test adapter::test::adapter_outputs_too_many_messages ... ok
{"msg":"adapter was terminated by signal","level":"DEBG","ts":"2024-09-02T07:57:25.113818517Z"}
{"msg":"adapter did not exit voluntarily","level":"WARN","ts":"2024-09-02T07:57:25.113848807Z"}
test event::test_broker_event::nid_for_ref_without_namespace ... ok
test adapter::test::adapter_is_killed_after_second_message ... ok
{"msg":"start CI run","level":"INFO","ts":"2024-09-02T07:57:25.114584018Z"}
{"msg":"trigger event: Trigger {\n    common: EventCommonFields {\n        version: 1,\n        event_type: Push,\n        repository: Repository {\n            id: RepoId(rad:z44jfo8fkjBBjX8qA1yoZmVLrPVoR),\n            name: \"acme\",\n            description: \"Acme's repository\",\n            private: false,\n            default_branch: \"master\",\n            delegates: [\n                Did(\"did:key:z6Mkgk5x1gJ8rDr79kKApHuMTiJZHbkKrDQMe5tJsMAAxzS9\"),\n            ],\n        },\n    },\n    push: Some(\n        PushEvent {\n            pusher: Author {\n                id: Did(\"did:key:z6Mkgk5x1gJ8rDr79kKApHuMTiJZHbkKrDQMe5tJsMAAxzS9\"),\n                alias: None,\n            },\n            before: Oid(\n                f2de534b5e81d7c6e2dcaf58c3dd91573c0a0354,\n            ),\n            after: Oid(\n                532c92e4ec973d79c25652c581ae82d238e46a06,\n            ),\n            branch: \"master\",\n            commits: [\n                Oid(\n                    532c92e4ec973d79c25652c581ae82d238e46a06,\n                ),\n            ],\n        },\n    ),\n    patch: None,\n}","level":"DEBG","ts":"2024-09-02T07:57:25.114728589Z"}
test event::test_parse_ref::namespaced_branch ... ok
test event::test_parse_ref::namespaced_patch ... ok
test run::test::serialize_run_state ... ok
test adapter::test::adapter_has_bad_interpreter ... ok
test event::test_parse_ref::plain_branch_name_is_none ... ok
test event::test_parse_ref::namespaced_branch_with_slashes ... ok
{"msg":"no first response message","level":"ERRO","ts":"2024-09-02T07:57:25.119524087Z"}
{"msg":"no second response message","level":"ERRO","ts":"2024-09-02T07:57:25.119558537Z"}
{"msg":"adapter was terminated by signal","level":"DEBG","ts":"2024-09-02T07:57:25.119588537Z"}
{"msg":"adapter did not exit voluntarily","level":"WARN","ts":"2024-09-02T07:57:25.119612597Z"}
test adapter::test::adapter_is_killed_before_any_messages ... ok
test adapter::test::adapter_is_not_executable ... ok
{"msg":"no second response message","level":"ERRO","ts":"2024-09-02T07:57:25.121822861Z"}
{"msg":"adapter was terminated by signal","level":"DEBG","ts":"2024-09-02T07:57:25.121861181Z"}
{"msg":"adapter did not exit voluntarily","level":"WARN","ts":"2024-09-02T07:57:25.121885931Z"}
test adapter::test::adapter_is_killed_after_first_message ... ok
{"msg":"adapter exit code","level":"DEBG","ts":"2024-09-02T07:57:25.122442852Z","exit_code":1}
{"msg":"adapter stderr","level":"DEBG","ts":"2024-09-02T07:57:25.122479612Z","stderr":"woe be me"}
test adapter::test::adapter_exits_nonzero ... ok
test adapter::test::adapter_produces_as_bad_message ... ok
test msg::tests::trigger_push ... ok
test msg::tests::trigger_patch ... ok
test broker::test::finds_default_adapter_for_unknown_repo ... ok
test broker::test::has_no_adapters_initially ... ok
{"msg":"start CI run","level":"INFO","ts":"2024-09-02T07:57:25.257414097Z"}
{"msg":"trigger event: Trigger {\n    common: EventCommonFields {\n        version: 1,\n        event_type: Push,\n        repository: Repository {\n            id: RepoId(rad:zHGfVx1GccvquQELwZbPmAiRa2pC),\n            name: \"acme\",\n            description: \"Acme's repository\",\n            private: false,\n            default_branch: \"master\",\n            delegates: [\n                Did(\"did:key:z6Mkq59fa4GBNSEjBom4pzrSgmoheSwgGrALzqtVhpgnfC22\"),\n            ],\n        },\n    },\n    push: Some(\n        PushEvent {\n            pusher: Author {\n                id: Did(\"did:key:z6Mkq59fa4GBNSEjBom4pzrSgmoheSwgGrALzqtVhpgnfC22\"),\n                alias: None,\n            },\n            before: Oid(\n                f2de534b5e81d7c6e2dcaf58c3dd91573c0a0354,\n            ),\n            after: Oid(\n                532c92e4ec973d79c25652c581ae82d238e46a06,\n            ),\n            branch: \"master\",\n            commits: [\n                Oid(\n                    532c92e4ec973d79c25652c581ae82d238e46a06,\n                ),\n            ],\n        },\n    ),\n    patch: None,\n}","level":"DEBG","ts":"2024-09-02T07:57:25.257559927Z"}
test broker::test::sets_a_default_adapter_initially ... ok
{"msg":"adapter exit code","level":"DEBG","ts":"2024-09-02T07:57:25.284120056Z","exit_code":1}
{"msg":"adapter stderr","level":"DEBG","ts":"2024-09-02T07:57:25.284167146Z","stderr":"woe be me"}
{"msg":"failed to run adapter or it failed to run CI: child process failed with wait status 1","level":"ERRO","ts":"2024-09-02T07:57:25.343373403Z"}
{"msg":"Finish CI run","level":"INFO","ts":"2024-09-02T07:57:25.343408703Z"}
{"msg":"finished CI run: Run {\n    broker_run_id: RunId {\n        id: \"cd8ff6be-fc34-4490-90cf-d36ac3ea0718\",\n    },\n    adapter_run_id: Some(\n        RunId {\n            id: \"xyzzy\",\n        },\n    ),\n    adapter_info_url: None,\n    repo_id: RepoId(rad:z44jfo8fkjBBjX8qA1yoZmVLrPVoR),\n    repo_name: \"acme\",\n    timestamp: \"2024-09-02 07:57:25Z\",\n    whence: Branch {\n        name: \"push-event-has-no-branch-name\",\n        commit: Oid(\n            532c92e4ec973d79c25652c581ae82d238e46a06,\n        ),\n        who: Some(\n            \"did:key:z6Mkgk5x1gJ8rDr79kKApHuMTiJZHbkKrDQMe5tJsMAAxzS9\",\n        ),\n    },\n    state: Finished,\n    result: Some(\n        Success,\n    ),\n}","level":"DEBG","ts":"2024-09-02T07:57:25.343527663Z"}
test broker::test::adapter_fails ... ok
{"msg":"adapter exit code","level":"DEBG","ts":"2024-09-02T07:57:25.38020134Z","exit_code":0}
{"msg":"Finish CI run","level":"INFO","ts":"2024-09-02T07:57:25.410992716Z"}
{"msg":"finished CI run: Run {\n    broker_run_id: RunId {\n        id: \"821ea274-f728-41ee-8bde-0962f7aeccbd\",\n    },\n    adapter_run_id: Some(\n        RunId {\n            id: \"xyzzy\",\n        },\n    ),\n    adapter_info_url: None,\n    repo_id: RepoId(rad:zHGfVx1GccvquQELwZbPmAiRa2pC),\n    repo_name: \"acme\",\n    timestamp: \"2024-09-02 07:57:25Z\",\n    whence: Branch {\n        name: \"push-event-has-no-branch-name\",\n        commit: Oid(\n            532c92e4ec973d79c25652c581ae82d238e46a06,\n        ),\n        who: Some(\n            \"did:key:z6Mkq59fa4GBNSEjBom4pzrSgmoheSwgGrALzqtVhpgnfC22\",\n        ),\n    },\n    state: Finished,\n    result: Some(\n        Success,\n    ),\n}","level":"DEBG","ts":"2024-09-02T07:57:25.411204926Z"}
test broker::test::executes_adapter ... ok

test result: ok. 40 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.71s

     Running unittests src/bin/cib.rs (target/debug/deps/cib-d96d28a22bfe810c)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/bin/cibtool.rs (target/debug/deps/cibtool-ae20fec8a57bdfd9)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/bin/synthetic-events.rs (target/debug/deps/synthetic_events-0db224cf8c6730df)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/subplot.rs (target/debug/deps/subplot-af04d4136d741d75)

running 33 tests
test dummy_adapter_runs_successfully ... ok
test add_information_about_run_that_s_finished_in_failure_to_database ... FAILED
test add_information_about_triggered_run_to_database ... FAILED
test can_trigger_a_ci_run ... FAILED
test events_can_be_queued_and_removed_from_queue ... FAILED
test adapter_can_provide_url_for_info_on_run ... FAILED
test don_t_insert_events_into_queue_when_not_allowed_by_filter ... FAILED
test add_information_about_run_that_s_finished_successfully_to_database ... FAILED
test add_information_about_run_that_s_running_to_database ... FAILED
test acceptance_criteria_for_upgrades ... FAILED
test gives_helpful_error_message_if_it_doesn_t_understand_its_configuration_file ... FAILED
test gives_helpful_error_message_if_node_socket_can_t_be_found ... FAILED
test insert_events_into_queue ... FAILED
test insert_many_events_into_queue ... FAILED
test logs_adapter_stderr_output ... FAILED
test logs_start_and_successful_end ... FAILED
test process_queued_events ... FAILED
test produces_a_report_page_upon_request ... FAILED
test produces_a_json_status_file ... FAILED
test reports_it_version ... FAILED
test we_can_run_rad ... FAILED
test shuts_down_when_requested ... FAILED
test smoke_test__runs_adapter ... FAILED
test stops_if_the_node_connection_breaks ... FAILED
test update_and_show_information_about_run_to_running ... FAILED
test shows_config_as_json ... ok
test adapter_with_url_runs_successfully ... ok
test don_t_insert_event_for_non_existent_repository ... FAILED
test logs_termination_due_to_error ... FAILED
test can_add_shutdown_event_to_queue ... ok
test event_synthesizer_terminates_after_first_connection ... ok
test count_in_a_single_process ... ok
test count_in_concurrent_processes ... ok

failures:

---- add_information_about_run_that_s_finished_in_failure_to_database stdout ----
unknown: scenario: Add information about run that's finished in failure to database
ci-broker.md:1024:1:   step: given file radenv.sh
ci-broker.md:1025:1:   step: given file setup-node.sh
ci-broker.md:1026:1:   step: when I run bash radenv.sh bash setup-node.sh
Running `bash` with args ["radenv.sh", "bash", "setup-node.sh"]
Running in /tmp/subplothbk79Add-information-about-run-that-s-finished-in-failure-to-database
ENV: SHELL = /bin/sh
PATH: /home/_rad/.cargo/bin:/bin:/usr/bin:/sbin:/usr/sbin
Exit code: 127
Stdout:

Stderr:
+ mkdir -p /tmp/subplothbk79Add-information-about-run-that-s-finished-in-failure-to-database/homedir
+ rad auth --alias brokertest
setup-node.sh: line 7: rad: command not found


  return: Failure
thread 'add_information_about_run_that_s_finished_in_failure_to_database' panicked at /srv/http/6fddddb5-727f-4e69-bc0e-f8b27b176324/src/target/debug/build/radicle-ci-broker-223ba1a2697a8958/out/ci-broker.rs:3669:20:
called `Result::unwrap()` on an `Err` value: "expected exit code 0, but had Some(127)"
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

---- add_information_about_triggered_run_to_database stdout ----
unknown: scenario: Add information about triggered run to database
ci-broker.md:951:1:   step: given file radenv.sh
ci-broker.md:952:1:   step: given file setup-node.sh
ci-broker.md:953:1:   step: when I run bash radenv.sh bash setup-node.sh
Running `bash` with args ["radenv.sh", "bash", "setup-node.sh"]
Running in /tmp/subplotKfnfWAdd-information-about-triggered-run-to-database
ENV: SHELL = /bin/sh
PATH: /home/_rad/.cargo/bin:/bin:/usr/bin:/sbin:/usr/sbin
Exit code: 127
Stdout:

Stderr:
+ mkdir -p /tmp/subplotKfnfWAdd-information-about-triggered-run-to-database/homedir
+ rad auth --alias brokertest
setup-node.sh: line 7: rad: command not found


  return: Failure
thread 'add_information_about_triggered_run_to_database' panicked at /srv/http/6fddddb5-727f-4e69-bc0e-f8b27b176324/src/target/debug/build/radicle-ci-broker-223ba1a2697a8958/out/ci-broker.rs:3226:20:
called `Result::unwrap()` on an `Err` value: "expected exit code 0, but had Some(127)"

---- can_trigger_a_ci_run stdout ----
unknown: scenario: Can trigger a CI run
ci-broker.md:929:1:   step: given file radenv.sh
ci-broker.md:930:1:   step: given file setup-node.sh
ci-broker.md:931:1:   step: when I run bash radenv.sh bash setup-node.sh
Running `bash` with args ["radenv.sh", "bash", "setup-node.sh"]
Running in /tmp/subplotN17cjCan-trigger-a-CI-run
ENV: SHELL = /bin/sh
PATH: /home/_rad/.cargo/bin:/bin:/usr/bin:/sbin:/usr/sbin
Exit code: 127
Stdout:

Stderr:
+ mkdir -p /tmp/subplotN17cjCan-trigger-a-CI-run/homedir
+ rad auth --alias brokertest
setup-node.sh: line 7: rad: command not found


  return: Failure
thread 'can_trigger_a_ci_run' panicked at /srv/http/6fddddb5-727f-4e69-bc0e-f8b27b176324/src/target/debug/build/radicle-ci-broker-223ba1a2697a8958/out/ci-broker.rs:3092:20:
called `Result::unwrap()` on an `Err` value: "expected exit code 0, but had Some(127)"

---- events_can_be_queued_and_removed_from_queue stdout ----
unknown: scenario: Events can be queued and removed from queue
ci-broker.md:876:1:   step: given file radenv.sh
ci-broker.md:877:1:   step: given file setup-node.sh
ci-broker.md:878:1:   step: when I run bash radenv.sh bash setup-node.sh
Running `bash` with args ["radenv.sh", "bash", "setup-node.sh"]
Running in /tmp/subplotxcOS3Events-can-be-queued-and-removed-from-queue
ENV: SHELL = /bin/sh
PATH: /home/_rad/.cargo/bin:/bin:/usr/bin:/sbin:/usr/sbin
Exit code: 127
Stdout:

Stderr:
+ mkdir -p /tmp/subplotxcOS3Events-can-be-queued-and-removed-from-queue/homedir
+ rad auth --alias brokertest
setup-node.sh: line 7: rad: command not found


  return: Failure
thread 'events_can_be_queued_and_removed_from_queue' panicked at /srv/http/6fddddb5-727f-4e69-bc0e-f8b27b176324/src/target/debug/build/radicle-ci-broker-223ba1a2697a8958/out/ci-broker.rs:2904:20:
called `Result::unwrap()` on an `Err` value: "expected exit code 0, but had Some(127)"

---- adapter_can_provide_url_for_info_on_run stdout ----
unknown: scenario: Adapter can provide URL for info on run
ci-broker.md:313:1:   step: given file radenv.sh
ci-broker.md:314:1:   step: given file setup-node.sh
ci-broker.md:315:1:   step: when I run bash radenv.sh bash setup-node.sh
Running `bash` with args ["radenv.sh", "bash", "setup-node.sh"]
Running in /tmp/subplottyUd8Adapter-can-provide-URL-for-info-on-run
ENV: SHELL = /bin/sh
PATH: /home/_rad/.cargo/bin:/bin:/usr/bin:/sbin:/usr/sbin
Exit code: 127
Stdout:

Stderr:
+ mkdir -p /tmp/subplottyUd8Adapter-can-provide-URL-for-info-on-run/homedir
+ rad auth --alias brokertest
setup-node.sh: line 7: rad: command not found


  return: Failure
thread 'adapter_can_provide_url_for_info_on_run' panicked at /srv/http/6fddddb5-727f-4e69-bc0e-f8b27b176324/src/target/debug/build/radicle-ci-broker-223ba1a2697a8958/out/ci-broker.rs:786:20:
called `Result::unwrap()` on an `Err` value: "expected exit code 0, but had Some(127)"

---- don_t_insert_events_into_queue_when_not_allowed_by_filter stdout ----
unknown: scenario: Don't insert events into queue when not allowed by filter
ci-broker.md:714:1:   step: given file radenv.sh
ci-broker.md:715:1:   step: given file setup-node.sh
ci-broker.md:716:1:   step: when I run bash radenv.sh bash setup-node.sh
Running `bash` with args ["radenv.sh", "bash", "setup-node.sh"]
Running in /tmp/subplotwkSQbDon-t-insert-events-into-queue-when-not-allowed-by-filter
ENV: SHELL = /bin/sh
PATH: /home/_rad/.cargo/bin:/bin:/usr/bin:/sbin:/usr/sbin
Exit code: 127
Stdout:

Stderr:
+ mkdir -p /tmp/subplotwkSQbDon-t-insert-events-into-queue-when-not-allowed-by-filter/homedir
+ rad auth --alias brokertest
setup-node.sh: line 7: rad: command not found


  return: Failure
thread 'don_t_insert_events_into_queue_when_not_allowed_by_filter' panicked at /srv/http/6fddddb5-727f-4e69-bc0e-f8b27b176324/src/target/debug/build/radicle-ci-broker-223ba1a2697a8958/out/ci-broker.rs:2418:20:
called `Result::unwrap()` on an `Err` value: "expected exit code 0, but had Some(127)"

---- add_information_about_run_that_s_finished_successfully_to_database stdout ----
unknown: scenario: Add information about run that's finished successfully to database
ci-broker.md:999:1:   step: given file radenv.sh
ci-broker.md:1000:1:   step: given file setup-node.sh
ci-broker.md:1001:1:   step: when I run bash radenv.sh bash setup-node.sh
Running `bash` with args ["radenv.sh", "bash", "setup-node.sh"]
Running in /tmp/subplot3nTEjAdd-information-about-run-that-s-finished-successfully-to-database
ENV: SHELL = /bin/sh
PATH: /home/_rad/.cargo/bin:/bin:/usr/bin:/sbin:/usr/sbin
Exit code: 127
Stdout:

Stderr:
+ mkdir -p /tmp/subplot3nTEjAdd-information-about-run-that-s-finished-successfully-to-database/homedir
+ rad auth --alias brokertest
setup-node.sh: line 7: rad: command not found


  return: Failure
thread 'add_information_about_run_that_s_finished_successfully_to_database' panicked at /srv/http/6fddddb5-727f-4e69-bc0e-f8b27b176324/src/target/debug/build/radicle-ci-broker-223ba1a2697a8958/out/ci-broker.rs:3503:20:
called `Result::unwrap()` on an `Err` value: "expected exit code 0, but had Some(127)"

---- add_information_about_run_that_s_running_to_database stdout ----
unknown: scenario: Add information about run that's running to database
ci-broker.md:974:1:   step: given file radenv.sh
ci-broker.md:975:1:   step: given file setup-node.sh
ci-broker.md:976:1:   step: when I run bash radenv.sh bash setup-node.sh
Running `bash` with args ["radenv.sh", "bash", "setup-node.sh"]
Running in /tmp/subplot3AIYUAdd-information-about-run-that-s-running-to-database
ENV: SHELL = /bin/sh
PATH: /home/_rad/.cargo/bin:/bin:/usr/bin:/sbin:/usr/sbin
Exit code: 127
Stdout:

Stderr:
+ mkdir -p /tmp/subplot3AIYUAdd-information-about-run-that-s-running-to-database/homedir
+ rad auth --alias brokertest
setup-node.sh: line 7: rad: command not found


  return: Failure
thread 'add_information_about_run_that_s_running_to_database' panicked at /srv/http/6fddddb5-727f-4e69-bc0e-f8b27b176324/src/target/debug/build/radicle-ci-broker-223ba1a2697a8958/out/ci-broker.rs:3360:20:
called `Result::unwrap()` on an `Err` value: "expected exit code 0, but had Some(127)"

---- acceptance_criteria_for_upgrades stdout ----
unknown: scenario: Acceptance criteria for upgrades
ci-broker.md:1274:1:   step: given file radenv.sh
ci-broker.md:1275:1:   step: given file setup-node.sh
ci-broker.md:1276:1:   step: when I run bash radenv.sh bash setup-node.sh
Running `bash` with args ["radenv.sh", "bash", "setup-node.sh"]
Running in /tmp/subplotSaZMMAcceptance-criteria-for-upgrades
ENV: SHELL = /bin/sh
PATH: /home/_rad/.cargo/bin:/bin:/usr/bin:/sbin:/usr/sbin
Exit code: 127
Stdout:

Stderr:
+ mkdir -p /tmp/subplotSaZMMAcceptance-criteria-for-upgrades/homedir
+ rad auth --alias brokertest
setup-node.sh: line 7: rad: command not found


  return: Failure
thread 'acceptance_criteria_for_upgrades' panicked at /srv/http/6fddddb5-727f-4e69-bc0e-f8b27b176324/src/target/debug/build/radicle-ci-broker-223ba1a2697a8958/out/ci-broker.rs:4740:20:
called `Result::unwrap()` on an `Err` value: "expected exit code 0, but had Some(127)"

---- gives_helpful_error_message_if_it_doesn_t_understand_its_configuration_file stdout ----
unknown: scenario: Gives helpful error message if it doesn't understand its configuration file
ci-broker.md:381:1:   step: given file radenv.sh
ci-broker.md:382:1:   step: given file setup-node.sh
ci-broker.md:383:1:   step: when I run bash radenv.sh bash setup-node.sh
Running `bash` with args ["radenv.sh", "bash", "setup-node.sh"]
Running in /tmp/subplotba8ELGives-helpful-error-message-if-it-doesn-t-understand-its-configuration-file
ENV: SHELL = /bin/sh
PATH: /home/_rad/.cargo/bin:/bin:/usr/bin:/sbin:/usr/sbin
Exit code: 127
Stdout:

Stderr:
+ mkdir -p /tmp/subplotba8ELGives-helpful-error-message-if-it-doesn-t-understand-its-configuration-file/homedir
+ rad auth --alias brokertest
setup-node.sh: line 7: rad: command not found


  return: Failure
thread 'gives_helpful_error_message_if_it_doesn_t_understand_its_configuration_file' panicked at /srv/http/6fddddb5-727f-4e69-bc0e-f8b27b176324/src/target/debug/build/radicle-ci-broker-223ba1a2697a8958/out/ci-broker.rs:1021:20:
called `Result::unwrap()` on an `Err` value: "expected exit code 0, but had Some(127)"

---- gives_helpful_error_message_if_node_socket_can_t_be_found stdout ----
unknown: scenario: Gives helpful error message if node socket can't be found
ci-broker.md:353:1:   step: given file radenv.sh
ci-broker.md:354:1:   step: given file setup-node.sh
ci-broker.md:355:1:   step: when I run bash radenv.sh bash setup-node.sh
Running `bash` with args ["radenv.sh", "bash", "setup-node.sh"]
Running in /tmp/subplot8HmmcGives-helpful-error-message-if-node-socket-can-t-be-found
ENV: SHELL = /bin/sh
PATH: /home/_rad/.cargo/bin:/bin:/usr/bin:/sbin:/usr/sbin
Exit code: 127
Stdout:

Stderr:
+ mkdir -p /tmp/subplot8HmmcGives-helpful-error-message-if-node-socket-can-t-be-found/homedir
+ rad auth --alias brokertest
setup-node.sh: line 7: rad: command not found


  return: Failure
thread 'gives_helpful_error_message_if_node_socket_can_t_be_found' panicked at /srv/http/6fddddb5-727f-4e69-bc0e-f8b27b176324/src/target/debug/build/radicle-ci-broker-223ba1a2697a8958/out/ci-broker.rs:895:20:
called `Result::unwrap()` on an `Err` value: "expected exit code 0, but had Some(127)"

---- insert_events_into_queue stdout ----
unknown: scenario: Insert events into queue
ci-broker.md:655:1:   step: given file radenv.sh
ci-broker.md:656:1:   step: given file setup-node.sh
ci-broker.md:657:1:   step: when I run bash radenv.sh bash setup-node.sh
Running `bash` with args ["radenv.sh", "bash", "setup-node.sh"]
Running in /tmp/subplotYn8hUInsert-events-into-queue
ENV: SHELL = /bin/sh
PATH: /home/_rad/.cargo/bin:/bin:/usr/bin:/sbin:/usr/sbin
Exit code: 127
Stdout:

Stderr:
+ mkdir -p /tmp/subplotYn8hUInsert-events-into-queue/homedir
+ rad auth --alias brokertest
setup-node.sh: line 7: rad: command not found


  return: Failure
thread 'insert_events_into_queue' panicked at /srv/http/6fddddb5-727f-4e69-bc0e-f8b27b176324/src/target/debug/build/radicle-ci-broker-223ba1a2697a8958/out/ci-broker.rs:2098:20:
called `Result::unwrap()` on an `Err` value: "expected exit code 0, but had Some(127)"

---- insert_many_events_into_queue stdout ----
unknown: scenario: Insert many events into queue
ci-broker.md:684:1:   step: given file radenv.sh
ci-broker.md:685:1:   step: given file setup-node.sh
ci-broker.md:686:1:   step: when I run bash radenv.sh bash setup-node.sh
Running `bash` with args ["radenv.sh", "bash", "setup-node.sh"]
Running in /tmp/subplotL8BrsInsert-many-events-into-queue
ENV: SHELL = /bin/sh
PATH: /home/_rad/.cargo/bin:/bin:/usr/bin:/sbin:/usr/sbin
Exit code: 127
Stdout:

Stderr:
+ mkdir -p /tmp/subplotL8BrsInsert-many-events-into-queue/homedir
+ rad auth --alias brokertest
setup-node.sh: line 7: rad: command not found


  return: Failure
thread 'insert_many_events_into_queue' panicked at /srv/http/6fddddb5-727f-4e69-bc0e-f8b27b176324/src/target/debug/build/radicle-ci-broker-223ba1a2697a8958/out/ci-broker.rs:2256:20:
called `Result::unwrap()` on an `Err` value: "expected exit code 0, but had Some(127)"

---- logs_adapter_stderr_output stdout ----
unknown: scenario: Logs adapter stderr output
ci-broker.md:494:1:   step: given file radenv.sh
ci-broker.md:495:1:   step: given file setup-node.sh
ci-broker.md:496:1:   step: when I run bash radenv.sh bash setup-node.sh
Running `bash` with args ["radenv.sh", "bash", "setup-node.sh"]
Running in /tmp/subplotFl32fLogs-adapter-stderr-output
ENV: SHELL = /bin/sh
PATH: /home/_rad/.cargo/bin:/bin:/usr/bin:/sbin:/usr/sbin
Exit code: 127
Stdout:

Stderr:
+ mkdir -p /tmp/subplotFl32fLogs-adapter-stderr-output/homedir
+ rad auth --alias brokertest
setup-node.sh: line 7: rad: command not found


  return: Failure
thread 'logs_adapter_stderr_output' panicked at /srv/http/6fddddb5-727f-4e69-bc0e-f8b27b176324/src/target/debug/build/radicle-ci-broker-223ba1a2697a8958/out/ci-broker.rs:1596:20:
called `Result::unwrap()` on an `Err` value: "expected exit code 0, but had Some(127)"

---- logs_start_and_successful_end stdout ----
unknown: scenario: Logs start and successful end
ci-broker.md:1164:1:   step: given file radenv.sh
ci-broker.md:1165:1:   step: given file setup-node.sh
ci-broker.md:1166:1:   step: when I run bash radenv.sh bash setup-node.sh
Running `bash` with args ["radenv.sh", "bash", "setup-node.sh"]
Running in /tmp/subplothHFZSLogs-start-and-successful-end
ENV: SHELL = /bin/sh
PATH: /home/_rad/.cargo/bin:/bin:/usr/bin:/sbin:/usr/sbin
Exit code: 127
Stdout:

Stderr:
+ mkdir -p /tmp/subplothHFZSLogs-start-and-successful-end/homedir
+ rad auth --alias brokertest
setup-node.sh: line 7: rad: command not found


  return: Failure
thread 'logs_start_and_successful_end' panicked at /srv/http/6fddddb5-727f-4e69-bc0e-f8b27b176324/src/target/debug/build/radicle-ci-broker-223ba1a2697a8958/out/ci-broker.rs:4343:20:
called `Result::unwrap()` on an `Err` value: "expected exit code 0, but had Some(127)"

---- process_queued_events stdout ----
unknown: scenario: Process queued events
ci-broker.md:748:1:   step: given file radenv.sh
ci-broker.md:749:1:   step: given file setup-node.sh
ci-broker.md:750:1:   step: when I run bash radenv.sh bash setup-node.sh
Running `bash` with args ["radenv.sh", "bash", "setup-node.sh"]
Running in /tmp/subplotVXEWwProcess-queued-events
ENV: SHELL = /bin/sh
PATH: /home/_rad/.cargo/bin:/bin:/usr/bin:/sbin:/usr/sbin
Exit code: 127
Stdout:

Stderr:
+ mkdir -p /tmp/subplotVXEWwProcess-queued-events/homedir
+ rad auth --alias brokertest
setup-node.sh: line 7: rad: command not found


  return: Failure
thread 'process_queued_events' panicked at /srv/http/6fddddb5-727f-4e69-bc0e-f8b27b176324/src/target/debug/build/radicle-ci-broker-223ba1a2697a8958/out/ci-broker.rs:2667:20:
called `Result::unwrap()` on an `Err` value: "expected exit code 0, but had Some(127)"

---- produces_a_report_page_upon_request stdout ----
unknown: scenario: Produces a report page upon request
ci-broker.md:466:1:   step: given file radenv.sh
ci-broker.md:467:1:   step: given file setup-node.sh
ci-broker.md:468:1:   step: when I run bash radenv.sh bash setup-node.sh
Running `bash` with args ["radenv.sh", "bash", "setup-node.sh"]
Running in /tmp/subplotkRb8sProduces-a-report-page-upon-request
ENV: SHELL = /bin/sh
PATH: /home/_rad/.cargo/bin:/bin:/usr/bin:/sbin:/usr/sbin
Exit code: 127
Stdout:

Stderr:
+ mkdir -p /tmp/subplotkRb8sProduces-a-report-page-upon-request/homedir
+ rad auth --alias brokertest
setup-node.sh: line 7: rad: command not found


  return: Failure
thread 'produces_a_report_page_upon_request' panicked at /srv/http/6fddddb5-727f-4e69-bc0e-f8b27b176324/src/target/debug/build/radicle-ci-broker-223ba1a2697a8958/out/ci-broker.rs:1416:20:
called `Result::unwrap()` on an `Err` value: "expected exit code 0, but had Some(127)"

---- produces_a_json_status_file stdout ----
unknown: scenario: Produces a JSON status file
ci-broker.md:1221:1:   step: given file radenv.sh
ci-broker.md:1222:1:   step: given file setup-node.sh
ci-broker.md:1223:1:   step: when I run bash radenv.sh bash setup-node.sh
Running `bash` with args ["radenv.sh", "bash", "setup-node.sh"]
Running in /tmp/subplotsuvtxProduces-a-JSON-status-file
ENV: SHELL = /bin/sh
PATH: /home/_rad/.cargo/bin:/bin:/usr/bin:/sbin:/usr/sbin
Exit code: 127
Stdout:

Stderr:
+ mkdir -p /tmp/subplotsuvtxProduces-a-JSON-status-file/homedir
+ rad auth --alias brokertest
setup-node.sh: line 7: rad: command not found


  return: Failure
thread 'produces_a_json_status_file' panicked at /srv/http/6fddddb5-727f-4e69-bc0e-f8b27b176324/src/target/debug/build/radicle-ci-broker-223ba1a2697a8958/out/ci-broker.rs:4544:20:
called `Result::unwrap()` on an `Err` value: "expected exit code 0, but had Some(127)"

---- reports_it_version stdout ----
unknown: scenario: Reports it version
ci-broker.md:283:1:   step: given file radenv.sh
ci-broker.md:284:1:   step: given file setup-node.sh
ci-broker.md:285:1:   step: when I run bash radenv.sh bash setup-node.sh
Running `bash` with args ["radenv.sh", "bash", "setup-node.sh"]
Running in /tmp/subplotSNLpaReports-it-version
ENV: SHELL = /bin/sh
PATH: /home/_rad/.cargo/bin:/bin:/usr/bin:/sbin:/usr/sbin
Exit code: 127
Stdout:

Stderr:
+ mkdir -p /tmp/subplotSNLpaReports-it-version/homedir
+ rad auth --alias brokertest
setup-node.sh: line 7: rad: command not found


  return: Failure
thread 'reports_it_version' panicked at /srv/http/6fddddb5-727f-4e69-bc0e-f8b27b176324/src/target/debug/build/radicle-ci-broker-223ba1a2697a8958/out/ci-broker.rs:577:20:
called `Result::unwrap()` on an `Err` value: "expected exit code 0, but had Some(127)"

---- we_can_run_rad stdout ----
unknown: scenario: We can run rad
ci-broker.md:534:1:   step: given file radenv.sh
ci-broker.md:535:1:   step: when I run bash radenv.sh rad --version
Running `bash` with args ["radenv.sh", "rad", "--version"]
Running in /tmp/subplotkiuoaWe-can-run-rad
ENV: SHELL = /bin/sh
PATH: /home/_rad/.cargo/bin:/bin:/usr/bin:/sbin:/usr/sbin
Exit code: 127
Stdout:

Stderr:
env: ‘rad’: No such file or directory


  return: Failure
thread 'we_can_run_rad' panicked at /srv/http/6fddddb5-727f-4e69-bc0e-f8b27b176324/src/target/debug/build/radicle-ci-broker-223ba1a2697a8958/out/ci-broker.rs:1644:20:
called `Result::unwrap()` on an `Err` value: "expected exit code 0, but had Some(127)"

---- shuts_down_when_requested stdout ----
unknown: scenario: Shuts down when requested
ci-broker.md:440:1:   step: given file radenv.sh
ci-broker.md:441:1:   step: given file setup-node.sh
ci-broker.md:442:1:   step: when I run bash radenv.sh bash setup-node.sh
Running `bash` with args ["radenv.sh", "bash", "setup-node.sh"]
Running in /tmp/subplotW1zf5Shuts-down-when-requested
ENV: SHELL = /bin/sh
PATH: /home/_rad/.cargo/bin:/bin:/usr/bin:/sbin:/usr/sbin
Exit code: 127
Stdout:

Stderr:
+ mkdir -p /tmp/subplotW1zf5Shuts-down-when-requested/homedir
+ rad auth --alias brokertest
setup-node.sh: line 7: rad: command not found


  return: Failure
thread 'shuts_down_when_requested' panicked at /srv/http/6fddddb5-727f-4e69-bc0e-f8b27b176324/src/target/debug/build/radicle-ci-broker-223ba1a2697a8958/out/ci-broker.rs:1294:20:
called `Result::unwrap()` on an `Err` value: "expected exit code 0, but had Some(127)"

---- smoke_test__runs_adapter stdout ----
unknown: scenario: Smoke test: Runs adapter
ci-broker.md:243:1:   step: given file radenv.sh
ci-broker.md:244:1:   step: given file setup-node.sh
ci-broker.md:245:1:   step: when I run bash radenv.sh bash setup-node.sh
Running `bash` with args ["radenv.sh", "bash", "setup-node.sh"]
Running in /tmp/subplotTX2IwSmoke-test--Runs-adapter
ENV: SHELL = /bin/sh
PATH: /home/_rad/.cargo/bin:/bin:/usr/bin:/sbin:/usr/sbin
Exit code: 127
Stdout:

Stderr:
+ mkdir -p /tmp/subplotTX2IwSmoke-test--Runs-adapter/homedir
+ rad auth --alias brokertest
setup-node.sh: line 7: rad: command not found


  return: Failure
thread 'smoke_test__runs_adapter' panicked at /srv/http/6fddddb5-727f-4e69-bc0e-f8b27b176324/src/target/debug/build/radicle-ci-broker-223ba1a2697a8958/out/ci-broker.rs:462:20:
called `Result::unwrap()` on an `Err` value: "expected exit code 0, but had Some(127)"

---- stops_if_the_node_connection_breaks stdout ----
unknown: scenario: Stops if the node connection breaks
ci-broker.md:411:1:   step: given file radenv.sh
ci-broker.md:412:1:   step: given file setup-node.sh
ci-broker.md:413:1:   step: when I run bash radenv.sh bash setup-node.sh
Running `bash` with args ["radenv.sh", "bash", "setup-node.sh"]
Running in /tmp/subplotOQ60iStops-if-the-node-connection-breaks
ENV: SHELL = /bin/sh
PATH: /home/_rad/.cargo/bin:/bin:/usr/bin:/sbin:/usr/sbin
Exit code: 127
Stdout:

Stderr:
+ mkdir -p /tmp/subplotOQ60iStops-if-the-node-connection-breaks/homedir
+ rad auth --alias brokertest
setup-node.sh: line 7: rad: command not found


  return: Failure
thread 'stops_if_the_node_connection_breaks' panicked at /srv/http/6fddddb5-727f-4e69-bc0e-f8b27b176324/src/target/debug/build/radicle-ci-broker-223ba1a2697a8958/out/ci-broker.rs:1139:20:
called `Result::unwrap()` on an `Err` value: "expected exit code 0, but had Some(127)"

---- update_and_show_information_about_run_to_running stdout ----
unknown: scenario: Update and show information about run to running
ci-broker.md:1051:1:   step: given file radenv.sh
ci-broker.md:1052:1:   step: given file setup-node.sh
ci-broker.md:1053:1:   step: when I run bash radenv.sh bash setup-node.sh
Running `bash` with args ["radenv.sh", "bash", "setup-node.sh"]
Running in /tmp/subplotZJiQKUpdate-and-show-information-about-run-to-running
ENV: SHELL = /bin/sh
PATH: /home/_rad/.cargo/bin:/bin:/usr/bin:/sbin:/usr/sbin
Exit code: 127
Stdout:

Stderr:
+ mkdir -p /tmp/subplotZJiQKUpdate-and-show-information-about-run-to-running/homedir
+ rad auth --alias brokertest
setup-node.sh: line 7: rad: command not found


  return: Failure
thread 'update_and_show_information_about_run_to_running' panicked at /srv/http/6fddddb5-727f-4e69-bc0e-f8b27b176324/src/target/debug/build/radicle-ci-broker-223ba1a2697a8958/out/ci-broker.rs:4013:20:
called `Result::unwrap()` on an `Err` value: "expected exit code 0, but had Some(127)"

---- don_t_insert_event_for_non_existent_repository stdout ----
unknown: scenario: Don't insert event for non-existent repository
ci-broker.md:1101:1:   step: given file radenv.sh
ci-broker.md:1102:1:   step: given file setup-node.sh
ci-broker.md:1103:1:   step: when I run bash radenv.sh bash setup-node.sh
Running `bash` with args ["radenv.sh", "bash", "setup-node.sh"]
Running in /tmp/subplotM3PomDon-t-insert-event-for-non-existent-repository
ENV: SHELL = /bin/sh
PATH: /home/_rad/.cargo/bin:/bin:/usr/bin:/sbin:/usr/sbin
Exit code: 127
Stdout:

Stderr:
+ mkdir -p /tmp/subplotM3PomDon-t-insert-event-for-non-existent-repository/homedir
+ rad auth --alias brokertest
setup-node.sh: line 7: rad: command not found


  return: Failure
thread 'don_t_insert_event_for_non_existent_repository' panicked at /srv/http/6fddddb5-727f-4e69-bc0e-f8b27b176324/src/target/debug/build/radicle-ci-broker-223ba1a2697a8958/out/ci-broker.rs:4186:20:
called `Result::unwrap()` on an `Err` value: "expected exit code 0, but had Some(127)"

---- logs_termination_due_to_error stdout ----
unknown: scenario: Logs termination due to error
ci-broker.md:1195:1:   step: given an installed cib
ci-broker.md:1197:1:   step: given file broker.yaml
ci-broker.md:1198:1:   step: when I try to run cib --config broker.yaml queued
Running `cib` with args ["--config", "broker.yaml", "queued"]
Running in /tmp/subplotJ5WKJLogs-termination-due-to-error
ENV: SHELL = /bin/sh
PATH: /srv/http/6fddddb5-727f-4e69-bc0e-f8b27b176324/src/target/debug:/home/_rad/.cargo/bin:/bin:/usr/bin:/sbin:/usr/sbin
Exit code: 101
Stdout:

Stderr:
{"msg":"CI broker starts","level":"INFO","ts":"2024-09-02T07:57:25.437509544Z","version":"5532037"}
{"msg":"loaded configuration Config {\n    default_adapter: \"mcadapterface\",\n    adapters: {\n        \"mcadapterface\": Adapter { \n         command: \"./adapter.sh\", \n         env: {\n            \"RADICLE_NATIVE_CI\": \"native-ci.yaml\",\n        }, \n         sensitive_env: {} },\n    },\n    filters: [\n        Branch(\n            \"main\",\n        ),\n    ],\n    report_dir: Some(\n        \"reports\",\n    ),\n    status_update_interval_seconds: None,\n    db: \"ci-broker.db\",\n}","level":"DEBG","ts":"2024-09-02T07:57:25.438178666Z"}
{"msg":"broker database: ci-broker.db","level":"INFO","ts":"2024-09-02T07:57:25.441431681Z"}
{"msg":"default adapter: Adapter { bin: \"./adapter.sh\", env: {\"RADICLE_NATIVE_CI\": \"native-ci.yaml\"} }","level":"DEBG","ts":"2024-09-02T07:57:25.591157563Z"}
{"msg":"start thread to process events until a shutdown event","level":"INFO","ts":"2024-09-02T07:57:25.594363299Z"}
{"msg":"queue in db has 0 events","level":"DEBG","ts":"2024-09-02T07:57:25.594510639Z"}
{"msg":"queue in db has 0 events","level":"DEBG","ts":"2024-09-02T07:57:25.594574249Z"}
{"msg":"event notification channel disconnected","level":"INFO","ts":"2024-09-02T07:57:25.594603819Z"}
{"msg":"thread to process events ends","level":"INFO","ts":"2024-09-02T07:57:25.594629129Z"}
{"msg":"broker database has 0 CI runs","level":"DEBG","ts":"2024-09-02T07:57:25.59491757Z"}
{"msg":"start page updater thread","level":"INFO","ts":"2024-09-02T07:57:25.59494722Z"}
{"msg":"wait about 60 seconds to update HTML report pages again","level":"INFO","ts":"2024-09-02T07:57:25.5949707Z"}
thread 'main' panicked at src/bin/cib.rs:180:14:
page updater thread succeeded: Write("reports/index.html", Os { code: 2, kind: NotFound, message: "No such file or directory" })
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace


ci-broker.md:1200:1:   step: then stderr contains "CI broker starts"
ci-broker.md:1201:1:   step: then stderr contains "CI broker ends in unrecoverable error"
  return: Failure
thread 'logs_termination_due_to_error' panicked at /srv/http/6fddddb5-727f-4e69-bc0e-f8b27b176324/src/target/debug/build/radicle-ci-broker-223ba1a2697a8958/out/ci-broker.rs:4409:20:
called `Result::unwrap()` on an `Err` value: "stderr does not contain \"CI broker ends in unrecoverable error\""


failures:
    acceptance_criteria_for_upgrades
    adapter_can_provide_url_for_info_on_run
    add_information_about_run_that_s_finished_in_failure_to_database
    add_information_about_run_that_s_finished_successfully_to_database
    add_information_about_run_that_s_running_to_database
    add_information_about_triggered_run_to_database
    can_trigger_a_ci_run
    don_t_insert_event_for_non_existent_repository
    don_t_insert_events_into_queue_when_not_allowed_by_filter
    events_can_be_queued_and_removed_from_queue
    gives_helpful_error_message_if_it_doesn_t_understand_its_configuration_file
    gives_helpful_error_message_if_node_socket_can_t_be_found
    insert_events_into_queue
    insert_many_events_into_queue
    logs_adapter_stderr_output
    logs_start_and_successful_end
    logs_termination_due_to_error
    process_queued_events
    produces_a_json_status_file
    produces_a_report_page_upon_request
    reports_it_version
    shuts_down_when_requested
    smoke_test__runs_adapter
    stops_if_the_node_connection_breaks
    update_and_show_information_about_run_to_running
    we_can_run_rad

test result: FAILED. 7 passed; 26 failed; 0 ignored; 0 measured; 0 filtered out; finished in 50.14s

error: test failed, to rerun pass `--test subplot`
   Doc-tests radicle_ci_broker

running 2 tests
test src/msg.rs - msg::RunId (line 44) ... ok
test src/event.rs - event (line 11) ... ok

test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.57s

error: 1 target failed:
    `--test subplot`