Log from Radicle native CI

Request message

{
  "request": "trigger",
  "version": 1,
  "event_type": "patch",
  "repository": {
    "id": "rad:zwTxygwuz5LDGBq255RA2CbNGrz8",
    "name": "radicle-ci-broker",
    "description": "Radicle CI broker",
    "private": false,
    "default_branch": "main",
    "delegates": [
      "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV",
      "did:key:z6MksFqXN3Yhqk8pTJdUGLwATkRfQvwZXPqR2qMEhbS9wzpT"
    ]
  },
  "action": "Updated",
  "patch": {
    "id": "5272776f5bcbde7922ad049e39b142a6f752d15f",
    "author": {
      "id": "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV",
      "alias": "liw"
    },
    "title": "feat: log adapter stderr output",
    "state": {
      "status": "open",
      "conflicts": []
    },
    "before": "dd043e01544de42afd1245441f6bf83a4dab7ba7",
    "after": "58ceb33620b9b2dbeb8642f3cbf70b85d167d1ca",
    "commits": [
      "58ceb33620b9b2dbeb8642f3cbf70b85d167d1ca",
      "609e33c13ba03f6e9998e0a9eb9fafe91753bc7c"
    ],
    "target": "dd043e01544de42afd1245441f6bf83a4dab7ba7",
    "labels": [],
    "assignees": [],
    "revisions": [
      {
        "id": "5272776f5bcbde7922ad049e39b142a6f752d15f",
        "author": {
          "id": "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV",
          "alias": "liw"
        },
        "description": "The CI broker now logs the standard error output of the adapter, and\nthe adapter exit status, to the broker's own log. The log messages\nlook like this:\n\n  {\"msg\":\"adapter exit code\",\"level\":\"DEBG\",\"ts\":\"2024-08-27T17:38:26.762222386Z\",\"exit_code\":1}\n  {\"msg\":\"adapter stderr\",\"level\":\"DEBG\",\"ts\":\"2024-08-27T17:38:26.762289242Z\",\"stderr\":\"woe be me\\n\"}",
        "base": "dd043e01544de42afd1245441f6bf83a4dab7ba7",
        "oid": "38dbe1c77935de303bd46ebce3792ce8c647668d",
        "timestamp": 1724780715
      },
      {
        "id": "a1bb8c89d2a4f2c99cb4e39eab6a72eb6a4e1bb0",
        "author": {
          "id": "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV",
          "alias": "liw"
        },
        "description": "Split adapter stderr output into lines",
        "base": "dd043e01544de42afd1245441f6bf83a4dab7ba7",
        "oid": "58ceb33620b9b2dbeb8642f3cbf70b85d167d1ca",
        "timestamp": 1724826705
      }
    ]
  }
}

.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/aebd2058-4611-4c64-873e-dffab9ffc2bb/src

Command arguments:

In directory: /

Exit code: 0

Output (stdout and stderr):

Cloning into '/srv/http/aebd2058-4611-4c64-873e-dffab9ffc2bb/src'...
done.

Run: git config advice.detachedHead false

Command arguments:

In directory: /srv/http/aebd2058-4611-4c64-873e-dffab9ffc2bb/src

Exit code: 0

Run: git checkout 58ceb33620b9b2dbeb8642f3cbf70b85d167d1ca

Command arguments:

In directory: /srv/http/aebd2058-4611-4c64-873e-dffab9ffc2bb/src

Exit code: 0

Output (stdout and stderr):

HEAD is now at 58ceb33 fix: typo in log message

Run: git show 58ceb33620b9b2dbeb8642f3cbf70b85d167d1ca

Command arguments:

In directory: /srv/http/aebd2058-4611-4c64-873e-dffab9ffc2bb/src

Exit code: 0

Output (stdout and stderr):

commit 58ceb33620b9b2dbeb8642f3cbf70b85d167d1ca
Author: Lars Wirzenius <liw@liw.fi>
Date:   Tue Aug 27 20:32:47 2024 +0300

    fix: typo in log message
    
    Signed-off-by: Lars Wirzenius <liw@liw.fi>

diff --git a/src/logger.rs b/src/logger.rs
index f834fca..8643087 100644
--- a/src/logger.rs
+++ b/src/logger.rs
@@ -205,7 +205,7 @@ pub fn adapter_result(exit: Option<i32>, stderr: &str) {
     if let Some(exit) = exit {
         debug!(slog_scope::logger(), "adapter exit code"; "exit_code" => exit);
     } else {
-        debug!(slog_scope::logger(), "adapter wast terminated by signal");
+        debug!(slog_scope::logger(), "adapter was terminated by signal");
     }
     for line in stderr.lines() {
         debug!(slog_scope::logger(), "adapter stderr"; "stderr" => line);

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

running 40 tests
{"msg":"broker database: /tmp/.tmpvPbafB/db.db","level":"INFO","ts":"2024-08-28T06:32:58.429486183Z"}
{"msg":"broker database: /tmp/.tmpWxPikC/db.db","level":"INFO","ts":"2024-08-28T06:32:58.429612833Z"}
{"msg":"broker database: /tmp/.tmpEyc6Bx/db.db","level":"INFO","ts":"2024-08-28T06:32:58.429682523Z"}
{"msg":"broker database: /tmp/.tmpQu8oE8/db.db","level":"INFO","ts":"2024-08-28T06:32:58.429749164Z"}
test broker::test::does_not_have_a_default_adapter_initially ... ok
test broker::test::adds_adapter ... ok
{"msg":"broker database: /tmp/.tmp34Vd71/db.db","level":"INFO"test broker::test::does_not_find_unknown_repo ... ,"ts":"2024-08-28T06:32:58.676850283Z"}
ok
{"msg":"broker database: /tmp/.tmptVmqcy/db.db","level":"INFO","ts":"2024-08-28T06:32:58.677083853Z"}
{"msg":"broker database: /tmp/.tmpx3tNl7/db.db","level":"INFO","ts":"2024-08-28T06:32:58.677334754Z"}
test adapter::test::adapter_is_not_executable ... ok
{"msg":"broker database: /tmp/.tmp4yNtiI/db.db","level":"INFO","ts":"2024-08-28T06:32:58.734764185Z"}
{"msg":"adapter exit code","level":"DEBG","ts":"2024-08-28T06:32:58.736695579Z","exit_code":1}
{"msg":"adapter stderr","level":"DEBG","ts":"2024-08-28T06:32:58.736753969Z","stderr":"woe be me"}
test adapter::test::adapter_exits_nonzero ... 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
test event::test::test_parse_push_ref ... ok
test event::test_broker_event::name_for_branch ... ok
test event::test_broker_event::name_for_shutdown ... ok
test event::test_broker_event::nid_for_plain_branch_name ... ok
test event::test_broker_event::nid_for_ref_with_namespace ... ok
test event::test_broker_event::nid_for_ref_without_namespace ... ok
test event::test_parse_ref::namespaced_branch ... ok
{"msg":"adapter exit code","level":"DEBG","ts":"2024-08-28T06:32:58.751966018Z","exit_code":0}
{"msg":"adapter exit code","level":"DEBG","ts":"2024-08-28T06:32:58.752034158Z","exit_code":0}
test adapter::test::adapter_reports_failure ... ok
test adapter::test::adapter_reports_success ... ok
test event::test_parse_ref::namespaced_patch ... ok
test event::test_parse_ref::namespaced_branch_with_slashes ... ok
test event::test_parse_ref::plain_branch_name_is_none ... ok
test run::test::serialize_run_state ... ok
test adapter::test::adapter_has_bad_interpreter ... ok
test adapter::test::adapter_does_not_exist ... ok
{"msg":"no first response message","level":"ERRO","ts":"2024-08-28T06:32:58.776389996Z"}
{"msg":"no second response message","level":"ERRO","ts":"2024-08-28T06:32:58.776423876Z"}
{"msg":"adapter was terminated by signal","level":"DEBG","ts":"2024-08-28T06:32:58.776452936Z"}
{"msg":"adapter did not exit voluntarily","level":"WARN","ts":"2024-08-28T06:32:58.776476126Z"}
test adapter::test::adapter_is_killed_before_any_messages ... ok
{"msg":"too many response messages","level":"ERRO","ts":"2024-08-28T06:32:58.776805547Z"}
test adapter::test::adapter_first_message_isnt_triggered ... ok
test adapter::test::adapter_produces_as_bad_message ... ok
{"msg":"adapter was terminated by signal","level":"DEBG","ts":"2024-08-28T06:32:58.776955307Z"}
{"msg":"adapter did not exit voluntarily","level":"WARN","ts":"2024-08-28T06:32:58.776990457Z"}
test adapter::test::adapter_outputs_too_many_messages ... ok
test adapter::test::adapter_is_killed_after_second_message ... ok
{"msg":"no second response message","level":"ERRO","ts":"2024-08-28T06:32:58.777739869Z"}
{"msg":"adapter was terminated by signal","level":"DEBG","ts":"2024-08-28T06:32:58.777774499Z"}
{"msg":"adapter did not exit voluntarily","level":"WARN","ts":"2024-08-28T06:32:58.777797639Z"}
test adapter::test::adapter_is_killed_after_first_message ... ok
{"msg":"start CI run","level":"INFO","ts":"2024-08-28T06:32:58.78333898Z"}
{"msg":"trigger event: Trigger {\n    common: EventCommonFields {\n        version: 1,\n        event_type: Push,\n        repository: Repository {\n            id: RepoId(rad:z4Z1FcwyNnU91TEmM4Qyf7dLyJJBf),\n            name: \"acme\",\n            description: \"Acme's repository\",\n            private: false,\n            default_branch: \"master\",\n            delegates: [\n                Did(\"did:key:z6MkmCo8W9GrwnwKyMHCuqFkrY51HwE7Xyp3phScoLTL5B4J\"),\n            ],\n        },\n    },\n    push: Some(\n        PushEvent {\n            pusher: Author {\n                id: Did(\"did:key:z6MkmCo8W9GrwnwKyMHCuqFkrY51HwE7Xyp3phScoLTL5B4J\"),\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-08-28T06:32:58.78348007Z"}
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
test broker::test::sets_a_default_adapter_initially ... ok
{"msg":"adapter exit code","level":"DEBG","ts":"2024-08-28T06:32:59.011175182Z","exit_code":1}
{"msg":"adapter stderr","level":"DEBG","ts":"2024-08-28T06:32:59.011275872Z","stderr":"woe be me"}
{"msg":"start CI run","level":"INFO","ts":"2024-08-28T06:32:59.019110617Z"}
{"msg":"trigger event: Trigger {\n    common: EventCommonFields {\n        version: 1,\n        event_type: Push,\n        repository: Repository {\n            id: RepoId(rad:z42fMywd7rpNZJYBeyyV1KXWdqqdz),\n            name: \"acme\",\n            description: \"Acme's repository\",\n            private: false,\n            default_branch: \"master\",\n            delegates: [\n                Did(\"did:key:z6Mkh4S6fKyePS2Kw2MdqMLQzbtfS64nLRiFSQNBVxk8Vzpv\"),\n            ],\n        },\n    },\n    push: Some(\n        PushEvent {\n            pusher: Author {\n                id: Did(\"did:key:z6Mkh4S6fKyePS2Kw2MdqMLQzbtfS64nLRiFSQNBVxk8Vzpv\"),\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-08-28T06:32:59.019389677Z"}
{"msg":"failed to run adapter or it failed to run CI: child process failed with wait status 1","level":"ERRO","ts":"2024-08-28T06:32:59.069738385Z"}
{"msg":"Finish CI run","level":"INFO","ts":"2024-08-28T06:32:59.069824115Z"}
{"msg":"finished CI run: Run {\n    broker_run_id: RunId {\n        id: \"80b7f598-7907-4b9f-956d-dab0f95d9975\",\n    },\n    adapter_run_id: Some(\n        RunId {\n            id: \"xyzzy\",\n        },\n    ),\n    adapter_info_url: None,\n    repo_id: RepoId(rad:z4Z1FcwyNnU91TEmM4Qyf7dLyJJBf),\n    repo_name: \"acme\",\n    timestamp: \"2024-08-28 06:32:58Z\",\n    whence: Branch {\n        name: \"push-event-has-no-branch-name\",\n        commit: Oid(\n            532c92e4ec973d79c25652c581ae82d238e46a06,\n        ),\n        who: Some(\n            \"did:key:z6MkmCo8W9GrwnwKyMHCuqFkrY51HwE7Xyp3phScoLTL5B4J\",\n        ),\n    },\n    state: Finished,\n    result: Some(\n        Success,\n    ),\n}","level":"DEBG","ts":"2024-08-28T06:32:59.070105896Z"}
test broker::test::adapter_fails ... ok
{"msg":"adapter exit code","level":"DEBG","ts":"2024-08-28T06:32:59.198017184Z","exit_code":0}
{"msg":"Finish CI run","level":"INFO","ts":"2024-08-28T06:32:59.251106677Z"}
{"msg":"finished CI run: Run {\n    broker_run_id: RunId {\n        id: \"031b928d-935d-41c9-bebf-8f196af084a2\",\n    },\n    adapter_run_id: Some(\n        RunId {\n            id: \"xyzzy\",\n        },\n    ),\n    adapter_info_url: None,\n    repo_id: RepoId(rad:z42fMywd7rpNZJYBeyyV1KXWdqqdz),\n    repo_name: \"acme\",\n    timestamp: \"2024-08-28 06:32:59Z\",\n    whence: Branch {\n        name: \"push-event-has-no-branch-name\",\n        commit: Oid(\n            532c92e4ec973d79c25652c581ae82d238e46a06,\n        ),\n        who: Some(\n            \"did:key:z6Mkh4S6fKyePS2Kw2MdqMLQzbtfS64nLRiFSQNBVxk8Vzpv\",\n        ),\n    },\n    state: Finished,\n    result: Some(\n        Success,\n    ),\n}","level":"DEBG","ts":"2024-08-28T06:32:59.251326608Z"}
test broker::test::executes_adapter ... ok

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

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

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-43d6f7069a1c0cb1)

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-bdc28d0a8fcf3cb0)

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-abcd01b55d95e39c)

