This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Errors running Arm NN UnitTests on Android

Hi,

I have folllowed instructions at https://github.com/ARM-software/armnn/blob/branches/armnn_19_08/BuildGuideAndroidNDK.md to build Arm NN and its dependencies, and I have succeded with the build. 

I have then tried to run the UnitTests on a Samsung Galaxy S8 (Exynos) but the tests crash with the following errors:

dreamlte:/ $ LD_LIBRARY_PATH=/data/local/tmp /data/local/tmp/UnitTests
Running 2430 test cases...
/home/lorenzo/armnn-devenv/armnn/src/backends/backendsCommon/test/DynamicBackendTests.hpp(158): error: in "DynamicBackendTests/OpenCloseHandle": check exists(fileNamePath) has failed
/home/lorenzo/armnn-devenv/armnn/src/backends/backendsCommon/test/DynamicBackendTests.hpp(171): error: in "DynamicBackendTests/OpenCloseHandle": unexpected exception thrown by sharedObjectHandle = DynamicBackendUtils::OpenHandle(sharedObjectFilePath)
/home/lorenzo/armnn-devenv/armnn/src/backends/backendsCommon/test/DynamicBackendTests.hpp(172): error: in "DynamicBackendTests/OpenCloseHandle": check (sharedObjectHandle != nullptr) has failed
/home/lorenzo/armnn-devenv/armnn/src/backends/backendsCommon/test/DynamicBackendTests.hpp(158): error: in "DynamicBackendTests/OpenNotSharedObjectFile": check exists(fileNamePath) has failed
/home/lorenzo/armnn-devenv/armnn/src/backends/backendsCommon/test/DynamicBackendTests.hpp(158): error: in "DynamicBackendTests/GetValidEntryPoint": check exists(fileNamePath) has failed
/home/lorenzo/armnn-devenv/armnn/src/backends/backendsCommon/test/DynamicBackendTests.hpp(223): error: in "DynamicBackendTests/GetValidEntryPoint": unexpected exception thrown by sharedObjectHandle = DynamicBackendUtils::OpenHandle(sharedObjectFilePath)
/home/lorenzo/armnn-devenv/armnn/src/backends/backendsCommon/test/DynamicBackendTests.hpp(224): error: in "DynamicBackendTests/GetValidEntryPoint": check (sharedObjectHandle != nullptr) has failed
/home/lorenzo/armnn-devenv/armnn/src/backends/backendsCommon/test/DynamicBackendTests.hpp(229): error: in "DynamicBackendTests/GetValidEntryPoint": unexpected exception thrown by testFunctionPointer = DynamicBackendUtils::GetEntryPoint<TestFunctionType>(sharedObjectHandle, "TestFunction1")
/home/lorenzo/armnn-devenv/armnn/src/backends/backendsCommon/test/DynamicBackendTests.hpp(230): error: in "DynamicBackendTests/GetValidEntryPoint": check (testFunctionPointer != nullptr) has failed
Segmentation fault