https://bugzilla.redhat.com/show_bug.cgi?id=2282430 Ben Beasley <code@xxxxxxxxxxxxxxxxxx> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |code@xxxxxxxxxxxxxxxxxx --- Comment #10 from Ben Beasley <code@xxxxxxxxxxxxxxxxxx> --- It looks like this doesn’t quite build in Rawhide anymore: ==================================== ERRORS ==================================== __________ ERROR at teardown of TestFtpListingCmdsTLSMixin.test_nlst ___________ pyftpdlib/test/test_functional.py:1115: in tearDown close_client(self.client) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ session = <pyftpdlib.test.test_functional_ssl.FTPSClient object at 0x7fb4f050b540> def close_client(session): """Closes a ftplib.FTP client session.""" try: if session.sock is not None: try: resp = session.quit() except Exception: # noqa pass else: # ...just to make sure the server isn't replying to some # pending command. > assert resp.startswith('221'), resp E AssertionError: 226 Transfer complete. pyftpdlib/test/__init__.py:136: AssertionError =================================== FAILURES =================================== ________________ TestCallbacks.test_on_incomplete_file_received ________________ self = <pyftpdlib.test.test_functional.TestCallbacks testMethod=test_on_incomplete_file_received> @retry_on_failure() def test_on_incomplete_file_received(self): self.client.login(USER, PASSWD) data = b'abcde12345' * 1000000 dummyfile = BytesIO() dummyfile.write(data) dummyfile.seek(0) with contextlib.closing( self.client.transfercmd('stor ' + self.testfn2)) as conn: bytes_sent = 0 while True: chunk = dummyfile.read(BUFSIZE) conn.sendall(chunk) bytes_sent += len(chunk) # stop transfer while it isn't finished yet if bytes_sent >= INTERRUPTED_TRANSF_SIZE or not chunk: self.client.putcmd('abor') break # If a data transfer is in progress server is supposed to send # a 426 reply followed by a 226 reply. > self.assertRaises(ftplib.error_temp, self.client.getresp) # 426 E AssertionError: error_temp not raised by getresp pyftpdlib/test/test_functional.py:1927: AssertionError ----------------------------- Captured stderr call ----------------------------- AssertionError('error_temp not raised by getresp'), retrying AssertionError('error_temp not raised by getresp'), retrying AssertionError('error_temp not raised by getresp'), retrying AssertionError('error_temp not raised by getresp'), retrying AssertionError('error_temp not raised by getresp'), retrying _____________________ TestFtpListingCmdsTLSMixin.test_nlst _____________________ self = <pyftpdlib.test.test_functional_ssl.TestFtpListingCmdsTLSMixin testMethod=test_nlst> @unittest.skipIf(CI_TESTING, "may fail on CI") def test_nlst(self): > super().test_nlst() pyftpdlib/test/test_functional_ssl.py:129: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyftpdlib/test/test_functional.py:1149: in test_nlst self._test_listing_cmds('nlst') pyftpdlib/test/test_functional.py:1142: in _test_listing_cmds self.client.retrlines('%s %s' % (cmd, tempdir), x.append) /usr/lib64/python3.13/ftplib.py:476: in retrlines conn.unwrap() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <ssl.SSLSocket [closed] fd=-1, family=2, type=1, proto=6> @_sslcopydoc def unwrap(self): if self._sslobj: > s = self._sslobj.shutdown() E ssl.SSLError: [SSL: SHUTDOWN_WHILE_IN_INIT] shutdown while in init (_ssl.c:2706) /usr/lib64/python3.13/ssl.py:1339: SSLError =============================== warnings summary =============================== pyftpdlib/test/test_functional_ssl.py::TestFtpListingCmdsTLSMixin::test_stat /builddir/build/BUILD/python-pyftpdlib-1.5.9-build/pyftpdlib-release-1.5.9/pyftpdlib/test/__init__.py:503: UserWarning: some children didn't terminate "[psutil.Process(pid=710, name='pytest', status='sleeping', started='12:57:18')]" assert_free_resources() pyftpdlib/test/test_ioloop.py::DefaultIOLoopTestCase::test_register /usr/lib64/python3.13/unittest/case.py:707: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method BaseIOLoopTestCase.test_register of <pyftpdlib.test.test_ioloop.DefaultIOLoopTestCase testMethod=test_register>>) return self.run(*args, **kwds) pyftpdlib/test/test_ioloop.py::SelectIOLoopTestCase::test_register /usr/lib64/python3.13/unittest/case.py:707: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method BaseIOLoopTestCase.test_register of <pyftpdlib.test.test_ioloop.SelectIOLoopTestCase testMethod=test_register>>) return self.run(*args, **kwds) pyftpdlib/test/test_ioloop.py::PollIOLoopTestCase::test_register /usr/lib64/python3.13/unittest/case.py:707: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method BaseIOLoopTestCase.test_register of <pyftpdlib.test.test_ioloop.PollIOLoopTestCase testMethod=test_register>>) return self.run(*args, **kwds) pyftpdlib/test/test_ioloop.py::EpollIOLoopTestCase::test_register /usr/lib64/python3.13/unittest/case.py:707: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method BaseIOLoopTestCase.test_register of <pyftpdlib.test.test_ioloop.EpollIOLoopTestCase testMethod=test_register>>) return self.run(*args, **kwds) pyftpdlib/test/test_servers.py::TestFtpFsOperationsThreadMixin::test_invalid_mfmt_timeval pyftpdlib/test/test_servers.py::TestFtpFsOperationsThreadMixin::test_mfmt /builddir/build/BUILD/python-pyftpdlib-1.5.9-build/pyftpdlib-release-1.5.9/pyftpdlib/handlers.py:2741: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). epoch = datetime.utcfromtimestamp(0) pyftpdlib/test/test_servers.py: 90 warnings /usr/lib64/python3.13/multiprocessing/popen_fork.py:67: DeprecationWarning: This process (pid=368) is multi-threaded, use of fork() may lead to deadlocks in the child. self.pid = os.fork() -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED pyftpdlib/test/test_functional.py::TestCallbacks::test_on_incomplete_file_received FAILED pyftpdlib/test/test_functional_ssl.py::TestFtpListingCmdsTLSMixin::test_nlst ERROR pyftpdlib/test/test_functional_ssl.py::TestFtpListingCmdsTLSMixin::test_nlst = 2 failed, 731 passed, 55 skipped, 7 deselected, 97 warnings, 1 error in 30.81s = -- You are receiving this mail because: You are always notified about changes to this product and component You are on the CC list for the bug. https://bugzilla.redhat.com/show_bug.cgi?id=2282430 Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202282430%23c10 -- _______________________________________________ package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue