Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1451777 - Octavia scenario tests fail with 'No such file or directory', because the Octavia tests subpackage does not bring in the 'golang' dependency
Octavia scenario tests fail with 'No such file or directory', because the Oct...
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-octavia (Show other bugs)
11.0 (Ocata)
Unspecified Unspecified
high Severity high
: Upstream M2
: 12.0 (Pike)
Assigned To: Nir Magnezi
Alexander Stafeyev
: AutomationBlocker, TechPreview, Triaged
: 1451789 (view as bug list)
Depends On:
Blocks: 1451829
  Show dependency treegraph
 
Reported: 2017-05-17 09:44 EDT by Arie Bregman
Modified: 2018-02-05 14:07 EST (History)
14 users (show)

See Also:
Fixed In Version: openstack-octavia-1.0.0-0.20170719072610.208395f.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-12-13 16:27:05 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
RDO 6688 None None None 2017-05-18 08:47 EDT
Red Hat Product Errata RHEA-2017:3462 normal SHIPPED_LIVE Red Hat OpenStack Platform 12.0 Enhancement Advisory 2018-02-15 20:43:25 EST

  None (edit)
Description Arie Bregman 2017-05-17 09:44:52 EDT
Description of problem:

When running Octavia scenario tests, after deploying it with TripleO, the following tests are failing:

octavia.tests.tempest.v1.scenario.test_listener_basic.TestListenerBasic.test_load_balancer_basic
octavia.tests.tempest.v1.scenario.test_load_balancer_tree_minimal.TestLoadBalancerTreeMinimal.test_load_balancer_tree_minimal

The traceback:

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/tempest/test.py", line 103, in wrapper
    return f(self, *func_args, **func_kwargs)
  File "/usr/lib/python2.7/site-packages/octavia/tests/tempest/v1/scenario/test_load_balancer_tree_minimal.py", line 44, in test_load_balancer_tree_minimal
    self._start_backend_httpd_processes('server1')
  File "/usr/lib/python2.7/site-packages/octavia/tests/tempest/v1/scenario/base.py", line 249, in _start_backend_httpd_processes
    httpd = self._build_static_httpd()
  File "/usr/lib/python2.7/site-packages/octavia/tests/tempest/v1/scenario/base.py", line 239, in _build_static_httpd
    'httpd.go', cwd=builddir)
  File "/usr/lib/python2.7/site-packages/octavia/tests/tempest/v1/scenario/base.py", line 826, in execute
    proc = subprocess.Popen(args, **subprocess_args)
  File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__
    errread, errwrite)
  File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

Version-Release number of selected component (if applicable): openstack-octavia-housekeeping-0.10.0-6.el7ost.noarch


How reproducible: 100


Steps to Reproduce:
1. Deploy Director OSP 11 + Octavia
2. Run Octavia scenario tests

Actual results: Fail


Expected results: All tests passed successfully :)
Comment 2 Assaf Muller 2017-05-17 10:12:34 EDT
I think the test assumes that the 'go' binary is present on the test machine, and in our case it isn't?
Comment 4 Alexander Stafeyev 2017-05-17 11:05:16 EDT
*** Bug 1451789 has been marked as a duplicate of this bug. ***
Comment 5 Nir Magnezi 2017-05-18 08:49:21 EDT
(In reply to Assaf Muller from comment #2)
> I think the test assumes that the 'go' binary is present on the test
> machine, and in our case it isn't?

Looks like this is the case in u/s OpenStack Nodes, but indeed not in ours.
I've added this as a dependency for the Octavia tests package: https://review.rdoproject.org/r/#/c/6688/
Comment 23 errata-xmlrpc 2017-12-13 16:27:05 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2017:3462

Note You need to log in before you can comment on or make changes to this bug.