Skip to content

Commit 3561645

Browse files
committed
[TEST] Skip go_deps modcache restore for AIX cross builds
Testing whether the cross_build_trace_agent-binary_aix_ppc64 TOC overflow (0x594f8 > 0x10000) is caused by a stale/mismatched go_deps modcache artifact, by forcing a fresh `go mod download` instead. Not meant to be merged.
1 parent 7bcca26 commit 3561645

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.gitlab/build/binary_build/aix_cross.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,16 @@
1010
- when: on_success
1111
image: registry.ddbuild.io/ci/datadog-agent-buildimages/linux$CI_IMAGE_LINUX_SUFFIX:$CI_IMAGE_LINUX
1212
tags: ["arch:amd64", "specific:true"]
13-
needs: ["go_deps"]
1413
variables:
1514
GOOS: aix
1615
GOARCH: ppc64
1716
KUBERNETES_MEMORY_REQUEST: "16Gi"
1817
KUBERNETES_MEMORY_LIMIT: "16Gi"
1918
KUBERNETES_CPU_REQUEST: 6
2019
before_script:
21-
- !reference [.retrieve_linux_go_deps]
20+
- !reference [.sanitize_goproxy]
21+
# [TEST] intentionally not restoring the go_deps modcache here - see if a
22+
# fresh `go mod download` changes the AIX TOC overflow outcome.
2223
# Workaround for a Go linker bug: cmd/link/internal/ld/lib.go hardcodes
2324
# "/lib/crt0_64.o" path instead of resolving it through the compiler
2425
# Fix upstream: https://go-review.googlesource.com/c/go/+/800880

0 commit comments

Comments
 (0)