Open Build Service Tests
Threads by month
- ----- 2025 -----
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
June 2014
- 1 participants
- 1 discussions
02 Jun '14
See <http://ci.opensuse.org/job/obs_osc2_testsuite_master/89/changes>
Changes:
[michal] Provide sane error message in case password is not found in configfile
[michal] Add keyring support
[suse-tux] - osc.cli.cli: minor changes and pep8-ified code
[suse-tux] Better format README on GitHub
------------------------------------------
[...truncated 3869 lines...]
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_remote.py",> line 224, in test_package5
pkg.store()
File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/osc/remote.py",> line 342, in store
return super(RemotePackage, self).store(path, method='PUT', **kwargs)
File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/osc/remote.py",> line 222, in store
return http_method(path, **kwargs)
File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/osc/httprequest.py",> line 415, in put
schema, False)
File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/osc/httprequest.py",> line 377, in _send_data
f = urllib2.urlopen(request, data)
File "/usr/lib64/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib64/python2.7/urllib2.py", line 404, in open
response = self._open(req, data)
File "/usr/lib64/python2.7/urllib2.py", line 422, in _open
'_open', req)
File "/usr/lib64/python2.7/urllib2.py", line 382, 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 77, in _mock_PUT
repr(exp))
RequestDataMismatch: http://localhost/source/newprj/bar/_meta, '<package name="bar" project="newprj"/>\n', '<package project="newprj" name="bar"/>\n'
-------------------- >> begin captured logging << --------------------
osc.remote: DEBUG: validate modle against schema: /tmp/osc_testb8pPAU/fixtures/package_simple.xsd
osc.httprequest: INFO: http://localhost/source/newprj/bar/_meta
--------------------- >> end captured logging << ---------------------
======================================================================
ERROR: test_package8 (test.test_remote.TestRemoteModel)
----------------------------------------------------------------------
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_remote.py",> line 251, in test_package8
self.assertRaises(etree.DocumentInvalid, pkg.store)
File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/test/osctest.py",> line 98, in assertRaises
*args, **kwargs)
File "/usr/lib64/python2.7/unittest/case.py", line 475, in assertRaises
callableObj(*args, **kwargs)
File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/osc/remote.py",> line 342, in store
return super(RemotePackage, self).store(path, method='PUT', **kwargs)
File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/osc/remote.py",> line 222, in store
return http_method(path, **kwargs)
File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/osc/httprequest.py",> line 415, in put
schema, False)
File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/osc/httprequest.py",> line 377, in _send_data
f = urllib2.urlopen(request, data)
File "/usr/lib64/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib64/python2.7/urllib2.py", line 404, in open
response = self._open(req, data)
File "/usr/lib64/python2.7/urllib2.py", line 422, in _open
'_open', req)
File "/usr/lib64/python2.7/urllib2.py", line 382, 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 77, in _mock_PUT
repr(exp))
RequestDataMismatch: http://localhost/source/foo/bar/_meta, '<package name="bar" project="foo"/>\n', '<package project="foo" name="bar"/>\n'
-------------------- >> begin captured logging << --------------------
osc.remote: DEBUG: validate modle against schema: /tmp/osc_testY6ekT0/fixtures/package_simple.xsd
osc.remote: DEBUG: validate modle against schema: /tmp/osc_testY6ekT0/fixtures/package_simple.xsd
osc.httprequest: INFO: http://localhost/source/foo/bar/_meta
--------------------- >> end captured logging << ---------------------
======================================================================
ERROR: test_project2 (test.test_remote.TestRemoteModel)
----------------------------------------------------------------------
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_remote.py",> line 63, in test_project2
prj.store()
File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/osc/remote.py",> line 307, in store
return super(RemoteProject, self).store(path, method='PUT', **kwargs)
File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/osc/remote.py",> line 222, in store
return http_method(path, **kwargs)
File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/osc/httprequest.py",> line 415, in put
schema, False)
File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/osc/httprequest.py",> line 377, in _send_data
f = urllib2.urlopen(request, data)
File "/usr/lib64/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib64/python2.7/urllib2.py", line 404, in open
response = self._open(req, data)
File "/usr/lib64/python2.7/urllib2.py", line 422, in _open
'_open', req)
File "/usr/lib64/python2.7/urllib2.py", line 382, 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 77, in _mock_PUT
repr(exp))
RequestDataMismatch: http://localhost/source/foo/_meta, '<project name="foo">\n <title>just a dummy title</title>\n <description>This is a detailed and more lengthy\ndescription of the foo\nproject.</description>\n <person role="maintainer" userid="testuser"/>\n <person role="bugowner" userid="foobar"/>\n <repository name="openSUSE_Factory">\n <path project="openSUSE:Factory" repository="standard"/>\n <arch>x86_64</arch>\n <arch>i586</arch>\n </repository>\n</project>\n', '<project name="foo">\n <title>just a dummy title</title>\n <description>This is a detailed and more lengthy\ndescription of the foo\nproject.</description>\n <person userid="testuser" role="maintainer"/>\n <person userid="foobar" role="bugowner"/>\n <repository name="openSUSE_Factory">\n <path project="openSUSE:Factory" repository="standard"/>\n <arch>x86_64</arch>\n <arch>i586</arch>\n </repository>\n</project>\n'
-------------------- >> begin captured logging << --------------------
osc.httprequest: INFO: http://localhost/source/foo/_meta
--------------------- >> end captured logging << ---------------------
======================================================================
ERROR: test_project5 (test.test_remote.TestRemoteModel)
----------------------------------------------------------------------
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_remote.py",> line 106, in test_project5
prj.store()
File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/osc/remote.py",> line 307, in store
return super(RemoteProject, self).store(path, method='PUT', **kwargs)
File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/osc/remote.py",> line 222, in store
return http_method(path, **kwargs)
File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/osc/httprequest.py",> line 415, in put
schema, False)
File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/osc/httprequest.py",> line 377, in _send_data
f = urllib2.urlopen(request, data)
File "/usr/lib64/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib64/python2.7/urllib2.py", line 404, in open
response = self._open(req, data)
File "/usr/lib64/python2.7/urllib2.py", line 422, in _open
'_open', req)
File "/usr/lib64/python2.7/urllib2.py", line 382, 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 77, in _mock_PUT
repr(exp))
RequestDataMismatch: http://localhost/source/test/_meta, '<project name="test">\n <person role="maintainer" userid="bar"/>\n</project>\n', '<project name="test">\n <person userid="bar" role="maintainer"/>\n</project>\n'
-------------------- >> begin captured logging << --------------------
osc.remote: DEBUG: validate modle against schema: /tmp/osc_testDfX3K6/fixtures/project_simple.xsd
osc.httprequest: INFO: http://localhost/source/test/_meta
--------------------- >> end captured logging << ---------------------
======================================================================
ERROR: test_request19 (test.test_remote.TestRemoteModel)
----------------------------------------------------------------------
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_remote.py",> line 580, in test_request19
req.store()
File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/osc/remote.py",> line 369, in store
cmd='create', **kwargs)
File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/osc/remote.py",> line 222, in store
return http_method(path, **kwargs)
File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/osc/httprequest.py",> line 422, in post
schema, urlencoded)
File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/osc/httprequest.py",> line 377, in _send_data
f = urllib2.urlopen(request, data)
File "/usr/lib64/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib64/python2.7/urllib2.py", line 404, in open
response = self._open(req, data)
File "/usr/lib64/python2.7/urllib2.py", line 422, in _open
'_open', req)
File "/usr/lib64/python2.7/urllib2.py", line 382, 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 77, in _mock_PUT
repr(exp))
RequestDataMismatch: http://localhost/request?cmd=create, '<request>\n <action type="submit">\n <source package="bar" project="foo" rev="12345"/>\n <target project="foobar"/>\n <options>\n <sourceupdate>cleanup</sourceupdate>\n </options>\n </action>\n <description>some description</description>\n</request>\n', '<request>\n <action type="submit">\n <source project="foo" rev="12345" package="bar"/>\n <target project="foobar"/>\n <options>\n <sourceupdate>cleanup</sourceupdate>\n </options>\n </action>\n <description>some description</description>\n</request>\n'
-------------------- >> begin captured logging << --------------------
osc.httprequest: INFO: http://localhost/request?cmd=create
--------------------- >> end captured logging << ---------------------
======================================================================
ERROR: test_request2 (test.test_remote.TestRemoteModel)
----------------------------------------------------------------------
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_remote.py",> line 315, in test_request2
req.store()
File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/osc/remote.py",> line 369, in store
cmd='create', **kwargs)
File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/osc/remote.py",> line 222, in store
return http_method(path, **kwargs)
File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/osc/httprequest.py",> line 422, in post
schema, urlencoded)
File "<http://ci.opensuse.org/job/obs_osc2_testsuite_master/ws/osc/httprequest.py",> line 377, in _send_data
f = urllib2.urlopen(request, data)
File "/usr/lib64/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib64/python2.7/urllib2.py", line 404, in open
response = self._open(req, data)
File "/usr/lib64/python2.7/urllib2.py", line 422, in _open
'_open', req)
File "/usr/lib64/python2.7/urllib2.py", line 382, 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 77, in _mock_PUT
repr(exp))
RequestDataMismatch: http://localhost/request?cmd=create, '<request>\n <action type="submit">\n <source package="bar" project="foo" rev="12345"/>\n <target project="foobar"/>\n <options>\n <sourceupdate>cleanup</sourceupdate>\n </options>\n </action>\n <description>some description</description>\n</request>\n', '<request>\n <action type="submit">\n <source project="foo" rev="12345" package="bar"/>\n <target project="foobar"/>\n <options>\n <sourceupdate>cleanup</sourceupdate>\n </options>\n </action>\n <description>some description</description>\n</request>\n'
-------------------- >> begin captured logging << --------------------
osc.httprequest: INFO: http://localhost/request?cmd=create
--------------------- >> end captured logging << ---------------------
Name Stmts Miss Cover Missing
---------------------------------------------------
osc 1 0 100%
osc.build 194 5 97% 177-181, 383
osc.builder 97 2 98% 35, 37
osc.cli 1 0 100%
osc.cli.checkout 0 0 100%
osc.cli.commit 1 0 100%
osc.cli.description 211 157 26% 24, 39-58, 79-98, 108-114, 119-123, 135-139, 165-181, 192-202, 207-209, 218-231, 240-243, 248-254, 260-281, 296-298, 303-305, 315-323, 341-350, 358-362, 371-373, 388-391, 395-398, 402-404, 407, 438-439
osc.cli.list 0 0 100%
osc.cli.parse 69 55 20% 18, 31-34, 38-49, 58-86, 96-109, 113-115, 125-127, 140-143
osc.cli.request 1 0 100%
osc.cli.review 0 0 100%
osc.cli.status 0 0 100%
osc.cli.update 1 0 100%
osc.cli.util 1 0 100%
osc.cli.util.shell 144 74 49% 46-54, 105-111, 120, 124, 134-142, 152, 161, 165, 178, 181, 185, 207-210, 214, 217, 220, 235-238, 241, 262-268, 272-278, 281, 285-299, 318, 326-334
osc.core 19 2 89% 13, 33
osc.fetch 236 11 95% 50, 59, 68, 78, 194, 293, 316, 327, 342, 352, 477
osc.httprequest 183 24 87% 87, 96, 163, 179, 200, 211, 286, 289, 291, 299-306, 311-314, 335, 339, 395, 400, 402
osc.oscargs 249 7 97% 87, 90, 93, 107, 263-266
osc.remote 323 11 97% 34-35, 115, 149, 173, 195, 199, 255, 280, 527-528
osc.search 25 0 100%
osc.source 68 3 96% 52, 56, 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.listinfo 27 12 56% 35-37, 40-41, 44-47, 50-52
osc.util.notify 10 0 100%
osc.util.xml 23 0 100%
osc.util.xpath 316 7 98% 26-27, 485, 692, 866, 869, 872
osc.wc 1 0 100%
osc.wc.base 139 42 70% 22, 38, 60, 72, 81, 95, 103-105, 108, 111, 114, 126-127, 139, 163, 168, 173, 178, 183, 188, 200, 204, 216, 229, 280, 292, 298-300, 312, 316-320, 392, 406-411
osc.wc.convert 71 20 72% 30-32, 48-49, 59, 61, 68-81
osc.wc.package 798 520 35% 38-48, 81-84, 104-117, 139, 143-150, 159-168, 184, 187-203, 207-228, 231-234, 237-241, 244-248, 251-275, 278-281, 284-287, 291-295, 331-337, 354-358, 373, 388, 413-414, 418, 424, 426-427, 439, 443-444, 448, 453-455, 461, 544-553, 576, 581-589, 594-601, 611-626, 640-661, 664-680, 683-713, 716-724, 727, 730, 733-747, 750-754, 757-758, 772-792, 802-817, 833-857, 860-902, 905-920, 923-932, 936-941, 944-955, 959-967, 977-978, 981-984, 994-995, 998-1017, 1027-1029, 1033-1046, 1058-1060, 1064-1077, 1104-1112, 1116-1118, 1128-1149, 1152-1166, 1229, 1232, 1239, 1244
osc.wc.project 412 208 50% 59-63, 93, 108, 112-113, 118-120, 126, 130, 188-193, 213-237, 245, 274, 281-291, 295-298, 307-312, 323, 327-337, 340-352, 355-370, 373-398, 418, 421-422, 428-441, 444-448, 451-466, 469-476, 479-488, 514-533, 546-559, 573-575, 592, 623-625, 633, 653
osc.wc.util 399 72 82% 139, 149, 153, 162, 173, 177, 181, 191, 221-224, 228-230, 239-241, 244-245, 252, 279-289, 299-312, 354, 403-416, 572, 763-764, 770, 772-777, 779-780, 804, 806, 810, 836-839, 856
---------------------------------------------------
TOTAL 4392 1243 72%
----------------------------------------------------------------------
Ran 541 tests in 16.938s
FAILED (errors=201)
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(a)opensuse.org
To contact the owner, e-mail: obs-tests+owner(a)opensuse.org
1
7