Skip to content

NUnit Failure -100 upon completion of all tests #1834

Description

@jpwkeeper-ship-it

I'm currently running NUnit-Console 3.22 in TeamCity.
My unit tests are all passing, but when the block of tests is over I get an error -100 (Unexpected Error) when the console tries to close down, causing my build step to fail.
I do not see the same issues running the tests locally, although it is not quite apples-to-apples since I can't figure out how to get NUnit console fully up and running with agents since there does not appear to be an installer for it.
I have over 37,000 tests, so manually weeding them out really isn't an option.
How do I find more information about what is causing this unexpected error to at least narrow it down? It happens when the tests are run and done, not in the middle of a specific test.

This is all I see in the log:
[10:18:30] : [Step 6/12] NUnit.Engine.NUnitEngineUnloadException : Multiple exceptions encountered. Retrieve AggregatedExceptions property for more information
[10:18:30] : [Step 6/12] ----> System.Net.Sockets.SocketException : No connection could be made because the target machine actively refused it 127.0.0.1:62054
[10:18:30]W: [Step 6/12] Process exited with code -100
[10:18:30]E: [Step 6/12] NUnit process finished with negative exit code -100 (unexpected failure).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions