zold-io / zold

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

--trusted #738

Closed yegor256 closed 5 years ago

yegor256 commented 5 years ago

Let's make it possible to trust a list of wallets, during merge, to avoid endless recursion.

yegor256 commented 5 years ago

@rultor release, tag is 0.26.19

rultor commented 5 years ago

@rultor release, tag is 0.26.19

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

rultor commented 5 years ago

@rultor release, tag is 0.26.19

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

    /home/r/.ruby/gems/eventmachine-1.2.7/lib/em/connection.rb:328:in `send_data'
    /home/r/.ruby/gems/thin-1.7.2/lib/thin/connection.rb:116:in `block in post_process'
    /home/r/.ruby/gems/thin-1.7.2/lib/thin/response.rb:90:in `each'
    /home/r/.ruby/gems/thin-1.7.2/lib/thin/connection.rb:114:in `post_process'
    /home/r/.ruby/gems/thin-1.7.2/lib/thin/connection.rb:50:in `block in process'
    /home/r/.ruby/gems/eventmachine-1.2.7/lib/eventmachine.rb:1077:in `block in spawn_threadpool'

#<Thread:0x00007f391012b3f8@GET:http://localhost:33558/?halt=test@/home/r/.ruby/gems/eventmachine-1.2.7/lib/eventmachine.rb:1067 aborting> terminated with exception (report_on_exception is true):
\u001b[1mTraceback\u001b[m (most recent call last):
    6: from /home/r/.ruby/gems/eventmachine-1.2.7/lib/eventmachine.rb:1077:in `block in spawn_threadpool'
    5: from /home/r/.ruby/gems/thin-1.7.2/lib/thin/connection.rb:50:in `block in process'
    4: from /home/r/.ruby/gems/thin-1.7.2/lib/thin/connection.rb:114:in `post_process'
    3: from /home/r/.ruby/gems/thin-1.7.2/lib/thin/response.rb:90:in `each'
    2: from /home/r/.ruby/gems/thin-1.7.2/lib/thin/connection.rb:116:in `block in post_process'
    1: from /home/r/.ruby/gems/eventmachine-1.2.7/lib/em/connection.rb:328:in `send_data'
/home/r/.ruby/gems/eventmachine-1.2.7/lib/em/connection.rb:328:in `send_data': \u001b[1meventmachine not initialized: evma_send_data_to_connection (\u001b[1;4mRuntimeError\u001b[m\u001b[1m)\u001b[m
    5: from /home/r/.ruby/gems/eventmachine-1.2.7/lib/eventmachine.rb:1077:in `block in spawn_threadpool'
    4: from /home/r/.ruby/gems/thin-1.7.2/lib/thin/connection.rb:50:in `block in process'
    3: from /home/r/.ruby/gems/thin-1.7.2/lib/thin/connection.rb:119:in `post_process'
    2: from /home/r/.ruby/gems/thin-1.7.2/lib/thin/connection.rb:122:in `rescue in post_process'
    1: from /home/r/.ruby/gems/eventmachine-1.2.7/lib/em/connection.rb:266:in `close_connection'
/home/r/.ruby/gems/eventmachine-1.2.7/lib/em/connection.rb:266:in `close_connection': \u001b[1meventmachine not initialized: evma_close_connection (\u001b[1;4mRuntimeError\u001b[m\u001b[1m)\u001b[m
\u001b[31mE\u001b[0m

\u001b[31mError:
FrontTest#test_push_fetch_in_multiple_threads:
Errno::ENOTEMPTY: Directory not empty @ dir_s_rmdir - /tmp/d20190318-23091-1gqll2p
    /usr/local/rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/fileutils.rb:1431:in `rmdir'
    /usr/local/rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/fileutils.rb:1431:in `block in remove_dir1'
    /usr/local/rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/fileutils.rb:1442:in `platform_support'
    /usr/local/rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/fileutils.rb:1430:in `remove_dir1'
    /usr/local/rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/fileutils.rb:1423:in `remove'
    /usr/local/rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/fileutils.rb:760:in `block in remove_entry'
    /usr/local/rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/fileutils.rb:1480:in `postorder_traverse'
    /usr/local/rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/fileutils.rb:758:in `remove_entry'
    /usr/local/rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/tmpdir.rb:95:in `ensure in mktmpdir'
    /usr/local/rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/tmpdir.rb:95: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:362:in `test_push_fetch_in_multiple_threads'
\u001b[0m

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

Finished in 561.563867s, 0.4897 runs/s, 5.5274 assertions/s.
275 runs, 3104 assertions, 0 failures, 1 errors, 5 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 58e19499b6053c07d506ef4d99cd9c377591a5bf9828318b45ef588df9709d58 is dead
Mon Mar 18 20:54:59 CET 2019
yegor256 commented 5 years ago

@rultor release, tag is 0.26.19

rultor commented 5 years ago

@rultor release, tag is 0.26.19

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

rultor commented 5 years ago

@rultor release, tag is 0.26.19

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

Stopping ...
\u001b[32m.\u001b[0mThin web server (v1.7.2 codename Bachmanity)
Maximum connections set to 1024
Listening on 0.0.0.0:35650, CTRL+C to stop
Stopping ...
Unexpected error while processing request: eventmachine not initialized: evma_send_data_to_connection
    /home/r/.ruby/gems/eventmachine-1.2.7/lib/em/connection.rb:328:in `send_data'
    /home/r/.ruby/gems/eventmachine-1.2.7/lib/em/connection.rb:328:in `send_data'
    /home/r/.ruby/gems/thin-1.7.2/lib/thin/connection.rb:116:in `block in post_process'
    /home/r/.ruby/gems/thin-1.7.2/lib/thin/response.rb:90:in `each'
    /home/r/.ruby/gems/thin-1.7.2/lib/thin/connection.rb:114:in `post_process'
    /home/r/.ruby/gems/thin-1.7.2/lib/thin/connection.rb:50:in `block in process'
    /home/r/.ruby/gems/eventmachine-1.2.7/lib/eventmachine.rb:1077:in `block in spawn_threadpool'

#<Thread:0x0000000004caf2c0@GET:http://localhost:35650/?halt=test@/home/r/.ruby/gems/eventmachine-1.2.7/lib/eventmachine.rb:1067 aborting> terminated with exception (report_on_exception is true):
\u001b[1mTraceback\u001b[m (most recent call last):
    6: from /home/r/.ruby/gems/eventmachine-1.2.7/lib/eventmachine.rb:1077:in `block in spawn_threadpool'
    5: from /home/r/.ruby/gems/thin-1.7.2/lib/thin/connection.rb:50:in `block in process'
    4: from /home/r/.ruby/gems/thin-1.7.2/lib/thin/connection.rb:114:in `post_process'
    3: from /home/r/.ruby/gems/thin-1.7.2/lib/thin/response.rb:90:in `each'
    2: from /home/r/.ruby/gems/thin-1.7.2/lib/thin/connection.rb:116:in `block in post_process'
    1: from /home/r/.ruby/gems/eventmachine-1.2.7/lib/em/connection.rb:328:in `send_data'
/home/r/.ruby/gems/eventmachine-1.2.7/lib/em/connection.rb:328:in `send_data': \u001b[1meventmachine not initialized: evma_send_data_to_connection (\u001b[1;4mRuntimeError\u001b[m\u001b[1m)\u001b[m
    5: from /home/r/.ruby/gems/eventmachine-1.2.7/lib/eventmachine.rb:1077:in `block in spawn_threadpool'
    4: from /home/r/.ruby/gems/thin-1.7.2/lib/thin/connection.rb:50:in `block in process'
    3: from /home/r/.ruby/gems/thin-1.7.2/lib/thin/connection.rb:119:in `post_process'
    2: from /home/r/.ruby/gems/thin-1.7.2/lib/thin/connection.rb:122:in `rescue in post_process'
    1: from /home/r/.ruby/gems/eventmachine-1.2.7/lib/em/connection.rb:266:in `close_connection'
/home/r/.ruby/gems/eventmachine-1.2.7/lib/em/connection.rb:266:in `close_connection': \u001b[1meventmachine not initialized: evma_close_connection (\u001b[1;4mRuntimeError\u001b[m\u001b[1m)\u001b[m
\u001b[31mE\u001b[0m

\u001b[31mError:
FrontTest#test_gzip:
RuntimeError: eventmachine not initialized: evma_close_connection
    /home/r/.ruby/gems/eventmachine-1.2.7/lib/em/connection.rb:266:in `close_connection'
    /home/r/.ruby/gems/eventmachine-1.2.7/lib/em/connection.rb:266:in `close_connection'
    /home/r/.ruby/gems/thin-1.7.2/lib/thin/connection.rb:122:in `rescue in post_process'
    /home/r/.ruby/gems/thin-1.7.2/lib/thin/connection.rb:119:in `post_process'
    /home/r/.ruby/gems/thin-1.7.2/lib/thin/connection.rb:50:in `block in process'
    /home/r/.ruby/gems/eventmachine-1.2.7/lib/eventmachine.rb:1077:in `block in spawn_threadpool'
\u001b[0m

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

Finished in 594.455427s, 0.3869 runs/s, 5.5143 assertions/s.
230 runs, 3278 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 1369278a3eb3c43057087d653ace18d9e5c4f37eb18fc2db39cb3f61b77ad208 is dead
Mon Mar 18 21:13:53 CET 2019
yegor256 commented 5 years ago

@rultor release, tag is 0.26.19

rultor commented 5 years ago

@rultor release, tag is 0.26.19

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

rultor commented 5 years ago

@rultor release, tag is 0.26.19

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

0crat commented 5 years ago

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

0crat commented 5 years ago

This job is not in scope