[ksmtp] [Bug 453005] 23.04.0: test suite is failing

kloczek bugzilla_noreply at kde.org
Sat Apr 22 13:50:25 BST 2023


https://bugs.kde.org/show_bug.cgi?id=453005

kloczek <kloczko.tomasz at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|unspecified                 |5.23.0
         Resolution|UNMAINTAINED                |---
            Summary|21.12.3: test suite is      |23.04.0: test suite is
                   |failing                     |failing
             Status|RESOLVED                    |REPORTED

--- Comment #2 from kloczek <kloczko.tomasz at gmail.com> ---
Reopening.
23.04.0 still fails in the same unit

+ cd ksmtp-23.04.0
+ /usr/bin/ctest --test-dir x86_64-redhat-linux-gnu --output-on-failure
--force-new-ctest-process -j48 ' '
Internal ctest changing into directory:
/home/tkloczko/rpmbuild/BUILD/ksmtp-23.04.0/x86_64-redhat-linux-gnu
Test project
/home/tkloczko/rpmbuild/BUILD/ksmtp-23.04.0/x86_64-redhat-linux-gnu
    Start 1: smtptest
1/1 Test #1: smtptest .........................Subprocess aborted***Exception:
300.15 sec
********* Start testing of SmtpTest *********
Config: Using QtTest library 5.15.9, Qt 5.15.9 (x86_64-little_endian-lp64
shared (dynamic) release build; by GCC 13.0.1 20230404 (Red Hat 13.0.1-0)),
fedora 39
PASS   : SmtpTest::initTestCase()
QDEBUG : SmtpTest::testHello(EHLO OK) KSmtp::Session::Ready
QDEBUG : SmtpTest::testHello(EHLO OK) KSmtp::Session::Handshake
QDEBUG : SmtpTest::testHello(EHLO OK) KSmtp::Session::NotAuthenticated
QDEBUG : SmtpTest::testHello(EHLO OK) ### Session state is:
KSmtp::Session::NotAuthenticated
QDEBUG : SmtpTest::testHello(EHLO OK) KSmtp::Session::Quitting
QWARN  : SmtpTest::testHello(EHLO OK) org.kde.pim.ksmtp: SMTP Socket error:
QAbstractSocket::RemoteHostClosedError "The remote host closed the connection"
QDEBUG : SmtpTest::testHello(EHLO OK) KSmtp::Session::Disconnected
PASS   : SmtpTest::testHello(EHLO OK)
QDEBUG : SmtpTest::testHello(EHLO unknown) KSmtp::Session::Ready
QDEBUG : SmtpTest::testHello(EHLO unknown) KSmtp::Session::Handshake
QDEBUG : SmtpTest::testHello(EHLO unknown) KSmtp::Session::Ready
QDEBUG : SmtpTest::testHello(EHLO unknown) KSmtp::Session::Handshake
QDEBUG : SmtpTest::testHello(EHLO unknown) KSmtp::Session::NotAuthenticated
QDEBUG : SmtpTest::testHello(EHLO unknown) ### Session state is:
KSmtp::Session::NotAuthenticated
QDEBUG : SmtpTest::testHello(EHLO unknown) KSmtp::Session::Quitting
QWARN  : SmtpTest::testHello(EHLO unknown) org.kde.pim.ksmtp: SMTP Socket
error: QAbstractSocket::RemoteHostClosedError "The remote host closed the
connection"
QDEBUG : SmtpTest::testHello(EHLO unknown) KSmtp::Session::Disconnected
PASS   : SmtpTest::testHello(EHLO unknown)
QDEBUG : SmtpTest::testHello(EHLO not implemented) KSmtp::Session::Ready
QDEBUG : SmtpTest::testHello(EHLO not implemented) KSmtp::Session::Handshake
QDEBUG : SmtpTest::testHello(EHLO not implemented) KSmtp::Session::Ready
QDEBUG : SmtpTest::testHello(EHLO not implemented) KSmtp::Session::Handshake
QDEBUG : SmtpTest::testHello(EHLO not implemented)
KSmtp::Session::NotAuthenticated
QDEBUG : SmtpTest::testHello(EHLO not implemented) ### Session state is:
KSmtp::Session::NotAuthenticated
QDEBUG : SmtpTest::testHello(EHLO not implemented) KSmtp::Session::Quitting
QWARN  : SmtpTest::testHello(EHLO not implemented) org.kde.pim.ksmtp: SMTP
Socket error: QAbstractSocket::RemoteHostClosedError "The remote host closed
the connection"
QDEBUG : SmtpTest::testHello(EHLO not implemented) KSmtp::Session::Disconnected
PASS   : SmtpTest::testHello(EHLO not implemented)
QDEBUG : SmtpTest::testHello(ERROR) KSmtp::Session::Ready
QDEBUG : SmtpTest::testHello(ERROR) KSmtp::Session::Handshake
QDEBUG : SmtpTest::testHello(ERROR) KSmtp::Session::Ready
QDEBUG : SmtpTest::testHello(ERROR) KSmtp::Session::Handshake
QWARN  : SmtpTest::testHello(ERROR) org.kde.pim.ksmtp: KSmtp::Session:
Handshake failed with both EHLO and HELO
QDEBUG : SmtpTest::testHello(ERROR) KSmtp::Session::Quitting
QWARN  : SmtpTest::testHello(ERROR) org.kde.pim.ksmtp: SMTP Socket error:
QAbstractSocket::RemoteHostClosedError "The remote host closed the connection"
QDEBUG : SmtpTest::testHello(ERROR) KSmtp::Session::Disconnected
QDEBUG : SmtpTest::testHello(ERROR) ### Session state is:
KSmtp::Session::Disconnected
XFAIL  : SmtpTest::testHello(ERROR) Expected failure if HELO command not
recognized
   Loc:
[/home/tkloczko/rpmbuild/BUILD/ksmtp-23.04.0/autotests/smtptest.cpp(77)]
PASS   : SmtpTest::testHello(ERROR)
QDEBUG : SmtpTest::testHello(EHLO hostname) KSmtp::Session::Ready
QDEBUG : SmtpTest::testHello(EHLO hostname) KSmtp::Session::Handshake
QDEBUG : SmtpTest::testHello(EHLO hostname) KSmtp::Session::NotAuthenticated
QDEBUG : SmtpTest::testHello(EHLO hostname) ### Session state is:
KSmtp::Session::NotAuthenticated
QDEBUG : SmtpTest::testHello(EHLO hostname) KSmtp::Session::Quitting
QWARN  : SmtpTest::testHello(EHLO hostname) org.kde.pim.ksmtp: SMTP Socket
error: QAbstractSocket::RemoteHostClosedError "The remote host closed the
connection"
QDEBUG : SmtpTest::testHello(EHLO hostname) KSmtp::Session::Disconnected
PASS   : SmtpTest::testHello(EHLO hostname)
QWARN  : SmtpTest::testLoginJob(Plain auth ok) org.kde.pim.ksmtp:
sasl_client_start failed with: -4 "SASL(-4): no mechanism available: No worthy
mechs found"
FAIL!  : SmtpTest::testLoginJob(Plain auth ok) 'login->error() == errorCode'
returned FALSE. (Unexpected LoginJob error code)
   Loc:
[/home/tkloczko/rpmbuild/BUILD/ksmtp-23.04.0/autotests/smtptest.cpp(166)]
QWARN  : SmtpTest::testLoginJob(Login auth ok) org.kde.pim.ksmtp:
sasl_client_start failed with: -4 "SASL(-4): no mechanism available: No worthy
mechs found"
FAIL!  : SmtpTest::testLoginJob(Login auth ok) 'login->error() == errorCode'
returned FALSE. (Unexpected LoginJob error code)
   Loc:
[/home/tkloczko/rpmbuild/BUILD/ksmtp-23.04.0/autotests/smtptest.cpp(166)]
QWARN  : SmtpTest::testLoginJob(Login not supported) org.kde.pim.ksmtp:
sasl_client_start failed with: -4 "SASL(-4): no mechanism available: No worthy
mechs found"
FAIL!  : SmtpTest::testLoginJob(Login not supported) 'login->error() ==
errorCode' returned FALSE. (Unexpected LoginJob error code)
   Loc:
[/home/tkloczko/rpmbuild/BUILD/ksmtp-23.04.0/autotests/smtptest.cpp(166)]
QWARN  : SmtpTest::testLoginJob(Auth not supported) org.kde.pim.ksmtp:
LoginJob: Couldn't choose an authentication method. Please retry with :  ()
XFAIL  : SmtpTest::testLoginJob(Auth not supported) Expected failure if not
authentication method supported
   Loc:
[/home/tkloczko/rpmbuild/BUILD/ksmtp-23.04.0/autotests/smtptest.cpp(171)]
QWARN  : SmtpTest::testLoginJob(Auth not supported) org.kde.pim.ksmtp: SMTP
Socket error: QAbstractSocket::RemoteHostClosedError "The remote host closed
the connection"
PASS   : SmtpTest::testLoginJob(Auth not supported)
QWARN  : SmtpTest::testLoginJob(Wrong password) org.kde.pim.ksmtp:
sasl_client_start failed with: -4 "SASL(-4): no mechanism available: No worthy
mechs found"
XFAIL  : SmtpTest::testLoginJob(Wrong password) Expected failure if wrong
password
   Loc:
[/home/tkloczko/rpmbuild/BUILD/ksmtp-23.04.0/autotests/smtptest.cpp(171)]
FAIL!  : SmtpTest::testLoginJob(Wrong password) Compared values are not the
same
   Actual   (QString::fromUtf8(received)): "C: QUIT"
   Expected (QString::fromUtf8(expected)): "C: AUTH PLAIN AGxvZ2luAHBhc3N3b3Jk"
   Loc:
[/home/tkloczko/rpmbuild/BUILD/ksmtp-23.04.0/autotests/fakeserver.cpp(207)]

=== Received signal at function time: 299986ms, total time: 300001ms, dumping
stack ===
=== End of stack trace ===
QFATAL : SmtpTest::testLoginJob(Wrong password) Test function timed out
FAIL!  : SmtpTest::testLoginJob(Wrong password) Received a fatal error.
   Loc: [Unknown file(0)]
Totals: 7 passed, 5 failed, 0 skipped, 0 blacklisted, 300005ms
********* Finished testing of SmtpTest *********


0% tests passed, 1 tests failed out of 1

Total Test time (real) = 300.15 sec

The following tests FAILED:
          1 - smtptest (Subprocess aborted)
Errors while running CTest

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list