On Fri, Mar 18, 2022 at 9:35 AM Jiri Daněk <jda...@redhat.com> wrote:
>
> On Fri, Mar 18, 2022 at 10:20 AM Roddie Kieley <rkie...@apache.org> wrote:
>
> > Has anyone else been testing with python 3.10? I see that we specify
> > python 3.6+ as per:
> >
> > -- Found Python: /usr/bin/python3.10 (found suitable version "3.10.0",
> > minimum required is "3.6") found components: Interpreter Development
> > Development.Module Development.Embed
> >
> > but on Fedora 34 with python 3.10 installed and built using gcc I see that
> > the c-fdlimits-tests fail intermittently. With clang 12.0.1 + python 3.10
> > the list of failures is larger and more consistent. Should we expect this
> > to be a python 3.10 to be usable at the moment? If this is not an issue
> > specific to my environment, are we able to release note it?
> >
>
> Python 3.10 is default on Fedora 35 as well, so I expect most people here
> will use this version of Python.
>
> Does the fdlimits failure look anything like the former problems with the
> test?
> https://issues.apache.org/jira/issues/?jql=project%20%3D%20PROTON%20AND%20text%20~%20c-fdlimits-tests
>
> What are the other failures? Could it be that newer Python is more
> sensitive to detecting resource leaks?

That test fails for me with 3.6 (every time so far). I get lots of
resource warnings then an assertion failure:

6: ResourceWarning: Enable tracemalloc to get the object allocation traceback
6: /usr/lib64/python3.10/subprocess.py:1067: ResourceWarning:
subprocess 849819 is still running
6:   _warn("subprocess %s is still running" % self.pid,
6: ResourceWarning: Enable tracemalloc to get the object allocation traceback
6: /usr/lib64/python3.10/subprocess.py:1067: ResourceWarning:
subprocess 850082 is still running
6:   _warn("subprocess %s is still running" % self.pid,
6: ResourceWarning: Enable tracemalloc to get the object allocation traceback
6:
6: ======================================================================
6: FAIL: test_fd_limit_broker (__main__.FdLimitTest)
6: Check behaviour when running out of file descriptors on accept
6: ----------------------------------------------------------------------
6: Traceback (most recent call last):
6:   File 
"/home/gordon/releases/proton/0.37.0/qpid-proton-0.37.0/c/tests/fdlimit.py",
line 77, in test_fd_limit_broker
6:     self.assertNotEqual(sender.poll(), 0)
6: AssertionError: 0 == 0
6:
6: ----------------------------------------------------------------------
6: Ran 1 test in 2.101s
6:
6: FAILED (failures=1)
1/1 Test #6: c-fdlimit-tests ..................***Failed    2.18 sec


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
For additional commands, e-mail: users-h...@qpid.apache.org

Reply via email to