Details
-
Bug
-
Status: Closed
-
Medium
-
Resolution: Done
-
None
Description
The IP binding puppet-opendaylight Beaker acceptances tests use netstat, via net-tools packages, to check an ODL port. However, net-tools doesn't seem to be installed in the Beaker-managed container this test is running in.
https://jenkins.opendaylight.org/sandbox/view/packaging/job/puppet-test-sanity-fluorine/1/console
> testing binding ODL to an IP
> Command "loop_count=0; until [[ $loop_count -ge 60 ]]; do netstat -punta | grep 6653 | grep 127.0.0.1 && break; loop_count=$[$loop_count+1]; sleep 1; done; echo "Waited $loop_count seconds to detect ODL karaf bound to IP"" exit_status
> /bin/sh: netstat: command not found
> Waited 60 seconds to detect ODL karaf bound to IP
Related earlier work that turned out to be wrong (install on job host box, not container where test is executing):
Attachments
| # | Subject | Branch | Project | Status | CR | V |
|---|---|---|---|---|---|---|
| 77557,4 | Install net-tools for netstat in Beaker tests | master | integration/packaging/puppet-opendaylight | Status: MERGED | +2 | +1 |
| 77661,1 | Install net-tools for netstat in Beaker tests | stable/fluorine | integration/packaging/puppet-opendaylight | Status: MERGED | +2 | +1 |
| 77662,1 | Install net-tools for netstat in Beaker tests | stable/oxygen | integration/packaging/puppet-opendaylight | Status: MERGED | +2 | +1 |