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": "e482918d9f0e13a66f5f576db32c55376dc55d5f",
    "author": {
      "id": "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV",
      "alias": "liw"
    },
    "title": "docs(README.md): add a list of known adatpers",
    "state": {
      "status": "open",
      "conflicts": []
    },
    "before": "17b7aef6a13686659d0edd59d4ffe9a6380f42e6",
    "after": "a2975ab6a4815d3dd4363766f72c03c8f0d27708",
    "commits": [
      "a2975ab6a4815d3dd4363766f72c03c8f0d27708"
    ],
    "target": "17b7aef6a13686659d0edd59d4ffe9a6380f42e6",
    "labels": [],
    "assignees": [],
    "revisions": [
      {
        "id": "e482918d9f0e13a66f5f576db32c55376dc55d5f",
        "author": {
          "id": "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV",
          "alias": "liw"
        },
        "description": "Signed-off-by: Lars Wirzenius <liw@liw.fi>",
        "base": "c7cbcb007157680803a4967365451105b27e6445",
        "oid": "0b284639b58b477c55e60775e1fd99cbfc9df00c",
        "timestamp": 1724659081
      },
      {
        "id": "2d71a5493de6ddcdb49c94265b148a590be97e30",
        "author": {
          "id": "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV",
          "alias": "liw"
        },
        "description": "Add link to radicle-ci-integrations-docs",
        "base": "c7cbcb007157680803a4967365451105b27e6445",
        "oid": "6cad4393ce4cd9be6235e96df22d2d6552bca2dc",
        "timestamp": 1724667348
      },
      {
        "id": "c4bac2ad78153235067999a84f9a6638bcf22ed4",
        "author": {
          "id": "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV",
          "alias": "liw"
        },
        "description": "",
        "base": "17b7aef6a13686659d0edd59d4ffe9a6380f42e6",
        "oid": "25974708312b98598a98751f1985fa1cf6d531f2",
        "timestamp": 1725258513
      },
      {
        "id": "301bf63341e1b853e483b29cc791ee1a4baa9bd6",
        "author": {
          "id": "did:key:z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV",
          "alias": "liw"
        },
        "description": "update list of adapters, rebase on main",
        "base": "17b7aef6a13686659d0edd59d4ffe9a6380f42e6",
        "oid": "a2975ab6a4815d3dd4363766f72c03c8f0d27708",
        "timestamp": 1725258804
      }
    ]
  }
}

.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/fb6d439e-cef7-4155-bb42-0d780e3f3f5a/src

Command arguments:

In directory: /

Exit code: 0

Output (stdout and stderr):

Cloning into '/srv/http/fb6d439e-cef7-4155-bb42-0d780e3f3f5a/src'...
done.

Run: git config advice.detachedHead false

Command arguments:

In directory: /srv/http/fb6d439e-cef7-4155-bb42-0d780e3f3f5a/src

Exit code: 0

Run: git checkout a2975ab6a4815d3dd4363766f72c03c8f0d27708

Command arguments:

In directory: /srv/http/fb6d439e-cef7-4155-bb42-0d780e3f3f5a/src

Exit code: 0

Output (stdout and stderr):

HEAD is now at a2975ab docs(README.md): add a list of known adatpers

Run: git show a2975ab6a4815d3dd4363766f72c03c8f0d27708

Command arguments:

In directory: /srv/http/fb6d439e-cef7-4155-bb42-0d780e3f3f5a/src

Exit code: 0

Output (stdout and stderr):

commit a2975ab6a4815d3dd4363766f72c03c8f0d27708
Author: Lars Wirzenius <liw@liw.fi>
Date:   Mon Aug 26 10:57:27 2024 +0300

    docs(README.md): add a list of known adatpers
    
    Signed-off-by: Lars Wirzenius <liw@liw.fi>

diff --git a/README.md b/README.md
index 7937055..2e119c2 100644
--- a/README.md
+++ b/README.md
@@ -124,6 +124,31 @@ that pass the filter. The filter allows any changes to the `main`
 branch or any Radicle patch, on the specified repository.
 
 
+## Adapters
+
+You need to use an "adapter" together with the CI broker to actually
+run CI on projects. At least the following adapters for external CI
+systems are known:
+
+* [Radicle native
+  CI](https://app.radicle.xyz/nodes/seed.radicle.xyz/rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE)
+  - Run CI on the node directly, using `.radicle/native.yaml`
+* [Concourse integration](https://app.radicle.xyz/nodes/seed.radicle.garden/rad:z2woyw9Get9Q21VJzdbVz33b47xDb)
+  - Integrate with the Concourse CI system
+* [GitHub actions](https://explorer.radicle.gr/nodes/seed.radicle.gr/rad:z4Uh671FzoooaHjLvmtW9BtGMF9qm/tree/Node-Operator/GitHub-Actions-Integration.md)
+  - Integrate with GitHub actions
+* [Outgoing web hooks](https://explorer.radicle.gr/nodes/seed.radicle.gr/rad:z4Uh671FzoooaHjLvmtW9BtGMF9qm/tree/Node-Operator/Webhooks-Integration.md)
+  - Call a remote web hook when an event occurs in a repository hosted
+    on the Radicle network
+* [Kraken](https://kraken.ci/blog/integration-with-radicle/)
+  - Integrate with the Kraken CI system
+
+See also the
+[radicle-ci-integrations-docs](https://explorer.radicle.gr/nodes/seed.radicle.gr/rad:z4Uh671FzoooaHjLvmtW9BtGMF9qm)
+repository with guides for project maintainers and node operators
+about using Radicle CI. They too list CI adapters.
+
+
 ## License
 
 Radicle CI broker is distributed under the terms of both the MIT

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/fb6d439e-cef7-4155-bb42-0d780e3f3f5a/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
   Compiling bitflags v2.6.0
    Checking subtle v2.6.1
   Compiling crossbeam-utils v0.8.20
   Compiling pkg-config v0.3.30
   Compiling rustix v0.38.34
   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 same-file v1.0.6
   Compiling time-core v0.1.2
   Compiling allocator-api2 v0.2.18
   Compiling aho-corasick v1.1.3
   Compiling num-conv v0.1.0
   Compiling utf8parse v0.2.2
   Compiling walkdir v2.5.0
   Compiling ucd-trie v0.1.6
   Compiling anstyle-parse v0.2.5
   Compiling is_terminal_polyfill v1.70.1
   Compiling time-macros v0.2.18
   Compiling anstyle-query v1.1.1
   Compiling colorchoice v1.0.2
   Compiling quote v1.0.37
   Compiling anstyle v1.0.8
   Compiling bstr v1.10.0
   Compiling unic-common v0.9.0
   Compiling unicode-width v0.1.13
   Compiling doc-comment v0.3.3
   Compiling libm v0.2.8
   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 anstream v0.6.15
   Compiling vcpkg v0.2.15
   Compiling heck v0.5.0
   Compiling powerfmt v0.2.0
   Compiling cc v1.1.14
   Compiling rand_core v0.6.4
   Compiling deranged v0.3.11
   Compiling crossbeam-deque v0.8.5
   Compiling unic-char-property v0.9.0
   Compiling unic-ucd-version 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
   Compiling fastrand v2.1.1
   Compiling arraydeque v0.5.1
    Checking tinyvec_macros v0.1.1
    Checking crypto-common v0.1.6
    Checking block-buffer v0.10.4
    Checking block-padding v0.3.3
   Compiling strsim v0.11.1
    Checking inout v0.1.3
   Compiling clap_lex v0.7.2
    Checking digest v0.10.7
    Checking universal-hash v0.5.1
    Checking tinyvec v1.8.0
    Checking cipher v0.4.4
   Compiling clap_builder v4.5.15
   Compiling unic-ucd-segment v0.9.0
   Compiling proc-macro-error v1.0.4
    Checking opaque-debug v0.3.1
   Compiling tempfile v3.12.0
   Compiling deunicode v1.6.0
   Compiling regex-automata v0.4.7
   Compiling time v0.3.36
   Compiling amplify_syn v2.0.1
   Compiling pulldown-cmark v0.12.0
   Compiling smawk v0.3.2
   Compiling ryu v1.0.18
    Checking signature v1.6.4
   Compiling unicode-linebreak v0.1.5
    Checking unicode-normalization v0.1.23
    Checking ed25519 v1.5.3
   Compiling humansize v2.1.3
   Compiling slug v0.1.6
   Compiling unic-segment v0.9.0
   Compiling textwrap v0.16.1
   Compiling subplot v0.11.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 utf8-width v0.1.7
   Compiling humantime v2.1.0
    Checking unicode-bidi v0.3.15
   Compiling percent-encoding v2.3.1
   Compiling lazy_static v1.5.0
    Checking amplify_num v0.5.3
    Checking ct-codecs v1.1.1
    Checking ascii v1.1.0
   Compiling amplify_derive v4.0.1
   Compiling pulldown-cmark-escape v0.11.0
    Checking ec25519 v0.1.0
    Checking form_urlencoded v1.2.1
   Compiling html-escape v0.2.13
    Checking idna v0.5.0
   Compiling sqlite3-src v0.5.1
    Checking polyval v0.6.2
    Checking sha2 v0.10.8
   Compiling tracing-core v0.1.32
    Checking base64ct v1.6.0
   Compiling file_diff v1.0.0
   Compiling line-col v0.2.1
   Compiling base64 v0.22.1
   Compiling pin-project-lite v0.2.14
    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 sha3 v0.10.8
    Checking ghash v0.5.1
    Checking aes v0.8.4
    Checking ctr v0.9.2
    Checking aead v0.5.2
    Checking base32 v0.4.0
   Compiling env_filter v0.1.2
    Checking hashbrown v0.14.5
   Compiling ignore v0.4.22
   Compiling cfg_aliases v0.2.1
   Compiling data-encoding v2.6.0
   Compiling env_logger v0.11.5
    Checking equivalent v1.0.1
    Checking aes-gcm v0.10.3
   Compiling nix v0.29.0
    Checking ssh-encoding v0.2.0
    Checking blowfish v0.9.1
    Checking poly1305 v0.8.0
    Checking cbc v0.1.2
    Checking chacha20 v0.9.1
    Checking pbkdf2 v0.12.2
    Checking indexmap v2.4.0
    Checking zeroize v1.8.1
   Compiling globwalk v0.9.1
    Checking radicle-std-ext v0.1.0
   Compiling adler2 v2.0.0
    Checking ssh-cipher v0.2.0
   Compiling miniz_oxide v0.8.0
    Checking bcrypt-pbkdf v0.10.0
    Checking rand v0.8.5
   Compiling xattr v1.3.1
   Compiling filetime v0.2.24
   Compiling crc32fast v1.4.2
    Checking base-x v0.2.11
    Checking signature v2.2.0
   Compiling slog v2.7.0
   Compiling data-encoding-macro-internal v0.1.13
   Compiling tar v0.4.41
    Checking ssh-key v0.6.6
   Compiling flate2 v1.0.33
    Checking qcheck v1.0.0
    Checking cvt v0.1.2
   Compiling glob v0.3.1
    Checking amplify v4.7.0
    Checking data-encoding-macro v0.1.15
    Checking terminal_size v0.3.0
    Checking radicle-dag v0.9.0
    Checking multibase v0.9.1
   Compiling serde_yml v0.0.11
    Checking normpath v1.3.0
    Checking cyphergraphy v0.3.0
   Compiling radicle-surf v0.18.0
    Checking fs2 v0.4.3
    Checking fs_at v0.2.1
    Checking unescape v0.1.0
    Checking nonempty v0.5.0
    Checking state v0.5.3
    Checking libyml v0.0.4
    Checking cypheraddr v0.4.0
    Checking siphasher v1.0.1
    Checking crossbeam-channel v0.5.13
    Checking shell-words v1.1.0
    Checking arc-swap v1.7.1
    Checking remove_dir_all v0.8.3
    Checking base64 v0.13.1
    Checking base64 v0.21.7
    Checking uuid v1.10.0
    Checking slog-scope v4.4.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 pest v2.7.11
   Compiling git-ref-format-core v0.3.0
    Checking radicle-ssh v0.9.0
   Compiling culpa v1.0.2
   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 rand_chacha v0.3.1
   Compiling clap v4.5.16
   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
   Compiling marked-yaml v0.7.1
    Checking slog-json v2.6.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/fb6d439e-cef7-4155-bb42-0d780e3f3f5a/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.73s
+ 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 colorchoice v1.0.2
   Compiling anstyle-parse v0.2.5
   Compiling anstyle-query v1.1.1
   Compiling ryu v1.0.18
   Compiling anstyle v1.0.8
   Compiling cpufeatures v0.2.13
   Compiling rustix v0.38.34
   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 strsim v0.11.1
   Compiling anstream v0.6.15
   Compiling deranged v0.3.11
   Compiling clap_lex v0.7.2
   Compiling time-macros v0.2.18
   Compiling hashbrown v0.14.5
   Compiling encoding_rs v0.8.34
   Compiling aho-corasick v1.1.3
   Compiling pest v2.7.11
   Compiling generic-array v0.14.7
   Compiling bstr v1.10.0
   Compiling crossbeam-epoch v0.9.18
   Compiling rand_core v0.6.4
   Compiling rand_chacha v0.3.1
   Compiling tinyvec_macros v0.1.1
   Compiling hashlink v0.8.4
   Compiling crossbeam-deque v0.8.5
   Compiling tinyvec v1.8.0
   Compiling hashlink v0.9.1
   Compiling clap_builder v4.5.15
   Compiling crypto-common v0.1.6
   Compiling block-padding v0.3.3
   Compiling block-buffer v0.10.4
   Compiling universal-hash v0.5.1
   Compiling inout v0.1.3
   Compiling digest v0.10.7
   Compiling rand v0.8.5
   Compiling signature v1.6.4
   Compiling lazy_static v1.5.0
   Compiling cipher v0.4.4
   Compiling utf8-width v0.1.7
   Compiling opaque-debug v0.3.1
   Compiling ed25519 v1.5.3
   Compiling subplot v0.11.0
   Compiling html-escape v0.2.13
   Compiling unicode-bidi v0.3.15
   Compiling ct-codecs v1.1.1
   Compiling yaml-rust2 v0.8.1
   Compiling ascii v1.1.0
   Compiling amplify_num v0.5.3
   Compiling regex-automata v0.4.7
   Compiling pest_meta v2.7.11
   Compiling tempfile v3.12.0
   Compiling time v0.3.36
   Compiling unicode-normalization v0.1.23
   Compiling linux-raw-sys v0.4.14
   Compiling tempfile-fast v0.3.4
   Compiling ec25519 v0.1.0
   Compiling pulldown-cmark v0.12.0
   Compiling polyval v0.6.2
   Compiling sha2 v0.10.8
   Compiling libz-sys v1.1.20
   Compiling tracing-core v0.1.32
   Compiling form_urlencoded v1.2.1
   Compiling idna v0.5.0
   Compiling serde_path_to_error v0.1.16
   Compiling pest_generator v2.7.11
   Compiling serde_json v1.0.127
   Compiling git-ref-format-core v0.3.0
   Compiling clap v4.5.16
   Compiling base64 v0.22.1
   Compiling marked-yaml v0.7.1
   Compiling byteorder v1.5.0
   Compiling amplify v4.7.0
   Compiling base64ct v1.6.0
   Compiling keccak v0.1.5
   Compiling roadmap v0.6.1
   Compiling pem-rfc7468 v0.7.0
   Compiling sha3 v0.10.8
   Compiling git-testament-derive v0.2.0
   Compiling cyphergraphy v0.3.0
   Compiling git-ref-format-macro v0.3.0
   Compiling tracing v0.1.40
   Compiling url v2.5.2
   Compiling regex v1.10.6
   Compiling globset v0.4.14
   Compiling ghash v0.5.1
   Compiling libgit2-sys v0.16.2+1.7.2
   Compiling aes v0.8.4
   Compiling ctr v0.9.2
   Compiling pest_derive v2.7.11
   Compiling aead v0.5.2
   Compiling equivalent v1.0.1
   Compiling env_filter v0.1.2
   Compiling base32 v0.4.0
   Compiling sqlite3-src v0.5.1
   Compiling ignore v0.4.22
   Compiling git-ref-format v0.3.0
   Compiling git2 v0.18.3
   Compiling env_logger v0.11.5
   Compiling cypheraddr v0.4.0
   Compiling ssh-encoding v0.2.0
   Compiling aes-gcm v0.10.3
   Compiling blowfish v0.9.1
   Compiling cbc v0.1.2
   Compiling chacha20 v0.9.1
   Compiling poly1305 v0.8.0
   Compiling git-testament v0.2.5
   Compiling pbkdf2 v0.12.2
   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 indexmap v2.4.0
   Compiling globwalk v0.9.1
   Compiling ssh-cipher v0.2.0
   Compiling xattr v1.3.1
   Compiling filetime v0.2.24
   Compiling crc32fast v1.4.2
   Compiling base-x v0.2.11
   Compiling signature v2.2.0
   Compiling tera v1.20.0
   Compiling flate2 v1.0.33
   Compiling tar v0.4.41
   Compiling cyphernet v0.5.2
   Compiling sqlite v0.32.0
   Compiling ssh-key v0.6.6
   Compiling data-encoding-macro v0.1.15
   Compiling radicle-ssh v0.9.0
   Compiling nix v0.29.0
   Compiling multibase v0.9.1
   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 radicle-surf v0.18.0
   Compiling fs_at v0.2.1
   Compiling crossbeam-channel v0.5.13
   Compiling nonempty v0.5.0
   Compiling arc-swap v1.7.1
   Compiling remove_dir_all v0.8.3
   Compiling libyml v0.0.4
   Compiling siphasher v1.0.1
   Compiling shell-words v1.1.0
   Compiling base64 v0.21.7
   Compiling base64 v0.13.1
   Compiling state v0.5.3
   Compiling unescape v0.1.0
   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 serde_yml v0.0.11
   Compiling radicle-crypto v0.10.0
   Compiling slog-json v2.6.1
   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/fb6d439e-cef7-4155-bb42-0d780e3f3f5a/src)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.99s
+ 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 ct-codecs v1.1.1
 Documenting log v0.4.22
 Documenting percent-encoding v2.3.1
 Documenting unicode-bidi v0.3.15
    Checking proc-macro2 v1.0.86
 Documenting amplify_num v0.5.3
 Documenting tinyvec v1.8.0
 Documenting proc-macro2 v1.0.86
 Documenting ascii v1.1.0
 Documenting linux-raw-sys v0.4.14
    Checking git-ref-format-core v0.3.0
    Checking quote v1.0.37
 Documenting fastrand v2.1.1
 Documenting itoa v1.0.11
 Documenting byteorder v1.5.0
    Checking syn v2.0.76
    Checking syn v1.0.109
 Documenting form_urlencoded v1.2.1
 Documenting base64ct v1.6.0
 Documenting keccak v0.1.5
    Checking data-encoding v2.6.0
 Documenting hashbrown v0.14.5
 Documenting quote v1.0.37
 Documenting unicode-normalization v0.1.23
 Documenting equivalent v1.0.1
 Documenting base32 v0.4.0
 Documenting sqlite3-src v0.5.1
 Documenting data-encoding v2.6.0
 Documenting zeroize v1.8.1
 Documenting radicle-std-ext v0.1.0
 Documenting rustix v0.38.34
    Checking amplify_syn v2.0.1
    Checking proc-macro-error v1.0.4
 Documenting data-encoding-macro-internal v0.1.13
 Documenting once_cell v1.19.0
 Documenting pem-rfc7468 v0.7.0
 Documenting ryu v1.0.18
 Documenting utf8parse v0.2.2
 Documenting signature v2.2.0
 Documenting base-x v0.2.11
 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 generic-array v0.14.7
 Documenting idna v0.5.0
 Documenting data-encoding-macro v0.1.15
 Documenting indexmap v2.4.0
 Documenting aho-corasick v1.1.3
 Documenting anstyle-parse v0.2.5
 Documenting time-macros v0.2.18
 Documenting deranged v0.3.11
 Documenting tempfile v3.12.0
 Documenting cvt v0.1.2
 Documenting getrandom v0.2.15
 Documenting libz-sys v1.1.20
 Documenting sqlite3-sys v0.15.2
 Documenting proc-macro-error v1.0.4
 Documenting amplify_derive v4.0.1
 Documenting multibase v0.9.1
 Documenting thiserror v1.0.63
 Documenting crypto-common v0.1.6
 Documenting block-padding v0.3.3
 Documenting block-buffer v0.10.4
 Documenting ec25519 v0.1.0
 Documenting rand_core v0.6.4
 Documenting url v2.5.2
 Documenting libgit2-sys v0.16.2+1.7.2
 Documenting sqlite v0.32.0
 Documenting nix v0.29.0
 Documenting git-ref-format-macro v0.3.0
 Documenting serde v1.0.209
 Documenting colorchoice v1.0.2
 Documenting anstyle v1.0.8
 Documenting inout v0.1.3
 Documenting time-core v0.1.2
 Documenting regex-syntax v0.8.4
 Documenting radicle-ssh v0.9.0
 Documenting digest v0.10.7
 Documenting universal-hash v0.5.1
 Documenting amplify v4.7.0
 Documenting aead v0.5.2
 Documenting rand v0.8.5
 Documenting anstyle-query v1.1.1
 Documenting is_terminal_polyfill v1.70.1
 Documenting cipher v0.4.4
 Documenting num-conv v0.1.0
 Documenting terminal_size v0.3.0
 Documenting culpa-macros v1.0.2
 Documenting radicle-dag v0.9.0
 Documenting time v0.3.36
 Documenting git2 v0.18.3
   Compiling radicle-ci-broker v0.5.0 (/srv/http/fb6d439e-cef7-4155-bb42-0d780e3f3f5a/src)
 Documenting fs_at v0.2.1
 Documenting cyphergraphy v0.3.0
 Documenting slog v2.7.0
 Documenting crossbeam-utils v0.8.20
 Documenting anstream v0.6.15
 Documenting polyval v0.6.2
 Documenting poly1305 v0.8.0
 Documenting sha2 v0.10.8
 Documenting sha3 v0.10.8
 Documenting pbkdf2 v0.12.2
 Documenting qcheck v1.0.0
 Documenting regex-automata v0.4.7
 Documenting heck v0.5.0
 Documenting aes v0.8.4
 Documenting ctr v0.9.2
 Documenting blowfish v0.9.1
 Documenting cbc v0.1.2
 Documenting chacha20 v0.9.1
 Documenting utf8-width v0.1.7
 Documenting ghash v0.5.1
 Documenting git-ref-format-core v0.3.0
 Documenting serde_json v1.0.127
 Documenting ssh-encoding v0.2.0
 Documenting nonempty v0.9.0
 Documenting clap_lex v0.7.2
 Documenting cypheraddr v0.4.0
 Documenting normpath v1.3.0
 Documenting lazy_static v1.5.0
 Documenting strsim v0.11.1
    Checking heck v0.5.0
 Documenting html-escape v0.2.13
 Documenting bcrypt-pbkdf v0.10.0
 Documenting clap_derive v4.5.13
 Documenting localtime v1.3.1
 Documenting crossbeam-channel v0.5.13
 Documenting aes-gcm v0.10.3
 Documenting culpa v1.0.2
 Documenting git-ref-format v0.3.0
 Documenting fs2 v0.4.3
 Documenting remove_dir_all v0.8.3
 Documenting filetime v0.2.24
 Documenting clap_builder v4.5.15
 Documenting socks5-client v0.4.1
 Documenting subplotlib-derive v0.11.0
 Documenting libyml v0.0.4
 Documenting shell-words v1.1.0
 Documenting siphasher v1.0.1
 Documenting state v0.5.3
 Documenting regex v1.10.6
 Documenting base64 v0.22.1
 Documenting ssh-cipher v0.2.0
 Documenting arc-swap v1.7.1
 Documenting unescape v0.1.0
 Documenting html-page v0.4.0
 Documenting slog-json v2.6.1
 Documenting radicle-git-ext v0.7.0
 Documenting uuid v1.10.0
 Documenting anyhow v1.0.86
 Documenting cyphernet v0.5.2
 Documenting serde_yml v0.0.11
 Documenting subplotlib v0.11.0
 Documenting ssh-key v0.6.6
 Documenting slog-scope v4.4.0
 Documenting clap v4.5.16
 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.5.0 (/srv/http/fb6d439e-cef7-4155-bb42-0d780e3f3f5a/src)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.08s
   Generated /srv/http/fb6d439e-cef7-4155-bb42-0d780e3f3f5a/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/.tmpRYwI6g/db.db","level":"INFO","ts":"2024-09-02T06:34:39.317888348Z"}
{"msg":"broker database: /tmp/.tmpqExdYb/db.db","level":"INFO","ts":"2024-09-02T06:34:39.317984078Z"}
{"msg":"broker database: /tmp/.tmpmMyJmd/db.db","level":"INFO","ts":"2024-09-02T06:34:39.318047278Z"}
{"msg":"broker database: /tmp/.tmpKrByxH/db.db","level":"INFO","ts":"2024-09-02T06:34:39.318103308Z"}
test broker::test::does_not_have_a_default_adapter_initially ... ok
test broker::test::adds_adapter ... ok
test broker::test::does_not_find_unknown_repo ... ok
{"msg":"broker database: /tmp/.tmpvw7Dok/db.db","level":"INFO","ts":"2024-09-02T06:34:39.381488906Z"}
{"msg":"broker database: /tmp/.tmpj0zu4m/db.db","level":"INFO","ts":"2024-09-02T06:34:39.381791606Z"}
{"msg":"broker database: /tmp/.tmpsC78CV/db.db","level":"INFO","ts":"2024-09-02T06:34:39.382783978Z"}
test adapter::test::adapter_first_message_isnt_triggered ... ok
{"msg":"broker database: /tmp/.tmp8HJ91l/db.db","level":"INFO","ts":"2024-09-02T06:34:39.424686266Z"}
test adapter::test::adapter_is_not_executable ... 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
{"msg":"too many response messages","level":"ERRO","ts":"2024-09-02T06:34:39.428866904Z"}
{"msg":"no first response message","level":"ERRO","ts":"2024-09-02T06:34:39.428924934Z"}
{"msg":"no second response message","level":"ERRO","ts":"2024-09-02T06:34:39.428961364Z"}
{"msg":"adapter was terminated by signal","level":"DEBG","ts":"2024-09-02T06:34:39.428993984Z"}
{"msg":"adapter did not exit voluntarily","level":"WARN","ts":"2024-09-02T06:34:39.429018944Z"}
test adapter::test::adapter_is_killed_before_any_messages ... ok
test adapter::test::adapter_outputs_too_many_messages ... ok
test adapter::test::adapter_does_not_exist ... ok
test event::test_broker_event::name_for_branch ... ok
test event::test_broker_event::name_for_shutdown ... ok
test event::test::test_parse_invalid_ref ... ok
test event::test::test_parse_patch_ref ... ok
test event::test_broker_event::nid_for_plain_branch_name ... ok
test event::test_broker_event::nid_for_ref_with_namespace ... ok
{"msg":"adapter exit code","level":"DEBG","ts":"2024-09-02T06:34:39.43190267Z","exit_code":0}
test adapter::test::adapter_reports_success ... ok
test event::test_broker_event::nid_for_ref_without_namespace ... ok
test event::test::test_parse_push_ref ... ok
test event::test_parse_ref::namespaced_patch ... ok
test adapter::test::adapter_has_bad_interpreter ... ok
test run::test::serialize_run_state ... ok
{"msg":"adapter exit code","level":"DEBG","ts":"2024-09-02T06:34:39.434417894Z","exit_code":1}
{"msg":"adapter stderr","level":"DEBG","ts":"2024-09-02T06:34:39.434464104Z","stderr":"woe be me"}
test adapter::test::adapter_exits_nonzero ... ok
test event::test_parse_ref::plain_branch_name_is_none ... ok
test event::test_parse_ref::namespaced_branch ... ok
{"msg":"no second response message","level":"ERRO","ts":"2024-09-02T06:34:39.435520336Z"}
test adapter::test::adapter_produces_as_bad_message ... ok{
"msg":"adapter was terminated by signal","level":"DEBG","ts":"2024-09-02T06:34:39.435562856Z"}
{"msg":"adapter did not exit voluntarily","level":"WARN","ts":"2024-09-02T06:34:39.435587846Z"}
test event::test_parse_ref::namespaced_branch_with_slashes ... ok
{"msg":"adapter was terminated by signal","level":"DEBG","ts":"2024-09-02T06:34:39.435641896Z"}
{"msg":"adapter did not exit voluntarily","level":"WARN","ts":"2024-09-02T06:34:39.435678606Z"}
test adapter::test::adapter_is_killed_after_second_message ... ok
test adapter::test::adapter_is_killed_after_first_message ... ok
{"msg":"adapter exit code","level":"DEBG","ts":"2024-09-02T06:34:39.436266857Z","exit_code":0}
test adapter::test::adapter_reports_failure ... ok
{"msg":"start CI run","level":"INFO","ts":"2024-09-02T06:34:39.438096971Z"}
{"msg":"trigger event: Trigger {\n    common: EventCommonFields {\n        version: 1,\n        event_type: Push,\n        repository: Repository {\n            id: RepoId(rad:z2UH24mKvjpGyZ7WS8G3pns1naj42),\n            name: \"acme\",\n            description: \"Acme's repository\",\n            private: false,\n            default_branch: \"master\",\n            delegates: [\n                Did(\"did:key:z6MkfpauwjY7kmd5P4QFopvWD5ryk4CnebuBmvyjA3akYetA\"),\n            ],\n        },\n    },\n    push: Some(\n        PushEvent {\n            pusher: Author {\n                id: Did(\"did:key:z6MkfpauwjY7kmd5P4QFopvWD5ryk4CnebuBmvyjA3akYetA\"),\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-02T06:34:39.438247441Z"}
test msg::tests::trigger_push ... ok
test msg::tests::trigger_patch ... ok
test broker::test::has_no_adapters_initially ... ok
test broker::test::finds_default_adapter_for_unknown_repo ... ok
test broker::test::sets_a_default_adapter_initially ... ok
{"msg":"adapter exit code","level":"DEBG","ts":"2024-09-02T06:34:39.534814081Z","exit_code":1}
{"msg":"adapter stderr","level":"DEBG","ts":"2024-09-02T06:34:39.534860371Z","stderr":"woe be me"}
{"msg":"start CI run","level":"INFO","ts":"2024-09-02T06:34:39.53973386Z"}
{"msg":"trigger event: Trigger {\n    common: EventCommonFields {\n        version: 1,\n        event_type: Push,\n        repository: Repository {\n            id: RepoId(rad:zGTFRF2n5cX4Rx2crcyLbSeec2vS),\n            name: \"acme\",\n            description: \"Acme's repository\",\n            private: false,\n            default_branch: \"master\",\n            delegates: [\n                Did(\"did:key:z6MkfKHKaDVojS1p5vWNCYANi9UyuVCAhFmJURHCQP5H8gXb\"),\n            ],\n        },\n    },\n    push: Some(\n        PushEvent {\n            pusher: Author {\n                id: Did(\"did:key:z6MkfKHKaDVojS1p5vWNCYANi9UyuVCAhFmJURHCQP5H8gXb\"),\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-02T06:34:39.53988858Z"}
{"msg":"failed to run adapter or it failed to run CI: child process failed with wait status 1","level":"ERRO","ts":"2024-09-02T06:34:39.553142525Z"}
{"msg":"Finish CI run","level":"INFO","ts":"2024-09-02T06:34:39.553183945Z"}
{"msg":"finished CI run: Run {\n    broker_run_id: RunId {\n        id: \"2e550429-0358-40f7-8a64-557c5c9f914b\",\n    },\n    adapter_run_id: Some(\n        RunId {\n            id: \"xyzzy\",\n        },\n    ),\n    adapter_info_url: None,\n    repo_id: RepoId(rad:z2UH24mKvjpGyZ7WS8G3pns1naj42),\n    repo_name: \"acme\",\n    timestamp: \"2024-09-02 06:34:39Z\",\n    whence: Branch {\n        name: \"push-event-has-no-branch-name\",\n        commit: Oid(\n            532c92e4ec973d79c25652c581ae82d238e46a06,\n        ),\n        who: Some(\n            \"did:key:z6MkfpauwjY7kmd5P4QFopvWD5ryk4CnebuBmvyjA3akYetA\",\n        ),\n    },\n    state: Finished,\n    result: Some(\n        Success,\n    ),\n}","level":"DEBG","ts":"2024-09-02T06:34:39.553299005Z"}
test broker::test::adapter_fails ... ok
{"msg":"adapter exit code","level":"DEBG","ts":"2024-09-02T06:34:39.589732533Z","exit_code":0}
{"msg":"Finish CI run","level":"INFO","ts":"2024-09-02T06:34:39.599640101Z"}
{"msg":"finished CI run: Run {\n    broker_run_id: RunId {\n        id: \"cf2ce07e-39f1-4ff4-8fbe-123174e2e25d\",\n    },\n    adapter_run_id: Some(\n        RunId {\n            id: \"xyzzy\",\n        },\n    ),\n    adapter_info_url: None,\n    repo_id: RepoId(rad:zGTFRF2n5cX4Rx2crcyLbSeec2vS),\n    repo_name: \"acme\",\n    timestamp: \"2024-09-02 06:34:39Z\",\n    whence: Branch {\n        name: \"push-event-has-no-branch-name\",\n        commit: Oid(\n            532c92e4ec973d79c25652c581ae82d238e46a06,\n        ),\n        who: Some(\n            \"did:key:z6MkfKHKaDVojS1p5vWNCYANi9UyuVCAhFmJURHCQP5H8gXb\",\n        ),\n    },\n    state: Finished,\n    result: Some(\n        Success,\n    ),\n}","level":"DEBG","ts":"2024-09-02T06:34:39.599791141Z"}
test broker::test::executes_adapter ... ok

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

     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 33 tests
test dummy_adapter_runs_successfully ... ok
test adapter_with_url_runs_successfully ... ok
test add_information_about_triggered_run_to_database ... FAILED
test adapter_can_provide_url_for_info_on_run ... FAILED
test add_information_about_run_that_s_finished_successfully_to_database ... FAILED
test don_t_insert_events_into_queue_when_not_allowed_by_filter ... FAILED
test don_t_insert_event_for_non_existent_repository ... FAILED
test can_trigger_a_ci_run ... FAILED
test acceptance_criteria_for_upgrades ... FAILED
test add_information_about_run_that_s_finished_in_failure_to_database ... FAILED
test add_information_about_run_that_s_running_to_database ... FAILED
test events_can_be_queued_and_removed_from_queue ... FAILED
test gives_helpful_error_message_if_node_socket_can_t_be_found ... FAILED
test gives_helpful_error_message_if_it_doesn_t_understand_its_configuration_file ... FAILED
test insert_events_into_queue ... FAILED
test logs_adapter_stderr_output ... FAILED
test insert_many_events_into_queue ... FAILED
test logs_start_and_successful_end ... FAILED
test process_queued_events ... FAILED
test produces_a_json_status_file ... FAILED
test produces_a_report_page_upon_request ... 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 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_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/subplotVBKKcAdd-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/subplotVBKKcAdd-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/fb6d439e-cef7-4155-bb42-0d780e3f3f5a/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/out/ci-broker.rs:3226: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

---- 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/subplot2C1dcAdapter-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/subplot2C1dcAdapter-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/fb6d439e-cef7-4155-bb42-0d780e3f3f5a/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/out/ci-broker.rs:786: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/subplotDWw6rAdd-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/subplotDWw6rAdd-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/fb6d439e-cef7-4155-bb42-0d780e3f3f5a/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/out/ci-broker.rs:3503: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/subplotDt83vDon-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/subplotDt83vDon-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/fb6d439e-cef7-4155-bb42-0d780e3f3f5a/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/out/ci-broker.rs:2418: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/subplotnK9IvDon-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/subplotnK9IvDon-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/fb6d439e-cef7-4155-bb42-0d780e3f3f5a/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/out/ci-broker.rs:4186: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/subplotIEbLaCan-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/subplotIEbLaCan-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/fb6d439e-cef7-4155-bb42-0d780e3f3f5a/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/out/ci-broker.rs:3092: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/subplotb0rAgAcceptance-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/subplotb0rAgAcceptance-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/fb6d439e-cef7-4155-bb42-0d780e3f3f5a/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/out/ci-broker.rs:4726: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/subplotvV5kLAdd-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/subplotvV5kLAdd-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/fb6d439e-cef7-4155-bb42-0d780e3f3f5a/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/out/ci-broker.rs:3669: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/subplot730u8Add-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/subplot730u8Add-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/fb6d439e-cef7-4155-bb42-0d780e3f3f5a/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/out/ci-broker.rs:3360: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/subplotTLTG3Events-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/subplotTLTG3Events-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/fb6d439e-cef7-4155-bb42-0d780e3f3f5a/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/out/ci-broker.rs:2904: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/subplot6QGSnGives-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/subplot6QGSnGives-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/fb6d439e-cef7-4155-bb42-0d780e3f3f5a/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/out/ci-broker.rs:895: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/subplotkjt1ZGives-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/subplotkjt1ZGives-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/fb6d439e-cef7-4155-bb42-0d780e3f3f5a/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/out/ci-broker.rs:1021: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/subplotD8f0MInsert-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/subplotD8f0MInsert-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/fb6d439e-cef7-4155-bb42-0d780e3f3f5a/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/out/ci-broker.rs:2098: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/subplotcCDw5Logs-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/subplotcCDw5Logs-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/fb6d439e-cef7-4155-bb42-0d780e3f3f5a/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/out/ci-broker.rs:1596: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/subplot49QqYInsert-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/subplot49QqYInsert-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/fb6d439e-cef7-4155-bb42-0d780e3f3f5a/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/out/ci-broker.rs:2256: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/subplotYO94lLogs-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/subplotYO94lLogs-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/fb6d439e-cef7-4155-bb42-0d780e3f3f5a/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/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/subplot9BwT0Process-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/subplot9BwT0Process-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/fb6d439e-cef7-4155-bb42-0d780e3f3f5a/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/out/ci-broker.rs:2667: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/subplotEWI58Produces-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/subplotEWI58Produces-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/fb6d439e-cef7-4155-bb42-0d780e3f3f5a/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/out/ci-broker.rs:4544: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/subplotWHeVrProduces-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/subplotWHeVrProduces-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/fb6d439e-cef7-4155-bb42-0d780e3f3f5a/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/out/ci-broker.rs:1416: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/subplotvd1TVReports-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/subplotvd1TVReports-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/fb6d439e-cef7-4155-bb42-0d780e3f3f5a/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/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/subplot9yjU8We-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/fb6d439e-cef7-4155-bb42-0d780e3f3f5a/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/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/subplotVWLn9Shuts-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/subplotVWLn9Shuts-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/fb6d439e-cef7-4155-bb42-0d780e3f3f5a/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/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/subplot9Gbv3Smoke-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/subplot9Gbv3Smoke-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/fb6d439e-cef7-4155-bb42-0d780e3f3f5a/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/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/subplotXVTRFStops-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/subplotXVTRFStops-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/fb6d439e-cef7-4155-bb42-0d780e3f3f5a/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/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/subplotjK3JeUpdate-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/subplotjK3JeUpdate-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/fb6d439e-cef7-4155-bb42-0d780e3f3f5a/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/out/ci-broker.rs:4013: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/subplotvnelyLogs-termination-due-to-error
ENV: SHELL = /bin/sh
PATH: /srv/http/fb6d439e-cef7-4155-bb42-0d780e3f3f5a/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-02T06:34:39.625306639Z","version":"a2975ab"}
{"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-02T06:34:39.62609937Z"}
{"msg":"broker database: ci-broker.db","level":"INFO","ts":"2024-09-02T06:34:39.629795537Z"}
{"msg":"default adapter: Adapter { bin: \"./adapter.sh\", env: {\"RADICLE_NATIVE_CI\": \"native-ci.yaml\"} }","level":"DEBG","ts":"2024-09-02T06:34:39.694865118Z"}
{"msg":"start thread to process events until a shutdown event","level":"INFO","ts":"2024-09-02T06:34:39.698108454Z"}
{"msg":"queue in db has 0 events","level":"DEBG","ts":"2024-09-02T06:34:39.698243874Z"}
{"msg":"queue in db has 0 events","level":"DEBG","ts":"2024-09-02T06:34:39.698299244Z"}
{"msg":"event notification channel disconnected","level":"INFO","ts":"2024-09-02T06:34:39.698324034Z"}
{"msg":"thread to process events ends","level":"INFO","ts":"2024-09-02T06:34:39.698346465Z"}
{"msg":"broker database has 0 CI runs","level":"DEBG","ts":"2024-09-02T06:34:39.698626035Z"}
{"msg":"start page updater thread","level":"INFO","ts":"2024-09-02T06:34:39.698656875Z"}
{"msg":"wait about 60 seconds to update HTML report pages again","level":"INFO","ts":"2024-09-02T06:34:39.698680915Z"}
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/fb6d439e-cef7-4155-bb42-0d780e3f3f5a/src/target/debug/build/radicle-ci-broker-98abe7c6d9689d74/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 32.16s

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

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