-
-
Notifications
You must be signed in to change notification settings - Fork 179
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
Support very large test results #231
Comments
This are 6.31 GB of test results, wow! Let me see what I can do ... |
haha, yes. I tried it on a local download and the cli tool crashed as it's not streaming either.
|
Since you are running with |
yes, exactly. I need to find the right incantation of a shell command to do that. Something like this should work, though not quite right yet: |
I think will do it as the preprocessing step. find . -type f -name "*.xml" -exec sh -c 'grep testsuite {} > {}.out && mv {}.out {}' \; closing and off to give it a try. |
Thanks for reporting, I am curious about any workaround that works for you. |
kicked off a job, but it will take ~2 hours for the full run. |
Can you test the action from this branch:
That should not require you modifying the XML files. I may make this available through a new option. This branch is just a PoC. |
Sure, here's that job |
The first job looks ok, the parsing errors will go away when you point
The reported |
I kicked off another job with that fix. 🙁 |
And, as a side note: with matrix strategy, you have to give the jobs individual |
right, I intend to use an artifact and separate |
Looks like it attached to the examples workflow, oddly enough, but still got a nice summary. |
Yep, that looks much nicer. Odd as probably both on chrome? |
OK, so the branch works equally well, no need to preprocess the files then. |
This has been released as v1.31, available via v1. |
Thanks! I pushed the switch over to this new config option. |
Thanks for testing, I am watching that job. |
This is great! I had to estimate counts before since it is so huge. 🙂 For this project the complexity is very high and beyond what I can mentally track. I decided to brute force testing was a good safety net, even if sometimes excessive. The ~2000 tests methods are parameterized to run for every valid configuration (a cartesian product of the specification constraints), which catches a lot of simple mistakes during development that happen only in some cases. One of those settings is the backing implementation, where Google's Guava is a reference to assert similar behavior. I also ported unit test suite from the jdk, eclipse, apache, and google to fill in gaps due to lack of imagination. I then throw in many static analyzers, etc in hopes of catching whatever remains. Adding features or tests for bug fixes inches those numbers further. All of that is to say that the project is too complex for my meager brain so I copped out and burn cpu cycles instead 😄 |
My project produces millions of test executions over a 2 hour build. I was hoping to use this action for a summary of the results, which would be a lightweight as just the counts at the suite level. Unfortunately the action failed with an out of memory error (exit code 137). Can the results be processed in a streaming fashion rather than read fully into memory, which avoids having a limit?
A possible workaround that I might try is to delete all the test methods prior to processing, e.g.
xml ed -L -d "/testsuite/*" test.xml
The text was updated successfully, but these errors were encountered: