TestComplete ExitCode -805306369
today, I logged in into our CI and saw that our tests were running since 157 hours (=6 days). So I logged in to the PC running TestComplete and saw that it was basically doing nothing, it opened the ProjectSuite and then nothing happened, it did not run anything. So I clicked on "Stop Test Run" and it saved the log and exited, but the CI told me that the Exit Code was -805306369. Unfortunately, this Exit Code is not documented here.
The testlog itself told me that it actually did something, like installing the app and running the tests except that the test device did not show anything of that 🙂
Does anyone know something about that exit code? It would be a great help.
Solved! Go to Solution.
Are you running against something using Java? (Or is something on the CI box using Java?)
All mentions I can find about that error code seem to be related to Java JVM's?
This exit code is related to out of memory exception. Can you confirm that the application was working fine in the previous releases? If so it could be a problem with the application component/corrupted workspace / JVM not being allocated enough memory.
If you have access to dev team you can double check with them to ensure the problem is not from the application side.
An out of resource error actually makes sense on running a test for 6 days, especially if TC/TE is writing out a bunch of logs.
Just a curiousity question: is it normal for your tests to take a long time to run? I'd actually be concerned after 1 day if I haven't received a notification that a test run is complete.
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.
Mysterious Gremlin Master
Vegas Thrill Rider
Our CI is TeamCity, which is Java based, but it runs TestComplete by executing a cmd-Script in the Winows command line, so Java should not matter, in my opinion. Our Application under test is actually a Android App and we use the Visual Studio Emulator for Android to run it.
And we use TestComplete 11, latest release btw
No, usually our tests take 15 Minutes, but I guess that something happened right at the beginning and I simply didn't see it as I did not log in into the CI for 6 days.
Our CI is TeamCity, which is Java based, but it runs TestComplete by executing a cmd-Script in the Winows command line, so Java should not matter, in my opinion.
Well, if TeamCity is invoking TC/TE, and is Java based, and was trying to start/run/do-something with TC/TE for 6 days, I'd say there is a VERY good chance that a JVM involved could well run out of memory!
After 6 days of trying, and failing, to run, it's hardly surprising that it didn't work if you just jumped in manually and tried to run it as is. Did you clear out an reset everything? All the Java pages talking about that error talked about clearing down the JVM causing the problem.
But again, I'm not convinced this is really a TC/TE problem. Sounds more like the setup running it has got itself tied in knots. Clean that up first ....
Hmm, the TeamCity BuildAgent software is actually designed for months without beeing touched, so I don't see a problem there. Anyway, it was simply waiting for TC since TC simply got stuck somehow.
But if TC got "stuck" for 6 days ..... in the invocation process in TeamCity ..... which is Java based ...... you see where I'm going with this?
ok, so this explains the exit code but not the actual reason.
I guess I will have a look at it and see if th eissue still appears, thanks guys anyway 🙂