Open
Description
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:
- Build Farms
- At FAQ-2: "...you can run the release jobs locally."
- "you need to setup your environment with the necessary Python packages."
- "Example:
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'
- I worked around problem 1 by setting up the environment again from scratch, specifying a constraints file:
(venv)$ echo "PyYAML<6.0" > ros_buildfarm_venv/constraints.txt
(venv)$ pip3 install -c ros_buildfarm_venv/constraints.txt empy
(venv)$ pip3 install -c ros_buildfarm_venv/constraints.txt jenkinsapi
(venv)$ pip3 install -c ros_buildfarm_venv/constraints.txt rosdistro
- Fails because
indigo
is unknown.
(venv)$ generate_release_script.py https://raw.githubusercontent.com/ros-infrastructure/ros_buildfarm_config/production/index.yaml indigo default roscpp ubuntu trusty amd64 > release_job/release_job_indigo_roscpp.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)
Traceback (most recent call last):
File "/home/habecker/ros_buildfarm_venv/bin/generate_release_script.py", line 144, in <module>
sys.exit(main())
File "/home/habecker/ros_buildfarm_venv/bin/generate_release_script.py", line 83, in main
configure_release_job(
File "/home/habecker/ros_buildfarm_venv/lib/python3.10/site-packages/ros_buildfarm/release_job.py", line 369, in configure_release_job
build_files = get_release_build_files(config, rosdistro_name)
File "/home/habecker/ros_buildfarm_venv/lib/python3.10/site-packages/ros_buildfarm/config/__init__.py", line 59, in get_release_build_files
data = _get_build_file_data(index, dist_name, 'release_builds')
File "/home/habecker/ros_buildfarm_venv/lib/python3.10/site-packages/ros_buildfarm/config/__init__.py", line 92, in _get_build_file_data
raise RuntimeError(
RuntimeError: Unknown release: 'indigo'. Valid release names are: 'melodic', 'noetic'
Metadata
Metadata
Assignees
Labels
No labels