or similar. Eventually you will start to see hundreds or thousands of tests failing because a readonly.txt marker is not cleaned up. The below are the first obviously related test failures, though an earlier one ( lp.services.webapp.tests.test_dbpolicy.LayerDatabasePolicyTestCase.test_WebServiceRequest_uses_LaunchpadDatabasePolicy fails right before these, for instance) might actually be the/a guilty party.
This can be duplicated outside of the parallel test machinery; it is unrelated.
======================================================================
FAIL: lp.services.webapp.tests.test_dbpolicy.LayerDatabasePolicyTestCase.test_WebServiceRequest_uses_ReadOnlyDatabasePolicy
----------------------------------------------------------------------
Traceback (most recent call last):
_StringException: Traceback (most recent call last):
File "/var/lib/buildbot/slaves/slave/lucid-devel/build/lib/lp/services/webapp/tests/test_dbpolicy.py", line 237, in test_WebServiceRequest_uses_ReadOnlyDatabasePolicy
touch_read_only_file()
File "/var/lib/buildbot/slaves/slave/lucid-devel/build/lib/lp/services/database/tests/readonly.py", line 39, in touch_read_only_file
assert is_read_only(), "Switching to read-only failed."
AssertionError: Switching to read-only failed.
======================================================================
FAIL: lp.services.webapp.tests.test_publication.TestReadOnlyNotifications.test_notification
----------------------------------------------------------------------
Traceback (most recent call last):
_StringException: Traceback (most recent call last):
File "/var/lib/buildbot/slaves/slave/lucid-devel/build/lib/lp/services/webapp/tests/test_publication.py", line 205, in setUp
touch_read_only_file()
File "/var/lib/buildbot/slaves/slave/lucid-devel/build/lib/lp/services/database/tests/readonly.py", line 33, in touch_read_only_file
"This function must not be called when a read-only.txt file "
AssertionError: This function must not be called when a read-only.txt file already exists.
======================================================================
FAIL: lp.services.webapp.tests.test_publication.TestReadOnlyNotifications.test_notification_xmlrpc
----------------------------------------------------------------------
Traceback (most recent call last):
_StringException: Traceback (most recent call last):
File "/var/lib/buildbot/slaves/slave/lucid-devel/build/lib/lp/services/webapp/tests/test_publication.py", line 205, in setUp
touch_read_only_file()
File "/var/lib/buildbot/slaves/slave/lucid-devel/build/lib/lp/services/database/tests/readonly.py", line 33, in touch_read_only_file
"This function must not be called when a read-only.txt file "
AssertionError: This function must not be called when a read-only.txt file already exists.
To dupe, unzip attatched lists.zip and run
./bin/test -vv --load- list=tmpXctd5i
or similar. Eventually you will start to see hundreds or thousands of tests failing because a readonly.txt marker is not cleaned up. The below are the first obviously related test failures, though an earlier one ( lp.services. webapp. tests.test_ dbpolicy. LayerDatabasePo licyTestCase. test_WebService Request_ uses_LaunchpadD atabasePolicy fails right before these, for instance) might actually be the/a guilty party.
This can be duplicated outside of the parallel test machinery; it is unrelated.
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= webapp. tests.test_ dbpolicy. LayerDatabasePo licyTestCase. test_WebService Request_ uses_ReadOnlyDa tabasePolicy ------- ------- ------- ------- ------- ------- ------- ------- ------- buildbot/ slaves/ slave/lucid- devel/build/ lib/lp/ services/ webapp/ tests/test_ dbpolicy. py", line 237, in test_WebService Request_ uses_ReadOnlyDa tabasePolicy read_only_ file() buildbot/ slaves/ slave/lucid- devel/build/ lib/lp/ services/ database/ tests/readonly. py", line 39, in touch_read_ only_file ======= ======= ======= ======= ======= ======= ======= ======= ======= webapp. tests.test_ publication. TestReadOnlyNot ifications. test_notificati on ------- ------- ------- ------- ------- ------- ------- ------- ------- buildbot/ slaves/ slave/lucid- devel/build/ lib/lp/ services/ webapp/ tests/test_ publication. py", line 205, in setUp read_only_ file() buildbot/ slaves/ slave/lucid- devel/build/ lib/lp/ services/ database/ tests/readonly. py", line 33, in touch_read_ only_file ======= ======= ======= ======= ======= ======= ======= ======= ======= webapp. tests.test_ publication. TestReadOnlyNot ifications. test_notificati on_xmlrpc ------- ------- ------- ------- ------- ------- ------- ------- ------- buildbot/ slaves/ slave/lucid- devel/build/ lib/lp/ services/ webapp/ tests/test_ publication. py", line 205, in setUp read_only_ file() buildbot/ slaves/ slave/lucid- devel/build/ lib/lp/ services/ database/ tests/readonly. py", line 33, in touch_read_ only_file
FAIL: lp.services.
-------
Traceback (most recent call last):
_StringException: Traceback (most recent call last):
File "/var/lib/
touch_
File "/var/lib/
assert is_read_only(), "Switching to read-only failed."
AssertionError: Switching to read-only failed.
=======
FAIL: lp.services.
-------
Traceback (most recent call last):
_StringException: Traceback (most recent call last):
File "/var/lib/
touch_
File "/var/lib/
"This function must not be called when a read-only.txt file "
AssertionError: This function must not be called when a read-only.txt file already exists.
=======
FAIL: lp.services.
-------
Traceback (most recent call last):
_StringException: Traceback (most recent call last):
File "/var/lib/
touch_
File "/var/lib/
"This function must not be called when a read-only.txt file "
AssertionError: This function must not be called when a read-only.txt file already exists.