Workaround for enabling of kernel v4.4 breaks nsx-t tests

Bug #1642991 reported by Ekaterina Khomyakova
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel NSX-T plugin
Fix Released
Critical
Ruslan Khozinov

Bug Description

We use WORKSPACE variable for directories consisting fuel-qa, but not for fuel-qa itself (and fuel-qa is loaded as submodule to the folder plugin_test https://github.com/openstack/fuel-plugin-nsx-t/tree/master/plugin_test).
Here is what we get on CI now:

ERROR: Create environment and set up master node
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jenkins/90-venv/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
    compatability.capture_type_error(s_func)
  File "/home/jenkins/90-venv/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
    func()
  File "/home/jenkins/90-venv/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
    func(test_case.state.get_state())
  File "/home/jenkins/workspace/9.x.nsxt.custom.qa/plugin_test/fuel-qa/fuelweb_test/helpers/decorators.py", line 120, in wrapper
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/9.x.nsxt.custom.qa/plugin_test/fuel-qa/fuelweb_test/tests/base_test_case.py", line 402, in setup_master
    self.rebuild_bootstrap_image_with_xenial_kernel()
  File "/home/jenkins/workspace/9.x.nsxt.custom.qa/plugin_test/fuel-qa/fuelweb_test/tests/base_test_case.py", line 199, in rebuild_bootstrap_image_with_xenial_kernel
    for script in os.listdir(script_path):
OSError: [Errno 2] No such file or directory: '/home/jenkins/workspace/9.x.nsxt.custom.qa/fuelweb_test/useful_scripts/'

If we change workspace to fuel-qa, then we get:
python: can't open file 'plugin_test/run_tests.py': [Errno 2] No such file or directory

tags: removed: area-qa
description: updated
description: updated
Revision history for this message
Ruslan Khozinov (rkhozinov) wrote :
Changed in fuel:
assignee: nobody → Ruslan Khozinov (rkhozinov)
status: New → Fix Committed
status: Fix Committed → In Progress
affects: fuel → fuel-plugin-nsx-t
Changed in fuel-plugin-nsx-t:
milestone: 9.2 → none
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-plugin-nsx-t (master)

Reviewed: https://review.openstack.org/399677
Committed: https://git.openstack.org/cgit/openstack/fuel-plugin-nsx-t/commit/?id=cdbe75160ffcda150da761428e0d9b119d1150f7
Submitter: Jenkins
Branch: master

commit cdbe75160ffcda150da761428e0d9b119d1150f7
Author: Ruslan Khozinov <email address hidden>
Date: Fri Nov 18 19:26:55 2016 +0300

    Test run issue is fixed

    We've faced with the WORKSPACE env var reusing.
    WORKSPACE env should be different for fuel-qa submoule and nsx-t repo.

    Closes-Bug: #1642991
    Change-Id: Id0b77b8f187d4c29cd486ccda5d5e6a5dc84980a

Changed in fuel-plugin-nsx-t:
status: In Progress → Fix Committed
Changed in fuel-plugin-nsx-t:
status: Fix Committed → Fix Released
milestone: none → 1.0.0
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.