Uploaded image for project: 'integration-packaging'
  1. integration-packaging
  2. INTPAK-208

Netstat used but not installed in puppet-odl Beaker tests

    XMLWordPrintable

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

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

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

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            dfarrell07 Daniel Farrell
            dfarrell07 Daniel Farrell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: