zold-io / zold

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

/journal #736

Closed yegor256 closed 5 years ago

yegor256 commented 5 years ago

Let's keep a journal for each wallet, with all changes that happen there.

yegor256 commented 5 years ago

@rultor release, tag is 0.26.16

rultor commented 5 years ago

@rultor release, tag is 0.26.16

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

rultor commented 5 years ago

@rultor release, tag is 0.26.16

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

Feature: Command Line Processing
  As an payment originator I want to be able to use
  Zold as a command line tool

  Scenario: Help can be printed\u001b[90m   # features/cli.feature:5\u001b[0m
    \u001b[32mWhen I run \u001b[32m\u001b[1mbin/zold\u001b[0m\u001b[0m\u001b[32m with "\u001b[32m\u001b[1m-h\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
    \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)
0m11.093s
Coverage report generated for Cucumber Features to /home/r/repo/coverage. 357 / 852 LOC (41.9%) covered.
Running RuboCop...
Inspecting 161 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[33mC\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

Offenses:

\u001b[36mtest/commands/test_merge.rb\u001b[0m:65:1: \u001b[33mC\u001b[0m: Layout/TrailingWhitespace: Trailing whitespace detected.

161 files inspected, \u001b[31m1 offense\u001b[0m detected
RuboCop failed!
container fad23bbcb405067855d1fb98cbf071a49efd1ea66cb299cf39360ad4300b03f8 is dead
Fri Mar 15 16:04:39 CET 2019
yegor256 commented 5 years ago

@rultor release, tag is 0.26.16

rultor commented 5 years ago

@rultor release, tag is 0.26.16

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

rultor commented 5 years ago

@rultor release, tag is 0.26.16

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

Maximum connections set to 1024
Listening on 0.0.0.0:36064, CTRL+C to stop
Stopping ...
\u001b[32m.\u001b[0mThin web server (v1.7.2 codename Bachmanity)
Maximum connections set to 1024
Listening on 0.0.0.0:44507, CTRL+C to stop
Stopping ...
\u001b[32m.\u001b[0mThin web server (v1.7.2 codename Bachmanity)
Maximum connections set to 1024
Listening on 0.0.0.0:33131, CTRL+C to stop
Stopping ...
\u001b[32m.\u001b[0mThin web server (v1.7.2 codename Bachmanity)
Maximum connections set to 1024
Listening on 0.0.0.0:36882, CTRL+C to stop
Stopping ...
\u001b[32m.\u001b[0mThin web server (v1.7.2 codename Bachmanity)
Maximum connections set to 1024
Listening on 0.0.0.0:43583, CTRL+C to stop
Stopping ...
\u001b[31mE\u001b[0m

\u001b[31mError:
FrontTest#test_increments_score:
RuntimeError: 'false' is not equal to 'true' even after 30.77s of waiting
    /home/r/repo/test/test__helper.rb:80:in `block in assert_equal_wait'
    /home/r/repo/test/test__helper.rb:67:in `loop'
    /home/r/repo/test/test__helper.rb:67:in `assert_equal_wait'
    /home/r/repo/test/node/test_front.rb:142:in `block (2 levels) in test_increments_score'
    /home/r/repo/test/node/test_front.rb:141:in `times'
    /home/r/repo/test/node/test_front.rb:141:in `block in test_increments_score'
    /home/r/repo/test/node/fake_node.rb:79:in `block (2 levels) in run'
    /home/r/.ruby/gems/random-port-0.3.1/lib/random-port/pool.rb:63:in `block in acquire'
    /home/r/.ruby/gems/random-port-0.3.1/lib/random-port/pool.rb:56:in `loop'
    /home/r/.ruby/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.6.0/lib/ruby/2.6.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:140:in `test_increments_score'
\u001b[0m

bin/rails test home/r/repo/test/node/test_front.rb:139

Finished in 642.088786s, 0.4376 runs/s, 5.2719 assertions/s.
281 runs, 3385 assertions, 0 failures, 1 errors, 4 skips

You have skipped tests. Run with --verbose for details.
rake aborted!
Command failed with status (1): [ruby -I"lib:lib:test" -I"/home/r/.ruby/gems/rake-12.3.1/lib" "/home/r/.ruby/gems/rake-12.3.1/lib/rake/rake_test_loader.rb" "test/commands/routines/test_audit.rb" "test/commands/routines/test_gc.rb" "test/commands/routines/test_reconnect.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" ]
/home/r/.ruby/gems/rake-12.3.1/exe/rake:27:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.6.0/bin/ruby_executable_hooks:24:in `eval'
/usr/local/rvm/gems/ruby-2.6.0/bin/ruby_executable_hooks:24:in `<main>'
Tasks: TOP => default => test
(See full trace by running task with --trace)
container e5e657c5fb41510fcbf2bcd059401c51a6294ca7089a7f7f835bcedb37440db0 is dead
Fri Mar 15 16:26:24 CET 2019
yegor256 commented 5 years ago

@rultor release, tag is 0.26.16

rultor commented 5 years ago

@rultor release, tag is 0.26.16

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

rultor commented 5 years ago

@rultor release, tag is 0.26.16

@yegor256 Done! FYI, the full log is here (took me 15min)

0crat commented 5 years ago

Job gh:zold-io/zold#736 is not assigned, can't get performer

0crat commented 5 years ago

This job is not in scope