Source: golang-github-jacobsa-gcloud
Version: 0.0~git20150709-3
Severity: normal
Tags: ftbfs
X-Debbugs-Cc: [email protected]

Dear Maintainer,

This package FTBFS due to  tests timed out after 10 minutes.

Here are the failed log:
=== RUN   TestStatCache
--- PASS: TestStatCache (0.00s)
PASS
ok      github.com/jacobsa/gcloud/gcs/gcscaching        0.004s
?       github.com/jacobsa/gcloud/gcs/gcscaching/mock_gcscaching        [no 
test files]
2026/02/24 07:29:55 Raised RLIMIT_NOFILE from 524287 to 524288.
=== RUN   TestBucket
[----------] Running tests from CreateTest
[ RUN      ] CreateTest.EmptyObject
[       OK ] CreateTest.EmptyObject
[ RUN      ] CreateTest.NonEmptyObject
[       OK ] CreateTest.NonEmptyObject
[ RUN      ] CreateTest.Overwrite
[       OK ] CreateTest.Overwrite
[ RUN      ] CreateTest.ObjectAttributes_Default
[       OK ] CreateTest.ObjectAttributes_Default
[ RUN      ] CreateTest.ObjectAttributes_Explicit
[       OK ] CreateTest.ObjectAttributes_Explicit
[ RUN      ] CreateTest.ErrorAfterPartialContents
[       OK ] CreateTest.ErrorAfterPartialContents
[ RUN      ] CreateTest.InterestingNames
panic: test timed out after 10m0s
        running tests:
                TestBucket (10m0s)

goroutine 162 [running]:
testing.(*M).startAlarm.func1()
        /usr/lib/go-1.26/src/testing/testing.go:2802 +0x34b
created by time.goFunc
        /usr/lib/go-1.26/src/time/sleep.go:215 +0x2d

goroutine 1 [chan receive, 10 minutes]:
testing.(*T).Run(0x2218ba441688, {0xbb3c16?, 0x2218ba5dfb30?}, 0xbe5ee8)
        /usr/lib/go-1.26/src/testing/testing.go:2109 +0x4e5
testing.runTests.func1(0x2218ba441688)
        /usr/lib/go-1.26/src/testing/testing.go:2585 +0x37
testing.tRunner(0x2218ba441688, 0x2218ba5dfc58)
        /usr/lib/go-1.26/src/testing/testing.go:2036 +0xea
testing.runTests({0x0, 0x0}, {0xbca08c, 0x25}, 0x2218ba2bf338, {0x113e760, 0x2, 
0x2}, {0xc25f7352e24eeb28, 0x8bb2e5b1e0, ...})
        /usr/lib/go-1.26/src/testing/testing.go:2583 +0x505
testing.(*M).Run(0x2218ba6428c0)
        /usr/lib/go-1.26/src/testing/testing.go:2443 +0x6ac
main.main()
        _testmain.go:50 +0x9b

[..skip...]

This seems due to Go 1.26 URL/Transport incompatibilities with the
legacy gcsfake mock.

You may add these into debian/rules to skip the time out tests or check
if newer upstream fixed that:
```
override_dh_auto_test:
        # Go 1.26 URL/Transport incompatibilities with the legacy gcsfake mock
        # Disable tests that hangs until timeout in 10 minutes
        dh_auto_test -- -short -test.skip="TestBucket|TestConn"
```

Best regards,

-Andrew

Reply via email to