matepek / vscode-catch2-test-adapter

Catch2, Google Test and doctest Adapter for the VSCode
https://marketplace.visualstudio.com/items?itemName=matepek.vscode-catch2-test-adapter
MIT License
210 stars 52 forks source link

executionWrapper not working as expected #411

Closed johannes-fischer closed 11 months ago

johannes-fischer commented 11 months ago

Checklist

Describe the bug

I need to execute a shell script before running tests to set up the environment. I went through the documentation and all old issues but I cannot figure out how to achieve this. I tried to do use executionWrapper, but I may be using it wrongly. When I run

/bin/sh -c "/home/fischer/ws/planner/devel_debug/setup.sh && ./devel_debug/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-planner"

in a terminal it works as expected (where ./devel_debug/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-planner is a test executable). I also have set up the extension to run the test from vs code, but then they of course run without the setup.sh before. So I tried adding this to the test execution config:

"executionWrapper": {
        "path": "/bin/sh",
        "args": [ "-c", "\"/home/fischer/ws/planner/devel_debug/setup.sh && ${cmd}\"" ]
      }

The result is that the extension tried to discover tests for a very long time (1-2 minutes) and then either does not even discover the tests anymore (I did not change anything in the pattern, only added the executionWrapper) or if it discovers them I don't see the effect of the set up script.

To Reproduce

Not sure, how this can be reproduced on a different machine.

Desktop

**Log** (optional but recommended)

Unfortunately, I don't see any logs, I also have the issue https://github.com/matepek/vscode-catch2-test-adapter/issues/383

johannes-fischer commented 11 months ago

When I change the executionWrapper to

"executionWrapper": {
        "path": "/bin/sh",
        "args": [ "-c", "\"/home/fischer/ws/planner/devel_debug/setup.sh && ${cmd}\" ${argsStr} 2>&1" ]
      }

I get a different behavior. I now sometimes get logs, but unreliably: I only see the logs in the output window early after a vs code restart, after some time the window vanishes from the drop-down list. Also, most of the restarts there are not logs at all. I attached the logs below. Moreover, the tests cannot be discovered (which seems to be indicated in the logs).

