Bug #13813

[CLI] arv traceback on simple timeout

Added by Tom Morris 5 months ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Story points:
-

Description

This `arv create group` command error seems like it should be retriable and in the case of a hard failure should give a more reasonable error message than this giant traceback.

Creating subproject
/usr/local/rvm/rubies/ruby-2.3.5/lib/ruby/2.3.0/net/protocol.rb:176:in `rbuf_fill': Net::ReadTimeout (Faraday::TimeoutError)
from /usr/local/rvm/rubies/ruby-2.3.5/lib/ruby/2.3.0/net/protocol.rb:154:in `readuntil'
from /usr/local/rvm/rubies/ruby-2.3.5/lib/ruby/2.3.0/net/protocol.rb:164:in `readline'
from /usr/local/rvm/rubies/ruby-2.3.5/lib/ruby/2.3.0/net/http/response.rb:40:in `read_status_line'
from /usr/local/rvm/rubies/ruby-2.3.5/lib/ruby/2.3.0/net/http/response.rb:29:in `read_new'
from /usr/local/rvm/rubies/ruby-2.3.5/lib/ruby/2.3.0/net/http.rb:1423:in `block in transport_request'
from /usr/local/rvm/rubies/ruby-2.3.5/lib/ruby/2.3.0/net/http.rb:1420:in `catch'
from /usr/local/rvm/rubies/ruby-2.3.5/lib/ruby/2.3.0/net/http.rb:1420:in `transport_request'
from /usr/local/rvm/rubies/ruby-2.3.5/lib/ruby/2.3.0/net/http.rb:1393:in `request'
from /usr/local/rvm/rubies/ruby-2.3.5/lib/ruby/2.3.0/net/http.rb:1386:in `block in request'
from /usr/local/rvm/rubies/ruby-2.3.5/lib/ruby/2.3.0/net/http.rb:853:in `start'
from /usr/local/rvm/rubies/ruby-2.3.5/lib/ruby/2.3.0/net/http.rb:1384:in `request'
from /usr/local/rvm/gems/ruby-2.3.5/gems/faraday-0.13.1/lib/faraday/adapter/net_http.rb:80:in `perform_request'
from /usr/local/rvm/gems/ruby-2.3.5/gems/faraday-0.13.1/lib/faraday/adapter/net_http.rb:38:in `block in call'
from /usr/local/rvm/gems/ruby-2.3.5/gems/faraday-0.13.1/lib/faraday/adapter/net_http.rb:85:in `with_net_http_connection'
from /usr/local/rvm/gems/ruby-2.3.5/gems/faraday-0.13.1/lib/faraday/adapter/net_http.rb:33:in `call'
from /usr/local/rvm/gems/ruby-2.3.5/gems/faraday-0.13.1/lib/faraday/response.rb:8:in `call'
from /usr/local/rvm/gems/ruby-2.3.5/gems/google-api-client-0.8.7/lib/google/api_client/request.rb:163:in `send'
from /usr/local/rvm/gems/ruby-2.3.5/gems/google-api-client-0.8.7/lib/google/api_client.rb:648:in `block (2 levels) in execute!'
from /usr/local/rvm/gems/ruby-2.3.5/gems/retriable-1.4.1/lib/retriable/retry.rb:27:in `perform'
from /usr/local/rvm/gems/ruby-2.3.5/gems/retriable-1.4.1/lib/retriable.rb:15:in `retriable'
from /usr/local/rvm/gems/ruby-2.3.5/gems/google-api-client-0.8.7/lib/google/api_client.rb:645:in `block in execute!'
from /usr/local/rvm/gems/ruby-2.3.5/gems/retriable-1.4.1/lib/retriable/retry.rb:27:in `perform'
from /usr/local/rvm/gems/ruby-2.3.5/gems/retriable-1.4.1/lib/retriable.rb:15:in `retriable'
from /usr/local/rvm/gems/ruby-2.3.5/gems/google-api-client-0.8.7/lib/google/api_client.rb:636:in `execute!'
from /usr/local/rvm/gems/ruby-2.3.5/gems/google-api-client-0.8.7/lib/google/api_client.rb:679:in `execute'
from /usr/local/rvm/gems/ruby-2.3.5/gems/arvados-cli-1.1.4.20180412190507/bin/arv:74:in `execute'
from /usr/local/rvm/gems/ruby-2.3.5/gems/arvados-cli-1.1.4.20180412190507/bin/arv:712:in `<top (required)>'
from /usr/local/rvm/gems/ruby-2.3.5/bin/arv:23:in `load'
from /usr/local/rvm/gems/ruby-2.3.5/bin/arv:23:in `<main>'
from /usr/local/rvm/gems/ruby-2.3.5/bin/ruby_executable_hooks:15:in `eval'
from /usr/local/rvm/gems/ruby-2.3.5/bin/ruby_executable_hooks:15:in `<main>'

Also available in: Atom PDF