Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-23940

Test case failure: squid/Sanity/ephemeral-port-sharing

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • rhel-8.6.0.z, rhel-9.0.0.z
    • squid
    • None
    • Moderate
    • rhel-sst-cs-stacks
    • ssg_core_services
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • All
    • None

      What were you trying to do that didn't work?

      Run EWA or OSCI tests

      Please provide the package NVR for which bug is seen:

      All

      How reproducible:

      100%

      Steps to reproduce

      1. Run test in TMT or OSCI

      Expected results

      Test should pass

      Actual results

      Test fails.  taskout.log contains:

       

      ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
      ::   Test
      ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
      :: [ 17:41:56 ] :: [  BEGIN   ] :: Starting first netcat :: actually running 'nc -l 192.168.1.3 8080 -k -c './sleeper.sh' &'
      :: [ 17:41:56 ] :: [   PASS   ] :: Starting first netcat (Expected 0, got 0)
      :: [ 17:41:56 ] :: [  BEGIN   ] :: Starting second netcat :: actually running 'nc -l 192.168.1.4 8080 -k -c './sleeper.sh' &'
      :: [ 17:41:56 ] :: [   PASS   ] :: Starting second netcat (Expected 0, got 0)
      :: [ 17:41:56 ] :: [  BEGIN   ] :: sleep to make squid and servers settle down :: actually running 'sleep 5'
      :: [ 17:42:01 ] :: [   PASS   ] :: sleep to make squid and servers settle down (Expected 0, got 0)
      :: [ 17:42:01 ] :: [  BEGIN   ] :: Saturating first netcat :: actually running 'for i in {0..9}; do curl --interface 192.168.1.5 --local-port 4099$i -x http://192.168.1.2:3128 -L http://192.168.1.3:8080/ -v > ./first-$i.log 2>&1 & done;'
      :: [ 17:42:01 ] :: [   PASS   ] :: Saturating first netcat (Expected 0, got 0)
      :: [ 17:42:01 ] :: [  BEGIN   ] :: Saturating second netcat :: actually running 'for i in {0..9}; do curl --interface 192.168.1.6 --local-port 4099$i -x http://192.168.1.2:3128 -L http://192.168.1.4:8080/ -v > ./second-$i.log 2>&1 & done;'
      :: [ 17:42:01 ] :: [   PASS   ] :: Saturating second netcat (Expected 0, got 0)
      :: [ 17:42:01 ] :: [  BEGIN   ] :: sleeping to let curls open and finish their connections :: actually running 'sleep 30'
      :: [ 17:42:31 ] :: [   PASS   ] :: sleeping to let curls open and finish their connections (Expected 0, got 0)
      :: [ 17:42:32 ] :: [  BEGIN   ] :: Verify that curls were able to receive testing page :: actually running '[ $(grep -r 'Hello, World' ./*.log | wc -l) -eq '20' ]'
      :: [ 17:42:32 ] :: [   FAIL   ] :: Verify that curls were able to receive testing page (Expected 0, got 1)
      

      I checked the log files, and if I remember corectly, first-.log contained 10 {}Hello, Worlds, but second-.log contains none.

              rhn-engineering-dshea David Shea
              rhn-support-bjmason Bryan Mason
              Lubos Uhliarik Lubos Uhliarik
              rhel-cs-infra-services-qe rhel-cs-infra-services-qe rhel-cs-infra-services-qe rhel-cs-infra-services-qe
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: