From mboxrd@z Thu Jan 1 00:00:00 1970 From: mikadoZero Subject: bug#35047: "Running the Test Suite" root user Date: Sat, 30 Mar 2019 08:47:56 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:36467) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hADRB-00049E-Fq for bug-guix@gnu.org; Sat, 30 Mar 2019 08:50:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hADR7-0002xi-ET for bug-guix@gnu.org; Sat, 30 Mar 2019 08:50:17 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51003) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hADQw-0002vB-VS for bug-guix@gnu.org; Sat, 30 Mar 2019 08:50:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hADQw-0000IJ-Oz for bug-guix@gnu.org; Sat, 30 Mar 2019 08:50:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:36351) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hADQ5-00041s-P5 for bug-guix@gnu.org; Sat, 30 Mar 2019 08:49:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hADPx-0002b7-TR for bug-guix@gnu.org; Sat, 30 Mar 2019 08:49:03 -0400 Received: from forward102o.mail.yandex.net ([2a02:6b8:0:1a2d::602]:33313) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hADPp-0002RT-RB for bug-guix@gnu.org; Sat, 30 Mar 2019 08:48:55 -0400 Received: from mxback6g.mail.yandex.net (mxback6g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:167]) by forward102o.mail.yandex.net (Yandex) with ESMTP id D3F0E6680721 for ; Sat, 30 Mar 2019 15:48:36 +0300 (MSK) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 35047@debbugs.gnu.org Looking at "2.3 Running the Test Suite" of the manual it does not mention that tests should be run as a non root user. The test `tests/pack` fails when `make check` is run as a root user. It does not fail when run as a non root user. I found this example by running `make check TESTS="tests/pack.scm"`. Is this an issue for many tests? I can prepare a patch for the relevant part (parts if this also applies to `make check-system` as well) in "2.3 Running the Test Suite" of the manual. Should `make check-system` also be run as a non root user to avoid failing tests? Is there a section in the manual that explains why tests should not be run as a root user which I can just refer to in the patch? If not could anyone provide an explanation which I could include in the patch?