Source: objgraph
Version: 3.5.0-4
Severity: serious
Tags: sid bookworm
User: debian...@lists.debian.org
Usertags: needs-update
User: debian-pyt...@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 objgraph 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
objgraph               from testing    3.5.0-4
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/amd64/o/objgraph/28727755/log.gz

=== python3.11 ===
...........................s.............s........FFF...
======================================================================
FAIL: /tmp/autopkgtest-lxc.6f6l_for/downtmp/autopkgtest_tmp/docs/generator-sample.txt
Doctest: generator-sample.txt
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.11/doctest.py", line 2221, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for generator-sample.txt
File "/tmp/autopkgtest-lxc.6f6l_for/downtmp/autopkgtest_tmp/docs/generator-sample.txt", line 0

----------------------------------------------------------------------
File "/tmp/autopkgtest-lxc.6f6l_for/downtmp/autopkgtest_tmp/docs/generator-sample.txt", line 43, in generator-sample.txt
Failed example:
    objgraph.show_chain(
        objgraph.find_backref_chain(objgraph.by_type('Canary')[0],
                                    objgraph.is_proper_module),
        filename='canary-chain.png')
Expected:
    Graph written to ....dot (11 nodes)
    Image generated as canary-chain.png
Got:
Graph written to /tmp/test-objgraph-f9jou7lt/objgraph-wp5tc5pr.dot (9 nodes)
    Image generated as canary-chain.png


======================================================================
FAIL: /tmp/autopkgtest-lxc.6f6l_for/downtmp/autopkgtest_tmp/docs/highlighting.txt
Doctest: highlighting.txt
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.11/doctest.py", line 2221, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for highlighting.txt
File "/tmp/autopkgtest-lxc.6f6l_for/downtmp/autopkgtest_tmp/docs/highlighting.txt", line 0

----------------------------------------------------------------------
File "/tmp/autopkgtest-lxc.6f6l_for/downtmp/autopkgtest_tmp/docs/highlighting.txt", line 16, in highlighting.txt
Failed example:
    objgraph.show_backrefs(a, max_depth=15,
        extra_ignore=[id(locals())],
        highlight=lambda x: isinstance(x, Node),
        filename='highlight.png')
Expected:
    Graph written to ....dot (12 nodes)
    Image generated as highlight.png
Got:
Graph written to /tmp/test-objgraph-zuk_6rtx/objgraph-bbiglbtg.dot (8 nodes)
    Image generated as highlight.png


======================================================================
FAIL: /tmp/autopkgtest-lxc.6f6l_for/downtmp/autopkgtest_tmp/docs/index.txt
Doctest: index.txt
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.11/doctest.py", line 2221, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for index.txt
File "/tmp/autopkgtest-lxc.6f6l_for/downtmp/autopkgtest_tmp/docs/index.txt", line 0

----------------------------------------------------------------------
File "/tmp/autopkgtest-lxc.6f6l_for/downtmp/autopkgtest_tmp/docs/index.txt", line 110, in index.txt
Failed example:
    objgraph.show_chain(
        objgraph.find_backref_chain(
            random.choice(objgraph.by_type('MyBigFatObject')),
            objgraph.is_proper_module),
        filename='chain.png')
Expected:
    Graph written to ...dot (13 nodes)
    Image generated as chain.png
Got:
Graph written to /tmp/test-objgraph-on6h8uo5/objgraph-5e7is2q7.dot (12 nodes)
    Image generated as chain.png


----------------------------------------------------------------------
Ran 56 tests in 3.022s

FAILED (failures=3, skipped=2)
autopkgtest [20:13:51]: test unittests3

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to