golang / go

The Go programming language
https://go.dev
BSD 3-Clause "New" or "Revised" License
123.98k stars 17.67k forks source link

crypto/x509: TestSystemVerify consistently failing #58791

Closed bcmills closed 1 year ago

bcmills commented 1 year ago
#!watchflakes
post <- goos == "windows" && pkg == "crypto/x509" && test == "TestSystemVerify"

https://build.golang.org/log/97b5cac923dc9079392efd9637b9fffa8b9f7592:

--- FAIL: TestSystemVerify (1.59s)
    --- FAIL: TestSystemVerify/Valid (0.10s)
        verify_test.go:479: unexpected error: x509: certificate signed by unknown authority
    --- FAIL: TestSystemVerify/MixedCase (0.00s)
        verify_test.go:479: unexpected error: x509: certificate signed by unknown authority
    --- FAIL: TestSystemVerify/HostnameMismatch (0.00s)
        verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority
    --- FAIL: TestSystemVerify/IPMissing (0.00s)
        verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority
    --- FAIL: TestSystemVerify/Expired (0.00s)
        verify_test.go:388: error was not Expired: x509: certificate signed by unknown authority
    --- FAIL: TestSystemVerify/RootInIntermediates (0.00s)
        verify_test.go:479: unexpected error: x509: certificate signed by unknown authority
    --- FAIL: TestSystemVerify/SHA-384 (0.02s)
        verify_test.go:514: Got 0 matches instead of 1 for expected chain [api.moip.com.br COMODO RSA Extended Validation Secure Server CA COMODO RSA Certification Authority AddTrust External CA Root]
FAIL
FAIL    crypto/x509 2.845s

(attn @golang/security @dmitshur)

bcmills commented 1 year ago

I think this is something to do with an expiration — all of the builders started failing at once, even on TryBots at older base CLs (https://storage.googleapis.com/go-build-log/cd3d6904/windows-386-2016_967987aa.log).

gopherbot commented 1 year ago

Change https://go.dev/cl/472295 mentions this issue: crypto/x509: fix system root tests + darwin intermediate handling

gopherbot commented 1 year ago

Change https://go.dev/cl/472097 mentions this issue: crypto/x509: avoid nil dereference in tests

gopherbot commented 1 year ago

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "windows" && pkg == "crypto/x509" && test == "TestSystemVerify"
2023-02-28 19:35 windows-amd64-2016 go@4a9c84d0 crypto/x509.TestSystemVerify (log) --- FAIL: TestSystemVerify (0.44s) --- FAIL: TestSystemVerify/Valid (0.13s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/MixedCase (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/HostnameMismatch (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/IPMissing (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/Expired (0.00s) verify_test.go:388: error was not Expired: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/RootInIntermediates (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/SHA-384 (0.02s) verify_test.go:514: Got 0 matches instead of 1 for expected chain [api.moip.com.br COMODO RSA Extended Validation Secure Server CA COMODO RSA Certification Authority AddTrust External CA Root]
2023-02-28 19:35 windows-arm64-11 go@4a9c84d0 crypto/x509.TestSystemVerify (log) --- FAIL: TestSystemVerify (0.04s) --- FAIL: TestSystemVerify/Valid (0.02s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/MixedCase (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/HostnameMismatch (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/IPMissing (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/Expired (0.00s) verify_test.go:388: error was not Expired: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/RootInIntermediates (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/SHA-384 (0.00s) verify_test.go:514: Got 0 matches instead of 1 for expected chain [api.moip.com.br COMODO RSA Extended Validation Secure Server CA COMODO RSA Certification Authority AddTrust External CA Root]
2023-02-28 21:59 windows-amd64-race go@ec26277a crypto/x509.TestSystemVerify (log) --- FAIL: TestSystemVerify (0.43s) --- FAIL: TestSystemVerify/Valid (0.12s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/MixedCase (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/HostnameMismatch (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/IPMissing (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/Expired (0.00s) verify_test.go:388: error was not Expired: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/RootInIntermediates (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/SHA-384 (0.02s) verify_test.go:514: Got 0 matches instead of 1 for expected chain [api.moip.com.br COMODO RSA Extended Validation Secure Server CA COMODO RSA Certification Authority AddTrust External CA Root]
2023-02-28 22:18 windows-amd64-2016 go@65fa9ce8 crypto/x509.TestSystemVerify (log) --- FAIL: TestSystemVerify (0.52s) --- FAIL: TestSystemVerify/Valid (0.11s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/MixedCase (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/HostnameMismatch (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/IPMissing (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/Expired (0.00s) verify_test.go:388: error was not Expired: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/RootInIntermediates (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/SHA-384 (0.01s) verify_test.go:514: Got 0 matches instead of 1 for expected chain [api.moip.com.br COMODO RSA Extended Validation Secure Server CA COMODO RSA Certification Authority AddTrust External CA Root]
2023-02-28 22:18 windows-amd64-race go@65fa9ce8 crypto/x509.TestSystemVerify (log) --- FAIL: TestSystemVerify (0.66s) --- FAIL: TestSystemVerify/Valid (0.13s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/MixedCase (0.01s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/HostnameMismatch (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/IPMissing (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/Expired (0.00s) verify_test.go:388: error was not Expired: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/RootInIntermediates (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/SHA-384 (0.02s) verify_test.go:514: Got 0 matches instead of 1 for expected chain [api.moip.com.br COMODO RSA Extended Validation Secure Server CA COMODO RSA Certification Authority AddTrust External CA Root]
2023-02-28 22:18 windows-arm64-11 go@65fa9ce8 crypto/x509.TestSystemVerify (log) --- FAIL: TestSystemVerify (0.04s) --- FAIL: TestSystemVerify/Valid (0.02s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/MixedCase (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/HostnameMismatch (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/IPMissing (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/Expired (0.00s) verify_test.go:388: error was not Expired: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/RootInIntermediates (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/SHA-384 (0.00s) verify_test.go:514: Got 0 matches instead of 1 for expected chain [api.moip.com.br COMODO RSA Extended Validation Secure Server CA COMODO RSA Certification Authority AddTrust External CA Root]
2023-02-28 23:42 windows-amd64-2016 go@0384235a crypto/x509.TestSystemVerify (log) --- FAIL: TestSystemVerify (0.74s) --- FAIL: TestSystemVerify/Valid (0.13s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/MixedCase (0.01s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/HostnameMismatch (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/IPMissing (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/Expired (0.00s) verify_test.go:388: error was not Expired: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/RootInIntermediates (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/SHA-384 (0.02s) verify_test.go:514: Got 0 matches instead of 1 for expected chain [api.moip.com.br COMODO RSA Extended Validation Secure Server CA COMODO RSA Certification Authority AddTrust External CA Root]
2023-02-28 23:42 windows-amd64-race go@0384235a crypto/x509.TestSystemVerify (log) --- FAIL: TestSystemVerify (0.62s) --- FAIL: TestSystemVerify/Valid (0.13s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/MixedCase (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/HostnameMismatch (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/IPMissing (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/Expired (0.00s) verify_test.go:388: error was not Expired: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/RootInIntermediates (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/SHA-384 (0.02s) verify_test.go:514: Got 0 matches instead of 1 for expected chain [api.moip.com.br COMODO RSA Extended Validation Secure Server CA COMODO RSA Certification Authority AddTrust External CA Root]
2023-02-28 23:42 windows-arm64-11 go@0384235a crypto/x509.TestSystemVerify (log) --- FAIL: TestSystemVerify (0.04s) --- FAIL: TestSystemVerify/Valid (0.03s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/MixedCase (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/HostnameMismatch (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/IPMissing (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/Expired (0.00s) verify_test.go:388: error was not Expired: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/RootInIntermediates (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/SHA-384 (0.00s) verify_test.go:514: Got 0 matches instead of 1 for expected chain [api.moip.com.br COMODO RSA Extended Validation Secure Server CA COMODO RSA Certification Authority AddTrust External CA Root]

watchflakes

dmitshur commented 1 year ago

@gopherbot Please backport at minimum the Windows text fix aspect of this issue.

This is needed to fix failing tests on release branches.

gopherbot commented 1 year ago

Backport issue(s) opened: #58810 (for 1.19), #58811 (for 1.20).

Remember to create the cherry-pick CL(s) as soon as the patch is submitted to master, according to https://go.dev/wiki/MinorReleases.

gopherbot commented 1 year ago

Change https://go.dev/cl/472496 mentions this issue: crypto/x509: fix broken tests

gopherbot commented 1 year ago

Change https://go.dev/cl/472615 mentions this issue: [release-branch.go1.19] crypto/x509: fix system root tests + darwin intermediate handling

gopherbot commented 1 year ago

Change https://go.dev/cl/472616 mentions this issue: [release-branch.go1.20] crypto/x509: fix system root tests + darwin intermediate handling

gopherbot commented 1 year ago

Change https://go.dev/cl/472618 mentions this issue: [release-branch.go1.20] crypto/x509: fix broken tests

gopherbot commented 1 year ago

Change https://go.dev/cl/472617 mentions this issue: [release-branch.go1.19] crypto/x509: fix broken tests

gopherbot commented 1 year ago

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "windows" && pkg == "crypto/x509" && test == "TestSystemVerify"
2023-03-01 18:06 windows-arm64-11 go@600d372f crypto/x509.TestSystemVerify (log) --- FAIL: TestSystemVerify (0.06s) --- FAIL: TestSystemVerify/Valid (0.04s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/MixedCase (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/HostnameMismatch (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/IPMissing (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/Expired (0.00s) verify_test.go:388: error was not Expired: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/RootInIntermediates (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/SHA-384 (0.00s) verify_test.go:514: Got 0 matches instead of 1 for expected chain [api.moip.com.br COMODO RSA Extended Validation Secure Server CA COMODO RSA Certification Authority AddTrust External CA Root]

watchflakes

dmitshur commented 1 year ago

Thanks watchflakes, but commit 600d37 is before the fix in commit 21e451e.

gopherbot commented 1 year ago

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "windows" && pkg == "crypto/x509" && test == "TestSystemVerify"
2023-03-01 17:28 windows-386-2016 go@bdd86bda crypto/x509.TestSystemVerify (log) --- FAIL: TestSystemVerify (0.89s) --- FAIL: TestSystemVerify/Valid (0.22s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/MixedCase (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/HostnameMismatch (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/IPMissing (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/Expired (0.00s) verify_test.go:388: error was not Expired: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/RootInIntermediates (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/SHA-384 (0.02s) verify_test.go:514: Got 0 matches instead of 1 for expected chain [api.moip.com.br COMODO RSA Extended Validation Secure Server CA COMODO RSA Certification Authority AddTrust External CA Root]
2023-03-01 17:28 windows-amd64-2016 go@bdd86bda crypto/x509.TestSystemVerify (log) --- FAIL: TestSystemVerify (1.48s) --- FAIL: TestSystemVerify/Valid (0.10s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/MixedCase (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/HostnameMismatch (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/IPMissing (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/Expired (0.00s) verify_test.go:388: error was not Expired: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/RootInIntermediates (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/SHA-384 (0.02s) verify_test.go:514: Got 0 matches instead of 1 for expected chain [api.moip.com.br COMODO RSA Extended Validation Secure Server CA COMODO RSA Certification Authority AddTrust External CA Root]
2023-03-01 17:28 windows-arm64-11 go@bdd86bda crypto/x509.TestSystemVerify (log) --- FAIL: TestSystemVerify (0.06s) --- FAIL: TestSystemVerify/Valid (0.02s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/MixedCase (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/HostnameMismatch (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/IPMissing (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/Expired (0.00s) verify_test.go:388: error was not Expired: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/RootInIntermediates (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/SHA-384 (0.02s) verify_test.go:514: Got 0 matches instead of 1 for expected chain [api.moip.com.br COMODO RSA Extended Validation Secure Server CA COMODO RSA Certification Authority AddTrust External CA Root]
2023-03-01 18:06 windows-386-2016 go@d2d0ee20 crypto/x509.TestSystemVerify (log) --- FAIL: TestSystemVerify (0.58s) --- FAIL: TestSystemVerify/Valid (0.25s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/MixedCase (0.01s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/HostnameMismatch (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/IPMissing (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/Expired (0.00s) verify_test.go:388: error was not Expired: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/RootInIntermediates (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/SHA-384 (0.03s) verify_test.go:514: Got 0 matches instead of 1 for expected chain [api.moip.com.br COMODO RSA Extended Validation Secure Server CA COMODO RSA Certification Authority AddTrust External CA Root]
2023-03-01 18:06 windows-amd64-2016 go@d2d0ee20 crypto/x509.TestSystemVerify (log) --- FAIL: TestSystemVerify (0.31s) --- FAIL: TestSystemVerify/Valid (0.12s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/MixedCase (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/HostnameMismatch (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/IPMissing (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/Expired (0.00s) verify_test.go:388: error was not Expired: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/RootInIntermediates (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/SHA-384 (0.02s) verify_test.go:514: Got 0 matches instead of 1 for expected chain [api.moip.com.br COMODO RSA Extended Validation Secure Server CA COMODO RSA Certification Authority AddTrust External CA Root]
2023-03-01 18:06 windows-arm64-11 go@d2d0ee20 crypto/x509.TestSystemVerify (log) --- FAIL: TestSystemVerify (0.04s) --- FAIL: TestSystemVerify/Valid (0.02s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/MixedCase (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/HostnameMismatch (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/IPMissing (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/Expired (0.00s) verify_test.go:388: error was not Expired: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/RootInIntermediates (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/SHA-384 (0.00s) verify_test.go:514: Got 0 matches instead of 1 for expected chain [api.moip.com.br COMODO RSA Extended Validation Secure Server CA COMODO RSA Certification Authority AddTrust External CA Root]

watchflakes

gopherbot commented 1 year ago

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "windows" && pkg == "crypto/x509" && test == "TestSystemVerify"
2023-03-01 17:28 windows-amd64-longtest go@bdd86bda crypto/x509.TestSystemVerify (log) --- FAIL: TestSystemVerify (0.72s) --- FAIL: TestSystemVerify/Valid (0.12s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/MixedCase (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/HostnameMismatch (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/IPMissing (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/Expired (0.00s) verify_test.go:388: error was not Expired: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/RootInIntermediates (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/SHA-384 (0.02s) verify_test.go:514: Got 0 matches instead of 1 for expected chain [api.moip.com.br COMODO RSA Extended Validation Secure Server CA COMODO RSA Certification Authority AddTrust External CA Root]
2023-03-01 17:28 windows-amd64-race go@bdd86bda crypto/x509.TestSystemVerify (log) --- FAIL: TestSystemVerify (0.58s) --- FAIL: TestSystemVerify/Valid (0.15s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/MixedCase (0.01s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/HostnameMismatch (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/IPMissing (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/Expired (0.00s) verify_test.go:388: error was not Expired: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/RootInIntermediates (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/SHA-384 (0.03s) verify_test.go:514: Got 0 matches instead of 1 for expected chain [api.moip.com.br COMODO RSA Extended Validation Secure Server CA COMODO RSA Certification Authority AddTrust External CA Root]
2023-03-01 18:06 windows-amd64-longtest go@d2d0ee20 crypto/x509.TestSystemVerify (log) --- FAIL: TestSystemVerify (0.53s) --- FAIL: TestSystemVerify/Valid (0.11s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/MixedCase (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/HostnameMismatch (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/IPMissing (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/Expired (0.00s) verify_test.go:388: error was not Expired: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/RootInIntermediates (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/SHA-384 (0.01s) verify_test.go:514: Got 0 matches instead of 1 for expected chain [api.moip.com.br COMODO RSA Extended Validation Secure Server CA COMODO RSA Certification Authority AddTrust External CA Root]
2023-03-01 18:06 windows-amd64-race go@d2d0ee20 crypto/x509.TestSystemVerify (log) --- FAIL: TestSystemVerify (0.66s) --- FAIL: TestSystemVerify/Valid (0.11s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/MixedCase (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/HostnameMismatch (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/IPMissing (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/Expired (0.00s) verify_test.go:388: error was not Expired: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/RootInIntermediates (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/SHA-384 (0.02s) verify_test.go:514: Got 0 matches instead of 1 for expected chain [api.moip.com.br COMODO RSA Extended Validation Secure Server CA COMODO RSA Certification Authority AddTrust External CA Root]

watchflakes

gopherbot commented 1 year ago

Found new dashboard test flakes for:

#!watchflakes
post <- goos == "windows" && pkg == "crypto/x509" && test == "TestSystemVerify"
2023-02-28 18:46 windows-arm64-11 go@9aaaedbb crypto/x509.TestSystemVerify (log) --- FAIL: TestSystemVerify (0.04s) --- FAIL: TestSystemVerify/Valid (0.02s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/MixedCase (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/HostnameMismatch (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/IPMissing (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/Expired (0.00s) verify_test.go:388: error was not Expired: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/RootInIntermediates (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/SHA-384 (0.00s) verify_test.go:514: Got 0 matches instead of 1 for expected chain [api.moip.com.br COMODO RSA Extended Validation Secure Server CA COMODO RSA Certification Authority AddTrust External CA Root]
2023-02-28 18:50 windows-arm64-11 go@89c3f7c1 crypto/x509.TestSystemVerify (log) --- FAIL: TestSystemVerify (0.04s) --- FAIL: TestSystemVerify/Valid (0.02s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/MixedCase (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/HostnameMismatch (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/IPMissing (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/Expired (0.00s) verify_test.go:388: error was not Expired: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/RootInIntermediates (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/SHA-384 (0.00s) verify_test.go:514: Got 0 matches instead of 1 for expected chain [api.moip.com.br COMODO RSA Extended Validation Secure Server CA COMODO RSA Certification Authority AddTrust External CA Root]
2023-02-28 18:50 windows-amd64-longtest go@af758177 crypto/x509.TestSystemVerify (log) --- FAIL: TestSystemVerify (0.43s) --- FAIL: TestSystemVerify/Valid (0.13s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/MixedCase (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/HostnameMismatch (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/IPMissing (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/Expired (0.00s) verify_test.go:388: error was not Expired: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/RootInIntermediates (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/SHA-384 (0.02s) verify_test.go:514: Got 0 matches instead of 1 for expected chain [api.moip.com.br COMODO RSA Extended Validation Secure Server CA COMODO RSA Certification Authority AddTrust External CA Root]
2023-02-28 18:50 windows-arm64-11 go@454198ab crypto/x509.TestSystemVerify (log) --- FAIL: TestSystemVerify (0.04s) --- FAIL: TestSystemVerify/Valid (0.02s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/MixedCase (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/HostnameMismatch (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/IPMissing (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/Expired (0.00s) verify_test.go:388: error was not Expired: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/RootInIntermediates (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/SHA-384 (0.00s) verify_test.go:514: Got 0 matches instead of 1 for expected chain [api.moip.com.br COMODO RSA Extended Validation Secure Server CA COMODO RSA Certification Authority AddTrust External CA Root]
2023-03-01 18:00 windows-arm64-11 go@8417168d crypto/x509.TestSystemVerify (log) --- FAIL: TestSystemVerify (0.04s) --- FAIL: TestSystemVerify/Valid (0.02s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/MixedCase (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/HostnameMismatch (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/IPMissing (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/Expired (0.00s) verify_test.go:388: error was not Expired: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/RootInIntermediates (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/SHA-384 (0.00s) verify_test.go:514: Got 0 matches instead of 1 for expected chain [api.moip.com.br COMODO RSA Extended Validation Secure Server CA COMODO RSA Certification Authority AddTrust External CA Root]
2023-03-01 18:01 windows-amd64-2016 go@230765a1 crypto/x509.TestSystemVerify (log) --- FAIL: TestSystemVerify (0.42s) --- FAIL: TestSystemVerify/Valid (0.13s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/MixedCase (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/HostnameMismatch (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/IPMissing (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/Expired (0.00s) verify_test.go:388: error was not Expired: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/RootInIntermediates (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/SHA-384 (0.02s) verify_test.go:514: Got 0 matches instead of 1 for expected chain [api.moip.com.br COMODO RSA Extended Validation Secure Server CA COMODO RSA Certification Authority AddTrust External CA Root]
2023-03-01 18:01 windows-amd64-longtest go@230765a1 crypto/x509.TestSystemVerify (log) --- FAIL: TestSystemVerify (0.45s) --- FAIL: TestSystemVerify/Valid (0.15s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/MixedCase (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/HostnameMismatch (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/IPMissing (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/Expired (0.00s) verify_test.go:388: error was not Expired: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/RootInIntermediates (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/SHA-384 (0.03s) verify_test.go:514: Got 0 matches instead of 1 for expected chain [api.moip.com.br COMODO RSA Extended Validation Secure Server CA COMODO RSA Certification Authority AddTrust External CA Root]
2023-03-01 18:01 windows-amd64-race go@230765a1 crypto/x509.TestSystemVerify (log) --- FAIL: TestSystemVerify (0.74s) --- FAIL: TestSystemVerify/Valid (0.12s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/MixedCase (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/HostnameMismatch (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/IPMissing (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/Expired (0.00s) verify_test.go:388: error was not Expired: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/RootInIntermediates (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/SHA-384 (0.02s) verify_test.go:514: Got 0 matches instead of 1 for expected chain [api.moip.com.br COMODO RSA Extended Validation Secure Server CA COMODO RSA Certification Authority AddTrust External CA Root]
2023-03-01 18:01 windows-arm64-11 go@230765a1 crypto/x509.TestSystemVerify (log) --- FAIL: TestSystemVerify (0.04s) --- FAIL: TestSystemVerify/Valid (0.02s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/MixedCase (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/HostnameMismatch (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/IPMissing (0.00s) verify_test.go:378: error was not a HostnameError: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/Expired (0.00s) verify_test.go:388: error was not Expired: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/RootInIntermediates (0.00s) verify_test.go:479: unexpected error: x509: certificate signed by unknown authority --- FAIL: TestSystemVerify/SHA-384 (0.00s) verify_test.go:514: Got 0 matches instead of 1 for expected chain [api.moip.com.br COMODO RSA Extended Validation Secure Server CA COMODO RSA Certification Authority AddTrust External CA Root]

watchflakes

rolandshoemaker commented 1 year ago

These all appear old.