running 32 tests
test adapter_with_url_runs_successfully ... ok
test dummy_adapter_runs_successfully ... ok
test add_information_about_triggered_run_to_database ... FAILED
test add_information_about_run_that_s_finished_successfully_to_database ... FAILED
test gives_helpful_error_message_if_it_doesn_t_understand_its_configuration_file ... FAILED
test add_information_about_run_that_s_finished_in_failure_to_database ... FAILED
test don_t_insert_events_into_queue_when_not_allowed_by_filter ... FAILED
test can_trigger_a_ci_run ... FAILED
test don_t_insert_event_for_non_existent_repository ... FAILED
test add_information_about_run_that_s_running_to_database ... FAILED
test adapter_can_provide_url_for_info_on_run ... FAILED
test insert_events_into_queue ... FAILED
test gives_helpful_error_message_if_node_socket_can_t_be_found ... 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 reports_it_version ... FAILED
test we_can_run_rad ... FAILED
test produces_a_json_status_file ... FAILED
test produces_a_report_page_upon_request ... FAILED
test smoke_test__runs_adapter ... FAILED
test stops_if_the_node_connection_breaks ... FAILED
test shuts_down_when_requested ... FAILED
test update_and_show_information_about_run_to_running ... FAILED
test shows_config_as_json ... ok
test events_can_be_queued_and_removed_from_queue ... FAILED
test event_synthesizer_terminates_after_first_connection ... ok
test logs_termination_due_to_error ... FAILED
test can_add_shutdown_event_to_queue ... ok
test count_in_a_single_process has been running for over 60 seconds
test count_in_concurrent_processes has been running for over 60 seconds
test count_in_a_single_process ... ok
test count_in_concurrent_processes ... ok

failures:

---- 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/subplotLgLQyAdd-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/subplotLgLQyAdd-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/aebd2058-4611-4c64-873e-dffab9ffc2bb/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/out/ci-broker.rs:3237: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_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/subplotaInwtAdd-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/subplotaInwtAdd-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/aebd2058-4611-4c64-873e-dffab9ffc2bb/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/out/ci-broker.rs:3514: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:380:1:   step: given file radenv.sh
ci-broker.md:381:1:   step: given file setup-node.sh
ci-broker.md:382: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/subplotUsk9MGives-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/subplotUsk9MGives-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/aebd2058-4611-4c64-873e-dffab9ffc2bb/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/out/ci-broker.rs:1018:20:
called `Result::unwrap()` on an `Err` value: "expected exit code 0, but had Some(127)"

---- 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/subplotzqLftAdd-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/subplotzqLftAdd-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/aebd2058-4611-4c64-873e-dffab9ffc2bb/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/out/ci-broker.rs:3680: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/subplots1jSdDon-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/subplots1jSdDon-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/aebd2058-4611-4c64-873e-dffab9ffc2bb/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/out/ci-broker.rs:2429: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/subplotgFmy9Can-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/subplotgFmy9Can-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/aebd2058-4611-4c64-873e-dffab9ffc2bb/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/out/ci-broker.rs:3103: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/subplotk1MBvDon-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/subplotk1MBvDon-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/aebd2058-4611-4c64-873e-dffab9ffc2bb/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/out/ci-broker.rs:4197: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/subplothNCQ6Add-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/subplothNCQ6Add-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/aebd2058-4611-4c64-873e-dffab9ffc2bb/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/out/ci-broker.rs:3371: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:312:1:   step: given file radenv.sh
ci-broker.md:313:1:   step: given file setup-node.sh
ci-broker.md:314: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/subplot4J40GAdapter-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/subplot4J40GAdapter-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/aebd2058-4611-4c64-873e-dffab9ffc2bb/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/out/ci-broker.rs:783: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/subplotQjfV6Insert-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/subplotQjfV6Insert-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/aebd2058-4611-4c64-873e-dffab9ffc2bb/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/out/ci-broker.rs:2109: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:352:1:   step: given file radenv.sh
ci-broker.md:353:1:   step: given file setup-node.sh
ci-broker.md:354: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/subplot0xWwLGives-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/subplot0xWwLGives-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/aebd2058-4611-4c64-873e-dffab9ffc2bb/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/out/ci-broker.rs:892: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/subplot1qDYBInsert-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/subplot1qDYBInsert-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/aebd2058-4611-4c64-873e-dffab9ffc2bb/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/out/ci-broker.rs:2267: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:493:1:   step: given file radenv.sh
ci-broker.md:494:1:   step: given file setup-node.sh
ci-broker.md:495: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/subplotI2dTnLogs-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/subplotI2dTnLogs-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/aebd2058-4611-4c64-873e-dffab9ffc2bb/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/out/ci-broker.rs:1593: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/subplotsXhbwLogs-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/subplotsXhbwLogs-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/aebd2058-4611-4c64-873e-dffab9ffc2bb/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/out/ci-broker.rs:4354: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/subplotTLfUOProcess-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/subplotTLfUOProcess-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/aebd2058-4611-4c64-873e-dffab9ffc2bb/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/out/ci-broker.rs:2678: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:282:1:   step: given file radenv.sh
ci-broker.md:283:1:   step: given file setup-node.sh
ci-broker.md:284: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/subplotptwt4Reports-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/subplotptwt4Reports-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/aebd2058-4611-4c64-873e-dffab9ffc2bb/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/out/ci-broker.rs:574: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:533:1:   step: given file radenv.sh
ci-broker.md:534:1:   step: when I run bash radenv.sh rad --version
Running `bash` with args ["radenv.sh", "rad", "--version"]
Running in /tmp/subplotdm0wAWe-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/aebd2058-4611-4c64-873e-dffab9ffc2bb/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/out/ci-broker.rs:1641: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/subplotbjs2cProduces-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/subplotbjs2cProduces-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/aebd2058-4611-4c64-873e-dffab9ffc2bb/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/out/ci-broker.rs:4555: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:465:1:   step: given file radenv.sh
ci-broker.md:466:1:   step: given file setup-node.sh
ci-broker.md:467: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/subplot1SsskProduces-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/subplot1SsskProduces-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/aebd2058-4611-4c64-873e-dffab9ffc2bb/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/out/ci-broker.rs:1413: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:242:1:   step: given file radenv.sh
ci-broker.md:243:1:   step: given file setup-node.sh
ci-broker.md:244: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/subplotdMFqsSmoke-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/subplotdMFqsSmoke-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/aebd2058-4611-4c64-873e-dffab9ffc2bb/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/out/ci-broker.rs:459: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:410:1:   step: given file radenv.sh
ci-broker.md:411:1:   step: given file setup-node.sh
ci-broker.md:412: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/subplot69nRRStops-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/subplot69nRRStops-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/aebd2058-4611-4c64-873e-dffab9ffc2bb/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/out/ci-broker.rs:1136: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:439:1:   step: given file radenv.sh
ci-broker.md:440:1:   step: given file setup-node.sh
ci-broker.md:441: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/subplot52ISPShuts-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/subplot52ISPShuts-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/aebd2058-4611-4c64-873e-dffab9ffc2bb/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/out/ci-broker.rs:1291: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/subplotduCOSUpdate-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/subplotduCOSUpdate-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/aebd2058-4611-4c64-873e-dffab9ffc2bb/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/out/ci-broker.rs:4024: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/subplotSBKVoEvents-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/subplotSBKVoEvents-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/aebd2058-4611-4c64-873e-dffab9ffc2bb/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/out/ci-broker.rs:2915: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/subplotFrEI2Logs-termination-due-to-error
ENV: SHELL = /bin/sh
PATH: /srv/http/aebd2058-4611-4c64-873e-dffab9ffc2bb/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-08-28T06:32:59.280774634Z"}
{"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-08-28T06:32:59.281476716Z"}
{"msg":"broker database: ci-broker.db","level":"INFO","ts":"2024-08-28T06:32:59.284908222Z"}
{"msg":"default adapter: Adapter { bin: \"./adapter.sh\", env: {\"RADICLE_NATIVE_CI\": \"native-ci.yaml\"} }","level":"DEBG","ts":"2024-08-28T06:32:59.554121585Z"}
{"msg":"start thread to process events until a shutdown event","level":"INFO","ts":"2024-08-28T06:32:59.557378051Z"}
{"msg":"queue in db has 0 events","level":"DEBG","ts":"2024-08-28T06:32:59.557458681Z"}
{"msg":"queue in db has 0 events","level":"DEBG","ts":"2024-08-28T06:32:59.557511592Z"}
{"msg":"event notification channel disconnected","level":"INFO","ts":"2024-08-28T06:32:59.557538922Z"}
{"msg":"start thread to process events ends","level":"INFO","ts":"2024-08-28T06:32:59.557561172Z"}
{"msg":"broker database has 0 CI runs","level":"DEBG","ts":"2024-08-28T06:32:59.557801482Z"}
{"msg":"start page updater thread","level":"INFO","ts":"2024-08-28T06:32:59.557831022Z"}
{"msg":"wait about 60 seconds to update HTML report pages again","level":"INFO","ts":"2024-08-28T06:32:59.557855262Z"}
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/aebd2058-4611-4c64-873e-dffab9ffc2bb/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/out/ci-broker.rs:4420:20:
called `Result::unwrap()` on an `Err` value: "stderr does not contain \"CI broker ends in unrecoverable error\""


failures:
    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; 25 failed; 0 ignored; 0 measured; 0 filtered out; finished in 72.17s

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.69s

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