Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/crypto/ssh: TestParseEncryptedPrivateKeysWithIncorrectPassphrase failures #66547

Open
gopherbot opened this issue Mar 26, 2024 · 7 comments
Open
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@gopherbot
Copy link
Contributor

#!watchflakes
default <- pkg == "golang.org/x/crypto/ssh" && test == "TestParseEncryptedPrivateKeysWithIncorrectPassphrase"

Issue created automatically to collect these failures.

Example (log):

--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.03s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)

watchflakes

@gopherbot gopherbot added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Mar 26, 2024
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/crypto/ssh" && test == "TestParseEncryptedPrivateKeysWithIncorrectPassphrase"
2024-03-18 09:27 linux-ppc64-sid-power10 crypto@b91329d9 go@b37fb8c6 x/crypto/ssh.TestParseEncryptedPrivateKeysWithIncorrectPassphrase (log)
--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.03s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)

watchflakes

@gopherbot gopherbot added this to the Unreleased milestone Mar 26, 2024
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/crypto/ssh" && test == "TestParseEncryptedPrivateKeysWithIncorrectPassphrase"
2024-03-18 09:27 linux-ppc64-sid-buildlet crypto@b91329d9 go@4c2b1e0f x/crypto/ssh.TestParseEncryptedPrivateKeysWithIncorrectPassphrase (log)
--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.13s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)
2024-03-18 09:27 linux-ppc64-sid-power10 crypto@b91329d9 go@4c2b1e0f x/crypto/ssh.TestParseEncryptedPrivateKeysWithIncorrectPassphrase (log)
--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.05s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)
2024-03-18 09:27 linux-ppc64le-buildlet crypto@b91329d9 go@4c2b1e0f x/crypto/ssh.TestParseEncryptedPrivateKeysWithIncorrectPassphrase (log)
--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.06s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)
2024-03-18 09:27 linux-ppc64le-power10osu crypto@b91329d9 go@4c2b1e0f x/crypto/ssh.TestParseEncryptedPrivateKeysWithIncorrectPassphrase (log)
--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.10s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)
2024-03-18 09:27 linux-ppc64le-power9osu crypto@b91329d9 go@4c2b1e0f x/crypto/ssh.TestParseEncryptedPrivateKeysWithIncorrectPassphrase (log)
--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.04s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/crypto/ssh" && test == "TestParseEncryptedPrivateKeysWithIncorrectPassphrase"
2024-03-18 09:27 linux-ppc64-sid-buildlet crypto@b91329d9 go@1e12eab8 x/crypto/ssh.TestParseEncryptedPrivateKeysWithIncorrectPassphrase (log)
--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.04s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/crypto/ssh" && test == "TestParseEncryptedPrivateKeysWithIncorrectPassphrase"
2024-03-18 09:27 linux-ppc64-sid-power10 crypto@b91329d9 go@1f354a60 x/crypto/ssh.TestParseEncryptedPrivateKeysWithIncorrectPassphrase (log)
--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.04s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)
2024-03-18 09:27 linux-ppc64-sid-power10 crypto@b91329d9 go@3659b875 x/crypto/ssh.TestParseEncryptedPrivateKeysWithIncorrectPassphrase (log)
--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.04s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)
2024-03-18 09:27 linux-ppc64-sid-power10 crypto@b91329d9 go@3fefec96 x/crypto/ssh.TestParseEncryptedPrivateKeysWithIncorrectPassphrase (log)
--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.02s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)
2024-03-18 09:27 linux-ppc64le-buildlet crypto@b91329d9 go@1f354a60 x/crypto/ssh.TestParseEncryptedPrivateKeysWithIncorrectPassphrase (log)
--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.10s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)
2024-03-18 09:27 linux-ppc64le-buildlet crypto@b91329d9 go@3659b875 x/crypto/ssh.TestParseEncryptedPrivateKeysWithIncorrectPassphrase (log)
--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.06s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)
2024-03-18 09:27 linux-ppc64le-buildlet crypto@b91329d9 go@3fefec96 x/crypto/ssh.TestParseEncryptedPrivateKeysWithIncorrectPassphrase (log)
--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.07s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)
2024-03-18 09:27 linux-ppc64le-power10osu crypto@b91329d9 go@1f354a60 x/crypto/ssh.TestParseEncryptedPrivateKeysWithIncorrectPassphrase (log)
--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.08s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)
2024-03-18 09:27 linux-ppc64le-power10osu crypto@b91329d9 go@3659b875 x/crypto/ssh.TestParseEncryptedPrivateKeysWithIncorrectPassphrase (log)
--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.04s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)
2024-03-18 09:27 linux-ppc64le-power10osu crypto@b91329d9 go@3fefec96 x/crypto/ssh.TestParseEncryptedPrivateKeysWithIncorrectPassphrase (log)
--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.03s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)
2024-03-18 09:27 linux-ppc64le-power9osu crypto@b91329d9 go@1f354a60 x/crypto/ssh.TestParseEncryptedPrivateKeysWithIncorrectPassphrase (log)
--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.06s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)
2024-03-18 09:27 linux-ppc64le-power9osu crypto@b91329d9 go@3659b875 x/crypto/ssh.TestParseEncryptedPrivateKeysWithIncorrectPassphrase (log)
--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.04s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)
2024-03-18 09:27 linux-ppc64le-power9osu crypto@b91329d9 go@3fefec96 x/crypto/ssh.TestParseEncryptedPrivateKeysWithIncorrectPassphrase (log)
--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.04s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/crypto/ssh" && test == "TestParseEncryptedPrivateKeysWithIncorrectPassphrase"
2024-03-18 09:27 linux-ppc64-sid-buildlet crypto@b91329d9 go@1f354a60 x/crypto/ssh.TestParseEncryptedPrivateKeysWithIncorrectPassphrase (log)
--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.11s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)
2024-03-18 09:27 linux-ppc64-sid-buildlet crypto@b91329d9 go@3659b875 x/crypto/ssh.TestParseEncryptedPrivateKeysWithIncorrectPassphrase (log)
--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.15s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)
2024-03-18 09:27 linux-ppc64-sid-buildlet crypto@b91329d9 go@3fefec96 x/crypto/ssh.TestParseEncryptedPrivateKeysWithIncorrectPassphrase (log)
--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.06s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)

watchflakes

@laboger
Copy link
Contributor

laboger commented Mar 28, 2024

These errors are due to a regression introduced in Go commit 2c150f4 and fixed in d3e5e9f. Any Go toolchains built between these commits and used to build this test will cause these failures.

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "golang.org/x/crypto/ssh" && test == "TestParseEncryptedPrivateKeysWithIncorrectPassphrase"
2024-03-18 09:27 aix-ppc64 crypto@b91329d9 go@1f354a60 x/crypto/ssh.TestParseEncryptedPrivateKeysWithIncorrectPassphrase (log)
--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.03s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)
2024-03-18 09:27 aix-ppc64 crypto@b91329d9 go@3659b875 x/crypto/ssh.TestParseEncryptedPrivateKeysWithIncorrectPassphrase (log)
--- FAIL: TestParseEncryptedPrivateKeysWithIncorrectPassphrase (0.03s)
    keys_test.go:230: expected error: x509: decryption password incorrect, got: asn1: syntax error: indefinite length found (not DER)

watchflakes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
Status: No status
Development

No branches or pull requests

2 participants