[ros-users] jenkins doc check fail due to wrong url ?

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: User discussions
Dato:  
Til: User discussions
Emne: [ros-users] jenkins doc check fail due to wrong url ?
Hi all,

I think the jenkins Fdoc check of jsk-ros-pkg (
http://jenkins.willowgarage.com:8080/view/Fdoc/job/doc-fuerte-jsk-ros-pkg/28/console
) failed because of the following reasons.
(I attached the error message in the last of this mail.)
Checks for other several stacks seem to fail due to the same reasons.

1. the url in rosdistro/aptdistro.py is wrong
 The url of packages.ros.org in the 7th line of
/usr/lib/pymodules/python2.7/rosdistro/aptdistro.py is now
    url = 'http://packages.ros.org/ros-shadow-fixed/ubuntu/dists{0}/main/binary-{1}/Packages'


 However, should it be
    url = 'http://packages.ros.org/ros-shadow-fixed/ubuntu/dists/{0}/main/binary-{1}/Packages'
  ? (I added '/' after dists)


2. the git url in jenkins_scripts/tags_db.py is wrong
  The 78th line of jenkins_scripts/tags_db.py is
                   && git clone
:ros-infrastructure/rosdoc_tag_index.git %s' \


  But when I try to execute the following command,
    tsuda@tsuda-laptop:/tmp$ git clone
:ros-infrastructure/rosdoc_tag_index.git


  I got the error messages below.
    Initialized empty Git repository in /tmp/rosdoc_tag_index/.git/
    Permission denied (publickey).
    fatal: The remote end hung up unexpectedly


  Should the git url be
    https://github.com/ros-infrastructure/rosdoc_tag_index.git
  ?




I create tickets and upload patch to https://code.ros.org/trac/ros-pkg/
- https://code.ros.org/trac/ros-pkg/ticket/5615 (for aptdistro.py)
- https://code.ros.org/trac/ros-pkg/ticket/5616 (for tags_db.py)

Best,
Atsushi,


error messages:
==================================================================================
Executing command 'rosdep db'
Traceback (most recent call last):
  File "/home/rosbuild/hudson/workspace/doc-fuerte-jsk-ros-pkg/jenkins_scripts/doc",
line 158, in <module>
    main()
  File "/home/rosbuild/hudson/workspace/doc-fuerte-jsk-ros-pkg/jenkins_scripts/doc",
line 155, in main
    homepage, rosdoc_lite_version, jenkins_scripts_version)
  File "/home/rosbuild/hudson/workspace/doc-fuerte-jsk-ros-pkg/jenkins_scripts/doc_stack.py",
line 203, in document_repo
    apt = rosdistro.AptDistro(platform, arch, shadow=True)
  File "/usr/lib/pymodules/python2.7/rosdistro/aptdistro.py", line 8,
in __init__
    url = urllib2.urlopen(url.format(ubuntudistro, arch))
  File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 406, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 444, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 527, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 404: Not Found
==================================================================================