#1024784 swift: (autopkgtest) needs update for python3.11: Segmentation fault

#1024784#5
Date:
2022-11-24 20:51:33 UTC
From:
To:
Source: swift
Version: 2.30.0-2
Severity: serious
Tags: sid bookworm
User: debian-ci@lists.debian.org
Usertags: needs-update
User: debian-python@lists.debian.org
Usertags: python3.11
Control: affects -1 src:python3-defaults

Dear maintainer(s),

We are in the transition of adding python3.11 as a supported Python
version [0]. With a recent upload of python3-defaults the autopkgtest of
swift fails in testing when that autopkgtest is run with the binary
packages of python3-defaults from unstable. It passes when run with only
packages from testing. In tabular form:

                        pass            fail
python3-defaults       from testing    3.10.6-3
swift                  from testing    2.30.0-2
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of python3-defaults
to testing [1]. https://docs.python.org/3/whatsnew/3.11.html lists
what's new in Python3.11, it may help to identify what needs to be updated.

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[0] https://bugs.debian.org/1021984
[1] https://qa.debian.org/excuses.php?package=python3-defaults

https://ci.debian.net/data/autopkgtest/testing/s390x/s/swift/28606516/log.gz

+ py3versions -vr
+ python3.11 -m nose test/unit -v
--exclude-test=test.unit.common.test_utils.TestUtils.test_get_logger_sysloghandler_plumbing 
--exclude-test=test.unit.common.middleware.test_cname_lookup.TestCNAMELookup 
--exclude-test=test.unit.common.test_db.TestDatabaseBroker.test_get 
--exclude-test=test.unit.container.test_sync.TestContainerSync.test_init 
--exclude-test=test.unit.common.test_utils.TestPunchHoleReally.test_punch_a_hole 
--exclude-test=test.unit.common.test_utils.Test_LibcWrapper.test_argument_plumbing
nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$']
nose.plugins.xcover: INFO: Coverage report will include only packages:
['swift']
nose.plugins.cover: INFO: Coverage report will include only packages:
['swift']
Unable to read test config /etc/swift/test.conf - file not found
test_db_validate_fails
(test.unit.account.test_auditor.TestAuditorRealBroker.test_db_validate_fails)
... Segmentation fault
autopkgtest [14:04:13]: test unittests

#1024784#12
Date:
2022-11-30 21:22:20 UTC
From:
To:
FYI, this is what it goes down to:
https://github.com/python/cpython/pull/99902

So this is a bug in the Python interpreter.

There's a Swift patch to work around the issue:
https://review.opendev.org/c/openstack/swift/+/866051

I'll probably apply it temporarily, until the Python 3.11 get the fix.

Cheers,

Thomas Goirand (zigo)

#1024784#15
Date:
2022-12-01 07:09:03 UTC
From:
To:
Hello,

Bug #1024784 in swift reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/openstack-team/services/swift/-/commit/24020d48e1c9c688c53abfaf35c8410298cd1f5c

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1024784