Command 'ls /var/dump/*.tar.gz' returned exit code 2

Bug #1619217 reported by Maksym Strukov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Unassigned
Mitaka
Fix Released
High
Unassigned

Bug Description

Fuel was switched from Shotgun to Timmy, so log snapshot name also changed.

https://product-ci.infra.mirantis.net/job/9.x.system_test.ubuntu.multirole/45/console

2016-08-31 22:55:42,649 - INFO fuel_web_client.py:1378 -- Task finished. Took 65.2587559223 seconds.
 status ready
 name dump
 cluster None
 parent_id None
 result {}
 progress 100
 message /api/dump/fuel-snapshot-2016-08-31_22-54-37.tar
 id 9
 uuid 97a5d7a2-034f-43d7-9467-ec4df94a86b9
2016-08-31 22:55:42 - ERROR - ssh_client.py:580 -- Command 'ls /var/dump/*.tar.gz' returned exit code 2 while expected [0]
 STDOUT:

 STDERR:
ls: cannot access /var/dump/*.tar.gz: No such file or directory
2016-08-31 22:55:42,760 - ERROR decorators.py:575 -- Traceback (most recent call last):
  File "/home/jenkins/workspace/9.x.system_test.ubuntu.multirole/fuelweb_test/helpers/decorators.py", line 561, in wrapper
    cmd="ls {}*.tar.gz".format(logs_path))['stdout_str']
  File "/home/jenkins/workspace/9.x.system_test.ubuntu.multirole/fuelweb_test/helpers/ssh_manager.py", line 286, in execute_on_remote
    sudo=sudo
  File "/home/jenkins/workspace/9.x.system_test.ubuntu.multirole/fuelweb_test/helpers/ssh_manager.py", line 247, in check_call
    raise_on_err=raise_on_err
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/devops/helpers/ssh_client.py", line 586, in check_call
    stderr=ret['stderr_str'])
DevopsCalledProcessError: Command 'ls /var/dump/*.tar.gz' returned exit code 2 while expected [0]
 STDERR:
ls: cannot access /var/dump/*.tar.gz: No such file or directory

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-qa (master)

Fix proposed to branch: master
Review: https://review.openstack.org/364207

Changed in fuel:
assignee: Fuel QA Team (fuel-qa) → Maksym Strukov (unbelll)
status: New → In Progress
Maksym Strukov (unbelll)
Changed in fuel:
milestone: none → 10.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-qa (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/364248

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-qa (master)

Reviewed: https://review.openstack.org/364207
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=deeed5a5bb5938b7d211b22f145c13ba00b54879
Submitter: Jenkins
Branch: master

commit deeed5a5bb5938b7d211b22f145c13ba00b54879
Author: Maksym Strukov <email address hidden>
Date: Thu Sep 1 12:52:40 2016 +0300

    Add support to .tar log snapshot extension

    Change-Id: I53d33ffe25105faf7d84dd7f03769f5224929ea9
    Closes-Bug: #1619217

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-qa (stable/mitaka)

Reviewed: https://review.openstack.org/364248
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=f7fedd27f05899e1dab3636b921554177a7255ec
Submitter: Jenkins
Branch: stable/mitaka

commit f7fedd27f05899e1dab3636b921554177a7255ec
Author: Maksym Strukov <email address hidden>
Date: Thu Sep 1 12:52:40 2016 +0300

    Add support to .tar log snapshot extension

    Change-Id: I53d33ffe25105faf7d84dd7f03769f5224929ea9
    Closes-Bug: #1619217

tags: added: in-stable-mitaka
Revision history for this message
Dmitry Belyaninov (dbelyaninov) wrote :

Verified on snapshot #223

Maksym Strukov (unbelll)
Changed in fuel:
assignee: Maksym Strukov (unbelll) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.