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

make bddtests error #421

@rockyhwang

Description

@rockyhwang

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/godog@v0.8.1/stepdef.go:201
github.com/cucumber/godog.(*Suite).runStep
/home/rocky/go/pkg/mod/github.com/cucumber/godog@v0.8.1/suite.go:350
github.com/cucumber/godog.(*Suite).runSteps
/home/rocky/go/pkg/mod/github.com/cucumber/godog@v0.8.1/suite.go:435
github.com/cucumber/godog.(*Suite).runScenario
/home/rocky/go/pkg/mod/github.com/cucumber/godog@v0.8.1/suite.go:638
github.com/cucumber/godog.(*Suite).runFeature
/home/rocky/go/pkg/mod/github.com/cucumber/godog@v0.8.1/suite.go:607
github.com/cucumber/godog.(*Suite).run
/home/rocky/go/pkg/mod/github.com/cucumber/godog@v0.8.1/suite.go:267
github.com/cucumber/godog.(*runner).run
/home/rocky/go/pkg/mod/github.com/cucumber/godog@v0.8.1/run.go:118
github.com/cucumber/godog.RunWithOptions
/home/rocky/go/pkg/mod/github.com/cucumber/godog@v0.8.1/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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions