Bug #4877

[SDK] arv-get tries to delete /dev/stdout

Added by Peter Amstutz over 6 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Tim Pierce
Category:
SDKs
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Story points:
0.5

Description

I interrupted an arv-get and got the following error:

$ arv-get su92l-4zz18-hmbrk3t2kunb9r5/4b59fa4f449f0fd58b8fd300cddfe07822c15b67076c35e3106a7d00b181687c.tar >/dev/null
2014-12-23 14:30:38 arvados.keep[29422] DEBUG: [{u'kind': u'arvados#keepService', u'uuid': u'su92l-bi6l4-cwvnc6l4uhed3ji', '_service_root': 'https://[keep.su92l.arvadosapi.com]:443/', u'modified_at': u'2014-11-19T02:30:49Z', u'created_at': u'2014-11-19T02:30:49Z', u'modified_by_client_uuid': u'su92l-ozdt8-c7v2lr2n2nl2enj', u'owner_uuid': u'su92l-tpzed-nwst99x511vexrg', u'href': u'/keep_services/su92l-bi6l4-cwvnc6l4uhed3ji', u'etag': u'4tuzem41ejar0hm22vzmbtzi8', u'service_port': 443, u'service_type': u'proxy', u'service_ssl_flag': True, u'modified_by_user_uuid': u'su92l-tpzed-nwst99x511vexrg', u'service_host': u'keep.su92l.arvadosapi.com'}]
2014-12-23 14:30:38 arvados.keep[29422] DEBUG: 89da660c63f1487669fd51f40854a0c8: ['https://[keep.su92l.arvadosapi.com]:443/']
2014-12-23 14:30:38 arvados.keep[29422] DEBUG: Request: GET https://[keep.su92l.arvadosapi.com]:443/89da660c63f1487669fd51f40854a0c8+67108864+Abfbc2dfeb84bf290d5d0ca80a963eaafcc621437@54ac3785
2014-12-23 14:31:20 arvados.keep[29422] INFO: 200 response: 67108864 bytes in 42110.1260185 msec (1.520 MiB/sec)
64 MiB / 1323 MiB 4.8%2014-12-23 14:31:20 arvados.keep[29422] DEBUG: dd1e39fb8fb21d1918ec3c172f4103e4: ['https://[keep.su92l.arvadosapi.com]:443/']
2014-12-23 14:31:20 arvados.keep[29422] DEBUG: Request: GET https://[keep.su92l.arvadosapi.com]:443/dd1e39fb8fb21d1918ec3c172f4103e4+67108864+A100558e3499aff33a60329691fa698f017faf890@54ac3785
2014-12-23 14:31:57 arvados.keep[29422] INFO: 200 response: 67108864 bytes in 37356.637001 msec (1.713 MiB/sec)
128 MiB / 1323 MiB 9.7%2014-12-23 14:31:57 arvados.keep[29422] DEBUG: 604d2c67a576f040692f00e92b28f45a: ['https://[keep.su92l.arvadosapi.com]:443/']
2014-12-23 14:31:57 arvados.keep[29422] DEBUG: Request: GET https://[keep.su92l.arvadosapi.com]:443/604d2c67a576f040692f00e92b28f45a+67108864+Aba9b0ed8f5c02bf88f1a67c4d38a1b810a708637@54ac3785
^CTraceback (most recent call last):
  File "/home/peter/work/arvados/sdk/cli/bin/arv-get", line 220, in <module>
    os.unlink(outfilename)
OSError: [Errno 13] Permission denied: '/dev/stdout'

Needless to say, it should not try to delete /dev/stdout

Associated revisions

Revision e3087e7d
Added by Tim Pierce over 6 years ago

Merge branch '4877-dont-delete-stdout'

Fixes #4877

History

#1 Updated by Peter Amstutz over 6 years ago

  • Description updated (diff)

#2 Updated by Tim Pierce over 6 years ago

  • Category set to SDKs
  • Status changed from New to In Progress
  • Assigned To set to Tim Pierce
  • Target version changed from Bug Triage to 2015-01-07 sprint

#3 Updated by Tim Pierce over 6 years ago

  • Story points set to 0.5

#4 Updated by Tim Pierce over 6 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Applied in changeset arvados|commit:e3087e7d734515124df0aef78389d9981264b5db.

Also available in: Atom PDF