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

Log Level #386

Open
Virus-Syl opened this issue Sep 16, 2022 · 5 comments
Open

Log Level #386

Virus-Syl opened this issue Sep 16, 2022 · 5 comments

Comments

@Virus-Syl
Copy link

when i set log level as warning or error and exec start ,program panic. My topology like this:
image

2022-09-16 14:26:35.964 CST [nwo.runner] Run -> INFO 015 running [fabric.default-OrdererOrg.orderer] with ginkgo stdout/stderr
panic: Timed out after 1.002s.
Error: Exit must be passed a gexec.Exiter (Missing method ExitCode() int) Got:
: -1

goroutine 69 [running]:
github.com/hyperledger-labs/fabric-smart-client/integration.failMe({0xc000052680?, 0x16?}, {0xc00072d9f8?, 0x5?, 0x5?})
/Users/shengyulong/workspace/go/src/github.com/hyperledger-labs/fabric-smart-client/integration/integration.go:335 +0x2d
github.com/onsi/gomega/internal.(*AsyncAssertion).match.func1({0x4cb76f4, 0x9})
/Users/shengyulong/workspace/go/pkg/mod/github.com/onsi/[email protected]/internal/async_assertion.go:184 +0x31d
github.com/onsi/gomega/internal.(*AsyncAssertion).match(0xc0006440a0, {0x4f344d0, 0xc000638018}, 0x1, {0x0, 0x0, 0x0})
/Users/shengyulong/workspace/go/pkg/mod/github.com/onsi/[email protected]/internal/async_assertion.go:206 +0x598
github.com/onsi/gomega/internal.(*AsyncAssertion).Should(0xc0006440a0, {0x4f344d0, 0xc000638018}, {0x0, 0x0, 0x0})
/Users/shengyulong/workspace/go/pkg/mod/github.com/onsi/[email protected]/internal/async_assertion.go:107 +0x6b
github.com/hyperledger-labs/fabric-smart-client/integration/nwo/common/runner.(*Runner).Run(0xc0002986c0, 0xc0000a8660, 0xc000644000?)
/Users/shengyulong/workspace/go/src/github.com/hyperledger-labs/fabric-smart-client/integration/nwo/common/runner/runner.go:140 +0x10c4
github.com/tedsuo/ifrit.(*process).run(0xc0004e40c0)
/Users/shengyulong/workspace/go/pkg/mod/github.com/tedsuo/[email protected]/process.go:71 +0x31
created by github.com/tedsuo/ifrit.Background
/Users/shengyulong/workspace/go/pkg/mod/github.com/tedsuo/[email protected]/process.go:49 +0x125

@adecaro
Copy link
Contributor

adecaro commented Sep 16, 2022

Hi @Virus-Syl , good catch.
Indeed, we need at least info to allow NWO to catch a log line that signals that the node has started.

Is there a special reason why you want to have 'error` there?

@Virus-Syl
Copy link
Author

I set log level with debug , when the program run,i find memory leak serious. I try to run with info level, it has been improved but Still exist memory leak。

@adecaro
Copy link
Contributor

adecaro commented Sep 16, 2022

oh, this is interesting.
@mbrandenburger, do you want to jump in here?
@Virus-Syl , do you have more info on the memory leak that can help us?

@Virus-Syl
Copy link
Author

image

i rename iou as rbcsn

@adecaro
Copy link
Contributor

adecaro commented Dec 2, 2022

@Virus-Syl , any update on this?

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

No branches or pull requests

2 participants