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

Broken UTs #121

Closed
juagargi opened this issue Jul 1, 2022 · 1 comment · Fixed by #122
Closed

Broken UTs #121

juagargi opened this issue Jul 1, 2022 · 1 comment · Fixed by #122
Labels

Comments

@juagargi
Copy link
Member

juagargi commented Jul 1, 2022

Some of the unit tests (make test) are now broken, possibly due to expired cryptographic material from testdata.
Four packages are being reported:

  • go/pkg/ca/renewal:go_default_test
  • go/pkg/cs/drkey/grpc:go_default_test
  • go/pkg/cs/trust:go_default_test
  • go/pkg/trust:go_default_test

The output of the failures is similar to this partial one, from go/pkg/trust :

--- FAIL: TestTLSCryptoManagerVerifyServerCertificate (0.00s)
    --- FAIL: TestTLSCryptoManagerVerifyServerCertificate/valid (0.00s)
        tls_handshake_test.go:63: 
                Error Trace:    tls_handshake_test.go:63
                Error:          Received unexpected error:
                                verifying chains: [ chain did not verify against any selected TRC {errors=[verifying chain {trc_base=1; trc_serial=1}: x509: certificate has expired or is not yet valid: current time 2022-07-01T07:41:07Z is after 2022-05-14T11:11:02Z]} ]
                Test:           TestTLSCryptoManagerVerifyServerCertificate/valid
@juagargi juagargi added the bug label Jul 1, 2022
@JordiSubira
Copy link

Indeed, this also relates to #98 that has been open for a while.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants