Open Crola1702 opened 1 year ago
This happened today in https://build.osrfoundation.org/job/ign_launch-ign-5-win/38/console
It turns out, at least from what I can tell, none of our libraries, except ign-launch2
and ign-launch5
run UNIT_ign_TEST
/UNIT_gz_TEST
on Windows 😅. I'm going to investigate why, but if anyone knows, please chime in.
I was able to resolve the error regarding the invalid path:
C:/Jenkins/workspace/ign_launch-ign-5-win/ws/build/ignition-launch5/test/lib/Release/ruby/ignition/cmdlaunch5.rb:40:in ``': Invalid argument - C:/Jenkins/workspace/ign_launch-ign-5-win/ws/build/ignition-launch5/test/lib/Release/ruby/ignition/C:/Jenkins/workspace/ign_launch-ign-5-win/ws/build/ignition-launch5/bin/Release/ign-launch.exe --version (Errno::EINVAL)
from C:/Jenkins/workspace/ign_launch-ign-5-win/ws/build/ignition-launch5/test/lib/Release/ruby/ignition/cmdlaunch5.rb:40:in `execute'
from C:/Jenkins/workspace/ign_launch-ign-5-win/ws/install/ignition-tools/bin//ign:301:in `<main>'
with https://github.com/azeey/gz-launch/commit/e6e7805810171f22ce267156f181c07c8396ef08, but now the UNIT_ign_TEST
times out after 240s. Both the UNIT_Manager_TEST
and now the UNIT_ign_TEST
timeout while running dir
or ls
, which should return instantly. I'm also not sure if the UNIT_Manager_TEST
ever passed. The original implementation (#120) indicates 6 failures, which is what we're seeing right now. So I propose we disable both tests on windows.
I'll try to apply https://github.com/azeey/gz-launch/commit/e6e7805810171f22ce267156f181c07c8396ef08 to other gz libraries and hopefully enable UNIT_ign_TEST/UNIT_gz_TEST
.
This issue is failing consistently in gz-launch5-win
Reference build: https://build.osrfoundation.org/job/gz_launch-ign-launch5-win/36/
Log output is different this time:
C:\J\workspace\gz_launch-ign-launch5-win\ws\gz-launch\src\cmd\ign_TEST.cc:136
Expected: (std::string::npos) != (helpOutput.find(flag)), actual: 18446744073709551615 vs 18446744073709551615
Library error: ignition-tools-backward.dll not found. Improved backtrace generation will be disabled
C:/J/workspace/gz_launch-ign-launch5-win/ws/build/ignition-launch5/test/lib/Release/ruby/ignition/cmdlaunch5.rb:40:in ``': Invalid argument - C:/J/workspace/gz_launch-ign-launch5-win/ws/build/ignition-launch5/test/lib/Release/ruby/ignition/C:/J/workspace/gz_launch-ign-launch5-win/ws/build/ignition-launch5/bin/Release/ign-launch.exe --version (Errno::EINVAL)
from C:/J/workspace/gz_launch-ign-launch5-win/ws/build/ignition-launch5/test/lib/Release/ruby/ignition/cmdlaunch5.rb:40:in `execute'
from C:/J/workspace/gz_launch-ign-launch5-win/ws/install/ignition-tools/bin//ign:301:in `<main>'
Environment
Description
Steps to reproduce
Output
CmdLine.HelpVsCompletionFlags:
CmdLine.Ls:
CmdLine.EchoSelf:
CmdLine.HelpSelf:
CmdLine.EchoErb:
CmdLine.EchoBadErb:
They all have:
ignition-tools-backward.dll not found
in their output