rultor.com logo This build log was produced by rultor.com for yegor256/sibit#283
++ dirname ./run.sh
+ cd .
+ echo 1269
+ echo '2.0-SNAPSHOT BUILD'
2.0-SNAPSHOT BUILD
+ date
Fri Jul 24 05:23:55 UTC 2026
+ uptime
 05:23:55 up 1 min,  0 users,  load average: 0.72, 0.27, 0.10
+ head=git@github.com:yegor256/sibit.git
+ ff=default
+ image=yegor256/ruby
+ rebase=false
+ squash=false
+ head_branch=master
+ author=yegor256
+ tag=0.34.0
+ vars=('--env=skip_cross=true' '--env=head=git@github.com:yegor256/sibit.git' '--env=tag=0.34.0' '--env=scripts=( '\''export '\''\'\'''\''skip_cross=true'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head=git@github.com:yegor256/sibit.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.34.0'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''bundle install --no-color "--gemfile=$(pwd)/Gemfile"'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" lib/sibit/version.rb'\'' '\'';'\'' '\''git add lib/sibit/version.rb'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build sibit.gemspec'\'' '\'';'\'' '\''chmod 0600 ../rubygems.yml'\'' '\'';'\'' '\''gem push *.gem --config-file ../rubygems.yml'\'' '\'';'\'' )' '--env=head_branch=master' '--env=author=yegor256')
+ scripts=('export '\''skip_cross=true'\''' ';' 'export '\''head=git@github.com:yegor256/sibit.git'\''' ';' 'export '\''tag=0.34.0'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'bundle install --no-color "--gemfile=$(pwd)/Gemfile"' ';' 'bundle exec rake' ';' 'sed -i "s/0\.0\.0/${tag}/g" lib/sibit/version.rb' ';' 'git add lib/sibit/version.rb' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build sibit.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';')
+ directory=
+ container=yegor256_sibit_283
+ as_root=false
+ set -e -o pipefail
+ hostname
ip-172-31-27-250
+ pwd
/tmp/rultor-1H6w
+ git --version
git version 2.34.1
+ docker --version
Docker version 25.0.3, build 4debf41
+ mkdir -p /home/ubuntu/.ssh
+ echo -e 'Host github.com\n\tStrictHostKeyChecking no\n'
+ chmod 600 /home/ubuntu/.ssh/config
+ git clone --recurse-submodules git@github.com:yegor256/sibit.git repo
Cloning into 'repo'...
Warning: Permanently added 'github.com' (ED25519) to the list of known hosts.
+ cd repo
+ git config user.email gpg@rultor.com
+ git config user.name Rultor.com
+ '[' -z 'export '\''skip_cross=true'\''' ']'
+ cd ..
+ cat
+ '[' false = true ']'
+ cat
+ chmod a+x entry.sh
+ cat
+ echo 'export '\''skip_cross=true'\''' ';' 'export '\''head=git@github.com:yegor256/sibit.git'\''' ';' 'export '\''tag=0.34.0'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'bundle install --no-color "--gemfile=$(pwd)/Gemfile"' ';' 'bundle exec rake' ';' 'sed -i "s/0\.0\.0/${tag}/g" lib/sibit/version.rb' ';' 'git add lib/sibit/version.rb' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build sibit.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';'
+ sensitive=()
+ set -ex -o pipefail
+ '[' -z 0.34.0 ']'
+ [[ 0.34.0 =~ ^[a-zA-Z0-9\.\-]+$ ]]
+ echo 'tag name is valid: "0.34.0"'
tag name is valid: "0.34.0"
+ cd repo
++ git tag -l 0.34.0
+ '[' -n '' ']'
+ BRANCH_NAME=__rultor
++ wc -l
++ git show-branch __rultor
+ '[' 0 -gt 0 ']'
+ export BRANCH_NAME
+ git checkout -b __rultor
Switched to a new branch '__rultor'
+ docker_when_possible
+ true
++ tail -n 1
++ sed 's/ /\n/g'
++ uptime
+ load=0.11
++ bc
++ echo 0.11 '>' 30
+ '[' 0 -eq 1 ']'
+ echo 'load average is 0.11, low enough to run a new Docker container'
load average is 0.11, low enough to run a new Docker container
+ break
+ cd ..
+ '[' -n '' ']'
+ use_image=yegor256/ruby
+ docker pull yegor256/ruby
Using default tag: latest
latest: Pulling from yegor256/ruby
cb259a83ac3d: Pulling fs layer
4f4fb700ef54: Pulling fs layer
50778be6ae7c: Pulling fs layer
de39015cb2a0: Pulling fs layer
c5d1f12c356a: Pulling fs layer
e9b75b04736a: Pulling fs layer
74aacb7acb4e: Pulling fs layer
b343964c14ed: Pulling fs layer
2da5d65999c3: Pulling fs layer
de39015cb2a0: Waiting
c5d1f12c356a: Waiting
e9b75b04736a: Waiting
74aacb7acb4e: Waiting
b343964c14ed: Waiting
2da5d65999c3: Waiting
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
50778be6ae7c: Verifying Checksum
50778be6ae7c: Download complete
cb259a83ac3d: Verifying Checksum
cb259a83ac3d: Download complete
e9b75b04736a: Verifying Checksum
e9b75b04736a: Download complete
74aacb7acb4e: Verifying Checksum
74aacb7acb4e: Download complete
b343964c14ed: Verifying Checksum
b343964c14ed: Download complete
2da5d65999c3: Verifying Checksum
2da5d65999c3: Download complete
c5d1f12c356a: Verifying Checksum
c5d1f12c356a: Download complete
de39015cb2a0: Verifying Checksum
de39015cb2a0: Download complete
cb259a83ac3d: Pull complete
4f4fb700ef54: Pull complete
50778be6ae7c: Pull complete
de39015cb2a0: Pull complete
c5d1f12c356a: Pull complete
e9b75b04736a: Pull complete
74aacb7acb4e: Pull complete
b343964c14ed: Pull complete
2da5d65999c3: Pull complete
Digest: sha256:1e3d8ad5ebf9fd2b323717b6b1213e233d033d7dec9eaac9d19bf72b6e5caaf7
Status: Downloaded newer image for yegor256/ruby:latest
docker.io/yegor256/ruby:latest
+ grep --quiet '\syegor256_sibit_283\s*$'
+ docker ps --filter=status=exited
+ ls -al .
total 48
drwx------  3 ubuntu ubuntu 4096 Jul 24 05:23 .
drwxrwxrwt 12 root   root   4096 Jul 24 05:23 ..
-rwxrwxr-x  1 ubuntu ubuntu  666 Jul 24 05:23 end.sh
-rwxrwxr-x  1 ubuntu ubuntu  498 Jul 24 05:23 entry.sh
-rw-rw-r--  1 ubuntu ubuntu    5 Jul 24 05:23 pid
drwxrwxr-x 10 ubuntu ubuntu 4096 Jul 24 05:23 repo
-rw-rw-r--  1 ubuntu ubuntu   81 Jul 24 05:23 rubygems.yml
-rwxrwxr-x  1 ubuntu ubuntu 6574 Jul 24 05:23 run.sh
-rw-rw-r--  1 ubuntu ubuntu  660 Jul 24 05:23 script.sh
-rw-rw-r--  1 ubuntu ubuntu 5475 Jul 24 05:24 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-1H6w:/main --env=skip_cross=true --env=head=git@github.com:yegor256/sibit.git --env=tag=0.34.0 '--env=scripts=( '\''export '\''\'\'''\''skip_cross=true'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head=git@github.com:yegor256/sibit.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.34.0'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''bundle install --no-color "--gemfile=$(pwd)/Gemfile"'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" lib/sibit/version.rb'\'' '\'';'\'' '\''git add lib/sibit/version.rb'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build sibit.gemspec'\'' '\'';'\'' '\''chmod 0600 ../rubygems.yml'\'' '\'';'\'' '\''gem push *.gem --config-file ../rubygems.yml'\'' '\'';'\'' )' --env=head_branch=master --env=author=yegor256 --hostname=docker --privileged --net=host --dns 8.8.8.8 --add-host docker:127.0.0.1 --memory=8g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-1H6w/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_sibit_283 yegor256/ruby /main/entry.sh
WARNING: Your kernel does not support OomKillDisable. OomKillDisable discarded.
+ set -e
+ set -o pipefail
+ shopt -s dotglob
+ useradd -m -G sudo r
++ awk -F : '$3 > 100 { print $1 }'
++ cat /etc/group
+ for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }')
+ usermod -a -G nogroup r
+ for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }')
+ usermod -a -G ubuntu r
+ for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }')
+ usermod -a -G systemd-journal r
+ for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }')
+ usermod -a -G systemd-network r
+ for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }')
+ usermod -a -G messagebus r
+ for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }')
+ usermod -a -G _ssh r
+ for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }')
+ usermod -a -G polkitd r
+ for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }')
+ usermod -a -G ssh r
+ for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }')
+ usermod -a -G docker r
+ for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }')
+ usermod -a -G r r
+ usermod -s /bin/bash r
+ echo '%sudo ALL=(ALL) NOPASSWD:ALL'
+ cp -R /root/.bashrc /root/.cache /root/.gemrc /root/.profile /root/.ssh /home/r
+ cp -R ./cid ./end.sh ./entry.sh ./pid ./repo ./rubygems.yml ./run.sh ./script.sh ./stdout /home/r
+ rm -rf repo
+ chown -R r:r /home/r
+ chmod a+x /home/r/script.sh
+ cat /home/r/script.sh
#!/usr/bin/env bash
set -e
set -o pipefail
if [ -e /home/r/.profile ]; then source /home/r/.profile; fi
shopt -s expand_aliases
alias 'sudo=sudo -i'
export HOME=/home/r
cd "${HOME}/repo"
export 'skip_cross=true' ; export 'head=git@github.com:yegor256/sibit.git' ; export 'tag=0.34.0' ; export 'head_branch=master' ; export 'author=yegor256' ; pdd -f /dev/null ; bundle install --no-color "--gemfile=$(pwd)/Gemfile" ; bundle exec rake ; sed -i "s/0\.0\.0/${tag}/g" lib/sibit/version.rb ; git add lib/sibit/version.rb ; git commit -m "version set to ${tag}" ; gem build sibit.gemspec ; chmod 0600 ../rubygems.yml ; gem push *.gem --config-file ../rubygems.yml ;
+ su --login r --command /home/r/script.sh
Found 7 lines in /home/r/repo/.pdd
My version is 0.23.1
Ruby version is 3.4.9 at x86_64-linux
Reading from root dir .
Excluding target/**/*
Excluding coverage/**/*
/usr/local/bundle/gems/pdd-0.23.1/lib/pdd/sources.rb:90: warning: undefining the allocator of T_DATA class FileMagic
/home/r/repo/logo.svg is a binary file (3101 bytes)
/home/r/repo/renovate.json is a binary file (107 bytes)
Reading .0pdd.yml ...
Reading .gitattributes ...
Reading .github/typos.toml ...
Reading .github/workflows/actionlint.yml ...
Reading .github/workflows/codecov.yml ...
Reading .github/workflows/copyrights.yml ...
Reading .github/workflows/markdown-lint.yml ...
Reading .github/workflows/pdd.yml ...
Reading .github/workflows/rake.yml ...
Reading .github/workflows/reuse.yml ...
Reading .github/workflows/typos.yml ...
Reading .github/workflows/xcop.yml ...
Reading .github/workflows/yamllint.yml ...
Reading .gitignore ...
Reading .gitleaksignore ...
Reading .pdd ...
Reading .rubocop.yml ...
Reading .rultor.yml ...
Reading Gemfile ...
Reading Gemfile.lock ...
Reading LICENSE.txt ...
Reading LICENSES/MIT.txt ...
Reading README.md ...
Reading REUSE.toml ...
Reading Rakefile ...
Reading bin/sibit ...
Reading cross/alpine.df ...
Reading cross/centos.df ...
Reading cross/debian.df ...
Reading cross/fedora.df ...
Reading cross/opensuse.df ...
Reading cross/rocky.df ...
Reading cross/ubuntu.df ...
Reading cucumber.yml ...
Reading features/cli.feature ...
Reading features/dry.feature ...
Reading features/fake.feature ...
Reading features/gem_package.feature ...
Reading features/step_definitions/steps.rb ...
Reading features/support/env.rb ...
Reading lib/sibit/base58.rb ...
Reading lib/sibit/bech32.rb ...
Reading lib/sibit/bestof.rb ...
Reading lib/sibit/bin.rb ...
Reading lib/sibit/bitcoinchain.rb ...
Reading lib/sibit/blockchain.rb ...
Reading lib/sibit/blockchair.rb ...
Reading lib/sibit/btc.rb ...
Reading lib/sibit/cex.rb ...
Reading lib/sibit/cryptoapis.rb ...
Reading lib/sibit/dry.rb ...
Reading lib/sibit/error.rb ...
Reading lib/sibit/fake.rb ...
Reading lib/sibit/firstof.rb ...
Reading lib/sibit/http.rb ...
Reading lib/sibit/httpproxy.rb ...
Reading lib/sibit/json.rb ...
Reading lib/sibit/key.rb ...
Reading lib/sibit/script.rb ...
Reading lib/sibit/sochain.rb ...
Reading lib/sibit/tx.rb ...
Reading lib/sibit/txbuilder.rb ...
Reading lib/sibit/version.rb ...
Reading lib/sibit.rb ...
Reading sibit.gemspec ...
Reading test/test__helper.rb ...
Reading test/test_base58.rb ...
Reading test/test_bech32.rb ...
Reading test/test_bestof.rb ...
Reading test/test_bin.rb ...
Reading test/test_bitcoinchain.rb ...
Reading test/test_blockchain.rb ...
Reading test/test_blockchair.rb ...
Reading test/test_btc.rb ...
Reading test/test_cex.rb ...
Reading test/test_cross.rb ...
Reading test/test_cryptoapis.rb ...
Reading test/test_dry.rb ...
Reading test/test_fake.rb ...
Reading test/test_firstof.rb ...
Reading test/test_http.rb ...
Reading test/test_httpproxy.rb ...
Reading test/test_json.rb ...
Reading test/test_key.rb ...
Reading test/test_live.rb ...
Reading test/test_regtest.rb ...
Reading test/test_script.rb ...
Reading test/test_sibit.rb ...
Reading test/test_sochain.rb ...
Reading test/test_tx.rb ...
Reading test/test_txbuilder.rb ...
Bundler 2.6.9 is running, but your lockfile was generated with 2.5.16. Installing Bundler 2.5.16 and restarting using that version.
Fetching gem metadata from https://rubygems.org/.
Fetching bundler 2.5.16
Installing bundler 2.5.16
Fetching gem metadata from https://rubygems.org/.........
Fetching rake 13.4.2
Installing rake 13.4.2
Fetching public_suffix 7.0.5
Installing public_suffix 7.0.5
Fetching addressable 2.9.0
Installing addressable 2.9.0
Fetching ansi 1.6.0
Installing ansi 1.6.0
Fetching contracts 0.17.3
Installing contracts 0.17.3
Fetching base64 0.3.0
Installing base64 0.3.0
Fetching builder 3.3.0
Installing builder 3.3.0
Fetching cucumber-ci-environment 11.0.0
Installing cucumber-ci-environment 11.0.0
Fetching cucumber-messages 32.3.1
Installing cucumber-messages 32.3.1
Fetching cucumber-gherkin 39.1.0
Installing cucumber-gherkin 39.1.0
Fetching cucumber-tag-expressions 8.1.0
Installing cucumber-tag-expressions 8.1.0
Fetching cucumber-core 16.2.0
Installing cucumber-core 16.2.0
Fetching bigdecimal 4.1.2
Installing bigdecimal 4.1.2 with native extensions
Fetching cucumber-cucumber-expressions 19.0.1
Installing cucumber-cucumber-expressions 19.0.1
Fetching cucumber-html-formatter 23.1.0
Installing cucumber-html-formatter 23.1.0
Fetching diff-lcs 1.6.2
Installing diff-lcs 1.6.2
Fetching logger 1.7.0
Installing logger 1.7.0
Fetching mini_mime 1.1.5
Installing mini_mime 1.1.5
Fetching multi_test 1.1.0
Installing multi_test 1.1.0
Fetching ffi 1.17.4 (x86_64-linux-gnu)
Installing ffi 1.17.4 (x86_64-linux-gnu)
Fetching memoist3 1.0.0
Installing memoist3 1.0.0
Fetching sys-uname 1.5.1
Installing sys-uname 1.5.1
Fetching cucumber 11.1.1
Installing cucumber 11.1.1
Fetching prettyprint 0.2.0
Installing prettyprint 0.2.0
Fetching pp 0.6.3
Installing pp 0.6.3
Fetching prism 1.9.0
Installing prism 1.9.0 with native extensions
Fetching erb 6.0.4
Installing erb 6.0.4 with native extensions
Fetching tsort 0.2.0
Installing tsort 0.2.0
Fetching rbs 4.0.3
Installing rbs 4.0.3 with native extensions
Fetching rdoc 8.0.0
Installing rdoc 8.0.0
Fetching io-console 0.8.2
Installing io-console 0.8.2 with native extensions
Fetching reline 0.6.3
Installing reline 0.6.3
Fetching irb 1.18.0
Installing irb 1.18.0
Fetching rspec-support 3.13.7
Installing rspec-support 3.13.7
Fetching rspec-expectations 3.13.5
Installing rspec-expectations 3.13.5
Fetching thor 1.5.0
Installing thor 1.5.0
Fetching aruba 2.4.1
Installing aruba 2.4.1
Fetching ast 2.4.3
Installing ast 2.4.3
Fetching backtrace 0.4.1
Installing backtrace 0.4.1
Fetching crack 1.0.1
Installing crack 1.0.1
Fetching decoor 0.1.0
Installing decoor 0.1.0
Fetching docile 1.4.1
Installing docile 1.4.1
Fetching os 1.1.4
Installing os 1.1.4
Fetching ellipsized 0.3.0
Installing ellipsized 0.3.0
Fetching loog 0.8.0
Installing loog 0.8.0
Fetching tago 0.7.0
Installing tago 0.7.0
Fetching elapsed 0.3.1
Installing elapsed 0.3.1
Fetching qbash 0.8.4
Installing qbash 0.8.4
Fetching donce 0.7.0
Installing donce 0.7.0
Fetching drb 2.2.3
Installing drb 2.2.3
Fetching hashdiff 1.2.1
Installing hashdiff 1.2.1
Fetching iri 0.11.8
Installing iri 0.11.8
Fetching json 2.19.9
Installing json 2.19.9 with native extensions
Fetching language_server-protocol 3.17.0.5
Installing language_server-protocol 3.17.0.5
Fetching lint_roller 1.1.0
Installing lint_roller 1.1.0
Fetching minitest 6.0.6
Installing minitest 6.0.6
Fetching ruby-progressbar 1.13.0
Installing ruby-progressbar 1.13.0
Fetching minitest-reporters 1.8.0
Installing minitest-reporters 1.8.0
Fetching openssl 3.3.3
Installing openssl 3.3.3 with native extensions
Fetching parallel 2.1.0
Installing parallel 2.1.0
Fetching parser 3.3.11.1
Installing parser 3.3.11.1
Fetching regexp_parser 2.12.0
Installing regexp_parser 2.12.0
Fetching retriable 3.8.0
Installing retriable 3.8.0
Fetching retriable_proxy 1.0.2
Installing retriable_proxy 1.0.2
Fetching rubocop-ast 1.49.1
Installing rubocop-ast 1.49.1
Fetching unicode-emoji 4.2.0
Installing unicode-emoji 4.2.0
Fetching unicode-display_width 3.2.0
Installing unicode-display_width 3.2.0
Fetching rubocop 1.88.0
Installing rubocop 1.88.0
Fetching rubocop-elegant 0.6.0
Installing rubocop-elegant 0.6.0
Fetching rubocop-minitest 0.39.1
Installing rubocop-minitest 0.39.1
Fetching rubocop-performance 1.26.1
Installing rubocop-performance 1.26.1
Fetching rubocop-rake 0.7.1
Installing rubocop-rake 0.7.1
Fetching simplecov-html 0.13.2
Installing simplecov-html 0.13.2
Fetching simplecov_json_formatter 0.1.4
Installing simplecov_json_formatter 0.1.4
Fetching simplecov 0.22.0
Installing simplecov 0.22.0
Fetching simplecov-cobertura 3.1.0
Installing simplecov-cobertura 3.1.0
Fetching webmock 3.26.2
Installing webmock 3.26.2
Bundle complete! 20 Gemfile dependencies, 83 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
1 installed gem you directly depend on is looking for funding.
  Run `bundle fund` for details
/usr/local/bundle/gems/bundler-2.5.16/lib/bundler/rubygems_ext.rb:250: warning: method redefined; discarding old encode_with
/usr/local/lib/ruby/3.4.0/rubygems/dependency.rb:341: warning: previous definition of encode_with was here
Started with run options --seed 2185

TestKey
  test_accepts_maximum_private_key                               32m PASS0m (0.01s)
  test_public_key_length_is_sixty_six                            32m PASS0m (0.00s)
  test_generates_unique_keys                                     32m PASS0m (0.00s)
  test_derives_correct_bech32_address                            32m PASS0m (0.00s)
  test_signs_large_data                                          32m PASS0m (0.00s)
  test_bech32_address_starts_with_bc1q                           32m PASS0m (0.00s)
  test_different_keys_produce_different_signatures               32m PASS0m (0.01s)
  test_accepts_minimum_private_key                               32m PASS0m (0.00s)
  test_imports_wif_testnet_compressed                            32m PASS0m (0.00s)
  test_accepts_uppercase_hex                                     32m PASS0m (0.00s)
  test_rejects_curve_order                                       32m PASS0m (0.00s)
  test_imports_wif_testnet_uncompressed                          32m PASS0m (0.00s)
  test_imports_wif_mainnet_compressed                            32m PASS0m (0.00s)
  test_rejects_wif_with_invalid_checksum                         32m PASS0m (0.00s)
  test_generates_random_key                                      32m PASS0m (0.00s)
  test_rejects_invalid_private_key_zero                          32m PASS0m (0.00s)
  test_verify_returns_false_for_wrong_data                       32m PASS0m (0.00s)
  test_signature_not_verifiable_by_different_key                 32m PASS0m (0.01s)
  test_regtest_bech32_starts_with_bcrt1q                         32m PASS0m (0.00s)
  test_derives_correct_base58_address                            32m PASS0m (0.00s)
  test_signs_empty_data                                          32m PASS0m (0.00s)
  test_verify_returns_false_for_invalid_signature                32m PASS0m (0.00s)
  test_wif_and_hex_produce_same_address                          32m PASS0m (0.00s)
  test_generated_key_survives_roundtrip                          32m PASS0m (0.00s)
  test_rejects_private_key_above_curve_order                     32m PASS0m (0.00s)
  test_creates_key_from_private                                  32m PASS0m (0.00s)
  test_signs_and_verifies                                        32m PASS0m (0.00s)
  test_returns_compressed_public_key                             32m PASS0m (0.00s)
  test_imports_wif_mainnet_uncompressed                          32m PASS0m (0.00s)
  test_uppercase_and_lowercase_produce_same_key                  32m PASS0m (0.00s)
  test_network_override_from_wif                                 32m PASS0m (0.00s)
  test_rejects_wif_with_invalid_version                          32m PASS0m (0.00s)
  test_rejects_above_curve_order                                 32m PASS0m (0.00s)
  test_signature_is_der_encoded                                  32m PASS0m (0.00s)
  test_base58_address_starts_with_one                            32m PASS0m (0.00s)
  test_signatures_differ_for_same_data                           32m PASS0m (0.00s)

TestCryptoapis
  test_fetch_next_of_block                                       32m PASS0m (0.03s)
  test_push_transaction                                          32m PASS0m (0.00s)
  test_fees_raises_not_supported                                 32m PASS0m (0.00s)
  test_fetch_latest_block_hash                                   32m PASS0m (0.00s)
  test_utxos_raises_not_supported                                32m PASS0m (0.00s)
  test_fetch_balance                                             32m PASS0m (0.00s)
  test_price_raises_not_supported                                32m PASS0m (0.00s)
  test_works_without_api_key                                     32m PASS0m (0.00s)
  test_fetch_height                                              32m PASS0m (0.00s)
  test_fetch_block                                               32m PASS0m (0.00s)

TestBlockchain
  test_next_of                                                   33m SKIP0m (0.00s)
  test_fetch_block                                               32m PASS0m (0.00s)

TestDry
  test_delegates_balance                                         32m PASS0m (0.00s)
  test_delegates_latest                                          32m PASS0m (0.00s)
  test_responds_to_delegated_methods                             32m PASS0m (0.00s)
  test_blocks_push                                               32m PASS0m (0.00s)
  test_delegates_fees                                            32m PASS0m (0.00s)
  test_delegates_price                                           32m PASS0m (0.00s)

TestBestOf
  test_not_array                                                 32m PASS0m (0.00s)
  test_two_apis                                                  32m PASS0m (0.00s)
  test_one_apis                                                  32m PASS0m (0.00s)
  test_all_fail                                                  32m PASS0m (0.00s)

TestBlockchair
  test_height_raises_not_supported                               32m PASS0m (0.00s)
  test_utxos_raises_not_supported                                32m PASS0m (0.00s)
  test_block_raises_not_supported                                32m PASS0m (0.00s)
  test_push_with_api_key                                         32m PASS0m (0.00s)
  test_latest_raises_not_supported                               32m PASS0m (0.00s)
  test_balance_url_omits_key_when_nil                            32m PASS0m (0.00s)
  test_price_raises_not_supported                                32m PASS0m (0.00s)
  test_push_transaction                                          32m PASS0m (0.00s)
  test_url_encodes_api_key                                       32m PASS0m (0.00s)
  test_next_of_raises_not_supported                              32m PASS0m (0.00s)
  test_returns_zero_for_unknown_address                          32m PASS0m (0.00s)
  test_fetch_balance                                             32m PASS0m (0.00s)
  test_fees_raises_not_supported                                 32m PASS0m (0.00s)
  test_uses_api_key_in_requests                                  32m PASS0m (0.00s)

TestRegtest
+ docker run --detach --name donce-5baccde00466 --add-host host.docker.internal:host-gateway   --publish 34055:18443  ruimarinho/bitcoin-core:latest -regtest -rpcallowip=0.0.0.0/0 -rpcbind=0.0.0.0 -rpcport=18443 -rpcuser=test -rpcpassword=test -fallbackfee=0.0001 -deprecatedrpc=create_bdb /#1338
#1338: Unable to find image 'ruimarinho/bitcoin-core:latest' locally
#1338: latest: Pulling from ruimarinho/bitcoin-core
#1338: 0251c4232e40: Pulling fs layer
#1338: 4b16d28ae290: Pulling fs layer
#1338: 3619f16d8d52: Pulling fs layer
#1338: ab8c940792fe: Pulling fs layer
#1338: a6dc994f534b: Pulling fs layer
#1338: ab8c940792fe: Waiting
#1338: a6dc994f534b: Waiting
#1338: 4b16d28ae290: Verifying Checksum
#1338: 4b16d28ae290: Download complete
#1338: 3619f16d8d52: Verifying Checksum
#1338: 3619f16d8d52: Download complete
#1338: ab8c940792fe: Verifying Checksum
#1338: ab8c940792fe: Download complete
#1338: 0251c4232e40: Verifying Checksum
#1338: 0251c4232e40: Download complete
#1338: a6dc994f534b: Verifying Checksum
#1338: a6dc994f534b: Download complete
#1338: 0251c4232e40: Pull complete
#1338: 4b16d28ae290: Pull complete
#1338: 3619f16d8d52: Pull complete
#1338: ab8c940792fe: Pull complete
#1338: a6dc994f534b: Pull complete
#1338: Digest: sha256:1f93ce741760cd0360eba61a7a37432d88ca7680308e268b9d2b136779e0c32a
#1338: Status: Downloaded newer image for ruimarinho/bitcoin-core:latest
+ docker logs donce-5baccde00466 /#1346
+ docker rm --force donce-5baccde00466 /#1354
  test_multiple_inputs_from_same_address                         32m PASS0m (7.60s)
+ docker run --detach --name donce-147b1b1c31cf --add-host host.docker.internal:host-gateway   --publish 37301:18443  ruimarinho/bitcoin-core:latest -regtest -rpcallowip=0.0.0.0/0 -rpcbind=0.0.0.0 -rpcport=18443 -rpcuser=test -rpcpassword=test -fallbackfee=0.0001 -deprecatedrpc=create_bdb /#1379
+ docker logs donce-147b1b1c31cf /#1386
+ docker rm --force donce-147b1b1c31cf /#1395
  test_roundtrip_payment                                         32m PASS0m (2.77s)
+ docker run --detach --name donce-ba11dc11b28a --add-host host.docker.internal:host-gateway   --publish 39801:18443  ruimarinho/bitcoin-core:latest -regtest -rpcallowip=0.0.0.0/0 -rpcbind=0.0.0.0 -rpcport=18443 -rpcuser=test -rpcpassword=test -fallbackfee=0.0001 -deprecatedrpc=create_bdb /#1421
+ docker logs donce-ba11dc11b28a /#1429
+ docker rm --force donce-ba11dc11b28a /#1438
  test_sibit_generated_keys_send_payment                         32m PASS0m (2.77s)
+ docker run --detach --name donce-ceb9fe1e9b45 --add-host host.docker.internal:host-gateway   --publish 39203:18443  ruimarinho/bitcoin-core:latest -regtest -rpcallowip=0.0.0.0/0 -rpcbind=0.0.0.0 -rpcport=18443 -rpcuser=test -rpcpassword=test -fallbackfee=0.0001 -deprecatedrpc=create_bdb /#1463
+ docker logs donce-ceb9fe1e9b45 /#1470
+ docker rm --force donce-ceb9fe1e9b45 /#1478
  test_multihop_payment_chain                                    32m PASS0m (2.79s)
+ docker run --detach --name donce-950427150852 --add-host host.docker.internal:host-gateway   --publish 36587:18443  ruimarinho/bitcoin-core:latest -regtest -rpcallowip=0.0.0.0/0 -rpcbind=0.0.0.0 -rpcport=18443 -rpcuser=test -rpcpassword=test -fallbackfee=0.0001 -deprecatedrpc=create_bdb /#1503
+ docker logs donce-950427150852 /#1510
+ docker rm --force donce-950427150852 /#1518
  test_multiple_source_addresses                                 32m PASS0m (2.84s)
+ docker run --detach --name donce-a72e343599e0 --add-host host.docker.internal:host-gateway   --publish 37537:18443  ruimarinho/bitcoin-core:latest -regtest -rpcallowip=0.0.0.0/0 -rpcbind=0.0.0.0 -rpcport=18443 -rpcuser=test -rpcpassword=test -fallbackfee=0.0001 -deprecatedrpc=create_bdb /#1544
+ docker logs donce-a72e343599e0 /#1554
+ docker rm --force donce-a72e343599e0 /#1562
  test_sends_payment_in_regtest                                  32m PASS0m (2.79s)

TestBase58
  test_encodes_hex_to_base58                                     32m PASS0m (0.00s)
  test_preserves_leading_ones_on_decode                          32m PASS0m (0.00s)
  test_checksum_is_deterministic                                 32m PASS0m (0.00s)
  test_different_inputs_produce_different_checksums              32m PASS0m (0.00s)
  test_preserves_leading_zeros_on_encode                         32m PASS0m (0.00s)
  test_computes_checksum                                         32m PASS0m (0.00s)
  test_encodes_small_number                                      32m PASS0m (0.00s)
  test_roundtrip_encode_decode                                   32m PASS0m (0.00s)
  test_decodes_single_digit                                      32m PASS0m (0.00s)
  test_decodes_base58_to_hex                                     32m PASS0m (0.00s)

TestHttp
  test_enables_ssl                                               32m PASS0m (0.00s)
  test_sets_read_timeout                                         32m PASS0m (0.00s)
  test_creates_http_client                                       32m PASS0m (0.00s)

TestFirstOf
  test_not_array                                                 32m PASS0m (0.00s)
  test_two_apis                                                  32m PASS0m (0.00s)
  test_one_apis                                                  32m PASS0m (0.00s)
  test_all_fail                                                  32m PASS0m (0.00s)

TestScript
  test_handles_empty_script                                      32m PASS0m (0.00s)
  test_returns_nil_address_for_non_p2pkh                         32m PASS0m (0.00s)
  test_extracts_hash160_from_p2wpkh                              32m PASS0m (0.00s)
  test_rejects_wrong_hash_length                                 32m PASS0m (0.00s)
  test_parses_p2pkh_script                                       32m PASS0m (0.00s)
  test_extracts_address_from_script                              32m PASS0m (0.00s)
  test_rejects_non_p2pkh_script                                  32m PASS0m (0.00s)
  test_rejects_too_short_script                                  32m PASS0m (0.00s)
  test_rejects_wrong_op_hash160                                  32m PASS0m (0.00s)
  test_parses_p2wpkh_script                                      32m PASS0m (0.00s)
  test_rejects_wrong_op_dup                                      32m PASS0m (0.00s)
  test_extracts_segwit_address_from_p2wpkh                       32m PASS0m (0.00s)
  test_returns_nil_hash160_for_non_p2pkh                         32m PASS0m (0.00s)
  test_extracts_hash160_from_script                              32m PASS0m (0.00s)
  test_rejects_wrong_witness_version                             32m PASS0m (0.00s)

TestCross
  test_works_on_centos                                           33m SKIP0m (0.00s)
  test_works_on_alpine                                           33m SKIP0m (0.00s)
  test_works_on_rocky                                            33m SKIP0m (0.00s)
  test_works_on_fedora                                           33m SKIP0m (0.00s)
  test_works_on_ubuntu                                           33m SKIP0m (0.00s)
  test_works_on_debian                                           33m SKIP0m (0.00s)
  test_works_on_opensuse                                         33m SKIP0m (0.00s)

TestJson
  test_post_drops_empty_query                                    32m PASS0m (0.00s)
  test_post_keeps_query                                          32m PASS0m (0.00s)
  test_loads_hash                                                32m PASS0m (0.00s)

TestBech32
  test_decodes_p2wpkh_address                                    32m PASS0m (0.00s)
  test_decodes_uppercase_address                                 32m PASS0m (0.00s)
  test_rejects_invalid_checksum                                  32m PASS0m (0.00s)
  test_rejects_missing_separator                                 32m PASS0m (0.00s)
  test_encodes_witness_to_testnet_address                        32m PASS0m (0.00s)
  test_returns_version_zero                                      32m PASS0m (0.00s)
  test_encodes_witness_to_mainnet_address                        32m PASS0m (0.00s)
  test_rejects_invalid_character                                 32m PASS0m (0.00s)

TestSibit
  test_fail_if_not_enough_funds                                  32m PASS0m (0.01s)
  test_send_payment_with_xl_minus_fee                            32m PASS0m (0.02s)
  test_balance_rejects_negative_trust                            32m PASS0m (0.00s)
  test_get_latest_block                                          32m PASS0m (0.00s)
  test_fetch_current_price                                       32m PASS0m (0.00s)
  test_balance_default_trust_uses_api_balance                    32m PASS0m (0.00s)
  test_generate_key_and_prints                                   32m PASS0m (0.00s)
  test_get_balance                                               32m PASS0m (0.00s)
  test_send_payment                                              32m PASS0m (0.02s)
  test_generate_key                                              32m PASS0m (0.00s)
  test_scan                                                      32m PASS0m (0.00s)
  test_creates_segwit_address                                    32m PASS0m (0.01s)
  test_balance_with_trust_sums_confirmed_utxos                   32m PASS0m (0.00s)
  test_send_payment_skips_utxo_below_trust                       32m PASS0m (0.01s)

TestBitcoinchain
  test_fetch_block                                               32m PASS0m (0.00s)
  test_fetch_hash                                                32m PASS0m (0.00s)
  test_fetch_balance                                             32m PASS0m (0.00s)

TestHttpProxy
  test_parses_port_with_auth                                     32m PASS0m (0.00s)
  test_enables_ssl                                               32m PASS0m (0.00s)
  test_configures_proxy_address                                  32m PASS0m (0.00s)
  test_parses_address_with_auth                                  32m PASS0m (0.00s)
  test_configures_proxy_password                                 32m PASS0m (0.00s)
  test_sets_read_timeout                                         32m PASS0m (0.00s)
  test_configures_proxy_user                                     32m PASS0m (0.00s)
  test_creates_http_client                                       32m PASS0m (0.00s)
  test_configures_proxy_port                                     32m PASS0m (0.00s)

TestSochain
  test_fetch_price                                               32m PASS0m (0.00s)
  test_uses_alternate_network                                    32m PASS0m (0.00s)
  test_balance_zero_when_no_data                                 32m PASS0m (0.00s)
  test_price_raises_when_no_data                                 32m PASS0m (0.00s)
  test_fetch_utxos                                               32m PASS0m (0.00s)
  test_balance_zero_when_no_confirmed_field                      32m PASS0m (0.00s)
  test_latest_block                                              32m PASS0m (0.00s)
  test_latest_raises_when_no_data                                32m PASS0m (0.00s)
  test_push_raises_on_bad_status                                 32m PASS0m (0.00s)
  test_next_of_nil_for_zero_hash                                 32m PASS0m (0.00s)
  test_get_height                                                32m PASS0m (0.00s)
  test_next_of_returns_hash                                      32m PASS0m (0.00s)
  test_fetch_balance                                             32m PASS0m (0.00s)
  test_utxos_skips_addresses_without_data                        32m PASS0m (0.00s)
  test_fees_raises_not_supported                                 32m PASS0m (0.00s)
  test_push_posts_hex_as_json                                    32m PASS0m (0.00s)

TestTx
  test_generates_transaction_hash                                32m PASS0m (0.00s)
  test_input_stores_previous_output_hash                         32m PASS0m (0.00s)
  test_output_script_ends_with_checksig                          32m PASS0m (0.00s)
  test_creates_empty_transaction                                 32m PASS0m (0.00s)
  test_output_has_correct_value                                  32m PASS0m (0.00s)
  test_output_generates_p2sh_script                              32m PASS0m (0.00s)
  test_output_generates_script                                   32m PASS0m (0.00s)
  test_adds_output                                               32m PASS0m (0.00s)
  test_input_prev_out_returns_binary_hash                        32m PASS0m (0.00s)
  test_in_returns_inputs                                         32m PASS0m (0.00s)
  test_output_generates_segwit_script                            32m PASS0m (0.00s)
  test_out_returns_outputs                                       32m PASS0m (0.00s)
  test_rejects_unknown_address_version                           32m PASS0m (0.00s)
  test_adds_input                                                32m PASS0m (0.00s)
  test_input_stores_previous_output_index                        32m PASS0m (0.00s)
  test_supports_multiple_outputs                                 32m PASS0m (0.00s)
  test_output_segwit_script_has_correct_length                   32m PASS0m (0.00s)
  test_generates_hex_payload                                     32m PASS0m (0.00s)

TestBtc
  test_get_price                                                 32m PASS0m (0.00s)
  test_fetch_next_of_block                                       32m PASS0m (0.00s)
  test_fetch_latest_block_hash                                   32m PASS0m (0.00s)
  test_fetch_height_raises_on_missing_height                     32m PASS0m (0.00s)
  test_fetch_utxos_skips_outputs_for_other_address               32m PASS0m (0.00s)
  test_fetch_block_broken                                        32m PASS0m (0.00s)
  test_block_sets_next_to_nil_for_latest                         32m PASS0m (0.00s)
  test_fetch_next_of_raises_on_missing_block                     32m PASS0m (0.00s)
  test_fetch_next_of_returns_nil_for_latest                      32m PASS0m (0.00s)
  test_get_zero_balance_no_txns                                  32m PASS0m (0.00s)
  test_utxos_returns_empty_when_list_missing                     32m PASS0m (0.00s)
  test_fees_raises_not_supported                                 32m PASS0m (0.00s)
  test_fetch_utxos_for_single_address                            32m PASS0m (0.00s)
  test_block_raises_on_missing_data                              32m PASS0m (0.00s)
  test_fetch_height_raises_on_missing_block                      32m PASS0m (0.00s)
  test_utxos_accumulates_across_addresses                        32m PASS0m (0.00s)
  test_get_empty_balance                                         32m PASS0m (0.00s)
  test_fetch_latest_raises_on_missing_data                       32m PASS0m (0.00s)
  test_fetch_height                                              32m PASS0m (0.00s)
  test_fetch_utxos_accumulates_across_addresses                  32m PASS0m (0.00s)
  test_push_raises_not_supported                                 32m PASS0m (0.00s)
  test_fetch_utxos_returns_empty_when_list_is_nil                32m PASS0m (0.00s)
  test_price_raises_not_supported                                32m PASS0m (0.00s)
  test_fetch_utxos_raises_when_address_not_found                 32m PASS0m (0.00s)
  test_get_broken_balance                                        32m PASS0m (0.00s)
  test_get_zero_balance                                          32m PASS0m (0.00s)
  test_txns_raises_on_empty_list                                 32m PASS0m (0.00s)
  test_fetch_block                                               32m PASS0m (0.00s)
  test_utxos_skips_outputs_for_other_addresses                   32m PASS0m (0.00s)
  test_get_balance                                               32m PASS0m (0.00s)
  test_utxos_raises_when_data_missing                            32m PASS0m (0.00s)

TestBin
a8e52da7aa075a64ebfb2e30b33e4a895727de9a25c2676ea5371b350382149e
  test_pay_dry_does_not_push_transaction                         32m PASS0m (0.02s)
  test_generates_key_via_command_line                            32m PASS0m (0.34s)
50000
  test_balance_via_sochain_api                                   32m PASS0m (0.00s)
00000000abc123
  test_latest_via_cryptoapis_api                                 32m PASS0m (0.00s)
ce4d0496665c364981d94a3558fa261b01bfbd752aeddae93fadbafdce3690a8
  test_pay_with_max_amount_uses_balance                          32m PASS0m (0.01s)

TestTxBuilder
  test_serializes_to_hex                                         32m PASS0m (0.00s)
  test_skips_change_when_zero_or_negative                        32m PASS0m (0.00s)
  test_builds_transaction_with_hash                              32m PASS0m (0.00s)
  test_returns_outputs_via_out_method                            32m PASS0m (0.00s)
  test_supports_multiple_inputs                                  32m PASS0m (0.00s)
  test_creates_change_output                                     32m PASS0m (0.00s)
  test_skips_change_when_leave_fee_is_false                      32m PASS0m (0.00s)
  test_supports_multiple_outputs                                 32m PASS0m (0.00s)
  test_returns_inputs_via_in_method                              32m PASS0m (0.00s)
  test_input_builder_stores_all_fields                           32m PASS0m (0.00s)

TestFake
  test_scan_works                                                32m PASS0m (0.00s)
  test_fake_object_works                                         32m PASS0m (0.00s)

TestLive
  test_absent_balance                                            33m SKIP0m (0.00s)
  test_balance                                                   33m SKIP0m (0.00s)
  test_next_of                                                   33m SKIP0m (0.00s)
  test_price                                                     33m SKIP0m (0.00s)
  test_height                                                    33m SKIP0m (0.00s)
  test_utxos                                                     33m SKIP0m (0.00s)
  test_block                                                     33m SKIP0m (0.00s)
  test_latest                                                    33m SKIP0m (0.00s)

Finished in 22.36666s
244 tests, 400 assertions, 32m0 failures, 0 errors, 0m33m16 skips0m
Coverage report generated for test to /home/r/repo/coverage.
Line Coverage: 90.58% (1211 / 1337)
Coverage report generated for test to /home/r/repo/coverage/coverage.xml.
Line Coverage: 90.58% (1211 / 1337)
+ bundle exec ruby lib/sibit/base58.rb /#1577
+ bundle exec ruby lib/sibit/bech32.rb /#1588
+ bundle exec ruby lib/sibit/bestof.rb /#1599
+ bundle exec ruby lib/sibit/bin.rb /#1610
+ bundle exec ruby lib/sibit/bitcoinchain.rb /#1621
+ bundle exec ruby lib/sibit/blockchain.rb /#1632
+ bundle exec ruby lib/sibit/blockchair.rb /#1643
+ bundle exec ruby lib/sibit/btc.rb /#1654
+ bundle exec ruby lib/sibit/cex.rb /#1665
+ bundle exec ruby lib/sibit/cryptoapis.rb /#1676
+ bundle exec ruby lib/sibit/dry.rb /#1687
+ bundle exec ruby lib/sibit/error.rb /#1698
+ bundle exec ruby lib/sibit/fake.rb /#1709
+ bundle exec ruby lib/sibit/firstof.rb /#1720
+ bundle exec ruby lib/sibit/http.rb /#1731
+ bundle exec ruby lib/sibit/httpproxy.rb /#1742
+ bundle exec ruby lib/sibit/json.rb /#1753
+ bundle exec ruby lib/sibit/key.rb /#1764
+ bundle exec ruby lib/sibit/script.rb /#1775
+ bundle exec ruby lib/sibit/sochain.rb /#1786
+ bundle exec ruby lib/sibit/tx.rb /#1797
+ bundle exec ruby lib/sibit/txbuilder.rb /#1808
+ bundle exec ruby lib/sibit/version.rb /#1819
+ bundle exec ruby lib/sibit.rb /#1830
/usr/local/bin/ruby -S bundle exec cucumber
Using the default profile...
90m# SPDX-FileCopyrightText: Copyright (c) 2019-2026 Yegor Bugayenko0m
90m# SPDX-License-Identifier: MIT0m
Feature: Command Line Processing
  As a holder of BTC I want to be able to use sibit

  Scenario: Help can be printed        90m# features/cli.feature:60m
    32mWhen I run bin/sibit with "32m1m--help0m0m32m"90m # features/step_definitions/steps.rb:280m0m
    32mThen Exit code is zero90m             # features/step_definitions/steps.rb:420m0m
    32mAnd Stdout contains "32m1mCommands:0m0m32m"90m    # features/step_definitions/steps.rb:340m0m

  Scenario: Bitcoin price can be retrieved         90m# features/cli.feature:110m
    32mWhen I run bin/sibit with "32m1mprice --attempts=40m0m32m"90m # features/step_definitions/steps.rb:280m0m
    32mThen Exit code is zero90m                         # features/step_definitions/steps.rb:420m0m

  Scenario: Bitcoin latest block hash can be retrieved  90m# features/cli.feature:150m
    32mWhen I run bin/sibit with "32m1mlatest --api=blockchain0m0m32m"90m # features/step_definitions/steps.rb:280m0m
    32mThen Exit code is zero90m                              # features/step_definitions/steps.rb:420m0m

  Scenario: Bitcoin private key can be generated 90m# features/cli.feature:190m
    32mWhen I run bin/sibit with "32m1mgenerate0m0m32m"90m         # features/step_definitions/steps.rb:280m0m
    32mThen Exit code is zero90m                       # features/step_definitions/steps.rb:420m0m

  Scenario: Bitcoin address can be created                                                              90m# features/cli.feature:230m
    32mWhen I run bin/sibit with "32m1mcreate 46feba063e9b59a8ae0dba68abd39a3cb8f52089e776576d6eb1bb5bfec123d10m0m32m"90m # features/step_definitions/steps.rb:280m0m
    32mThen Exit code is zero90m                                                                              # features/step_definitions/steps.rb:420m0m

  Scenario: Bitcoin address can be created with base58 option at the end                                         90m# features/cli.feature:270m
    32mWhen I run bin/sibit with "32m1mcreate 46feba063e9b59a8ae0dba68abd39a3cb8f52089e776576d6eb1bb5bfec123d1 --base580m0m32m"90m # features/step_definitions/steps.rb:280m0m
    32mThen Exit code is zero90m                                                                                       # features/step_definitions/steps.rb:420m0m

  Scenario: Bitcoin address can be created with base58 option before command                                     90m# features/cli.feature:310m
    32mWhen I run bin/sibit with "32m1m--base58 create 46feba063e9b59a8ae0dba68abd39a3cb8f52089e776576d6eb1bb5bfec123d10m0m32m"90m # features/step_definitions/steps.rb:280m0m
    32mThen Exit code is zero90m                                                                                       # features/step_definitions/steps.rb:420m0m

  Scenario: Bitcoin balance can be checked                                           90m# features/cli.feature:350m
    32mWhen I run bin/sibit with "32m1mbalance 1MZT1fa6y8H9UmbZV6HqKF4UY41o9MGT5f --verbose0m0m32m"90m # features/step_definitions/steps.rb:280m0m
    32mThen Exit code is zero90m                                                           # features/step_definitions/steps.rb:420m0m

  Scenario: Bitcoin fees can be printed                   90m# features/cli.feature:390m
    32mWhen I run bin/sibit with "32m1mfees --verbose --api=fake0m0m32m"90m # features/step_definitions/steps.rb:280m0m
    32mThen Exit code is zero90m                                # features/step_definitions/steps.rb:420m0m

  Scenario: Pay help shows all options     90m# features/cli.feature:430m
    32mWhen I run bin/sibit with "32m1mpay --help0m0m32m"90m # features/step_definitions/steps.rb:280m0m
    32mThen Exit code is zero90m                 # features/step_definitions/steps.rb:420m0m
    32mAnd Stdout contains "32m1m--skip-utxo0m0m32m"90m      # features/step_definitions/steps.rb:340m0m
    32mAnd Stdout contains "32m1m--price0m0m32m"90m          # features/step_definitions/steps.rb:340m0m

  Scenario: Unknown option shows error message 90m# features/cli.feature:490m
    32mWhen I run bin/sibit with "32m1mgenerate --foo0m0m32m"90m # features/step_definitions/steps.rb:280m0m
    32mThen Exit code is not zero90m                 # features/step_definitions/steps.rb:460m0m
    32mAnd Stdout contains "32m1mUnknown option0m0m32m"90m       # features/step_definitions/steps.rb:340m0m

Feature: Command Line Processing
  As a holder of BTC I want to use sibit in dry mode

  Scenario: Bitcoin payment can be sent                                                                                                                                                                                                 90m# features/dry.feature:60m
    32mWhen I run bin/sibit with "32m1mpay --dry --verbose --api=fake --proxy=localhost:3128 999999 XL- 46feba063e9b59a8ae0dba68abd39a3cb8f52089e776576d6eb1bb5bfec123d1 1MZT1fa6y8H9UmbZV6HqKF4UY41o9MGT5f 1Fsyq5YGe8zbSjLS8YsDnZWM8U6AYMR6ZD0m0m32m"90m # features/step_definitions/steps.rb:280m0m
    32mThen Exit code is not zero90m                                                                                                                                                                                                          # features/step_definitions/steps.rb:460m0m
    32mThen Stdout contains "32m1mUTXO arrived to 1JvCsJtLmCxEk7ddZFnVkGXpr9uhxZPmJi is incorrect0m0m32m"90m                                                                                                                                              # features/step_definitions/steps.rb:340m0m

Feature: Command Line Processing
  As a holder of BTC I want to use sibit with fake provider

  Scenario: Bitcoin price can be retrieved                    90m# features/fake.feature:60m
    32mWhen I run bin/sibit with "32m1mprice --attempts=4 --api=fake0m0m32m"90m # features/step_definitions/steps.rb:280m0m
    32mThen Exit code is zero90m                                    # features/step_definitions/steps.rb:420m0m

  Scenario: Bitcoin latest block hash can be retrieved 90m# features/fake.feature:100m
    32mWhen I run bin/sibit with "32m1mlatest --api=fake0m0m32m"90m      # features/step_definitions/steps.rb:280m0m
    32mThen Exit code is zero90m                             # features/step_definitions/steps.rb:420m0m

  Scenario: Bitcoin balance can be checked                                                      90m# features/fake.feature:140m
    32mWhen I run bin/sibit with "32m1mbalance 1MZT1fa6y8H9UmbZV6HqKF4UY41o9MGT5f --verbose --api=fake0m0m32m"90m # features/step_definitions/steps.rb:280m0m
    32mThen Exit code is zero90m                                                                      # features/step_definitions/steps.rb:420m0m

  Scenario: Bitcoin fees can be printed                   90m# features/fake.feature:180m
    32mWhen I run bin/sibit with "32m1mfees --verbose --api=fake0m0m32m"90m # features/step_definitions/steps.rb:280m0m
    32mThen Exit code is zero90m                                # features/step_definitions/steps.rb:420m0m

  Scenario: Bitcoin payment can be sent                                                                                                                                                                                           90m# features/fake.feature:220m
    32mWhen I run bin/sibit with "32m1mpay --verbose --api=fake --proxy=localhost:3128 999999 XL- 46feba063e9b59a8ae0dba68abd39a3cb8f52089e776576d6eb1bb5bfec123d1 1MZT1fa6y8H9UmbZV6HqKF4UY41o9MGT5f 1Fsyq5YGe8zbSjLS8YsDnZWM8U6AYMR6ZD0m0m32m"90m # features/step_definitions/steps.rb:280m0m
    32mThen Exit code is not zero90m                                                                                                                                                                                                    # features/step_definitions/steps.rb:460m0m
    32mThen Stdout contains "32m1mUTXO arrived to 1JvCsJtLmCxEk7ddZFnVkGXpr9uhxZPmJi is incorrect0m0m32m"90m                                                                                                                                        # features/step_definitions/steps.rb:340m0m

Feature: Gem Package
  As a source code writer I want to be able to
  package the Gem into .gem file

  Scenario: Gem can be packaged                  90m# features/gem_package.feature:70m
    32mGiven It is Unix90m                             # features/step_definitions/steps.rb:620m0m
    32mGiven I have a "32m1mexecs.rb0m0m32m" file with content:90m # features/step_definitions/steps.rb:230m0m
32m      """0m
32m      #!/usr/bin/env ruby0m
32m      require 'rubygems'0m
32m      spec = Gem::Specification::load('./spec.rb')0m
32m      if spec.executables.empty?0m
32m        fail 'no executables: ' + File.read('./spec.rb')0m
32m      end0m
32m      """0m
    32mWhen I run bash with:90m                        # features/step_definitions/steps.rb:560m0m
32m      """0m
32m      cd sibit0m
32m      gem build sibit.gemspec0m
32m      gemfile=$(ls -t sibit-*.gem | head -1)0m
32m      gem specification --ruby "$gemfile" > ../spec.rb0m
32m      cd ..0m
32m      ruby execs.rb0m
32m      """0m
    32mThen Exit code is zero90m                       # features/step_definitions/steps.rb:420m0m

18 scenarios (32m18 passed0m)
44 steps (32m44 passed0m)
0m7.339s
1m32m┌──────────────────────────────────────────────────────────────────────────────┐0m0m
1m32m│0m0m Share your Cucumber Report with your team at 4m1m36mhttps://reports.cucumber.io0m0m0m     1m32m│0m0m
1m32m│0m0m                                                                              1m32m│0m0m
1m32m│0m0m Command line option:    36m--publish0m                                            1m32m│0m0m
1m32m│0m0m Environment variable:   36mCUCUMBER_PUBLISH_ENABLED0m=36mtrue0m                        1m32m│0m0m
1m32m│0m0m cucumber.yml:           36mdefault: --publish0m                                   1m32m│0m0m
1m32m│0m0m                                                                              1m32m│0m0m
1m32m│0m0m More information at 4m1m36mhttps://cucumber.io/docs/cucumber/environment-variables/0m0m0m 1m32m│0m0m
1m32m│0m0m                                                                              1m32m│0m0m
1m32m│0m0m To disable this message, specify 1mCUCUMBER_PUBLISH_QUIET=true0m or use the      1m32m│0m0m
1m32m│0m0m 1m--publish-quiet0m option. You can also add this to your 1mcucumber.yml:0m          1m32m│0m0m
1m32m│0m0m 1mdefault: --publish-quiet0m                                                     1m32m│0m0m
1m32m└──────────────────────────────────────────────────────────────────────────────┘0m0m
Running RuboCop...
Inspecting 56 files
32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m

56 files inspected, 32mno offenses0m detected
[__rultor 8151195] version set to 0.34.0
 1 file changed, 1 insertion(+), 1 deletion(-)
  Successfully built RubyGem
  Name: sibit
  Version: 0.34.0
  File: sibit-0.34.0.gem
Pushing gem to https://rubygems.org...
Successfully registered gem: sibit (0.34.0)
+ mv /home/r/repo .
++ whoami
+ chown -R root repo
+ '[' -n '' ']'
++ whoami
+ sudo chown -R ubuntu repo
+ cd repo
+ git checkout __rultor
Already on '__rultor'
+ git tag 0.34.0 -m '0.34.0: tagged by rultor.com'
+ git reset --hard
HEAD is now at 8151195 version set to 0.34.0
+ git clean -fd
+ git checkout master
Switched to branch 'master'
Your branch is up to date with 'origin/master'.
+ git branch -D __rultor
Deleted branch __rultor (was 8151195).
+ git push --all origin
Everything up-to-date
+ git push --tags origin
To github.com:yegor256/sibit.git
 * [new tag]         0.34.0 -> 0.34.0
container 8b47534b60d25c4a305a210f4b51b13957332c2f852abeef851cc47ddad911d3 is dead
Fri Jul 24 05:26:55 UTC 2026