#1144201 golang-github-go-enry-go-enry: flaky test FTBFS: FAIL: Test_EnryOnLinguistCorpus: utils.go:51: test panicked: "/usr/bin/git clone --depth 150 https://github.com/github/linguist.git /tmp/linguist-2295514477" returned exit status 128 #1144201
- Package:
- golang-github-go-enry-go-enry
- Source:
- golang-github-go-enry-go-enry
- Submitter:
- Simon Josefsson
- Date:
- 2026-08-12 19:21:02 UTC
- Severity:
- normal
This package has what appears to be a flaky test FTBFS, causing testing migration blocking of https://tracker.debian.org/pkg/golang-yaml.v2 https://ci.debian.net/packages/g/golang-github-go-enry-go-enry/testing/arm64/74276208/#L1388 265s === RUN Test_EnryOnLinguistCorpus 265s utils.go:51: test panicked: "/usr/bin/git clone --depth 150 https://github.com/github/linguist.git /tmp/linguist-2295514477" returned exit status 128 265s goroutine 36 [running]: 265s runtime/debug.Stack() 265s /usr/lib/go-1.26/src/runtime/debug/stack.go:26 +0x64 265s github.com/stretchr/testify/suite.failOnPanic(0x6a27f7066248, {0x890080, 0x6a27f7181120}) 265s /tmp/autopkgtest.6x5Zry/autopkgtest_tmp/debian/_build/src/github.com/stretchr/testify/suite/suite.go:89 +0x38 265s github.com/stretchr/testify/suite.recoverAndFailOnPanic(0x6a27f7066248) 265s /tmp/autopkgtest.6x5Zry/autopkgtest_tmp/debian/_build/src/github.com/stretchr/testify/suite/suite.go:83 +0x38 265s panic({0x890080?, 0x6a27f7181120?}) 265s /usr/lib/go-1.26/src/runtime/panic.go:860 +0x12c 265s github.com/go-enry/go-enry/v2/internal/tests.panicOn({0x6a27f705a280?, 0x3?}, {0xa97120, 0x6a27f72ca020}) 265s /tmp/autopkgtest.6x5Zry/autopkgtest_tmp/debian/_build/src/github.com/go-enry/go-enry/v2/internal/tests/utils.go:51 +0x80 265s github.com/go-enry/go-enry/v2/internal/tests.MaybeCloneLinguist({0x9b5f31?, 0x6a27f6fa8960?}, {0xa6e132, 0x26}, {0xa71994, 0x28}) 265s /tmp/autopkgtest.6x5Zry/autopkgtest_tmp/debian/_build/src/github.com/go-enry/go-enry/v2/internal/tests/utils.go:26 +0xe8 265s github.com/go-enry/go-enry/v2.maybeCloneLinguist(...) 265s /tmp/autopkgtest.6x5Zry/autopkgtest_tmp/debian/_build/src/github.com/go-enry/go-enry/v2/common_test.go:23 265s github.com/go-enry/go-enry/v2.(*enryBaseTestSuite).SetupSuite(0x6a27f71da400) 265s /tmp/autopkgtest.6x5Zry/autopkgtest_tmp/debian/_build/src/github.com/go-enry/go-enry/v2/common_test.go:36 +0x48 265s github.com/stretchr/testify/suite.Run(0x6a27f7066248, {0xa99280, 0x6a27f71da400}) 265s /tmp/autopkgtest.6x5Zry/autopkgtest_tmp/debian/_build/src/github.com/stretchr/testify/suite/suite.go:211 +0x6a8 265s github.com/go-enry/go-enry/v2.Test_EnryOnLinguistCorpus(0x6a27f7066248) 265s /tmp/autopkgtest.6x5Zry/autopkgtest_tmp/debian/_build/src/github.com/go-enry/go-enry/v2/linguist_corpus_test.go:23 +0x7c 265s testing.tRunner(0x6a27f7066248, 0xa8ef18) 265s /usr/lib/go-1.26/src/testing/testing.go:2036 +0xc4 265s created by testing.(*T).Run in goroutine 1 265s /usr/lib/go-1.26/src/testing/testing.go:2101 +0x3a8 265s --- FAIL: Test_EnryOnLinguistCorpus (133.38s) /Simon
We believe that the bug you reported is fixed in the latest version of
golang-github-go-enry-go-enry, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1144201@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Stephen Gelman <ssgelm@debian.org> (supplier of updated golang-github-go-enry-go-enry package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 12 Aug 2026 12:51:43 -0500
Source: golang-github-go-enry-go-enry
Architecture: source
Version: 2.9.6+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
Changed-By: Stephen Gelman <ssgelm@debian.org>
Closes: 1144201
Changes:
golang-github-go-enry-go-enry (2.9.6+dfsg-2) unstable; urgency=medium
.
* Keep autopkgtests independent of github/linguist, while retaining the
self-contained upstream tests and synthetic classifier coverage. Having
the autopkgtest call out to GitHub has proven to be too unreliable and
the tests don't offer sufficient benefit to justify the hassle caused
by flaky tests. (Closes: #1144201)
* Update DH compat version to 14
Checksums-Sha1:
b1213c680b0f0adff49e7137c142b6756305a409 2412 golang-github-go-enry-go-enry_2.9.6+dfsg-2.dsc
7dd7cfb70642e4ec992ab252ac7929a96a6134cc 7688 golang-github-go-enry-go-enry_2.9.6+dfsg-2.debian.tar.xz
cb54e681ad82448599e9927fad37f4b3eb9b3883 8828 golang-github-go-enry-go-enry_2.9.6+dfsg-2_amd64.buildinfo
Checksums-Sha256:
5c1eca666d60ca049d40e4932dcd9e6e56040dd9e05f13af1837d2dcb71b8f16 2412 golang-github-go-enry-go-enry_2.9.6+dfsg-2.dsc
c4a00bbcd1c4b76d2e046dcc705681aba97a8d028f739a16f2d15db626c8f01c 7688 golang-github-go-enry-go-enry_2.9.6+dfsg-2.debian.tar.xz
d9fbf459890349219269ddc71f4d95bfe7632a275cf5eb7a852fd401f092c4c3 8828 golang-github-go-enry-go-enry_2.9.6+dfsg-2_amd64.buildinfo
Files:
8e65a5f3179089fa1eb2c324641f27fb 2412 golang optional golang-github-go-enry-go-enry_2.9.6+dfsg-2.dsc
c365c495dd58f34acf87ba2630ede4f5 7688 golang optional golang-github-go-enry-go-enry_2.9.6+dfsg-2.debian.tar.xz
7a69b335aa181c28ea0e62fdb9dc9786 8828 golang optional golang-github-go-enry-go-enry_2.9.6+dfsg-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJGBAEBCgAwFiEEC77u8GTpSr6EMli0dUHPqvw16s8FAmp8wlgSHHNzZ2VsbUBk
ZWJpYW4ub3JnAAoJEHVBz6r8NerP20sQAK6TTfpJe3NJXqMwcXlwhKnG+8yT0vBN
FU/SFoBUjTZxfNB5bAXJv4CLlFUmJOcWgCKZpUliL0u7i6EqDEw/Q2PhB0ko/gB3
AfFhK8p7d+LJuJhj4ESchUkSEmpUmKQR+xUtI7nWJFS5yRzO3TYJFTXnByGT86gk
iH3WgQp660l0FquYXNJrfw0w4kcwoGCtQs5hPRzNJZ6vDfJE259/Zw3eIYDHQqMF
7SJ/MFOlDOjVUCHexbta8U3VmepGqeDDgqMfafv6QnTZ9DlH0Crs4kmaGyNKrFSx
cXb8w/lSg1Aaeea8NspxItbZE/uRSD5Ov02zEa/0oJu4ZS9rm1wTrBP82FwqGzDb
lVjmrdbZaNYw+9w+R+gVJF74fz4l+63afUSizxQbawmb42QB70opKd1BWbEfWp2B
WVm4Ijg97y8sopYbL7Vf29NOnniCI+cbURY1+9f7JEIlzYkeUbGpn7duwMNa76lI
suhkNzDym1e/5pXUxgjywnfRNC2svGnfs50POeKJMkE810arAQqDSZSwPkSWmEgY
Atzp9GF5PsJw3SUervG4LtvjMVSnKbGtm1551rvmgfUhCNE3fxr3IctVMNi2t950
5+iNt5UKuCG1wRCx0qVfcUbtKNYFZXoX+J9EN10q/A98h4Mpj/uKXbublFwzFNZU
uKQQA5sq75Z4
=KGuM
-----END PGP SIGNATURE-----