-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some Windows build issues getting details swallowed: #435
Comments
@j-rivero Can you please look into this since it is related to the new Jenkins warnings-ng plugin you deployed. |
I've verified that it happens because the console log displays some blank lines among the cmake warning message:
Is this somehow an effect of colcon output? If so, does it happen in colcon log files? If log files does not have this effect, a similar approach to what we have for tests in #316 could help (injecting directly colcon log in the cmake warning plugin configuration. If it is a desired/difficult-to-avoid-effect we could try some workarounds on top of the colcon log file but I would like to avoid it if possible. |
I doubt it.
I don't know - but I would doubt that the content of the log files would be any different than the console output. Have you checked the content of the log file in the case of such a CMake warning? A test build of an arbitrary package with a CMake warning doesn't show any extra empty lines in the CMake output: https://ci.ros2.org/job/ci_windows/10828/consoleFull#console-section-84 In the builds referenced above the CMake warning happened in an In this case the console / log contain When rewriting those to only patch
So I would argue this is a bug in Jenkins or a Jenkins plugin. Not sure if we want to work around it in |
Thanks for looking into it deeper:
Let's try to file a bug in the Jenkins plugin. I'm trying to reproduce it with a minimal use case: https://github.com/j-rivero/cmake_warning_ng_bug. If I use the build.osrfoundation.org buildfarm to run the test case on Windows, the blank lines do not appear (nor the warning, probably different versions of cmake). Same if I built It could be: something that happen with new versions of cmake or my bet is that is something in the configuration of ci.ros2.org buildfarm (maybe another plugin). I can give a look into it if I can create a test job inside ci.ros2.org for this. |
@j-rivero Any update on this? |
Although there are warnings from both cmake and msbuild, the details of the errors are not showing up on their respective warning pages. Just the truncated details "cmd.exe" exited with code 1." for msbuild and nothing for CMake.
https://ci.ros2.org/job/ci_windows/10157/cmake/
https://ci.ros2.org/job/ci_windows/10157/msbuild/
The text was updated successfully, but these errors were encountered: