sts-sponsors team mailing list archive
-
sts-sponsors team
-
Mailing list archive
-
Message #08521
Re: [Merge] ~mfo/maas:3.0 into maas:3.0
The 2 failures do not seem related to the reverted changes.
[2023-05-18T18:41:14.660Z] ======================================================================
[2023-05-18T18:41:14.660Z] FAIL: maasserver.utils.tests.test_dblocks.TestDatabaseXactLock.test_lock_actually_locked(pg_advisory_xact_lock_shared/None)
[2023-05-18T18:41:14.660Z] maasserver.utils.tests.test_dblocks.TestDatabaseXactLock.test_lock_actually_locked(pg_advisory_xact_lock_shared/None)
[2023-05-18T18:41:14.660Z] ----------------------------------------------------------------------
[2023-05-18T18:41:14.660Z] testtools.testresult.real._StringException: Traceback (most recent call last):
[2023-05-18T18:41:14.660Z] testtools.testresult.real._StringException: Empty attachments:
[2023-05-18T18:41:14.660Z] Twisted logs
[2023-05-18T18:41:14.660Z]
[2023-05-18T18:41:14.660Z] Traceback (most recent call last):
[2023-05-18T18:41:14.660Z] File "/run/build/checkout/src/maastesting/runtest.py", line 125, in _run_user
[2023-05-18T18:41:14.660Z] result = function(*args, **kwargs)
[2023-05-18T18:41:14.660Z] File "/run/build/checkout/.ve/lib/python3.8/site-packages/testtools/testcase.py", line 723, in _run_test_method
[2023-05-18T18:41:14.660Z] return self._get_test_method()()
[2023-05-18T18:41:14.660Z] File "/run/build/checkout/src/maasserver/utils/tests/test_dblocks.py", line 290, in test_lock_actually_locked
[2023-05-18T18:41:14.660Z] self.assertEqual({objid}, locks_obtained)
[2023-05-18T18:41:14.660Z] File "/run/build/checkout/.ve/lib/python3.8/site-packages/unittest2/case.py", line 836, in assertEqual
[2023-05-18T18:41:14.660Z] assertion_func(first, second, msg=msg)
[2023-05-18T18:41:14.660Z] File "/run/build/checkout/.ve/lib/python3.8/site-packages/unittest2/case.py", line 1090, in assertSetEqual
[2023-05-18T18:41:14.660Z] self.fail(self._formatMessage(msg, standardMsg))
[2023-05-18T18:41:14.661Z] File "/run/build/checkout/.ve/lib/python3.8/site-packages/unittest2/case.py", line 690, in fail
[2023-05-18T18:41:14.661Z] raise self.failureException(msg)
[2023-05-18T18:41:14.661Z] AssertionError: Items in the second set but not the first:
[2023-05-18T18:41:14.661Z] 91375
[2023-05-18T18:41:14.661Z]
[2023-05-18T18:41:14.661Z]
[2023-05-18T18:41:14.661Z] ======================================================================
[2023-05-18T18:41:14.661Z] FAIL: maasserver.api.tests.test_boot_sources.TestBootSourceAPI.test_PUT_updates_boot_source(user=user,client=oauth)
[2023-05-18T18:41:14.661Z] maasserver.api.tests.test_boot_sources.TestBootSourceAPI.test_PUT_updates_boot_source(user=user,client=oauth)
[2023-05-18T18:41:14.661Z] ----------------------------------------------------------------------
[2023-05-18T18:41:14.661Z] testtools.testresult.real._StringException: Traceback (most recent call last):
[2023-05-18T18:41:14.661Z] testtools.testresult.real._StringException: Twisted logs: {{{Failure deleting large object (oid=85401).}}}
[2023-05-18T18:41:14.661Z]
[2023-05-18T18:41:14.661Z] Traceback (most recent call last):
[2023-05-18T18:41:14.661Z] File "/usr/lib/python3/dist-packages/django/db/backends/utils.py", line 84, in _execute
[2023-05-18T18:41:14.661Z] return self.cursor.execute(sql, params)
[2023-05-18T18:41:14.661Z] psycopg2.errors.InFailedSqlTransaction: current transaction is aborted, commands ignored until end of transaction block
[2023-05-18T18:41:14.661Z]
[2023-05-18T18:41:14.661Z]
[2023-05-18T18:41:14.661Z] The above exception was the direct cause of the following exception:
[2023-05-18T18:41:14.661Z]
[2023-05-18T18:41:14.661Z] Traceback (most recent call last):
[2023-05-18T18:41:14.661Z] File "/run/build/checkout/src/maastesting/runtest.py", line 125, in _run_user
[2023-05-18T18:41:14.661Z] result = function(*args, **kwargs)
[2023-05-18T18:41:14.661Z] File "/run/build/checkout/.ve/lib/python3.8/site-packages/testtools/testcase.py", line 723, in _run_test_method
[2023-05-18T18:41:14.661Z] return self._get_test_method()()
[2023-05-18T18:41:14.661Z] File "/run/build/checkout/src/maasserver/api/tests/test_boot_sources.py", line 90, in test_PUT_updates_boot_source
[2023-05-18T18:41:14.661Z] boot_source = factory.make_BootSource()
[2023-05-18T18:41:14.661Z] File "/run/build/checkout/src/maasserver/testing/factory.py", line 2105, in make_BootSource
[2023-05-18T18:41:14.661Z] boot_source.save()
[2023-05-18T18:41:14.661Z] File "/run/build/checkout/src/maasserver/models/cleansave.py", line 186, in save
[2023-05-18T18:41:14.661Z] self.validate_unique(exclude=[self._meta.pk.name])
[2023-05-18T18:41:14.661Z] File "/usr/lib/python3/dist-packages/django/db/models/base.py", line 980, in validate_unique
[2023-05-18T18:41:14.661Z] errors = self._perform_unique_checks(unique_checks)
[2023-05-18T18:41:14.661Z] File "/usr/lib/python3/dist-packages/django/db/models/base.py", line 1084, in _perform_unique_checks
[2023-05-18T18:41:14.661Z] if qs.exists():
[2023-05-18T18:41:14.661Z] File "/usr/lib/python3/dist-packages/django/db/models/query.py", line 766, in exists
[2023-05-18T18:41:14.661Z] return self.query.has_results(using=self.db)
[2023-05-18T18:41:14.661Z] File "/usr/lib/python3/dist-packages/django/db/models/sql/query.py", line 531, in has_results
[2023-05-18T18:41:14.661Z] return compiler.has_results()
[2023-05-18T18:41:14.661Z] File "/usr/lib/python3/dist-packages/django/db/models/sql/compiler.py", line 1110, in has_results
[2023-05-18T18:41:14.661Z] return bool(self.execute_sql(SINGLE))
[2023-05-18T18:41:14.661Z] File "/usr/lib/python3/dist-packages/django/db/models/sql/compiler.py", line 1140, in execute_sql
[2023-05-18T18:41:14.661Z] cursor.execute(sql, params)
[2023-05-18T18:41:14.661Z] File "/usr/lib/python3/dist-packages/django/db/backends/utils.py", line 99, in execute
[2023-05-18T18:41:14.661Z] return super().execute(sql, params)
[2023-05-18T18:41:14.661Z] File "/usr/lib/python3/dist-packages/django/db/backends/utils.py", line 67, in execute
[2023-05-18T18:41:14.661Z] return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
[2023-05-18T18:41:14.661Z] File "/usr/lib/python3/dist-packages/django/db/backends/utils.py", line 76, in _execute_with_wrappers
[2023-05-18T18:41:14.661Z] return executor(sql, params, many, context)
[2023-05-18T18:41:14.661Z] File "/usr/lib/python3/dist-packages/django/db/backends/utils.py", line 84, in _execute
[2023-05-18T18:41:14.661Z] return self.cursor.execute(sql, params)
[2023-05-18T18:41:14.661Z] File "/usr/lib/python3/dist-packages/django/db/utils.py", line 89, in __exit__
[2023-05-18T18:41:14.661Z] raise dj_exc_value.with_traceback(traceback) from exc_value
[2023-05-18T18:41:14.661Z] File "/usr/lib/python3/dist-packages/django/db/backends/utils.py", line 84, in _execute
[2023-05-18T18:41:14.661Z] return self.cursor.execute(sql, params)
[2023-05-18T18:41:14.661Z] django.db.utils.InternalError: current transaction is aborted, commands ignored until end of transaction block
[2023-05-18T18:41:14.661Z]
[2023-05-18T18:41:14.661Z]
[2023-05-18T18:41:14.661Z] ----------------------------------------------------------------------
[2023-05-18T18:41:14.661Z] Ran 16899 tests in 619.436s
[2023-05-18T18:41:14.661Z]
[2023-05-18T18:41:14.661Z] FAILED (failures=2, skipped=19)
--
https://code.launchpad.net/~mfo/maas/+git/maas/+merge/443141
Your team MAAS Committers is subscribed to branch maas:3.0.
References