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

TestGoAMD64v1 from golang internal testsuite fails on rhel-10 x86_64

    • golang-1.22.2-7.el10
    • None
    • None
    • 3
    • rhel-sst-pt-llvm-rust-go
    • ssg_platform_tools
    • 1
    • Dev ack
    • False
    • Hide

      None

      Show
      None
    • Yes
    • Sprint 3, Sprint 4, Sprint 5
    • Unspecified Release Note Type - Unknown
    • x86_64
    • None

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

      When running rhel-10 golang-1.22.2-1.el10 internal testsuite on x86_64, TestGoAMD64v1 from suite cmd/compile/internal/amd64 fails with the following:

      [root@sweetpig-15 internal-testsuite]# go test -v cmd/compile/internal/amd64
      === RUN   TestGoAMD64v1
          versions_test.go:162: clobbering instruction   407d8c:	f3 0f b8 d2          	popcnt %edx,%edx
          versions_test.go:162: clobbering instruction   407dc8:	f3 0f b8 d2          	popcnt %edx,%edx
          versions_test.go:162: clobbering instruction   407e01:	f3 0f b8 d2          	popcnt %edx,%edx
          versions_test.go:162: clobbering instruction   407e39:	f3 0f b8 d2          	popcnt %edx,%edx
          versions_test.go:162: clobbering instruction   407e99:	f3 0f b8 d2          	popcnt %edx,%edx
          versions_test.go:162: clobbering instruction   407e9d:	f3 0f b8 c9          	popcnt %ecx,%ecx
          versions_test.go:162: clobbering instruction   407ef6:	f3 48 0f b8 d2       	popcnt %rdx,%rdx
          versions_test.go:162: clobbering instruction   42d1bd:	f3 4d 0f b8 c9       	popcnt %r9,%r9
          versions_test.go:162: clobbering instruction   4353c5:	f3 48 0f b8 ff       	popcnt %rdi,%rdi
          versions_test.go:162: clobbering instruction   4358eb:	f3 48 0f b8 f2       	popcnt %rdx,%rsi
          versions_test.go:162: clobbering instruction   435c33:	f3 4d 0f b8 c0       	popcnt %r8,%r8
          versions_test.go:162: clobbering instruction   435ca6:	f3 48 0f b8 c8       	popcnt %rax,%rcx
          versions_test.go:162: clobbering instruction   435d04:	f3 4d 0f b8 c9       	popcnt %r9,%r9
          versions_test.go:162: clobbering instruction   435d66:	f3 48 0f b8 cb       	popcnt %rbx,%rcx
          versions_test.go:162: clobbering instruction   47a10e:	66 0f 3a 22 00 02    	pinsrd $0x2,(%rax),%xmm0
          versions_test.go:162: clobbering instruction   47a14e:	66 48 0f 3a 22 00 01 	pinsrq $0x1,(%rax),%xmm0
          versions_test.go:162: clobbering instruction   5b94b2:	66 0f 3a 16 c8 01    	pextrd $0x1,%xmm1,%eax
          versions_test.go:162: clobbering instruction   6b8b0d:	f3 0f b8 c6          	popcnt %esi,%eax
          versions_test.go:162: clobbering instruction   743138:	f3 4d 0f b8 d2       	popcnt %r10,%r10
          versions_test.go:162: clobbering instruction   7467a8:	f3 4c 0f b8 e0       	popcnt %rax,%r12
          versions_test.go:162: clobbering instruction   749721:	f3 49 0f b8 f5       	popcnt %r13,%rsi
          versions_test.go:162: clobbering instruction   749908:	f3 49 0f b8 fd       	popcnt %r13,%rdi
          versions_test.go:162: clobbering instruction   749fb1:	f3 48 0f b8 ff       	popcnt %rdi,%rdi
          versions_test.go:162: clobbering instruction   74a099:	f3 48 0f b8 ff       	popcnt %rdi,%rdi
          versions_test.go:162: clobbering instruction   74be12:	f3 4c 0f b8 d0       	popcnt %rax,%r10
          versions_test.go:162: clobbering instruction   74ca7c:	f3 48 0f b8 d2       	popcnt %rdx,%rdx
          versions_test.go:162: clobbering instruction   7542ec:	f3 4c 0f b8 d0       	popcnt %rax,%r10
          versions_test.go:162: clobbering instruction   7754da:	66 0f 3a 0b c0 02    	roundsd $0x2,%xmm0,%xmm0
          versions_test.go:162: clobbering instruction   78981a:	66 0f 3a 0b c0 01    	roundsd $0x1,%xmm0,%xmm0
          versions_test.go:162: clobbering instruction   7b7d3a:	66 0f 3a 0b c0 00    	roundsd $0x0,%xmm0,%xmm0
          versions_test.go:162: clobbering instruction   7cc03a:	66 0f 3a 0b c0 03    	roundsd $0x3,%xmm0,%xmm0
          versions_test.go:162: clobbering instruction   80c5c7:	f3 4c 0f b8 c6       	popcnt %rsi,%r8
          versions_test.go:162: clobbering instruction   80c705:	f3 44 0f b8 c6       	popcnt %esi,%r8d
          versions_test.go:162: clobbering instruction   80d944:	66 0f 3a 0b d0 00    	roundsd $0x0,%xmm0,%xmm2
          versions_test.go:162: clobbering instruction   80dba0:	c4 e2 f9 b9 d1       	vfmadd231sd %xmm1,%xmm0,%xmm2
          versions_test.go:162: clobbering instruction   815107:	66 48 0f 3a 22 c2 01 	pinsrq $0x1,%rdx,%xmm0
          versions_test.go:81: couldn't execute test: signal: trace/breakpoint trap (core dumped)
      --- FAIL: TestGoAMD64v1 (2.75s)
      === RUN   TestPopCnt
      --- PASS: TestPopCnt (0.00s)
      === RUN   TestAndNot
      --- PASS: TestAndNot (0.00s)
      === RUN   TestBLSI
      --- PASS: TestBLSI (0.00s)
      === RUN   TestBLSMSK
      --- PASS: TestBLSMSK (0.00s)
      === RUN   TestBLSR
      --- PASS: TestBLSR (0.00s)
      === RUN   TestTrailingZeros
      --- PASS: TestTrailingZeros (0.00s)
      === RUN   TestRound
      --- PASS: TestRound (0.00s)
      === RUN   TestFMA
      --- PASS: TestFMA (0.00s)
      FAIL
      FAIL	cmd/compile/internal/amd64	2.761s
      FAIL
      [root@sweetpig-15 internal-testsuite]# dmesg 
      [82866.889376] traps: TestGoAMD64v126[1013866] trap int3 ip:815108 sp:7ffc101f2860 error:0 in TestGoAMD64v12695171573[402000+414000]
      [root@sweetpig-15 internal-testsuite]#
      [root@sweetpig-15 internal-testsuite]# cat /proc/cpuinfo 
      processor	: 0
      vendor_id	: GenuineIntel
      cpu family	: 6
      model		: 79
      model name	: Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
      stepping	: 1
      microcode	: 0xb00001d
      cpu MHz		: 2099.996
      cache size	: 16384 KB
      physical id	: 0
      siblings	: 1
      core id		: 0
      cpu cores	: 1
      apicid		: 0
      initial apicid	: 0
      fpu		: yes
      fpu_exception	: yes
      cpuid level	: 20
      wp		: yes
      flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology cpuid tsc_known_freq pni pclmulqdq vmx ssse3 fma cx16 pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault pti tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm rdseed adx smap xsaveopt arat vnmi umip arch_capabilities
      vmx flags	: vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid shadow_vmcs pml
      bugs		: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs taa mmio_stale_data
      bogomips	: 4199.99
      clflush size	: 64
      cache_alignment	: 64
      address sizes	: 46 bits physical, 48 bits virtual
      power management:
      (...)
      

      Please provide the package NVR for which bug is seen:

      golang-1.22.2-1.el10
      RHEL-10.0-20240411.13

              asaezmor Alejandro Saez Morollon
              rhn-support-emachado Edjunior Machado
              David Benoit David Benoit
              Edjunior Machado Edjunior Machado
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated: