Bug 39147 - 40_mail.40_dovecot_quota.test failed
40_mail.40_dovecot_quota.test failed
Status: NEW
Product: UCS Test
Classification: Unclassified
Component: Mail
unspecified
Other Linux
: P5 normal (vote)
: ---
Assigned To: Mail maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-08-11 13:40 CEST by Stefan Gohmann
Modified: 2016-10-05 20:20 CEST (History)
0 users

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2015-08-11 13:40:53 CEST
The test case 40_mail.40_dovecot_quota.test failed in Jenkins:

http://jenkins.knut.univention.de:8080/job/UCS-4.0/job/UCS-4.0-3/job/Autotest%20MultiEnv/SambaVersion=s3,Systemrolle=master/9/testReport/junit/


*** BEGIN *** ['/usr/bin/python', '40_dovecot_quota'] ***
*** 40_mail/40_dovecot_quota *** Test Dovecots mailquota support ***
*** START TIME: 2015-08-11 00:04:41 ***
40_dovecot_quota:110: SyntaxWarning: name 'timeout' is assigned to before global declaration
  global timeout
Create mail/dovecot/auth/cache_size
File: /etc/dovecot/conf.d/10-auth.conf
File: /usr/sbin/univention-sa-learn
Multifile: /etc/postfix/ldap.sharedfolderlocal
Restarting IMAP/POP3 mail server: dovecot.
Creating users/user object with {'username': 'fj3qtmd8ze', 'set': {'mailHomeServer': 'master090.autotest090.local', 'UniventionDovecotUserQuota': '5', 'mailPrimaryAddress': 'fj3qtmd8ze@autotest090.local'}, 'firstname': 'qs3x6ai8lw', 'lastname': 'ok5e8ssz9l', 'position': 'cn=users,dc=autotest090,dc=local', 'password': 'univention'}
Waiting for replication:
CRITICAL: no change of listener transaction id for last 0 checks (nid=7942 lid=7933)
OK: replication complete (nid=7942 lid=7942)
Done: replication complete.
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.

a001 login fj3qtmd8ze@autotest090.local univention
a001 OK [CAPABILITY IMAP4rev1 LITERAL+ 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 SPECIAL-USE BINARY MOVE NOTIFY QUOTA ACL RIGHTS=texk] Logged in

a002 logout
* BYE Logging out
a002 OK Logout completed.

a001 login fj3qtmd8ze@autotest090.local univention
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
a001 OK [CAPABILITY IMAP4rev1 LITERAL+ 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 SPECIAL-USE BINARY MOVE NOTIFY QUOTA ACL RIGHTS=texk] Logged in

a002 GETQUOTAROOT INBOX
* QUOTAROOT INBOX "User quota"
* QUOTA "User quota" (STORAGE 0 5120)
a002 OK Getquotaroot completed.

a003 logout
* BYE Logging out
a003 OK Logout completed.

Modifying users/user object with {'dn': 'uid=fj3qtmd8ze,cn=users,dc=autotest090,dc=local', 'UniventionDovecotUserQuota': '10'}
Waiting for replication:
OK: replication complete (nid=7943 lid=7943)
Done: replication complete.
a001 login fj3qtmd8ze@autotest090.local univention
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
a001 OK [CAPABILITY IMAP4rev1 LITERAL+ 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 SPECIAL-USE BINARY MOVE NOTIFY QUOTA ACL RIGHTS=texk] Logged in

a002 GETQUOTAROOT INBOX
* QUOTAROOT INBOX "User quota"
* QUOTA "User quota" (STORAGE 0 10240)
a002 OK Getquotaroot completed.

a003 logout
* BYE Logging out
a003 OK Logout completed.

Modifying users/user object with {'dn': 'uid=fj3qtmd8ze,cn=users,dc=autotest090,dc=local', 'UniventionDovecotUserQuota': '0'}
Waiting for replication:
OK: replication complete (nid=7944 lid=7944)
Done: replication complete.
a001 login fj3qtmd8ze@autotest090.local univention
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.

a002 GETQUOTAROOT INBOX
a001 NO [AUTHENTICATIONFAILED] Authentication failed.
a002 BAD Error in IMAP command received by server.

a003 logout
* BYE Logging out
a003 OK Logout completed.

### FAIL ###
Fail get imap quota
###      ###
Unsetting mail/dovecot/auth/cache_size
File: /etc/dovecot/conf.d/10-auth.conf
File: /usr/sbin/univention-sa-learn
Multifile: /etc/postfix/ldap.sharedfolderlocal
Restarting IMAP/POP3 mail server: dovecot.
Cleanup after exception: <type 'exceptions.SystemExit'> 1
Performing UCSTestUDM cleanup...
UCSTestUDM cleanup done
*** END TIME: 2015-08-11 00:04:55 ***
*** TEST DURATION (H:MM:SS.ms): 0:00:13.160895 ***
*** END *** 1 ***
Comment 1 Stefan Gohmann univentionstaff 2015-08-11 13:44:07 CEST
I've disabled the test case.