-
Notifications
You must be signed in to change notification settings - Fork 130
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
run_ros_prerelease: drop builder_setup #816
base: master
Are you sure you want to change the base?
Conversation
We need to install the builder, otherwise the ros_buildfarm will skip checking the tests. |
Hm. Yes, I see.
Seems to improve the situation. Indeed, for a Noetic build, the tests are checked again.
Next, I will try running the prerelease test within a docker image matching |
This doesn't work either because $ sudo -EH -u ci generate_prerelease_script.py https://raw.githubusercontent.com/ros-infrastructure/ros_buildfarm_config/production/index.yaml melodic default ubuntu bionic amd64 --build-tool catkin_make_isolated --level 0 --output-dir /tmp/tmp.jmYuNxo05C --custom-repo geometric_shapes::::
Fetching buildfarm configuration...
Traceback (most recent call last):
File "/usr/local/bin/generate_prerelease_script.py", line 333, in <module>
sys.exit(main())
File "/usr/local/bin/generate_prerelease_script.py", line 91, in main
config = get_config_index(args.config_url)
File "/usr/local/lib/python3.6/dist-packages/ros_buildfarm/config/__init__.py", line 35, in get_index
data = yaml.load(yaml_str)
TypeError: load() missing 1 required positional argument: 'Loader'
'sudo -EH -u ci generate_prerelease_script.py https://raw.githubusercontent.com/ros-infrastructure/ros_buildfarm_config/production/index.yaml melodic default ubuntu bionic amd64 --build-tool catkin_make_isolated --level 0 --output-dir /tmp/tmp.jmYuNxo05C --custom-repo geometric_shapes::::' returned with 1 |
The prerelease script should not care about an underlay workspace. The only reason for sourcing a ROS workspace is to make colcon or catkin_test_results available.
I found the actual culprit: The problem was sourcing of |
The prerelease test always runs image
ros:noetic-ros-core
, independent ofROS_DISTRO
:industrial_ci/industrial_ci/src/tests/ros_prerelease.sh
Line 100 in d462896
Subsequently running
${BUILDER}_setup
attempts to install the wrong debian package (matchingROS_DISTRO
):