Azure Pipelines - tests fail with Exit code 0xc0000142

1

I use Azure DevOps pipelines for testing my C++ codes on several platform including windows.

One of my pipelines fails for tests on windows :

Test project D:/a/1/s/build/opengeodeio
Start 1: test-obj
1/3 Test #1: test-obj .........................Exit code 0xc0000142
***Exception:   0.14 sec
Start 2: test-ply
2/3 Test #2: test-ply .........................Exit code 0xc0000142
***Exception:   0.03 sec
Start 3: test-stl
3/3 Test #3: test-stl .........................Exit code 0xc0000142
***Exception:   0.03 sec

0% tests passed, 3 tests failed out of 3

Total Test time (real) =   0.32 sec

The following tests FAILED:
  1 - test-obj (Exit code 0xc0000142
)
  2 - test-ply (Exit code 0xc0000142
)
  3 - test-stl (Exit code 0xc0000142
)
Errors while running CTest

I search for this error code and it seems that it stands for STATUS_DLL_INIT_FAILED. I have checked that all dlls are in the test folder.

I tried to reproduce that on my machine under windows without success (the tests passed on my machine).

Does anyone have an idea about that? What kind of tests/checks can I do? How to fix that?

Thank you for your help.

c++
windows
azure-devops
azure-pipelines
asked on Stack Overflow Aug 6, 2019 by panquez • edited Aug 6, 2019 by panquez

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0