Skip to content

crypto/x509: TestIssue51759 consistently failing on gotip-darwin-amd64_10.15 LUCI builder #64677

Description

@bcmills

Go version

100651b

What operating system and processor architecture are you using (go env)?

Details
BOTO_CONFIG=/opt/s/w/ir/x/a/gsutil-bbagent/.boto
BUILDBUCKET_EXPERIMENTAL=FALSE
CIPD_ARCHITECTURE=amd64
CIPD_CACHE_DIR=/opt/s/cipd_cache/cache
CIPD_PROTOCOL=v2
CLOUDSDK_CONFIG=/opt/s/w/ir/x/a/gcloud-bbagent
DOCKER_CONFIG=/opt/s/w/ir/x/a/docker-cfg-bbagent
DOCKER_TMPDIR=/opt/s/w/ir/x/a/docker-tmp-bbagent
FIREBASE_TOKEN=ignored-non-empty-value
FIREBASE_TOKEN_URL=http://127.0.0.1:54955
GCE_METADATA_HOST=127.0.0.1:54954
GCE_METADATA_IP=127.0.0.1:54954
GCE_METADATA_ROOT=127.0.0.1:54954
GIT_TERMINAL_PROMPT=0
GOARCH=amd64
GOBIN=
GOCACHE=/opt/s/w/ir/x/w/gocache
GOHOSTARCH=amd64
GOHOSTOS=darwin
GOOS=darwin
GOPATH=/opt/s/w/ir/x/w/gopath
GOROOT=
GOROOT_BOOTSTRAP=/opt/s/w/ir/cache/tools/go_bootstrap
GOTOOLCHAIN=local
GO_BUILDER_NAME=gotip-darwin-amd64_10.15
HOME=/Users/chrome-bot
INFRA_GIT_WRAPPER_HOME=/opt/s/w/ir/x/a/git-home-bbagent
ISOLATED_RESOLVED_PACKAGE_VERSIONS_FILE=/opt/s/w/itbjdy5xx0/cipd_info.json
LOGDOG_COORDINATOR_HOST=logs.chromium.org
LOGDOG_NAMESPACE=u/step/10/u
LOGDOG_STREAM_PREFIX=buildbucket/cr-buildbucket/8761961540549152833
LOGDOG_STREAM_PROJECT=golang
LOGDOG_STREAM_SERVER_PATH=unix:/opt/s/w/ir/x/ld/sock.2886421883
LOGNAME=chrome-bot
LUCI_CONTEXT=/opt/s/w/itbjdy5xx0/luci_context.2539259758
MAC_CHROMIUM_TMPDIR=/opt/s/w/ir/x/t
NO_GCE_CHECK=False
PATH=/opt/s/w/ir/x/w/goroot/bin:/opt/s/w/ir/cache/tools/bin:/opt/s/w/ir/bbagent_utility_packages:/opt/s/w/ir/bbagent_utility_packages/bin:/opt/s/w/ir/cipd:/opt/s/w/ir/cipd/bin:/opt/s/w/ir/cipd_bin_packages:/opt/s/w/ir/cipd_bin_packages/bin:/opt/s/w/ir/cipd_bin_packages/cpython3:/opt/s/w/ir/cipd_bin_packages/cpython3/bin:/opt/s/cipd_cache/bin:/opt/infra-tools:/opt/local/bin:/opt/local/sbin:/usr/local/sbin:/usr/local/git/bin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PYTHONCOERCECLOCALE=0
PYTHONNOUSERSITE=1
SHELL=/bin/zsh
SHIVAS_BINARY=/opt/shivas/shivas
SHIVAS_NAMESPACE=browser
SHIVAS_RO_CRED=/opt/creds/service_accounts/service-account-machine-db-ro.json
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.XVLMuZv0Wo/Listeners
SWARMING_BOT_ID=mac-327-h526
SWARMING_EXTERNAL_BOT_SETUP=1
SWARMING_HEADLESS=1
SWARMING_SERVER=https://chromium-swarm.appspot.com
SWARMING_TASK_ID=6674266fa4adc311
TEMP=/opt/s/w/ir/x/t
TEMPDIR=/opt/s/w/ir/x/t
TMP=/opt/s/w/ir/x/t
TMPDIR=/opt/s/w/ir/x/t
USER=chrome-bot
VPYTHON_VIRTUALENV_ROOT=/opt/s/w/ir/cache/vpython
XPC_FLAGS=0x0
XPC_SERVICE_NAME=org.swarm.bot
__CF_USER_TEXT_ENCODING=0x1F6:0x0:0x0
PWD=/opt/s/w/ir/x/w/goroot/src
/opt/s/w/ir/cache/tools/bin/rdb stream -var goos:darwin -var goarch:amd64 -var host_goos:darwin -var host_goarch:amd64 -var builder:gotip-darwin-amd64_10.15 -var go_branch:master -tag bootstrap_version:1.20.6 -tag xcode_version:11e503a -- /opt/s/w/ir/cache/tools/bin/result_adapter go -- /opt/s/w/ir/x/w/goroot/bin/go tool dist test -json

What did you do?

View post-commit test results:
https://ci.chromium.org/ui/p/golang/builders/ci/gotip-darwin-amd64_10.15/b8761961540549152833/test-results?sortby=&groupby=

What did you expect to see?

All tests passing.

What did you see instead?

=== RUN   TestIssue51759/intermediate
    verify_test.go:1911: unexpected error: want "SecCertificateCreateWithData: invalid certificate", got "x509: “www.google.com” certificate is not trusted"
--- FAIL: TestIssue51759/intermediate (0.00s)
=== RUN   TestIssue51759/leaf
    verify_test.go:1894: unexpected error: want "invalid leaf certificate", got "x509: “derpkey8dc58100b2493614ee1692831a461f3f4dd3f9b3b088e244f887f81b4906ac26” certificate is using a broken key size"
--- FAIL: TestIssue51759/leaf (0.00s)

This was supposed to have been fixed in https://go.dev/cl/472496 (for #58812), but — as I noted in a post-commit comment on that change — the test-skip added in that change was too narrowly targeted: to the Go project's builders, rather than to the affected versions of macOS.

(attn @rolandshoemaker @golang/release)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.OS-DarwinSecurityTestingAn issue that has been verified to require only test changes, not just a test failure.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions