[ros-release] Triggering pre-release jobs for a yet-to-be-released package fails

Dirk Thomas dthomas at osrfoundation.org
Wed Oct 30 17:56:27 UTC 2013


If you have not "released" your package (aka not invoke bloom-release) your only choice is the devel test from your source repository specified in the source.yaml.

If you have "released" your package (invoked bloom-release which populated the gbp) but e.g. not yet send a pull request for rosdistro (or it hasn't been merged yet) you can select "latest" which will 
use the last release from the gbp repository.

In your first prerelease the GBP repository was not yet available in the rosdistro (it takes some minutes after the pull request has been merged).
All subsequent prereleases you made are failing with a CMake error in your package: 
http://jenkins.ros.org/job/prerelease-groovy-rtmros_nextage/ARCH_PARAM=amd64,UBUNTU_PARAM=precise,label=prerelease/6/console
See excerpt of the error message below...

- Dirk

--

Executing command 'cmake /tmp/test_repositories/src_repository 
-DCATKIN_TEST_RESULTS_DIR=/home/rosbuild/hudson/workspace/prerelease-groovy-rtmros_nextage/ARCH_PARAM/amd64/UBUNTU_PARAM/precise/label/prerelease/test_results/repos'

-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/lib/ccache/gcc
-- Check for working C compiler: /usr/lib/ccache/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/ccache/c++
-- Check for working CXX compiler: /usr/lib/ccache/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Using CATKIN_DEVEL_PREFIX: /tmp/test_repositories/build_repository/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/groovy
-- This workspace overlays: /opt/ros/groovy
-- Found PythonInterp: /usr/bin/python (found version "2.7.3")
-- Using Debian Python package layout
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/rosbuild/hudson/workspace/prerelease-groovy-rtmros_nextage/ARCH_PARAM/amd64/UBUNTU_PARAM/precise/label/prerelease/test_results/repos
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- catkin 0.5.77
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~  traversing 4 packages in topological order:
-- ~~  - nextage_description
-- ~~  - nextage_moveit_config
-- ~~  - nextage_ros_bridge
-- ~~  - rtmros_nextage (metapackage)
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'nextage_description'
-- ==> add_subdirectory(nextage_description)
-- +++ processing catkin package: 'nextage_moveit_config'
-- ==> add_subdirectory(nextage_moveit_config)
-- +++ processing catkin package: 'nextage_ros_bridge'
-- ==> add_subdirectory(nextage_ros_bridge)
-- checking for module 'openhrp3.1'
--   found openhrp3.1, version 3.1.4
CMake Error: File /conf/RobotHardware.conf.in does not exist.
CMake Error at nextage_ros_bridge/CMakeLists.txt:36 (configure_file):
   configure_file Problem configuring file


CMake Error: File /conf/nosim.RobotHardware.conf.in does not exist.
CMake Error at nextage_ros_bridge/CMakeLists.txt:37 (configure_file):
   configure_file Problem configuring file


CMake Error: File /conf/xml.in does not exist.
CMake Error at nextage_ros_bridge/CMakeLists.txt:38 (configure_file):
   configure_file Problem configuring file


CMake Error: File /conf/nosim.xml.in does not exist.
CMake Error at nextage_ros_bridge/CMakeLists.txt:39 (configure_file):
   configure_file Problem configuring file


CMake Error: File /conf/conf.in does not exist.
CMake Error at nextage_ros_bridge/CMakeLists.txt:40 (configure_file):
   configure_file Problem configuring file


CMake Error: File /conf/nosim.conf.in does not exist.
CMake Error at nextage_ros_bridge/CMakeLists.txt:41 (configure_file):
   configure_file Problem configuring file


-- +++ processing catkin metapackage: 'rtmros_nextage'
-- ==> add_subdirectory(rtmros_nextage)
-- Configuring incomplete, errors occurred!

On 30.10.2013 10:23, Isaac Isao Saito wrote:
> Thanks Dirk.
>
> I still need to ask then; wiki sounds that pre-release test is capable
> of test with release repository by leaving out the version. Is it not
> true then?
> http://wiki.ros.org/bloom/Tutorials/PrereleaseTest#Test_a_package_that.27s_never_been_released_yet
> # yes I contributed to part of the wiki page with limited understanding...
>
> If the answer to my question above is yes, then is the only available
> pre-release test on buildfarm for packages that haven't been released
> is development test? I'd just like to clarify that.
>
> Thanks again in advance,
>
> Isaac
>
> #1 By the way is svn not acceptable for devel test? I've asked it awhile ago.
> http://answers.ros.org/question/88391/format-of-sourceyaml-for-development-test-for-svn/
>
> --
> Isao Isaac Saito
> Phone: +81-80-9657-1303 (Japan)
>              +1-469-688-9008 (US)
>
>
> On Thu, Oct 31, 2013 at 1:32 AM, Dirk Thomas <dthomas at osrfoundation.org> wrote:
>> Since you have never released the package "rtmros_nextage" into Groovy you
>> can not run a prerelease from the GBP repository.
>> The fact that the prerelease website offers you "latest" is actually a bug
>> and I will make it not offer that (since there is no released version yet).
>>
>> If you want to perform a prerelease from the source repo (before doing any
>> release) you have to add you repo to the source.yaml file.
>> Then you can select the "devel" option on the prerelease website.
>>
>> - Dirk
>>
>>
>>
>>
>> On 30.10.2013 02:25, Isaac Isao Saito wrote:
>>>
>>> ROS-Releasers,
>>>
>>> I'm gettting an error on the browser when I try to trigger a
>>> pre-release job for a package that's yet to be released (listed on
>>> rosdistro without version). Any idea what's wrong?
>>>
>>>
>>> ```
>>>       Failed......
>>>
>>>       We failed to triger your pre-release jobs... Check out the output
>>> below.
>>>
>>>           rtmros_nextage (latest)
>>>
>>>       Traceback (most recent call last): File
>>> "/var/www/prerelease_website/venv/bin/generate_jenkins_prerelease",
>>> line 74, in main() File
>>> "/var/www/prerelease_website/venv/bin/generate_jenkins_prerelease",
>>> line 68, in main additional_publishers=additional_publishers) File
>>>
>>> "/var/www/prerelease_website/venv/lib/python2.6/site-packages/jenkins_tools/run_jenkins.py",
>>> line 87, in run_jenkins_now _update_jenkins_job(jenkins_instance, jc,
>>> ubuntu_distro, arch, job_name, email, script, script_args, user_name,
>>> custom_params=params, parameters=parameters, matrix=matrix) File
>>>
>>> "/var/www/prerelease_website/venv/lib/python2.6/site-packages/jenkins_tools/run_jenkins.py",
>>> line 74, in _update_jenkins_job
>>> jenkins_instance.reconfig_job(job_name, job_xml) File
>>>
>>> "/var/www/prerelease_website/venv/lib/python2.6/site-packages/jenkins/__init__.py",
>>> line 423, in reconfig_job
>>> self.jenkins_open(urllib2.Request(reconfig_url, config_xml, headers))
>>> File
>>> "/var/www/prerelease_website/venv/lib/python2.6/site-packages/jenkins/__init__.py",
>>> line 211, in jenkins_open return urllib2.urlopen(req).read() File
>>> "/usr/lib64/python2.6/urllib2.py", line 126, in urlopen return
>>> _opener.open(url, data, timeout) File
>>> "/usr/lib64/python2.6/urllib2.py", line 391, in open response =
>>> self._open(req, data) File "/usr/lib64/python2.6/urllib2.py", line
>>> 409, in _open '_open', req) File "/usr/lib64/python2.6/urllib2.py",
>>> line 369, in _call_chain result = func(*args) File
>>> "/usr/lib64/python2.6/urllib2.py", line 1190, in http_open return
>>> self.do_open(httplib.HTTPConnection, req) File
>>> "/usr/lib64/python2.6/urllib2.py", line 1165, in do_open raise
>>> URLError(err) urllib2.URLError:
>>> ```
>>>
>>> I seem to be able to create jobs for released packages.
>>>
>>> Thanks!
>>>
>>>
>>> --
>>> Isaac
>>> _______________________________________________
>>> ros-release mailing list
>>> ros-release at code.ros.org
>>> http://lists.ros.org/mailman/listinfo/ros-release
>>>
>>
>> _______________________________________________
>> ros-release mailing list
>> ros-release at code.ros.org
>> http://lists.ros.org/mailman/listinfo/ros-release
> _______________________________________________
> ros-release mailing list
> ros-release at code.ros.org
> http://lists.ros.org/mailman/listinfo/ros-release
>



More information about the ros-release mailing list