mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-17 12:30:38 +02:00
gnu: go-1.21: Skip tests with time bomb.
As seen in <https://ci.guix.gnu.org/build/7713190/log/raw>. Certificates which are used in tests are not valid after Jan 1 00:00:00 2025 GMT, Happy New Year!. See <https://github.com/golang/go/issues/71077>. * gnu/packages/golang.scm (go-1.21) [arguments] <phases>: Add 'skip-crypto-tls-tests. Change-Id: Id9f8ad93201aedae4f4451ee8b7b9cf40cd33cdb
This commit is contained in:
parent
4abccd5fb8
commit
88d3e4276b
1 changed files with 18 additions and 0 deletions
|
@ -841,6 +841,24 @@ in the style of communicating sequential processes (@dfn{CSP}).")
|
|||
#~(modify-phases #$phases
|
||||
(delete 'skip-TestGoPathShlibGccgo-tests)
|
||||
(delete 'patch-source)
|
||||
;; Time bomb in TLS tests: "Most of the test certificates
|
||||
;; (e.g. testRSACertificate, testRSACertificateIssuer,
|
||||
;; testRSA2048CertificateIssuer) have a not after of Jan 1
|
||||
;; 00:00:00 2025 GMT."
|
||||
;; https://github.com/golang/go/issues/71077
|
||||
;; https://github.com/golang/go/issues/71103
|
||||
;; https://github.com/golang/go/issues/71104
|
||||
(add-after 'unpack 'skip-crypto-tls-tests
|
||||
(lambda _
|
||||
(substitute* (list "src/crypto/tls/handshake_client_test.go"
|
||||
"src/crypto/tls/handshake_server_test.go")
|
||||
(("TestVerifyConnection.*" all)
|
||||
(string-append all "\n t.Skip(\"golang.org/issue/71077\")\n"))
|
||||
(("TestResumptionKeepsOCSPAndSCT.*" all)
|
||||
(string-append all "\n t.Skip(\"golang.org/issue/71077\")\n"))
|
||||
(("TestCrossVersionResume.*" all)
|
||||
(string-append all "\n t.Skip(\"golang.org/issue/71077\")\n")))))
|
||||
|
||||
(add-after 'unpack 'patch-os-tests
|
||||
(lambda _
|
||||
(substitute* "src/os/os_test.go"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue