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

Panic when post-test.sh fails #34

Open
guillaumerose opened this issue Nov 20, 2017 · 0 comments
Open

Panic when post-test.sh fails #34

guillaumerose opened this issue Nov 20, 2017 · 0 comments

Comments

@guillaumerose
Copy link

Having a failure in post-test.sh involved a panic.

panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x20 pc=0x537ca8]

goroutine 1 [running]:
github.com/linuxkit/rtf/local.(*Test).Run(0xc0421456c0, 0x1, 0x862cd4, 0x5, 0xc0421b3c00, 0x65, 0xa74520, 0xc042002e20, 0x86204d, 0x3, ...)
	C:/Users/docker/go/src/github.com/linuxkit/rtf/local/test.go:154 +0xa58
github.com/linuxkit/rtf/local.(*Group).Run(0xc04211fab0, 0x1, 0x862cd4, 0x5, 0xc0421b3c00, 0x65, 0xa74520, 0xc042002e20, 0x86204d, 0x3, ...)

I suspect this return : https://github.com/linuxkit/rtf/blob/master/local/script.go#L143
res.TestResult can be different than Pass and have nil error.

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

1 participant