Skip to content
This repository has been archived by the owner on Mar 5, 2022. It is now read-only.

make bddtests error #421

Open
rockyhwang opened this issue Sep 17, 2020 · 1 comment
Open

make bddtests error #421

rockyhwang opened this issue Sep 17, 2020 · 1 comment

Comments

@rockyhwang
Copy link

time="2020-09-17T13:30:59+08:00" level=info msg="... got response: "
F--------------- 519

--- Failed steps:

Scenario: Attempt to access Sidetree endpoints without providing an auth token # features/did-sidetree.feature:191
And fabric-cli is executed with args "ledgerconfig update --configfile ./fixtures/config/fabric/mychannel-org2-config.json --noprompt" # features/did-sidetree.feature:49
Error: [fabsdk/client] 2020/09/17 05:30:59 UTC - dynamicdiscovery.(*ChannelService).evaluate -> WARN error from discovery request [localhost:7251]: From target: localhost:7251: could not connect to localhost:7251: dialing connection on target [localhost:7251]: waiting for connection failed: context deadline exceeded
[fabsdk/client] 2020/09/17 05:30:59 UTC - dynamicdiscovery.(*ChannelService).evaluate -> WARN error from discovery request [localhost:8151]: From target: localhost:8151: could not connect to localhost:8151: dialing connection on target [localhost:8151]: waiting for connection failed: context deadline exceeded
Error: error getting peers from discovery service for channel [mychannel]: no successful response received from any peer: Multiple errors occurred: - target [localhost:7251]: From target: localhost:7251: could not connect to localhost:7251: dialing connection on target [localhost:7251]: waiting for connection failed: context deadline exceeded - target [localhost:8151]: From target: localhost:8151: could not connect to localhost:8151: dialing connection on target [localhost:8151]: waiting for connection failed: context deadline exceeded

github.com/trustbloc/sidetree-fabric/test/bddtests.(*FabricCLI).Exec
/home/rocky/go/projects/TWCC_Block/sidetree-fabric/test/bddtests/fabriccli.go:51
github.com/trustbloc/sidetree-fabric/test/bddtests.(*FabricCLISteps).execute
/home/rocky/go/projects/TWCC_Block/sidetree-fabric/test/bddtests/fabriccli_steps.go:89
reflect.Value.call
/usr/local/go/src/reflect/value.go:460
reflect.Value.Call
/usr/local/go/src/reflect/value.go:321
github.com/cucumber/godog.(*StepDef).run
/home/rocky/go/pkg/mod/github.com/cucumber/[email protected]/stepdef.go:201
github.com/cucumber/godog.(*Suite).runStep
/home/rocky/go/pkg/mod/github.com/cucumber/[email protected]/suite.go:350
github.com/cucumber/godog.(*Suite).runSteps
/home/rocky/go/pkg/mod/github.com/cucumber/[email protected]/suite.go:435
github.com/cucumber/godog.(*Suite).runScenario
/home/rocky/go/pkg/mod/github.com/cucumber/[email protected]/suite.go:638
github.com/cucumber/godog.(*Suite).runFeature
/home/rocky/go/pkg/mod/github.com/cucumber/[email protected]/suite.go:607
github.com/cucumber/godog.(*Suite).run
/home/rocky/go/pkg/mod/github.com/cucumber/[email protected]/suite.go:267
github.com/cucumber/godog.(*runner).run
/home/rocky/go/pkg/mod/github.com/cucumber/[email protected]/run.go:118
github.com/cucumber/godog.RunWithOptions
/home/rocky/go/pkg/mod/github.com/cucumber/[email protected]/run.go:215
github.com/trustbloc/sidetree-fabric/test/bddtests.TestMain
/home/rocky/go/projects/TWCC_Block/sidetree-fabric/test/bddtests/bddtests_test.go:47
main.main
_testmain.go:106
runtime.main
/usr/local/go/src/runtime/proc.go:203
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1373

11 scenarios (10 passed, 1 failed)
519 steps (503 passed, 1 failed, 15 skipped)
13m29.172927643s

Randomized with seed: 1600319872426629207
testing: warning: no tests to run
PASS
coverage: 54.8% of statements
FAIL github.com/trustbloc/sidetree-fabric/test/bddtests 809.187s
FAIL
make: *** [Makefile:99: bddtests] Error 1

@yiannakpavy
Copy link

@rockyhwang Were you able to get passed this error? I'm seeing the same thing...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants