Skip to content

Parallel execution of "Statement coverage" check does not terminate #615

Open
@ThomasErgin

Description

@ThomasErgin

Check Name
This issue is related to the check "Statement Coverage" and likely to other unit test checks, such as "Procedure Coverage" and "Branch Coverage"

Actual Behavior
I want to measure the unit test coverage of a large set of unit tests. This would allow me to assess, the completeness of the unit tests from my developers in a large software project. Therefore, I schedule a scan run with transaction SCI using the check "Statement Coverage". I notice that the job starts forking away parallel processes with packages of objects to scan. These workprocesses will terminate after a while. However, the main workprocess keeps running for days without finishing. It seems to be WAITing in source LSPTA_NEWF02, line 550 (method lcl_parallel_processor->run( ) ) without beeing able to terminate properly. I recon, that failures in the execution of unit tests are somewhere not properly caught, what causes the parallel workprocesses to terminate, without messaging back to the main batchjob, that they have been terminated.

Expected Behavior
I would expect, that when a unit test fails or causes the unit test execution framework to stop, that still the scan run will terminate and record the results so far. I appears, that errors from the unit test execution framework are not properly caught.

I've already opened an incident with the SAP AG, but SAP claimed, this is coming from the CodePal and they do not feel responsible to solve that.

I know, this description is quite vague. I dind'nt found the particular unit test yet, that causes a scan process terminate in such a way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working correctly

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions