Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- зайчик:~/dev/unixchange_repo $ rake deploy:restart
- DEBUG [7787a1ef] Running echo -n $HOME as xchange@d.xchange.universa.io
- DEBUG [7787a1ef] Command: echo -n $HOME
- DEBUG [7787a1ef] /home/xchange
- DEBUG [7787a1ef] Finished in 2.653 seconds with exit status 0 (successful).
- INFO [88a1e581] Running test -d /home/xchange/.tmp || mkdir /home/xchange/.tmp && chmod 700 /home/xchange/.tmp as xchange@d.xchange.universa.io
- DEBUG [88a1e581] Command: test -d /home/xchange/.tmp || mkdir /home/xchange/.tmp && chmod 700 /home/xchange/.tmp
- INFO [88a1e581] Finished in 3.568 seconds with exit status 0 (successful).
- INFO [ec300e5c] Running test -d /home/xchange/srv || mkdir /home/xchange/srv as xchange@d.xchange.universa.io
- DEBUG [ec300e5c] Command: test -d /home/xchange/srv || mkdir /home/xchange/srv
- INFO [ec300e5c] Finished in 3.541 seconds with exit status 0 (successful).
- DEBUG [790d3558] Running [ -d /home/xchange/.config/systemd/user ] as xchange@d.xchange.universa.io
- DEBUG [790d3558] Command: [ -d /home/xchange/.config/systemd/user ]
- DEBUG [790d3558] Finished in 6.684 seconds with exit status 0 (successful).
- DEBUG Uploading /home/xchange/.config/systemd/user/xchange-scala-9000.service 0.0%
- INFO Uploading /home/xchange/.config/systemd/user/xchange-scala-9000.service 100.0%
- DEBUG Uploading /home/xchange/srv/conf/prod-9000.conf 0.0%
- INFO Uploading /home/xchange/srv/conf/prod-9000.conf 100.0%
- DEBUG Uploading /home/xchange/srv/conf/logback-9000.xml 0.0%
- INFO Uploading /home/xchange/srv/conf/logback-9000.xml 100.0%
- DEBUG [ec061c58] Running /usr/bin/env systemctl --user is-active xchange-scala-9000.service as xchange@d.xchange.universa.io
- DEBUG [ec061c58] Command: /usr/bin/env systemctl --user is-active xchange-scala-9000.service
- DEBUG [ec061c58] active
- DEBUG [ec061c58] Finished in 2.802 seconds with exit status 0 (successful).
- DEBUG [fe47da48] Running [ -d /home/xchange/.config/systemd/user ] as xchange@d.xchange.universa.io
- DEBUG [fe47da48] Command: [ -d /home/xchange/.config/systemd/user ]
- DEBUG [fe47da48] Finished in 4.635 seconds with exit status 0 (successful).
- DEBUG Uploading /home/xchange/.config/systemd/user/xchange-scala-9001.service 0.0%
- INFO Uploading /home/xchange/.config/systemd/user/xchange-scala-9001.service 100.0%
- DEBUG Uploading /home/xchange/srv/conf/prod-9001.conf 0.0%
- INFO Uploading /home/xchange/srv/conf/prod-9001.conf 100.0%
- DEBUG Uploading /home/xchange/srv/conf/logback-9001.xml 0.0%
- INFO Uploading /home/xchange/srv/conf/logback-9001.xml 100.0%
- DEBUG [fd587d5e] Running /usr/bin/env systemctl --user is-active xchange-scala-9001.service as xchange@d.xchange.universa.io
- DEBUG [fd587d5e] Command: /usr/bin/env systemctl --user is-active xchange-scala-9001.service
- DEBUG [fd587d5e] failed
- DEBUG [fd587d5e] Finished in 4.237 seconds with exit status 3 (failed).
- INFO [479d74e4] Running /usr/bin/env systemctl --user daemon-reload as xchange@d.xchange.universa.io
- DEBUG [479d74e4] Command: /usr/bin/env systemctl --user daemon-reload
- INFO [479d74e4] Finished in 3.290 seconds with exit status 0 (successful).
- INFO active: [{:name=>"xchange-scala-9000.service", :port=>9000}] all: [{:name=>"xchange-scala-9000.service", :port=>9000}, {:name=>"xchange-scala-9001.service", :port=>9001}]
- INFO new active: {:name=>"xchange-scala-9001.service", :port=>9001}
- INFO [e76faa09] Running /usr/bin/env systemctl --user enable --now xchange-scala-9001.service as xchange@d.xchange.universa.io
- DEBUG [e76faa09] Command: /usr/bin/env systemctl --user enable --now xchange-scala-9001.service
- DEBUG [e76faa09] Created symlink /home/xchange/.config/systemd/user/default.target.wants/xchange-scala-9001.service → /home/xchange/.config/systemd/user/xchange-scala-9001.service.
- INFO [e76faa09] Finished in 2.444 seconds with exit status 0 (successful).
- DEBUG [f30c2e9f] Running /usr/bin/env curl localhost:9001/version; true as xchange@d.xchange.universa.io
- DEBUG [f30c2e9f] Command: /usr/bin/env curl localhost:9001/version; true
- DEBUG [f30c2e9f] % Total % Received % Xferd Average Speed Time Time
- DEBUG [f30c2e9f] Time Current
- Dload Upload Total Spent Left Speed
- 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
- DEBUG [f30c2e9f] curl: (7) Failed to connect to
- DEBUG [f30c2e9f] localhost port 9001: Connection refused
- DEBUG [f30c2e9f] Finished in 3.694 seconds with exit status 0 (successful).
- WARN port 9001 is not ready
- DEBUG [d871763a] Running /usr/bin/env curl localhost:9001/version; true as xchange@d.xchange.universa.io
- DEBUG [d871763a] Command: /usr/bin/env curl localhost:9001/version; true
- DEBUG [d871763a] % Total % Received % Xferd Average Speed Time Time Time Current
- DEBUG [d871763a] Dload Upload Total Spent Left Speed
- 0 0 0 0 0 0 0 0 --:--:-- --:-
- DEBUG [d871763a] -:-- --:--:-- 0
- 100 19 100 19 0 0 33 0 --:--:-- --:--:-- --:--:-- 33
- DEBUG [d871763a] server-0.1-SNAPSHOT
- DEBUG [d871763a] Finished in 4.003 seconds with exit status 0 (successful).
- #<Thread:0x00007fdd5ca41de8@/Users/sergeych/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/sshkit-1.15.1/lib/sshkit/runners/parallel.rb:10 run> terminated with exception (report_on_exception is true):
- Traceback (most recent call last):
- 1: from /Users/sergeych/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/sshkit-1.15.1/lib/sshkit/runners/parallel.rb:11:in `block (2 levels) in execute'
- /Users/sergeych/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/sshkit-1.15.1/lib/sshkit/runners/parallel.rb:15:in `rescue in block (2 levels) in execute': Exception while executing as root@d.xchange.universa.io: Net::SSH::ConnectionTimeout (SSHKit::Runner::ExecuteError)
- #<Thread:0x00007fdd5ca0c1e8@/Users/sergeych/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/sshkit-1.15.1/lib/sshkit/runners/parallel.rb:10 run> terminated with exception (report_on_exception is true):
- Traceback (most recent call last):
- 1: from /Users/sergeych/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/sshkit-1.15.1/lib/sshkit/runners/parallel.rb:11:in `block (2 levels) in execute'
- /Users/sergeych/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/sshkit-1.15.1/lib/sshkit/runners/parallel.rb:15:in `rescue in block (2 levels) in execute': Exception while executing as xchange@d.xchange.universa.io: Exception while executing as root@d.xchange.universa.io: Net::SSH::ConnectionTimeout (SSHKit::Runner::ExecuteError)
- rake aborted!
- SSHKit::Runner::ExecuteError: Exception while executing as xchange@d.xchange.universa.io: Exception while executing as root@d.xchange.universa.io: Net::SSH::ConnectionTimeout
- Caused by:
- SSHKit::Runner::ExecuteError: Exception while executing as root@d.xchange.universa.io: Net::SSH::ConnectionTimeout
- Caused by:
- Net::SSH::ConnectionTimeout: Net::SSH::ConnectionTimeout
- /Users/sergeych/dev/unixchange_repo/deploy/tasks/deploy.rake:105:in `block (4 levels) in <top (required)>'
- Caused by:
- Errno::ETIMEDOUT: Operation timed out - connect(2) for 67.231.242.130:22
- /Users/sergeych/dev/unixchange_repo/deploy/tasks/deploy.rake:105:in `block (4 levels) in <top (required)>'
- Tasks: TOP => deploy:restart
- (See full trace by running task with --trace)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement