Skip to content

Test failure (flaky) #1454

@rumpl

Description

@rumpl

Sometimes, in the CI our tests fail with:

2026/01/20 20:02:27 INFO Migrated aliases from legacy file path=/tmp/TestConfig_MigrateWhenConfigEmpty2747535613/001/aliases.yaml count=1
2026/01/20 20:02:27 WARN Failed to parse legacy aliases file path=/tmp/TestConfig_MigrateFromLegacy_MalformedFile50155862/001/aliases.yaml error="[1:6] mapping value is not allowed in this context\n>  1 | not: valid: yaml: content\n            ^\n"
2026/01/20 20:02:27 INFO Migrated aliases from legacy file path=/tmp/TestConfig_MigrateFromLegacy2825870813/001/aliases.yaml count=2
fatal error: concurrent map writes

goroutine 43 [running]:
internal/runtime/maps.fatal({0x6feace?, 0x6b0aa0?})
	/opt/hostedtoolcache/go/1.25.5/x64/src/runtime/panic.go:1046 +0x18
github.com/docker/cagent/pkg/userconfig.(*Config).SetAlias(0xc000094d50, {0x6f97a5, 0x8}, 0xc00021ddd0)
	/home/runner/work/cagent/cagent/pkg/userconfig/userconfig.go:197 +0x6b
github.com/docker/cagent/pkg/userconfig.TestConfig_SetAlias_Validation.func1(0xc0000e4540)
	/home/runner/work/cagent/cagent/pkg/userconfig/userconfig_test.go:84 +0x70
testing.tRunner(0xc0000e4540, 0xc0000d14f0)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1934 +0xea
created by testing.(*T).Run in goroutine 11
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1997 +0x465

goroutine 1 [chan receive]:
testing.tRunner.func1()
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1891 +0x451
testing.tRunner(0xc0001108c0, 0xc000159c70)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1940 +0x123
testing.runTests(0xc000012108, {0x96ca00, 0x15, 0x15}, {0x7?, 0xc000016c40?, 0x973900?})
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:2475 +0x4b4
testing.(*M).Run(0xc00007eaa0)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:2337 +0x63a
main.main()
	_testmain.go:85 +0x9b

goroutine 11 [chan receive]:
testing.tRunner.func1()
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1891 +0x451
testing.tRunner(0xc000111500, 0x7119a8)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1940 +0x123
created by testing.(*T).Run in goroutine 1
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1997 +0x465

goroutine 12 [chan receive]:
testing.tRunner.func1()
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1891 +0x451
testing.tRunner(0xc000111880, 0x7119c8)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1940 +0x123
created by testing.(*T).Run in goroutine 1
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1997 +0x465

goroutine 48 [chan receive]:
testing.(*testState).waitParallel(0xc0001442d0)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:2116 +0xaa
testing.(*T).Parallel(0xc0000e56c0)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1709 +0x245
github.com/docker/cagent/pkg/userconfig.TestValidateAliasName.func1(0xc0000e56c0)
	/home/runner/work/cagent/cagent/pkg/userconfig/userconfig_test.go:121 +0x36
testing.tRunner(0xc0000e56c0, 0xc0000b8b40)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1934 +0xea
created by testing.(*T).Run in goroutine 12
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1997 +0x465

goroutine 15 [runnable]:
github.com/goccy/go-yaml/token.String(...)
	/home/runner/go/pkg/mod/github.com/goccy/go-yaml@v1.19.2/token/token.go:886
github.com/goccy/go-yaml/token.New({0x0, 0x0}, {0x0, 0x0}, 0xc00028b5c0)
	/home/runner/go/pkg/mod/github.com/goccy/go-yaml@v1.19.2/token/token.go:760 +0x185
github.com/goccy/go-yaml.(*Encoder).encodeStruct(0xc00029a1e0, {0x7671c8, 0x9942c0}, {0x6ca860?, 0xc0002cab70?, 0x16?}, 0x1)
	/home/runner/go/pkg/mod/github.com/goccy/go-yaml@v1.19.2/encode.go:874 +0xbf
