Bug 1615604

Summary: tests: Spurious failure in test tests/bugs/bug-1110262.t
Product: [Community] GlusterFS Reporter: Shyamsundar <srangana>
Component: testsAssignee: bugs <bugs>
Status: CLOSED INSUFFICIENT_DATA QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-04-17 13:51:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Shyamsundar 2018-08-13 20:16:27 UTC
Description of problem:
The test in #summary fails as follows,
Run: https://build.gluster.org/job/line-coverage/427/consoleFull

Log snippet: (retried and passed so no further logs)
18:50:33 useradd: user 'dev' already exists
18:50:33 not ok 13 , LINENUM:42
18:50:33 FAILED COMMAND: useradd dev
18:50:33 groupadd: group 'QA' already exists
18:50:33 not ok 14 , LINENUM:43
18:50:33 FAILED COMMAND: groupadd QA

Basically, the user/group existed and hence the test failed. Now, I tried getting to the build history of the machine that failed this test, but Jenkins has not been cooperative, this was in an effort to understand which previous run failed.

Also one other test case uses the same user and group names, tests/bugs/bug-1584517.t, but that runs after this test.

So I do not know how that user and group name leaked, due to which this test case failed.

Comment 1 Yaniv Kaul 2019-04-17 12:11:48 UTC
Still relevant?

Comment 2 Shyamsundar 2019-04-17 13:51:52 UTC
Checked fstat for the last 2 months, the 2 tests mentioned here do not fail. Closing this issue.