Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI flaky test TestOriginalSampleRateIsNotedInMetaField #902

Closed
VinozzZ opened this issue Nov 13, 2023 · 0 comments · Fixed by #934
Closed

CI flaky test TestOriginalSampleRateIsNotedInMetaField #902

VinozzZ opened this issue Nov 13, 2023 · 0 comments · Fixed by #934
Assignees
Labels
type: bug Something isn't working
Milestone

Comments

@VinozzZ
Copy link
Contributor

VinozzZ commented Nov 13, 2023

Test Name

TestOriginalSampleRateIsNotedInMetaField

Test output

    collect_test.go:191: 
                Error Trace:    /home/circleci/project/collect/collect_test.go:191
                Error:          Not equal: 
                                expected: 2
                                actual  : 1
                Test:           TestOriginalSampleRateIsNotedInMetaField
                Messages:       should be some events transmitted
  panic: test timed out after 1m0s
  running tests:
        TestOriginalSampleRateIsNotedInMetaField (1m0s)

goroutine 10 [running]:
testing.(*M).startAlarm.func1()
        /usr/local/go/src/testing/testing.go:2241 +0x219
created by time.goFunc
        /usr/local/go/src/time/sleep.go:176 +0x48

goroutine 1 [chan receive]:
testing.(*T).Run(0xc000007d40, {0xead984, 0x28}, 0xedbcd0)
        /usr/local/go/src/testing/testing.go:1630 +0x82e
testing.runTests.func1(0x0?)
        /usr/local/go/src/testing/testing.go:2036 +0x8e
testing.tRunner(0xc000007d40, 0xc00035fb48)
        /usr/local/go/src/testing/testing.go:1576 +0x217
testing.runTests(0xc0000f8500?, {0x14467e0, 0xf, 0xf}, {0x1c?, 0x4ac5f9?, 0x1458a00?})
        /usr/local/go/src/testing/testing.go:2034 +0x87d
testing.(*M).Run(0xc0000f8500)
        /usr/local/go/src/testing/testing.go:1906 +0xb45
main.main()
        _testmain.go:75 +0x2ea

goroutine 34 [sleep]:
time.Sleep(0x186a0)
        /usr/local/go/src/runtime/time.go:195 +0x135
github.com/honeycombio/refinery/collect/cache.NewCuckooTraceChecker.func1()
        /home/circleci/project/collect/cache/cuckoo.go:63 +0x75
created by github.com/honeycombio/refinery/collect/cache.NewCuckooTraceChecker
        /home/circleci/project/collect/cache/cuckoo.go:58 +0x225

goroutine 6 [sync.Mutex.Lock]:
sync.runtime_SemacquireMutex(0x7f40f3402700?, 0x10?, 0x0?)
        /usr/local/go/src/runtime/sema.go:77 +0x26
sync.(*Mutex).lockSlow(0xc0000ec94c)
        /usr/local/go/src/sync/mutex.go:171 +0x213
sync.(*Mutex).Lock(0xc0000ec94c)
        /usr/local/go/src/sync/mutex.go:90 +0x65
sync.(*RWMutex).Lock(0xc0000ec94c)
        /usr/local/go/src/sync/rwmutex.go:147 +0x3e
github.com/honeycombio/refinery/collect.(*InMemCollector).Stop(0xc0000ec8f0)
        /home/circleci/project/collect/collect.go:662 +0x8d
panic({0xe45a20, 0xc00003c228})
        /usr/local/go/src/runtime/panic.go:890 +0x263
github.com/honeycombio/refinery/collect.TestOriginalSampleRateIsNotedInMetaField(0x0?)
        /home/circleci/project/collect/collect_test.go:192 +0x1289
testing.tRunner(0xc000498340, 0xedbcd0)
        /usr/local/go/src/testing/testing.go:1576 +0x217
created by testing.(*T).Run
        /usr/local/go/src/testing/testing.go:1629 +0x806

goroutine 7 [sleep]:
time.Sleep(0x186a0)
        /usr/local/go/src/runtime/time.go:195 +0x135
github.com/honeycombio/refinery/collect/cache.NewCuckooTraceChecker.func1()
        /home/circleci/project/collect/cache/cuckoo.go:63 +0x75
created by github.com/honeycombio/refinery/collect/cache.NewCuckooTraceChecker
        /home/circleci/project/collect/cache/cuckoo.go:58 +0x225

goroutine 8 [select]:
github.com/honeycombio/refinery/collect/cache.(*cuckooSentCache).monitor(0xc0000d68c0)
        /home/circleci/project/collect/cache/cuckooSentCache.go:108 +0x12c
created by github.com/honeycombio/refinery/collect/cache.NewCuckooSentCache
        /home/circleci/project/collect/cache/cuckooSentCache.go:100 +0x245

goroutine 9 [sync.RWMutex.Lock]:
sync.runtime_SemacquireRWMutex(0xc00041a3a8?, 0x37?, 0xd25c15?)
        /usr/local/go/src/runtime/sema.go:87 +0x26
sync.(*RWMutex).Lock(0xc00041a3a8)
        /usr/local/go/src/sync/rwmutex.go:152 +0x8b
github.com/honeycombio/refinery/transmit.(*MockTransmission).EnqueueSpan(0xc00041a390, 0xc00049a210)
        /home/circleci/project/transmit/mock.go:25 +0x65
github.com/honeycombio/refinery/collect.(*InMemCollector).send(0xc0000ec8f0, 0xc00049a2c0, {0xe9cde0, 0x13})
        /home/circleci/project/collect/collect.go:654 +0xe95
github.com/honeycombio/refinery/collect.(*InMemCollector).sendTracesInCache(0xc0000ec8f0, {0xc000217e18?, 0x5d3a00?, 0x1458a00?})
        /home/circleci/project/collect/collect.go:370 +0xf5
github.com/honeycombio/refinery/collect.(*InMemCollector).collect(0xc0000ec8f0)
        /home/circleci/project/collect/collect.go:338 +0x79b
created by github.com/honeycombio/refinery/collect.TestOriginalSampleRateIsNotedInMetaField
        /home/circleci/project/collect/collect_test.go:150 +0x972
FAIL    github.com/honeycombio/refinery/collect 60.041s
@VinozzZ VinozzZ added the type: bug Something isn't working label Nov 13, 2023
@kentquirk kentquirk added this to the v2.2 milestone Nov 21, 2023
@kentquirk kentquirk modified the milestones: v2.2, v2.3 Nov 28, 2023
@kentquirk kentquirk self-assigned this Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants