Bug 40199 - Test 40_mail.29_mail_related_modifications_of_user_objects.test failed in jenkins
Test 40_mail.29_mail_related_modifications_of_user_objects.test failed in jen...
Status: CLOSED FIXED
Product: UCS Test
Classification: Unclassified
Component: Mail
unspecified
Other Linux
: P5 normal (vote)
: UCS 4.3
Assigned To: Daniel Tröder
Sönke Schwardt-Krummrich
: interim-3
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-12-09 01:42 CET by Dirk Wiesenthal
Modified: 2018-03-14 14:38 CET (History)
1 user (show)

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 Dirk Wiesenthal univentionstaff 2015-12-09 01:42:51 CET
[2015-12-08 04:29:18.685173]Create mail/dovecot/mailbox/rename
[2015-12-08 04:29:18.685275]Create mail/dovecot/mailbox/delete
[2015-12-08 04:29:18.685346]Create mail/dovecot/auth/cache_size
[2015-12-08 04:29:18.809547]File: /etc/dovecot/conf.d/10-auth.conf
[2015-12-08 04:29:19.042136]File: /usr/sbin/univention-sa-learn
[2015-12-08 04:29:19.090783]Multifile: /etc/postfix/ldap.sharedfolderlocal
[2015-12-08 04:29:19.334195]Restarting IMAP/POP3 mail server: dovecot.
[2015-12-08 04:29:19.346810]== case 1 ==
[2015-12-08 04:29:19.347093]Creating users/user object with {'username': 'blqwmggkfx', 'set': {'password': 'univention', 'mailHomeServer': 'slave105.autotest105.local', 'mailPrimaryAddress': 'v8culgpopa@autotest105.local'}, 'firstname': 'bt331rnmuc', 'lastname': 'zs0ft2rh9t', 'position': 'cn=users,dc=autotest105,dc=local', 'password': 'univention'}
[2015-12-08 04:29:20.758117]<closed file '<fdopen>', mode 'rb' at 0x13bc0c0>
[2015-12-08 04:29:22.320965]Waiting for DRS replication, filter: 'cn=blqwmggkfx' 
[2015-12-08 04:29:22.321023]DRS replication took 0 seconds
[2015-12-08 04:29:22.576397]Lookup : INBOX ['Ham', 'Spam', 'INBOX']
[2015-12-08 04:29:22.576798]Lookup : Ham ['Ham', 'Spam', 'INBOX']
[2015-12-08 04:29:22.577166]Lookup : Spam ['Ham', 'Spam', 'INBOX']
[2015-12-08 04:29:22.577820]Modifying users/user object with {'dn': 'uid=blqwmggkfx,cn=users,dc=autotest105,dc=local', 'binddn': 'uid=Administrator,cn=users,dc=autotest105,dc=local', 'set': {'mailPrimaryAddress': 'xwpwlltm2q@autotest105.local'}, 'bindpwd': 'univention'}
[2015-12-08 04:29:23.166909]<closed file '<fdopen>', mode 'rb' at 0x13bc390>
[2015-12-08 04:29:24.520288]Waiting for DRS replication, filter: 'cn=blqwmggkfx' 
[2015-12-08 04:29:24.520337]DRS replication took 0 seconds
[2015-12-08 04:29:26.145833]Login Failed with exeption:error('[AUTHENTICATIONFAILED] Authentication failed.',)
[2015-12-08 04:29:26.145863]### FAIL ###
[2015-12-08 04:29:26.145873]Authentication failed, expected to pass.
[2015-12-08 04:29:26.145881]###      ###
[2015-12-08 04:29:26.150022]Unsetting mail/dovecot/auth/cache_size
[2015-12-08 04:29:26.150077]Unsetting mail/dovecot/mailbox/delete
[2015-12-08 04:29:26.150125]Unsetting mail/dovecot/mailbox/rename
[2015-12-08 04:29:26.303598]File: /etc/dovecot/conf.d/10-auth.conf
[2015-12-08 04:29:26.547755]File: /usr/sbin/univention-sa-learn
[2015-12-08 04:29:26.601084]Multifile: /etc/postfix/ldap.sharedfolderlocal
[2015-12-08 04:29:26.876045]Restarting IMAP/POP3 mail server: dovecot.
[2015-12-08 04:29:26.878695]Cleanup after exception: <type 'exceptions.SystemExit'> 1
[2015-12-08 04:29:26.878714]Performing UCSTestUDM cleanup...
[2015-12-08 04:29:27.925834]UCSTestUDM cleanup done

http://jenkins.knut.univention.de:8080/view/App%20Center/job/UCS-4.1/job/Apps/job/privacyidea/job/App%20Autotest%20MultiEnv/6/SambaVersion=s4,Systemrolle=slave/testReport/junit/40_mail/29_mail_related_modifications_of_user_objects/test/
Comment 1 Stefan Gohmann univentionstaff 2015-12-16 06:37:20 CET
I've removed the apptest flag with r66372. Once the bug has been fixed, the apptest flag can be re-added.
Comment 2 Stefan Gohmann univentionstaff 2016-08-12 06:12:40 CEST
(In reply to Stefan Gohmann from comment #1)
> I've removed the apptest flag with r66372. Once the bug has been fixed, the
> apptest flag can be re-added.

Happened again. The test case is now skipped: r71557 + r71558

http://jenkins.knut.univention.de:8080/job/UCS-4.1/job/UCS-4.1-3/job/AutotestJoin/11/SambaVersion=s4,Systemrolle=master/testReport/40_mail/29_mail_related_modifications_of_user_objects/test/

*** BEGIN *** ['/usr/bin/python', '29_mail_related_modifications_of_user_objects'] ***
*** 40_mail/29_mail_related_modifications_of_user_objects *** check mail related modifications of user objects ***
*** START TIME: 2016-08-11 20:36:06 ***
Create mail/dovecot/mailbox/rename
Create mail/dovecot/mailbox/delete
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.
== case 1 ==
Creating users/user object with /usr/sbin/udm-test users/user create --position cn=users,dc=AutoTest091,dc=local --set mailHomeServer=master091.AutoTest091.local --set password=univention --set mailPrimaryAddress=c649jx3xbi@AutoTest091.local --set username=bhslst015e --set firstname=plkdbeaa5n --set lastname=mppobz8tbq --set password=univention
. Waiting for DRS replication, filter: 'cn=bhslst015e' 
DRS replication took 0 seconds
Lookup : INBOX ['Ham', 'Spam', 'INBOX']
Lookup : Ham ['Ham', 'Spam', 'INBOX']
Lookup : Spam ['Ham', 'Spam', 'INBOX']
Modifying users/user object with /usr/sbin/udm-test users/user modify --binddn uid=Administrator,cn=users,dc=AutoTest091,dc=local --bindpwd univention --dn uid=bhslst015e,cn=users,dc=AutoTest091,dc=local --set mailPrimaryAddress=l41d6ge3qt@AutoTest091.local
. Waiting for DRS replication, filter: 'cn=bhslst015e' 
DRS replication took 0 seconds
Lookup : INBOX ['Ham', 'Spam', 'INBOX']
Lookup : Ham ['Ham', 'Spam', 'INBOX']
Lookup : Spam ['Ham', 'Spam', 'INBOX']
Login Failed with exeption:error('[AUTHENTICATIONFAILED] Authentication failed.',)
== case 2 ==
Creating users/user object with /usr/sbin/udm-test users/user create --position cn=users,dc=AutoTest091,dc=local --set password=univention --set mailPrimaryAddress=npefzzql5n@AutoTest091.local --set username=fwba5ejtlh --set firstname=v99nzaywhc --set lastname=anhn79e2vw --set password=univention
. . . . . Waiting for DRS replication, filter: 'cn=fwba5ejtlh' 
DRS replication took 0 seconds
Lookup : INBOX ['Ham', 'Spam', 'INBOX']
Lookup : Ham ['Ham', 'Spam', 'INBOX']
Lookup : Spam ['Ham', 'Spam', 'INBOX']
Modifying users/user object with /usr/sbin/udm-test users/user modify --binddn uid=Administrator,cn=users,dc=AutoTest091,dc=local --bindpwd univention --dn uid=fwba5ejtlh,cn=users,dc=AutoTest091,dc=local --set mailHomeServer=master091.AutoTest091.local
. . Waiting for DRS replication, filter: 'cn=fwba5ejtlh' 
DRS replication took 0 seconds
Lookup : INBOX ['Ham', 'Spam', 'INBOX']
Lookup : Ham ['Ham', 'Spam', 'INBOX']
Lookup : Spam ['Ham', 'Spam', 'INBOX']
== case 3 ==
Creating users/user object with /usr/sbin/udm-test users/user create --position cn=users,dc=AutoTest091,dc=local --set password=univention --set mailPrimaryAddress=wuqjjx107d@AutoTest091.local --set username=uprcjlflsq --set firstname=dzoxqaoomn --set lastname=avsv32goey --set password=univention
. Waiting for DRS replication, filter: 'cn=uprcjlflsq' . . . 
DRS replication took 3 seconds
Lookup : INBOX ['Ham', 'Spam', 'INBOX']
Lookup : Ham ['Ham', 'Spam', 'INBOX']
Lookup : Spam ['Ham', 'Spam', 'INBOX']
Modifying users/user object with /usr/sbin/udm-test users/user modify --binddn uid=Administrator,cn=users,dc=AutoTest091,dc=local --bindpwd univention --dn uid=uprcjlflsq,cn=users,dc=AutoTest091,dc=local --set mailHomeServer=mail.example.com
Waiting for DRS replication, filter: 'cn=uprcjlflsq' 
DRS replication took 0 seconds
Login Failed with exeption:abort('command: LOGIN => socket error: EOF',)
== case 4 ==
Creating users/user object with /usr/sbin/udm-test users/user create --position cn=users,dc=AutoTest091,dc=local --set mailHomeServer=master091.AutoTest091.local --set password=univention --set username=vtg9ta1dsa --set firstname=hovljdea8h --set lastname=mgpkzn2k1p --set password=univention
Waiting for DRS replication, filter: 'cn=vtg9ta1dsa' 
DRS replication took 0 seconds
Login Failed with exeption:error('[AUTHENTICATIONFAILED] Authentication failed.',)
Modifying users/user object with /usr/sbin/udm-test users/user modify --binddn uid=Administrator,cn=users,dc=AutoTest091,dc=local --bindpwd univention --dn uid=vtg9ta1dsa,cn=users,dc=AutoTest091,dc=local --set mailPrimaryAddress=d2on4afscq@AutoTest091.local
. . . . . Waiting for DRS replication, filter: 'cn=vtg9ta1dsa' 
DRS replication took 0 seconds
Lookup : INBOX ['Ham', 'Spam', 'INBOX']
Lookup : Ham ['Ham', 'Spam', 'INBOX']
Lookup : Spam ['Ham', 'Spam', 'INBOX']
== case 5 ==
Creating computers/domaincontroller_slave object with /usr/sbin/udm-test computers/domaincontroller_slave create --position cn=computers,dc=AutoTest091,dc=local --set ip=11.95.251.195 --set 'dnsEntryZoneForward=zoneName=AutoTest091.local,cn=dns,dc=AutoTest091,dc=local 11.95.251.195' --set name=qu4xy4z82z
. . Creating users/user object with /usr/sbin/udm-test users/user create --position cn=users,dc=AutoTest091,dc=local --set mailHomeServer=master091.AutoTest091.local --set password=univention --set mailPrimaryAddress=o3fvqgri0l@AutoTest091.local --set username=yyzcbb7aow --set firstname=ix8tcwvjqi --set lastname=rueg8g8hsh --set password=univention
. Waiting for DRS replication, filter: 'cn=yyzcbb7aow' 
DRS replication took 0 seconds
Lookup : INBOX ['Ham', 'Spam', 'INBOX']
Lookup : Ham ['Ham', 'Spam', 'INBOX']
Lookup : Spam ['Ham', 'Spam', 'INBOX']
Modifying users/user object with /usr/sbin/udm-test users/user modify --binddn uid=Administrator,cn=users,dc=AutoTest091,dc=local --bindpwd univention --dn uid=yyzcbb7aow,cn=users,dc=AutoTest091,dc=local --set mailHomeServer=qu4xy4z82z.AutoTest091.local
Waiting for DRS replication, filter: 'cn=yyzcbb7aow' 
DRS replication took 0 seconds
Login Failed with exeption:abort('command: LOGIN => socket error: EOF',)
== case 6 ==
Creating computers/domaincontroller_slave object with /usr/sbin/udm-test computers/domaincontroller_slave create --position cn=computers,dc=AutoTest091,dc=local --set ip=12.210.250.92 --set 'dnsEntryZoneForward=zoneName=AutoTest091.local,cn=dns,dc=AutoTest091,dc=local 12.210.250.92' --set name=vpyvxd4jnm
. . Creating users/user object with /usr/sbin/udm-test users/user create --position cn=users,dc=AutoTest091,dc=local --set mailHomeServer=master091.AutoTest091.local --set password=univention --set mailPrimaryAddress=eaa93e1tkl@AutoTest091.local --set username=t45fma435d --set firstname=l3gt2uskke --set lastname=ikxuv73r7a --set password=univention
. Waiting for DRS replication, filter: 'cn=t45fma435d' 
DRS replication took 0 seconds
Lookup : INBOX ['Ham', 'Spam', 'INBOX']
Lookup : Ham ['Ham', 'Spam', 'INBOX']
Lookup : Spam ['Ham', 'Spam', 'INBOX']
Modifying users/user object with /usr/sbin/udm-test users/user modify --binddn uid=Administrator,cn=users,dc=AutoTest091,dc=local --bindpwd univention --dn uid=t45fma435d,cn=users,dc=AutoTest091,dc=local --set mailHomeServer=
. . Waiting for DRS replication, filter: 'cn=t45fma435d' 
DRS replication took 0 seconds
Lookup : INBOX ['Ham', 'Spam', 'INBOX']
Lookup : Ham ['Ham', 'Spam', 'INBOX']
Lookup : Spam ['Ham', 'Spam', 'INBOX']
== case 7 ==
Creating computers/domaincontroller_slave object with /usr/sbin/udm-test computers/domaincontroller_slave create --position cn=computers,dc=AutoTest091,dc=local --set ip=13.15.116.99 --set 'dnsEntryZoneForward=zoneName=AutoTest091.local,cn=dns,dc=AutoTest091,dc=local 13.15.116.99' --set name=zp8ixpbc2q
. . Creating users/user object with /usr/sbin/udm-test users/user create --position cn=users,dc=AutoTest091,dc=local --set mailHomeServer=master091.AutoTest091.local --set password=univention --set mailPrimaryAddress=xpn7xsxzii@AutoTest091.local --set username=dgjqx8r7ok --set firstname=qplox912qt --set lastname=nj8kby5fin --set password=univention
. Waiting for DRS replication, filter: 'cn=dgjqx8r7ok' . 
DRS replication took 1 seconds
Lookup : INBOX ['Ham', 'Spam', 'INBOX']
Lookup : Ham ['Ham', 'Spam', 'INBOX']
Lookup : Spam ['Ham', 'Spam', 'INBOX']
Modifying users/user object with /usr/sbin/udm-test users/user modify --binddn uid=Administrator,cn=users,dc=AutoTest091,dc=local --bindpwd univention --dn uid=dgjqx8r7ok,cn=users,dc=AutoTest091,dc=local --set mailPrimaryAddress=
Waiting for DRS replication, filter: 'cn=dgjqx8r7ok' 
DRS replication took 0 seconds
Lookup : INBOX ['Ham', 'Spam', 'INBOX']
Unsetting mail/dovecot/auth/cache_size
Unsetting mail/dovecot/mailbox/delete
Unsetting mail/dovecot/mailbox/rename
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: <class 'essential.mailclient.LookupFail'> Un-expected result for listing the mailbox INBOX
Performing UCSTestUDM cleanup...
UCSTestUDM cleanup done
Traceback (most recent call last):
  File "29_mail_related_modifications_of_user_objects", line 282, in <module>
    main()
  File "29_mail_related_modifications_of_user_objects", line 278, in main
    check_login_lookup(host, usermail, password, expected_result, dovecot)
  File "29_mail_related_modifications_of_user_objects", line 27, in check_login_lookup
    imap.check_lookup(mail, {mailbox: expected_result}, dovecot)
  File "/usr/share/ucs-test/40_mail/essential/mailclient.py", line 201, in check_lookup
    raise LookupFail('Un-expected result for listing the mailbox %s' % mailbox)
essential.mailclient.LookupFail: Un-expected result for listing the mailbox INBOX
*** END TIME: 2016-08-11 20:37:08 ***
*** TEST DURATION (H:MM:SS.ms): 0:01:02.400787 ***
*** END *** 1 ***
Comment 3 Daniel Tröder univentionstaff 2018-02-14 16:33:06 CET
Reenabled the mail test.

[4.3-0 4329555367] Bug #40199: reenable mail test
ucs-test (8.0.28-11)
Comment 5 Sönke Schwardt-Krummrich univentionstaff 2018-02-25 21:23:26 CET
Build 76 and 78 failed with the following error message. Build 74, 75 and 77 showed no problems → REOPEN

[2018-02-24 22:17:43.560576] == case 1 ==
[2018-02-24 22:17:43.561034] Creating users/user object with /usr/sbin/udm-test users/user create --position cn=users,dc=AutoTest091,dc=local --set mailHomeServer=master091.AutoTest091.local --set password=univention --set mailPrimaryAddress=ykjp4wp3fd@AutoTest091.local --set username=jrib55u1jl --set firstname=sjtmixb5we --set lastname=m4tdrpc7dj --set password=univention
[2018-02-24 22:17:47.591295] . Waiting for DRS replication, filter: 'cn=jrib55u1jl' . 
[2018-02-24 22:17:47.591374] DRS replication took 1 seconds
[2018-02-24 22:17:47.591843] check_login_lookup() host='master091.AutoTest091.local' mail='ykjp4wp3fd@AutoTest091.local' password='univention' expected_result=True
[2018-02-24 22:17:47.689175] Logging in with username='ykjp4wp3fd@AutoTest091.local' and password='univention'
[2018-02-24 22:17:47.845783] check_lookup() mailbox_owner='ykjp4wp3fd@AutoTest091.local' expected_result={'INBOX': True}
[2018-02-24 22:17:47.862598] Lookup : INBOX ['Ham', 'Spam', 'INBOX']
[2018-02-24 22:17:47.862695] check_lookup() mailbox_owner='ykjp4wp3fd@AutoTest091.local' expected_result={'Ham': True}
[2018-02-24 22:17:47.863745] Lookup : Ham ['Ham', 'Spam', 'INBOX']
[2018-02-24 22:17:47.863842] check_lookup() mailbox_owner='ykjp4wp3fd@AutoTest091.local' expected_result={'Spam': True}
[2018-02-24 22:17:47.864850] Lookup : Spam ['Ham', 'Spam', 'INBOX']
[2018-02-24 22:17:47.866372] Modifying users/user object with /usr/sbin/udm-test users/user modify --binddn uid=Administrator,cn=users,dc=AutoTest091,dc=local --bindpwd univention --dn uid=jrib55u1jl,cn=users,dc=AutoTest091,dc=local --set mailPrimaryAddress=w3ots7bnrg@AutoTest091.local
[2018-02-24 22:17:49.864286] . Waiting for DRS replication, filter: 'cn=jrib55u1jl' 
[2018-02-24 22:17:49.864358] DRS replication took 0 seconds
[2018-02-24 22:17:49.864968] check_login_lookup() host='master091.AutoTest091.local' mail='w3ots7bnrg@AutoTest091.local' password='univention' expected_result=True
[2018-02-24 22:17:49.957131] Logging in with username='w3ots7bnrg@AutoTest091.local' and password='univention'
[2018-02-24 22:17:51.480600] Login Failed with exeption:error('[AUTHENTICATIONFAILED] Authentication failed.',)
[2018-02-24 22:17:51.480749] ### FAIL ###
[2018-02-24 22:17:51.480807] Authentication failed, expected to pass.
[2018-02-24 22:17:51.480857] ###      ###
Comment 6 Daniel Tröder univentionstaff 2018-02-28 11:49:30 CET
Last 2 tests were successful, 4.2→4.3 upgrade tests too. I think the above errors were caused by changes in UDM. I'll wait a few more days/tests.
Comment 8 Sönke Schwardt-Krummrich univentionstaff 2018-03-01 18:20:12 CET
(In reply to Daniel Tröder from comment #7)
> #79, #80, #82 and #83 have been positive:

→ OK → VERIFIED
Comment 9 Stefan Gohmann univentionstaff 2018-03-14 14:38:39 CET
UCS 4.3 has been released:
 https://docs.software-univention.de/release-notes-4.3-0-en.html
 https://docs.software-univention.de/release-notes-4.3-0-de.html

If this error occurs again, please use "Clone This Bug".