[INTPAK-208] Netstat used but not installed in puppet-odl Beaker tests Created: 05/Oct/18  Updated: 10/Dec/18  Resolved: 27/Nov/18

Status: Closed
Project: integration-packaging
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Medium
Reporter: Daniel Farrell Assignee: Daniel Farrell
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 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):

https://git.opendaylight.org/gerrit/#/c/76696/

https://jira.opendaylight.org/browse/INTPAK-206



 Comments   
Comment by Daniel Farrell [ 06/Nov/18 ]

Taking a debugging stab at this here: https://git.opendaylight.org/gerrit/#/c/77557/

Comment by Daniel Farrell [ 27/Nov/18 ]

Fixed

Generated at Wed Feb 07 20:03:54 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.