github.com/goccy/go-yaml.(*Encoder).encodeValue(0xc00029a1e0, {0x7671c8, 0x9942c0}, {0x6ca860?, 0xc0002cab70?, 0x6ce160?}, 0x1)
	/home/runner/go/pkg/mod/github.com/goccy/go-yaml@v1.19.2/encode.go:493 +0x68a
github.com/goccy/go-yaml.(*Encoder).encodeValue(0xc00029a1e0, {0x7671c8, 0x9942c0}, {0x6a6480?, 0xc0002cab70?, 0x98?}, 0x1)
	/home/runner/go/pkg/mod/github.com/goccy/go-yaml@v1.19.2/encode.go:467 +0x43e
github.com/goccy/go-yaml.(*Encoder).encodeMap(0xc00029a1e0, {0x7671c8, 0x9942c0}, {0x6b0aa0?, 0xc0002ca500?, 0x6b0aa0?}, 0x1)
	/home/runner/go/pkg/mod/github.com/goccy/go-yaml@v1.19.2/encode.go:694 +0x457
github.com/goccy/go-yaml.(*Encoder).encodeValue(0xc00029a1e0, {0x7671c8, 0x9942c0}, {0x6b0aa0?, 0xc0002ca500?, 0x6b0aa0?}, 0x1)
	/home/runner/go/pkg/mod/github.com/goccy/go-yaml@v1.19.2/encode.go:498 +0x3cb
github.com/goccy/go-yaml.(*Encoder).encodeStruct(0xc00029a1e0, {0x7671c8, 0x9942c0}, {0x6ca920?, 0xc0002ca4e0?, 0x16?}, 0x1)
	/home/runner/go/pkg/mod/github.com/goccy/go-yaml@v1.19.2/encode.go:907 +0x5ec
github.com/goccy/go-yaml.(*Encoder).encodeValue(0xc00029a1e0, {0x7671c8, 0x9942c0}, {0x6ca920?, 0xc0002ca4e0?, 0xc000041208?}, 0x1)
	/home/runner/go/pkg/mod/github.com/goccy/go-yaml@v1.19.2/encode.go:493 +0x68a
github.com/goccy/go-yaml.(*Encoder).encodeValue(0xc00029a1e0, {0x7671c8, 0x9942c0}, {0x6ca9e0?, 0xc0002ca4e0?, 0x7f5e1314cf30?}, 0x1)
	/home/runner/go/pkg/mod/github.com/goccy/go-yaml@v1.19.2/encode.go:467 +0x43e
github.com/goccy/go-yaml.(*Encoder).EncodeToNodeContext(0xc00029a1e0, {0x7671c8, 0x9942c0}, {0x6ca9e0, 0xc0002ca4e0})
	/home/runner/go/pkg/mod/github.com/goccy/go-yaml@v1.19.2/encode.go:128 +0x231
github.com/goccy/go-yaml.(*Encoder).EncodeContext(0xc00029a1e0, {0x7671c8?, 0x9942c0?}, {0x6ca9e0?, 0xc0002ca4e0?})
	/home/runner/go/pkg/mod/github.com/goccy/go-yaml@v1.19.2/encode.go:91 +0x30
github.com/goccy/go-yaml.MarshalContext({0x7671c8, 0x9942c0}, {0x6ca9e0, 0xc0002ca4e0}, {0x0, 0x0, 0x0})
	/home/runner/go/pkg/mod/github.com/goccy/go-yaml@v1.19.2/yaml.go:156 +0x1b3
github.com/goccy/go-yaml.MarshalWithOptions(...)
	/home/runner/go/pkg/mod/github.com/goccy/go-yaml@v1.19.2/yaml.go:150
github.com/goccy/go-yaml.Marshal({0x6ca9e0?, 0xc0002ca4e0?})
	/home/runner/go/pkg/mod/github.com/goccy/go-yaml@v1.19.2/yaml.go:145 +0x39
github.com/docker/cagent/pkg/userconfig.(*Config).saveTo(0xc0002ca4e0, {0xc00028ca00, 0x3b})
	/home/runner/work/cagent/cagent/pkg/userconfig/userconfig.go:154 +0xac
github.com/docker/cagent/pkg/userconfig.loadFrom({0xc00028ca00, 0x3b}, {0xc00028ca40, 0x3c})
	/home/runner/work/cagent/cagent/pkg/userconfig/userconfig.go:74 +0x7f
github.com/docker/cagent/pkg/userconfig.TestConfig_MigrateFromLegacy(0xc000172380)
	/home/runner/work/cagent/cagent/pkg/userconfig/userconfig_test.go:185 +0x18a
testing.tRunner(0xc000172380, 0x711958)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1934 +0xea
created by testing.(*T).Run in goroutine 1
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1997 +0x465

goroutine 19 [runnable]:
syscall.Syscall(0x4a, 0x8, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.25.5/x64/src/syscall/syscall_linux.go:74 +0x25
syscall.Fsync(0xc0000ae690?)
	/opt/hostedtoolcache/go/1.25.5/x64/src/syscall/zsyscall_linux_amd64.go:463 +0x25
internal/poll.(*FD).Fsync.func1(...)
	/opt/hostedtoolcache/go/1.25.5/x64/src/internal/poll/fd_fsync_posix.go:18
internal/poll.ignoringEINTR(...)
	/opt/hostedtoolcache/go/1.25.5/x64/src/internal/poll/fd_posix.go:74
internal/poll.(*FD).Fsync(0xc0000aa258?)
	/opt/hostedtoolcache/go/1.25.5/x64/src/internal/poll/fd_fsync_posix.go:17 +0xe7
os.(*File).Sync(0xc0000aa258)
	/opt/hostedtoolcache/go/1.25.5/x64/src/os/file_posix.go:166 +0x3b
github.com/natefinch/atomic.WriteFile({0xc0000a6940, 0x40}, {0x765ca0, 0xc000308990})
	/home/runner/go/pkg/mod/github.com/natefinch/atomic@v1.0.1/atomic.go:43 +0x30c
github.com/docker/cagent/pkg/userconfig.(*Config).saveTo(0xc000095c80, {0xc0000a6940, 0x40})
	/home/runner/work/cagent/cagent/pkg/userconfig/userconfig.go:159 +0x165
github.com/docker/cagent/pkg/userconfig.loadFrom({0xc0000a6940, 0x40}, {0xc0000ae3c0, 0x41})
	/home/runner/work/cagent/cagent/pkg/userconfig/userconfig.go:74 +0x7f
github.com/docker/cagent/pkg/userconfig.TestConfig_MigrateWhenConfigEmpty(0xc000172e00)
	/home/runner/work/cagent/cagent/pkg/userconfig/userconfig_test.go:253 +0x22c
testing.tRunner(0xc000172e00, 0x711968)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1934 +0xea
created by testing.(*T).Run in goroutine 1
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1997 +0x465

goroutine 35 [chan receive]:
testing.(*testState).waitParallel(0xc0001442d0)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:2116 +0xaa
testing.(*T).Parallel(0xc0000828c0)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1709 +0x245
github.com/docker/cagent/pkg/userconfig.TestConfig_SetAlias_Validation.func1(0xc0000828c0)
	/home/runner/work/cagent/cagent/pkg/userconfig/userconfig_test.go:83 +0x2a
testing.tRunner(0xc0000828c0, 0xc0000d0ff0)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1934 +0xea
created by testing.(*T).Run in goroutine 11
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1997 +0x465

goroutine 36 [chan receive]:
testing.(*testState).waitParallel(0xc0001442d0)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:2116 +0xaa
testing.(*T).Parallel(0xc000082c40)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1709 +0x245
github.com/docker/cagent/pkg/userconfig.TestConfig_SetAlias_Validation.func1(0xc000082c40)
	/home/runner/work/cagent/cagent/pkg/userconfig/userconfig_test.go:83 +0x2a
testing.tRunner(0xc000082c40, 0xc0000d1090)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1934 +0xea
created by testing.(*T).Run in goroutine 11
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1997 +0x465

goroutine 37 [chan receive]:
testing.(*testState).waitParallel(0xc0001442d0)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:2116 +0xaa
testing.(*T).Parallel(0xc000082fc0)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1709 +0x245
github.com/docker/cagent/pkg/userconfig.TestConfig_SetAlias_Validation.func1(0xc000082fc0)
	/home/runner/work/cagent/cagent/pkg/userconfig/userconfig_test.go:83 +0x2a
testing.tRunner(0xc000082fc0, 0xc0000d1130)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1934 +0xea
created by testing.(*T).Run in goroutine 11
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1997 +0x465

goroutine 38 [runnable]:
testing.(*testState).waitParallel(0xc0001442d0)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:2116 +0xaa
testing.(*T).Parallel(0xc000083340)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1709 +0x245
github.com/docker/cagent/pkg/userconfig.TestConfig_SetAlias_Validation.func1(0xc000083340)
	/home/runner/work/cagent/cagent/pkg/userconfig/userconfig_test.go:83 +0x2a
testing.tRunner(0xc000083340, 0xc0000d11d0)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1934 +0xea
created by testing.(*T).Run in goroutine 11
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1997 +0x465

goroutine 39 [chan receive]:
testing.(*testState).waitParallel(0xc0001442d0)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:2116 +0xaa
testing.(*T).Parallel(0xc0000836c0)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1709 +0x245
github.com/docker/cagent/pkg/userconfig.TestConfig_SetAlias_Validation.func1(0xc0000836c0)
	/home/runner/work/cagent/cagent/pkg/userconfig/userconfig_test.go:83 +0x2a
testing.tRunner(0xc0000836c0, 0xc0000d1270)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1934 +0xea
created by testing.(*T).Run in goroutine 11
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1997 +0x465

goroutine 40 [chan receive]:
testing.(*testState).waitParallel(0xc0001442d0)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:2116 +0xaa
testing.(*T).Parallel(0xc000083a40)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1709 +0x245
github.com/docker/cagent/pkg/userconfig.TestConfig_SetAlias_Validation.func1(0xc000083a40)
	/home/runner/work/cagent/cagent/pkg/userconfig/userconfig_test.go:83 +0x2a
testing.tRunner(0xc000083a40, 0xc0000d1310)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1934 +0xea
created by testing.(*T).Run in goroutine 11
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1997 +0x465

goroutine 42 [runnable]:
fmt.(*pp).fmtFloat(0xc000288000?, 0x3eb2fde729a2ef36?, 0x40?, 0x66?)
	/opt/hostedtoolcache/go/1.25.5/x64/src/fmt/print.go:452 +0xd1
fmt.(*pp).printArg(0xc000288000, {0x698e60, 0xc0000156d0}, 0x66)
	/opt/hostedtoolcache/go/1.25.5/x64/src/fmt/print.go:713 +0x325
fmt.(*pp).doPrintf(0xc000288000, {0x6f8be3, 0x5}, {0xc00005fd28, 0x1, 0x1})
	/opt/hostedtoolcache/go/1.25.5/x64/src/fmt/print.go:1173 +0x989
fmt.Sprintf({0x6f8be3, 0x5}, {0xc0000e3528, 0x1, 0x1})
	/opt/hostedtoolcache/go/1.25.5/x64/src/fmt/print.go:239 +0x53
testing.fmtDuration(0xc0000e3588?)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:877 +0x9c
testing.(*T).report(0xc0000e41c0)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:2390 +0x47
testing.tRunner.func1()
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1917 +0x5cf
testing.tRunner(0xc0000e41c0, 0xc0000d1450)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1940 +0x123
created by testing.(*T).Run in goroutine 11
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1997 +0x465

goroutine 49 [chan receive]:
testing.(*testState).waitParallel(0xc0001442d0)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:2116 +0xaa
testing.(*T).Parallel(0xc0000e5880)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1709 +0x245
github.com/docker/cagent/pkg/userconfig.TestValidateAliasName.func1(0xc0000e5880)
	/home/runner/work/cagent/cagent/pkg/userconfig/userconfig_test.go:121 +0x36
testing.tRunner(0xc0000e5880, 0xc0000b8bc0)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1934 +0xea
created by testing.(*T).Run in goroutine 12
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1997 +0x465

goroutine 50 [chan receive]:
testing.(*testState).waitParallel(0xc0001442d0)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:2116 +0xaa
testing.(*T).Parallel(0xc0000e5c00)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1709 +0x245
github.com/docker/cagent/pkg/userconfig.TestValidateAliasName.func1(0xc0000e5c00)
	/home/runner/work/cagent/cagent/pkg/userconfig/userconfig_test.go:121 +0x36
testing.tRunner(0xc0000e5c00, 0xc0000b8c20)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1934 +0xea
created by testing.(*T).Run in goroutine 12
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1997 +0x465

goroutine 51 [chan receive]:
testing.(*testState).waitParallel(0xc0001442d0)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:2116 +0xaa
testing.(*T).Parallel(0xc0000ea000)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1709 +0x245
github.com/docker/cagent/pkg/userconfig.TestValidateAliasName.func1(0xc0000ea000)
	/home/runner/work/cagent/cagent/pkg/userconfig/userconfig_test.go:121 +0x36
testing.tRunner(0xc0000ea000, 0xc0000b8ca0)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1934 +0xea
created by testing.(*T).Run in goroutine 12
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1997 +0x465

goroutine 52 [chan receive]:
testing.(*testState).waitParallel(0xc0001442d0)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:2116 +0xaa
testing.(*T).Parallel(0xc0000ea380)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1709 +0x245
github.com/docker/cagent/pkg/userconfig.TestValidateAliasName.func1(0xc0000ea380)
	/home/runner/work/cagent/cagent/pkg/userconfig/userconfig_test.go:121 +0x36
testing.tRunner(0xc0000ea380, 0xc0000b8d00)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1934 +0xea
created by testing.(*T).Run in goroutine 12
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1997 +0x465

goroutine 53 [chan receive]:
testing.(*testState).waitParallel(0xc0001442d0)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:2116 +0xaa
testing.(*T).Parallel(0xc0000ea700)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1709 +0x245
github.com/docker/cagent/pkg/userconfig.TestValidateAliasName.func1(0xc0000ea700)
	/home/runner/work/cagent/cagent/pkg/userconfig/userconfig_test.go:121 +0x36
testing.tRunner(0xc0000ea700, 0xc0000b8d40)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1934 +0xea
created by testing.(*T).Run in goroutine 12
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1997 +0x465

goroutine 54 [chan receive]:
testing.(*testState).waitParallel(0xc0001442d0)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:2116 +0xaa
testing.(*T).Parallel(0xc0000eaa80)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1709 +0x245
github.com/docker/cagent/pkg/userconfig.TestValidateAliasName.func1(0xc0000eaa80)
	/home/runner/work/cagent/cagent/pkg/userconfig/userconfig_test.go:121 +0x36
testing.tRunner(0xc0000eaa80, 0xc0000b8da0)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1934 +0xea
created by testing.(*T).Run in goroutine 12
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1997 +0x465

goroutine 55 [chan receive]:
testing.(*testState).waitParallel(0xc0001442d0)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:2116 +0xaa
testing.(*T).Parallel(0xc0000eae00)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1709 +0x245
github.com/docker/cagent/pkg/userconfig.TestValidateAliasName.func1(0xc0000eae00)
	/home/runner/work/cagent/cagent/pkg/userconfig/userconfig_test.go:121 +0x36
testing.tRunner(0xc0000eae00, 0xc0000b8e00)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1934 +0xea
created by testing.(*T).Run in goroutine 12
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1997 +0x465

goroutine 56 [chan receive]:
testing.(*testState).waitParallel(0xc0001442d0)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:2116 +0xaa
testing.(*T).Parallel(0xc0000eb180)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1709 +0x245
github.com/docker/cagent/pkg/userconfig.TestValidateAliasName.func1(0xc0000eb180)
	/home/runner/work/cagent/cagent/pkg/userconfig/userconfig_test.go:121 +0x36
testing.tRunner(0xc0000eb180, 0xc0000b8e60)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1934 +0xea
created by testing.(*T).Run in goroutine 12
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1997 +0x465

goroutine 57 [chan receive]:
testing.(*testState).waitParallel(0xc0001442d0)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:2116 +0xaa
testing.(*T).Parallel(0xc0000eb500)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1709 +0x245
github.com/docker/cagent/pkg/userconfig.TestValidateAliasName.func1(0xc0000eb500)
	/home/runner/work/cagent/cagent/pkg/userconfig/userconfig_test.go:121 +0x36
testing.tRunner(0xc0000eb500, 0xc0000b8ec0)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1934 +0xea
created by testing.(*T).Run in goroutine 12
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1997 +0x465

goroutine 58 [chan receive]:
testing.(*testState).waitParallel(0xc0001442d0)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:2116 +0xaa
testing.(*T).Parallel(0xc0000eb880)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1709 +0x245
github.com/docker/cagent/pkg/userconfig.TestValidateAliasName.func1(0xc0000eb880)
	/home/runner/work/cagent/cagent/pkg/userconfig/userconfig_test.go:121 +0x36
testing.tRunner(0xc0000eb880, 0xc0000b8f20)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1934 +0xea
created by testing.(*T).Run in goroutine 12
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1997 +0x465

goroutine 59 [chan receive]:
testing.(*testState).waitParallel(0xc0001442d0)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:2116 +0xaa
testing.(*T).Parallel(0xc0000ebc00)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1709 +0x245
github.com/docker/cagent/pkg/userconfig.TestValidateAliasName.func1(0xc0000ebc00)
	/home/runner/work/cagent/cagent/pkg/userconfig/userconfig_test.go:121 +0x36
testing.tRunner(0xc0000ebc00, 0xc0000b8f80)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1934 +0xea
created by testing.(*T).Run in goroutine 12
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1997 +0x465

goroutine 60 [chan receive]:
testing.(*testState).waitParallel(0xc0001442d0)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:2116 +0xaa
testing.(*T).Parallel(0xc0000f6000)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1709 +0x245
github.com/docker/cagent/pkg/userconfig.TestValidateAliasName.func1(0xc0000f6000)
	/home/runner/work/cagent/cagent/pkg/userconfig/userconfig_test.go:121 +0x36
testing.tRunner(0xc0000f6000, 0xc0000b8fe0)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1934 +0xea
created by testing.(*T).Run in goroutine 12
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1997 +0x465

goroutine 61 [chan receive]:
testing.(*testState).waitParallel(0xc0001442d0)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:2116 +0xaa
testing.(*T).Parallel(0xc0000f6380)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1709 +0x245
github.com/docker/cagent/pkg/userconfig.TestValidateAliasName.func1(0xc0000f6380)
	/home/runner/work/cagent/cagent/pkg/userconfig/userconfig_test.go:121 +0x36
testing.tRunner(0xc0000f6380, 0xc0000b9040)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1934 +0xea
created by testing.(*T).Run in goroutine 12
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1997 +0x465

goroutine 62 [chan receive]:
testing.(*testState).waitParallel(0xc0001442d0)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:2116 +0xaa
testing.(*T).Parallel(0xc0000f6700)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1709 +0x245
github.com/docker/cagent/pkg/userconfig.TestValidateAliasName.func1(0xc0000f6700)
	/home/runner/work/cagent/cagent/pkg/userconfig/userconfig_test.go:121 +0x36
testing.tRunner(0xc0000f6700, 0xc0000b90a0)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1934 +0xea
created by testing.(*T).Run in goroutine 12
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1997 +0x465

goroutine 63 [chan receive]:
testing.(*testState).waitParallel(0xc0001442d0)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:2116 +0xaa
testing.(*T).Parallel(0xc0000f6a80)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1709 +0x245
github.com/docker/cagent/pkg/userconfig.TestValidateAliasName.func1(0xc0000f6a80)
	/home/runner/work/cagent/cagent/pkg/userconfig/userconfig_test.go:121 +0x36
testing.tRunner(0xc0000f6a80, 0xc0000b9120)
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1934 +0xea
created by testing.(*T).Run in goroutine 12
	/opt/hostedtoolcache/go/1.25.5/x64/src/testing/testing.go:1997 +0x465
FAIL	github.com/docker/cagent/pkg/userconfig	0.015s
?   	github.com/docker/cagent/pkg/version	[no test files]
FAIL

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions