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

node auto-restart on version update #64

Closed
yegor256 opened this issue May 27, 2018 · 30 comments
Closed

node auto-restart on version update #64

yegor256 opened this issue May 27, 2018 · 30 comments
Assignees

Comments

@yegor256
Copy link
Collaborator

Would be great if a node would restart itself (somehow) when a new version is published on Rubygems. Maybe, the node has to restart when it sees that any remote node version is higher that its own.

@0crat 0crat removed their assignment May 27, 2018
@0crat
Copy link
Collaborator

0crat commented May 27, 2018

Job #64 is now in scope, role is DEV

@0crat
Copy link
Collaborator

0crat commented May 27, 2018

Job #64 is already in scope

@0crat
Copy link
Collaborator

0crat commented May 27, 2018

@yegor256/z everybody who has role DEV is banned at #64; I won't be able to assign anyone automatically; consider assigning someone manually (as in §19), or invite more people (as in §51), or remove the job from the scope (as in §14)

@yegor256 yegor256 self-assigned this May 28, 2018
@0crat 0crat added the scope label May 28, 2018
@0crat
Copy link
Collaborator

0crat commented May 28, 2018

The job #64 assigned to @yegor256/z, here is why; the budget is 30 minutes, see §4; please, read §8 and §9; if the task is not clear, read this and thiscom.zerocracy.Par@60035a18

@0crat
Copy link
Collaborator

0crat commented May 28, 2018

Job gh:yegor256/zold#64 already assigned to @yegor256, can't assign to @yegor256

@0crat
Copy link
Collaborator

0crat commented May 28, 2018

Bug was reported, see §29: +15 point(s) just awarded to @yegor256/z

@0crat
Copy link
Collaborator

0crat commented May 28, 2018

Manual assignment of issues is discouraged, see §19: -5 point(s) just awarded to @yegor256/z

@0crat
Copy link
Collaborator

0crat commented May 28, 2018

It is strongly discouraged to assign jobs to their creators, see §19: -15 point(s) just awarded to @yegor256/z

@0pdd
Copy link
Collaborator

0pdd commented May 28, 2018

@yegor256 the puzzle #89 is still not solved.

yegor256 added a commit that referenced this issue May 28, 2018
@yegor256
Copy link
Collaborator Author

@rultor release, tag is 0.9.10

@rultor
Copy link
Collaborator

rultor commented May 28, 2018

@rultor release, tag is 0.9.10

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

@rultor
Copy link
Collaborator

rultor commented May 28, 2018

@rultor release, tag is 0.9.10

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

+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 25779
+ echo '1.67.3 ae5cf34be'
1.67.3 ae5cf34be
+ date
Mon May 28 16:03:32 CEST 2018
+ uptime
 16:03:32 up 13 days,  7:36,  0 users,  load average: 0.68, 0.89, 0.96
+ cat
.rultor.yml in zerocracy/home doesn't allow yegor256/zold to use its assets (there are 97 friends), see http://doc.rultor.com/reference.html#assets
+ exit -1
'cid' file is absent, container wasn't started correctly

yegor256 added a commit that referenced this issue May 28, 2018
@yegor256
Copy link
Collaborator Author

@rultor release, tag is 0.9.10

@rultor
Copy link
Collaborator

rultor commented May 28, 2018

@rultor release, tag is 0.9.10

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

@rultor
Copy link
Collaborator

rultor commented May 28, 2018

@rultor release, tag is 0.9.10

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

