I ran the test suite from the current release-0.14 branch on an updated Fedora 20 install.
Overall results
===============
905 tests, 4 failures, 1 error, 3 skips in 2817.6s
Errors
======
This shouldn't have happened. Need to dig deeper.
ERROR: bkr.inttest.client.test_distro_trees_verify:DistroTreesVerifyTest.test_verify_distro
vi +17 src/bkr/inttest/client/test_distro_trees_verify.py # setUp
session.expunge(lca)
vi +149 /usr/lib64/python2.7/site-packages/sqlalchemy/orm/scoping.py # do
return getattr(self.registry(), name)(*args, **kwargs)
vi +1294 /usr/lib64/python2.7/site-packages/sqlalchemy/orm/session.py # expunge
orm_util.state_str(state))
InvalidRequestError: Instance <LabControllerDistroTree at 0x7d3a050> is not present in this Session
-------------------- >> begin captured logging << --------------------
bkr.inttest.data_setup: DEBUG: Created distro Distro(name=u'DansAwesomeLinux6.9-19')
bkr.inttest.data_setup: DEBUG: Created distro tree DistroTree(distro=Distro(name=u'DansAwesomeLinux6.9-19'), variant=u'Server', arch=i386)
--------------------- >> end captured logging << ---------------------
/usr/lib64/python2.7/site-packages/sqlalchemy/orm/dependency.py:460: SAWarning: Object of type <MachineRecipe> not in session, add operation along 'DistroTree.recipes' will not proceed
prop=self.prop)
/usr/lib64/python2.7/site-packages/sqlalchemy/orm/dependency.py:460: SAWarning: Object of type <GuestRecipe> not in session, add operation along 'DistroTree.recipes' will not proceed
prop=self.prop)
Failures
========
These don't happen on Fedora 18, and I believe have a common root cause. Not sure what atm.
FAIL: bkr.inttest.server.tools.test_log_delete:RemoteLogDeletionTest.test_301_redirect
vi +194 src/bkr/inttest/server/tools/test_log_delete.py # test_301_redirect
self.assertEquals(log_delete.log_delete(), 0) # exit status
AssertionError: 1 != 0
-------------------- >> begin captured stdout << ---------------------
127.0.0.1 - - [07/Nov/2013 20:41:08] "DELETE /redirect/301/recipe HTTP/1.1" 301 0
127.0.0.1 - - [07/Nov/2013 20:41:08] "GET /recipe HTTP/1.1" 301 0
Traceback (most recent call last):
File "/usr/lib64/python2.7/wsgiref/handlers.py", line 85, in run
self.result = application(self.environ, self.start_response)
File "/root/beaker/IntegrationTests/src/bkr/inttest/server/tools/../../archive_server.py", line 43, in wsgi
return wsgiref.util.FileWrapper(open(localpath, 'r'))
IOError: [Errno 21] Is a directory: '/tmp/beaker-test-log-deleteLto8eu/recipe/'
127.0.0.1 - - [07/Nov/2013 20:41:08] "GET /recipe/ HTTP/1.1" 500 59
FAIL: bkr.inttest.server.tools.test_log_delete:RemoteLogDeletionTest.test_302_redirect
vi +201 src/bkr/inttest/server/tools/test_log_delete.py # test_302_redirect
self.assertEquals(log_delete.log_delete(), 0) # exit status
AssertionError: 1 != 0
-------------------- >> begin captured stdout << ---------------------
127.0.0.1 - - [07/Nov/2013 20:41:10] "DELETE /redirect/301/recipe HTTP/1.1" 301 0
127.0.0.1 - - [07/Nov/2013 20:41:10] "GET /recipe HTTP/1.1" 301 0
Traceback (most recent call last):
File "/usr/lib64/python2.7/wsgiref/handlers.py", line 85, in run
self.result = application(self.environ, self.start_response)
File "/root/beaker/IntegrationTests/src/bkr/inttest/server/tools/../../archive_server.py", line 43, in wsgi
return wsgiref.util.FileWrapper(open(localpath, 'r'))
IOError: [Errno 21] Is a directory: '/tmp/beaker-test-log-deletexLnlrI/recipe/'
127.0.0.1 - - [07/Nov/2013 20:41:10] "GET /recipe/ HTTP/1.1" 500 59
127.0.0.1 - - [07/Nov/2013 20:41:10] "DELETE /redirect/302/recipe HTTP/1.1" 302 0
127.0.0.1 - - [07/Nov/2013 20:41:10] "GET /recipe HTTP/1.1" 301 0
Traceback (most recent call last):
File "/usr/lib64/python2.7/wsgiref/handlers.py", line 85, in run
self.result = application(self.environ, self.start_response)
File "/root/beaker/IntegrationTests/src/bkr/inttest/server/tools/../../archive_server.py", line 43, in wsgi
return wsgiref.util.FileWrapper(open(localpath, 'r'))
FAIL: bkr.inttest.server.tools.test_log_delete:RemoteLogDeletionTest.test_deletion
vi +186 src/bkr/inttest/server/tools/test_log_delete.py # test_deletion
self.assertEquals(log_delete.log_delete(), 0) # exit status
AssertionError: 1 != 0
-------------------- >> begin captured stdout << ---------------------
127.0.0.1 - - [07/Nov/2013 20:41:13] "DELETE /recipe HTTP/1.1" 301 0
Traceback (most recent call last):
File "/usr/lib64/python2.7/wsgiref/handlers.py", line 85, in run
self.result = application(self.environ, self.start_response)
File "/root/beaker/IntegrationTests/src/bkr/inttest/server/tools/../../archive_server.py", line 43, in wsgi
return wsgiref.util.FileWrapper(open(localpath, 'r'))
IOError: [Errno 21] Is a directory: '/tmp/beaker-test-log-deletexQISKS/recipe/'
127.0.0.1 - - [07/Nov/2013 20:41:13] "GET /recipe/ HTTP/1.1" 500 59
And of course the omnipresent:
FAIL: bkr.inttest.server.test_jobs:TestJobsController.test_job_xml_can_be_roundtripped
vi +72 src/bkr/inttest/server/test_jobs.py # test_job_xml_can_be_roundtripped
Best,
Amit.