**Log** ```js [2023-12-13 14:19:56.104] [INFO] Activating extension [2023-12-13 14:19:56.107] [INFO] [2023-12-13 14:19:56.107] [INFO] Activation finished [2023-12-13 14:21:23.639] [INFO] context:executables [ { name: '[debug] ${relDirpath[-1:]}', pattern: 'devel_debug/.private/**/lib/**/*gtest*', cwd: 'src/${relDirpath[-1:]}/test', executionWrapper: { path: '/bin/sh', args: [ '-c', '"/home/fischer/ws/planner/devel_debug/setup.sh && ${cmd}" ${argsStr} 2>&1' ] }, gtest: { ignoreTestEnumerationStdErr: true, testGrouping: { groupByExecutable: [Object] } } }, { name: '[release] ${relDirpath[-1:]}', pattern: 'devel/lib/**/*gtest*', cwd: 'src/${relDirpath[-1:]}/test', gtest: { ignoreTestEnumerationStdErr: true, testGrouping: { groupByExecutable: [Object] } } }, { name: '[debug] ${relDirpath[-1:]}', pattern: 'devel_debug/.private/**/lib/**/*gtest*', cwd: 'src/lanelet2/${relDirpath[-1:]}/test', gtest: { ignoreTestEnumerationStdErr: true, testGrouping: { groupByExecutable: [Object] } } } ] [2023-12-13 14:21:23.645] [DEBUG] ExecutableConfig.resolveVariable: { value: 'devel_debug/.private/**/lib/**/*gtest*', resolved: Promise { }, strictAllowed: false } [2023-12-13 14:21:23.645] [DEBUG] ExecutableConfig.resolveVariable: { value: 'devel/lib/**/*gtest*', resolved: Promise { }, strictAllowed: false } [2023-12-13 14:21:23.645] [DEBUG] ExecutableConfig.resolveVariable: { value: 'devel_debug/.private/**/lib/**/*gtest*', resolved: Promise { }, strictAllowed: false } [2023-12-13 14:21:23.646] [INFO] pattern devel_debug/.private/**/lib/**/*gtest* /home/fischer/ws/planner { isAbsolute: false, absPath: '/home/fischer/ws/planner/devel_debug/.private/**/lib/**/*gtest*', isPartOfWs: true, relativeToWsPosix: 'devel_debug/.private/**/lib/**/*gtest*' } [2023-12-13 14:21:23.647] [INFO] pattern devel/lib/**/*gtest* /home/fischer/ws/planner { isAbsolute: false, absPath: '/home/fischer/ws/planner/devel/lib/**/*gtest*', isPartOfWs: true, relativeToWsPosix: 'devel/lib/**/*gtest*' } [2023-12-13 14:21:23.647] [INFO] pattern devel_debug/.private/**/lib/**/*gtest* /home/fischer/ws/planner { isAbsolute: false, absPath: '/home/fischer/ws/planner/devel_debug/.private/**/lib/**/*gtest*', isPartOfWs: true, relativeToWsPosix: 'devel_debug/.private/**/lib/**/*gtest*' } [2023-12-13 14:21:24.062] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi_types.TestMate.testListCache.xml [2023-12-13 14:21:24.063] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-planner [2023-12-13 14:21:24.063] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi [2023-12-13 14:21:24.063] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-trajectory_optimizer.TestMate.testListCache.xml [2023-12-13 14:21:24.063] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi_types [2023-12-13 14:21:24.063] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-parameters [2023-12-13 14:21:24.063] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-trajectory_optimizer [2023-12-13 14:21:24.063] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-planner.TestMate.testListCache.xml [2023-12-13 14:21:24.063] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi.TestMate.testListCache.xml [2023-12-13 14:21:24.063] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-parameters.TestMate.testListCache.xml [2023-12-13 14:21:24.063] [DEBUG] Not an executable: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi_types.TestMate.testListCache.xml Error: Not a native executable (filtered because of its extension): /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi_types.TestMate.testListCache.xml at Object.e.isNativeExecutableAsync (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:388720) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:272735 at e.ConfigOfExecGroup.load (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:273635) at async Promise.allSettled (index 0) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:316740 [2023-12-13 14:21:24.067] [DEBUG] Not an executable: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-trajectory_optimizer.TestMate.testListCache.xml Error: Not a native executable (filtered because of its extension): /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-trajectory_optimizer.TestMate.testListCache.xml at Object.e.isNativeExecutableAsync (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:388720) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:272735 at e.ConfigOfExecGroup.load (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:273635) at async Promise.allSettled (index 0) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:316740 [2023-12-13 14:21:24.068] [DEBUG] Not an executable: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-planner.TestMate.testListCache.xml Error: Not a native executable (filtered because of its extension): /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-planner.TestMate.testListCache.xml at Object.e.isNativeExecutableAsync (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:388720) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:272735 at e.ConfigOfExecGroup.load (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:273635) at async Promise.allSettled (index 0) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:316740 [2023-12-13 14:21:24.068] [DEBUG] Not an executable: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi.TestMate.testListCache.xml Error: Not a native executable (filtered because of its extension): /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi.TestMate.testListCache.xml at Object.e.isNativeExecutableAsync (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:388720) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:272735 at e.ConfigOfExecGroup.load (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:273635) at async Promise.allSettled (index 0) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:316740 [2023-12-13 14:21:24.068] [DEBUG] Not an executable: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-parameters.TestMate.testListCache.xml Error: Not a native executable (filtered because of its extension): /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-parameters.TestMate.testListCache.xml at Object.e.isNativeExecutableAsync (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:388720) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:272735 at e.ConfigOfExecGroup.load (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:273635) at async Promise.allSettled (index 0) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:316740 [2023-12-13 14:21:24.070] [DEBUG] ExecutableConfig.resolveVariable: { value: 'src/${relDirpath[-1:]}/test', resolved: Promise { }, strictAllowed: false } [2023-12-13 14:21:24.071] [DEBUG] ExecutableConfig.resolveVariable: { value: {}, resolved: Promise { }, strictAllowed: true } [2023-12-13 14:21:24.072] [DEBUG] ExecutableConfig.resolveVariable: { value: '/bin/sh', resolved: Promise { }, strictAllowed: false } [2023-12-13 14:21:24.073] [DEBUG] ExecutableConfig.resolveVariable: { value: [ '-c', '"/home/fischer/ws/planner/devel_debug/setup.sh && ${cmd}" ${argsStr} 2>&1' ], resolved: Promise { }, strictAllowed: false } [2023-12-13 14:21:24.074] [INFO] executionWrapper was specified { isAbsolute: true, absPath: '/bin/sh', isPartOfWs: false, relativeToWsPosix: '../../../../bin/sh' } [ '-c', '"/home/fischer/ws/planner/devel_debug/setup.sh && ${cmd}" ${argsStr} 2>&1' ]; [2023-12-13 14:21:24.101] [DEBUG] ExecutableConfig.resolveVariable: { value: 'src/${relDirpath[-1:]}/test', resolved: Promise { }, strictAllowed: false } [2023-12-13 14:21:24.102] [DEBUG] ExecutableConfig.resolveVariable: { value: {}, resolved: Promise { }, strictAllowed: true } [2023-12-13 14:21:24.102] [DEBUG] ExecutableConfig.resolveVariable: { value: '/bin/sh', resolved: Promise { }, strictAllowed: false } [2023-12-13 14:21:24.102] [DEBUG] ExecutableConfig.resolveVariable: { value: [ '-c', '"/home/fischer/ws/planner/devel_debug/setup.sh && ${cmd}" ${argsStr} 2>&1' ], resolved: Promise { }, strictAllowed: false } [2023-12-13 14:21:24.102] [INFO] executionWrapper was specified { isAbsolute: true, absPath: '/bin/sh', isPartOfWs: false, relativeToWsPosix: '../../../../bin/sh' } [ '-c', '"/home/fischer/ws/planner/devel_debug/setup.sh && ${cmd}" ${argsStr} 2>&1' ]; [2023-12-13 14:21:24.131] [DEBUG] ExecutableConfig.resolveVariable: { value: 'src/${relDirpath[-1:]}/test', resolved: Promise { }, strictAllowed: false } [2023-12-13 14:21:24.132] [DEBUG] ExecutableConfig.resolveVariable: { value: {}, resolved: Promise { }, strictAllowed: true } [2023-12-13 14:21:24.132] [DEBUG] ExecutableConfig.resolveVariable: { value: '/bin/sh', resolved: Promise { }, strictAllowed: false } [2023-12-13 14:21:24.132] [DEBUG] ExecutableConfig.resolveVariable: { value: [ '-c', '"/home/fischer/ws/planner/devel_debug/setup.sh && ${cmd}" ${argsStr} 2>&1' ], resolved: Promise { }, strictAllowed: false } [2023-12-13 14:21:24.132] [INFO] executionWrapper was specified { isAbsolute: true, absPath: '/bin/sh', isPartOfWs: false, relativeToWsPosix: '../../../../bin/sh' } [ '-c', '"/home/fischer/ws/planner/devel_debug/setup.sh && ${cmd}" ${argsStr} 2>&1' ]; [2023-12-13 14:21:24.159] [DEBUG] ExecutableConfig.resolveVariable: { value: 'src/${relDirpath[-1:]}/test', resolved: Promise { }, strictAllowed: false } [2023-12-13 14:21:24.160] [DEBUG] ExecutableConfig.resolveVariable: { value: {}, resolved: Promise { }, strictAllowed: true } [2023-12-13 14:21:24.160] [DEBUG] ExecutableConfig.resolveVariable: { value: '/bin/sh', resolved: Promise { }, strictAllowed: false } [2023-12-13 14:21:24.160] [DEBUG] ExecutableConfig.resolveVariable: { value: [ '-c', '"/home/fischer/ws/planner/devel_debug/setup.sh && ${cmd}" ${argsStr} 2>&1' ], resolved: Promise { }, strictAllowed: false } [2023-12-13 14:21:24.160] [INFO] executionWrapper was specified { isAbsolute: true, absPath: '/bin/sh', isPartOfWs: false, relativeToWsPosix: '../../../../bin/sh' } [ '-c', '"/home/fischer/ws/planner/devel_debug/setup.sh && ${cmd}" ${argsStr} 2>&1' ]; [2023-12-13 14:21:24.187] [DEBUG] ExecutableConfig.resolveVariable: { value: 'src/${relDirpath[-1:]}/test', resolved: Promise { }, strictAllowed: false } [2023-12-13 14:21:24.187] [DEBUG] ExecutableConfig.resolveVariable: { value: {}, resolved: Promise { }, strictAllowed: true } [2023-12-13 14:21:24.188] [DEBUG] ExecutableConfig.resolveVariable: { value: '/bin/sh', resolved: Promise { }, strictAllowed: false } [2023-12-13 14:21:24.188] [DEBUG] ExecutableConfig.resolveVariable: { value: [ '-c', '"/home/fischer/ws/planner/devel_debug/setup.sh && ${cmd}" ${argsStr} 2>&1' ], resolved: Promise { }, strictAllowed: false } [2023-12-13 14:21:24.188] [INFO] executionWrapper was specified { isAbsolute: true, absPath: '/bin/sh', isPartOfWs: false, relativeToWsPosix: '../../../../bin/sh' } [ '-c', '"/home/fischer/ws/planner/devel_debug/setup.sh && ${cmd}" ${argsStr} 2>&1' ]; [2023-12-13 14:21:24.223] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-parameters.TestMate.testListCache.xml [2023-12-13 14:21:24.223] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi.TestMate.testListCache.xml [2023-12-13 14:21:24.223] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-parameters [2023-12-13 14:21:24.223] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-trajectory_optimizer [2023-12-13 14:21:24.223] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi_types [2023-12-13 14:21:24.223] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-planner.TestMate.testListCache.xml [2023-12-13 14:21:24.223] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-trajectory_optimizer.TestMate.testListCache.xml [2023-12-13 14:21:24.223] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-planner [2023-12-13 14:21:24.223] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi [2023-12-13 14:21:24.224] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi_types.TestMate.testListCache.xml [2023-12-13 14:21:24.224] [DEBUG] Not an executable: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-parameters.TestMate.testListCache.xml Error: Not a native executable (filtered because of its extension): /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-parameters.TestMate.testListCache.xml at Object.e.isNativeExecutableAsync (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:388720) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:272735 at e.ConfigOfExecGroup.load (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:273635) at async Promise.allSettled (index 2) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:316740 [2023-12-13 14:21:24.225] [DEBUG] Not an executable: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi.TestMate.testListCache.xml Error: Not a native executable (filtered because of its extension): /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi.TestMate.testListCache.xml at Object.e.isNativeExecutableAsync (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:388720) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:272735 at e.ConfigOfExecGroup.load (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:273635) at async Promise.allSettled (index 2) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:316740 [2023-12-13 14:21:24.226] [DEBUG] Not an executable: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-planner.TestMate.testListCache.xml Error: Not a native executable (filtered because of its extension): /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-planner.TestMate.testListCache.xml at Object.e.isNativeExecutableAsync (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:388720) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:272735 at e.ConfigOfExecGroup.load (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:273635) at async Promise.allSettled (index 2) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:316740 [2023-12-13 14:21:24.226] [DEBUG] Not an executable: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-trajectory_optimizer.TestMate.testListCache.xml Error: Not a native executable (filtered because of its extension): /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-trajectory_optimizer.TestMate.testListCache.xml at Object.e.isNativeExecutableAsync (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:388720) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:272735 at e.ConfigOfExecGroup.load (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:273635) at async Promise.allSettled (index 2) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:316740 [2023-12-13 14:21:24.227] [DEBUG] Not an executable: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi_types.TestMate.testListCache.xml Error: Not a native executable (filtered because of its extension): /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi_types.TestMate.testListCache.xml at Object.e.isNativeExecutableAsync (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:388720) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:272735 at e.ConfigOfExecGroup.load (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:273635) at async Promise.allSettled (index 2) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:316740 [2023-12-13 14:21:24.258] [DEBUG] ExecutableConfig.resolveVariable: { value: 'src/lanelet2/${relDirpath[-1:]}/test', resolved: Promise { }, strictAllowed: false } [2023-12-13 14:21:24.259] [DEBUG] ExecutableConfig.resolveVariable: { value: {}, resolved: Promise { }, strictAllowed: true } [2023-12-13 14:21:24.286] [DEBUG] Not a test executable: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-parameters reason: Error: spawn /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-parameters ENOENT at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19) at onErrorNT (node:internal/child_process:476:16) at processTicksAndRejections (node:internal/process/task_queues:82:21) { errno: -2, code: 'ENOENT', syscall: 'spawn /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-parameters', path: '/home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-parameters', spawnargs: [ '--help' ] } [2023-12-13 14:21:24.287] [DEBUG] ExecutableConfig.resolveVariable: { value: 'src/lanelet2/${relDirpath[-1:]}/test', resolved: Promise { }, strictAllowed: false } [2023-12-13 14:21:24.287] [DEBUG] ExecutableConfig.resolveVariable: { value: {}, resolved: Promise { }, strictAllowed: true } [2023-12-13 14:21:24.315] [DEBUG] Not a test executable: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-trajectory_optimizer reason: Error: spawn /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-trajectory_optimizer ENOENT at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19) at onErrorNT (node:internal/child_process:476:16) at processTicksAndRejections (node:internal/process/task_queues:82:21) { errno: -2, code: 'ENOENT', syscall: 'spawn /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-trajectory_optimizer', path: '/home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-trajectory_optimizer', spawnargs: [ '--help' ] } [2023-12-13 14:21:24.316] [DEBUG] ExecutableConfig.resolveVariable: { value: 'src/lanelet2/${relDirpath[-1:]}/test', resolved: Promise { }, strictAllowed: false } [2023-12-13 14:21:24.317] [DEBUG] ExecutableConfig.resolveVariable: { value: {}, resolved: Promise { }, strictAllowed: true } [2023-12-13 14:21:24.349] [DEBUG] Not a test executable: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi_types reason: Error: spawn /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi_types ENOENT at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19) at onErrorNT (node:internal/child_process:476:16) at processTicksAndRejections (node:internal/process/task_queues:82:21) { errno: -2, code: 'ENOENT', syscall: 'spawn /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi_types', path: '/home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi_types', spawnargs: [ '--help' ] } [2023-12-13 14:21:24.350] [DEBUG] ExecutableConfig.resolveVariable: { value: 'src/lanelet2/${relDirpath[-1:]}/test', resolved: Promise { }, strictAllowed: false } [2023-12-13 14:21:24.350] [DEBUG] ExecutableConfig.resolveVariable: { value: {}, resolved: Promise { }, strictAllowed: true } [2023-12-13 14:21:24.378] [DEBUG] Not a test executable: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-planner reason: Error: spawn /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-planner ENOENT at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19) at onErrorNT (node:internal/child_process:476:16) at processTicksAndRejections (node:internal/process/task_queues:82:21) { errno: -2, code: 'ENOENT', syscall: 'spawn /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-planner', path: '/home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-planner', spawnargs: [ '--help' ] } [2023-12-13 14:21:24.379] [DEBUG] ExecutableConfig.resolveVariable: { value: 'src/lanelet2/${relDirpath[-1:]}/test', resolved: Promise { }, strictAllowed: false } [2023-12-13 14:21:24.379] [DEBUG] ExecutableConfig.resolveVariable: { value: {}, resolved: Promise { }, strictAllowed: true } [2023-12-13 14:21:24.409] [DEBUG] Not a test executable: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi reason: Error: spawn /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi ENOENT at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19) at onErrorNT (node:internal/child_process:476:16) at processTicksAndRejections (node:internal/process/task_queues:82:21) { errno: -2, code: 'ENOENT', syscall: 'spawn /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi', path: '/home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi', spawnargs: [ '--help' ] } [2023-12-13 14:21:24.414] [DEBUG] Not a supported test executable { spawner: s { _executor: '/bin/sh', _args: [ '-c', '"/home/fischer/ws/planner/devel_debug/setup.sh && ${cmd}" ${argsStr} 2>&1' ], _cmdR: '${cmd}', _argsR: '${args}', _argsR2: '${argsFlat}', _argsStrR: '${argsStr}' }, execPath: '/home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-trajectory_optimizer', stdout: '/bin/sh: 1: /home/fischer/ws/planner/devel_debug/setup.sh && /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-trajectory_optimizer: not found\n', stderr: '' } [2023-12-13 14:21:24.415] [DEBUG] Not a supported test executable { spawner: s { _executor: '/bin/sh', _args: [ '-c', '"/home/fischer/ws/planner/devel_debug/setup.sh && ${cmd}" ${argsStr} 2>&1' ], _cmdR: '${cmd}', _argsR: '${args}', _argsR2: '${argsFlat}', _argsStrR: '${argsStr}' }, execPath: '/home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-parameters', stdout: '/bin/sh: 1: /home/fischer/ws/planner/devel_debug/setup.sh && /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-parameters: not found\n', stderr: '' } [2023-12-13 14:21:24.416] [DEBUG] Not a supported test executable { spawner: s { _executor: '/bin/sh', _args: [ '-c', '"/home/fischer/ws/planner/devel_debug/setup.sh && ${cmd}" ${argsStr} 2>&1' ], _cmdR: '${cmd}', _argsR: '${args}', _argsR2: '${argsFlat}', _argsStrR: '${argsStr}' }, execPath: '/home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi_types', stdout: '/bin/sh: 1: /home/fischer/ws/planner/devel_debug/setup.sh && /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi_types: not found\n', stderr: '' } [2023-12-13 14:21:24.416] [DEBUG] Not a supported test executable { spawner: s { _executor: '/bin/sh', _args: [ '-c', '"/home/fischer/ws/planner/devel_debug/setup.sh && ${cmd}" ${argsStr} 2>&1' ], _cmdR: '${cmd}', _argsR: '${args}', _argsR2: '${argsFlat}', _argsStrR: '${argsStr}' }, execPath: '/home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi', stdout: '/bin/sh: 1: /home/fischer/ws/planner/devel_debug/setup.sh && /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi: not found\n', stderr: '' } [2023-12-13 14:21:24.416] [DEBUG] Not a supported test executable { spawner: s { _executor: '/bin/sh', _args: [ '-c', '"/home/fischer/ws/planner/devel_debug/setup.sh && ${cmd}" ${argsStr} 2>&1' ], _cmdR: '${cmd}', _argsR: '${args}', _argsR2: '${argsFlat}', _argsStrR: '${argsStr}' }, execPath: '/home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-planner', stdout: '/bin/sh: 1: /home/fischer/ws/planner/devel_debug/setup.sh && /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-planner: not found\n', stderr: '' } ```
johannes-fischer commented 11 months ago

Now tried with bash:

"executionWrapper": {
        "path": "/bin/bash",
        "args": [ "-c", "\"source /home/fischer/ws/planner/devel_debug/setup.bash && ${cmd} ${argsStr} 2>&1\"" ]
      }

I get the desired output when running this from a terminal directly:

/bin/bash -c "source /home/fischer/ws/planner/devel_debug/setup.bash && /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-planner  2>&1"

I could obtain a log, but tests could not be discovered. I don't understand what this is telling me:

[2023-12-13 15:42:46.078] [DEBUG] Not a supported test executable {
  spawner: s {
    _executor: '/bin/bash',
    _args: [
      '-c',
      '"source /home/fischer/ws/planner/devel_debug/setup.bash && ${cmd} ${argsStr} 2>&1"'
    ],
    _cmdR: '${cmd}',
    _argsR: '${args}',
    _argsR2: '${argsFlat}',
    _argsStrR: '${argsStr}'
  },
  execPath: '/home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi',
  stdout: '',
  stderr: '/bin/bash: source /home/fischer/ws/planner/devel_debug/setup.bash && /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi --help 2>&1: No such file or directory\n'
}
**Log** ```js [2023-12-13 15:37:24.561] [INFO] Activating extension [2023-12-13 15:37:24.565] [INFO] [2023-12-13 15:37:24.565] [INFO] Activation finished [2023-12-13 15:38:26.040] [INFO] Deactivating extension [2023-12-13 15:41:10.612] [INFO] context:executables [ { name: '[debug] ${relDirpath[-1:]}', pattern: 'devel_debug/.private/**/lib/**/*gtest*', cwd: 'src/${relDirpath[-1:]}/test', executionWrapper: { path: '/bin/bash', args: [ '-c', '"source /home/fischer/ws/planner/devel_debug/setup.bash && ${cmd} ${argsStr} 2>&1"' ] }, gtest: { ignoreTestEnumerationStdErr: true, testGrouping: { groupByExecutable: [Object] } } }, { name: '[release] ${relDirpath[-1:]}', pattern: 'devel/lib/**/*gtest*', cwd: 'src/${relDirpath[-1:]}/test', gtest: { ignoreTestEnumerationStdErr: true, testGrouping: { groupByExecutable: [Object] } } }, { name: '[debug] ${relDirpath[-1:]}', pattern: 'devel_debug/.private/**/lib/**/*gtest*', cwd: 'src/lanelet2/${relDirpath[-1:]}/test', gtest: { ignoreTestEnumerationStdErr: true, testGrouping: { groupByExecutable: [Object] } } } ] [2023-12-13 15:41:10.613] [DEBUG] ExecutableConfig.resolveVariable: { value: 'devel_debug/.private/**/lib/**/*gtest*', resolved: Promise { }, strictAllowed: false } [2023-12-13 15:41:10.613] [DEBUG] ExecutableConfig.resolveVariable: { value: 'devel/lib/**/*gtest*', resolved: Promise { }, strictAllowed: false } [2023-12-13 15:41:10.613] [DEBUG] ExecutableConfig.resolveVariable: { value: 'devel_debug/.private/**/lib/**/*gtest*', resolved: Promise { }, strictAllowed: false } [2023-12-13 15:41:10.613] [INFO] pattern devel_debug/.private/**/lib/**/*gtest* /home/fischer/ws/planner { isAbsolute: false, absPath: '/home/fischer/ws/planner/devel_debug/.private/**/lib/**/*gtest*', isPartOfWs: true, relativeToWsPosix: 'devel_debug/.private/**/lib/**/*gtest*' } [2023-12-13 15:41:10.614] [INFO] pattern devel/lib/**/*gtest* /home/fischer/ws/planner { isAbsolute: false, absPath: '/home/fischer/ws/planner/devel/lib/**/*gtest*', isPartOfWs: true, relativeToWsPosix: 'devel/lib/**/*gtest*' } [2023-12-13 15:41:10.615] [INFO] pattern devel_debug/.private/**/lib/**/*gtest* /home/fischer/ws/planner { isAbsolute: false, absPath: '/home/fischer/ws/planner/devel_debug/.private/**/lib/**/*gtest*', isPartOfWs: true, relativeToWsPosix: 'devel_debug/.private/**/lib/**/*gtest*' } [2023-12-13 15:41:10.777] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi [2023-12-13 15:41:10.777] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-planner [2023-12-13 15:41:10.777] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi_types.TestMate.testListCache.xml [2023-12-13 15:41:10.777] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi_types [2023-12-13 15:41:10.777] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-planner.TestMate.testListCache.xml [2023-12-13 15:41:10.777] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-trajectory_optimizer.TestMate.testListCache.xml [2023-12-13 15:41:10.777] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-trajectory_optimizer [2023-12-13 15:41:10.777] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-parameters.TestMate.testListCache.xml [2023-12-13 15:41:10.777] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi.TestMate.testListCache.xml [2023-12-13 15:41:10.777] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-parameters [2023-12-13 15:41:10.777] [DEBUG] Not an executable: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi_types.TestMate.testListCache.xml Error: Not a native executable (filtered because of its extension): /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi_types.TestMate.testListCache.xml at Object.e.isNativeExecutableAsync (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:388720) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:272735 at e.ConfigOfExecGroup.load (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:273635) at async Promise.allSettled (index 0) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:316740 [2023-12-13 15:41:10.777] [DEBUG] Not an executable: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-planner.TestMate.testListCache.xml Error: Not a native executable (filtered because of its extension): /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-planner.TestMate.testListCache.xml at Object.e.isNativeExecutableAsync (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:388720) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:272735 at e.ConfigOfExecGroup.load (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:273635) at async Promise.allSettled (index 0) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:316740 [2023-12-13 15:41:10.777] [DEBUG] Not an executable: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-trajectory_optimizer.TestMate.testListCache.xml Error: Not a native executable (filtered because of its extension): /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-trajectory_optimizer.TestMate.testListCache.xml at Object.e.isNativeExecutableAsync (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:388720) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:272735 at e.ConfigOfExecGroup.load (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:273635) at async Promise.allSettled (index 0) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:316740 [2023-12-13 15:41:10.778] [DEBUG] Not an executable: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-parameters.TestMate.testListCache.xml Error: Not a native executable (filtered because of its extension): /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-parameters.TestMate.testListCache.xml at Object.e.isNativeExecutableAsync (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:388720) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:272735 at e.ConfigOfExecGroup.load (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:273635) at async Promise.allSettled (index 0) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:316740 [2023-12-13 15:41:10.778] [DEBUG] Not an executable: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi.TestMate.testListCache.xml Error: Not a native executable (filtered because of its extension): /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi.TestMate.testListCache.xml at Object.e.isNativeExecutableAsync (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:388720) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:272735 at e.ConfigOfExecGroup.load (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:273635) at async Promise.allSettled (index 0) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:316740 [2023-12-13 15:41:10.778] [DEBUG] ExecutableConfig.resolveVariable: { value: 'src/${relDirpath[-1:]}/test', resolved: Promise { }, strictAllowed: false } [2023-12-13 15:41:10.779] [DEBUG] ExecutableConfig.resolveVariable: { value: {}, resolved: Promise { }, strictAllowed: true } [2023-12-13 15:41:10.779] [DEBUG] ExecutableConfig.resolveVariable: { value: '/bin/bash', resolved: Promise { }, strictAllowed: false } [2023-12-13 15:41:10.779] [DEBUG] ExecutableConfig.resolveVariable: { value: [ '-c', '"source /home/fischer/ws/planner/devel_debug/setup.bash && ${cmd} ${argsStr} 2>&1"' ], resolved: Promise { }, strictAllowed: false } [2023-12-13 15:41:10.779] [INFO] executionWrapper was specified { isAbsolute: true, absPath: '/bin/bash', isPartOfWs: false, relativeToWsPosix: '../../../../bin/bash' } [ '-c', '"source /home/fischer/ws/planner/devel_debug/setup.bash && ${cmd} ${argsStr} 2>&1"' ]; [2023-12-13 15:41:10.796] [DEBUG] ExecutableConfig.resolveVariable: { value: 'src/${relDirpath[-1:]}/test', resolved: Promise { }, strictAllowed: false } [2023-12-13 15:41:10.796] [DEBUG] ExecutableConfig.resolveVariable: { value: {}, resolved: Promise { }, strictAllowed: true } [2023-12-13 15:41:10.796] [DEBUG] ExecutableConfig.resolveVariable: { value: '/bin/bash', resolved: Promise { }, strictAllowed: false } [2023-12-13 15:41:10.796] [DEBUG] ExecutableConfig.resolveVariable: { value: [ '-c', '"source /home/fischer/ws/planner/devel_debug/setup.bash && ${cmd} ${argsStr} 2>&1"' ], resolved: Promise { }, strictAllowed: false } [2023-12-13 15:41:10.796] [INFO] executionWrapper was specified { isAbsolute: true, absPath: '/bin/bash', isPartOfWs: false, relativeToWsPosix: '../../../../bin/bash' } [ '-c', '"source /home/fischer/ws/planner/devel_debug/setup.bash && ${cmd} ${argsStr} 2>&1"' ]; [2023-12-13 15:41:10.815] [DEBUG] ExecutableConfig.resolveVariable: { value: 'src/${relDirpath[-1:]}/test', resolved: Promise { }, strictAllowed: false } [2023-12-13 15:41:10.815] [DEBUG] ExecutableConfig.resolveVariable: { value: {}, resolved: Promise { }, strictAllowed: true } [2023-12-13 15:41:10.815] [DEBUG] ExecutableConfig.resolveVariable: { value: '/bin/bash', resolved: Promise { }, strictAllowed: false } [2023-12-13 15:41:10.815] [DEBUG] ExecutableConfig.resolveVariable: { value: [ '-c', '"source /home/fischer/ws/planner/devel_debug/setup.bash && ${cmd} ${argsStr} 2>&1"' ], resolved: Promise { }, strictAllowed: false } [2023-12-13 15:41:10.815] [INFO] executionWrapper was specified { isAbsolute: true, absPath: '/bin/bash', isPartOfWs: false, relativeToWsPosix: '../../../../bin/bash' } [ '-c', '"source /home/fischer/ws/planner/devel_debug/setup.bash && ${cmd} ${argsStr} 2>&1"' ]; [2023-12-13 15:41:10.834] [DEBUG] ExecutableConfig.resolveVariable: { value: 'src/${relDirpath[-1:]}/test', resolved: Promise { }, strictAllowed: false } [2023-12-13 15:41:10.835] [DEBUG] ExecutableConfig.resolveVariable: { value: {}, resolved: Promise { }, strictAllowed: true } [2023-12-13 15:41:10.835] [DEBUG] ExecutableConfig.resolveVariable: { value: '/bin/bash', resolved: Promise { }, strictAllowed: false } [2023-12-13 15:41:10.835] [DEBUG] ExecutableConfig.resolveVariable: { value: [ '-c', '"source /home/fischer/ws/planner/devel_debug/setup.bash && ${cmd} ${argsStr} 2>&1"' ], resolved: Promise { }, strictAllowed: false } [2023-12-13 15:41:10.835] [INFO] executionWrapper was specified { isAbsolute: true, absPath: '/bin/bash', isPartOfWs: false, relativeToWsPosix: '../../../../bin/bash' } [ '-c', '"source /home/fischer/ws/planner/devel_debug/setup.bash && ${cmd} ${argsStr} 2>&1"' ]; [2023-12-13 15:41:10.854] [DEBUG] ExecutableConfig.resolveVariable: { value: 'src/${relDirpath[-1:]}/test', resolved: Promise { }, strictAllowed: false } [2023-12-13 15:41:10.854] [DEBUG] ExecutableConfig.resolveVariable: { value: {}, resolved: Promise { }, strictAllowed: true } [2023-12-13 15:41:10.854] [DEBUG] ExecutableConfig.resolveVariable: { value: '/bin/bash', resolved: Promise { }, strictAllowed: false } [2023-12-13 15:41:10.855] [DEBUG] ExecutableConfig.resolveVariable: { value: [ '-c', '"source /home/fischer/ws/planner/devel_debug/setup.bash && ${cmd} ${argsStr} 2>&1"' ], resolved: Promise { }, strictAllowed: false } [2023-12-13 15:41:10.855] [INFO] executionWrapper was specified { isAbsolute: true, absPath: '/bin/bash', isPartOfWs: false, relativeToWsPosix: '../../../../bin/bash' } [ '-c', '"source /home/fischer/ws/planner/devel_debug/setup.bash && ${cmd} ${argsStr} 2>&1"' ]; [2023-12-13 15:41:10.892] [DEBUG] Not a supported test executable { spawner: s { _executor: '/bin/bash', _args: [ '-c', '"source /home/fischer/ws/planner/devel_debug/setup.bash && ${cmd} ${argsStr} 2>&1"' ], _cmdR: '${cmd}', _argsR: '${args}', _argsR2: '${argsFlat}', _argsStrR: '${argsStr}' }, execPath: '/home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-parameters', stdout: '', stderr: '/bin/bash: source /home/fischer/ws/planner/devel_debug/setup.bash && /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-parameters --help 2>&1: No such file or directory\n' } [2023-12-13 15:41:10.892] [DEBUG] Not a supported test executable { spawner: s { _executor: '/bin/bash', _args: [ '-c', '"source /home/fischer/ws/planner/devel_debug/setup.bash && ${cmd} ${argsStr} 2>&1"' ], _cmdR: '${cmd}', _argsR: '${args}', _argsR2: '${argsFlat}', _argsStrR: '${argsStr}' }, execPath: '/home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-trajectory_optimizer', stdout: '', stderr: '/bin/bash: source /home/fischer/ws/planner/devel_debug/setup.bash && /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-trajectory_optimizer --help 2>&1: No such file or directory\n' } [2023-12-13 15:41:10.892] [DEBUG] Not a supported test executable { spawner: s { _executor: '/bin/bash', _args: [ '-c', '"source /home/fischer/ws/planner/devel_debug/setup.bash && ${cmd} ${argsStr} 2>&1"' ], _cmdR: '${cmd}', _argsR: '${args}', _argsR2: '${argsFlat}', _argsStrR: '${argsStr}' }, execPath: '/home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi_types', stdout: '', stderr: '/bin/bash: source /home/fischer/ws/planner/devel_debug/setup.bash && /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi_types --help 2>&1: No such file or directory\n' } [2023-12-13 15:41:10.892] [DEBUG] Not a supported test executable { spawner: s { _executor: '/bin/bash', _args: [ '-c', '"source /home/fischer/ws/planner/devel_debug/setup.bash && ${cmd} ${argsStr} 2>&1"' ], _cmdR: '${cmd}', _argsR: '${args}', _argsR2: '${argsFlat}', _argsStrR: '${argsStr}' }, execPath: '/home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-planner', stdout: '', stderr: '/bin/bash: source /home/fischer/ws/planner/devel_debug/setup.bash && /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-planner --help 2>&1: No such file or directory\n' } [2023-12-13 15:41:10.893] [DEBUG] Not a supported test executable { spawner: s { _executor: '/bin/bash', _args: [ '-c', '"source /home/fischer/ws/planner/devel_debug/setup.bash && ${cmd} ${argsStr} 2>&1"' ], _cmdR: '${cmd}', _argsR: '${args}', _argsR2: '${argsFlat}', _argsStrR: '${argsStr}' }, execPath: '/home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi', stdout: '', stderr: '/bin/bash: source /home/fischer/ws/planner/devel_debug/setup.bash && /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi --help 2>&1: No such file or directory\n' } [2023-12-13 15:41:10.893] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi_types.TestMate.testListCache.xml [2023-12-13 15:41:10.893] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-planner [2023-12-13 15:41:10.893] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi [2023-12-13 15:41:10.893] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-trajectory_optimizer.TestMate.testListCache.xml [2023-12-13 15:41:10.893] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-planner.TestMate.testListCache.xml [2023-12-13 15:41:10.893] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi_types [2023-12-13 15:41:10.893] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi.TestMate.testListCache.xml [2023-12-13 15:41:10.893] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-parameters [2023-12-13 15:41:10.893] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-parameters.TestMate.testListCache.xml [2023-12-13 15:41:10.893] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-trajectory_optimizer [2023-12-13 15:41:10.893] [DEBUG] Not an executable: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi_types.TestMate.testListCache.xml Error: Not a native executable (filtered because of its extension): /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi_types.TestMate.testListCache.xml at Object.e.isNativeExecutableAsync (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:388720) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:272735 at e.ConfigOfExecGroup.load (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:273635) at async Promise.allSettled (index 2) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:316740 [2023-12-13 15:41:10.894] [DEBUG] Not an executable: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-trajectory_optimizer.TestMate.testListCache.xml Error: Not a native executable (filtered because of its extension): /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-trajectory_optimizer.TestMate.testListCache.xml at Object.e.isNativeExecutableAsync (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:388720) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:272735 at e.ConfigOfExecGroup.load (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:273635) at async Promise.allSettled (index 2) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:316740 [2023-12-13 15:41:10.894] [DEBUG] Not an executable: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-planner.TestMate.testListCache.xml Error: Not a native executable (filtered because of its extension): /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-planner.TestMate.testListCache.xml at Object.e.isNativeExecutableAsync (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:388720) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:272735 at e.ConfigOfExecGroup.load (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:273635) at async Promise.allSettled (index 2) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:316740 [2023-12-13 15:41:10.894] [DEBUG] Not an executable: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi.TestMate.testListCache.xml Error: Not a native executable (filtered because of its extension): /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi.TestMate.testListCache.xml at Object.e.isNativeExecutableAsync (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:388720) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:272735 at e.ConfigOfExecGroup.load (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:273635) at async Promise.allSettled (index 2) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:316740 [2023-12-13 15:41:10.894] [DEBUG] Not an executable: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-parameters.TestMate.testListCache.xml Error: Not a native executable (filtered because of its extension): /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-parameters.TestMate.testListCache.xml at Object.e.isNativeExecutableAsync (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:388720) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:272735 at e.ConfigOfExecGroup.load (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:273635) at async Promise.allSettled (index 2) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:316740 [2023-12-13 15:41:10.906] [DEBUG] ExecutableConfig.resolveVariable: { value: 'src/lanelet2/${relDirpath[-1:]}/test', resolved: Promise { }, strictAllowed: false } [2023-12-13 15:41:10.906] [DEBUG] ExecutableConfig.resolveVariable: { value: {}, resolved: Promise { }, strictAllowed: true } [2023-12-13 15:41:10.925] [DEBUG] Not a test executable: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-planner reason: Error: spawn /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-planner ENOENT at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19) at onErrorNT (node:internal/child_process:476:16) at processTicksAndRejections (node:internal/process/task_queues:82:21) { errno: -2, code: 'ENOENT', syscall: 'spawn /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-planner', path: '/home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-planner', spawnargs: [ '--help' ] } [2023-12-13 15:41:10.925] [DEBUG] ExecutableConfig.resolveVariable: { value: 'src/lanelet2/${relDirpath[-1:]}/test', resolved: Promise { }, strictAllowed: false } [2023-12-13 15:41:10.925] [DEBUG] ExecutableConfig.resolveVariable: { value: {}, resolved: Promise { }, strictAllowed: true } [2023-12-13 15:41:10.944] [DEBUG] Not a test executable: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi reason: Error: spawn /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi ENOENT at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19) at onErrorNT (node:internal/child_process:476:16) at processTicksAndRejections (node:internal/process/task_queues:82:21) { errno: -2, code: 'ENOENT', syscall: 'spawn /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi', path: '/home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi', spawnargs: [ '--help' ] } [2023-12-13 15:41:10.944] [DEBUG] ExecutableConfig.resolveVariable: { value: 'src/lanelet2/${relDirpath[-1:]}/test', resolved: Promise { }, strictAllowed: false } [2023-12-13 15:41:10.944] [DEBUG] ExecutableConfig.resolveVariable: { value: {}, resolved: Promise { }, strictAllowed: true } [2023-12-13 15:41:10.963] [DEBUG] Not a test executable: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi_types reason: Error: spawn /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi_types ENOENT at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19) at onErrorNT (node:internal/child_process:476:16) at processTicksAndRejections (node:internal/process/task_queues:82:21) { errno: -2, code: 'ENOENT', syscall: 'spawn /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi_types', path: '/home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi_types', spawnargs: [ '--help' ] } [2023-12-13 15:41:10.963] [DEBUG] ExecutableConfig.resolveVariable: { value: 'src/lanelet2/${relDirpath[-1:]}/test', resolved: Promise { }, strictAllowed: false } [2023-12-13 15:41:10.963] [DEBUG] ExecutableConfig.resolveVariable: { value: {}, resolved: Promise { }, strictAllowed: true } [2023-12-13 15:41:10.987] [DEBUG] Not a test executable: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-parameters reason: Error: spawn /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-parameters ENOENT at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19) at onErrorNT (node:internal/child_process:476:16) at processTicksAndRejections (node:internal/process/task_queues:82:21) { errno: -2, code: 'ENOENT', syscall: 'spawn /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-parameters', path: '/home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-parameters', spawnargs: [ '--help' ] } [2023-12-13 15:41:10.987] [DEBUG] ExecutableConfig.resolveVariable: { value: 'src/lanelet2/${relDirpath[-1:]}/test', resolved: Promise { }, strictAllowed: false } [2023-12-13 15:41:10.987] [DEBUG] ExecutableConfig.resolveVariable: { value: {}, resolved: Promise { }, strictAllowed: true } [2023-12-13 15:41:11.006] [DEBUG] Not a test executable: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-trajectory_optimizer reason: Error: spawn /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-trajectory_optimizer ENOENT at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19) at onErrorNT (node:internal/child_process:476:16) at processTicksAndRejections (node:internal/process/task_queues:82:21) { errno: -2, code: 'ENOENT', syscall: 'spawn /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-trajectory_optimizer', path: '/home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-trajectory_optimizer', spawnargs: [ '--help' ] } [2023-12-13 15:41:32.887] [INFO] Activating extension [2023-12-13 15:41:32.892] [INFO] [2023-12-13 15:41:32.892] [INFO] Activation finished [2023-12-13 15:42:45.872] [INFO] context:executables [ { name: '[debug] ${relDirpath[-1:]}', pattern: 'devel_debug/.private/**/lib/**/*gtest*', cwd: 'src/${relDirpath[-1:]}/test', executionWrapper: { path: '/bin/bash', args: [ '-c', '"source /home/fischer/ws/planner/devel_debug/setup.bash && ${cmd} ${argsStr} 2>&1"' ] }, gtest: { ignoreTestEnumerationStdErr: true, testGrouping: { groupByExecutable: [Object] } } }, { name: '[release] ${relDirpath[-1:]}', pattern: 'devel/lib/**/*gtest*', cwd: 'src/${relDirpath[-1:]}/test', gtest: { ignoreTestEnumerationStdErr: true, testGrouping: { groupByExecutable: [Object] } } }, { name: '[debug] ${relDirpath[-1:]}', pattern: 'devel_debug/.private/**/lib/**/*gtest*', cwd: 'src/lanelet2/${relDirpath[-1:]}/test', gtest: { ignoreTestEnumerationStdErr: true, testGrouping: { groupByExecutable: [Object] } } } ] [2023-12-13 15:42:45.883] [DEBUG] ExecutableConfig.resolveVariable: { value: 'devel_debug/.private/**/lib/**/*gtest*', resolved: Promise { }, strictAllowed: false } [2023-12-13 15:42:45.885] [DEBUG] ExecutableConfig.resolveVariable: { value: 'devel/lib/**/*gtest*', resolved: Promise { }, strictAllowed: false } [2023-12-13 15:42:45.885] [DEBUG] ExecutableConfig.resolveVariable: { value: 'devel_debug/.private/**/lib/**/*gtest*', resolved: Promise { }, strictAllowed: false } [2023-12-13 15:42:45.888] [INFO] pattern devel_debug/.private/**/lib/**/*gtest* /home/fischer/ws/planner { isAbsolute: false, absPath: '/home/fischer/ws/planner/devel_debug/.private/**/lib/**/*gtest*', isPartOfWs: true, relativeToWsPosix: 'devel_debug/.private/**/lib/**/*gtest*' } [2023-12-13 15:42:45.889] [INFO] pattern devel/lib/**/*gtest* /home/fischer/ws/planner { isAbsolute: false, absPath: '/home/fischer/ws/planner/devel/lib/**/*gtest*', isPartOfWs: true, relativeToWsPosix: 'devel/lib/**/*gtest*' } [2023-12-13 15:42:45.890] [INFO] pattern devel_debug/.private/**/lib/**/*gtest* /home/fischer/ws/planner { isAbsolute: false, absPath: '/home/fischer/ws/planner/devel_debug/.private/**/lib/**/*gtest*', isPartOfWs: true, relativeToWsPosix: 'devel_debug/.private/**/lib/**/*gtest*' } [2023-12-13 15:42:45.981] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi_types.TestMate.testListCache.xml [2023-12-13 15:42:45.982] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi [2023-12-13 15:42:45.982] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-planner [2023-12-13 15:42:45.982] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-trajectory_optimizer.TestMate.testListCache.xml [2023-12-13 15:42:45.982] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-parameters.TestMate.testListCache.xml [2023-12-13 15:42:45.982] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi.TestMate.testListCache.xml [2023-12-13 15:42:45.983] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-parameters [2023-12-13 15:42:45.983] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-trajectory_optimizer [2023-12-13 15:42:45.983] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi_types [2023-12-13 15:42:45.983] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-planner.TestMate.testListCache.xml [2023-12-13 15:42:45.983] [DEBUG] Not an executable: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi_types.TestMate.testListCache.xml Error: Not a native executable (filtered because of its extension): /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi_types.TestMate.testListCache.xml at Object.e.isNativeExecutableAsync (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:388720) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:272735 at e.ConfigOfExecGroup.load (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:273635) at async Promise.allSettled (index 0) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:316740 [2023-12-13 15:42:45.988] [DEBUG] Not an executable: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-trajectory_optimizer.TestMate.testListCache.xml Error: Not a native executable (filtered because of its extension): /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-trajectory_optimizer.TestMate.testListCache.xml at Object.e.isNativeExecutableAsync (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:388720) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:272735 at e.ConfigOfExecGroup.load (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:273635) at async Promise.allSettled (index 0) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:316740 [2023-12-13 15:42:45.988] [DEBUG] Not an executable: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-parameters.TestMate.testListCache.xml Error: Not a native executable (filtered because of its extension): /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-parameters.TestMate.testListCache.xml at Object.e.isNativeExecutableAsync (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:388720) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:272735 at e.ConfigOfExecGroup.load (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:273635) at async Promise.allSettled (index 0) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:316740 [2023-12-13 15:42:45.989] [DEBUG] Not an executable: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi.TestMate.testListCache.xml Error: Not a native executable (filtered because of its extension): /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi.TestMate.testListCache.xml at Object.e.isNativeExecutableAsync (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:388720) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:272735 at e.ConfigOfExecGroup.load (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:273635) at async Promise.allSettled (index 0) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:316740 [2023-12-13 15:42:45.989] [DEBUG] Not an executable: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-planner.TestMate.testListCache.xml Error: Not a native executable (filtered because of its extension): /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-planner.TestMate.testListCache.xml at Object.e.isNativeExecutableAsync (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:388720) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:272735 at e.ConfigOfExecGroup.load (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:273635) at async Promise.allSettled (index 0) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:316740 [2023-12-13 15:42:45.991] [DEBUG] ExecutableConfig.resolveVariable: { value: 'src/${relDirpath[-1:]}/test', resolved: Promise { }, strictAllowed: false } [2023-12-13 15:42:45.991] [DEBUG] ExecutableConfig.resolveVariable: { value: {}, resolved: Promise { }, strictAllowed: true } [2023-12-13 15:42:45.992] [DEBUG] ExecutableConfig.resolveVariable: { value: '/bin/bash', resolved: Promise { }, strictAllowed: false } [2023-12-13 15:42:45.992] [DEBUG] ExecutableConfig.resolveVariable: { value: [ '-c', '"source /home/fischer/ws/planner/devel_debug/setup.bash && ${cmd} ${argsStr} 2>&1"' ], resolved: Promise { }, strictAllowed: false } [2023-12-13 15:42:45.993] [INFO] executionWrapper was specified { isAbsolute: true, absPath: '/bin/bash', isPartOfWs: false, relativeToWsPosix: '../../../../bin/bash' } [ '-c', '"source /home/fischer/ws/planner/devel_debug/setup.bash && ${cmd} ${argsStr} 2>&1"' ]; [2023-12-13 15:42:46.008] [DEBUG] ExecutableConfig.resolveVariable: { value: 'src/${relDirpath[-1:]}/test', resolved: Promise { }, strictAllowed: false } [2023-12-13 15:42:46.009] [DEBUG] ExecutableConfig.resolveVariable: { value: {}, resolved: Promise { }, strictAllowed: true } [2023-12-13 15:42:46.009] [DEBUG] ExecutableConfig.resolveVariable: { value: '/bin/bash', resolved: Promise { }, strictAllowed: false } [2023-12-13 15:42:46.010] [DEBUG] ExecutableConfig.resolveVariable: { value: [ '-c', '"source /home/fischer/ws/planner/devel_debug/setup.bash && ${cmd} ${argsStr} 2>&1"' ], resolved: Promise { }, strictAllowed: false } [2023-12-13 15:42:46.012] [INFO] executionWrapper was specified { isAbsolute: true, absPath: '/bin/bash', isPartOfWs: false, relativeToWsPosix: '../../../../bin/bash' } [ '-c', '"source /home/fischer/ws/planner/devel_debug/setup.bash && ${cmd} ${argsStr} 2>&1"' ]; [2023-12-13 15:42:46.027] [DEBUG] ExecutableConfig.resolveVariable: { value: 'src/${relDirpath[-1:]}/test', resolved: Promise { }, strictAllowed: false } [2023-12-13 15:42:46.027] [DEBUG] ExecutableConfig.resolveVariable: { value: {}, resolved: Promise { }, strictAllowed: true } [2023-12-13 15:42:46.027] [DEBUG] ExecutableConfig.resolveVariable: { value: '/bin/bash', resolved: Promise { }, strictAllowed: false } [2023-12-13 15:42:46.027] [DEBUG] ExecutableConfig.resolveVariable: { value: [ '-c', '"source /home/fischer/ws/planner/devel_debug/setup.bash && ${cmd} ${argsStr} 2>&1"' ], resolved: Promise { }, strictAllowed: false } [2023-12-13 15:42:46.028] [INFO] executionWrapper was specified { isAbsolute: true, absPath: '/bin/bash', isPartOfWs: false, relativeToWsPosix: '../../../../bin/bash' } [ '-c', '"source /home/fischer/ws/planner/devel_debug/setup.bash && ${cmd} ${argsStr} 2>&1"' ]; [2023-12-13 15:42:46.042] [DEBUG] ExecutableConfig.resolveVariable: { value: 'src/${relDirpath[-1:]}/test', resolved: Promise { }, strictAllowed: false } [2023-12-13 15:42:46.043] [DEBUG] ExecutableConfig.resolveVariable: { value: {}, resolved: Promise { }, strictAllowed: true } [2023-12-13 15:42:46.043] [DEBUG] ExecutableConfig.resolveVariable: { value: '/bin/bash', resolved: Promise { }, strictAllowed: false } [2023-12-13 15:42:46.043] [DEBUG] ExecutableConfig.resolveVariable: { value: [ '-c', '"source /home/fischer/ws/planner/devel_debug/setup.bash && ${cmd} ${argsStr} 2>&1"' ], resolved: Promise { }, strictAllowed: false } [2023-12-13 15:42:46.044] [INFO] executionWrapper was specified { isAbsolute: true, absPath: '/bin/bash', isPartOfWs: false, relativeToWsPosix: '../../../../bin/bash' } [ '-c', '"source /home/fischer/ws/planner/devel_debug/setup.bash && ${cmd} ${argsStr} 2>&1"' ]; [2023-12-13 15:42:46.059] [DEBUG] ExecutableConfig.resolveVariable: { value: 'src/${relDirpath[-1:]}/test', resolved: Promise { }, strictAllowed: false } [2023-12-13 15:42:46.059] [DEBUG] ExecutableConfig.resolveVariable: { value: {}, resolved: Promise { }, strictAllowed: true } [2023-12-13 15:42:46.060] [DEBUG] ExecutableConfig.resolveVariable: { value: '/bin/bash', resolved: Promise { }, strictAllowed: false } [2023-12-13 15:42:46.060] [DEBUG] ExecutableConfig.resolveVariable: { value: [ '-c', '"source /home/fischer/ws/planner/devel_debug/setup.bash && ${cmd} ${argsStr} 2>&1"' ], resolved: Promise { }, strictAllowed: false } [2023-12-13 15:42:46.060] [INFO] executionWrapper was specified { isAbsolute: true, absPath: '/bin/bash', isPartOfWs: false, relativeToWsPosix: '../../../../bin/bash' } [ '-c', '"source /home/fischer/ws/planner/devel_debug/setup.bash && ${cmd} ${argsStr} 2>&1"' ]; [2023-12-13 15:42:46.076] [DEBUG] Not a supported test executable { spawner: s { _executor: '/bin/bash', _args: [ '-c', '"source /home/fischer/ws/planner/devel_debug/setup.bash && ${cmd} ${argsStr} 2>&1"' ], _cmdR: '${cmd}', _argsR: '${args}', _argsR2: '${argsFlat}', _argsStrR: '${argsStr}' }, execPath: '/home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi_types', stdout: '', stderr: '/bin/bash: source /home/fischer/ws/planner/devel_debug/setup.bash && /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi_types --help 2>&1: No such file or directory\n' } [2023-12-13 15:42:46.077] [DEBUG] Not a supported test executable { spawner: s { _executor: '/bin/bash', _args: [ '-c', '"source /home/fischer/ws/planner/devel_debug/setup.bash && ${cmd} ${argsStr} 2>&1"' ], _cmdR: '${cmd}', _argsR: '${args}', _argsR2: '${argsFlat}', _argsStrR: '${argsStr}' }, execPath: '/home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-trajectory_optimizer', stdout: '', stderr: '/bin/bash: source /home/fischer/ws/planner/devel_debug/setup.bash && /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-trajectory_optimizer --help 2>&1: No such file or directory\n' } [2023-12-13 15:42:46.077] [DEBUG] Not a supported test executable { spawner: s { _executor: '/bin/bash', _args: [ '-c', '"source /home/fischer/ws/planner/devel_debug/setup.bash && ${cmd} ${argsStr} 2>&1"' ], _cmdR: '${cmd}', _argsR: '${args}', _argsR2: '${argsFlat}', _argsStrR: '${argsStr}' }, execPath: '/home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-parameters', stdout: '', stderr: '/bin/bash: source /home/fischer/ws/planner/devel_debug/setup.bash && /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-parameters --help 2>&1: No such file or directory\n' } [2023-12-13 15:42:46.077] [DEBUG] Not a supported test executable { spawner: s { _executor: '/bin/bash', _args: [ '-c', '"source /home/fischer/ws/planner/devel_debug/setup.bash && ${cmd} ${argsStr} 2>&1"' ], _cmdR: '${cmd}', _argsR: '${args}', _argsR2: '${argsFlat}', _argsStrR: '${argsStr}' }, execPath: '/home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-planner', stdout: '', stderr: '/bin/bash: source /home/fischer/ws/planner/devel_debug/setup.bash && /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-planner --help 2>&1: No such file or directory\n' } [2023-12-13 15:42:46.078] [DEBUG] Not a supported test executable { spawner: s { _executor: '/bin/bash', _args: [ '-c', '"source /home/fischer/ws/planner/devel_debug/setup.bash && ${cmd} ${argsStr} 2>&1"' ], _cmdR: '${cmd}', _argsR: '${args}', _argsR2: '${argsFlat}', _argsStrR: '${argsStr}' }, execPath: '/home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi', stdout: '', stderr: '/bin/bash: source /home/fischer/ws/planner/devel_debug/setup.bash && /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi --help 2>&1: No such file or directory\n' } [2023-12-13 15:42:46.114] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-trajectory_optimizer.TestMate.testListCache.xml [2023-12-13 15:42:46.114] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-planner [2023-12-13 15:42:46.114] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi [2023-12-13 15:42:46.114] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi_types.TestMate.testListCache.xml [2023-12-13 15:42:46.114] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-planner.TestMate.testListCache.xml [2023-12-13 15:42:46.115] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-parameters.TestMate.testListCache.xml [2023-12-13 15:42:46.115] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi.TestMate.testListCache.xml [2023-12-13 15:42:46.115] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-parameters [2023-12-13 15:42:46.115] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-trajectory_optimizer [2023-12-13 15:42:46.115] [DEBUG] Checking file for tests: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi_types [2023-12-13 15:42:46.115] [DEBUG] Not an executable: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-trajectory_optimizer.TestMate.testListCache.xml Error: Not a native executable (filtered because of its extension): /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-trajectory_optimizer.TestMate.testListCache.xml at Object.e.isNativeExecutableAsync (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:388720) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:272735 at e.ConfigOfExecGroup.load (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:273635) at async Promise.allSettled (index 2) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:316740 [2023-12-13 15:42:46.116] [DEBUG] Not an executable: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi_types.TestMate.testListCache.xml Error: Not a native executable (filtered because of its extension): /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi_types.TestMate.testListCache.xml at Object.e.isNativeExecutableAsync (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:388720) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:272735 at e.ConfigOfExecGroup.load (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:273635) at async Promise.allSettled (index 2) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:316740 [2023-12-13 15:42:46.117] [DEBUG] Not an executable: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-planner.TestMate.testListCache.xml Error: Not a native executable (filtered because of its extension): /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-planner.TestMate.testListCache.xml at Object.e.isNativeExecutableAsync (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:388720) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:272735 at e.ConfigOfExecGroup.load (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:273635) at async Promise.allSettled (index 2) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:316740 [2023-12-13 15:42:46.117] [DEBUG] Not an executable: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-parameters.TestMate.testListCache.xml Error: Not a native executable (filtered because of its extension): /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-parameters.TestMate.testListCache.xml at Object.e.isNativeExecutableAsync (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:388720) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:272735 at e.ConfigOfExecGroup.load (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:273635) at async Promise.allSettled (index 2) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:316740 [2023-12-13 15:42:46.117] [DEBUG] Not an executable: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi.TestMate.testListCache.xml Error: Not a native executable (filtered because of its extension): /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi.TestMate.testListCache.xml at Object.e.isNativeExecutableAsync (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:388720) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:272735 at e.ConfigOfExecGroup.load (/home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:273635) at async Promise.allSettled (index 2) at /home/fischer/.vscode/extensions/matepek.vscode-catch2-test-adapter-4.6.3/out/dist/main.js:2:316740 [2023-12-13 15:42:46.118] [DEBUG] ExecutableConfig.resolveVariable: { value: 'src/lanelet2/${relDirpath[-1:]}/test', resolved: Promise { }, strictAllowed: false } [2023-12-13 15:42:46.119] [DEBUG] ExecutableConfig.resolveVariable: { value: {}, resolved: Promise { }, strictAllowed: true } [2023-12-13 15:42:46.135] [DEBUG] Not a test executable: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-planner reason: Error: spawn /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-planner ENOENT at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19) at onErrorNT (node:internal/child_process:476:16) at processTicksAndRejections (node:internal/process/task_queues:82:21) { errno: -2, code: 'ENOENT', syscall: 'spawn /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-planner', path: '/home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-planner', spawnargs: [ '--help' ] } [2023-12-13 15:42:46.136] [DEBUG] ExecutableConfig.resolveVariable: { value: 'src/lanelet2/${relDirpath[-1:]}/test', resolved: Promise { }, strictAllowed: false } [2023-12-13 15:42:46.136] [DEBUG] ExecutableConfig.resolveVariable: { value: {}, resolved: Promise { }, strictAllowed: true } [2023-12-13 15:42:46.148] [DEBUG] Not a test executable: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi reason: Error: spawn /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi ENOENT at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19) at onErrorNT (node:internal/child_process:476:16) at processTicksAndRejections (node:internal/process/task_queues:82:21) { errno: -2, code: 'ENOENT', syscall: 'spawn /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi', path: '/home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi', spawnargs: [ '--help' ] } [2023-12-13 15:42:46.149] [DEBUG] ExecutableConfig.resolveVariable: { value: 'src/lanelet2/${relDirpath[-1:]}/test', resolved: Promise { }, strictAllowed: false } [2023-12-13 15:42:46.149] [DEBUG] ExecutableConfig.resolveVariable: { value: {}, resolved: Promise { }, strictAllowed: true } [2023-12-13 15:42:46.163] [DEBUG] Not a test executable: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-parameters reason: Error: spawn /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-parameters ENOENT at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19) at onErrorNT (node:internal/child_process:476:16) at processTicksAndRejections (node:internal/process/task_queues:82:21) { errno: -2, code: 'ENOENT', syscall: 'spawn /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-parameters', path: '/home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-parameters', spawnargs: [ '--help' ] } [2023-12-13 15:42:46.164] [DEBUG] ExecutableConfig.resolveVariable: { value: 'src/lanelet2/${relDirpath[-1:]}/test', resolved: Promise { }, strictAllowed: false } [2023-12-13 15:42:46.164] [DEBUG] ExecutableConfig.resolveVariable: { value: {}, resolved: Promise { }, strictAllowed: true } [2023-12-13 15:42:46.175] [DEBUG] Not a test executable: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-trajectory_optimizer reason: Error: spawn /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-trajectory_optimizer ENOENT at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19) at onErrorNT (node:internal/child_process:476:16) at processTicksAndRejections (node:internal/process/task_queues:82:21) { errno: -2, code: 'ENOENT', syscall: 'spawn /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-trajectory_optimizer', path: '/home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-trajectory_optimizer', spawnargs: [ '--help' ] } [2023-12-13 15:42:46.177] [DEBUG] ExecutableConfig.resolveVariable: { value: 'src/lanelet2/${relDirpath[-1:]}/test', resolved: Promise { }, strictAllowed: false } [2023-12-13 15:42:46.178] [DEBUG] ExecutableConfig.resolveVariable: { value: {}, resolved: Promise { }, strictAllowed: true } [2023-12-13 15:42:46.190] [DEBUG] Not a test executable: /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi_types reason: Error: spawn /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi_types ENOENT at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19) at onErrorNT (node:internal/child_process:476:16) at processTicksAndRejections (node:internal/process/task_queues:82:21) { errno: -2, code: 'ENOENT', syscall: 'spawn /home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi_types', path: '/home/fischer/ws/planner/devel_debug/.private/motionplanner_mpc_2d/lib/motionplanner_mpc_2d/motionplanner_mpc_2d-gtest-casadi_types', spawnargs: [ '--help' ] } ```
matepek commented 11 months ago

Hello.

No such file or directory is the error message.

I would recommend trying the envFile approach. It is easier and less error prone.

Also your quotations doesn't seem right. try to remove the \"

johannes-fischer commented 11 months ago

Thanks for your advice, much appreciated!

The setup.sh script is auto-generated by our software tooling, so I cannot replace it with a hand-written envFile where I define the environment variables myself. Or is there a way how I can run a setup.sh command in an envFile? I could not find much online on envFile's.

I will try it without the extra quotation marks. Just fyi: I took the quotation from your example here but maybe I misunderstood it.

matepek commented 11 months ago

quotation are around the ${cmd} in the example

johannes-fischer commented 11 months ago

I know, I have tried different ways where to put them

matepek commented 11 months ago

try this

{
    "version": "2.0.0",
    "tasks": [
        {
            "label": "generate env file",
            "type": "shell",
            "command": "/bin/bash",
            "args": [
                "-c",
                "source setup.sh && set > setup.env"
            ],
            "group": "build",
            "presentation": {
                // Reveal the output only if unrecognised errors occur.
                "reveal": "silent"
            }
        }
    ]
}

don't forget you need this as a task in the tasks.json and has to add the task name like:

"testMate.cpp.test.advancedExecutables": [
  {
    "pattern": "...",
    "envFile": "setup.env",
    "runTask": {
      "before": [ "generate env file" ]
    }
  }
]

Furthermore one can fine tune the generate env file task to run only if necessary like

/bin/bash -c  "if test ! -f setup.env; then source setup.sh && set > setup.env; fi"

Test command is quite extensive, you can do a lot of magic here to make your workflow faster