zold-io / zold

An Experimental Non-Blockchain Cryptocurrency for Fast Micro Payments
https://www.zold.io
MIT License
194 stars 53 forks source link

--ignore-nodes-absence in pay.rb #806

Closed davvd closed 1 year ago

davvd commented 1 year ago

Pass --ignore-nodes-absence to taxes.rb

davvd commented 1 year ago

@rultor release tag = 0.31.5

rultor commented 1 year ago

@rultor release tag = 0.31.5

@davvd OK, I will release it now. Please check the progress here

rultor commented 1 year ago

@rultor release tag = 0.31.5

@davvd Oops, I failed. You can see the full log here (spent 16min)

2023-06-25 21:27:53 +0000 Maximum connections set to 1024
2023-06-25 21:27:53 +0000 Listening on 0.0.0.0:39043, CTRL+C to stop
2023-06-25 21:27:53 +0000 Stopping ...
  test_renders_public_pages                                      \u001b[32m PASS\u001b[0m (2.44s)
2023-06-25 21:27:58 +0000 Thin web server (v1.8.2 codename Ruby Razor)
2023-06-25 21:27:58 +0000 Maximum connections set to 1024
2023-06-25 21:27:58 +0000 Listening on 0.0.0.0:36943, CTRL+C to stop
2023-06-25 21:28:04 +0000 Stopping ...
  test_score_is_reduced                                          \u001b[32m PASS\u001b[0m (11.18s)
2023-06-25 21:28:06 +0000 Thin web server (v1.8.2 codename Ruby Razor)
2023-06-25 21:28:06 +0000 Maximum connections set to 1024
2023-06-25 21:28:06 +0000 Listening on 0.0.0.0:38073, CTRL+C to stop
2023-06-25 21:28:08 +0000 Stopping ...
  test_wallet_page__copies                                       \u001b[32m PASS\u001b[0m (3.32s)
2023-06-25 21:28:10 +0000 Thin web server (v1.8.2 codename Ruby Razor)
2023-06-25 21:28:10 +0000 Maximum connections set to 1024
2023-06-25 21:28:10 +0000 Listening on 0.0.0.0:40831, CTRL+C to stop
2023-06-25 21:28:11 +0000 Stopping ...
  test_wallet_page__txt                                          \u001b[32m PASS\u001b[0m (3.28s)
2023-06-25 21:28:13 +0000 Thin web server (v1.8.2 codename Ruby Razor)
2023-06-25 21:28:13 +0000 Maximum connections set to 1024
2023-06-25 21:28:13 +0000 Listening on 0.0.0.0:37981, CTRL+C to stop
2023-06-25 21:28:14 +0000 Stopping ...
  test_renders_wallets_page                                      \u001b[32m PASS\u001b[0m (3.29s)
2023-06-25 21:28:18 +0000 Thin web server (v1.8.2 codename Ruby Razor)
2023-06-25 21:28:18 +0000 Maximum connections set to 1024
2023-06-25 21:28:18 +0000 Listening on 0.0.0.0:34839, CTRL+C to stop
2023-06-25 21:29:19 +0000 Stopping ...
  test_increments_score                                          \u001b[31mERROR\u001b[0m (64.86s)
RuntimeError:         RuntimeError: 'false' is not equal to 'true' even after 1m of waiting
            /home/r/repo/test/test__helper.rb:83:in `block in assert_equal_wait'
            /home/r/repo/test/test__helper.rb:70:in `loop'
            /home/r/repo/test/test__helper.rb:70:in `assert_equal_wait'
            /home/r/repo/test/node/test_front.rb:143:in `block (2 levels) in test_increments_score'
            /home/r/repo/test/node/test_front.rb:142:in `times'
            /home/r/repo/test/node/test_front.rb:142:in `block in test_increments_score'
            /home/r/repo/test/node/fake_node.rb:79:in `block (2 levels) in run'
            /usr/local/rvm/gems/ruby-2.7.0/gems/random-port-0.3.1/lib/random-port/pool.rb:63:in `block in acquire'
            /usr/local/rvm/gems/ruby-2.7.0/gems/random-port-0.3.1/lib/random-port/pool.rb:56:in `loop'
            /usr/local/rvm/gems/ruby-2.7.0/gems/random-port-0.3.1/lib/random-port/pool.rb:56:in `acquire'
            /home/r/repo/test/node/fake_node.rb:44:in `block in run'
            /home/r/repo/test/fake_home.rb:48:in `block in run'
            /usr/local/rvm/rubies/ruby-2.7.0/lib/ruby/2.7.0/tmpdir.rb:89:in `mktmpdir'
            /home/r/repo/test/fake_home.rb:46:in `run'
            /home/r/repo/test/node/fake_node.rb:43:in `run'
            /home/r/repo/test/node/test_front.rb:141:in `test_increments_score'

Finished in 795.64296s
313 tests, 3443 assertions, \u001b[31m0 failures, 1 errors, \u001b[0m\u001b[33m7 skips\u001b[0m
rake aborted!
Command failed with status (1): [ruby -I"lib:lib:test" -I"/usr/local/rvm/gems/ruby-2.7.0/gems/rake-12.3.2/lib" "/usr/local/rvm/gems/ruby-2.7.0/gems/rake-12.3.2/lib/rake/rake_test_loader.rb" "test/commands/routines/test_audit.rb" "test/commands/routines/test_gc.rb" "test/commands/routines/test_reconcile.rb" "test/commands/routines/test_reconnect.rb" "test/commands/routines/test_retire.rb" "test/commands/test_alias.rb" "test/commands/test_calculate.rb" "test/commands/test_clean.rb" "test/commands/test_create.rb" "test/commands/test_diff.rb" "test/commands/test_fetch.rb" "test/commands/test_invoice.rb" "test/commands/test_list.rb" "test/commands/test_merge.rb" "test/commands/test_node.rb" "test/commands/test_pay.rb" "test/commands/test_propagate.rb" "test/commands/test_pull.rb" "test/commands/test_push.rb" "test/commands/test_remote.rb" "test/commands/test_remove.rb" "test/commands/test_show.rb" "test/commands/test_taxes.rb" "test/node/test_async_entrance.rb" "test/node/test_entrance.rb" "test/node/test_farm.rb" "test/node/test_farmers.rb" "test/node/test_front.rb" "test/node/test_nodup_entrance.rb" "test/node/test_nospam_entrance.rb" "test/node/test_safe_entrance.rb" "test/node/test_spread_entrance.rb" "test/node/test_sync_entrance.rb" "test/node/test_trace.rb" "test/test__helper.rb" "test/test_age.rb" "test/test_amount.rb" "test/test_cached_wallets.rb" "test/test_copies.rb" "test/test_dir_items.rb" "test/test_gem.rb" "test/test_hands.rb" "test/test_hexnum.rb" "test/test_http.rb" "test/test_hungry_wallets.rb" "test/test_id.rb" "test/test_json_page.rb" "test/test_key.rb" "test/test_log.rb" "test/test_metronome.rb" "test/test_patch.rb" "test/test_prefixes.rb" "test/test_remotes.rb" "test/test_signature.rb" "test/test_size.rb" "test/test_sync_wallets.rb" "test/test_tax.rb" "test/test_thread_pool.rb" "test/test_tree_wallets.rb" "test/test_txn.rb" "test/test_upgrades.rb" "test/test_verbose_thread.rb" "test/test_version.rb" "test/test_wallet.rb" "test/test_wallets.rb" "test/test_zold.rb" "test/upgrades/test_delete_banned_wallets.rb" "test/upgrades/test_protocol_up.rb" ]
/usr/local/rvm/gems/ruby-2.7.0/gems/rake-12.3.2/exe/rake:27:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.7.0/bin/ruby_executable_hooks:24:in `eval'
/usr/local/rvm/gems/ruby-2.7.0/bin/ruby_executable_hooks:24:in `<main>'
Tasks: TOP => default => test
(See full trace by running task with --trace)
container 52232c204f3b56eef6f8f6d522329c379fbd63f01921f9a9fcf5b17c10f481df is dead
Sun 25 Jun 2023 11:29:54 PM CEST
davvd commented 1 year ago

@rultor release tag = 0.31.5

rultor commented 1 year ago

@rultor release tag = 0.31.5

@davvd OK, I will release it now. Please check the progress here

rultor commented 1 year ago

@rultor release tag = 0.31.5

@davvd Oops, I failed. You can see the full log here (spent 15min)

    \u001b[32mAnd Stdout contains "\u001b[32m\u001b[1m--help\u001b[0m\u001b[0m\u001b[32m"\u001b[90m  # features/step_definitions/steps.rb:62\u001b[0m\u001b[0m

  Scenario: Version can be printed\u001b[90m       # features/cli.feature:10\u001b[0m
    \u001b[32mWhen I run \u001b[32m\u001b[1mbin/zold\u001b[0m\u001b[0m\u001b[32m with "\u001b[32m\u001b[1m--version\u001b[0m\u001b[0m\u001b[32m"\u001b[90m # features/step_definitions/steps.rb:42\u001b[0m\u001b[0m
    \u001b[32mThen Exit code is zero\u001b[90m               # features/step_definitions/steps.rb:70\u001b[0m\u001b[0m

  Scenario: Wallet can be created\u001b[90m                                     # features/cli.feature:14\u001b[0m
    \u001b[32mWhen I run \u001b[32m\u001b[1mbin/zold\u001b[0m\u001b[0m\u001b[32m with "\u001b[32m\u001b[1m--trace --public-key=id_rsa.pub create\u001b[0m\u001b[0m\u001b[32m"\u001b[90m # features/step_definitions/steps.rb:42\u001b[0m\u001b[0m
    \u001b[32mThen Exit code is zero\u001b[90m                                            # features/step_definitions/steps.rb:70\u001b[0m\u001b[0m

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\u001b[90m                # features/gem_package.feature:5\u001b[0m
    \u001b[32mGiven It is Unix\u001b[90m                           # features/step_definitions/steps.rb:78\u001b[0m\u001b[0m
    \u001b[32mGiven I have "\u001b[32m\u001b[1mexecs.rb\u001b[0m\u001b[0m\u001b[32m" file with content:\u001b[90m # features/step_definitions/steps.rb:55\u001b[0m\u001b[0m
\u001b[32m      """\u001b[0m
\u001b[32m      #!/usr/bin/env ruby\u001b[0m
\u001b[32m      require 'rubygems'\u001b[0m
\u001b[32m      spec = Gem::Specification::load('./spec.rb')\u001b[0m
\u001b[32m      if spec.executables.empty?\u001b[0m
\u001b[32m        fail 'no executables: ' + IO.read('./spec.rb')\u001b[0m
\u001b[32m      end\u001b[0m
\u001b[32m      """\u001b[0m
    \u001b[32mWhen I run bash with:\u001b[90m                      # features/step_definitions/steps.rb:48\u001b[0m\u001b[0m
\u001b[32m      """\u001b[0m
\u001b[32m      set -x\u001b[0m
\u001b[32m      set -e\u001b[0m
\u001b[32m      cd zold\u001b[0m
\u001b[32m      gem build zold.gemspec\u001b[0m
\u001b[32m      gem specification --ruby zold-*.gem > ../spec.rb\u001b[0m
\u001b[32m      cd ..\u001b[0m
\u001b[32m      ruby execs.rb\u001b[0m
\u001b[32m      """\u001b[0m
    \u001b[32mThen Exit code is zero\u001b[90m                     # features/step_definitions/steps.rb:70\u001b[0m\u001b[0m

4 scenarios (\u001b[32m4 passed\u001b[0m)
11 steps (\u001b[32m11 passed\u001b[0m)
0m9.876s
Coverage report generated for Cucumber Features to /home/r/repo/coverage. 357 / 883 LOC (40.43%) covered.
Running RuboCop...
Inspecting 168 files
\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m

168 files inspected, \u001b[32mno offenses\u001b[0m detected
Running xcop...
Inspecting 0 files...

0 files checked, everything looks \u001b[32mpretty\u001b[0m
rake aborted!
Command failed with status (1): [grep -q -r '2018-2023'     --include '*.rb...]
/home/r/repo/Rakefile:84:in `block in <top (required)>'
/usr/local/rvm/gems/ruby-2.7.0/gems/rake-12.3.2/exe/rake:27:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.7.0/bin/ruby_executable_hooks:24:in `eval'
/usr/local/rvm/gems/ruby-2.7.0/bin/ruby_executable_hooks:24:in `<main>'
Tasks: TOP => default => copyright
(See full trace by running task with --trace)
container f778ac9394af46ca005bba05b254eaa5132e0466f6f847cef272bdd269281294 is dead
Sun 25 Jun 2023 11:51:31 PM CEST
davvd commented 1 year ago

@rultor release tag = 0.31.5

rultor commented 1 year ago

@rultor release tag = 0.31.5

@davvd OK, I will release it now. Please check the progress here

rultor commented 1 year ago

@rultor release tag = 0.31.5

@davvd Done! FYI, the full log is here (took me 16min)