[tor-bugs] #17764 [Tor Sysadmin Team]: Jenkins not finding test resources
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sun Dec 6 23:39:43 UTC 2015
#17764: Jenkins not finding test resources
-----------------------------------+-----------------
Reporter: atagar | Owner: tpa
Type: defect | Status: new
Priority: Low | Milestone:
Component: Tor Sysadmin Team | Version:
Severity: Minor | Keywords:
Actual Points: | Parent ID:
Points: | Sponsor:
-----------------------------------+-----------------
Hi Peter. I pushed quite a few tests which has assertions against test
data we provide...
* [https://gitweb.torproject.org/stem.git/tree/test/unit/tor_man_example
test/unit/tor_man_example]
*
[https://gitweb.torproject.org/stem.git/tree/test/integ/tor.1_with_unknown
test/integ/tor.1_with_unknown]
When I run these tests they pass but on Jenkins they're failing due to
being unable to find the test data...
{{{
======================================================================
ERROR: test_parsing_example_man_page
----------------------------------------------------------------------
Traceback (most recent call last):
File "/srv/jenkins-workspace/workspace/stem-tor-ci/test/unit/manual.py",
line 118, in test_parsing_example_man_page
manual = stem.manual.Manual.from_man(EXAMPLE_MAN_PATH)
File "/srv/jenkins-workspace/workspace/stem-tor-ci/stem/manual.py", line
342, in from_man
raise IOError("Unable to run 'man --encoding=ascii -P cat %s': %s" %
(man_path, exc))
IOError: Unable to run 'man --encoding=ascii -P cat /srv/jenkins-
workspace/workspace/stem-tor-ci/test/unit/tor_man_example': [Errno 2] No
such file or directory
}}}
{{{
======================================================================
ERROR: test_with_unknown_options
----------------------------------------------------------------------
Traceback (most recent call last):
File "/srv/jenkins-workspace/workspace/stem-tor-
ci/test/integ/manual.py", line 135, in test_with_unknown_options
manual =
stem.manual.Manual.from_man(os.path.join(os.path.dirname(__file__),
'tor.1_with_unknown'))
File "/srv/jenkins-workspace/workspace/stem-tor-ci/stem/manual.py", line
342, in from_man
raise IOError("Unable to run 'man --encoding=ascii -P cat %s': %s" %
(man_path, exc))
IOError: Unable to run 'man --encoding=ascii -P cat /srv/jenkins-
workspace/workspace/stem-tor-ci/test/integ/tor.1_with_unknown': [Errno 2]
No such file or directory
}}}
This is interesting since I do this elsewhere (assert against test data)
and I'm not spotting from the code if or where I'm buggering up. First
guess is that maybe the 'git pull' is somehow not getting those files.
Do I have ssh access for the Jenkins host? I tried to reach it in a
similar way I do for DocTor but no luck...
{{{
% cat ~/.ssh/config
host doctor
hostname cappadocicum.torproject.org
port 22
identityfile ~/.ssh/torproject
proxycommand ssh -W %h:22 perdulce.torproject.org
host jenkins
hostname jenkins.torproject.org
port 22
identityfile ~/.ssh/torproject
proxycommand ssh -W %h:22 perdulce.torproject.org
% ssh jenkins
Permission denied (publickey).
}}}
Maybe I'm screwing up or maybe I shouldn't have access. If the later could
you please check if these two files exist on disk and if not why git isn't
getting them?
Thanks! -Damian
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/17764>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list