Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failure on paying hosting bonuses #403

Open
yegor256 opened this issue Jul 14, 2021 · 15 comments
Open

failure on paying hosting bonuses #403

yegor256 opened this issue Jul 14, 2021 · 15 comments

Comments

@yegor256
Copy link
Contributor

ERROR: RuntimeError: There is not enough funds in 9b34e43da59e0fe2 to send 0.12ZLD, only 0.02ZLD left; the difference is 451081823 zents
	/app/vendor/bundle/ruby/2.6.0/gems/zold-0.29.33/lib/zold/commands/pay.rb:141:in `pay'
	/app/vendor/bundle/ruby/2.6.0/gems/zold-0.29.33/lib/zold/commands/pay.rb:107:in `block in run'
	/app/vendor/bundle/ruby/2.6.0/gems/zold-0.29.33/lib/zold/sync_wallets.rb:47:in `block (2 levels) in acq'
	/app/vendor/bundle/ruby/2.6.0/gems/futex-0.8.6/lib/futex.rb:130:in `block in open'
	/app/vendor/bundle/ruby/2.6.0/gems/futex-0.8.6/lib/futex.rb:176:in `open_synchronized'
	/app/vendor/bundle/ruby/2.6.0/gems/futex-0.8.6/lib/futex.rb:103:in `open'
	/app/vendor/bundle/ruby/2.6.0/gems/zold-0.29.33/lib/zold/sync_wallets.rb:46:in `block in acq'
	/app/vendor/bundle/ruby/2.6.0/gems/zold-0.29.33/lib/zold/cached_wallets.rb:51:in `block in acq'
	/app/vendor/bundle/ruby/2.6.0/gems/zold-0.29.33/lib/zold/wallets.rb:71:in `acq'
	/app/vendor/bundle/ruby/2.6.0/gems/zold-0.29.33/lib/zold/cached_wallets.rb:49:in `acq'
	/app/vendor/bundle/ruby/2.6.0/gems/zold-0.29.33/lib/zold/sync_wallets.rb:45:in `acq'
	/app/vendor/bundle/ruby/2.6.0/gems/zold-0.29.33/lib/zold/commands/pay.rb:106:in `run'
	/app/vendor/bundle/ruby/2.6.0/gems/zold-0.29.33/lib/zold/commands/thread_badge.rb:41:in `run'
	/app/objects/ops.rb:171:in `block in pay'
	/app/vendor/ruby-2.6.0/lib/ruby/2.6.0/tempfile.rb:295:in `open'
	/app/objects/ops.rb:168:in `pay'
	/app/front/front_bonuses.rb:58:in `block in pay_hosting_bonuses'
	/app/front/front_bonuses.rb:56:in `each'
	/app/front/front_bonuses.rb:56:in `pay_hosting_bonuses'
	/app/front/front_bonuses.rb:26:in `block (2 levels) in <top (required)>'
	/app/front/front_jobs.rb:49:in `block in job'
	/app/objects/update_job.rb:48:in `call'
	/app/objects/tracked_job.rb:34:in `call'
	/app/objects/safe_job.rb:37:in `call'
	/app/objects/async_job.rb:44:in `block (2 levels) in call'
	/app/vendor/bundle/ruby/2.6.0/gems/futex-0.8.6/lib/futex.rb:130:in `block in open'
	/app/vendor/bundle/ruby/2.6.0/gems/futex-0.8.6/lib/futex.rb:176:in `open_synchronized'
	/app/vendor/bundle/ruby/2.6.0/gems/futex-0.8.6/lib/futex.rb:103:in `open'
	/app/objects/async_job.rb:43:in `block in call'
	/app/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:348:in `run_task'
	/app/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:337:in `block (3 levels) in create_worker'
	/app/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in `loop'
	/app/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in `block (2 levels) in create_worker'
	/app/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:319:in `catch'
	/app/vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:319:in `block in create_worker'
yegor256 added a commit that referenced this issue Jul 14, 2021
@yegor256
Copy link
Contributor Author

@rultor release, tag is 0.39.41

@rultor
Copy link
Contributor

rultor commented Jul 14, 2021

@rultor release, tag is 0.39.41

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

@rultor
Copy link
Contributor

rultor commented Jul 14, 2021

@rultor release, tag is 0.39.41

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

Installing active_paypal_adaptive_payment 0.3.16
Fetching thin 1.7.2
Installing thin 1.7.2 with native extensions
Fetching bitcoin-ruby 0.0.19
Installing bitcoin-ruby 0.0.19
Fetching codecov 0.2.8
Fetching geoplugin 0.3.1
Fetching sibit 0.21.8
Fetching mimic 0.4.4
Installing codecov 0.2.8
Installing mimic 0.4.4
Installing sibit 0.21.8
Fetching zold 0.29.33
Installing geoplugin 0.3.1
Installing zold 0.29.33
Warning: the lockfile is being updated to Bundler 2, after which you will be unable to return to Bundler 1.
Bundle complete! 51 Gemfile dependencies, 137 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Post-install message from sass:

Ruby Sass has reached end-of-life and should no longer be used.

* If you use Sass as a command-line tool, we recommend using Dart Sass, the new
  primary implementation: https://sass-lang.com/install

* If you use Sass as a plug-in for a Ruby web framework, we recommend using the
  sassc gem: https://github.com/sass/sassc-ruby#readme

* For more details, please refer to the Sass blog:
  https://sass-lang.com/blog/posts/7828841

Post-install message from usagewatch:
* Linux version are covered for our test.
Thanks for installing!
Post-install message from usagewatch_ext:
* Usagewatch Gem for linux are covered for our test.
* Mac OS version is in development
Thanks for installing!
Post-install message from zold:
Thanks for installing Zold 0.29.33!
  Study our White Paper: https://papers.zold.io/wp.pdf
  Read our blog posts: https://blog.zold.io
  Try ZLD online wallet at: https://wts.zold.io
  Stay in touch with the community in Telegram: https://t.me/zold_io
  Follow us on Twitter: https://twitter.com/0crat
  If you have any issues, report to our GitHub repo: https://github.com/zold-io/zold
+ bundle exec rake
sh: 1: initdb: not found
rake aborted!

/usr/local/rvm/gems/ruby-2.6.0/gems/pgtk-0.7.5/lib/pgtk/pgsql_task.rb:92:in `run'
/usr/local/rvm/gems/ruby-2.6.0/gems/pgtk-0.7.5/lib/pgtk/pgsql_task.rb:62:in `block (2 levels) in initialize'
/usr/local/rvm/gems/ruby-2.6.0/gems/pgtk-0.7.5/lib/pgtk/pgsql_task.rb:60:in `block in initialize'
/usr/local/rvm/gems/ruby-2.6.0/gems/rake-12.3.3/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 => pgsql
(See full trace by running task with --trace)
container 07af6fae29aab755e7fed0b7b6d2743f8739429aff4b79ce361fc77504c64e26 is dead
Wed Jul 14 05:36:36 CEST 2021