\u001b[31mError:
TestNode#test_push_and_fetch:
NoMethodError: undefined method `closed?' for nil:NilClass
Did you mean?  clone
    /usr/local/rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/net/http/response.rb:331:in `stream_check'
    /usr/local/rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/net/http/response.rb:200:in `read_body'
    /usr/local/rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/net/http/response.rb:227:in `body'
    /home/r/repo/lib/zold/commands/push.rb:69:in `block in push'
    /home/r/repo/lib/zold/commands/push.rb:59:in `each'
    /home/r/repo/lib/zold/commands/push.rb:59:in `push'
    /home/r/repo/lib/zold/commands/push.rb:52:in `block in run'
    /home/r/repo/lib/zold/commands/push.rb:51:in `each'
    /home/r/repo/lib/zold/commands/push.rb:51:in `run'
    /home/r/repo/test/commands/test_node.rb:50:in `block (2 levels) in test_push_and_fetch'
    /usr/local/rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/tmpdir.rb:89:in `mktmpdir'
    /home/r/repo/test/commands/test_node.rb:42:in `block in test_push_and_fetch'
    /home/r/repo/test/node/fake_node.rb:67:in `block in run'
    /usr/local/rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/tmpdir.rb:89:in `mktmpdir'
    /home/r/repo/test/node/fake_node.rb:38:in `run'
    /home/r/repo/test/commands/test_node.rb:41:in `test_push_and_fetch'
\u001b[0m

bin/rails test home/r/repo/test/commands/test_node.rb:40

Dw2GxR0g@194b17a8776d0d49
\u001b[32m14.95ZLD\u001b[0m sent from ae4ee708c07d625a to 194b17a8776d0d49: here is the refund
Don't forget to do 'zold push ae4ee708c07d625a'
1
\u001b[32m.\u001b[0m5H2cdnO4@80580aef5994dc0b
\u001b[32m14.95ZLD\u001b[0m sent from 0000000000000000 to 80580aef5994dc0b: For the car
Don't forget to do 'zold push 0000000000000000'
1
\u001b[32m.\u001b[0mAvrtqGkQ@dd05460037d44347
\u001b[32m14.95ZLD\u001b[0m sent from 6b2f2d8bc9328658 to dd05460037d44347: For the car
Don't forget to do 'zold push 6b2f2d8bc9328658'
1
\u001b[32m.\u001b[0m0: 2018-05-28T14:19:28Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff  0.0s
1: 2018-05-28T14:19:28Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 23 d9fdfaf3c258eb7dd92c62c946513bf98ef69a4adb33f2cb1d8d9296586b200 0.0s
2: 2018-05-28T14:19:28Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 23 72 ee664eca2b1275c05eb196063e5f3ece1423636649d4717322b40e1385c8300 0.0s
3: 2018-05-28T14:19:28Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 23 72 11a 3b9fd7612b6a4fa515a12167ff36e58fc558dfd0c673f76dbd27ed476516000 0.01s
4: 2018-05-28T14:19:28Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 23 72 11a 29f 1705f0d39d1252a5c49cdaa94eaa965c7bfc9074c13e74c077fc01844923a00 0.02s
5: 2018-05-28T14:19:28Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 23 72 11a 29f 1f8 c705d4f9be14091a2a4d6940237a66b308fb5e426c056f62e069ccf882c7f00 0.02s
6: 2018-05-28T14:19:28Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 23 72 11a 29f 1f8 69 23c7a74737c6b1f07b0500360ca8a023931ad446bd9b87970ceea1d076d9600 0.0s
7: 2018-05-28T14:19:28Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 23 72 11a 29f 1f8 69 61 2386bdbb538dc606d1cb5162a8e95fcc195532ee4341273e2d1ff48a06b6500 0.0s
8: 2018-05-28T14:19:28Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 23 72 11a 29f 1f8 69 61 61 ac2e66dd492fb36cb3c0ca9e9a3d1b3ee7756083df5422bdc85a12907494200 0.0s
Took 0.06 seconds, 0.0075 per value
\u001b[32m.\u001b[0m

Finished in 23.916668s, 3.0941 runs/s, 8.9895 assertions/s.

74 runs, 215 assertions, 2 failures, 1 errors, 0 skips
rake aborted!
Command failed with status (1)
/usr/local/rvm/gems/ruby-2.3.3/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:15:in `eval'
/usr/local/rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => default => test
(See full trace by running task with --trace)
container 896e835c8c609d6a80c976d508a3eecca6f12948e5dd840de12fa0623714dfed is dead
Mon May 28 16:19:36 CEST 2018

yegor256 added a commit that referenced this issue May 28, 2018
@yegor256
Copy link
Collaborator Author

@rultor release, tag is 0.9.10

@rultor
Copy link
Collaborator

rultor commented May 28, 2018

@rultor release, tag is 0.9.10

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

@rultor
Copy link
Collaborator

rultor commented May 28, 2018

@rultor release, tag is 0.9.10

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

    --private-key  The location of RSA private key (default: ~/.ssh/id_rsa)
    --help         Print instructions
\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0mcrQEUGP2@04974be1cb8f6ee1
\u001b[32m14.95ZLD\u001b[0m sent from 21d1381be6bceb8b to 04974be1cb8f6ee1: For the car
Don't forget to do 'zold push 21d1381be6bceb8b'
1
\u001b[32m.\u001b[0mZtjPOJRq@1b2b72b7980362a1
\u001b[32m14.95ZLD\u001b[0m sent from 732c3a24090e18a7 to 1b2b72b7980362a1: here is the refund
Don't forget to do 'zold push 732c3a24090e18a7'
1
\u001b[32m.\u001b[0mMeUIbQJD@ffdf35bda5ad361a
\u001b[32m14.95ZLD\u001b[0m sent from 0000000000000000 to ffdf35bda5ad361a: For the car
Don't forget to do 'zold push 0000000000000000'
1
\u001b[32m.\u001b[0m\u001b[32m.\u001b[0mThe balance of dbae1f5f1c0af6b3: \u001b[32m0.00ZLD\u001b[0m (net:test)
\u001b[32m.\u001b[0mTotal score is 0
\u001b[32m.\u001b[0mohJQMOVn@273b6e3b4da796ce
\u001b[32m19.99ZLD\u001b[0m sent from f8b3bf110f69ae6c to 273b6e3b4da796ce: testing
Don't forget to do 'zold push f8b3bf110f69ae6c'
1
0 copies of f8b3bf110f69ae6c fetched, there are 1 available locally
1 copies merged successfully into /tmp/test20180528-14506-6bgtln/f8b3bf110f69ae6c
\u001b[32m19.99ZLD\u001b[0m arrived to 273b6e3b4da796ce: testing
Wallet f8b3bf110f69ae6c propagated successfully, 1 wallets affected
Expired local copies removed for f8b3bf110f69ae6c, 1 left
Total score is 0
Total score is 0
\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0mAOCAg8AM@72eb68ec09f8054b
\u001b[32m14.95ZLD\u001b[0m sent from 72eb68ec09f8054b to 72eb68ec09f8054b: -
Don't forget to do 'zold push 72eb68ec09f8054b'
1
1 copies merged successfully into /tmp/test20180528-14506-s6j05q/72eb68ec09f8054b
Wallet 72eb68ec09f8054b propagated successfully, 0 wallets affected
\u001b[32m.\u001b[0mddAKrGSI@dbf3b38e4dbac632
\u001b[32m14.95ZLD\u001b[0m sent from dbf3b38e4dbac632 to dbf3b38e4dbac632: -
Don't forget to do 'zold push dbf3b38e4dbac632'
1
1 copies merged successfully into /tmp/test20180528-14506-1i80uuo/dbf3b38e4dbac632
Wallet dbf3b38e4dbac632 propagated successfully, 0 wallets affected
\u001b[32m.\u001b[0mUGP2mtpv@c053936644eea97f
\u001b[32m14.95ZLD\u001b[0m sent from c053936644eea97f to c053936644eea97f: -
Don't forget to do 'zold push c053936644eea97f'
1
\u001b[31m-0001;2018-05-28T14:28:21Z;fffffff10ccccccd;UGP2mtpv;c053936644eea97f;-;znGEZwkI45OdoPYRMOWmwcV0P4XB9rcB2XsRX7k2eB0H7msu6ZOXO19uZX+SoYtFDLNO9YZCkJDs3bJTmHoYxKSp7QmxrOm7sU5kimemPCOUjKstIWVyyYVMSpJXH+QVWXIXWj2kC8wcnyJxv5XM64/rW7YBQx39z6MBtJV9RVzKaMfSsslgE5GapXJHgzKGTJYYgP2PkS/5GqV11vI/Z0ccl26K65gxwQYMnEpZxGAyp0YSFo9f5YQre5k5gLPaozYlx8GC+FlQ1qO1+0XoW5Ok59ltHxKyeHHiGoMEcL3Oj4Ryh0cGmDlxCiY6g336CogyDgAZD7P8s4UV5Dtbac9X4TFGPq8lFmk7CWAxW972vFlRHfRW6luZNhBx70ZBuYEzAATszoeviIKYJCDTXTrE1h/nx0nO3jt9HcuKOckbFoiad8Z9gqxPWCcvmyYhngVtfIFa7wCZOYBFPk9Cxd825MCoW94FPa1sBU8FemZVIU2D+Ocj8GncXgXL73+GmXExIrs5FGzR6Ccf+JCLQvwdQ7/MQobtWe09riXJ37RPH3ITw0i4of5gkeXNo33FGoPn1MS+tuRNQiQFUTP99KQAkmNnkTfS/i48amsjdmc/g5QtxAfq9CzTDzs9CnfU/IGT/by5EvONvjy5PAKiFBANTtE7n8bau7ApTuEL/20=\u001b[0m
\u001b[32m.\u001b[0m9bb510ff7272dbe3
Wallet \u001b[32m9bb510ff7272dbe3\u001b[0m created at /tmp/test20180528-14506-1wmjq5c
\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m

Finished in 25.015997s, 2.9581 runs/s, 8.5945 assertions/s.

74 runs, 215 assertions, 2 failures, 1 errors, 0 skips
rake aborted!
Command failed with status (1)
/usr/local/rvm/gems/ruby-2.3.3/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:15:in `eval'
/usr/local/rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => default => test
(See full trace by running task with --trace)
container a89945116ef093bc4f771b2f1a72d4dbdd1e7a5b1f732f8d9c2cf8a1449a1eeb is dead
Mon May 28 16:28:27 CEST 2018

yegor256 added a commit that referenced this issue May 28, 2018
yegor256 added a commit that referenced this issue May 28, 2018
@yegor256
Copy link
Collaborator Author

@rultor release, tag is 0.9.10

@rultor
Copy link
Collaborator

rultor commented May 28, 2018

@rultor release, tag is 0.9.10

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

@rultor
Copy link
Collaborator

rultor commented May 28, 2018

@rultor release, tag is 0.9.10

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

@0crat 0crat removed the scope label May 28, 2018
@0crat
Copy link
Collaborator

0crat commented May 28, 2018

Order was finished: +30 point(s) just awarded to @yegor256/z

@0crat
Copy link
Collaborator

0crat commented May 28, 2018

The job #64 is now out of scope

@0pdd
Copy link
Collaborator

0pdd commented Jun 2, 2018

@yegor256 the puzzle #125 is still not solved.

@rultor
Copy link
Collaborator

rultor commented Jun 2, 2018

@rultor release, tag is 0.9.10

@yegor256 Invalid release tag 0.9.10 specified. There is already a release 0.10.17 newer than the given release in this repository.

@rultor
Copy link
Collaborator

rultor commented Jun 2, 2018

@rultor release, tag is 0.9.10

@yegor256 I'm sorry, I don't understand you :( Check this page and try again please

@rultor
Copy link
Collaborator

rultor commented Jun 2, 2018

@rultor release, tag is 0.9.10

@yegor256 Invalid release tag 0.9.10 specified. There is already a release 0.10.17 newer than the given release in this repository.

@rultor
Copy link
Collaborator

rultor commented Jun 2, 2018

@rultor release, tag is 0.9.10

@yegor256 I'm sorry, I don't understand you :( Check this page and try again please

@rultor
Copy link
Collaborator

rultor commented Jun 2, 2018

@rultor release, tag is 0.9.10

@yegor256 Invalid release tag 0.9.10 specified. There is already a release 0.10.17 newer than the given release in this repository.

@0pdd
Copy link
Collaborator

0pdd commented Jun 5, 2018

@yegor256 the only puzzle #125 is solved here.

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

4 participants