Dear maintainer:
During a rebuild of all packages in trixie, this package failed to build.
[ Note: Sorry, I can't mark the bug as fixed in forky/sid, because the
version is the same, I'm using the tag "trixie" in either case ].
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/trixie/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:flask-migrate, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
$ flask db init --multidb
Creating directory '/<<PKGBUILDDIR>>/tests/migrations' ... done
Creating directory '/<<PKGBUILDDIR>>/tests/migrations/versions' ... done
Generating /<<PKGBUILDDIR>>/tests/migrations/README ... done
Generating /<<PKGBUILDDIR>>/tests/migrations/alembic.ini ... done
Generating /<<PKGBUILDDIR>>/tests/migrations/env.py ... done
Generating /<<PKGBUILDDIR>>/tests/migrations/script.py.mako ... done
Please edit configuration/connection/logging settings in '/<<PKGBUILDDIR>>/tests/migrations/alembic.ini' before proceeding.
ok
======================================================================
FAIL: test_migrate_upgrade (tests.test_custom_template.TestMigrate.test_migrate_upgrade)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/tests/test_custom_template.py", line 63, in test_migrate_upgrade
self.assertTrue(s == 0)
~~~~~~~~~~~~~~~^^^^^^^^
AssertionError: False is not true
======================================================================
FAIL: test_compare_type (tests.test_migrate.TestMigrate.test_compare_type)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/tests/test_migrate.py", line 110, in test_compare_type
self.assertTrue(s == 0)
~~~~~~~~~~~~~~~^^^^^^^^
AssertionError: False is not true
======================================================================
FAIL: test_custom_directory (tests.test_migrate.TestMigrate.test_custom_directory)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/tests/test_migrate.py", line 82, in test_custom_directory
self.assertTrue(s == 0)
~~~~~~~~~~~~~~~^^^^^^^^
AssertionError: False is not true
======================================================================
FAIL: test_custom_directory_path (tests.test_migrate.TestMigrate.test_custom_directory_path)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/tests/test_migrate.py", line 96, in test_custom_directory_path
self.assertTrue(s == 0)
~~~~~~~~~~~~~~~^^^^^^^^
AssertionError: False is not true
======================================================================
FAIL: test_migrate_upgrade (tests.test_migrate.TestMigrate.test_migrate_upgrade)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/tests/test_migrate.py", line 66, in test_migrate_upgrade
self.assertTrue(s == 0)
~~~~~~~~~~~~~~~^^^^^^^^
AssertionError: False is not true
----------------------------------------------------------------------
Ran 7 tests in 8.183s
FAILED (failures=5)
$ flask db migrate
Generating /<<PKGBUILDDIR>>/tests/migrations/versions/0ecab6edc621_.py ... done
INFO [alembic.env] Migrating database <default>
INFO [alembic.runtime.migration] Context impl SQLiteImpl.
INFO [alembic.runtime.migration] Will assume non-transactional DDL.
INFO [alembic.autogenerate.compare] Detected added table 'user'
INFO [alembic.env] Migrating database db1
INFO [alembic.runtime.migration] Context impl SQLiteImpl.
INFO [alembic.runtime.migration] Will assume non-transactional DDL.
INFO [alembic.autogenerate.compare] Detected added table 'group'
$ flask db upgrade
INFO [alembic.env] Migrating database <default>
INFO [alembic.runtime.migration] Context impl SQLiteImpl.
INFO [alembic.runtime.migration] Will assume non-transactional DDL.
INFO [alembic.runtime.migration] Running upgrade -> 0ecab6edc621, empty message
INFO [alembic.env] Migrating database db1
INFO [alembic.runtime.migration] Context impl SQLiteImpl.
INFO [alembic.runtime.migration] Will assume non-transactional DDL.
INFO [alembic.runtime.migration] Running upgrade -> 0ecab6edc621, empty message
$ flask db downgrade
INFO [alembic.env] Migrating database <default>
INFO [alembic.runtime.migration] Context impl SQLiteImpl.
INFO [alembic.runtime.migration] Will assume non-transactional DDL.
INFO [alembic.runtime.migration] Running downgrade 0ecab6edc621 -> , empty message
INFO [alembic.env] Migrating database db1
INFO [alembic.runtime.migration] Context impl SQLiteImpl.
INFO [alembic.runtime.migration] Will assume non-transactional DDL.
INFO [alembic.runtime.migration] Running downgrade 0ecab6edc621 -> , empty message
E: pybuild pybuild:389: test: plugin custom failed with: exit code=1: PYTHONPATH=/<<PKGBUILDDIR>>/src python3.13 -m unittest discover -v
dh_auto_test: error: pybuild --test -i python{version} -p 3.13 returned exit code 13
make[1]: *** [debian/rules:28: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:16: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------