From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Vong Subject: bug#21410: Environment containers Date: Wed, 28 Oct 2015 23:14:54 +0800 Message-ID: References: <87y4epsnjs.fsf@T420.taylan> <87r3kgwpb8.fsf@gnu.org> <87mvv3832q.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=001a113ed75823d1c705232ba890 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41523) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrSRO-0005wK-5r for bug-guix@gnu.org; Wed, 28 Oct 2015 11:15:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZrSRK-0007h3-Vp for bug-guix@gnu.org; Wed, 28 Oct 2015 11:15:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:51954) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrSRK-0007gi-Ry for bug-guix@gnu.org; Wed, 28 Oct 2015 11:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZrSRK-0004l6-3i for bug-guix@gnu.org; Wed, 28 Oct 2015 11:15:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87mvv3832q.fsf@gnu.org> 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-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: guix-devel , 21410@debbugs.gnu.org --001a113ed75823d1c705232ba890 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 28/10/2015, Ludovic Court=C3=A8s wrote: > Alex Vong skribis: > >> On 27/10/2015, Ludovic Court=C3=A8s wrote: > > [...] > >>> Do you still experience the test failures mentioned in that report? If >>> not, could you email 21410@debbugs.gnu.org, specifying which commit >>> works for you? >>> >> Yes, there are 4 tests still failing with the latest master branch >> without unprivileged container. > > Which tests? Does tests/container.scm pass? > It doesn't pass if I run as unprivileged user. It passes if I run as root. I will be mailing the test logs on another mail. >> But there is a new problem, tests/guix-environment-container.sh fails >> even when running the tests as root. The test log is in the >> attachment. > > [...] > >> (for-each (lambda (mount) >> (display mount) >> (newline)) >> mappings)' >> accepted connection from pid 9627, user root (trusted) >> ++ wc -l >> + test 4 -eq 3 > > Could you apply the patch below, run: > > make check TESTS=3Dtests/guix-environment-container.sh > > and send =E2=80=98guix-environment-container.log=E2=80=99? > Sure! It is in the attachment. (Note that I run the test as root to bypass the unprivileged container issue.) > Also, what does: > > make check TESTS=3Dtests/container.scm > > report? > I will send the test log in another mail. > TIA! > > Ludo=E2=80=99. > > Cheers, Alex --001a113ed75823d1c705232ba890 Content-Type: text/x-log; charset=US-ASCII; name="guix-environment-container.log" Content-Disposition: attachment; filename="guix-environment-container.log" Content-Transfer-Encoding: base64 X-Attachment-Id: file0 KyBzZXQgLWUKKyBndWl4IGVudmlyb25tZW50IC0tdmVyc2lvbgp3YXJuaW5nOiBkYWVtb24gaXMg cnVubmluZyBhcyByb290LCBzbyB1c2luZyBgLS1idWlsZC11c2Vycy1ncm91cCcgaXMgaGlnaGx5 IHJlY29tbWVuZGVkCmd1aXggZW52aXJvbm1lbnQgKEdOVSBHdWl4KSAwLjkuMApDb3B5cmlnaHQg KEMpIDIwMTUgdGhlIEd1aXggYXV0aG9ycwpMaWNlbnNlIEdQTHYzKzogR05VIEdQTCB2ZXJzaW9u IDMgb3IgbGF0ZXIgPGh0dHA6Ly9nbnUub3JnL2xpY2Vuc2VzL2dwbC5odG1sPgpUaGlzIGlzIGZy ZWUgc29mdHdhcmU6IHlvdSBhcmUgZnJlZSB0byBjaGFuZ2UgYW5kIHJlZGlzdHJpYnV0ZSBpdC4K VGhlcmUgaXMgTk8gV0FSUkFOVFksIHRvIHRoZSBleHRlbnQgcGVybWl0dGVkIGJ5IGxhdy4KKyB0 bXBkaXI9dC1ndWl4LWVudmlyb25tZW50LTEyMTgyCisgdHJhcCAncm0gLXIgIiR0bXBkaXIiJyBF WElUCisgbWtkaXIgdC1ndWl4LWVudmlyb25tZW50LTEyMTgyCisgZ3VpeCBlbnZpcm9ubWVudCAt LWNvbnRhaW5lciAtLWFkLWhvYyAtLWJvb3RzdHJhcCBndWlsZS1ib290c3RyYXAgLS0gZ3VpbGUg LWMgJyhleGl0IDQyKScKYWNjZXB0ZWQgY29ubmVjdGlvbiBmcm9tIHBpZCAxMjE5MCwgdXNlciBy b290ICh0cnVzdGVkKQorIHRlc3QgNDIgPSA0MgorIG1vdW50X3Rlc3RfY29kZT0nCih1c2UtbW9k dWxlcyAoaWNlLTkgcmRlbGltKQogICAgICAgICAgICAgKGljZS05IG1hdGNoKQogICAgICAgICAg ICAgKHNyZmkgc3JmaS0xKSkKCihkZWZpbmUgbWFwcGluZ3MKICAoZmlsdGVyLW1hcCAobGFtYmRh IChsaW5lKQogICAgICAgICAgICAgICAgKG1hdGNoIChzdHJpbmctc3BsaXQgbGluZSAjXHNwYWNl KQogICAgICAgICAgICAgICAgICA7OyBFbXB0eSBsaW5lLgogICAgICAgICAgICAgICAgICAoKCIi KSAjZikKICAgICAgICAgICAgICAgICAgOzsgSWdub3JlIHRoZXNlIHR5cGVzIG9mIGZpbGUgc3lz dGVtcy4KICAgICAgICAgICAgICAgICAgKChfIF8gKG9yICJ0bXBmcyIgInByb2MiICJzeXNmcyIg ImRldnRtcGZzIgogICAgICAgICAgICAgICAgICAgICAgICAgICAgImRldnB0cyIgImNncm91cCIg Im1xdWV1ZSIpIF8gXyBfKQogICAgICAgICAgICAgICAgICAgI2YpCiAgICAgICAgICAgICAgICAg ICgoXyBtb3VudCBfIF8gXyBfKQogICAgICAgICAgICAgICAgICAgbW91bnQpKSkKICAgICAgICAg ICAgICAoc3RyaW5nLXNwbGl0IChjYWxsLXdpdGgtaW5wdXQtZmlsZSAiL3Byb2MvbW91bnRzIiBy ZWFkLXN0cmluZykKICAgICAgICAgICAgICAgICAgICAgICAgICAgICNcbmV3bGluZSkpKQoKKGZv ci1lYWNoIChsYW1iZGEgKG1vdW50KQogICAgICAgICAgICAoZGlzcGxheSBtb3VudCkKICAgICAg ICAgICAgKG5ld2xpbmUpKQogICAgICAgICAgbWFwcGluZ3MpJworIGd1aXggZW52aXJvbm1lbnQg LS1jb250YWluZXIgLS1hZC1ob2MgLS1ib290c3RyYXAgZ3VpbGUtYm9vdHN0cmFwIC0tIGd1aWxl IC1jICcKKHVzZS1tb2R1bGVzIChpY2UtOSByZGVsaW0pCiAgICAgICAgICAgICAoaWNlLTkgbWF0 Y2gpCiAgICAgICAgICAgICAoc3JmaSBzcmZpLTEpKQoKKGRlZmluZSBtYXBwaW5ncwogIChmaWx0 ZXItbWFwIChsYW1iZGEgKGxpbmUpCiAgICAgICAgICAgICAgICAobWF0Y2ggKHN0cmluZy1zcGxp dCBsaW5lICNcc3BhY2UpCiAgICAgICAgICAgICAgICAgIDs7IEVtcHR5IGxpbmUuCiAgICAgICAg ICAgICAgICAgICgoIiIpICNmKQogICAgICAgICAgICAgICAgICA7OyBJZ25vcmUgdGhlc2UgdHlw ZXMgb2YgZmlsZSBzeXN0ZW1zLgogICAgICAgICAgICAgICAgICAoKF8gXyAob3IgInRtcGZzIiAi cHJvYyIgInN5c2ZzIiAiZGV2dG1wZnMiCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAiZGV2 cHRzIiAiY2dyb3VwIiAibXF1ZXVlIikgXyBfIF8pCiAgICAgICAgICAgICAgICAgICAjZikKICAg ICAgICAgICAgICAgICAgKChfIG1vdW50IF8gXyBfIF8pCiAgICAgICAgICAgICAgICAgICBtb3Vu dCkpKQogICAgICAgICAgICAgIChzdHJpbmctc3BsaXQgKGNhbGwtd2l0aC1pbnB1dC1maWxlICIv cHJvYy9tb3VudHMiIHJlYWQtc3RyaW5nKQogICAgICAgICAgICAgICAgICAgICAgICAgICAgI1xu ZXdsaW5lKSkpCgooZm9yLWVhY2ggKGxhbWJkYSAobW91bnQpCiAgICAgICAgICAgIChkaXNwbGF5 IG1vdW50KQogICAgICAgICAgICAobmV3bGluZSkpCiAgICAgICAgICBtYXBwaW5ncyknCmFjY2Vw dGVkIGNvbm5lY3Rpb24gZnJvbSBwaWQgMTIxOTYsIHVzZXIgcm9vdCAodHJ1c3RlZCkKKyBjYXQg dC1ndWl4LWVudmlyb25tZW50LTEyMTgyL21vdW50cwovCi9ob21lL2FsZXh2b25nMTk5NS9ndWl4 Ci9ob21lL2FsZXh2b25nMTk5NS9ndWl4L3Rlc3QtdG1wL3N0b3JlL2JkZzMxY2IyOGtpMWIweGk0 cnFyYzcyMWhhZG4zbGZ3LWJhc2gKL2hvbWUvYWxleHZvbmcxOTk1L2d1aXgvdGVzdC10bXAvc3Rv cmUvOTJ2anBoa3g1NDVuZHc4MnZuNGZwOW0zeHhrdjNtemQtZ3VpbGUtYm9vdHN0cmFwLTIuMAor KyB3YyAtbAorIHRlc3QgNCAtZXEgMworIHJtIC1yIHQtZ3VpeC1lbnZpcm9ubWVudC0xMjE4Mgo= --001a113ed75823d1c705232ba890--