yegor256 added a commit that referenced this issue Jul 14, 2021
@yegor256
Copy link
Contributor Author

@rultor release, tag is 0.39.41

@rultor
Copy link
Contributor

rultor commented Jul 14, 2021

@rultor release, tag is 0.39.41

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

@rultor
Copy link
Contributor

rultor commented Jul 14, 2021

@rultor release, tag is 0.39.41

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

Fetching codecov 0.2.8
Fetching geoplugin 0.3.1
Fetching mimic 0.4.4
Installing bitcoin-ruby 0.0.19
Installing geoplugin 0.3.1
Installing mimic 0.4.4
Installing codecov 0.2.8
Installing xcop 0.6
Fetching zold 0.29.33
Fetching sibit 0.21.8
Installing zold 0.29.33
Installing activemerchant 1.119.0
Fetching active_paypal_adaptive_payment 0.3.16
Installing sibit 0.21.8
Installing active_paypal_adaptive_payment 0.3.16
Warning: the lockfile is being updated to Bundler 2, after which you will be unable to return to Bundler 1.
Bundle complete! 51 Gemfile dependencies, 137 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Post-install message from sass:

Ruby Sass has reached end-of-life and should no longer be used.

* If you use Sass as a command-line tool, we recommend using Dart Sass, the new
  primary implementation: https://sass-lang.com/install

* If you use Sass as a plug-in for a Ruby web framework, we recommend using the
  sassc gem: https://github.com/sass/sassc-ruby#readme

* For more details, please refer to the Sass blog:
  https://sass-lang.com/blog/posts/7828841

Post-install message from usagewatch:
* Linux version are covered for our test.
Thanks for installing!
Post-install message from usagewatch_ext:
* Usagewatch Gem for linux are covered for our test.
* Mac OS version is in development
Thanks for installing!
Post-install message from zold:
Thanks for installing Zold 0.29.33!
  Study our White Paper: https://papers.zold.io/wp.pdf
  Read our blog posts: https://blog.zold.io
  Try ZLD online wallet at: https://wts.zold.io
  Stay in touch with the community in Telegram: https://t.me/zold_io
  Follow us on Twitter: https://twitter.com/0crat
  If you have any issues, report to our GitHub repo: https://github.com/zold-io/zold
+ bundle exec rake
sh: 1: initdb: not found
rake aborted!

/usr/local/rvm/gems/ruby-2.6.0/gems/pgtk-0.7.5/lib/pgtk/pgsql_task.rb:92:in `run'
/usr/local/rvm/gems/ruby-2.6.0/gems/pgtk-0.7.5/lib/pgtk/pgsql_task.rb:62:in `block (2 levels) in initialize'
/usr/local/rvm/gems/ruby-2.6.0/gems/pgtk-0.7.5/lib/pgtk/pgsql_task.rb:60:in `block in initialize'
/usr/local/rvm/gems/ruby-2.6.0/gems/rake-12.3.3/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 => pgsql
(See full trace by running task with --trace)
container 55c8b4a2ea14d55eb721a9acc5b420dcd8d9c1841b1ade2667d36ce1ba3889cc is dead
Wed Jul 14 05:49:27 CEST 2021

yegor256 added a commit that referenced this issue Jul 14, 2021
@yegor256
Copy link
Contributor Author

@rultor release, tag is 0.39.41

@rultor
Copy link
Contributor

rultor commented Jul 14, 2021

@rultor release, tag is 0.39.41

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

@rultor
Copy link
Contributor

rultor commented Jul 14, 2021

@rultor release, tag is 0.39.41

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

   	/home/r/repo/objects/daemons.rb:44:in `block (2 levels) in start'
   	/home/r/repo/objects/daemons.rb:40:in `loop'
   	/home/r/repo/objects/daemons.rb:40:in `block in start'
\u001b[33mD: \u001b[0mINSERT INTO daemon (id) VALUES ($1) ON CONFLICT (id) DO UPDATE SET executed = NOW(): 52ms / 46961604807200
\u001b[33mD: \u001b[0mSELECT executed FROM daemon WHERE id = $1: 1ms / 46961604811340
\u001b[33mD: \u001b[0mSELECT executed FROM daemon WHERE id = $1: 0ms / 46961604800920
\u001b[33mD: \u001b[0mINSERT INTO daemon (id) VALUES ($1) ON CONFLICT (id) DO UPDATE SET executed = NOW(): 54ms / 46961604814720
\u001b[33mD: \u001b[0mSELECT executed FROM daemon WHERE id = $1: 0ms / 46961604781060
\u001b[33mD: \u001b[0mSELECT executed FROM daemon WHERE id = $1: 0ms / 46961604818920
\u001b[31mE: \u001b[0mStandardError: Intended
   	/home/r/repo/test/test_daemons.rb:44:in `block in test_start_and_run_a_broken_thread'
   	/home/r/repo/objects/daemons.rb:44:in `block (2 levels) in start'
   	/home/r/repo/objects/daemons.rb:40:in `loop'
   	/home/r/repo/objects/daemons.rb:40:in `block in start'
\u001b[33mD: \u001b[0mINSERT INTO daemon (id) VALUES ($1) ON CONFLICT (id) DO UPDATE SET executed = NOW(): 49ms / 46961604786280
\u001b[33mD: \u001b[0mSELECT executed FROM daemon WHERE id = $1: 1ms / 46961604807200
\u001b[33mD: \u001b[0mSELECT executed FROM daemon WHERE id = $1: 0ms / 46961604811340
\u001b[33mD: \u001b[0mINSERT INTO daemon (id) VALUES ($1) ON CONFLICT (id) DO UPDATE SET executed = NOW(): 54ms / 46961604775460
\u001b[33mD: \u001b[0mSELECT executed FROM daemon WHERE id = $1: 2ms / 46961604814720
\u001b[33mD: \u001b[0mSELECT executed FROM daemon WHERE id = $1: 0ms / 46961604818920
\u001b[31mE: \u001b[0mStandardError: Intended
   	/home/r/repo/test/test_daemons.rb:44:in `block in test_start_and_run_a_broken_thread'
   	/home/r/repo/objects/daemons.rb:44:in `block (2 levels) in start'
   	/home/r/repo/objects/daemons.rb:40:in `loop'
   	/home/r/repo/objects/daemons.rb:40:in `block in start'
\u001b[33mD: \u001b[0mINSERT INTO daemon (id) VALUES ($1) ON CONFLICT (id) DO UPDATE SET executed = NOW(): 51ms / 46961604800920
\u001b[33mD: \u001b[0mSELECT executed FROM daemon WHERE id = $1: 0ms / 46961604807200
\u001b[33mD: \u001b[0mSELECT executed FROM daemon WHERE id = $1: 0ms / 46961604811340
\u001b[33mD: \u001b[0mINSERT INTO daemon (id) VALUES ($1) ON CONFLICT (id) DO UPDATE SET executed = NOW(): 47ms / 46961604786280
\u001b[33mD: \u001b[0mINSERT INTO txn (id, source, date, amount, target, prefix, details) VALUES ($1, $2, $3, $4, $5, $6, $7) ON CONFLICT DO NOTHING RETURNING *: 48ms / 46961604781060
\u001b[33mD: \u001b[0mSELECT executed FROM daemon WHERE id = $1: 0ms / 46961604814720
\u001b[33mD: \u001b[0mINSERT INTO txn (id, source, date, amount, target, prefix, details) VALUES ($1, $2, $3, $4, $5, $6, $7) ON CONFLICT DO NOTHING RETURNING *: 1ms / 46961604818920
\u001b[33mD: \u001b[0mSELECT executed FROM daemon WHERE id = $1: 0ms / 46961604800920
\u001b[31mE: \u001b[0mStandardError: Intended
   	/home/r/repo/test/test_daemons.rb:44:in `block in test_start_and_run_a_broken_thread'
   	/home/r/repo/objects/daemons.rb:44:in `block (2 levels) in start'
   	/home/r/repo/objects/daemons.rb:40:in `loop'
   	/home/r/repo/objects/daemons.rb:40:in `block in start'
\u001b[33mD: \u001b[0mINSERT INTO daemon (id) VALUES ($1) ON CONFLICT (id) DO UPDATE SET executed = NOW(): 43ms / 46961604775460
\u001b[33mD: \u001b[0mSELECT executed FROM daemon WHERE id = $1: 0ms / 46961604811340
\u001b[33mD: \u001b[0mSELECT executed FROM daemon WHERE id = $1: 0ms / 46961604781060
\u001b[33mD: \u001b[0mSELECT * FROM txn WHERE date <= $1 AND ($3 = '' OR source = $3 OR target = $3 OR details LIKE $3) ORDER BY date DESC LIMIT $2: 1ms / 46961604786280
\u001b[33mD: \u001b[0mSELECT * FROM txn WHERE date <= $1 AND ($3 = '' OR source = $3 OR target = $3 OR details LIKE $3) ORDER BY date DESC LIMIT $2: 1ms / 46961604818920
  test_scan_and_fetch                                            \u001b[32m PASS\u001b[0m (0.25s)
\u001b[33mD: \u001b[0mSELECT SUM(amount) FROM txn WHERE date > NOW() - INTERVAL '4 HOURS': 0ms / 46961604800920
  test_calc_volume                                               \u001b[32m PASS\u001b[0m (0.00s)

Finished in 26.15024s
54 tests, 196 assertions, \u001b[31m1 failures, 6 errors, \u001b[0m\u001b[33m6 skips\u001b[0m
rake aborted!
Command failed with status (1): [ruby -I"lib:lib:test" -I"/usr/local/rvm/gems/ruby-2.6.0/gems/rake-12.3.3/lib" "/usr/local/rvm/gems/ruby-2.6.0/gems/rake-12.3.3/lib/rake/rake_test_loader.rb" "test/front/test_daily_summary.rb" "test/test__helper.rb" "test/test_assets.rb" "test/test_async_job.rb" "test/test_callbacks.rb" "test/test_coinbase.rb" "test/test_daemons.rb" "test/test_db_job.rb" "test/test_file_log.rb" "test/test_gl.rb" "test/test_graph.rb" "test/test_item.rb" "test/test_jobs.rb" "test/test_keygap.rb" "test/test_mcodes.rb" "test/test_ops.rb" "test/test_payables.rb" "test/test_payouts.rb" "test/test_paypal.rb" "test/test_receipts.rb" "test/test_referrals.rb" "test/test_ticks.rb" "test/test_toggles.rb" "test/test_tokens.rb" "test/test_tracked_job.rb" "test/test_upwork.rb" "test/test_user.rb" "test/test_wts.rb" ]
/usr/local/rvm/gems/ruby-2.6.0/gems/rake-12.3.3/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)
2021-07-14 04:13:46.994 UTC [11963] LOG:  received smart shutdown request
PostgreSQL killed in PID 11963
container 7ede6937f8a16b941634138a398380a8f8ecf631be42b8e19b52b3a130697f98 is dead
Wed Jul 14 06:14:09 CEST 2021

yegor256 added a commit that referenced this issue Jul 14, 2021
@yegor256
Copy link
Contributor Author

@rultor release, tag is 0.39.41

@rultor
Copy link
Contributor

rultor commented Jul 14, 2021

@rultor release, tag is 0.39.41

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

@rultor
Copy link
Contributor

rultor commented Jul 14, 2021

@rultor release, tag is 0.39.41

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

b264460929d95e15
\u001b[33mD: \u001b[0mINSERT INTO daemon (id) VALUES ($1) ON CONFLICT (id) DO UPDATE SET executed = NOW(): 21ms / 47440176708360
\u001b[33mD: \u001b[0mSELECT executed FROM daemon WHERE id = $1: 0ms / 47440176682200
\u001b[33mD: \u001b[0mSELECT executed FROM daemon WHERE id = $1: 0ms / 47440176725580
\u001b[31mE: \u001b[0mStandardError: Intended
   	/home/r/repo/test/test_daemons.rb:44:in `block in test_start_and_run_a_broken_thread'
   	/home/r/repo/objects/daemons.rb:44:in `block (2 levels) in start'
   	/home/r/repo/objects/daemons.rb:40:in `loop'
   	/home/r/repo/objects/daemons.rb:40:in `block in start'
\u001b[33mD: \u001b[0mINSERT INTO item (login, id, pem) VALUES ($1, $2, $3) ON CONFLICT (login) DO UPDATE SET id = $2, pem = $3: 37ms / 47440176703240
\u001b[33mD: \u001b[0mINSERT INTO daemon (id) VALUES ($1) ON CONFLICT (id) DO UPDATE SET executed = NOW(): 40ms / 47440176696620
\u001b[33mD: \u001b[0mSELECT executed FROM daemon WHERE id = $1: 0ms / 47440176714000
\u001b[33mD: \u001b[0mSELECT executed FROM daemon WHERE id = $1: 0ms / 47440176708360
\u001b[33mD: \u001b[0mINSERT INTO daemon (id) VALUES ($1) ON CONFLICT (id) DO UPDATE SET executed = NOW(): 43ms / 47440176663560
\u001b[33mD: \u001b[0mSELECT executed FROM daemon WHERE id = $1: 0ms / 47440176725580
\u001b[33mD: \u001b[0mSELECT executed FROM daemon WHERE id = $1: 0ms / 47440176703240
\u001b[31mE: \u001b[0mStandardError: Intended
   	/home/r/repo/test/test_daemons.rb:44:in `block in test_start_and_run_a_broken_thread'
   	/home/r/repo/objects/daemons.rb:44:in `block (2 levels) in start'
   	/home/r/repo/objects/daemons.rb:40:in `loop'
   	/home/r/repo/objects/daemons.rb:40:in `block in start'
\u001b[33mD: \u001b[0mINSERT INTO daemon (id) VALUES ($1) ON CONFLICT (id) DO UPDATE SET executed = NOW(): 25ms / 47440176682200
\u001b[33mD: \u001b[0mINSERT INTO keygap (login, keygap) VALUES ($1, $2) ON CONFLICT (login) DO UPDATE SET keygap = $2: 26ms / 47440176677540
New user jeffrey created, wallet ID is b264460929d95e15, keygap is 'MC..............'
Wallet b264460929d95e15 created successfully
\u001b[33mD: \u001b[0mSELECT executed FROM daemon WHERE id = $1: 0ms / 47440176714000
\u001b[33mD: \u001b[0mSELECT keygap FROM keygap WHERE login = $1: 0ms / 47440176708360
\u001b[33mD: \u001b[0mSELECT executed FROM daemon WHERE id = $1: 0ms / 47440176663560
\u001b[33mD: \u001b[0mSELECT keygap FROM keygap WHERE login = $1: 0ms / 47440176725580
\u001b[33mD: \u001b[0mSELECT keygap FROM keygap WHERE login = $1: 0ms / 47440176682200
\u001b[33mD: \u001b[0mThe keygap of jeffrey retrieved
\u001b[33mD: \u001b[0mINSERT INTO daemon (id) VALUES ($1) ON CONFLICT (id) DO UPDATE SET executed = NOW(): 21ms / 47440176696620
\u001b[33mD: \u001b[0mSELECT executed FROM daemon WHERE id = $1: 0ms / 47440176714000
\u001b[33mD: \u001b[0mSELECT executed FROM daemon WHERE id = $1: 0ms / 47440176708360
\u001b[31mE: \u001b[0mStandardError: Intended
   	/home/r/repo/test/test_daemons.rb:44:in `block in test_start_and_run_a_broken_thread'
   	/home/r/repo/objects/daemons.rb:44:in `block (2 levels) in start'
   	/home/r/repo/objects/daemons.rb:40:in `loop'
   	/home/r/repo/objects/daemons.rb:40:in `block in start'
\u001b[33mD: \u001b[0mINSERT INTO daemon (id) VALUES ($1) ON CONFLICT (id) DO UPDATE SET executed = NOW(): 21ms / 47440176703240
\u001b[33mD: \u001b[0mDELETE FROM keygap WHERE login = $1: 21ms / 47440176677540
\u001b[33mD: \u001b[0mThe keygap of jeffrey was destroyed
\u001b[33mD: \u001b[0mSELECT executed FROM daemon WHERE id = $1: 0ms / 47440176725580
\u001b[33mD: \u001b[0mSELECT keygap FROM keygap WHERE login = $1: 0ms / 47440176682200
\u001b[33mD: \u001b[0mSELECT executed FROM daemon WHERE id = $1: 0ms / 47440176696620
  test_creates                                                   \u001b[32m PASS\u001b[0m (0.21s)

Finished in 24.93215s
54 tests, 196 assertions, \u001b[31m1 failures, 6 errors, \u001b[0m\u001b[33m6 skips\u001b[0m
rake aborted!
Command failed with status (1): [ruby -I"lib:lib:test" -I"/usr/local/rvm/gems/ruby-2.6.0/gems/rake-12.3.3/lib" "/usr/local/rvm/gems/ruby-2.6.0/gems/rake-12.3.3/lib/rake/rake_test_loader.rb" "test/front/test_daily_summary.rb" "test/test__helper.rb" "test/test_assets.rb" "test/test_async_job.rb" "test/test_callbacks.rb" "test/test_coinbase.rb" "test/test_daemons.rb" "test/test_db_job.rb" "test/test_file_log.rb" "test/test_gl.rb" "test/test_graph.rb" "test/test_item.rb" "test/test_jobs.rb" "test/test_keygap.rb" "test/test_mcodes.rb" "test/test_ops.rb" "test/test_payables.rb" "test/test_payouts.rb" "test/test_paypal.rb" "test/test_receipts.rb" "test/test_referrals.rb" "test/test_ticks.rb" "test/test_toggles.rb" "test/test_tokens.rb" "test/test_tracked_job.rb" "test/test_upwork.rb" "test/test_user.rb" "test/test_wts.rb" ]
/usr/local/rvm/gems/ruby-2.6.0/gems/rake-12.3.3/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)
2021-07-14 04:31:35.424 UTC [11288] LOG:  received smart shutdown request
PostgreSQL killed in PID 11288
container 238d0c30f35af5b1b7962bf5cdb7fd0648b9c7101f72cf68e4cca3a1a6d4904d is dead
Wed Jul 14 06:32:07 CEST 2021

yegor256 added a commit that referenced this issue Jul 14, 2021
@yegor256
Copy link
Contributor Author

@rultor release, tag is 0.39.41

@rultor
Copy link
Contributor

rultor commented Jul 14, 2021

@rultor release, tag is 0.39.41

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

@rultor
Copy link
Contributor

rultor commented Jul 14, 2021

@rultor release, tag is 0.39.41

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

+ sudo -i apt-get -y update

0% [Working]
            
Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease

0% [Connecting to security.ubuntu.com (91.189.91.39)] [Waiting for headers]
                                                                           
Get:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]

                                                                           
Get:3 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu focal InRelease [18.1 kB]

                                                                           
Get:4 http://ppa.launchpad.net/git-core/ppa/ubuntu focal InRelease [23.8 kB]

0% [Waiting for headers] [Waiting for headers] [4 InRelease 19.9 kB/23.8 kB 84%
                                                                               
0% [Waiting for headers] [Waiting for headers]
                                              
Get:5 http://archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]

0% [5 InRelease 4,051 B/101 kB 4%] [Waiting for headers] [Connecting to ppa.lau
                                                                               
0% [Waiting for headers] [Connecting to ppa.launchpad.net (91.189.95.85)]
                                                                         
Get:6 http://ppa.launchpad.net/ondrej/php/ubuntu focal InRelease [23.9 kB]

                                                                         
0% [Waiting for headers] [6 InRelease 2,572 B/23.9 kB 11%]
                                                          
Get:7 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]

0% [7 InRelease 2,586 B/114 kB 2%] [6 InRelease 14.2 kB/23.9 kB 59%]
                                                                    
0% [7 InRelease 14.2 kB/114 kB 12%]
0% [7 InRelease 14.2 kB/114 kB 12%]
0% [7 InRelease 28.6 kB/114 kB 25%]
                                   
Get:8 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [32.0 kB]

0% [8 Packages 2,689 B/32.0 kB 8%] [7 InRelease 37.3 kB/114 kB 33%]
                                                                   
0% [7 InRelease 40.2 kB/114 kB 35%]
0% [8 Packages store 0 B] [Waiting for headers] [7 InRelease 43.1 kB/114 kB 38%
                                                                               
0% [Waiting for headers] [7 InRelease 43.1 kB/114 kB 38%]
                                                         
Get:9 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [416 kB]

0% [9 Packages 4,135 B/416 kB 1%] [7 InRelease 43.1 kB/114 kB 38%]
0% [9 Packages 278 kB/416 kB 67%] [7 InRelease 51.8 kB/114 kB 46%]
0% [Waiting for headers] [7 InRelease 57.6 kB/114 kB 51%] [Connecting to ppa.la
                                                                               
Get:10 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1,053 kB]

0% [10 Packages 2,457 B/1,053 kB 0%] [7 InRelease 57.6 kB/114 kB 51%] [Connecti
0% [9 Packages store 0 B] [10 Packages 2,457 B/1,053 kB 0%] [7 InRelease 57.6 k
0% [10 Packages 188 kB/1,053 kB 18%] [7 InRelease 66.3 kB/114 kB 58%] [Waiting 
                                                                               
Get:11 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu focal/main amd64 Packages [21.9 kB]

0% [10 Packages 252 kB/1,053 kB 24%] [7 InRelease 66.3 kB/114 kB 58%] [11 Packa
0% [10 Packages 498 kB/1,053 kB 47%] [7 InRelease 66.3 kB/114 kB 58%] [11 Packa
                                                                               
0% [10 Packages 498 kB/1,053 kB 47%] [7 InRelease 66.3 kB/114 kB 58%]
0% [11 Packages store 0 B] [10 Packages 498 kB/1,053 kB 47%] [7 InRelease 66.3 
0% [10 Packages 573 kB/1,053 kB 54%] [7 InRelease 66.3 kB/114 kB 58%] [Connecti
                                                                               
0% [7 InRelease 66.3 kB/114 kB 58%] [Waiting for headers]
                                                         
Get:12 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [1,367 kB]

0% [12 Packages 24.1 kB/1,367 kB 2%] [7 InRelease 66.3 kB/114 kB 58%] [Waiting 
0% [10 Packages store 0 B] [12 Packages 24.1 kB/1,367 kB 2%] [7 InRelease 66.3 
                                                                               
Get:13 http://ppa.launchpad.net/git-core/ppa/ubuntu focal/main amd64 Packages [3,172 B]

0% [10 Packages store 0 B] [12 Packages 373 kB/1,367 kB 27%] [7 InRelease 66.3 
0% [10 Packages store 0 B] [12 Packages 389 kB/1,367 kB 28%] [7 InRelease 66.3 
0% [10 Packages store 0 B] [12 Packages 722 kB/1,367 kB 53%] [7 InRelease 92.4 
                                                                               
0% [12 Packages 951 kB/1,367 kB 70%] [7 InRelease 92.4 kB/114 kB 81%]
0% [13 Packages store 0 B] [12 Packages 951 kB/1,367 kB 70%] [7 InRelease 92.4 
                                                                               
0% [12 Packages 959 kB/1,367 kB 70%] [7 InRelease 92.4 kB/114 kB 81%]
                                                                     
0% [12 Packages 1,125 kB/1,367 kB 82%]
                                      
0% [Working]
0% [12 Packages store 0 B]
0% [12 Packages store 0 B] [Waiting for headers]
                                                
Get:14 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 Packages [2,668 B]

                                                
Get:15 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [6,303 B]

0% [12 Packages store 0 B] [15 Packages 5,609 B/6,303 B 89%]
0% [12 Packages store 0 B] [Connecting to ppa.launchpad.net (91.189.95.85)]
                                                                           
Get:16 http://ppa.launchpad.net/ondrej/php/ubuntu focal/main amd64 Packages [151 kB]

                                                                           
0% [12 Packages store 0 B] [16 Packages 1,220 B/151 kB 1%]
                                                          
0% [16 Packages 11.4 kB/151 kB 8%]
0% [14 Packages store 0 B] [16 Packages 11.4 kB/151 kB 8%]
                                                          
0% [16 Packages 11.4 kB/151 kB 8%]
0% [15 Packages store 0 B] [16 Packages 11.4 kB/151 kB 8%]
                                                          
0% [16 Packages 14.3 kB/151 kB 9%]
66% [16 Packages 49.0 kB/151 kB 32%]
                                    
67% [Waiting for headers]
67% [16 Packages store 0 B] [Waiting for headers]
                                                 
68% [Waiting for headers]
                         
Get:17 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [930 kB]

68% [17 Packages 2,687 B/930 kB 0%]
                                   
81% [Working]
81% [17 Packages store 0 B]
                           
82% [Waiting for headers]
                         
Get:18 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [779 kB]

82% [18 Packages 2,687 B/779 kB 0%]
                                   
93% [Working]
             
Get:19 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [368 kB]

93% [19 Packages 2,764 B/368 kB 1%]
93% [18 Packages store 0 B] [19 Packages 2,764 B/368 kB 1%]
                                                           
93% [19 Packages 5,660 B/368 kB 2%]
                                   
99% [Working]
             
Get:20 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [27.6 kB]

99% [20 Packages 27.6 kB/27.6 kB 100%]
99% [19 Packages store 0 B] [20 Packages 27.6 kB/27.6 kB 100%]
                                                              
99% [19 Packages store 0 B]
                           
100% [Working]
100% [20 Packages store 0 B]
                            
100% [Working]
              
Fetched 5,551 kB in 2s (3,537 kB/s)

Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 7%

Reading package lists... 7%

Reading package lists... 7%

Reading package lists... 7%

Reading package lists... 69%

Reading package lists... 69%

Reading package lists... 69%

Reading package lists... 69%

Reading package lists... 73%

Reading package lists... 76%

Reading package lists... 76%

Reading package lists... 79%

Reading package lists... 79%

Reading package lists... 85%

Reading package lists... 85%

Reading package lists... 85%

Reading package lists... 85%

Reading package lists... 85%

Reading package lists... 85%

Reading package lists... 85%

Reading package lists... 85%

Reading package lists... 90%

Reading package lists... 90%

Reading package lists... 92%

Reading package lists... 92%

Reading package lists... 97%

Reading package lists... 97%

Reading package lists... 97%

Reading package lists... 97%

Reading package lists... 97%

Reading package lists... 97%

Reading package lists... 97%

Reading package lists... 97%

Reading package lists... 98%

Reading package lists... 98%

Reading package lists... Done

+ sudo -i apt-get -y install libpq-dev

Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 7%

Reading package lists... 7%

Reading package lists... 7%

Reading package lists... 7%

Reading package lists... 69%

Reading package lists... 69%

Reading package lists... 69%

Reading package lists... 69%

Reading package lists... 76%

Reading package lists... 76%

Reading package lists... 79%

Reading package lists... 79%

Reading package lists... 85%

Reading package lists... 85%

Reading package lists... 85%

Reading package lists... 85%

Reading package lists... 85%

Reading package lists... 85%

Reading package lists... 85%

Reading package lists... 85%

Reading package lists... 89%

Reading package lists... 90%

Reading package lists... 90%

Reading package lists... 92%

Reading package lists... 92%

Reading package lists... 97%

Reading package lists... 97%

Reading package lists... 97%

Reading package lists... 97%

Reading package lists... 97%

Reading package lists... 97%

Reading package lists... 97%

Reading package lists... 97%

Reading package lists... 98%

Reading package lists... 98%

Reading package lists... Done


Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree       


Reading state information... 0%

Reading state information... 0%

Reading state information... Done

The following additional packages will be installed:
  libpq5
Suggested packages:
  postgresql-doc-12
The following packages will be upgraded:
  libpq-dev libpq5
2 upgraded, 0 newly installed, 0 to remove and 140 not upgraded.
Need to get 252 kB of archives.
After this operation, 0 B of additional disk space will be used.

0% [Working]
            
Get:1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libpq-dev amd64 12.7-0ubuntu0.20.04.1 [136 kB]

1% [1 libpq-dev 4,061 B/136 kB 3%]
                                  
53% [Working]
             
Get:2 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libpq5 amd64 12.7-0ubuntu0.20.04.1 [116 kB]

55% [2 libpq5 4,061 B/116 kB 4%]
                                
100% [Working]
              
Fetched 252 kB in 0s (1,744 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 83936 files and directories currently installed.)
Preparing to unpack .../libpq-dev_12.7-0ubuntu0.20.04.1_amd64.deb ...
Unpacking libpq-dev (12.7-0ubuntu0.20.04.1) over (12.6-0ubuntu0.20.04.1) ...
Preparing to unpack .../libpq5_12.7-0ubuntu0.20.04.1_amd64.deb ...
Unpacking libpq5:amd64 (12.7-0ubuntu0.20.04.1) over (12.6-0ubuntu0.20.04.1) ...
Setting up libpq5:amd64 (12.7-0ubuntu0.20.04.1) ...
Setting up libpq-dev (12.7-0ubuntu0.20.04.1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
Processing triggers for man-db (2.9.1-1) ...
+ sudo -i apt install -y libssl1.0-dev

Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 7%

Reading package lists... 7%

Reading package lists... 7%

Reading package lists... 7%

Reading package lists... 69%

Reading package lists... 69%

Reading package lists... 69%

Reading package lists... 69%

Reading package lists... 76%

Reading package lists... 76%

Reading package lists... 79%

Reading package lists... 79%

Reading package lists... 84%

Reading package lists... 85%

Reading package lists... 85%

Reading package lists... 85%

Reading package lists... 85%

Reading package lists... 85%

Reading package lists... 85%

Reading package lists... 85%

Reading package lists... 85%

Reading package lists... 90%

Reading package lists... 90%

Reading package lists... 92%

Reading package lists... 92%

Reading package lists... 97%

Reading package lists... 97%

Reading package lists... 97%

Reading package lists... 97%

Reading package lists... 97%

Reading package lists... 97%

Reading package lists... 97%

Reading package lists... 97%

Reading package lists... 98%

Reading package lists... 98%

Reading package lists... Done


Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree       


Reading state information... 0%

Reading state information... 0%

Reading state information... Done

Package libssl1.0-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

\u001b[1;31mE: \u001b[0mPackage 'libssl1.0-dev' has no installation candidate\u001b[0m
container e21b9753b67428bc2b29550b052744262d46f51894cf9987f6b36a018803254e is dead
Wed Jul 14 06:50:57 CEST 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants