[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#987165: offlineimap3: flaky autopkgtest: OfflineImapError("Failed to start "



Source: offlineimap3
Version: 0.0~git20210225.1e7ef9e+dfsg-3
Severity: serious
Tags: sid bullseye
X-Debbugs-CC: debian-ci@lists.debian.org
User: debian-ci@lists.debian.org
Usertags: flaky

Dear maintainer(s),

Your package has an autopkgtest, great. However, I looked into the
history of your autopkgtest [1] and I noticed the it fails regularly,
while a rerun passes. I copied some of the output at the bottom
of this report.

Because the unstable-to-testing migration software now blocks on
regressions in testing, flaky tests, i.e. tests that flip between
passing and failing without changes to the list of installed packages,
are causing people unrelated to your package to spend time on these
tests.

Paul

[1] ...
https://ci.debian.net/packages/o/offlineimap3/testing/amd64/
https://ci.debian.net/packages/o/offlineimap3/testing/arm64/
https://ci.debian.net/packages/o/offlineimap3/testing/armhf/
https://ci.debian.net/packages/o/offlineimap3/testing/i386/
https://ci.debian.net/packages/o/offlineimap3/testing/ppc64el/


https://ci.debian.net/data/autopkgtest/testing/amd64/o/offlineimap3/11437720/log.gz

autopkgtest [04:27:00]: test testmail: [-----------------------
'/tmp/autopkgtest-lxc.7vdzo2pi/downtmp/build.iAb/src/debian/tests' ->
'/tmp/autopkgtest-lxc.7vdzo2pi/downtmp/autopkgtest_tmp/tests'
'/tmp/autopkgtest-lxc.7vdzo2pi/downtmp/build.iAb/src/debian/tests/control'
-> '/tmp/autopkgtest-lxc.7vdzo2pi/downtmp/autopkgtest_tmp/tests/control'
'/tmp/autopkgtest-lxc.7vdzo2pi/downtmp/build.iAb/src/debian/tests/offlinerc'
-> '/tmp/autopkgtest-lxc.7vdzo2pi/downtmp/autopkgtest_tmp/tests/offlinerc'
'/tmp/autopkgtest-lxc.7vdzo2pi/downtmp/build.iAb/src/debian/tests/testmail'
-> '/tmp/autopkgtest-lxc.7vdzo2pi/downtmp/autopkgtest_tmp/tests/testmail'
'/tmp/autopkgtest-lxc.7vdzo2pi/downtmp/build.iAb/src/debian/tests/user.py'
-> '/tmp/autopkgtest-lxc.7vdzo2pi/downtmp/autopkgtest_tmp/tests/user.py'
OfflineIMAP 7.3.0
  Licensed under the GNU GPL v2 or any later version (with an OpenSSL
exception)
imaplib2 v3.05, Python v3.9.2, OpenSSL 1.1.1k  25 Mar 2021
  imaplib2: 3.05
Remote repository 'Remote': type 'IMAP'
Host: localhost Port: None SSL: False
Establishing connection to localhost:143 (Remote)
Server supports ID extension.
Server welcome string: b'* OK [CAPABILITY IMAP4rev1 SASL-IR
LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ STARTTLS AUTH=PLAIN] Dovecot
(Debian) ready.'
Server capabilities: ('IMAP4REV1', 'SASL-IR', 'LOGIN-REFERRALS', 'ID',
'ENABLE', 'IDLE', 'SORT', 'SORT=DISPLAY', 'THREAD=REFERENCES',
'THREAD=REFS', 'THREAD=ORDEREDSUBJECT', 'MULTIAPPEND', 'URL-PARTIAL',
'CATENATE', 'UNSELECT', 'CHILDREN', 'NAMESPACE', 'UIDPLUS',
'LIST-EXTENDED', 'I18NLEVEL=1', 'CONDSTORE', 'QRESYNC', 'ESEARCH',
'ESORT', 'SEARCHRES', 'WITHIN', 'CONTEXT=SEARCH', 'LIST-STATUS',
'BINARY', 'MOVE', 'SNIPPET=FUZZY', 'PREVIEW=FUZZY', 'STATUS=SIZE',
'SAVEDATE', 'LITERAL+', 'NOTIFY', 'SPECIAL-USE')

Folderlist:
 INBOX

Local repository 'Local': type 'Maildir'
Folderlist:


OfflineIMAP 7.3.0
  Licensed under the GNU GPL v2 or any later version (with an OpenSSL
exception)
imaplib2 v3.05, Python v3.9.2, OpenSSL 1.1.1k  25 Mar 2021
Account sync Test:
 *** Processing account Test
 Establishing connection to localhost:143 (Remote)
 ERROR: Failed to start TLS connection: command: CAPABILITY =>
connection terminated
 *** Finished account 'Test' in 3:00
ERROR: Exceptions occurred during the run!
ERROR: Failed to start TLS connection: command: CAPABILITY => connection
terminated

Traceback:
  File "/usr/share/offlineimap3/offlineimap/accounts.py", line 298, in
syncrunner
    self.__sync()
  File "/usr/share/offlineimap3/offlineimap/accounts.py", line 374, in
__sync
    remoterepos.getfolders()
  File "/usr/share/offlineimap3/offlineimap/repository/IMAP.py", line
667, in getfolders
    imapobj = self.imapserver.acquireconnection()
  File "/usr/share/offlineimap3/offlineimap/imapserver.py", line 588, in
acquireconnection
    self.__authn_helper(imapobj)
  File "/usr/share/offlineimap3/offlineimap/imapserver.py", line 434, in
__authn_helper
    self.__start_tls(imapobj)
  File "/usr/share/offlineimap3/offlineimap/imapserver.py", line 330, in
__start_tls
    raise OfflineImapError("Failed to start "

autopkgtest [04:30:08]: test testmail: -----------------------]

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: