lsds / sgx-lkl

SGX-LKL Library OS for running Linux applications inside of Intel SGX enclaves

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Test] LTP test is not reported failed if binary is not built successfully

hukoyu opened this issue · comments

As can be seen from PR lsds/ltp#74
Some LTP tests were having build errors and binaries were not created, and test was enabled in sgx-lkl.

but ltp test runner script looks like cannot report test failed if test binary is missing. The test is not reported at all so it is not easy to catch such failures and one can assume test passed if there is no any failure.

Fix it an report that test binary is not available as failure in CI pipeline

I investigated this and if the test binary is not available, actually non-zero exit code is returned and test failed. It must be something else. I will have an eye on this issue. For now there is nothing to do. Lowering priority to p3.

Closing this issue and will reopen if I see a repeatable case.