[system-tests][qa] Working dir can change by SSHClient

Bug #1606466 reported by Vladimir Khlyunev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Vladimir Khlyunev
7.0.x
Fix Committed
High
Vladimir Khlyunev
8.0.x
Fix Committed
High
Vladimir Khlyunev
Mitaka
Fix Committed
High
Vladimir Khlyunev
Newton
Fix Committed
High
Vladimir Khlyunev

Bug Description

After refactoring in fuel-devops SSHClient now tries to do "cd ~" before commands. Some times we need to run the command from a specific working directory - now this behavior is broken. We should handle it in fuel-qa code.

Example:
https://github.com/openstack/fuel-qa/blob/5983c06e19a42ddefe46dea6521067c7d74b6ab6/fuelweb_test/tests/tests_upgrade/test_data_driven_upgrade_base.py#L423-L444
https://product-ci.infra.mirantis.net/view/upgrades/job/8.0.upgrades.ubuntu.upgrade_detach_plugin_tests/7/testReport/(root)/upgrade_detach_plugin_backup/upgrade_detach_plugin_backup/

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/347187

Changed in fuel:
assignee: nobody → Vladimir Khlyunev (vkhlyunev)
status: New → In Progress
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/347189

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

Fix proposed to branch: stable/8.0
Review: https://review.openstack.org/347190

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

Fix proposed to branch: stable/7.0
Review: https://review.openstack.org/347191

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

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

commit 681e79113edc5274785de193163f13dd2dd06919
Author: Vladimir Khlyunev <email address hidden>
Date: Tue Jul 26 11:26:49 2016 +0300

    Handle changing working dir in upgrade tests

    After SSHClient refactor now it's necessary to track current working dir

    Change-Id: Ia2ebfd04ee0a77f26e2589d31978f5db8c69e064
    Partial-bug:1606466

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

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

commit ce44b247c015a049978d4066bff05efa47efec8a
Author: Vladimir Khlyunev <email address hidden>
Date: Tue Jul 26 11:26:49 2016 +0300

    Handle changing working dir in upgrade tests

    After SSHClient refactor now it's necessary to track current working dir

    Change-Id: Ia2ebfd04ee0a77f26e2589d31978f5db8c69e064
    Partial-bug:1606466

tags: added: in-stable-mitaka
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-qa (stable/8.0)

Reviewed: https://review.openstack.org/347190
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=5db17976d6d953293020a94731c45300e06de3fe
Submitter: Jenkins
Branch: stable/8.0

commit 5db17976d6d953293020a94731c45300e06de3fe
Author: Vladimir Khlyunev <email address hidden>
Date: Tue Jul 26 11:26:49 2016 +0300

    Handle changing working dir in upgrade tests

    After SSHClient refactor now it's necessary to track current working dir

    Change-Id: Ia2ebfd04ee0a77f26e2589d31978f5db8c69e064
    Partial-bug:1606466

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

Reviewed: https://review.openstack.org/347191
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=e612cdd9b3102583418d5261f56728c9b58dc5c2
Submitter: Jenkins
Branch: stable/7.0

commit e612cdd9b3102583418d5261f56728c9b58dc5c2
Author: Vladimir Khlyunev <email address hidden>
Date: Tue Jul 26 11:26:49 2016 +0300

    Handle changing working dir in upgrade tests

    After SSHClient refactor now it's necessary to track current working dir

    Change-Id: Ia2ebfd04ee0a77f26e2589d31978f5db8c69e064
    Partial-bug:1606466

Changed in fuel:
status: In Progress → Fix Committed
tags: added: non-release
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.