Skip to content

Instantly share code, notes, and snippets.

@daparic
Last active June 7, 2023 16:36
Show Gist options
  • Select an option

  • Save daparic/73a1708a12b77d8ff288f1d2a1d412d2 to your computer and use it in GitHub Desktop.

Select an option

Save daparic/73a1708a12b77d8ff288f1d2a1d412d2 to your computer and use it in GitHub Desktop.
Starting "Run Tests on Jetson" (Execution) for /area51.1 ...
Collecting tests to be executed...
...done.
Preparing execution flow...
User info...
This recipe needs customization:
Host, test directory and user name need to bo set to correct values
-it use ssh and scp commands to execute and copy data from/to remote hosts
...done.
Finding test cases...
...done.
Precompiling source: /area51.1/area51.1/main.cpp ...
...result is up-to-date.
Appending included test cases for: /area51.1/area51.1/main.cpp ...
...result is up-to-date.
Preparing instrumentation for: /area51.1/area51.1/main.cpp ...
...result is up-to-date.
Instrumenting stubs source: /opt/my/cpptest-eclipse-integration/cpptest/bin/engine/etc/safestubs/safe_stubs_linux.c ...
...result is up-to-date.
Reading symbols data...
...done.
Checking missing definitions...
...result is up-to-date.
Reading available definitions data...
...done.
Analyzing missing definitions...
...done.
Configuring stubs...
Using original definition for function: float bycpu(std::vector<float, std::allocator<float>> &)
Using original definition for function: std::error_code::error_code(void)
Using original definition for function: float sumofsquares(std::vector<float, std::allocator<float>> &)
...done.
Creating stub configuration header file...
...result is up-to-date.
Creating test runner file...
/opt/my/cpptest-eclipse-integration/cpptest/bin/engine/bin/testrunner --psrc=/home/dx/eclipse-workspace-area51.1-1/.cpptest/area51.1/unit-data/current_tubf179707/test_runner_generation_flow_step.psrc --psrc=/home/dx/eclipse-workspace-area51.1-1/.cpptest/area51.1/unit-data/current_tubf179707/advanced_opts.psrc
...done.
Building runtime library...
Compiling source: /opt/my/cpptest-eclipse-integration/cpptest/bin/engine/runtime/src/CppTestUtils.c ...
...result is up-to-date.
Compiling source: /opt/my/cpptest-eclipse-integration/cpptest/bin/engine/runtime/src/CppTestCoverage.c ...
...result is up-to-date.
Compiling source: /opt/my/cpptest-eclipse-integration/cpptest/bin/engine/runtime/src/CppTestErrorMessages.c ...
...result is up-to-date.
Compiling source: /opt/my/cpptest-eclipse-integration/cpptest/bin/engine/runtime/src/CppTestMemoryAnalysis.c ...
...result is up-to-date.
Compiling source: /opt/my/cpptest-eclipse-integration/cpptest/bin/engine/runtime/src/CppTestThread.c ...
...result is up-to-date.
Compiling source: /opt/my/cpptest-eclipse-integration/cpptest/bin/engine/runtime/src/CppTestFormat.c ...
...result is up-to-date.
Compiling source: /opt/my/cpptest-eclipse-integration/cpptest/bin/engine/runtime/src/CppTestApi.c ...
...result is up-to-date.
Compiling source: /opt/my/cpptest-eclipse-integration/cpptest/bin/engine/runtime/src/CppTestThreadData.c ...
...result is up-to-date.
Compiling source: /opt/my/cpptest-eclipse-integration/cpptest/bin/engine/runtime/src/CppTestRuntime.c ...
...result is up-to-date.
Compiling source: /opt/my/cpptest-eclipse-integration/cpptest/bin/engine/runtime/src/CppTestStreams.c ...
...result is up-to-date.
Compiling source: /opt/my/cpptest-eclipse-integration/cpptest/bin/engine/runtime/src/CppTestStackTrace.c ...
...result is up-to-date.
Compiling source: /opt/my/cpptest-eclipse-integration/cpptest/bin/engine/runtime/src/CppTestTime.c ...
...result is up-to-date.
Compiling source: /opt/my/cpptest-eclipse-integration/cpptest/bin/engine/runtime/src/CppTestMessage.c ...
...result is up-to-date.
Compiling source: /opt/my/cpptest-eclipse-integration/cpptest/bin/engine/runtime/src/common/CppTestMemory.c ...
...result is up-to-date.
Compiling source: /opt/my/cpptest-eclipse-integration/cpptest/bin/engine/runtime/src/common/CppTestString.c ...
...result is up-to-date.
Compiling source: /opt/my/cpptest-eclipse-integration/cpptest/bin/engine/runtime/src/common/CppTestList.c ...
...result is up-to-date.
Compiling source: /opt/my/cpptest-eclipse-integration/cpptest/bin/engine/runtime/src/common/CppTestProperties.c ...
...result is up-to-date.
Compiling source: /opt/my/cpptest-eclipse-integration/cpptest/bin/engine/runtime/src/common/CppTestMarshall.c ...
...result is up-to-date.
Compiling source: /opt/my/cpptest-eclipse-integration/cpptest/bin/engine/runtime/src/common/CppTestAlloc.c ...
...result is up-to-date.
Compiling source: /opt/my/cpptest-eclipse-integration/cpptest/bin/engine/runtime/src/common/CppTestTree.c ...
...result is up-to-date.
Compiling source: /opt/my/cpptest-eclipse-integration/cpptest/bin/engine/runtime/src/transport/CppTestTransportRS232Common.c ...
...result is up-to-date.
Compiling source: /opt/my/cpptest-eclipse-integration/cpptest/bin/engine/runtime/src/transport/CppTestTransportUnixSocket.c ...
...result is up-to-date.
Compiling source: /opt/my/cpptest-eclipse-integration/cpptest/bin/engine/runtime/src/transport/CppTestTransportWinSocket.c ...
...result is up-to-date.
Compiling source: /opt/my/cpptest-eclipse-integration/cpptest/bin/engine/runtime/src/transport/CppTestTransportTemplate.c ...
...result is up-to-date.
Compiling source: /opt/my/cpptest-eclipse-integration/cpptest/bin/engine/runtime/src/transport/CppTestTransportRS232Win32.c ...
...result is up-to-date.
Compiling source: /opt/my/cpptest-eclipse-integration/cpptest/bin/engine/runtime/src/transport/CppTestTransport.c ...
...result is up-to-date.
Compiling source: /opt/my/cpptest-eclipse-integration/cpptest/bin/engine/runtime/src/transport/CppTestTransportNXT.c ...
...result is up-to-date.
Compiling source: /opt/my/cpptest-eclipse-integration/cpptest/bin/engine/runtime/src/transport/CppTestTransportRenrxGDB.c ...
...result is up-to-date.
Compiling source: /opt/my/cpptest-eclipse-integration/cpptest/bin/engine/runtime/src/transport/CppTestTransportRS232STM32F103ZE.c ...
...result is up-to-date.
Compiling source: /opt/my/cpptest-eclipse-integration/cpptest/bin/engine/runtime/src/transport/CppTestTransportRS232Unix.c ...
...result is up-to-date.
Compiling source: /opt/my/cpptest-eclipse-integration/cpptest/bin/engine/runtime/src/transport/CppTestTransportFileBuffered.c ...
...result is up-to-date.
Compiling source: /opt/my/cpptest-eclipse-integration/cpptest/bin/engine/runtime/src/transport/CppTestTransportFileSplit.c ...
...result is up-to-date.
Compiling source: /opt/my/cpptest-eclipse-integration/cpptest/bin/engine/runtime/src/transport/CppTestTransportLauterbachFDX.c ...
...result is up-to-date.
Compiling source: /opt/my/cpptest-eclipse-integration/cpptest/bin/engine/runtime/src/transport/CppTestTransportITM.c ...
...result is up-to-date.
Compiling source: /opt/my/cpptest-eclipse-integration/cpptest/bin/engine/runtime/src/transport/CppTestTransportHewSimIO.c ...
...result is up-to-date.
Compiling source: /opt/my/cpptest-eclipse-integration/cpptest/bin/engine/runtime/src/transport/CppTestTransportFile.c ...
...result is up-to-date.
Compiling source: /opt/my/cpptest-eclipse-integration/cpptest/bin/engine/runtime/src/transport/CppTestTransportUnixSocketUDP.c ...
...result is up-to-date.
...done.
Compiling instrumented source: /area51.1/area51.1/main.cpp ...
...result is up-to-date.
Compiling instrumented source: /opt/my/cpptest-eclipse-integration/cpptest/bin/engine/etc/safestubs/safe_stubs_linux.c ...
...result is up-to-date.
Compiling source: /home/dx/eclipse-workspace-area51.1-1/.cpptest/area51.1/unit-data/current_tubf179707/cpptest_testrunner.cpp ...
Checking dependencies for /home/dx/eclipse-workspace-area51.1-1/.cpptest/area51.1/unit-data/current_tubf179707/cpptest_testrunner.cpp ...
...done.
aarch64-linux-gnu-g++ -g -I/opt/my/cpptest-eclipse-integration/cpptest/bin/engine/runtime/include -DPARASOFT_CPPTEST -I /opt/my/cpptest-eclipse-integration/cpptest/bin/engine/runtime/include -w -c -xc++ /home/dx/eclipse-workspace-area51.1-1/.cpptest/area51.1/unit-data/current_tubf179707/cpptest_testrunner.cpp -o /home/dx/eclipse-workspace-area51.1-1/.cpptest/area51.1/file-data/cpptest_testrunner.cpp71ecb19c/cpptest_testrunner.o
...done.
Linking test project...
aarch64-linux-gnu-g++ -g /home/dx/eclipse-workspace-area51.1-1/.cpptest/area51.1/file-data/main.cpp97c7fabd/tested/harness_main.o /home/dx/eclipse-workspace-area51.1-1/.cpptest/area51.1/file-data/cpptest_testrunner.cpp71ecb19c/cpptest_testrunner.o /home/dx/eclipse-workspace-area51.1-1/.cpptest/area51.1/file-data/safe_stubs_linux.cb46c5ec9/harness_safe_stubs_linux.o /home/dx/eclipse-workspace-area51.1-1/.cpptest/area51.1/file-data/CppTestTransportRS232Win32.c40484ab6/CppTestTransportRS232Win32.o /home/dx/eclipse-workspace-area51.1-1/.cpptest/area51.1/file-data/CppTestAlloc.c2dc0fd1d/CppTestAlloc.o /home/dx/eclipse-workspace-area51.1-1/.cpptest/area51.1/file-data/CppTestThreadData.c721d0322/CppTestThreadData.o /home/dx/eclipse-workspace-area51.1-1/.cpptest/area51.1/file-data/CppTestTransportWinSocket.cb791c72e/CppTestTransportWinSocket.o /home/dx/eclipse-workspace-area51.1-1/.cpptest/area51.1/file-data/CppTestTransportLauterbachFDX.c9da6e094/CppTestTransportLauterbachFDX.o /home/dx/eclipse-workspace-area51.1-1/.cpptest/area51.1/file-data/CppTestFormat.cb72df605/CppTestFormat.o /home/dx/eclipse-workspace-area51.1-1/.cpptest/area51.1/file-data/CppTestTransportFileSplit.c46be9ffd/CppTestTransportFileSplit.o /home/dx/eclipse-workspace-area51.1-1/.cpptest/area51.1/file-data/CppTestRuntime.cc9d46114/CppTestRuntime.o /home/dx/eclipse-workspace-area51.1-1/.cpptest/area51.1/file-data/CppTestProperties.cb79b0d15/CppTestProperties.o /home/dx/eclipse-workspace-area51.1-1/.cpptest/area51.1/file-data/CppTestUtils.cb3d2756d/CppTestUtils.o /home/dx/eclipse-workspace-area51.1-1/.cpptest/area51.1/file-data/CppTestTransportITM.c9064821/CppTestTransportITM.o /home/dx/eclipse-workspace-area51.1-1/.cpptest/area51.1/file-data/CppTestTime.c6697959b/CppTestTime.o /home/dx/eclipse-workspace-area51.1-1/.cpptest/area51.1/file-data/CppTestList.ceacdc780/CppTestList.o /home/dx/eclipse-workspace-area51.1-1/.cpptest/area51.1/file-data/CppTestTransportRS232STM32F103ZE.c4303159f/CppTestTransportRS232STM32F103ZE.o /home/dx/eclipse-workspace-area51.1-1/.cpptest/area51.1/file-data/CppTestTransport.c5148880b/CppTestTransport.o /home/dx/eclipse-workspace-area51.1-1/.cpptest/area51.1/file-data/CppTestThread.cf2c1d358/CppTestThread.o /home/dx/eclipse-workspace-area51.1-1/.cpptest/area51.1/file-data/CppTestTree.cf8ecca80/CppTestTree.o /home/dx/eclipse-workspace-area51.1-1/.cpptest/area51.1/file-data/CppTestErrorMessages.c836c7870/CppTestErrorMessages.o /home/dx/eclipse-workspace-area51.1-1/.cpptest/area51.1/file-data/CppTestTransportUnixSocket.ccd01fd06/CppTestTransportUnixSocket.o /home/dx/eclipse-workspace-area51.1-1/.cpptest/area51.1/file-data/CppTestMemory.cf85ddfe3/CppTestMemory.o /home/dx/eclipse-workspace-area51.1-1/.cpptest/area51.1/file-data/CppTestStreams.cafc7576f/CppTestStreams.o /home/dx/eclipse-workspace-area51.1-1/.cpptest/area51.1/file-data/CppTestStackTrace.c1299abab/CppTestStackTrace.o /home/dx/eclipse-workspace-area51.1-1/.cpptest/area51.1/file-data/CppTestTransportTemplate.ccc138425/CppTestTransportTemplate.o /home/dx/eclipse-workspace-area51.1-1/.cpptest/area51.1/file-data/CppTestCoverage.cdb0fa976/CppTestCoverage.o /home/dx/eclipse-workspace-area51.1-1/.cpptest/area51.1/file-data/CppTestApi.cd8fc3e56/CppTestApi.o /home/dx/eclipse-workspace-area51.1-1/.cpptest/area51.1/file-data/CppTestTransportHewSimIO.c64cff2ae/CppTestTransportHewSimIO.o /home/dx/eclipse-workspace-area51.1-1/.cpptest/area51.1/file-data/CppTestTransportUnixSocketUDP.cfc7c4ca5/CppTestTransportUnixSocketUDP.o /home/dx/eclipse-workspace-area51.1-1/.cpptest/area51.1/file-data/CppTestMessage.c6cc24183/CppTestMessage.o /home/dx/eclipse-workspace-area51.1-1/.cpptest/area51.1/file-data/CppTestMemoryAnalysis.c6c652e8b/CppTestMemoryAnalysis.o /home/dx/eclipse-workspace-area51.1-1/.cpptest/area51.1/file-data/CppTestTransportRS232Unix.c62072077/CppTestTransportRS232Unix.o /home/dx/eclipse-workspace-area51.1-1/.cpptest/area51.1/file-data/CppTestTransportFile.c13daffa7/CppTestTransportFile.o /home/dx/eclipse-workspace-area51.1-1/.cpptest/area51.1/file-data/CppTestTransportRS232Common.cea280d9a/CppTestTransportRS232Common.o /home/dx/eclipse-workspace-area51.1-1/.cpptest/area51.1/file-data/CppTestString.c8953fef3/CppTestString.o /home/dx/eclipse-workspace-area51.1-1/.cpptest/area51.1/file-data/CppTestTransportNXT.c94ea969/CppTestTransportNXT.o /home/dx/eclipse-workspace-area51.1-1/.cpptest/area51.1/file-data/CppTestMarshall.cd00c30f0/CppTestMarshall.o /home/dx/eclipse-workspace-area51.1-1/.cpptest/area51.1/file-data/CppTestTransportRenrxGDB.cc823b46f/CppTestTransportRenrxGDB.o /home/dx/eclipse-workspace-area51.1-1/.cpptest/area51.1/file-data/CppTestTransportFileBuffered.c29dfdee6/CppTestTransportFileBuffered.o libstuff3.a -L/usr/local/cuda/targets/aarch64-linux/lib/ -lcudart -o /home/dx/eclipse-workspace-area51.1-1/.cpptest/area51.1/unit-data/current_tubf179707/testExec
...done.
Sending test executable to target ...
scp "./testExec" dx@192.168.2.136:/home/dx/jetson-parasoft/bin/unix/jetsonapp/testExec
scp: /home/dx/jetson-parasoft/bin/unix/jetsonapp/testExec: Text file busy
...done.
Setting execution privileges ...
ssh dx@192.168.2.136 chmod u+x /home/dx/jetson-parasoft/bin/unix/jetsonapp/testExec
...done.
Running tests on target ...
ssh dx@192.168.2.136 /home/dx/jetson-parasoft/bin/unix/jetsonapp/testExec
Invalid accountInvalid account : 0
: -1.79769e+308
: 1
: -2.22507e-308
: 2.22507e-308
: -1
: 1.79769e+308
Hello worldA very long string that is supposed to contain more than 256 characters in length..................................................................................................................................................................................0.000000 1.000000 2.000000
-------------------
0.000000 5.000000 10.000000 *** done ***
Device 0: NVIDIA Tegra X1
Compute Capability: 5.3
double free or corruption (out)
free(): invalid pointer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment