lsds / sgx-lkl

SGX-LKL Library OS for running Linux applications inside of Intel SGX enclaves
MIT License
257 stars 89 forks source link

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

Closed hukoyu closed 4 years ago

hukoyu commented 4 years ago

As can be seen from PR https://github.com/lsds/ltp/pull/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

hukoyu commented 4 years ago

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.

hukoyu commented 4 years ago

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