Flaky test on s390x: TestCheckLUKSPassphrase/v2
siretart opened this issue · 4 comments
While preparing the next upload of buildah 1.37.2 to Debian, I noticed build failures on s390x (and that arch only).
All build failures showed unusual behavior, (possibly indicating memory corruption?) in the test TestCheckLUKSPassphrase/v2 since version 1.37.0
- https://buildd.debian.org/status/fetch.php?pkg=golang-github-containers-buildah&arch=s390x&ver=1.37.0%2Bds1-1&stamp=1723481252&raw=0
- https://buildd.debian.org/status/fetch.php?pkg=golang-github-containers-buildah&arch=s390x&ver=1.37.1%2Bds1-1&stamp=1723773224&raw=0
- https://buildd.debian.org/status/fetch.php?pkg=golang-github-containers-buildah&arch=s390x&ver=1.37.1%2Bds1-2&stamp=1723904120&raw=0
- https://buildd.debian.org/status/fetch.php?pkg=golang-github-containers-buildah&arch=s390x&ver=1.37.2%2Bds1-1&stamp=1725229001&raw=0
- https://buildd.debian.org/status/fetch.php?pkg=golang-github-containers-buildah&arch=s390x&ver=1.37.2%2Bds1-1&stamp=1725234835&raw=0
Test output:
[...]
=== RUN TestCheckLUKSPassphrase/v2/sectorSize=512
runtime: marked free object in span 0x3ff9bf41c28, elemsize=8 freeindex=177 (bad use of unsafe.Pointer? try -d=checkptr)
0xc000112000 alloc marked
0xc000112008 alloc marked
0xc000112010 alloc marked
[...]
0xc000113f78 free unmarked
fatal error: found pointer to free object
runtime stack:
runtime.throw({0x1f0bbda, 0x1c})
/usr/lib/go-1.22/src/runtime/panic.go:1023 +0x64 fp=0x3ff5477daa8 sp=0x3ff5477da80 pc=0x1053c94
runtime.(*mspan).reportZombies(0x3ff9bf41c28)
/usr/lib/go-1.22/src/runtime/mgcsweep.go:875 +0x404 fp=0x3ff5477db18 sp=0x3ff5477daa8 pc=0x103dda4
runtime.(*sweepLocked).sweep(0x3ff5477dc40, 0x0)
/usr/lib/go-1.22/src/runtime/mgcsweep.go:643 +0xd3a fp=0x3ff5477dc20 sp=0x3ff5477db18 pc=0x103d25a
runtime.(*mcentral).uncacheSpan(0x2846668, 0x3ff9bf41c28)
/usr/lib/go-1.22/src/runtime/mcentral.go:236 +0x122 fp=0x3ff5477dc48 sp=0x3ff5477dc20 pc=0x1028612
runtime.(*mcache).releaseAll(0x3ff9c0b55b8)
/usr/lib/go-1.22/src/runtime/mcache.go:291 +0x1b8 fp=0x3ff5477dca8 sp=0x3ff5477dc48 pc=0x1027bc8
runtime.(*mcache).prepareForSweep(0x3ff9c0b55b8)
/usr/lib/go-1.22/src/runtime/mcache.go:328 +0x64 fp=0x3ff5477dcd0 sp=0x3ff5477dca8 pc=0x1027d14
runtime.procresize(0x2)
/usr/lib/go-1.22/src/runtime/proc.go:5659 +0x630 fp=0x3ff5477dda0 sp=0x3ff5477dcd0 pc=0x1066320
runtime.startTheWorldWithSema(0x701b8e99a496, {0x1, 0x701b8e9980f1})
/usr/lib/go-1.22/src/runtime/proc.go:1570 +0xf0 fp=0x3ff5477ddf8 sp=0x3ff5477dda0 pc=0x105abb0
runtime.gcMarkTermination.func3()
/usr/lib/go-1.22/src/runtime/mgc.go:1097 +0x46 fp=0x3ff5477de20 sp=0x3ff5477ddf8 pc=0x102ffa6
runtime.systemstack(0x3ff9bd5cc01)
/usr/lib/go-1.22/src/runtime/asm_s390x.s:276 +0x72 fp=0x3ff5477de28 sp=0x3ff5477de20 pc=0x109a152
goroutine 19 gp=0xc000340700 m=3 mp=0xc00007b008 [running]:
runtime.systemstack_switch()
/usr/lib/go-1.22/src/runtime/asm_s390x.s:238 +0x10 fp=0xc000070490 sp=0xc000070488 pc=0x109a0c0
runtime.gcMarkTermination({0x1, 0x701b8e9980f1})
/usr/lib/go-1.22/src/runtime/mgc.go:1087 +0x5f6 fp=0xc0000706b0 sp=0xc000070490 pc=0x102f4f6
runtime.gcMarkDone()
/usr/lib/go-1.22/src/runtime/mgc.go:927 +0x368 fp=0xc000070748 sp=0xc0000706b0 pc=0x102ec28
runtime.gcBgMarkWorker()
/usr/lib/go-1.22/src/runtime/mgc.go:1446 +0x3e0 fp=0xc0000707d8 sp=0xc000070748 pc=0x10305e0
runtime.goexit({})
/usr/lib/go-1.22/src/runtime/asm_s390x.s:774 +0x2 fp=0xc0000707d8 sp=0xc0000707d8 pc=0x109c502
created by runtime.gcBgMarkStartWorkers in goroutine 1
/usr/lib/go-1.22/src/runtime/mgc.go:1234 +0x34
goroutine 1 gp=0xc0000021c0 m=nil [chan receive]:
runtime.gopark(0x1f66778, 0xc0000f8288, 0xe, 0x7, 0x2)
/usr/lib/go-1.22/src/runtime/proc.go:402 +0x136 fp=0xc0002b5a00 sp=0xc0002b59e8 pc=0x10577e6
runtime.chanrecv(0xc0000f8230, 0xc00059faef, 0x1)
/usr/lib/go-1.22/src/runtime/chan.go:583 +0x5ac fp=0xc0002b5a78 sp=0xc0002b5a00 pc=0x10131bc
runtime.chanrecv1(0xc0000f8230, 0xc00059faef)
/usr/lib/go-1.22/src/runtime/chan.go:442 +0x2e fp=0xc0002b5aa0 sp=0xc0002b5a78 pc=0x1012bae
testing.(*T).Run(0xc000359520, {0x1f03e34, 0x17}, 0x1f665a0)
/usr/lib/go-1.22/src/testing/testing.go:1750 +0x49c fp=0xc0002b5b58 sp=0xc0002b5aa0 pc=0x119372c
testing.runTests.func1(0xc000359520)
/usr/lib/go-1.22/src/testing/testing.go:2161 +0x62 fp=0xc0002b5b98 sp=0xc0002b5b58 pc=0x1195d02
testing.tRunner(0xc000359520, 0xc0002dfca8)
/usr/lib/go-1.22/src/testing/testing.go:1689 +0x14a fp=0xc0002b5bf8 sp=0xc0002b5b98 pc=0x119251a
testing.runTests(0xc0001159f8, {0x2767600, 0x4, 0x4}, {0xc1ad5e168ca4e0bc, 0x8bb31f0029, 0x281c8a0})
/usr/lib/go-1.22/src/testing/testing.go:2159 +0x4c6 fp=0xc0002b5cc8 sp=0xc0002b5bf8 pc=0x1195bd6
testing.(*M).Run(0xc0004ea320)
/usr/lib/go-1.22/src/testing/testing.go:2027 +0x74c fp=0xc0002b5ee8 sp=0xc0002b5cc8 pc=0x119434c
main.main()
_testmain.go:53 +0x1a2 fp=0xc0002b5f68 sp=0xc0002b5ee8 pc=0x1c96c92
runtime.main()
/usr/lib/go-1.22/src/runtime/proc.go:271 +0x2f2 fp=0xc0002b5fd8 sp=0xc0002b5f68 pc=0x1057232
runtime.goexit({})
/usr/lib/go-1.22/src/runtime/asm_s390x.s:774 +0x2 fp=0xc0002b5fd8 sp=0xc0002b5fd8 pc=0x109c502
goroutine 2 gp=0xc000002c40 m=nil [force gc (idle)]:
runtime.gopark(0x1f66a78, 0x281a630, 0x11, 0xa, 0x1)
/usr/lib/go-1.22/src/runtime/proc.go:402 +0x136 fp=0xc000074fb0 sp=0xc000074f98 pc=0x10577e6
runtime.goparkunlock(...)
/usr/lib/go-1.22/src/runtime/proc.go:408
runtime.forcegchelper()
/usr/lib/go-1.22/src/runtime/proc.go:326 +0xd2 fp=0xc000074fd8 sp=0xc000074fb0 pc=0x10575b2
runtime.goexit({})
/usr/lib/go-1.22/src/runtime/asm_s390x.s:774 +0x2 fp=0xc000074fd8 sp=0xc000074fd8 pc=0x109c502
created by runtime.init.5 in goroutine 1
/usr/lib/go-1.22/src/runtime/proc.go:314 +0x30
goroutine 3 gp=0xc000003180 m=nil [runnable]:
runtime.gopark(0x1f66a78, 0x281b4c0, 0xc, 0x9, 0x1)
/usr/lib/go-1.22/src/runtime/proc.go:402 +0x136 fp=0xc000075790 sp=0xc000075778 pc=0x10577e6
runtime.goparkunlock(...)
/usr/lib/go-1.22/src/runtime/proc.go:408
runtime.bgsweep(0xc000052150)
/usr/lib/go-1.22/src/runtime/mgcsweep.go:318 +0x110 fp=0xc0000757c8 sp=0xc000075790 pc=0x103bdf0
runtime.gcenable.gowrap1()
/usr/lib/go-1.22/src/runtime/mgc.go:203 +0x5e fp=0xc0000757d8 sp=0xc0000757c8 pc=0x102dafe
runtime.goexit({})
/usr/lib/go-1.22/src/runtime/asm_s390x.s:774 +0x2 fp=0xc0000757d8 sp=0xc0000757d8 pc=0x109c502
created by runtime.gcenable in goroutine 1
/usr/lib/go-1.22/src/runtime/mgc.go:203 +0xa8
goroutine 4 gp=0xc000003340 m=nil [GC scavenge wait]:
runtime.gopark(0x1f66a78, 0x281cee0, 0xd, 0xa, 0x2)
/usr/lib/go-1.22/src/runtime/proc.go:402 +0x136 fp=0xc000075f80 sp=0xc000075f68 pc=0x10577e6
runtime.goparkunlock(...)
/usr/lib/go-1.22/src/runtime/proc.go:408
runtime.(*scavengerState).park(0x281cee0)
/usr/lib/go-1.22/src/runtime/mgcscavenge.go:425 +0x72 fp=0xc000075fa8 sp=0xc000075f80 pc=0x1039012
runtime.bgscavenge(0xc000052150)
/usr/lib/go-1.22/src/runtime/mgcscavenge.go:658 +0x8a fp=0xc000075fc8 sp=0xc000075fa8 pc=0x10396fa
runtime.gcenable.gowrap2()
/usr/lib/go-1.22/src/runtime/mgc.go:204 +0x5e fp=0xc000075fd8 sp=0xc000075fc8 pc=0x102da7e
runtime.goexit({})
/usr/lib/go-1.22/src/runtime/asm_s390x.s:774 +0x2 fp=0xc000075fd8 sp=0xc000075fd8 pc=0x109c502
created by runtime.gcenable in goroutine 1
/usr/lib/go-1.22/src/runtime/mgc.go:204 +0x10e
goroutine 18 gp=0xc000104380 m=nil [finalizer wait]:
runtime.gopark(0x1f667b8, 0x288f448, 0x10, 0xa, 0x1)
/usr/lib/go-1.22/src/runtime/proc.go:402 +0x136 fp=0xc000074718 sp=0xc000074700 pc=0x10577e6
runtime.runfinq()
/usr/lib/go-1.22/src/runtime/mfinal.go:194 +0x13a fp=0xc0000747d8 sp=0xc000074718 pc=0x102c60a
runtime.goexit({})
/usr/lib/go-1.22/src/runtime/asm_s390x.s:774 +0x2 fp=0xc0000747d8 sp=0xc0000747d8 pc=0x109c502
created by runtime.createfing in goroutine 1
/usr/lib/go-1.22/src/runtime/mfinal.go:164 +0x64
goroutine 20 gp=0xc0003408c0 m=nil [GC worker (idle)]:
runtime.gopark(0x1f667e0, 0xc000353980, 0x1a, 0xa, 0x0)
/usr/lib/go-1.22/src/runtime/proc.go:402 +0x136 fp=0xc000070f48 sp=0xc000070f30 pc=0x10577e6
runtime.gcBgMarkWorker()
/usr/lib/go-1.22/src/runtime/mgc.go:1310 +0x12c fp=0xc000070fd8 sp=0xc000070f48 pc=0x103032c
runtime.goexit({})
/usr/lib/go-1.22/src/runtime/asm_s390x.s:774 +0x2 fp=0xc000070fd8 sp=0xc000070fd8 pc=0x109c502
created by runtime.gcBgMarkStartWorkers in goroutine 1
/usr/lib/go-1.22/src/runtime/mgc.go:1234 +0x34
goroutine 45 gp=0xc0003416c0 m=nil [chan receive]:
runtime.gopark(0x1f66778, 0xc0001b01a8, 0xe, 0x7, 0x2)
/usr/lib/go-1.22/src/runtime/proc.go:402 +0x136 fp=0xc00008dda8 sp=0xc00008dd90 pc=0x10577e6
runtime.chanrecv(0xc0001b0150, 0xc00008de97, 0x1)
/usr/lib/go-1.22/src/runtime/chan.go:583 +0x5ac fp=0xc00008de20 sp=0xc00008dda8 pc=0x10131bc
runtime.chanrecv1(0xc0001b0150, 0xc00008de97)
/usr/lib/go-1.22/src/runtime/chan.go:442 +0x2e fp=0xc00008de48 sp=0xc00008de20 pc=0x1012bae
testing.(*T).Run(0xc0001251e0, {0x1eec8ec, 0x2}, 0xc0001164b0)
/usr/lib/go-1.22/src/testing/testing.go:1750 +0x49c fp=0xc00008df00 sp=0xc00008de48 pc=0x119372c
github.com/containers/buildah/internal/mkcw.TestCheckLUKSPassphrase(0xc0001251e0)
/<<PKGBUILDDIR>>/_build/src/github.com/containers/buildah/internal/mkcw/luks_test.go:41 +0x1fa fp=0xc00008df60 sp=0xc00008df00 pc=0x1c94eba
testing.tRunner(0xc0001251e0, 0x1f665a0)
/usr/lib/go-1.22/src/testing/testing.go:1689 +0x14a fp=0xc00008dfc0 sp=0xc00008df60 pc=0x119251a
testing.(*T).Run.gowrap1()
/usr/lib/go-1.22/src/testing/testing.go:1742 +0x64 fp=0xc00008dfd8 sp=0xc00008dfc0 pc=0x11938e4
runtime.goexit({})
/usr/lib/go-1.22/src/runtime/asm_s390x.s:774 +0x2 fp=0xc00008dfd8 sp=0xc00008dfd8 pc=0x109c502
created by testing.(*T).Run in goroutine 1
/usr/lib/go-1.22/src/testing/testing.go:1742 +0x47c
goroutine 22 gp=0xc000340000 m=nil [chan receive]:
runtime.gopark(0x1f66778, 0xc0001b0218, 0xe, 0x7, 0x2)
/usr/lib/go-1.22/src/runtime/proc.go:402 +0x136 fp=0xc00008ad50 sp=0xc00008ad38 pc=0x10577e6
runtime.chanrecv(0xc0001b01c0, 0xc00008ae3f, 0x1)
/usr/lib/go-1.22/src/runtime/chan.go:583 +0x5ac fp=0xc00008adc8 sp=0xc00008ad50 pc=0x10131bc
runtime.chanrecv1(0xc0001b01c0, 0xc00008ae3f)
/usr/lib/go-1.22/src/runtime/chan.go:442 +0x2e fp=0xc00008adf0 sp=0xc00008adc8 pc=0x1012bae
testing.(*T).Run(0xc000358000, {0xc0003b4380, 0xe}, 0xc000116630)
/usr/lib/go-1.22/src/testing/testing.go:1750 +0x49c fp=0xc00008aea8 sp=0xc00008adf0 pc=0x119372c
github.com/containers/buildah/internal/mkcw.TestCheckLUKSPassphrase.func2(0xc000358000)
/<<PKGBUILDDIR>>/_build/src/github.com/containers/buildah/internal/mkcw/luks_test.go:43 +0xc0 fp=0xc00008af60 sp=0xc00008aea8 pc=0x1c94fa0
testing.tRunner(0xc000358000, 0xc0001164b0)
/usr/lib/go-1.22/src/testing/testing.go:1689 +0x14a fp=0xc00008afc0 sp=0xc00008af60 pc=0x119251a
testing.(*T).Run.gowrap1()
/usr/lib/go-1.22/src/testing/testing.go:1742 +0x64 fp=0xc00008afd8 sp=0xc00008afc0 pc=0x11938e4
runtime.goexit({})
/usr/lib/go-1.22/src/runtime/asm_s390x.s:774 +0x2 fp=0xc00008afd8 sp=0xc00008afd8 pc=0x109c502
created by testing.(*T).Run in goroutine 45
/usr/lib/go-1.22/src/testing/testing.go:1742 +0x47c
goroutine 23 gp=0xc000003dc0 m=nil [semacquire]:
runtime.gopark(0x1f66a78, 0x2827520, 0x12, 0x5, 0x4)
/usr/lib/go-1.22/src/runtime/proc.go:402 +0x136 fp=0xc0002a6630 sp=0xc0002a6618 pc=0x10577e6
runtime.goparkunlock(...)
/usr/lib/go-1.22/src/runtime/proc.go:408
runtime.semacquire1(0xc0002497c8, 0x0, 0x1, 0x0, 0x12)
/usr/lib/go-1.22/src/runtime/sema.go:160 +0x244 fp=0xc0002a6680 sp=0xc0002a6630 pc=0x106f594
sync.runtime_Semacquire(0xc0002497c8)
/usr/lib/go-1.22/src/runtime/sema.go:62 +0x44 fp=0xc0002a66b0 sp=0xc0002a6680 pc=0x1098424
sync.(*WaitGroup).Wait(0xc0002497c0)
/usr/lib/go-1.22/src/sync/waitgroup.go:116 +0x6a fp=0xc0002a66c8 sp=0xc0002a66b0 pc=0x10abaca
golang.org/x/crypto/argon2.processBlocks({0xc00059c000, 0x80, 0x80}, 0x10, 0x80, 0x10, 0x1)
/<<PKGBUILDDIR>>/_build/src/golang.org/x/crypto/argon2/argon2.go:234 +0x118 fp=0xc0002a6708 sp=0xc0002a66c8 pc=0x1366548
golang.org/x/crypto/argon2.deriveKey(0x1, {0x288f200, 0x0, 0x0}, {0xc0003d0ca0, 0x20, 0x20}, {0x0, 0x0, 0x0}, ...)
/<<PKGBUILDDIR>>/_build/src/golang.org/x/crypto/argon2/argon2.go:114 +0x19c fp=0xc0002a67f8 sp=0xc0002a6708 pc=0x1365dec
golang.org/x/crypto/argon2.Key({0x288f200, 0x0, 0x0}, {0xc0003d0ca0, 0x20, 0x20}, 0x10, 0x4, 0x10, 0x40)
/<<PKGBUILDDIR>>/_build/src/golang.org/x/crypto/argon2/argon2.go:73 +0xa8 fp=0xc0002a6890 sp=0xc0002a67f8 pc=0x1365c18
github.com/containers/luksy.memoryCostArgon2.func1()
/<<PKGBUILDDIR>>/_build/src/github.com/containers/luksy/tune.go:38 +0x8e fp=0xc0002a68f0 sp=0xc0002a6890 pc=0x138cf0e
github.com/containers/luksy.durationOf(0xc0002a6950)
/<<PKGBUILDDIR>>/_build/src/github.com/containers/luksy/tune.go:13 +0x56 fp=0xc0002a6930 sp=0xc0002a68f0 pc=0x138cb56
github.com/containers/luksy.memoryCostArgon2({0xc0003d0ca0, 0x20, 0x20}, 0x40, 0x10, 0x10, 0x1f66fd8)
/<<PKGBUILDDIR>>/_build/src/github.com/containers/luksy/tune.go:37 +0xae fp=0xc0002a6998 sp=0xc0002a6930 pc=0x138ce0e
github.com/containers/luksy.MemoryCostArgon2(...)
/<<PKGBUILDDIR>>/_build/src/github.com/containers/luksy/tune.go:50
github.com/containers/luksy.EncryptV2({0xc0002aff40, 0x2, 0x2}, {0x0, 0x0}, 0x200)
/<<PKGBUILDDIR>>/_build/src/github.com/containers/luksy/encrypt.go:251 +0x1210 fp=0xc0002afde0 sp=0xc0002a6998 pc=0x1385430
github.com/containers/buildah/internal/mkcw.TestCheckLUKSPassphrase.func2.1(0xc000358340)
/<<PKGBUILDDIR>>/_build/src/github.com/containers/buildah/internal/mkcw/luks_test.go:44 +0xaa fp=0xc0002aff60 sp=0xc0002afde0 pc=0x1c9518a
testing.tRunner(0xc000358340, 0xc000116630)
/usr/lib/go-1.22/src/testing/testing.go:1689 +0x14a fp=0xc0002affc0 sp=0xc0002aff60 pc=0x119251a
testing.(*T).Run.gowrap1()
/usr/lib/go-1.22/src/testing/testing.go:1742 +0x64 fp=0xc0002affd8 sp=0xc0002affc0 pc=0x11938e4
runtime.goexit({})
/usr/lib/go-1.22/src/runtime/asm_s390x.s:774 +0x2 fp=0xc0002affd8 sp=0xc0002affd8 pc=0x109c502
created by testing.(*T).Run in goroutine 22
/usr/lib/go-1.22/src/testing/testing.go:1742 +0x47c
goroutine 1549 gp=0xc000421180 m=nil [runnable]:
golang.org/x/crypto/argon2.processBlockGeneric(0xc0002b1ba8, 0xc0002b1ba8, 0xc0002b13a0, 0x0)
/<<PKGBUILDDIR>>/_build/src/golang.org/x/crypto/argon2/blamka_generic.go:9 +0x462 fp=0xc0002b1348 sp=0xc0002b1348 pc=0x13677b2
golang.org/x/crypto/argon2.processBlock(...)
/<<PKGBUILDDIR>>/_build/src/golang.org/x/crypto/argon2/blamka_ref.go:10
golang.org/x/crypto/argon2.processBlocks.func1(0x7, 0x1, 0xe, 0xc0002497c0)
/<<PKGBUILDDIR>>/_build/src/golang.org/x/crypto/argon2/argon2.go:214 +0x35c fp=0xc0002b1fb8 sp=0xc0002b1348 pc=0x1366a8c
golang.org/x/crypto/argon2.processBlocks.gowrap1()
/<<PKGBUILDDIR>>/_build/src/golang.org/x/crypto/argon2/argon2.go:232 +0x7c fp=0xc0002b1fd8 sp=0xc0002b1fb8 pc=0x136670c
runtime.goexit({})
/usr/lib/go-1.22/src/runtime/asm_s390x.s:774 +0x2 fp=0xc0002b1fd8 sp=0xc0002b1fd8 pc=0x109c502
created by golang.org/x/crypto/argon2.processBlocks in goroutine 23
/<<PKGBUILDDIR>>/_build/src/golang.org/x/crypto/argon2/argon2.go:232 +0x184
goroutine 1548 gp=0xc0004221c0 m=nil [runnable]:
golang.org/x/crypto/argon2.indexAlpha(0x2c3d59eba41a0833, 0x8, 0x2, 0x10, 0x7, 0x1, 0xd, 0x0)
/<<PKGBUILDDIR>>/_build/src/golang.org/x/crypto/argon2/argon2.go:257 +0x15c fp=0xc00041f348 sp=0xc00041f348 pc=0x1366fbc
golang.org/x/crypto/argon2.processBlocks.func1(0x7, 0x1, 0xd, 0xc0002497c0)
/<<PKGBUILDDIR>>/_build/src/golang.org/x/crypto/argon2/argon2.go:220 +0x40c fp=0xc00041ffb8 sp=0xc00041f348 pc=0x1366b3c
golang.org/x/crypto/argon2.processBlocks.gowrap1()
/<<PKGBUILDDIR>>/_build/src/golang.org/x/crypto/argon2/argon2.go:232 +0x7c fp=0xc00041ffd8 sp=0xc00041ffb8 pc=0x136670c
runtime.goexit({})
/usr/lib/go-1.22/src/runtime/asm_s390x.s:774 +0x2 fp=0xc00041ffd8 sp=0xc00041ffd8 pc=0x109c502
created by golang.org/x/crypto/argon2.processBlocks in goroutine 23
/<<PKGBUILDDIR>>/_build/src/golang.org/x/crypto/argon2/argon2.go:232 +0x184
FAIL github.com/containers/buildah/internal/mkcw 7.925s
I wonder whether containers/luksy@dc16bfe would be related to this? the logs above depict builds with a copy of luksy that lack that commit.
I've just updated luksy to the most recent version in Debian and will update buildah to build against a copy of luksy with that patch.
nope, no difference, still seeing crash: https://buildd.debian.org/status/fetch.php?pkg=golang-github-containers-buildah&arch=s390x&ver=1.37.3%2Bds1-1&stamp=1727347791&raw=0
Was able to reproduce this quite easily on a s390x machine using a checkout of buildah (I used tag v1.37.7):
go test -race -gcflags="-d=checkptr" github.com/containers/buildah/internal/mkcw
I've pasted the output at https://gist.github.com/siretart/b6726406066ba1d80088edd19a133304