-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Tests fail on macos with go 1.18 #2578
Comments
Thanks for opening this! The badssl tests are probably easy enough to fix by just changing the string that is checked, though it's probably better to take care of that in #2543? 🤔 Not sure why the panic happens though 😕 |
We should probably also try re-enabling the automated CI tests on MacOS... 🤔 IIRC, we disabled them a long time ago because the MacOS runners in GitHub Actions had terrible performance that caused a bunch of tests to be flaky, but they might have fixed these issues, or we can disable a few of the flakiest tests on Mac and leave the rest running 🤷♂️ |
I see both the linked issues have been resolved and we don't support go1.18 anymore. @Llandy3d is this still an issue for you with the current master? Can you try with |
Last try was on |
Hi mates! Any news? With --- FAIL: TestVUIntegrationClientCerts (0.00s)
--- FAIL: TestVUIntegrationClientCerts/VerifyServerCert (0.00s)
--- FAIL: TestVUIntegrationClientCerts/VerifyServerCert/Source (0.04s)
runner_test.go:1855:
Error Trace: /dev/k6/k6/js/runner_test.go:1855
Error: Error "GoError: Get \"https://127.0.0.1:50319\": tls: failed to verify certificate: x509: “127.0.0.1:6969” certificate is not standards compliant\n\tat go.k6.io/k6/js/modules/k6/http.(*RootModule).NewModuleInstance.func2 (native)\n\tat file:///script.js:7:25(4)\n" does not contain "certificate signed by unknown authority"
Test: TestVUIntegrationClientCerts/VerifyServerCert/Source
--- FAIL: TestVUIntegrationClientCerts/VerifyServerCert/Archive (0.01s)
runner_test.go:1855:
Error Trace: /dev/k6/k6/js/runner_test.go:1855
Error: Error "GoError: Get \"https://127.0.0.1:50319\": tls: failed to verify certificate: x509: “127.0.0.1:6969” certificate is not standards compliant\n\tat go.k6.io/k6/js/modules/k6/http.(*RootModule).NewModuleInstance.func2 (native)\n\tat file:///script.js:7:25(4)\n" does not contain "certificate signed by unknown authority"
Test: TestVUIntegrationClientCerts/VerifyServerCert/Archive
Thanks! |
Hey @jsolana, |
Sorry not sure how I wrote this value 😓 |
Confirming the maintainters team was able to reproduce the issue on up to date MacOS (sonoma), M1 Pro architecture, and using the last Go version (go.1.21.3) indeed 👍🏻 |
Brief summary
Trying to run tests with
make tests
on macos withgolang 1.18
results in errors while the expected output is for them to complete.The problem seems to not be present by using
golang 1.17
and it seems related to his bug:golang/go#52010
k6 version
3e21e67 <- commit hash, but it doesn't matter since the go version it's the problem
OS
MacOs Monterey 12.1
Docker version and image (if applicable)
No response
Steps to reproduce the problem
with
go 1.18
:make tests
Expected behaviour
tests complete without errors.
Actual behaviour
The text was updated successfully, but these errors were encountered: