Bug 14819 - samba.tests.dsdb_schema_attributes flappy due to timestamp as name
Summary: samba.tests.dsdb_schema_attributes flappy due to timestamp as name
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Test infrastructure (show other bugs)
Version: 4.15.0rc2
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on: 14821
Blocks:
  Show dependency treegraph
 
Reported: 2021-09-05 20:50 UTC by Andrew Bartlett
Modified: 2021-10-06 03:52 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Bartlett 2021-09-05 20:50:28 UTC
The samba.tests.dsdb_schema_attributes test uses a timestamp to make unique names for schema attributes, but does not use a distinct prefix per unit test.

If the test runs fast, two tests can then run in the same second, causing a failure.
Comment 1 Samba QA Contact 2021-09-06 02:33:50 UTC
This bug was referenced in samba master:

6590bb0b77c641f0d4686b39c713c1405ffb64f5
Comment 2 Samba QA Contact 2021-09-08 13:32:14 UTC
This bug was referenced in samba v4-15-test:

45b5c9074e7b9fc429d741a2920ab24a28bb2cc1
Comment 3 Samba QA Contact 2021-09-09 06:38:51 UTC
This bug was referenced in samba v4-15-stable (Release samba-4.15.0rc6):

45b5c9074e7b9fc429d741a2920ab24a28bb2cc1
Comment 4 Samba QA Contact 2021-09-10 15:25:37 UTC
This bug was referenced in samba v4-13-test:

4ada6c24a5c3c9f0924f90fc11747cd09999969f
Comment 5 Samba QA Contact 2021-09-13 09:25:33 UTC
This bug was referenced in samba v4-14-test:

78f183faa6db04e485a217bfc59f7ef3458dda7e
Comment 6 Samba QA Contact 2021-09-22 07:25:50 UTC
This bug was referenced in samba v4-13-stable (Release samba-4.13.12):

4ada6c24a5c3c9f0924f90fc11747cd09999969f
Comment 7 Samba QA Contact 2021-10-05 13:19:54 UTC
This bug was referenced in samba v4-14-stable (Release samba-4.14.8):

78f183faa6db04e485a217bfc59f7ef3458dda7e