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

TestCmdGoNoHTTPServer from go net/http internal testsuite fails [rhel-9.7]

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • rhel-9.7
    • rhel-9.7
    • golang
    • None
    • golang-1.24.4-3.el9
    • No
    • Moderate
    • rhel-pt-go
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      TestCmdGoNoHTTPServer from latest rhel-9.7 golang-1.24.4-2.el9 net/http internal testsuite fails on rhel-9.7, apparently due to go binary being stripped and having no symbols:

      [root@vm-10-0-187-153 ~]# go test -timeout 50m -count=1 net/http
      --- FAIL: TestCmdGoNoHTTPServer (0.01s)
          http_test.go:59: go tool nm: exit status 1: reading /usr/lib/golang/bin/go: no symbol section
              reading /usr/lib/golang/bin/go: no symbols
      --- FAIL: TestOmitHTTP2 (8.26s)
          http_test.go:93: go test -short failed: exit status 1, --- FAIL: TestCmdGoNoHTTPServer (0.01s)
                  http_test.go:59: go tool nm: exit status 1: reading /usr/lib/golang/bin/go: no symbol section
                      reading /usr/lib/golang/bin/go: no symbols
              FAIL
              FAIL	net/http	3.003s
              FAIL
      FAIL
      FAIL	net/http	31.562s
      FAIL
      [root@vm-10-0-187-153 ~]# go tool nm /usr/lib/golang/bin/go
      reading /usr/lib/golang/bin/go: no symbol section
      reading /usr/lib/golang/bin/go: no symbols
      [root@vm-10-0-187-153 ~]# file /usr/lib/golang/bin/go
      /usr/lib/golang/bin/go: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=87a277432aa6eb7d367de807f8a273beb3de7087, for GNU/Linux 3.2.0, stripped
      

              go-maint@redhat.com Go Maint
              rhn-support-emachado Edjunior Machado
              Go Maint Go Maint
              Edjunior Machado Edjunior Machado
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated: