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

Flaky tests: brokerdiscovery #1927

Closed
vkuznecovas opened this issue Mar 26, 2020 · 1 comment
Closed

Flaky tests: brokerdiscovery #1927

vkuznecovas opened this issue Mar 26, 2020 · 1 comment
Assignees
Labels

Comments

@vkuznecovas
Copy link
Contributor

 ?   	github.com/mysteriumnetwork/node/core/discovery/apidiscovery	[no test files]
 {"level":"trace","time":"2020-03-26T15:19:13+02:00","message":"Message \"*.proposal-register\" sending: {\"proposal\":{\"id\":0,\"format\":\"\",\"service_type\":\"\",\"service_definition\":null,\"payment_method_type\":\"\",\"payment_method\":null,\"provider_id\":\"0x1\",\"provider_contacts\":[]}}"}
 {"level":"debug","time":"2020-03-26T15:19:13+02:00","message":"Message \"*.proposal-unregister\" sending: {\"proposal\":{\"id\":0,\"format\":\"\",\"service_type\":\"\",\"service_definition\":null,\"payment_method_type\":\"\",\"payment_method\":null,\"provider_id\":\"0x1\",\"provider_contacts\":[]}}"}
 {"level":"trace","time":"2020-03-26T15:19:13+02:00","message":"Message \"*.proposal-ping\" sending: {\"proposal\":{\"id\":0,\"format\":\"\",\"service_type\":\"\",\"service_definition\":null,\"payment_method_type\":\"\",\"payment_method\":null,\"provider_id\":\"0x1\",\"provider_contacts\":[]}}"}
 {"level":"trace","time":"2020-03-26T15:19:13+02:00","message":"Message \"*.proposal-register\" received: {\n\t\t\"proposal\": {\"provider_id\": \"0x1\", \"service_type\": \"mock_service\", \"payment_method_type\": \"mock_payment\", \"provider_contacts\": [{\"type\":\"mock_contact\"}]}\n\t}"}
 {"level":"error","error":"nats: invalid subscription","time":"2020-03-26T15:19:13+02:00","message":"Failed to unsubscribe from topic: *.proposal-ping"}
 {"level":"error","error":"nats: invalid subscription","time":"2020-03-26T15:19:13+02:00","message":"Failed to unsubscribe from topic: *.proposal-unregister"}
 {"level":"error","error":"nats: invalid subscription","time":"2020-03-26T15:19:13+02:00","message":"Failed to unsubscribe from topic: *.proposal-register"}
 {"level":"trace","time":"2020-03-26T15:19:13+02:00","message":"Message \"*.proposal-register\" received: {\n\t\t\"proposal\": {\"provider_id\": \"0x1\", \"service_type\": \"unknown\"}\n\t}"}
 {"level":"error","error":"nats: invalid subscription","time":"2020-03-26T15:19:13+02:00","message":"Failed to unsubscribe from topic: *.proposal-ping"}
 {"level":"error","error":"nats: invalid subscription","time":"2020-03-26T15:19:13+02:00","message":"Failed to unsubscribe from topic: *.proposal-unregister"}
 {"level":"error","error":"nats: invalid subscription","time":"2020-03-26T15:19:13+02:00","message":"Failed to unsubscribe from topic: *.proposal-register"}
 {"level":"trace","time":"2020-03-26T15:19:13+02:00","message":"Message \"*.proposal-register\" received: {\n\t\t\"proposal\": {\"provider_id\": \"0x1\"}\n\t}"}
 {"level":"error","error":"nats: invalid subscription","time":"2020-03-26T15:19:13+02:00","message":"Failed to unsubscribe from topic: *.proposal-ping"}
 {"level":"error","error":"nats: invalid subscription","time":"2020-03-26T15:19:13+02:00","message":"Failed to unsubscribe from topic: *.proposal-unregister"}
 {"level":"error","error":"nats: invalid subscription","time":"2020-03-26T15:19:13+02:00","message":"Failed to unsubscribe from topic: *.proposal-register"}
 {"level":"trace","time":"2020-03-26T15:19:13+02:00","message":"Message \"*.proposal-ping\" received: {\n\t\t\"proposal\": {\"provider_id\": \"0x1\", \"service_type\": \"mock_service\", \"payment_method_type\": \"mock_payment\", \"provider_contacts\": [{\"type\":\"mock_contact\"}]}\n\t}"}
 {"level":"trace","time":"2020-03-26T15:19:13+02:00","message":"Message \"*.proposal-register\" received: {\n\t\t\"proposal\": {\"provider_id\": \"0x1\", \"service_type\": \"mock_service\", \"payment_method_type\": \"mock_payment\", \"provider_contacts\": [{\"type\":\"mock_contact\"}]}\n\t}"}
 {"level":"error","error":"nats: invalid subscription","time":"2020-03-26T15:19:13+02:00","message":"Failed to unsubscribe from topic: *.proposal-ping"}
 ==================
 WARNING: DATA RACE
 Write at 0x00c0004d0120 by goroutine 47:
   github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery.(*ProposalStorage).AddProposal()
       /home/gitlab-runner/go/src/github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery/storage.go:135 +0x3f7
   github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery.(*Repository).proposalPingMessage()
       /home/gitlab-runner/go/src/github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery/repository.go:134 +0x13c
   github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery.(*Repository).proposalPingMessage-fm()
       /home/gitlab-runner/go/src/github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery/repository.go:129 +0xbf
   github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery.(*pingConsumer).Consume()
       /home/gitlab-runner/go/src/github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery/messaging_ping.go:64 +0x11f
   github.com/mysteriumnetwork/node/communication/nats.(*receiverNATS).Receive.func1()
       /home/gitlab-runner/go/src/github.com/mysteriumnetwork/node/communication/nats/receiver.go:63 +0x44f
 Previous read at 0x00c0004d0120 by goroutine 43:
   reflect.typedmemmove()
       /usr/lib/go-1.13/src/runtime/mbarrier.go:177 +0x0
   reflect.packEface()
       /usr/lib/go-1.13/src/reflect/value.go:119 +0x103
   reflect.valueInterface()
       /usr/lib/go-1.13/src/reflect/value.go:1033 +0x16f
   reflect.deepValueEqual()
       /usr/lib/go-1.13/src/reflect/deepequal.go:132 +0xa95
 {"level":"error","error":"nats: invalid subscription","time":"2020-03-26T15:19:13+02:00","message":"Failed to unsubscribe from topic: *.proposal-unregister"}
   reflect.deepValueEqual()
       /usr/lib/go-1.13/src/reflect/deepequal.go:101 +0xc50
   reflect.deepValueEqual()
       /usr/lib/go-1.13/src/reflect/deepequal.go:84 +0xf13
   reflect.DeepEqual()
       /usr/lib/go-1.13/src/reflect/deepequal.go:196 +0x2ed
   github.com/stretchr/testify/assert.ObjectsAreEqual()
       /home/gitlab-runner/go/pkg/mod/github.com/stretchr/testify@v1.4.1-0.20200130210847-518a1491c713/assert/assertions.go:65 +0x23b
   github.com/stretchr/testify/assert.Equal()
       /home/gitlab-runner/go/pkg/mod/github.com/stretchr/testify@v1.4.1-0.20200130210847-518a1491c713/assert/assertions.go:343 +0x257
   github.com/stretchr/testify/assert.Exactly()
       /home/gitlab-runner/go/pkg/mod/github.com/stretchr/testify@v1.4.1-0.20200130210847-518a1491c713/assert/assertions.go:478 +0x310
   github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery.Test_Subscriber_StartSyncsHealthyProposals()
       /home/gitlab-runner/go/src/github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery/repository_test.go:139 +0x75a
   testing.tRunner()
       /usr/lib/go-1.13/src/testing/testing.go:909 +0x199
 Goroutine 47 (running) created at:
   github.com/mysteriumnetwork/node/communication/nats.(*ConnectionMock).queueProcessing()
       /home/gitlab-runner/go/src/github.com/mysteriumnetwork/node/communication/nats/connection_mock.go:204 +0x290
 Goroutine 43 (running) created at:
   testing.(*T).Run()
       /usr/lib/go-1.13/src/testing/testing.go:960 +0x651
   testing.runTests.func1()
       /usr/lib/go-1.13/src/testing/testing.go:1202 +0xa6
   testing.tRunner()
       /usr/lib/go-1.13/src/testing/testing.go:909 +0x199
 {"level":"error","error":"nats: invalid subscription","time":"2020-03-26T15:19:13+02:00","message":"Failed to unsubscribe from topic: *.proposal-register"}
   testing.runTests()
       /usr/lib/go-1.13/src/testing/testing.go:1200 +0x521
   testing.(*M).Run()
       /usr/lib/go-1.13/src/testing/testing.go:1117 +0x2ff
   main.main()
       _testmain.go:134 +0x337
 ==================
 ==================
 WARNING: DATA RACE
 Write at 0x00c0004d0148 by goroutine 47:
   github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery.(*ProposalStorage).AddProposal()
       /home/gitlab-runner/go/src/github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery/storage.go:135 +0x3f7
   github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery.(*Repository).proposalPingMessage()
       /home/gitlab-runner/go/src/github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery/repository.go:134 +0x13c
   github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery.(*Repository).proposalPingMessage-fm()
       /home/gitlab-runner/go/src/github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery/repository.go:129 +0xbf
 --- FAIL: Test_Subscriber_StartSyncsHealthyProposals (0.00s)
   github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery.(*pingConsumer).Consume()
       /home/gitlab-runner/go/src/github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery/messaging_ping.go:64 +0x11f
   github.com/mysteriumnetwork/node/communication/nats.(*receiverNATS).Receive.func1()
       /home/gitlab-runner/go/src/github.com/mysteriumnetwork/node/communication/nats/receiver.go:63 +0x44f
 Previous read at 0x00c0004d0148 by goroutine 43:
   reflect.deepValueEqual()
       /usr/lib/go-1.13/src/reflect/value.go:1071 +0x8e1
   reflect.deepValueEqual()
       /usr/lib/go-1.13/src/reflect/deepequal.go:101 +0xc50
   reflect.deepValueEqual()
       /usr/lib/go-1.13/src/reflect/deepequal.go:84 +0xf13
   reflect.DeepEqual()
       /usr/lib/go-1.13/src/reflect/deepequal.go:196 +0x2ed
   github.com/stretchr/testify/assert.ObjectsAreEqual()
       /home/gitlab-runner/go/pkg/mod/github.com/stretchr/testify@v1.4.1-0.20200130210847-518a1491c713/assert/assertions.go:65 +0x23b
     testing.go:853: race detected during execution of test
   github.com/stretchr/testify/assert.Equal()
       /home/gitlab-runner/go/pkg/mod/github.com/stretchr/testify@v1.4.1-0.20200130210847-518a1491c713/assert/assertions.go:343 +0x257
   github.com/stretchr/testify/assert.Exactly()
       /home/gitlab-runner/go/pkg/mod/github.com/stretchr/testify@v1.4.1-0.20200130210847-518a1491c713/assert/assertions.go:478 +0x310
   github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery.Test_Subscriber_StartSyncsHealthyProposals()
       /home/gitlab-runner/go/src/github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery/repository_test.go:139 +0x75a
   testing.tRunner()
       /usr/lib/go-1.13/src/testing/testing.go:909 +0x199
 Goroutine 47 (running) created at:
   github.com/mysteriumnetwork/node/communication/nats.(*ConnectionMock).queueProcessing()
       /home/gitlab-runner/go/src/github.com/mysteriumnetwork/node/communication/nats/connection_mock.go:204 +0x290
 Goroutine 43 (running) created at:
   testing.(*T).Run()
       /usr/lib/go-1.13/src/testing/testing.go:960 +0x651
   testing.runTests.func1()
       /usr/lib/go-1.13/src/testing/testing.go:1202 +0xa6
   testing.tRunner()
       /usr/lib/go-1.13/src/testing/testing.go:909 +0x199
   testing.runTests()
       /usr/lib/go-1.13/src/testing/testing.go:1200 +0x521
   testing.(*M).Run()
       /usr/lib/go-1.13/src/testing/testing.go:1117 +0x2ff
   main.main()
       _testmain.go:134 +0x337
 ==================
 ==================
 WARNING: DATA RACE
 Write at 0x00c0004d0188 by goroutine 47:
   github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery.(*ProposalStorage).AddProposal()
       /home/gitlab-runner/go/src/github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery/storage.go:135 +0x3f7
   github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery.(*Repository).proposalPingMessage()
       /home/gitlab-runner/go/src/github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery/repository.go:134 +0x13c
   github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery.(*Repository).proposalPingMessage-fm()
       /home/gitlab-runner/go/src/github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery/repository.go:129 +0xbf
   github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery.(*pingConsumer).Consume()
       /home/gitlab-runner/go/src/github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery/messaging_ping.go:64 +0x11f
   github.com/mysteriumnetwork/node/communication/nats.(*receiverNATS).Receive.func1()
       /home/gitlab-runner/go/src/github.com/mysteriumnetwork/node/communication/nats/receiver.go:63 +0x44f
 Previous read at 0x00c0004d0188 by goroutine 43:
   reflect.deepValueEqual()
       /usr/lib/go-1.13/src/reflect/value.go:1071 +0x1016
   reflect.deepValueEqual()
       /usr/lib/go-1.13/src/reflect/deepequal.go:101 +0xc50
   reflect.deepValueEqual()
       /usr/lib/go-1.13/src/reflect/deepequal.go:84 +0xf13
   reflect.DeepEqual()
       /usr/lib/go-1.13/src/reflect/deepequal.go:196 +0x2ed
   github.com/stretchr/testify/assert.ObjectsAreEqual()
       /home/gitlab-runner/go/pkg/mod/github.com/stretchr/testify@v1.4.1-0.20200130210847-518a1491c713/assert/assertions.go:65 +0x23b
   github.com/stretchr/testify/assert.Equal()
       /home/gitlab-runner/go/pkg/mod/github.com/stretchr/testify@v1.4.1-0.20200130210847-518a1491c713/assert/assertions.go:343 +0x257
   github.com/stretchr/testify/assert.Exactly()
       /home/gitlab-runner/go/pkg/mod/github.com/stretchr/testify@v1.4.1-0.20200130210847-518a1491c713/assert/assertions.go:478 +0x310
   github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery.Test_Subscriber_StartSyncsHealthyProposals()
       /home/gitlab-runner/go/src/github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery/repository_test.go:139 +0x75a
   testing.tRunner()
       /usr/lib/go-1.13/src/testing/testing.go:909 +0x199
 Goroutine 47 (running) created at:
   github.com/mysteriumnetwork/node/communication/nats.(*ConnectionMock).queueProcessing()
       /home/gitlab-runner/go/src/github.com/mysteriumnetwork/node/communication/nats/connection_mock.go:204 +0x290
 Goroutine 43 (finished) created at:
   testing.(*T).Run()
       /usr/lib/go-1.13/src/testing/testing.go:960 +0x651
   testing.runTests.func1()
       /usr/lib/go-1.13/src/testing/testing.go:1202 +0xa6
   testing.tRunner()
       /usr/lib/go-1.13/src/testing/testing.go:909 +0x199
   testing.runTests()
       /usr/lib/go-1.13/src/testing/testing.go:1200 +0x521
   testing.(*M).Run()
       /usr/lib/go-1.13/src/testing/testing.go:1117 +0x2ff
   main.main()
       _testmain.go:134 +0x337
 ==================
 ==================
 WARNING: DATA RACE
 Write at 0x00c0004d0190 by goroutine 47:
   github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery.(*ProposalStorage).AddProposal()
       /home/gitlab-runner/go/src/github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery/storage.go:135 +0x3f7
   github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery.(*Repository).proposalPingMessage()
       /home/gitlab-runner/go/src/github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery/repository.go:134 +0x13c
   github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery.(*Repository).proposalPingMessage-fm()
       /home/gitlab-runner/go/src/github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery/repository.go:129 +0xbf
   github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery.(*pingConsumer).Consume()
       /home/gitlab-runner/go/src/github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery/messaging_ping.go:64 +0x11f
   github.com/mysteriumnetwork/node/communication/nats.(*receiverNATS).Receive.func1()
       /home/gitlab-runner/go/src/github.com/mysteriumnetwork/node/communication/nats/receiver.go:63 +0x44f
 Previous read at 0x00c0004d0190 by goroutine 43:
   reflect.Value.Len()
       /usr/lib/go-1.13/src/reflect/value.go:1145 +0x1f2
   reflect.deepValueEqual()
       /usr/lib/go-1.13/src/reflect/deepequal.go:77 +0xd4a
   reflect.deepValueEqual()
       /usr/lib/go-1.13/src/reflect/deepequal.go:101 +0xc50
   reflect.deepValueEqual()
       /usr/lib/go-1.13/src/reflect/deepequal.go:84 +0xf13
   reflect.DeepEqual()
       /usr/lib/go-1.13/src/reflect/deepequal.go:196 +0x2ed
   github.com/stretchr/testify/assert.ObjectsAreEqual()
       /home/gitlab-runner/go/pkg/mod/github.com/stretchr/testify@v1.4.1-0.20200130210847-518a1491c713/assert/assertions.go:65 +0x23b
   github.com/stretchr/testify/assert.Equal()
       /home/gitlab-runner/go/pkg/mod/github.com/stretchr/testify@v1.4.1-0.20200130210847-518a1491c713/assert/assertions.go:343 +0x257
   github.com/stretchr/testify/assert.Exactly()
       /home/gitlab-runner/go/pkg/mod/github.com/stretchr/testify@v1.4.1-0.20200130210847-518a1491c713/assert/assertions.go:478 +0x310
   github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery.Test_Subscriber_StartSyncsHealthyProposals()
       /home/gitlab-runner/go/src/github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery/repository_test.go:139 +0x75a
   testing.tRunner()
       /usr/lib/go-1.13/src/testing/testing.go:909 +0x199
 Goroutine 47 (running) created at:
   github.com/mysteriumnetwork/node/communication/nats.(*ConnectionMock).queueProcessing()
       /home/gitlab-runner/go/src/github.com/mysteriumnetwork/node/communication/nats/connection_mock.go:204 +0x290
 Goroutine 43 (finished) created at:
   testing.(*T).Run()
       /usr/lib/go-1.13/src/testing/testing.go:960 +0x651
   testing.runTests.func1()
       /usr/lib/go-1.13/src/testing/testing.go:1202 +0xa6
   testing.tRunner()
       /usr/lib/go-1.13/src/testing/testing.go:909 +0x199
   testing.runTests()
       /usr/lib/go-1.13/src/testing/testing.go:1200 +0x521
   testing.(*M).Run()
       /usr/lib/go-1.13/src/testing/testing.go:1117 +0x2ff
   main.main()
       _testmain.go:134 +0x337
 ==================
 ==================
 WARNING: DATA RACE
 Write at 0x00c0004d01a0 by goroutine 47:
   github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery.(*ProposalStorage).AddProposal()
       /home/gitlab-runner/go/src/github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery/storage.go:135 +0x3f7
   github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery.(*Repository).proposalPingMessage()
       /home/gitlab-runner/go/src/github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery/repository.go:134 +0x13c
   github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery.(*Repository).proposalPingMessage-fm()
       /home/gitlab-runner/go/src/github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery/repository.go:129 +0xbf
   github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery.(*pingConsumer).Consume()
       /home/gitlab-runner/go/src/github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery/messaging_ping.go:64 +0x11f
   github.com/mysteriumnetwork/node/communication/nats.(*receiverNATS).Receive.func1()
       /home/gitlab-runner/go/src/github.com/mysteriumnetwork/node/communication/nats/receiver.go:63 +0x44f
 Previous read at 0x00c0004d01a0 by goroutine 43:
   reflect.Value.Pointer()
       /usr/lib/go-1.13/src/reflect/value.go:97 +0xba
   reflect.deepValueEqual()
       /usr/lib/go-1.13/src/reflect/deepequal.go:95 +0x1744
   reflect.deepValueEqual()
       /usr/lib/go-1.13/src/reflect/deepequal.go:101 +0xc50
   reflect.deepValueEqual()
       /usr/lib/go-1.13/src/reflect/deepequal.go:84 +0xf13
   reflect.DeepEqual()
       /usr/lib/go-1.13/src/reflect/deepequal.go:196 +0x2ed
   github.com/stretchr/testify/assert.ObjectsAreEqual()
       /home/gitlab-runner/go/pkg/mod/github.com/stretchr/testify@v1.4.1-0.20200130210847-518a1491c713/assert/assertions.go:65 +0x23b
   github.com/stretchr/testify/assert.Equal()
       /home/gitlab-runner/go/pkg/mod/github.com/stretchr/testify@v1.4.1-0.20200130210847-518a1491c713/assert/assertions.go:343 +0x257
   github.com/stretchr/testify/assert.Exactly()
       /home/gitlab-runner/go/pkg/mod/github.com/stretchr/testify@v1.4.1-0.20200130210847-518a1491c713/assert/assertions.go:478 +0x310
   github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery.Test_Subscriber_StartSyncsHealthyProposals()
       /home/gitlab-runner/go/src/github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery/repository_test.go:139 +0x75a
   testing.tRunner()
       /usr/lib/go-1.13/src/testing/testing.go:909 +0x199
 Goroutine 47 (running) created at:
   github.com/mysteriumnetwork/node/communication/nats.(*ConnectionMock).queueProcessing()
       /home/gitlab-runner/go/src/github.com/mysteriumnetwork/node/communication/nats/connection_mock.go:204 +0x290
 Goroutine 43 (finished) created at:
   testing.(*T).Run()
       /usr/lib/go-1.13/src/testing/testing.go:960 +0x651
   testing.runTests.func1()
       /usr/lib/go-1.13/src/testing/testing.go:1202 +0xa6
   testing.tRunner()
       /usr/lib/go-1.13/src/testing/testing.go:909 +0x199
   testing.runTests()
       /usr/lib/go-1.13/src/testing/testing.go:1200 +0x521
   testing.(*M).Run()
       /usr/lib/go-1.13/src/testing/testing.go:1117 +0x2ff
   main.main()
       _testmain.go:134 +0x337
 ==================
 {"level":"debug","time":"2020-03-26T15:19:13+02:00","message":"Message \"*.proposal-unregister\" received: {\n\t\t\"proposal\": {\"provider_id\": \"0x1\", \"service_type\": \"mock_service\", \"payment_method_type\": \"mock_payment\", \"provider_contacts\": [{\"type\":\"mock_contact\"}]}\n\t}"}
 {"level":"error","error":"nats: invalid subscription","time":"2020-03-26T15:19:13+02:00","message":"Failed to unsubscribe from topic: *.proposal-ping"}
 {"level":"error","error":"nats: invalid subscription","time":"2020-03-26T15:19:13+02:00","message":"Failed to unsubscribe from topic: *.proposal-unregister"}
 {"level":"error","error":"nats: invalid subscription","time":"2020-03-26T15:19:13+02:00","message":"Failed to unsubscribe from topic: *.proposal-register"}
 --- FAIL: Test_Subscriber_StartSyncsStoppedProposals (0.00s)
     testing.go:853: race detected during execution of test
 FAIL
 coverage: 93.3% of statements
 FAIL	github.com/mysteriumnetwork/node/core/discovery/brokerdiscovery	0.066s
@anjmao anjmao self-assigned this Apr 1, 2020
@anjmao
Copy link
Contributor

anjmao commented Apr 1, 2020

Should be fixed with #1986

@anjmao anjmao closed this as completed Apr 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants