Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

go2xunit fails to parse test output #12

Closed
bfallik opened this Issue · 6 comments

2 participants

@bfallik

We run go2xunit across several packages like so:

  go test -v pkg1 pkg2 pkg3... | go2xunit

Recently go2xunit failed to parse the test output, spitting out the error "error: orphan output:". Here is sample test output showing the failure: https://gist.github.com/bfallik/37c9a0278ae3024853ae.

If we reorder the tests (e.g. pkg3, pkg1, pkg2 ...) go2xunit parses the output fine. Here is sample test output for the same packages, just reordered, which go2xunit can parse: https://gist.github.com/bfallik/f1971ce5ccd6d088b6f6

I'm not sure what's going on but it seems like the parser is getting confused for certain test output.

@tebeka
Owner

Thanks for reporting. I'll try to take a look soon, however pretty busy this week (moved to a new country ...)

@bfallik

Congrats (?) on the move. Let me know if I can help provide more info on this.

@tebeka
Owner

Which version are you running? I tried your output with 0.2.8 and it seems to work.

@bfallik

$ ./bin/go2xunit -version
0.2.5
Let me upgrade and re-try.

@bfallik

@tebeka Yep, upgrading seems to have addressed it. Sorry for the noise.

@tebeka
Owner
@tebeka tebeka closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.