>>> py3-tenant-schemas-celery: Building testing/py3-tenant-schemas-celery 3.0.0-r0 (using abuild 3.14.0-r0) started Sun, 20 Oct 2024 23:46:33 +0000 >>> py3-tenant-schemas-celery: Validating /home/buildozer/aports/testing/py3-tenant-schemas-celery/APKBUILD... >>> WARNING: py3-tenant-schemas-celery: Setting the maintainer with a comment is deprecated. Use maintainer="Antoine Martin (ayakael) " instead >>> py3-tenant-schemas-celery: Analyzing dependencies... >>> py3-tenant-schemas-celery: Installing for build: build-base py3-django-tenants py3-celery py3-setuptools py3-gpep517 py3-wheel py3-pytest-django py3-pytest-cov python3-dev py3-pytest py3-freezegun postgresql rabbitmq-server valkey procps-ng (1/106) Installing libbz2 (1.0.8-r6) (2/106) Installing libffi (3.4.6-r0) (3/106) Installing gdbm (1.24-r0) (4/106) Installing xz-libs (5.6.3-r0) (5/106) Installing mpdecimal (4.0.0-r0) (6/106) Installing libpanelw (6.5_p20241006-r0) (7/106) Installing sqlite-libs (3.46.1-r0) (8/106) Installing python3 (3.12.7-r0) (9/106) Installing python3-pycache-pyc0 (3.12.7-r0) (10/106) Installing pyc (3.12.7-r0) (11/106) Installing py3-asgiref (3.8.1-r1) (12/106) Installing py3-asgiref-pyc (3.8.1-r1) (13/106) Installing py3-sqlparse (0.5.1-r0) (14/106) Installing py3-sqlparse-pyc (0.5.1-r0) (15/106) Installing tzdata (2024b-r1) (16/106) Installing py3-django-pyc (4.2.16-r0) (17/106) Installing py3-psycopg (3.1.20-r0) (18/106) Installing py3-psycopg-pyc (3.1.20-r0) (19/106) Installing py3-gunicorn (23.0.0-r0) (20/106) Installing py3-gunicorn-pyc (23.0.0-r0) (21/106) Installing py3-coverage (7.5.1-r0) (22/106) Installing py3-coverage-pyc (7.5.1-r0) (23/106) Installing py3-django-tenants-pyc (3.7.0-r0) (24/106) Installing python3-pyc (3.12.7-r0) (25/106) Installing py3-django (4.2.16-r0) (26/106) Installing py3-django-tenants (3.7.0-r0) (27/106) Installing py3-billiard (4.2.1-r0) (28/106) Installing py3-billiard-pyc (4.2.1-r0) (29/106) Installing py3-click (8.1.7-r2) (30/106) Installing py3-click-pyc (8.1.7-r2) (31/106) Installing py3-click-didyoumean (0.3.1-r1) (32/106) Installing py3-click-didyoumean-pyc (0.3.1-r1) (33/106) Installing py3-click-plugins (1.1.1-r6) (34/106) Installing py3-click-plugins-pyc (1.1.1-r6) (35/106) Installing py3-wcwidth (0.2.13-r1) (36/106) Installing py3-wcwidth-pyc (0.2.13-r1) (37/106) Installing py3-prompt_toolkit (3.0.47-r0) (38/106) Installing py3-prompt_toolkit-pyc (3.0.47-r0) (39/106) Installing py3-click-repl (0.3.0-r4) (40/106) Installing py3-click-repl-pyc (0.3.0-r4) (41/106) Installing py3-six (1.16.0-r9) (42/106) Installing py3-six-pyc (1.16.0-r9) (43/106) Installing py3-dateutil (2.9.0-r1) (44/106) Installing py3-dateutil-pyc (2.9.0-r1) (45/106) Installing py3-vine (5.0.0-r3) (46/106) Installing py3-vine-pyc (5.0.0-r3) (47/106) Installing py3-amqp (5.2.0-r2) (48/106) Installing py3-amqp-pyc (5.2.0-r2) (49/106) Installing py3-kombu (5.4.2-r0) (50/106) Installing py3-kombu-pyc (5.4.2-r0) (51/106) Installing py3-tz (2024.2-r0) (52/106) Installing py3-tz-pyc (2024.2-r0) (53/106) Installing py3-attrs (24.2.0-r0) (54/106) Installing py3-attrs-pyc (24.2.0-r0) (55/106) Installing py3-tzdata (2024.2-r0) (56/106) Installing py3-tzdata-pyc (2024.2-r0) (57/106) Installing celery (5.4.0-r1) Executing celery-5.4.0-r1.pre-install (58/106) Installing celery-pyc (5.4.0-r1) (59/106) Installing py3-parsing (3.1.4-r0) (60/106) Installing py3-parsing-pyc (3.1.4-r0) (61/106) Installing py3-packaging (24.1-r0) (62/106) Installing py3-packaging-pyc (24.1-r0) (63/106) Installing py3-setuptools (70.3.0-r0) (64/106) Installing py3-setuptools-pyc (70.3.0-r0) (65/106) Installing py3-installer (0.7.0-r2) (66/106) Installing py3-installer-pyc (0.7.0-r2) (67/106) Installing py3-gpep517 (16-r0) (68/106) Installing py3-gpep517-pyc (16-r0) (69/106) Installing py3-wheel (0.43.0-r0) (70/106) Installing py3-wheel-pyc (0.43.0-r0) (71/106) Installing py3-iniconfig (2.0.0-r1) (72/106) Installing py3-iniconfig-pyc (2.0.0-r1) (73/106) Installing py3-pluggy (1.5.0-r0) (74/106) Installing py3-pluggy-pyc (1.5.0-r0) (75/106) Installing py3-py (1.11.0-r4) (76/106) Installing py3-py-pyc (1.11.0-r4) (77/106) Installing py3-pytest (8.3.3-r0) (78/106) Installing py3-pytest-pyc (8.3.3-r0) (79/106) Installing py3-pytest-django (4.8.0-r1) (80/106) Installing py3-pytest-django-pyc (4.8.0-r1) (81/106) Installing py3-pytest-cov (5.0.0-r0) (82/106) Installing py3-pytest-cov-pyc (5.0.0-r0) (83/106) Installing python3-dev (3.12.7-r0) (84/106) Installing py3-freezegun (1.4.0-r1) (85/106) Installing py3-freezegun-pyc (1.4.0-r1) (86/106) Installing postgresql-common (1.2-r1) Executing postgresql-common-1.2-r1.pre-install (87/106) Installing libpq (16.3-r1) (88/106) Installing postgresql16-client (16.3-r1) (89/106) Installing icu-data-en (74.2-r0) Executing icu-data-en-74.2-r0.post-install * * If you need ICU with non-English locales and legacy charset support, install * package icu-data-full. * (90/106) Installing icu-libs (74.2-r0) (91/106) Installing libsasl (2.1.28-r8) (92/106) Installing libldap (2.6.8-r0) (93/106) Installing libxml2 (2.13.4-r1) (94/106) Installing postgresql16 (16.3-r1) Executing postgresql16-16.3-r1.post-install * * If you want to use JIT in PostgreSQL, install postgresql16-jit or * postgresql-jit (if you didn't install specific major version of postgresql). * (95/106) Installing erlang (26.2.5.4-r0) (96/106) Installing rabbitmq-server (3.13.7-r0) Executing rabbitmq-server-3.13.7-r0.pre-install (97/106) Installing valkey (7.2.7-r0) Executing valkey-7.2.7-r0.pre-install Executing valkey-7.2.7-r0.post-install (98/106) Installing libintl (0.22.5-r0) (99/106) Installing libproc2 (4.0.4-r2) (100/106) Installing procps-ng (4.0.4-r2) (101/106) Installing .makedepends-py3-tenant-schemas-celery (20241020.234634) (102/106) Installing celery-openrc (5.4.0-r1) (103/106) Installing valkey-openrc (7.2.7-r0) (104/106) Installing rabbitmq-server-openrc (3.13.7-r0) (105/106) Installing postgresql-common-openrc (1.2-r1) (106/106) Installing postgresql16-openrc (16.3-r1) Executing busybox-1.37.0-r1.trigger Executing postgresql-common-1.2-r1.trigger * Setting postgresql16 as the default version OK: 658 MiB in 207 packages >>> py3-tenant-schemas-celery: Cleaning up srcdir >>> py3-tenant-schemas-celery: Cleaning up pkgdir >>> py3-tenant-schemas-celery: Cleaning up tmpdir >>> py3-tenant-schemas-celery: Fetching https://distfiles.alpinelinux.org/distfiles/edge/py3-tenant-schemas-celery-3.0.0.tar.gz >>> py3-tenant-schemas-celery: Fetching https://distfiles.alpinelinux.org/distfiles/edge/py3-tenant-schemas-celery-3.0.0.tar.gz >>> py3-tenant-schemas-celery: Checking sha512sums... py3-tenant-schemas-celery-3.0.0.tar.gz: OK >>> py3-tenant-schemas-celery: Unpacking /var/cache/distfiles/edge/py3-tenant-schemas-celery-3.0.0.tar.gz... 2024-10-20 23:46:38,151 gpep517 INFO Building wheel via backend setuptools.build_meta:__legacy__ 2024-10-20 23:46:38,167 root INFO running bdist_wheel 2024-10-20 23:46:38,191 root INFO running build 2024-10-20 23:46:38,191 root INFO running build_py 2024-10-20 23:46:38,195 root INFO creating build 2024-10-20 23:46:38,196 root INFO creating build/lib 2024-10-20 23:46:38,196 root INFO creating build/lib/tenant_schemas_celery 2024-10-20 23:46:38,196 root INFO copying tenant_schemas_celery/__init__.py -> build/lib/tenant_schemas_celery 2024-10-20 23:46:38,196 root INFO copying tenant_schemas_celery/app_test.py -> build/lib/tenant_schemas_celery 2024-10-20 23:46:38,196 root INFO copying tenant_schemas_celery/registry.py -> build/lib/tenant_schemas_celery 2024-10-20 23:46:38,197 root INFO copying tenant_schemas_celery/task_test.py -> build/lib/tenant_schemas_celery 2024-10-20 23:46:38,197 root INFO copying tenant_schemas_celery/test_scheduler.py -> build/lib/tenant_schemas_celery 2024-10-20 23:46:38,197 root INFO copying tenant_schemas_celery/conftest.py -> build/lib/tenant_schemas_celery 2024-10-20 23:46:38,197 root INFO copying tenant_schemas_celery/cache.py -> build/lib/tenant_schemas_celery 2024-10-20 23:46:38,197 root INFO copying tenant_schemas_celery/test_utils.py -> build/lib/tenant_schemas_celery 2024-10-20 23:46:38,198 root INFO copying tenant_schemas_celery/test_app.py -> build/lib/tenant_schemas_celery 2024-10-20 23:46:38,198 root INFO copying tenant_schemas_celery/integration_test.py -> build/lib/tenant_schemas_celery 2024-10-20 23:46:38,198 root INFO copying tenant_schemas_celery/cache_test.py -> build/lib/tenant_schemas_celery 2024-10-20 23:46:38,198 root INFO copying tenant_schemas_celery/test_tasks.py -> build/lib/tenant_schemas_celery 2024-10-20 23:46:38,198 root INFO copying tenant_schemas_celery/task.py -> build/lib/tenant_schemas_celery 2024-10-20 23:46:38,199 root INFO copying tenant_schemas_celery/scheduler.py -> build/lib/tenant_schemas_celery 2024-10-20 23:46:38,199 root INFO copying tenant_schemas_celery/compat.py -> build/lib/tenant_schemas_celery 2024-10-20 23:46:38,199 root INFO copying tenant_schemas_celery/registry_test.py -> build/lib/tenant_schemas_celery 2024-10-20 23:46:38,199 root INFO copying tenant_schemas_celery/app.py -> build/lib/tenant_schemas_celery 2024-10-20 23:46:38,207 root INFO installing to build/bdist.linux-armv8l/wheel 2024-10-20 23:46:38,207 root INFO running install 2024-10-20 23:46:38,216 root INFO running install_lib 2024-10-20 23:46:38,220 root INFO creating build/bdist.linux-armv8l 2024-10-20 23:46:38,220 root INFO creating build/bdist.linux-armv8l/wheel 2024-10-20 23:46:38,220 root INFO creating build/bdist.linux-armv8l/wheel/tenant_schemas_celery 2024-10-20 23:46:38,220 root INFO copying build/lib/tenant_schemas_celery/__init__.py -> build/bdist.linux-armv8l/wheel/tenant_schemas_celery 2024-10-20 23:46:38,221 root INFO copying build/lib/tenant_schemas_celery/app_test.py -> build/bdist.linux-armv8l/wheel/tenant_schemas_celery 2024-10-20 23:46:38,221 root INFO copying build/lib/tenant_schemas_celery/registry.py -> build/bdist.linux-armv8l/wheel/tenant_schemas_celery 2024-10-20 23:46:38,221 root INFO copying build/lib/tenant_schemas_celery/task_test.py -> build/bdist.linux-armv8l/wheel/tenant_schemas_celery 2024-10-20 23:46:38,221 root INFO copying build/lib/tenant_schemas_celery/test_scheduler.py -> build/bdist.linux-armv8l/wheel/tenant_schemas_celery 2024-10-20 23:46:38,221 root INFO copying build/lib/tenant_schemas_celery/conftest.py -> build/bdist.linux-armv8l/wheel/tenant_schemas_celery 2024-10-20 23:46:38,222 root INFO copying build/lib/tenant_schemas_celery/cache.py -> build/bdist.linux-armv8l/wheel/tenant_schemas_celery 2024-10-20 23:46:38,222 root INFO copying build/lib/tenant_schemas_celery/test_utils.py -> build/bdist.linux-armv8l/wheel/tenant_schemas_celery 2024-10-20 23:46:38,222 root INFO copying build/lib/tenant_schemas_celery/test_app.py -> build/bdist.linux-armv8l/wheel/tenant_schemas_celery 2024-10-20 23:46:38,222 root INFO copying build/lib/tenant_schemas_celery/integration_test.py -> build/bdist.linux-armv8l/wheel/tenant_schemas_celery 2024-10-20 23:46:38,222 root INFO copying build/lib/tenant_schemas_celery/cache_test.py -> build/bdist.linux-armv8l/wheel/tenant_schemas_celery 2024-10-20 23:46:38,222 root INFO copying build/lib/tenant_schemas_celery/test_tasks.py -> build/bdist.linux-armv8l/wheel/tenant_schemas_celery 2024-10-20 23:46:38,223 root INFO copying build/lib/tenant_schemas_celery/task.py -> build/bdist.linux-armv8l/wheel/tenant_schemas_celery 2024-10-20 23:46:38,223 root INFO copying build/lib/tenant_schemas_celery/scheduler.py -> build/bdist.linux-armv8l/wheel/tenant_schemas_celery 2024-10-20 23:46:38,223 root INFO copying build/lib/tenant_schemas_celery/compat.py -> build/bdist.linux-armv8l/wheel/tenant_schemas_celery 2024-10-20 23:46:38,223 root INFO copying build/lib/tenant_schemas_celery/registry_test.py -> build/bdist.linux-armv8l/wheel/tenant_schemas_celery 2024-10-20 23:46:38,223 root INFO copying build/lib/tenant_schemas_celery/app.py -> build/bdist.linux-armv8l/wheel/tenant_schemas_celery 2024-10-20 23:46:38,224 root INFO running install_egg_info 2024-10-20 23:46:38,227 root INFO running egg_info 2024-10-20 23:46:38,227 root INFO creating tenant_schemas_celery.egg-info 2024-10-20 23:46:38,230 root INFO writing tenant_schemas_celery.egg-info/PKG-INFO 2024-10-20 23:46:38,231 root INFO writing dependency_links to tenant_schemas_celery.egg-info/dependency_links.txt 2024-10-20 23:46:38,231 root INFO writing requirements to tenant_schemas_celery.egg-info/requires.txt 2024-10-20 23:46:38,231 root INFO writing top-level names to tenant_schemas_celery.egg-info/top_level.txt 2024-10-20 23:46:38,231 root INFO writing manifest file 'tenant_schemas_celery.egg-info/SOURCES.txt' 2024-10-20 23:46:38,235 root INFO reading manifest file 'tenant_schemas_celery.egg-info/SOURCES.txt' 2024-10-20 23:46:38,235 root INFO reading manifest template 'MANIFEST.in' 2024-10-20 23:46:38,235 root INFO adding license file 'LICENSE' 2024-10-20 23:46:38,236 root INFO writing manifest file 'tenant_schemas_celery.egg-info/SOURCES.txt' 2024-10-20 23:46:38,236 root INFO Copying tenant_schemas_celery.egg-info to build/bdist.linux-armv8l/wheel/tenant_schemas_celery-3.0.0-py3.12.egg-info 2024-10-20 23:46:38,237 root INFO running install_scripts 2024-10-20 23:46:38,239 root INFO creating build/bdist.linux-armv8l/wheel/tenant_schemas_celery-3.0.0.dist-info/WHEEL 2024-10-20 23:46:38,239 wheel INFO creating '/home/buildozer/aports/testing/py3-tenant-schemas-celery/src/tenant-schemas-celery-3.0.0/.dist/.tmp-1c8yd6vv/tenant_schemas_celery-3.0.0-py3-none-any.whl' and adding 'build/bdist.linux-armv8l/wheel' to it 2024-10-20 23:46:38,240 wheel INFO adding 'tenant_schemas_celery/__init__.py' 2024-10-20 23:46:38,240 wheel INFO adding 'tenant_schemas_celery/app.py' 2024-10-20 23:46:38,240 wheel INFO adding 'tenant_schemas_celery/app_test.py' 2024-10-20 23:46:38,241 wheel INFO adding 'tenant_schemas_celery/cache.py' 2024-10-20 23:46:38,241 wheel INFO adding 'tenant_schemas_celery/cache_test.py' 2024-10-20 23:46:38,241 wheel INFO adding 'tenant_schemas_celery/compat.py' 2024-10-20 23:46:38,241 wheel INFO adding 'tenant_schemas_celery/conftest.py' 2024-10-20 23:46:38,241 wheel INFO adding 'tenant_schemas_celery/integration_test.py' 2024-10-20 23:46:38,241 wheel INFO adding 'tenant_schemas_celery/registry.py' 2024-10-20 23:46:38,242 wheel INFO adding 'tenant_schemas_celery/registry_test.py' 2024-10-20 23:46:38,242 wheel INFO adding 'tenant_schemas_celery/scheduler.py' 2024-10-20 23:46:38,242 wheel INFO adding 'tenant_schemas_celery/task.py' 2024-10-20 23:46:38,242 wheel INFO adding 'tenant_schemas_celery/task_test.py' 2024-10-20 23:46:38,242 wheel INFO adding 'tenant_schemas_celery/test_app.py' 2024-10-20 23:46:38,243 wheel INFO adding 'tenant_schemas_celery/test_scheduler.py' 2024-10-20 23:46:38,243 wheel INFO adding 'tenant_schemas_celery/test_tasks.py' 2024-10-20 23:46:38,243 wheel INFO adding 'tenant_schemas_celery/test_utils.py' 2024-10-20 23:46:38,243 wheel INFO adding 'tenant_schemas_celery-3.0.0.dist-info/LICENSE' 2024-10-20 23:46:38,244 wheel INFO adding 'tenant_schemas_celery-3.0.0.dist-info/METADATA' 2024-10-20 23:46:38,244 wheel INFO adding 'tenant_schemas_celery-3.0.0.dist-info/WHEEL' 2024-10-20 23:46:38,244 wheel INFO adding 'tenant_schemas_celery-3.0.0.dist-info/top_level.txt' 2024-10-20 23:46:38,244 wheel INFO adding 'tenant_schemas_celery-3.0.0.dist-info/RECORD' 2024-10-20 23:46:38,244 root INFO removing build/bdist.linux-armv8l/wheel 2024-10-20 23:46:38,245 gpep517 INFO The backend produced .dist/tenant_schemas_celery-3.0.0-py3-none-any.whl tenant_schemas_celery-3.0.0-py3-none-any.whl >>> py3-tenant-schemas-celery: Setting up valkey >>> py3-tenant-schemas-celery: Setting up postgres The files belonging to this database system will be owned by user "buildozer". This user must also own the server process. The database cluster will be initialized with this locale configuration: provider: libc LC_COLLATE: C LC_CTYPE: C.UTF-8 LC_MESSAGES: C LC_MONETARY: C LC_NUMERIC: C LC_TIME: C The default database encoding has accordingly been set to "UTF8". The default text search configuration will be set to "english". Data page checksums are disabled. creating directory /home/buildozer/aports/testing/py3-tenant-schemas-celery/src/tmp ... ok creating subdirectories ... ok selecting dynamic shared memory implementation ... posix selecting default max_connections ... 100 selecting default shared_buffers ... 128MB selecting default time zone ... UTC creating configuration files ... ok running bootstrap script ... ok performing post-bootstrap initialization ... ok syncing data to disk ... ok initdb: warning: enabling "trust" authentication for local connections initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb. Success. CREATE ROLE CREATE DATABASE ALTER ROLE >>> py3-tenant-schemas-celery: Setting up rabbitmq >>> py3-tenant-schemas-celery: Testing py3-tenant-schemas-celery System check identified some issues: WARNINGS: shared.Client: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. shared.Domain: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. tenant.DummyModel: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the TenantConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'. No changes detected ============================= test session starts ============================== platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 -- /home/buildozer/aports/testing/py3-tenant-schemas-celery/src/tenant-schemas-celery-3.0.0/test_app/../.testenv/bin/python3 cachedir: .pytest_cache django: version: 4.2.16, settings: test_app.settings (from env) rootdir: /home/buildozer/aports/testing/py3-tenant-schemas-celery/src/tenant-schemas-celery-3.0.0 plugins: cov-5.0.0, django-4.8.0 collecting ... collected 30 items ../.testenv/lib/python3.12/site-packages/tenant_schemas_celery/test_scheduler.py::TestTenantAwareSchedulerMixin::test_apply_entry[config0] PASSED [ 3%] ../.testenv/lib/python3.12/site-packages/tenant_schemas_celery/test_scheduler.py::TestTenantAwareSchedulerMixin::test_apply_entry[config1] PASSED [ 6%] ../.testenv/lib/python3.12/site-packages/tenant_schemas_celery/test_scheduler.py::TestTenantAwareSchedulerMixin::test_apply_entry[config2] PASSED [ 10%] ../.testenv/lib/python3.12/site-packages/tenant_schemas_celery/test_scheduler.py::TestTenantAwareSchedulerMixin::TestCustomQuerySet::test_unready_tenants_are_not_sent[config0] PASSED [ 13%] ../.testenv/lib/python3.12/site-packages/tenant_schemas_celery/test_scheduler.py::TestTenantAwareSchedulerMixin::TestCustomQuerySet::test_unready_tenants_are_not_sent[config1] PASSED [ 16%] ../.testenv/lib/python3.12/site-packages/tenant_schemas_celery/test_scheduler.py::TestTenantAwareSchedulerMixin::TestCustomQuerySet::test_unready_tenants_are_not_sent[config2] PASSED [ 20%] ../.testenv/lib/python3.12/site-packages/tenant_schemas_celery/integration_test.py::test_should_update_model PASSED [ 23%] ../.testenv/lib/python3.12/site-packages/tenant_schemas_celery/integration_test.py::test_task_retry PASSED [ 26%] ../.testenv/lib/python3.12/site-packages/tenant_schemas_celery/integration_test.py::test_restoring_schema_name PASSED [ 30%] ../.testenv/lib/python3.12/site-packages/tenant_schemas_celery/integration_test.py::test_shared_task_get_schema_name PASSED [ 33%] ../.testenv/lib/python3.12/site-packages/tenant_schemas_celery/integration_test.py::test_custom_task_class_get_schema_name XFAIL [ 36%] ../.testenv/lib/python3.12/site-packages/tenant_schemas_celery/integration_test.py::test_use_multiple_databases PASSED [ 40%] ../.testenv/lib/python3.12/site-packages/tenant_schemas_celery/registry_test.py::test_get_schema_name_registration PASSED [ 43%] ../.testenv/lib/python3.12/site-packages/tenant_schemas_celery/registry_test.py::test_get_schema_from_class_task_registration XFAIL [ 46%] ../.testenv/lib/python3.12/site-packages/tenant_schemas_celery/task_test.py::test_task_get_tenant_for_schema_should_cache_results_local_setting PASSED [ 50%] ../.testenv/lib/python3.12/site-packages/tenant_schemas_celery/task_test.py::test_task_get_tenant_for_schema_should_cache_results_global_setting PASSED [ 53%] ../.testenv/lib/python3.12/site-packages/tenant_schemas_celery/task_test.py::test_multiple_tasks_get_tenant_for_schema_should_cache_results_global_setting PASSED [ 56%] ../.testenv/lib/python3.12/site-packages/tenant_schemas_celery/app_test.py::test_celery_app_should_allow_overriding_task_cls_as_object PASSED [ 60%] ../.testenv/lib/python3.12/site-packages/tenant_schemas_celery/app_test.py::test_celery_app_should_allow_overriding_task_cls_as_string PASSED [ 63%] ../.testenv/lib/python3.12/site-packages/tenant_schemas_celery/cache_test.py::test_cache_get_should_return_default_value_if_key_doesnt_exist PASSED [ 66%] ../.testenv/lib/python3.12/site-packages/tenant_schemas_celery/cache_test.py::test_cache_set_should_add_value_to_cache PASSED [ 70%] ../.testenv/lib/python3.12/site-packages/tenant_schemas_celery/cache_test.py::test_cache_get_should_return_default_value_if_key_expired PASSED [ 73%] ../.testenv/lib/python3.12/site-packages/tenant_schemas_celery/cache_test.py::test_cache_should_allow_reusing_storage PASSED [ 76%] ../.testenv/lib/python3.12/site-packages/tenant_schemas_celery/task_test.py::test_get_tenant_databases_custom_settings PASSED [ 80%] ../.testenv/lib/python3.12/site-packages/tenant_schemas_celery/test_scheduler.py::TestTenantAwareSchedulerMixin::test_schedule_setup_properly[config0] PASSED [ 83%] ../.testenv/lib/python3.12/site-packages/tenant_schemas_celery/test_scheduler.py::TestTenantAwareSchedulerMixin::test_schedule_setup_properly[config1] PASSED [ 86%] ../.testenv/lib/python3.12/site-packages/tenant_schemas_celery/test_scheduler.py::TestTenantAwareSchedulerMixin::test_schedule_setup_properly[config2] PASSED [ 90%] ../.testenv/lib/python3.12/site-packages/tenant_schemas_celery/test_scheduler.py::TestTenantAwarePersistentScheduler::test_schedule_setup_properly[config0] PASSED [ 93%] ../.testenv/lib/python3.12/site-packages/tenant_schemas_celery/test_scheduler.py::TestTenantAwarePersistentScheduler::test_schedule_setup_properly[config1] PASSED [ 96%] ../.testenv/lib/python3.12/site-packages/tenant_schemas_celery/test_scheduler.py::TestTenantAwarePersistentScheduler::test_schedule_setup_properly[config2] PASSED [100%] =============================== warnings summary =============================== ../../../../../../../../usr/lib/python3.12/site-packages/django/conf/__init__.py:267 /usr/lib/python3.12/site-packages/django/conf/__init__.py:267: RemovedInDjango50Warning: The USE_L10N setting is deprecated. Starting with Django 5.0, localized formatting of data will always be enabled. For example Django will display numbers and dates using the format of the current locale. warnings.warn(USE_L10N_DEPRECATED_MSG, RemovedInDjango50Warning) ../../../../../../../../usr/lib/python3.12/site-packages/django/conf/__init__.py:278 /usr/lib/python3.12/site-packages/django/conf/__init__.py:278: RemovedInDjango51Warning: The DEFAULT_FILE_STORAGE setting is deprecated. Use STORAGES instead. warnings.warn(DEFAULT_FILE_STORAGE_DEPRECATED_MSG, RemovedInDjango51Warning) .testenv/lib/python3.12/site-packages/tenant_schemas_celery/task_test.py::test_task_get_tenant_for_schema_should_cache_results_local_setting .testenv/lib/python3.12/site-packages/tenant_schemas_celery/task_test.py::test_task_get_tenant_for_schema_should_cache_results_global_setting .testenv/lib/python3.12/site-packages/tenant_schemas_celery/task_test.py::test_multiple_tasks_get_tenant_for_schema_should_cache_results_global_setting .testenv/lib/python3.12/site-packages/tenant_schemas_celery/cache_test.py::test_cache_set_should_add_value_to_cache .testenv/lib/python3.12/site-packages/tenant_schemas_celery/cache_test.py::test_cache_should_allow_reusing_storage /home/buildozer/aports/testing/py3-tenant-schemas-celery/src/tenant-schemas-celery-3.0.0/.testenv/lib/python3.12/site-packages/tenant_schemas_celery/cache.py:25: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). expires_at=datetime.utcnow() + timedelta(seconds=expire_seconds), .testenv/lib/python3.12/site-packages/tenant_schemas_celery/task_test.py::test_task_get_tenant_for_schema_should_cache_results_local_setting .testenv/lib/python3.12/site-packages/tenant_schemas_celery/task_test.py::test_task_get_tenant_for_schema_should_cache_results_global_setting .testenv/lib/python3.12/site-packages/tenant_schemas_celery/task_test.py::test_multiple_tasks_get_tenant_for_schema_should_cache_results_global_setting .testenv/lib/python3.12/site-packages/tenant_schemas_celery/task_test.py::test_multiple_tasks_get_tenant_for_schema_should_cache_results_global_setting .testenv/lib/python3.12/site-packages/tenant_schemas_celery/cache_test.py::test_cache_set_should_add_value_to_cache .testenv/lib/python3.12/site-packages/tenant_schemas_celery/cache_test.py::test_cache_should_allow_reusing_storage /home/buildozer/aports/testing/py3-tenant-schemas-celery/src/tenant-schemas-celery-3.0.0/.testenv/lib/python3.12/site-packages/tenant_schemas_celery/cache.py:16: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). if key not in self.__items or self.__items[key].expires_at < datetime.utcnow(): .testenv/lib/python3.12/site-packages/tenant_schemas_celery/task_test.py::test_task_get_tenant_for_schema_should_cache_results_local_setting /home/buildozer/aports/testing/py3-tenant-schemas-celery/src/tenant-schemas-celery-3.0.0/.testenv/lib/python3.12/site-packages/tenant_schemas_celery/task_test.py:35: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). datetime.utcnow() + 2 * timedelta(seconds=DummyTask.tenant_cache_seconds) .testenv/lib/python3.12/site-packages/tenant_schemas_celery/task_test.py::test_task_get_tenant_for_schema_should_cache_results_global_setting /home/buildozer/aports/testing/py3-tenant-schemas-celery/src/tenant-schemas-celery-3.0.0/.testenv/lib/python3.12/site-packages/tenant_schemas_celery/task_test.py:72: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). datetime.utcnow() + 2 * timedelta(seconds=int(settings.CELERY_TASK_TENANT_CACHE_SECONDS)) .testenv/lib/python3.12/site-packages/tenant_schemas_celery/task_test.py::test_multiple_tasks_get_tenant_for_schema_should_cache_results_global_setting /home/buildozer/aports/testing/py3-tenant-schemas-celery/src/tenant-schemas-celery-3.0.0/.testenv/lib/python3.12/site-packages/tenant_schemas_celery/task_test.py:118: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). datetime.utcnow() + 2 * timedelta(seconds=int(settings.CELERY_TASK_TENANT_CACHE_SECONDS)) .testenv/lib/python3.12/site-packages/tenant_schemas_celery/cache_test.py::test_cache_get_should_return_default_value_if_key_expired /home/buildozer/aports/testing/py3-tenant-schemas-celery/src/tenant-schemas-celery-3.0.0/.testenv/lib/python3.12/site-packages/tenant_schemas_celery/cache_test.py:31: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). now = datetime.utcnow() .testenv/lib/python3.12/site-packages/tenant_schemas_celery/task_test.py::test_get_tenant_databases_custom_settings /usr/lib/python3.12/site-packages/django/conf/__init__.py:193: RemovedInDjango51Warning: The DEFAULT_FILE_STORAGE setting is deprecated. Use STORAGES instead. self._show_deprecation_warning( .testenv/lib/python3.12/site-packages/tenant_schemas_celery/task_test.py::test_get_tenant_databases_custom_settings /usr/lib/python3.12/site-packages/django/conf/__init__.py:201: RemovedInDjango51Warning: The STATICFILES_STORAGE setting is deprecated. Use STORAGES instead. self._show_deprecation_warning( .testenv/lib/python3.12/site-packages/tenant_schemas_celery/task_test.py::test_get_tenant_databases_custom_settings /usr/lib/python3.12/site-packages/django/conf/__init__.py:178: RemovedInDjango50Warning: The USE_L10N setting is deprecated. Starting with Django 5.0, localized formatting of data will always be enabled. For example Django will display numbers and dates using the format of the current locale. self._show_deprecation_warning( -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ================== 28 passed, 2 xfailed, 20 warnings in 3.53s ================== >>> py3-tenant-schemas-celery: Entering fakeroot... >>> py3-tenant-schemas-celery-pyc*: Running split function pyc... 'usr/lib/python3.12/site-packages/tenant_schemas_celery/__pycache__' -> '/home/buildozer/aports/testing/py3-tenant-schemas-celery/pkg/py3-tenant-schemas-celery-pyc/usr/lib/python3.12/site-packages/tenant_schemas_celery/__pycache__' >>> py3-tenant-schemas-celery-pyc*: Preparing subpackage py3-tenant-schemas-celery-pyc... >>> py3-tenant-schemas-celery-pyc*: Running postcheck for py3-tenant-schemas-celery-pyc >>> py3-tenant-schemas-celery*: Running postcheck for py3-tenant-schemas-celery >>> py3-tenant-schemas-celery*: Preparing package py3-tenant-schemas-celery... >>> py3-tenant-schemas-celery-pyc*: Tracing dependencies... py3-django-tenants py3-celery python3~3.12 >>> py3-tenant-schemas-celery-pyc*: Package size: 53.1 KB >>> py3-tenant-schemas-celery-pyc*: Compressing data... >>> py3-tenant-schemas-celery-pyc*: Create checksum... >>> py3-tenant-schemas-celery-pyc*: Create py3-tenant-schemas-celery-pyc-3.0.0-r0.apk >>> py3-tenant-schemas-celery*: Tracing dependencies... py3-django-tenants py3-celery python3~3.12 >>> py3-tenant-schemas-celery*: Package size: 43.7 KB >>> py3-tenant-schemas-celery*: Compressing data... >>> py3-tenant-schemas-celery*: Create checksum... >>> py3-tenant-schemas-celery*: Create py3-tenant-schemas-celery-3.0.0-r0.apk >>> py3-tenant-schemas-celery: Build complete at Sun, 20 Oct 2024 23:46:56 +0000 elapsed time 0h 0m 23s >>> py3-tenant-schemas-celery: Cleaning up srcdir >>> py3-tenant-schemas-celery: Cleaning up pkgdir >>> py3-tenant-schemas-celery: Uninstalling dependencies... (1/106) Purging .makedepends-py3-tenant-schemas-celery (20241020.234634) (2/106) Purging py3-django-tenants-pyc (3.7.0-r0) (3/106) Purging py3-django-tenants (3.7.0-r0) (4/106) Purging py3-django-pyc (4.2.16-r0) (5/106) Purging py3-django (4.2.16-r0) (6/106) Purging py3-asgiref-pyc (3.8.1-r1) (7/106) Purging py3-asgiref (3.8.1-r1) (8/106) Purging py3-sqlparse-pyc (0.5.1-r0) (9/106) Purging py3-sqlparse (0.5.1-r0) (10/106) Purging py3-psycopg-pyc (3.1.20-r0) (11/106) Purging py3-psycopg (3.1.20-r0) (12/106) Purging py3-gunicorn-pyc (23.0.0-r0) (13/106) Purging py3-gunicorn (23.0.0-r0) (14/106) Purging py3-setuptools-pyc (70.3.0-r0) (15/106) Purging py3-setuptools (70.3.0-r0) (16/106) Purging py3-gpep517-pyc (16-r0) (17/106) Purging py3-gpep517 (16-r0) (18/106) Purging py3-installer-pyc (0.7.0-r2) (19/106) Purging py3-installer (0.7.0-r2) (20/106) Purging py3-wheel-pyc (0.43.0-r0) (21/106) Purging py3-wheel (0.43.0-r0) (22/106) Purging py3-pytest-django-pyc (4.8.0-r1) (23/106) Purging py3-pytest-django (4.8.0-r1) (24/106) Purging py3-pytest-cov-pyc (5.0.0-r0) (25/106) Purging py3-pytest-cov (5.0.0-r0) (26/106) Purging py3-coverage-pyc (7.5.1-r0) (27/106) Purging py3-coverage (7.5.1-r0) (28/106) Purging python3-dev (3.12.7-r0) (29/106) Purging py3-pytest-pyc (8.3.3-r0) (30/106) Purging py3-pytest (8.3.3-r0) (31/106) Purging py3-iniconfig-pyc (2.0.0-r1) (32/106) Purging py3-iniconfig (2.0.0-r1) (33/106) Purging py3-packaging-pyc (24.1-r0) (34/106) Purging py3-packaging (24.1-r0) (35/106) Purging py3-parsing-pyc (3.1.4-r0) (36/106) Purging py3-parsing (3.1.4-r0) (37/106) Purging py3-pluggy-pyc (1.5.0-r0) (38/106) Purging py3-pluggy (1.5.0-r0) (39/106) Purging py3-py-pyc (1.11.0-r4) (40/106) Purging py3-py (1.11.0-r4) (41/106) Purging py3-freezegun-pyc (1.4.0-r1) (42/106) Purging py3-freezegun (1.4.0-r1) (43/106) Purging rabbitmq-server-openrc (3.13.7-r0) (44/106) Purging rabbitmq-server (3.13.7-r0) Executing rabbitmq-server-3.13.7-r0.post-deinstall Please manually remove the 'rabbitmq' user and group if no longer needed (45/106) Purging erlang (26.2.5.4-r0) (46/106) Purging valkey-openrc (7.2.7-r0) (47/106) Purging valkey (7.2.7-r0) (48/106) Purging procps-ng (4.0.4-r2) (49/106) Purging celery-openrc (5.4.0-r1) (50/106) Purging celery-pyc (5.4.0-r1) (51/106) Purging celery (5.4.0-r1) (52/106) Purging py3-billiard-pyc (4.2.1-r0) (53/106) Purging py3-billiard (4.2.1-r0) (54/106) Purging py3-click-didyoumean-pyc (0.3.1-r1) (55/106) Purging py3-click-didyoumean (0.3.1-r1) (56/106) Purging py3-click-plugins-pyc (1.1.1-r6) (57/106) Purging py3-click-plugins (1.1.1-r6) (58/106) Purging py3-click-repl-pyc (0.3.0-r4) (59/106) Purging py3-click-repl (0.3.0-r4) (60/106) Purging py3-click-pyc (8.1.7-r2) (61/106) Purging py3-click (8.1.7-r2) (62/106) Purging py3-prompt_toolkit-pyc (3.0.47-r0) (63/106) Purging py3-prompt_toolkit (3.0.47-r0) (64/106) Purging py3-wcwidth-pyc (0.2.13-r1) (65/106) Purging py3-wcwidth (0.2.13-r1) (66/106) Purging py3-dateutil-pyc (2.9.0-r1) (67/106) Purging py3-dateutil (2.9.0-r1) (68/106) Purging py3-six-pyc (1.16.0-r9) (69/106) Purging py3-six (1.16.0-r9) (70/106) Purging py3-kombu-pyc (5.4.2-r0) (71/106) Purging py3-kombu (5.4.2-r0) (72/106) Purging py3-amqp-pyc (5.2.0-r2) (73/106) Purging py3-amqp (5.2.0-r2) (74/106) Purging py3-tz-pyc (2024.2-r0) (75/106) Purging py3-tz (2024.2-r0) (76/106) Purging py3-tzdata-pyc (2024.2-r0) (77/106) Purging py3-tzdata (2024.2-r0) (78/106) Purging py3-attrs-pyc (24.2.0-r0) (79/106) Purging py3-attrs (24.2.0-r0) (80/106) Purging py3-vine-pyc (5.0.0-r3) (81/106) Purging py3-vine (5.0.0-r3) (82/106) Purging python3-pyc (3.12.7-r0) (83/106) Purging python3-pycache-pyc0 (3.12.7-r0) (84/106) Purging pyc (3.12.7-r0) (85/106) Purging python3 (3.12.7-r0) (86/106) Purging libbz2 (1.0.8-r6) (87/106) Purging libffi (3.4.6-r0) (88/106) Purging libintl (0.22.5-r0) (89/106) Purging libpanelw (6.5_p20241006-r0) (90/106) Purging libproc2 (4.0.4-r2) (91/106) Purging mpdecimal (4.0.0-r0) (92/106) Purging postgresql16-openrc (16.3-r1) (93/106) Purging postgresql-common-openrc (1.2-r1) (94/106) Purging postgresql16 (16.3-r1) Executing postgresql16-16.3-r1.pre-deinstall (95/106) Purging postgresql16-client (16.3-r1) (96/106) Purging postgresql-common (1.2-r1) Executing postgresql-common-1.2-r1.pre-deinstall (97/106) Purging tzdata (2024b-r1) (98/106) Purging sqlite-libs (3.46.1-r0) (99/106) Purging libldap (2.6.8-r0) (100/106) Purging libsasl (2.1.28-r8) (101/106) Purging gdbm (1.24-r0) (102/106) Purging icu-libs (74.2-r0) (103/106) Purging icu-data-en (74.2-r0) (104/106) Purging libpq (16.3-r1) (105/106) Purging libxml2 (2.13.4-r1) (106/106) Purging xz-libs (5.6.3-r0) Executing busybox-1.37.0-r1.trigger OK: 322 MiB in 101 packages >>> py3-tenant-schemas-celery: Updating the testing/armhf repository index... >>> py3-tenant-schemas-celery: Signing the index...