no tests detected after upgrading to 2022.4

After upgrading self hosted Teamcity server to 2022.4, the .net build fails with 0 detected tests (.net test) (failure condition on number of executed tests and number of passed tests). Also on the build report page, the test report tab is missing.

In the build logs it is seen that all tests were executed and also all tests with correct status can be found in test report .trx file.

Using self hosted server, the build agent is running on the same machine, only 1 build agent is present, no parallel test execution is set.

Tested using version 2022.4 and 2022.4.1 

 

Update:

Appears that the "Do not build the projects" option is the cause of the issue.

If building is disabled, the following is reported in the log:

"The following arguments have been ignored : "--no-build /logger:teamcity""

 

If I enable test building in the configuration, test are being detected, test tab appears, but some tests are missing (~80 tests out of ~4500)

 

0

Please sign in to leave a comment.