[obs-tests] Build failed in Jenkins: obs_osc2_testsuite_master #34
See <http://ci.opensuse.org/job/obs_osc2_testsuite_master/34/changes> Changes: [suse-tux] - test.test_builder: added testcases to check if the hostarch supports the buildarch [suse-tux] - osc.builder: adjusted builder for the latest testcase changes [suse-tux] - test.test_build: added testcases for BuildInfo class [suse-tux] - osc.build: added BuildInfo class ------------------------------------------ [...truncated 30 lines...] ====================================================================== ERROR: test_buildinfo1 (test.test_build.TestBuild) ---------------------------------------------------------------------- Traceback (most recent call last): File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/test/httptest.py",> line 105, in wrapped_test_method test_method(*args) File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/test/test_build.py",> line 252, in test_buildinfo1 binfo = BuildInfo('project', 'package', 'openSUSE_Factory', 'x86_64') File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/osc/build.py",> line 227, in __init__ f = request.get(path, **kwargs) File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/osc/httprequest.py",> line 382, in get return self._send_request('GET', path, apiurl, schema, **query) File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/osc/httprequest.py",> line 327, in _send_request f = urllib2.urlopen(request) 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 "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/test/httptest.py",> line 52, in http_open return self._mock_GET(r[1], **r[2]) File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/test/httptest.py",> line 57, in _mock_GET return self._get_response(fullurl, **kwargs) File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/test/httptest.py",> line 86, in _get_response f = cStringIO.StringIO(open(filename, 'r').read()) IOError: [Errno 2] No such file or directory: '<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/test/test_build_fixtures/buildinfo1.xml'> -------------------- >> begin captured logging << -------------------- osc.httprequest: INFO: http://localhost/build/project/openSUSE_Factory/x86_64/package/_buildinfo --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: test BuildInfo (invalid file text) ---------------------------------------------------------------------- Traceback (most recent call last): File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/test/test_build.py",> line 427, in test_buildinfo10 xml_data=open(fname, 'r').read()) IOError: [Errno 2] No such file or directory: '/tmp/osc_test8G6MGo/fixtures/buildinfo_invalid_file1.xml' ====================================================================== ERROR: test_buildinfo2 (test.test_build.TestBuild) ---------------------------------------------------------------------- Traceback (most recent call last): File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/test/httptest.py",> line 105, in wrapped_test_method test_method(*args) File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/test/test_build.py",> line 301, in test_buildinfo2 binfo = BuildInfo('foo', 'bar', 'openSUSE_Factory', 'x86_64') File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/osc/build.py",> line 227, in __init__ f = request.get(path, **kwargs) File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/osc/httprequest.py",> line 382, in get return self._send_request('GET', path, apiurl, schema, **query) File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/osc/httprequest.py",> line 327, in _send_request f = urllib2.urlopen(request) 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 "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/test/httptest.py",> line 52, in http_open return self._mock_GET(r[1], **r[2]) File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/test/httptest.py",> line 57, in _mock_GET return self._get_response(fullurl, **kwargs) File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/test/httptest.py",> line 86, in _get_response f = cStringIO.StringIO(open(filename, 'r').read()) IOError: [Errno 2] No such file or directory: '<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/test/test_build_fixtures/buildinfo2.xml'> -------------------- >> begin captured logging << -------------------- osc.httprequest: INFO: http://localhost/build/foo/openSUSE_Factory/x86_64/bar/_buildinfo --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: test_buildinfo3 (test.test_build.TestBuild) ---------------------------------------------------------------------- Traceback (most recent call last): File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/test/httptest.py",> line 105, in wrapped_test_method test_method(*args) File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/test/test_build.py",> line 345, in test_buildinfo3 binarytype='rpm', data=open(fname, 'r').read()) IOError: [Errno 2] No such file or directory: '/tmp/osc_testZ1pfb9/fixtures/test.spec' ====================================================================== ERROR: test_buildinfo3 (test.test_build.TestBuild) ---------------------------------------------------------------------- Traceback (most recent call last): File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/test/test_build.py",> line 21, in tearDown super(TestBuild, self).tearDown() File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/test/httptest.py",> line 163, in tearDown self.assertTrue(len(EXPECTED_REQUESTS) == 0) AssertionError ====================================================================== ERROR: test_buildinfo4 (test.test_build.TestBuild) ---------------------------------------------------------------------- Traceback (most recent call last): File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/test/httptest.py",> line 105, in wrapped_test_method test_method(*args) File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/test/test_build.py",> line 372, in test_buildinfo4 data='123') File "/usr/lib64/python2.6/unittest.py", line 336, in failUnlessRaises callableObj(*args, **kwargs) File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/osc/build.py",> line 229, in __init__ f = request.post(path, data=data, **kwargs) File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/osc/httprequest.py",> line 399, in post schema, urlencoded) File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/osc/httprequest.py",> line 354, in _send_data f = urllib2.urlopen(request, data) 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 "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/test/httptest.py",> line 54, in http_open return self._mock_PUT(req, req.get_method(), **r[2]) File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/test/httptest.py",> line 78, in _mock_PUT return self._get_response(req.get_full_url(), **kwargs) File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/test/httptest.py",> line 86, in _get_response f = cStringIO.StringIO(open(filename, 'r').read()) IOError: [Errno 2] No such file or directory: '<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/test/test_build_fixtures/buildinfo_uploaded_descr.xml'> -------------------- >> begin captured logging << -------------------- osc.httprequest: INFO: http://localhost/build/prj/repo/i586/pkg/_buildinfo --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: test_buildinfo5 (test.test_build.TestBuild) ---------------------------------------------------------------------- Traceback (most recent call last): File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/test/httptest.py",> line 105, in wrapped_test_method test_method(*args) File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/test/test_build.py",> line 381, in test_buildinfo5 data='12345') File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/osc/build.py",> line 229, in __init__ f = request.post(path, data=data, **kwargs) File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/osc/httprequest.py",> line 399, in post schema, urlencoded) File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/osc/httprequest.py",> line 354, in _send_data f = urllib2.urlopen(request, data) 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 "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/test/httptest.py",> line 54, in http_open return self._mock_PUT(req, req.get_method(), **r[2]) File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/test/httptest.py",> line 78, in _mock_PUT return self._get_response(req.get_full_url(), **kwargs) File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/test/httptest.py",> line 86, in _get_response f = cStringIO.StringIO(open(filename, 'r').read()) IOError: [Errno 2] No such file or directory: '<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/test/test_build_fixtures/buildinfo_uploaded_descr.xml'> -------------------- >> begin captured logging << -------------------- osc.httprequest: INFO: http://localhost/build/foo/repo/x86_64/bar/_buildinfo --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: test BuildInfo (from xml data) ---------------------------------------------------------------------- Traceback (most recent call last): File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/test/test_build.py",> line 391, in test_buildinfo6 binfo = BuildInfo(xml_data=open(fname, 'r').read()) IOError: [Errno 2] No such file or directory: '/tmp/osc_testLafZLs/fixtures/buildinfo2.xml' ====================================================================== ERROR: test BuildInfo (from xml data - specify binarytype) ---------------------------------------------------------------------- Traceback (most recent call last): File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/test/test_build.py",> line 398, in test_buildinfo7 binfo = BuildInfo(xml_data=open(fname, 'r').read(), binarytype='rpm') IOError: [Errno 2] No such file or directory: '/tmp/osc_testE7oUTY/fixtures/buildinfo_uploaded_descr.xml' ====================================================================== ERROR: test BuildInfo (from xml data - no binarytype specified) ---------------------------------------------------------------------- Traceback (most recent call last): File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/test/test_build.py",> line 407, in test_buildinfo8 xml_data=open(fname, 'r').read()) IOError: [Errno 2] No such file or directory: '/tmp/osc_test_OY3M6/fixtures/buildinfo_uploaded_descr.xml' ====================================================================== ERROR: test_buildinfo9 (test.test_build.TestBuild) ---------------------------------------------------------------------- Traceback (most recent call last): File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/test/httptest.py",> line 105, in wrapped_test_method test_method(*args) File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/test/test_build.py",> line 418, in test_buildinfo9 binfo = BuildInfo('openSUSE:Tools', 'osc', 'Debian_5.0', 'x86_64') File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/osc/build.py",> line 227, in __init__ f = request.get(path, **kwargs) File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/osc/httprequest.py",> line 382, in get return self._send_request('GET', path, apiurl, schema, **query) File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/osc/httprequest.py",> line 327, in _send_request f = urllib2.urlopen(request) 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 "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/test/httptest.py",> line 52, in http_open return self._mock_GET(r[1], **r[2]) File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/test/httptest.py",> line 57, in _mock_GET return self._get_response(fullurl, **kwargs) File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/test/httptest.py",> line 86, in _get_response f = cStringIO.StringIO(open(filename, 'r').read()) IOError: [Errno 2] No such file or directory: '<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/test/test_build_fixtures/buildinfo_deb.xml'> -------------------- >> begin captured logging << -------------------- osc.httprequest: INFO: http://localhost/build/openSUSE%3ATools/Debian_5.0/x86_64/osc/_buildinfo --------------------- >> end captured logging << --------------------- Name Stmts Miss Cover Missing ----------------------------------------------- osc 1 0 100% osc.build 184 43 77% 135-139, 230-232, 242-261, 270-272, 276, 280, 284, 288, 292, 296, 305-307, 310, 323, 341, 343, 353, 364 osc.builder 97 2 98% 35, 37 osc.core 19 2 89% 13, 33 osc.httprequest 180 24 87% 61, 70, 132, 148, 169, 180, 255, 258, 260, 268-275, 280-283, 312, 316, 372, 377, 379 osc.oscargs 145 1 99% 45 osc.remote 299 11 96% 34-35, 101, 135, 159, 181, 185, 240, 265, 470-471 osc.source 68 2 97% 52, 111 osc.util 1 0 100% osc.util.cpio 279 5 98% 174, 305, 313, 340, 362 osc.util.io 92 6 93% 73, 76, 79, 83, 109, 163 osc.util.xml 23 0 100% osc.util.xpath 265 4 98% 26-27, 387, 585 osc.wc 1 0 100% osc.wc.base 173 20 88% 77-80, 105, 117, 126, 136, 215, 220, 225, 230, 235, 240, 252, 256, 280, 331, 351, 371 osc.wc.convert 71 6 92% 30-32, 48-49, 59 osc.wc.package 792 44 94% 38-39, 80-83, 116, 165-167, 183, 231, 329-335, 370, 385, 415, 421, 423-424, 457, 671-673, 700, 802-803, 808-810, 846-847, 908, 958, 997, 1007, 1062-1063, 1110-1112, 1226 osc.wc.project 397 20 95% 89, 91-92, 119-125, 224-225, 268, 336-337, 404, 574, 605-607 osc.wc.util 389 28 93% 139, 149, 153, 162, 173, 177, 181, 191, 221, 229, 240, 252, 304, 353, 572, 762-763, 769, 773-776, 778-779, 804, 806, 810, 856 ----------------------------------------------- TOTAL 3476 218 94% ---------------------------------------------------------------------- Ran 419 tests in 40.072s FAILED (errors=13) Build step 'Execute shell' marked build as failure Skipping Cobertura coverage report as build was not UNSTABLE or better ... Recording test results -- To unsubscribe, e-mail: obs-tests+unsubscribe@opensuse.org To contact the owner, e-mail: obs-tests+owner@opensuse.org
See <http://ci.opensuse.org/job/obs_osc2_testsuite_master/35/changes> -- To unsubscribe, e-mail: obs-tests+unsubscribe@opensuse.org To contact the owner, e-mail: obs-tests+owner@opensuse.org
participants (1)
-
admin@opensuse.org