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

TestNextParked from delve internal testsuite occasionally fails on rhel-9.0-z

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-9.0.0
    • delve
    • None
    • None
    • rhel-sst-pt-llvm-rust-go
    • ssg_platform_tools
    • 2
    • Dev ack
    • False
    • Hide

      None

      Show
      None
    • Yes
    • None
    • None
    • None
    • If docs needed, set a value
    • None

      Also reproducible on RHEL-9.0.0-updates-20220720.0 (kvm-03-guest03.lab.eng.rdu2.redhat.com from beaker) with:

      delve-1.7.3-1.el9.x86_64
      golang-1.17.12-1.el9_0.x86_64
      go-toolset-1.17.12-1.el9_0.x86_64

      +++ This bug was initially created as a clone of Bug #2091666 +++

      Description of problem:
      TestNextParked from devtools-2022.2 go-toolset-1.17-delve-1.7.2-1.el7_9 internal testsuite fails on RHEL-7.9-updates-20220512.1.

      Version-Release number of selected component (if applicable):
      go-toolset-1.17-delve-1.7.2-1.el7_9
      go-toolset-1.17-golang-1.17.10-1.el7_9
      go-toolset-1.17-1.17.10-1.el7_9

      How reproducible:
      Usually reproducible on 1minutetip machines; also seen on kvm-01-guest14.lab.eng.brq.redhat.com.

      Steps to Reproduce:
      1. scl enable go-toolset-1.17 bash
      2. rpm -ivh go-toolset-1.17-delve-1.7.2-1.el7_9.src.rpm
      3. rpmbuild -bp rpmbuild/SPECS/delve.spec
      4. cd rpmbuild/BUILD/delve-1.7.2/_build/
      5. export GO111MODULE=off
      6. export GOPATH=$(pwd)
      7. go test github.com/go-delve/delve/service/dap -v -count 1

      Actual results:
      (...)
      === RUN TestNextParked
      DAP server listening at: [::]:34248
      Connecting to server at: [::]:34248
      hi 9
      hi 9
      hi 0
      hi 0
      hi 1
      hi 1
      hi 2
      hi 2
      hi 3
      hi 3
      hi 4
      hi 4
      hi 5
      hi 5
      hi 6
      hi 6
      hi 7
      hi 7
      hi 8
      hi 8
      server_test.go:3635: got &dap.TerminatedEvent{Event:dap.Event{ProtocolMessage:dap.ProtocolMessage

      {Seq:0, Type:"event"}

      , Event:"terminated"}, Body:dap.Termi
      natedEventBody{Restart:interface {}(nil)}}, want *dap.StoppedEvent
      — FAIL: TestNextParked (0.46s)
      (...)

              dbenoit@redhat.com David Benoit
              rhn-support-emachado Edjunior Machado
              David Benoit David Benoit
              Edjunior Machado Edjunior Machado
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: