Create fronted cache if not found. #1469
Closed
Annotations
1 error and 1 warning
Publish Test Summary Results
TestNonIdempotentRequest: DEBUG fronted: fronted.go:378 Returning connection for masquerade 2.19.198.48 in 280.392749ms
DEBUG fronted: fronted.go:378 Returning connection for masquerade 95.101.27.146 in 285.000202ms
DEBUG fronted: fronted.go:378 Returning connection for masquerade 92.122.244.19 in 287.57664ms
DEBUG fronted: fronted.go:378 Returning connection for masquerade 23.32.238.24 in 286.891295ms
DEBUG fronted: fronted.go:378 Returning connection for masquerade 23.48.23.178 in 292.666663ms
DEBUG fronted: fronted.go:378 Returning connection for masquerade 23.216.77.35 in 293.002517ms
DEBUG fronted: fronted.go:378 Returning connection for masquerade 23.48.23.142 in 293.083295ms
DEBUG fronted: fronted.go:378 Returning connection for masquerade 23.48.23.145 in 294.823083ms
DEBUG flashlight.geolookup: geolookup.go:68 Country not available yet
DEBUG fronted: fronted.go:378 Returning connection for masquerade 23.32.238.95 in 297.634767ms
DEBUG fronted: fronted.go:107 Updating fronted configuration
DEBUG fronted: fronted.go:378 Returning connection for masquerade 23.32.238.70 in 300.151502ms
==================
WARNING: DATA RACE
Write at 0x00c000478660 by goroutine 155:
runtime.mapassign_faststr()
/opt/hostedtoolcache/go/1.22.6/x64/src/runtime/map_faststr.go:203 +0x0
github.com/getlantern/fronted.(*fronted).addProviders()
/home/runner/go/pkg/mod/github.com/getlantern/[email protected]/fronted.go:606 +0x1d3
github.com/getlantern/fronted.(*fronted).OnNewFronts()
/home/runner/go/pkg/mod/github.com/getlantern/[email protected]/fronted.go:113 +0xd6
github.com/getlantern/flashlight/v7/proxied.OnNewFronts()
/home/runner/work/flashlight/flashlight/proxied/fronted.go:64 +0x7d9
github.com/getlantern/flashlight/v7/proxied.updateFronted()
/home/runner/work/flashlight/flashlight/proxied/proxied_test.go:311 +0x72d
github.com/getlantern/flashlight/v7/proxied.TestNonIdempotentRequest()
/home/runner/work/flashlight/flashlight/proxied/proxied_test.go:119 +0x29
testing.tRunner()
/opt/hostedtoolcache/go/1.22.6/x64/src/testing/testing.go:1689 +0x21e
testing.(*T).Run.gowrap1()
/opt/hostedtoolcache/go/1.22.6/x64/src/testing/testing.go:1742 +0x44
Previous read at 0x00c000478660 by goroutine 116:
runtime.mapaccess1_faststr()
/opt/hostedtoolcache/go/1.22.6/x64/src/runtime/map_faststr.go:13 +0x0
github.com/getlantern/fronted.(*fronted).providerFor()
/home/runner/go/pkg/mod/github.com/getlantern/[email protected]/fronted.go:622 +0x2a4
github.com/getlantern/fronted.(*fronted).vetFront()
/home/runner/go/pkg/mod/github.com/getlantern/[email protected]/fronted.go:215 +0x214
github.com/getlantern/fronted.(*fronted).tryAllFronts.func1()
/home/runner/go/pkg/mod/github.com/getlantern/[email protected]/fronted.go:174 +0xa4
github.com/alitto/pond/v2.invokeTask[go.shape.struct {}]()
/home/runner/go/pkg/mod/github.com/alitto/pond/[email protected]/task.go:72 +0x132
github.com/alitto/pond/v2.wrappedTask[go.shape.struct {},go.shape.func(error)].Run()
/home/runner/go/pkg/mod/github.com/alitto/pond/[email protected]/task.go:39 +0x73
github.com/alitto/pond/v2.(*pool).submit.wrapTask[go.shape.struct {},go.shape.func(error)].func1()
/home/runner/go/pkg/mod/github.com/alitto/pond/[email protected]/task.go:59 +0x5d
github.com/alitto/pond/v2.invokeTask[go.shape.interface {}]()
/home/runner/go/pkg/mod/github.com/alitto/pond/[email protected]/task.go:74 +0x111
github.com/alitto/pond/v2.(*pool).worker()
/home/runner/go/pkg/mod/github.com/alitto/pond/[email protected]/pool.go:301 +0x1dd
github.com/alitto/pond/v2.(*pool).startWorker.gowrap1()
/home/runner/go/pkg/mod/github.com/alitto/pond/[email protected]/pool.go:245 +0x33
Goroutine 155 (running) created at:
testing.(*T).Run()
/opt/hostedtoolcache/go/1.22.6/x64/src/testing/testing.go:1742 +0x825
testing.runTests.func1()
/opt/hostedtoolcache/go/1.22.6/x64/src/testing/testing.go:2161 +0x85
t
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading