#1136384 golang-github-go-openapi-validate: flaky test: FAIL: TestJSONSchemaSuite/refRemote.json: Get "http://localhost:1234/integer.json": dial tcp [::1]:1234: connect: connection refused #1136384
- Package:
- golang-github-go-openapi-validate
- Submitter:
- Simon Josefsson
- Date:
- 2026-08-12 09:31:01 UTC
- Severity:
- normal
Hi. This package has what appears to be a flaky test, which is causing testing migration blocking. https://ci.debian.net/packages/g/golang-github-go-openapi-validate/testing/ppc64el/70980292/#L1129 /Simon 289s === NAME TestJSONSchemaSuite/refRemote.json 289s Error Trace: /tmp/autopkgtest-lxc.nv8txq3u/downtmp/autopkgtest_tmp/_build/src/github.com/go-openapi/validate/jsonschema_test.go:241 289s /tmp/autopkgtest-lxc.nv8txq3u/downtmp/autopkgtest_tmp/_build/src/github.com/go-openapi/validate/jsonschema_test.go:141 289s Error: Received unexpected error: 289s Get "http://localhost:1234/integer.json": dial tcp [::1]:1234: connect: connection refused 289s loaderrs error 289s loaderrs error 289s Test: TestJSONSchemaSuite/refRemote.json 289s Messages: remote ref should expand cleanly 289s === CONT TestJSONSchemaSuite/maxItems.json 289s jsonschema_test.go:139: Running maxItems 289s === NAME TestJSONSchemaSuite/definitions.json 289s jsonschema_test.go:139: Running definitions 289s === CONT TestJSONSchemaSuite/items.json 289s jsonschema_test.go:139: Running items 289s === CONT TestJSONSchemaSuite/maxLength.json 289s jsonschema_test.go:139: Running maxLength 289s === NAME TestJSONSchemaSuite/anyOf.json 289s jsonschema_test.go:139: Running anyOf 289s === NAME TestJSONSchemaSuite/default.json 289s jsonschema_test.go:139: Running default 289s === CONT TestJSONSchemaSuite/additionalProperties.json 289s jsonschema_test.go:139: Running additionalProperties 289s --- FAIL: TestJSONSchemaSuite (0.00s) 289s --- PASS: TestJSONSchemaSuite/minLength.json (0.00s) 289s --- PASS: TestJSONSchemaSuite/uniqueItems.json (0.00s) 289s --- PASS: TestJSONSchemaSuite/format.json (0.01s) 289s --- PASS: TestJSONSchemaSuite/enum.json (0.01s) 289s --- PASS: TestJSONSchemaSuite/additionalItems.json (0.01s) 289s --- PASS: TestJSONSchemaSuite/dependencies.json (0.01s) 289s --- PASS: TestJSONSchemaSuite/required.json (0.01s) 289s --- PASS: TestJSONSchemaSuite/type.json (0.01s) 289s --- PASS: TestJSONSchemaSuite/maxProperties.json (0.00s) 289s --- PASS: TestJSONSchemaSuite/pattern.json (0.00s) 289s --- FAIL: TestJSONSchemaSuite/refRemote.json (0.02s)
Here is another flaky test FTBFS, also causing testing migration blocking: https://ci.debian.net/packages/g/golang-github-go-openapi-testify/testing/armhf/74275915/#L31000 281s --- PASS: TestSdump_EdgeCases (4.76s) 281s panic: rapid.stopTest("Sdump timed out: 281s With value type: map[struct { ... 281s 281s goroutine 5709 [running]: 281s sync.(*WaitGroup).Go.func1.1() 281s /usr/lib/go-1.26/src/sync/waitgroup.go:251 +0x48 281s panic({0x3071a0, 0x4c50008}) 281s /usr/lib/go-1.26/src/runtime/panic.go:860 +0x104 281s pgregory.net/rapid.(*T).fail(0x38c67e0, 0x1, {0x76d0000, 0xdf9c15}) 281s /tmp/autopkgtest.MZ4q4x/autopkgtest_tmp/debian/_build/src/pgregory.net/rapid/engine.go:902 +0xd8 281s pgregory.net/rapid.(*T).Fatalf(0x38c67e0, {0x364659, 0x2f}, {0x514ddd0, 0x2, 0x2}) 281s /tmp/autopkgtest.MZ4q4x/autopkgtest_tmp/debian/_build/src/pgregory.net/rapid/engine.go:865 +0xb8 281s github.com/go-openapi/testify/internal/testintegration/spew.TestSdump.NoPanicProp.func1.1() 281s /tmp/autopkgtest.MZ4q4x/autopkgtest_tmp/debian/_build/src/github.com/go-openapi/testify/internal/testintegration/spew/generator.go:53 +0x134 281s sync.(*WaitGroup).Go.func1() 281s /usr/lib/go-1.26/src/sync/waitgroup.go:258 +0x50 281s created by sync.(*WaitGroup).Go in goroutine 19 281s /usr/lib/go-1.26/src/sync/waitgroup.go:238 +0x7c 281s FAIL github.com/go-openapi/testify/internal/testintegration/spew 5.426s /Simon
Simon Josefsson <simon@josefsson.org> writes: Sorry, that was not for golang-github-go-openapi-validate but for golang-github-go-openapi-testify -- should have gone into https://bugs.debian.org/1138838 /Simon
The test timeout also needs to be increased for riscv64: https://ci.debian.net/packages/g/golang-github-go-openapi-validate/testing/riscv64/74283816/#L1804 1885s === CONT Test_ParallelPool/should_validate_in_parallel/validating_fixture_2#15 1885s === CONT Test_ParallelPool/should_validate_in_parallel/validating_fixture_2#14 1885s panic: test timed out after 10m0s 1885s running tests: 1885s Test_ParallelPool (3m57s) 1885s Test_ParallelPool/should_validate_in_parallel/validating_fixture_2#10 (1m52s) 1885s Test_ParallelPool/should_validate_in_parallel/validating_fixture_2#14 (24s) 1885s Test_ParallelPool/should_validate_in_parallel/validating_fixture_2#16 (54s) 1885s Test_ParallelPool/should_validate_in_parallel/validating_fixture_2#18 (1m29s) /Simon