Univention Bugzilla – Bug 43970
Test case 49_nfs.11mount-home fails in UCS 4.2
Last modified: 2023-03-25 06:43:42 CET
The test case 49_nfs.11mount-home fails on a DC Slave in AD Member mode http://jenkins.knut.univention.de:8080/job/UCS-4.2/job/UCS-4.2-0/job/ADMemberMultiEnv/9/Mode=module,Version=w2k12-german-slave/testReport/49_nfs/11mount-home/test/ [2017-03-17 13:32:23.169022] Creating shares/share object with /usr/sbin/udm-test shares/share create --option nfs --set name=ch2d84q60q --append nfs_hosts=slave223 --set host=admember223.autotest223.local --set root_squash=0 --set path=/mnt/ch2d84q60q [2017-03-17 13:32:23.518662] Creating users/user object with /usr/sbin/udm-test users/user create --position cn=users,dc=autotest223,dc=local --option posix --set username=jxulzepqme --set firstname=z80k0wm4yh --set lastname=tv5off507o --set homeSharePath=jxulzepqme --set 'primaryGroup=cn=Domain Admins,cn=groups,dc=autotest223,dc=local' --set homeShare=cn=ch2d84q60q,dc=autotest223,dc=local --set unixhome=/home/jxulzepqme --set password=univention [2017-03-17 13:32:24.025616] Waiting 30s for UDL.postrun() on master to export share... [2017-03-17 13:32:54.019349] Waiting for replication... [2017-03-17 13:32:54.106751] Done: replication complete. [2017-03-17 13:32:54.106783] 1st login... [2017-03-17 13:33:54.193662] ### FAIL ### [2017-03-17 13:33:54.193699] Failed to mount '/home/jxulzepqme' [2017-03-17 13:33:54.193711] ### ### [2017-03-17 13:33:54.193724] Cleanup after exception: <type 'exceptions.SystemExit'> 1 [2017-03-17 13:33:54.193734] Performing UCSTestUDM cleanup... [2017-03-17 13:33:54.736298] UCSTestUDM cleanup done
Created attachment 8580 [details] w2k12-german-slave.zip Log archive
The test case fails also in normal setups not only in AD member mode: r77923: * 49_nfs/11mount-home: Skip test case (Bug #43970)
Probably fixed by 33908fe74a7 (2017-07-31): Bug #45101 NFS: Start NFS server for first NFS share I've re-enabled the test; let's see the results of autotest. [4.3-1] cee99c490b Bug #43970 test: Re-enable NFS test test/ucs-test/debian/changelog | 6 ++++++ test/ucs-test/tests/49_nfs/11mount-home | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) Package: ucs-test Version: 8.0.28-142A~4.3.0.201806221551 Branch: ucs_4.3-0 Scope: errata4.3-1
Test succeeded in all scenarios the past weekend.
Fails in AD-Member mode → disabled only there Otherwise runs find AutotestJoin and AutotestErrata. [4.3-1] debdbaec7d Bug #43970 test: Re-enable NFS test test/ucs-test/debian/changelog | 6 ++++++ test/ucs-test/tests/49_nfs/11mount-home | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) Package: ucs-test Version: 8.0.28-144A~4.3.0.201806270954 Branch: ucs_4.3-0 Scope: errata4.3-1
i guess this patch - primaryGroup='cn=Domain Admins,cn=groups,%(ldap/base)s' % ucr, + primaryGroup='cn=%s,cn=groups,%s' % (ucr.get('groups/default/domainadmins', 'Domain Admins'), ucr['l fixed this in ad member mode (no Domain Admins in admember with german ad). Maybe we should try it again (by removing ## tags: [skip_admember])?
(In reply to Felix Botner from comment #6) > i guess this patch > > - primaryGroup='cn=Domain > Admins,cn=groups,%(ldap/base)s' % ucr, > + primaryGroup='cn=%s,cn=groups,%s' % > (ucr.get('groups/default/domainadmins', 'Domain Admins'), ucr['l > > fixed this in ad member mode (no Domain Admins in admember with german ad). > > Maybe we should try it again (by removing ## tags: [skip_admember])? If I remember correctly there still was an issue in AD-member-mode even after that fix: The created test user still was not usable. I prefer to skip ADmember for now to have at least one working NFS for all other scenarios.
OK - nfs test OK in member mode