Skip to content

x/crypto/ssh: data race in TestHandshakeRekeyDefault #56957

@gopherbot

Description

@gopherbot
#!watchflakes
post <- pkg == "golang.org/x/crypto/ssh" && `DATA RACE` && `^\s+golang\.org/x/crypto/ssh\.TestHandshakeRekeyDefault`

Issue created automatically to collect these failures.

Example (log):

==================
WARNING: DATA RACE
Write at 0x00c000152810 by goroutine 26:
  golang.org/x/crypto/ssh.(*handshakeTransport).readOnePacket()
      /tmp/workdir/gopath/src/golang.org/x/crypto/ssh/handshake.go:386 +0x169
  golang.org/x/crypto/ssh.(*handshakeTransport).readLoop()
      /tmp/workdir/gopath/src/golang.org/x/crypto/ssh/handshake.go:197 +0x4a
  golang.org/x/crypto/ssh.newClientTransport.func1()
      /tmp/workdir/gopath/src/golang.org/x/crypto/ssh/handshake.go:134 +0x39

...
      /tmp/workdir/go/src/testing/testing.go:1439 +0x213
  testing.runTests()
      /tmp/workdir/go/src/testing/testing.go:1837 +0x7e4
  testing.(*M).Run()
      /tmp/workdir/go/src/testing/testing.go:1719 +0xa71
  main.main()
      _testmain.go:321 +0x2e4
==================
--- FAIL: TestHandshakeAEADCipherNoMAC (0.02s)
    testing.go:1312: race detected during execution of test

watchflakes

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions