Getting test case failure and certification error is coming while running ./test.sh
- Dominant language
- Go
- Stars
- 9.5k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Hi Team,
We are getting test case failure while running "./test.sh"
version : v1.6.1
Kindly check and advise.
**RUN TestBundleFromRemote
2022/02/17 10:39:08 [INFO] bundling certificate for CN=*.badssl.com,O=Lucas Garron Torres,L=Walnut Creek,ST=California,C=US
2022/02/17 10:39:08 [WARNING] No metadata, Ubiquitous falls back to Optimal.
2022/02/17 10:39:08 [INFO] the anchoring root is CN=DigiCert Global Root CA,OU=www.digicert.com,O=DigiCert Inc,C=US
bundle_from_remote_test.go:114: expected no error. but an error occurred hostname="ecc256.badssl.com" ip="" errpr="{\"code\":1200,\"message\":\"tls: handshake did not verify certificate chain\"}"
--- FAIL: TestBundleFromRemote (0.82s)
RUN TestBundlerClientAuth
2022/02/17 10:39:13 [INFO] bundling certificate for
bundler_test.go:923: {"code":1211,"message":"x509: certificate has expired or is not yet valid: current time 2022-02-17T10:39:13Z is after 2021-09-21T02:06:00Z"}
--- FAIL: TestBundlerClientAuth (0.32s)**
[centos@lopvm6 bundler]$ uname -a
Linux lopvm6.novalocal 4.18.0-305.12.1.el8_4.ppc64le #1 SMP Wed Aug 11 02:06:03 UTC 2021 ppc64le ppc64le ppc64le GNU/Linux
Contributor guide
Research direction
Start by running ./test.sh against v1.6.1 and review bundle_from_remote_test.go:114 and bundler_test.go:923, where the reported failures occur. Check the certificate-chain and expired-certificate conditions in the test environment, then determine whether the failures reproduce and what change or environment correction makes the full test suite pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- security, testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100