Bug 45375 - Test case 53_samba-common/10samba-share-options is flaky
Test case 53_samba-common/10samba-share-options is flaky
Status: NEW
Product: UCS Test
Classification: Unclassified
Component: Samba
unspecified
Other Linux
: P5 normal (vote)
: ---
Assigned To: Samba maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-09-09 20:07 CEST by Stefan Gohmann
Modified: 2017-09-12 13:16 CEST (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 Stefan Gohmann univentionstaff 2017-09-09 20:07:32 CEST
The test case 53_samba-common/10samba-share-options fails if the share name contains a space.

http://jenkins.knut.univention.de:8080/job/UCS-4.2/job/UCS-4.2-2/job/AutotestJoin/SambaVersion=s3,Systemrolle=backup/9/testReport/53_samba-common/10samba-share-options/test/

*** BEGIN *** ['/bin/bash', '10samba-share-options'] ***
*** 53_samba-common/10samba-share-options *** Checking all udm samba options in samba conf file ***
*** START TIME: 2017-09-09 13:42:00 ***
----create share
Object created: cn=F D5KVoT,cn=shares,dc=autotest092,dc=local
debug 2017-09-09 13:42:02	 Waiting for replication...
CRITICAL: no change of listener transaction id for last 0 checks (nid=9851 lid=9850)
OK: replication complete (nid=9851 lid=9851)
info 2017-09-09 13:42:03	 replication complete.
debug 2017-09-09 13:42:03	 Waiting for postrun...
----get the samba options and set them to a value
Object modified: cn=F D5KVoT,cn=shares,dc=autotest092,dc=local
No modification: cn=F D5KVoT,cn=shares,dc=autotest092,dc=local
No modification: cn=F D5KVoT,cn=shares,dc=autotest092,dc=local
No modification: cn=F D5KVoT,cn=shares,dc=autotest092,dc=local
Object modified: cn=F D5KVoT,cn=shares,dc=autotest092,dc=local
Object modified: cn=F D5KVoT,cn=shares,dc=autotest092,dc=local
Object modified: cn=F D5KVoT,cn=shares,dc=autotest092,dc=local
Object modified: cn=F D5KVoT,cn=shares,dc=autotest092,dc=local
No modification: cn=F D5KVoT,cn=shares,dc=autotest092,dc=local
No modification: cn=F D5KVoT,cn=shares,dc=autotest092,dc=local
Object modified: cn=F D5KVoT,cn=shares,dc=autotest092,dc=local
Object modified: cn=F D5KVoT,cn=shares,dc=autotest092,dc=local
Object modified: cn=F D5KVoT,cn=shares,dc=autotest092,dc=local
Object modified: cn=F D5KVoT,cn=shares,dc=autotest092,dc=local
Object modified: cn=F D5KVoT,cn=shares,dc=autotest092,dc=local
Object modified: cn=F D5KVoT,cn=shares,dc=autotest092,dc=local
Object modified: cn=F D5KVoT,cn=shares,dc=autotest092,dc=local
Object modified: cn=F D5KVoT,cn=shares,dc=autotest092,dc=local
Object modified: cn=F D5KVoT,cn=shares,dc=autotest092,dc=local
No modification: cn=F D5KVoT,cn=shares,dc=autotest092,dc=local
No modification: cn=F D5KVoT,cn=shares,dc=autotest092,dc=local
Object modified: cn=F D5KVoT,cn=shares,dc=autotest092,dc=local
Object modified: cn=F D5KVoT,cn=shares,dc=autotest092,dc=local
Object modified: cn=F D5KVoT,cn=shares,dc=autotest092,dc=local
Object modified: cn=F D5KVoT,cn=shares,dc=autotest092,dc=local
No modification: cn=F D5KVoT,cn=shares,dc=autotest092,dc=local
No modification: cn=F D5KVoT,cn=shares,dc=autotest092,dc=local
No modification: cn=F D5KVoT,cn=shares,dc=autotest092,dc=local
No modification: cn=F D5KVoT,cn=shares,dc=autotest092,dc=local
No modification: cn=F D5KVoT,cn=shares,dc=autotest092,dc=local
No modification: cn=F D5KVoT,cn=shares,dc=autotest092,dc=local
Object modified: cn=F D5KVoT,cn=shares,dc=autotest092,dc=local
No modification: cn=F D5KVoT,cn=shares,dc=autotest092,dc=local
Object modified: cn=F D5KVoT,cn=shares,dc=autotest092,dc=local
Object modified: cn=F D5KVoT,cn=shares,dc=autotest092,dc=local
Object modified: cn=F D5KVoT,cn=shares,dc=autotest092,dc=local
Object modified: cn=F D5KVoT,cn=shares,dc=autotest092,dc=local
Object modified: cn=F D5KVoT,cn=shares,dc=autotest092,dc=local
No modification: cn=F D5KVoT,cn=shares,dc=autotest092,dc=local
debug 2017-09-09 13:42:27	 Waiting for replication...
OK: replication complete (nid=9875 lid=9875)
info 2017-09-09 13:42:27	 replication complete.
debug 2017-09-09 13:42:27	 Waiting for postrun...
----check the samba configuration file
cat: /etc/samba/shares.conf.d//F D5KVoT: Datei oder Verzeichnis nicht gefunden
cat: /etc/samba/shares.conf.d//F D5KVoT: Datei oder Verzeichnis nicht gefunden
error 2017-09-09 13:42:44	 samba config file <-> udm settings mismatch udm option:sambaCustomSettings samba options and value: .*posix.*locking.*yes udm value:"posix locking" yes sambaName
error 2017-09-09 13:42:44	 **************** Test failed above this line (1) ****************
----test wether all udm samba options have been tested
Object removed: cn=F D5KVoT,cn=shares,dc=autotest092,dc=local
*** END TIME: 2017-09-09 13:42:44 ***
*** TEST DURATION (H:MM:SS.ms): 0:00:43.742475 ***
*** END *** 1 ***
Comment 1 Stefan Gohmann univentionstaff 2017-09-09 20:19:31 CEST
We should check if it is a problem in the test case or in the share definition. Anyway, I've removed spaces from the share name in a first step: 

98b9c9d7
by Stefan Gohmann at 2017-09-09T20:14:36+02:00
53_samba-common/10samba-share-options: Remove spaces from share name (Bug #45375)
Comment 2 Florian Best univentionstaff 2017-09-12 12:40:43 CEST
Regression in Bug #38688?
Comment 3 Stefan Gohmann univentionstaff 2017-09-12 13:16:44 CEST
(In reply to Florian Best from comment #2)
> Regression in Bug #38688?

I guess not, it happens only on one system.