-
Notifications
You must be signed in to change notification settings - Fork 97
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
Dev jobs fail with "java.lang.IllegalArgumentException: The tools section is required" #871
Comments
It seems additions after the "collated test stats" feature did not add additional section headings. The error:
seems to be coming from something else (ie: the |
And it looks like that has affected all normally succeeding ROS1 dev jobs for at least the last ~16h. (Last successful test job: ~17h ago) |
Seems related: xunit 2.3.4 fails to read xunit 1.102 configs. |
A similar problem caused all of the overnight ROS 2 CI jobs to fail: https://ci.ros2.org/view/nightly/ |
This issue has been mentioned on ROS Discourse. There might be relevant details there: |
I think the underlying problem is the XStream updates introduced in 2.277.3
When reading the above paragraph of the [changelog] initially I glossed passed the "breaking changes!" after seeing the "user interface components" discussion and missed the later xstream paragraph. According to the compatibility table xunit requires an upgrade to at least 2.4.0 to be compatible. In ros2/ci we were able to come up with a temporary workaround (ros2/ci#569) which at least appears to be running but I'm hesitant to make the same change to ros_buildfarm due to the scale of reconfiguration required as well as considering whether or not the change is even necessary or forward compatible with xunit 2.4.0. I'm in the process of setting up a staging server with the plugin updates necessary to run xunit 2.4.0 to check how things work there. |
The above investigation bore out and I've opened a PR for the ros-buildfarm cookbook updating the xunit plugin to 2.4.0. I'd have to do more changelog scanning to assess how risky a full upgrade to 3.x is but ros-infrastructure/cookbook-ros-buildfarm#89 should get us back to operational as long as it passes review. |
The above change has been deployed to build.ros2.org but was not able to resolve the issue in all cases. |
I fetched the XML configuration from both staging and production to compare them and found that although the creation of the devel job with the old configuration was accepted without error the affected configuration block was dropped entirely. It seems that there is no compatibility with the old config block and so I'll put an additional PR in to update the config and we'll reconfigure everything. edit: scratch that. I had reversed the diff direction. The fully configured staging job has a |
I've been trying to avoid simply updating the XML to avoid breaking the configuration for any ros_buildfarm users who have not yet updated to Jenkins 2.277 in light of other issues. If anyone has an earlier buildfarm and can try to change the field name from |
One thing we still don't know is whether the future versions of xunit+jenkins will "prefer" the |
The ros_canopen dev jobs (ubuntu & debian) just started to fail
inafter? the "Create collated test stats dir" section.The text was updated successfully, but these errors were encountered: