Apparently unrelated to changes in 3.0.0..origin/3.0.


[2023-05-17T21:57:08.533Z] 
======================================================================
[2023-05-17T21:57:08.533Z] FAIL: 
maasserver.api.tests.test_boot_source_selections.TestBootSourceSelectionAPI.test_DELETE_requires_admin(user=user,client=oauth)
[2023-05-17T21:57:08.533Z] 
maasserver.api.tests.test_boot_source_selections.TestBootSourceSelectionAPI.test_DELETE_requires_admin(user=user,client=oauth)
[2023-05-17T21:57:08.533Z] 
----------------------------------------------------------------------
[2023-05-17T21:57:08.533Z] testtools.testresult.real._StringException: 
Traceback (most recent call last):
[2023-05-17T21:57:08.533Z] testtools.testresult.real._StringException: Twisted 
logs: {{{Failure deleting large object (oid=79749).}}}
[2023-05-17T21:57:08.533Z] 
[2023-05-17T21:57:08.533Z] Traceback (most recent call last):
[2023-05-17T21:57:08.533Z]   File 
"/usr/lib/python3/dist-packages/django/db/backends/utils.py", line 82, in 
_execute
[2023-05-17T21:57:08.533Z]     return self.cursor.execute(sql)
[2023-05-17T21:57:08.533Z] psycopg2.errors.InFailedSqlTransaction: current 
transaction is aborted, commands ignored until end of transaction block
[2023-05-17T21:57:08.533Z] 
[2023-05-17T21:57:08.533Z] 
[2023-05-17T21:57:08.533Z] The above exception was the direct cause of the 
following exception:
[2023-05-17T21:57:08.533Z] 
[2023-05-17T21:57:08.533Z] Traceback (most recent call last):
[2023-05-17T21:57:08.533Z]   File 
"/run/build/checkout/src/maastesting/runtest.py", line 125, in _run_user
[2023-05-17T21:57:08.533Z]     result = function(*args, **kwargs)
[2023-05-17T21:57:08.533Z]   File 
"/run/build/checkout/.ve/lib/python3.8/site-packages/testtools/testcase.py", 
line 723, in _run_test_method
[2023-05-17T21:57:08.533Z]     return self._get_test_method()()
[2023-05-17T21:57:08.533Z]   File 
"/run/build/checkout/src/maasserver/api/tests/test_boot_source_selections.py", 
line 92, in test_DELETE_requires_admin
[2023-05-17T21:57:08.533Z]     response = self.client.delete(
[2023-05-17T21:57:08.533Z]   File 
"/run/build/checkout/src/maastesting/djangoclient.py", line 55, in 
maybe_encode_multipart
[2023-05-17T21:57:08.533Z]     return func(self, path, data, content_type, 
secure, **extra)
[2023-05-17T21:57:08.533Z]   File 
"/usr/lib/python3/dist-packages/django/test/client.py", line 582, in delete
[2023-05-17T21:57:08.533Z]     response = super().delete(path, data=data, 
content_type=content_type, secure=secure, **extra)
[2023-05-17T21:57:08.533Z]   File 
"/usr/lib/python3/dist-packages/django/test/client.py", line 395, in delete
[2023-05-17T21:57:08.533Z]     return self.generic('DELETE', path, data, 
content_type,
[2023-05-17T21:57:08.533Z]   File 
"/usr/lib/python3/dist-packages/django/test/client.py", line 422, in generic
[2023-05-17T21:57:08.533Z]     return self.request(**r)
[2023-05-17T21:57:08.533Z]   File 
"/run/build/checkout/src/maasserver/testing/testclient.py", line 160, in request
[2023-05-17T21:57:08.533Z]     return super().request(**kwargs)
[2023-05-17T21:57:08.533Z]   File 
"/run/build/checkout/src/maasserver/testing/testclient.py", line 68, in request
[2023-05-17T21:57:08.533Z]     return upcall(**request)
[2023-05-17T21:57:08.533Z]   File 
"/run/build/checkout/src/maasserver/utils/orm.py", line 735, in 
call_within_transaction
[2023-05-17T21:57:08.533Z]     return func_within_txn(*args, **kwargs)
[2023-05-17T21:57:08.533Z]   File "/usr/lib/python3.8/contextlib.py", line 74, 
in inner
[2023-05-17T21:57:08.533Z]     with self._recreate_cm():
[2023-05-17T21:57:08.533Z]   File 
"/usr/lib/python3/dist-packages/django/db/transaction.py", line 196, in 
__enter__
[2023-05-17T21:57:08.533Z]     sid = connection.savepoint()
[2023-05-17T21:57:08.533Z]   File 
"/usr/lib/python3/dist-packages/django/db/backends/base/base.py", line 332, in 
savepoint
[2023-05-17T21:57:08.533Z]     self._savepoint(sid)
[2023-05-17T21:57:08.533Z]   File 
"/usr/lib/python3/dist-packages/django/db/backends/base/base.py", line 300, in 
_savepoint
[2023-05-17T21:57:08.533Z]     
cursor.execute(self.ops.savepoint_create_sql(sid))
[2023-05-17T21:57:08.534Z]   File 
"/usr/lib/python3/dist-packages/django/db/backends/utils.py", line 99, in 
execute
[2023-05-17T21:57:08.534Z]     return super().execute(sql, params)
[2023-05-17T21:57:08.534Z]   File 
"/usr/lib/python3/dist-packages/django/db/backends/utils.py", line 67, in 
execute
[2023-05-17T21:57:08.534Z]     return self._execute_with_wrappers(sql, params, 
many=False, executor=self._execute)
[2023-05-17T21:57:08.534Z]   File 
"/usr/lib/python3/dist-packages/django/db/backends/utils.py", line 76, in 
_execute_with_wrappers
[2023-05-17T21:57:08.534Z]     return executor(sql, params, many, context)
[2023-05-17T21:57:08.534Z]   File 
"/usr/lib/python3/dist-packages/django/db/backends/utils.py", line 84, in 
_execute
[2023-05-17T21:57:08.534Z]     return self.cursor.execute(sql, params)
[2023-05-17T21:57:08.534Z]   File 
"/usr/lib/python3/dist-packages/django/db/utils.py", line 89, in __exit__
[2023-05-17T21:57:08.534Z]     raise dj_exc_value.with_traceback(traceback) 
from exc_value
[2023-05-17T21:57:08.534Z]   File 
"/usr/lib/python3/dist-packages/django/db/backends/utils.py", line 82, in 
_execute
[2023-05-17T21:57:08.534Z]     return self.cursor.execute(sql)
[2023-05-17T21:57:08.534Z] django.db.utils.InternalError: current transaction 
is aborted, commands ignored until end of transaction block
[2023-05-17T21:57:08.534Z] 
[2023-05-17T21:57:08.534Z] 
[2023-05-17T21:57:08.534Z] 
----------------------------------------------------------------------
[2023-05-17T21:57:08.534Z] Ran 16916 tests in 645.524s
[2023-05-17T21:57:08.534Z] 
[2023-05-17T21:57:08.534Z] FAILED (failures=1, skipped=19)
-- 
https://code.launchpad.net/~mfo/maas/+git/maas/+merge/443141
Your team MAAS Committers is subscribed to branch maas:3.0.


-- 
Mailing list: https://launchpad.net/~sts-sponsors
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sts-sponsors
More help   : https://help.launchpad.net/ListHelp

Reply via email to