Uploaded image for project: 'OPCT - OpenShift Provider Compatibility Tool'
  1. OPCT - OpenShift Provider Compatibility Tool
  2. OPCT-213

[plugins] Utils is crashing in go binaries built on 1.20 in the plugins image

XMLWordPrintable

    • False

      Utils (oc and openshift-tests) are crashing when loading shared lib libresolv.so.2 in the plugins image (Alpine Linux). It seems related in Alpine and Go binaries built 1.20.

      The executions in 4.14+ is crashing after testing the binaries: (plugins log)

      2023-06-13_23:57:01 | [plugin] | ./global_fn.sh:207>  [extractor_start][openshift-tests] Extracting the utility
      2023-06-13_23:57:06 | [plugin] | ./global_fn.sh:284>  [extractor_wait][openshift-tests] Check files exists=[/tmp/shared/openshift-tests.ready /tmp/shared/openshift-tests.failed]
      2023-06-13_23:57:11 | [plugin] | ./global_fn.sh:284>  [extractor_wait][openshift-tests] Check files exists=[/tmp/shared/openshift-tests.ready /tmp/shared/openshift-tests.failed]
      2023-06-13_23:57:11 | [plugin] | ./global_fn.sh:213>  [extractor_start][openshift-tests] check if it was downloaded
      2023-06-13_23:57:11 | [plugin] | ./global_fn.sh:221>  [extractor_start][openshift-tests] move to /tmp/shared/openshift-tests
      2023-06-13_23:57:12 | [plugin] | ./global_fn.sh:224>  [extractor_start][openshift-tests] set exec permissions for /tmp/shared/openshift-tests
      2023-06-13_23:57:12 | [plugin] | ./global_fn.sh:231>  [extractor_start][openshift-tests] testing openshift-tests
      Error loading shared library libresolv.so.2: No such file or directory (needed by /tmp/shared/openshift-tests)
      2023-06-13_23:57:12 | [plugin] | ./global_fn.sh:180>  Creating failed JUnit result file [/tmp/sonobuoy/results/junit_e2e_failed_20230613-235712.xml]
       

      Steps to reproduce:

      • Download opct v0.4.0
      • Run in OCP 4.14
      • Gather the results: expected to find a failed JUnit in the extractor phase
      • Check the logs of plugins containers/pods: expected to find the dependency err message "Error loading shared library libresolv.so.2"

      Issues to track:

              rhn-support-mrbraga Marco Braga
              rhn-support-mrbraga Marco Braga
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: