From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 30E59385C426; Thu, 16 Apr 2020 14:20:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 30E59385C426 From: "msc at linux dot ibm.com" To: glibc-bugs@sourceware.org Subject: [Bug build/25836] New: Test container not properly created when running single test Date: Thu, 16 Apr 2020 14:20:15 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: build X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: msc at linux dot ibm.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: glibc-bugs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-bugs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Apr 2020 14:20:15 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D25836 Bug ID: 25836 Summary: Test container not properly created when running single test Product: glibc Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: build Assignee: unassigned at sourceware dot org Reporter: msc at linux dot ibm.com CC: carlos at redhat dot com Target Milestone: --- I recently noticed that trying to run a single containerized test using `ma= ke test t=3D<...>` fails if run before `make check`. For example, right after building glibc: $ make test t=3Dstdlib/tst-system [...] FAIL: stdlib/tst-system original exit status 1 error: test-container.c:766: Cannot create testroot lock. I've tried this with many tests that use containers and the results are alw= ays the same. Apparently this happens because testroot.* directories are not properly cre= ated in such cases: ~/build/glibc$ ls testroot.pristine ls: cannot access 'testroot.pristine': No such file or directory ~/build/glibc$ ls testroot.root ls: cannot access 'testroot.root': No such file or directory The rule to create testroot.pristine is in the top-level Makefile: $(tests-container) $(addsuffix /tests,$(subdirs)) : \ $(objpfx)testroot.pristine/install.stamp However `tests-container` is only defined by each subdir Makefile, so this = rule is never triggered for individual tests, as `tests-container` is always emp= ty in this context. Tested with commit c580e6466d6da8262820cdbad19f32c5546226cf. --=20 You are receiving this mail because: You are on the CC list for the bug.=