Your message dated Wed, 30 Sep 2026 09:05:57 +0000
with message-id <[email protected]>
and subject line Bug#1149371: fixed in golang-github-viccon-sturdyc 1.1.6-1
has caused the Debian Bug report #1149371,
regarding golang-github-viccon-sturdyc: FTBFS: flaky test
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1149371: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1149371
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:golang-github-viccon-sturdyc
Version: 1.1.5-4
Severity: important
Tags: ftbfs forky sid patch
Control: forwarded -1 https://github.com/viccon/sturdyc/issues/47

Hello.

When I try to build this package on AWS machines of type r7a.medium or 
m7a.medium,
which incidentally have one vCPU, the following test always fails:

=== CONT  TestTimeBasedEviction
    cache_test.go:94: expected 10000 evicted entries, got 9904
--- FAIL: TestTimeBasedEviction (0.52s)


I reported this upstream in the URL above but there is not
an official fix yet, so I suggest disabling this single
test as flaky (as in the attached patch) until there is an official fix.

Full build log available here:

https://people.debian.org/~sanvila/build-logs/202609/

The build error may be reproduced easily with GRUB_CMDLINE_LINUX="nr_cpus=1",
but if that does not work, I can offer a VM for you to reproduce.

Thanks.

--------------------------------------------------------------------------------
[...]
=== RUN   
TestForcedEvictions/100_capacity,_1000_writes,_10_shards,_100%_forced_evictions
=== PAUSE 
TestForcedEvictions/100_capacity,_1000_writes,_10_shards,_100%_forced_evictions
=== CONT  TestTimeBasedEviction
    cache_test.go:94: expected 10000 evicted entries, got 9900
--- FAIL: TestTimeBasedEviction (0.52s)
=== CONT  TestShardDistribution
=== RUN   
TestShardDistribution/1_000_000_capacity,_100_shards,_12%_tolerance,_16_key_length
=== PAUSE 
TestShardDistribution/1_000_000_capacity,_100_shards,_12%_tolerance,_16_key_length
=== RUN   
TestShardDistribution/1000_capacity,_2_shards,_12%_tolerance,_14_key_length
=== PAUSE 
TestShardDistribution/1000_capacity,_2_shards,_12%_tolerance,_14_key_length
=== CONT  TestValuesAreUpdatedCorrectly
--- PASS: TestValuesAreUpdatedCorrectly (0.20s)
=== CONT  TestLargeBatchesAreChunkedCorrectly
--- PASS: TestLargeBatchesAreChunkedCorrectly (0.00s)
=== CONT  TestBatchesAreGroupedByPermutations
--- PASS: TestBatchesAreGroupedByPermutations (0.00s)
=== CONT  TestBatchIsNotRefreshedByDuplicates
--- PASS: TestBatchIsNotRefreshedByDuplicates (0.01s)
=== CONT  TestBatchIsRefreshedWhenTheBufferSizeIsReached
--- PASS: TestBatchIsRefreshedWhenTheBufferSizeIsReached (0.04s)
=== CONT  TestCutoff/1000_entries,_50th_percentile
=== CONT  TestCutoff/13_entries,_2nd_percentile
=== CONT  TestCutoff/999_entries,_16th_percentile
=== CONT  TestCutoff/1000_entries,_90th_percentile
--- PASS: TestCutoff (0.00s)
    --- PASS: TestCutoff/1000_entries,_50th_percentile (0.00s)
    --- PASS: TestCutoff/13_entries,_2nd_percentile (0.00s)
    --- PASS: TestCutoff/999_entries,_16th_percentile (0.00s)
    --- PASS: TestCutoff/1000_entries,_90th_percentile (0.00s)
=== CONT  
TestForcedEvictions/1000_capacity,_100_000_writes,_100_shards,_5%_forced_evictions
=== CONT  
TestForcedEvictions/100_capacity,_1000_writes,_10_shards,_100%_forced_evictions
=== CONT  
TestForcedEvictions/100_capacity,_10_000_writes,_10_shards,_1%_forced_evictions
=== CONT  
TestShardDistribution/1_000_000_capacity,_100_shards,_12%_tolerance,_16_key_length
--- PASS: TestForcedEvictions (0.00s)
    --- PASS: 
TestForcedEvictions/1000_capacity,_100_000_writes,_100_shards,_5%_forced_evictions
 (0.21s)
    --- PASS: 
TestForcedEvictions/100_capacity,_1000_writes,_10_shards,_100%_forced_evictions 
(0.00s)
    --- PASS: 
TestForcedEvictions/100_capacity,_10_000_writes,_10_shards,_1%_forced_evictions 
(0.01s)
=== CONT  
TestShardDistribution/1000_capacity,_2_shards,_12%_tolerance,_14_key_length
--- PASS: TestShardDistribution (0.00s)
    --- PASS: 
TestShardDistribution/1_000_000_capacity,_100_shards,_12%_tolerance,_16_key_length
 (0.84s)
    --- PASS: 
TestShardDistribution/1000_capacity,_2_shards,_12%_tolerance,_14_key_length 
(0.00s)
FAIL
FAIL    github.com/viccon/sturdyc       7.926s
?       github.com/viccon/sturdyc/examples/basic        [no test files]
?       github.com/viccon/sturdyc/examples/batch        [no test files]
?       github.com/viccon/sturdyc/examples/buffering    [no test files]
?       github.com/viccon/sturdyc/examples/distributed-early-refreshes  [no 
test files]
?       github.com/viccon/sturdyc/examples/distribution [no test files]
?       github.com/viccon/sturdyc/examples/generics     [no test files]
?       github.com/viccon/sturdyc/examples/missing      [no test files]
?       github.com/viccon/sturdyc/examples/permutations [no test files]
?       github.com/viccon/sturdyc/examples/refreshes    [no test files]
FAIL
dh_auto_test: error: cd debian/_build && go test -vet=off -v -p 1 
github.com/viccon/sturdyc github.com/viccon/sturdyc/examples/basic 
github.com/viccon/sturdyc/examples/batch github.com/viccon/sturdyc/examples/buffering 
github.com/viccon/sturdyc/examples/distributed-early-refreshes 
github.com/viccon/sturdyc/examples/distribution 
github.com/viccon/sturdyc/examples/generics github.com/viccon/sturdyc/examples/missing 
github.com/viccon/sturdyc/examples/permutations 
github.com/viccon/sturdyc/examples/refreshes returned exit code 1
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------
From: Santiago Vila <[email protected]>
Subject: Skip TestTimeBasedEviction
Bug: https://github.com/viccon/sturdyc/issues/47

--- a/cache_test.go
+++ b/cache_test.go
@@ -56,6 +56,7 @@
 }
 
 func TestTimeBasedEviction(t *testing.T) {
+	t.Skip("flaky")
 	t.Parallel()
 	capacity := 10_000
 	numShards := 100

--- End Message ---
--- Begin Message ---
Source: golang-github-viccon-sturdyc
Source-Version: 1.1.6-1
Done: Daniel Baumann <[email protected]>

We believe that the bug you reported is fixed in the latest version of
golang-github-viccon-sturdyc, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Baumann <[email protected]> (supplier of updated 
golang-github-viccon-sturdyc 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 30 Sep 2026 10:40:28 +0200
Source: golang-github-viccon-sturdyc
Architecture: source
Version: 1.1.6-1
Distribution: sid
Urgency: medium
Maintainer: Daniel Baumann <[email protected]>
Changed-By: Daniel Baumann <[email protected]>
Closes: 1149371
Changes:
 golang-github-viccon-sturdyc (1.1.6-1) sid; urgency=medium
 .
   * Merging upstream version 1.1.6:
     - fixes tests when build on single-cpu systems (Closes: #1149371).
   * Updating to debhelper 14.
Checksums-Sha1:
 5d926c47b1b57cb4dd4426aa77d89e6a50cdb545 1662 
golang-github-viccon-sturdyc_1.1.6-1.dsc
 8d8c50c9f7462bbb26f4951dc6d3fbff10e5f168 63376 
golang-github-viccon-sturdyc_1.1.6.orig.tar.xz
 2f585d3f0177bbb638ede37badcdda44e83f444c 2300 
golang-github-viccon-sturdyc_1.1.6-1.debian.tar.xz
 922036efbf2aeec58501db9b48f4cf2a8818b77d 5466 
golang-github-viccon-sturdyc_1.1.6-1_amd64.buildinfo
Checksums-Sha256:
 f5a4c994e991cf3cd12513f82d3553896114c745616296cab90e9930fa3d35a2 1662 
golang-github-viccon-sturdyc_1.1.6-1.dsc
 0088ab57fdfeb871b5abfbe80e2700e9276787195d12abd18f217e8d61862826 63376 
golang-github-viccon-sturdyc_1.1.6.orig.tar.xz
 264e6bd588583d748b67815b411ab790dadacbd05db0aac04d73289a7f9b2fdb 2300 
golang-github-viccon-sturdyc_1.1.6-1.debian.tar.xz
 ac7b9a1fa84dad2070b22c1ec85892e9408df44000c7c431b04c2f25eb9011dc 5466 
golang-github-viccon-sturdyc_1.1.6-1_amd64.buildinfo
Files:
 d1a39b41e40311061ee43ed86acdedc7 1662 golang optional 
golang-github-viccon-sturdyc_1.1.6-1.dsc
 52432bbd0fae1692ebbcb96111188a7c 63376 golang optional 
golang-github-viccon-sturdyc_1.1.6.orig.tar.xz
 b279456f8fd76ed4ebf83aeef3586804 2300 golang optional 
golang-github-viccon-sturdyc_1.1.6-1.debian.tar.xz
 500297225a3fb82e153c6f37412581fd 5466 golang optional 
golang-github-viccon-sturdyc_1.1.6-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQQmmGg4gLaoSj0ERgL7tPDoCoAiLwUCarzLYAAKCRD7tPDoCoAi
LxUmAP4+0eaInyYumpcSE9+6yLDazYtkl/qH7DEFzuSK03Rz+wEAiq5cLaTKmIgo
pATMH1Zp0Z+snKbvD1p+VjST10YC1gg=
=ssnB
-----END PGP SIGNATURE-----

Attachment: pgp7bXsXhRjkd.pgp
Description: PGP signature


--- End Message ---

Reply via email to