Open cdhabecker opened 1 year ago
The core problem is that the BuildFarm doc became out of date in ROS 1 and has never provided ROS 2 information. Someone set up the ROS 2 build farm, but they didn't figure it out by reading the humble or iron doc.
Because I am compelled to complete the things that I start, I made some educated guesses:
The default branch of https://github.com/ros2/ros_buildfarm_config is "ros2", and it appears to be the only branch that is up to date (README says to fork master, but master is old).
I tried the generate script with the ROS 2 yaml. It recognized "iron" this time. And then it didn't recognize roscpp. Come to think of it, neither do I -- I know only ROS 2. It should be rclcpp. And it didn't recognize ubuntu trusty, which is fine -- I'm running jammy anyway. And then it finally generated a script!
(venv)$ generate_release_script.py https://raw.githubusercontent.com/ros2/ros_buildfarm_config/ros2/index.yaml iron default rclcpp ubuntu jammy amd64 > release_job/release_job_iron_rclcpp.sh
/home/habecker/ros_buildfarm_venv/lib/python3.10/site-packages/ros_buildfarm/config/__init__.py:35: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
data = yaml.load(yaml_str)
/home/habecker/ros_buildfarm_venv/lib/python3.10/site-packages/ros_buildfarm/config/__init__.py:107: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
return yaml.load(yaml_str)
(venv)$
TODO: run the generated script.
Thank you! Took me some searching to arrive at this issue.
I'd say even without the todo, the written part is already worthy of a fix PR I'd say.
Error:
Unknown release: 'indigo'. Valid release names are: 'melodic', 'noetic'
Error: based on the current
index.yaml
, this build infra does not support Iron. So where's the ROS 2 buildfarm infra?The path that I followed:
generate_release_script.py https://raw.githubusercontent.com/ros-infrastructure/ros_buildfarm_config/production/index.yaml indigo default roscpp ubuntu trusty amd64 > /tmp/release_job/release_job_indigo_roscpp.sh
"Problems:
generate_release_script.py
fails because the environment setup instructions install PyYAML 6.0, which no longer allows a long-deprecated usage:TypeError: load() missing 1 required positional argument: 'Loader'
indigo
is unknown.