From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS17314 8.43.84.0/22 X-Spam-Status: No, score=-3.2 required=3.0 tests=AWL,BAYES_00,BODY_8BITS, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, NICE_REPLY_A,PDS_RDNS_DYNAMIC_FP,RCVD_IN_DNSWL_MED,RDNS_DYNAMIC, SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 85CF61F852 for ; Fri, 14 Jan 2022 23:52:12 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 3E0CA3858C39 for ; Fri, 14 Jan 2022 23:52:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3E0CA3858C39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1642204331; bh=xfgi4ZJVi1vrGGbm++VxZDycKDk+lk3YZ8aall8Swe0=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=gaEL8QCDRMkVnPTmaP8MWmTcYCZVPNTAeQJbrV6M7onnM27oLhwLgSY404KA6UtWB CzBlVXcqGUKoNgCHZpbosRdmRFRG91LV0M6Rns2IRoK7htKhFOUfYyBE9dc+xAfQqY XvvQmFFmgbIL0wxfAHWCaEmIS2xR5lRWsoZ/+O0w= Received: from mail-io1-xd35.google.com (mail-io1-xd35.google.com [IPv6:2607:f8b0:4864:20::d35]) by sourceware.org (Postfix) with ESMTPS id 531A33858C39 for ; Fri, 14 Jan 2022 23:51:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 531A33858C39 Received: by mail-io1-xd35.google.com with SMTP id f24so8388677ioc.0 for ; Fri, 14 Jan 2022 15:51:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:from :subject:to:cc:references:content-language:in-reply-to :content-transfer-encoding; bh=xfgi4ZJVi1vrGGbm++VxZDycKDk+lk3YZ8aall8Swe0=; b=qn2DeUYzLxbcWcV4mSFXi2P63xcHKqN2iYPukeDlanF2pYhIjwCfRx8BYc0CwdalX8 Hp1H3+PrhTvfnsR7yrJJLDS+h3nxvJ5WO+ZP+GYwLHmXG5t74eBDhhQNtGbZs2vAx4c+ jKwivKOPbBU7Of4EgPSRzh52Y25BASf1vEzTrisUVK9rQdYE56s2Gs05dA6kiJyqGvFe ThtuHJbQngiTNvHIs8g+mYmsET6508Cg7YeCH0l0bKgCZbl0iwnMtw8LcOjgeDqpSXoo 40D2UVkN5giejqHYl0q2nDh9P6Jn0AAgaT2/m8qNNzo+jmRiMMNWu7zOyiqlnl0TFOHf rnNA== X-Gm-Message-State: AOAM532FXEb45r8FRuuP29cl+m1Z3FYx9fYSnlrYfDLC16RCFwQNmUou yT1e+jshaSirwy27tVimXRo= X-Google-Smtp-Source: ABdhPJzM7a0qPnS0/ZR6sMgPh4auamZBdpSooUkTKSV7d62lkyLHj/uy0U3x8Z3+SJIl+y8qKKRYBQ== X-Received: by 2002:a5e:8e07:: with SMTP id a7mr1558257ion.198.1642204310788; Fri, 14 Jan 2022 15:51:50 -0800 (PST) Received: from [192.168.0.41] (97-118-100-142.hlrn.qwest.net. [97.118.100.142]) by smtp.gmail.com with ESMTPSA id a16sm2031111ilf.79.2022.01.14.15.51.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 14 Jan 2022 15:51:50 -0800 (PST) Message-ID: <08e2cbc4-0437-d09c-3061-f9d82a30c487@gmail.com> Date: Fri, 14 Jan 2022 16:51:49 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 Subject: Re: tests failing on x86_64-linux (due to test-container?) To: "H.J. Lu" References: <1c4ea1d3-5647-9654-ccd3-06dcc7844741@gmail.com> <90e6741e-3434-3a86-0536-3dd9389d3aae@gmail.com> Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Martin Sebor via Libc-alpha Reply-To: Martin Sebor Cc: GNU C Library Errors-To: libc-alpha-bounces+e=80x24.org@sourceware.org Sender: "Libc-alpha" On 1/12/22 16:24, Martin Sebor wrote: > On 1/12/22 15:13, H.J. Lu wrote: >> On Wed, Jan 12, 2022 at 2:05 PM Martin Sebor via Libc-alpha >> wrote: >>> >>> On 5/13/21 15:29, Martin Sebor wrote: >>>> On 4/28/21 5:54 PM, DJ Delorie wrote: >>>>> Martin Sebor writes: >>>>>>> (which should be bind-mounted inside your test chroot, which >>>>>>> would be >>>>>>> /build/glibc/testroot.root/build/glibc/nss/tst-nss-test3) >>>>>> >>>>>> /build/glibc/testroot.root/build/glibc/ is empty. >>>>> >>>>> Only because you're not inside the container, where the mount exists. >>>>> Containers are weird ;-) >>>>> >>>>>> error: test-container.c:235: can't mount /ssd/src/glibc onto >>>>>> /build/glibc/testroot.root/ssd/src/glibc >>>>> >>>>> Sigh, you have "too many permissions" :-P  Again, containers are >>>>> weird. >>>>> >>>>> You may be able to run test-container manually, but test-container >>>>> itself is built against the just-built glibc >>>>> >>>>>>> Also, selinux might be interfering. >>>>>> >>>>>> That doesn't sound encouraging.  Anything I should look at/for? >>>>> >>>>> Dunno, I typically disable selinux. >>>> >>>> I haven't been able to make that work yet but I also haven't tried >>>> too hard.  I'll keep at it. >>>> >>>>> >>>>> Just for paranoia's sake... does all this work on a newer Fedora? >>>> >>>> Yes.  I just installed F33 on my laptop and it works fine there. >>>> I haven't changed my main workstation though.  It was a pain to >>>> set up. >>> >>> I finally bit the bullet and upgraded my workstation to Fedora >>> 35, partly in hopes of resolving the Glibc test suite problems. >>> I now get the failures below with the top of GCC 12 and Glibc >>> trunk, even after disabling SELinux by running setenforce 0, >>> as well as after permanently disabling it in /etc/selinux/config. >>> Is there something else I should try? >>> >>> Thanks >>> Martin >>> >>> UNSUPPORTED: assert/tst-assert-c++ >>> UNSUPPORTED: assert/tst-assert-g++ >>> UNSUPPORTED: debug/tst-chk4 >>> UNSUPPORTED: debug/tst-chk5 >>> UNSUPPORTED: debug/tst-chk6 >>> UNSUPPORTED: debug/tst-chk8 >>> UNSUPPORTED: debug/tst-lfschk4 >>> UNSUPPORTED: debug/tst-lfschk5 >>> UNSUPPORTED: debug/tst-lfschk6 >>> UNSUPPORTED: dlfcn/bug-atexit3 >>> UNSUPPORTED: elf/tst-audit10 >>> UNSUPPORTED: elf/tst-avx512 >>> FAIL: elf/tst-dlopen-self-container >>> FAIL: elf/tst-dlopen-tlsmodid-container >>> UNSUPPORTED: elf/tst-env-setuid >>> UNSUPPORTED: elf/tst-env-setuid-tunables >>> FAIL: elf/tst-glibc-hwcaps-2-cache >>> FAIL: elf/tst-glibc-hwcaps-cache >>> FAIL: elf/tst-glibc-hwcaps-prepend-cache >>> XPASS: elf/tst-ifunc-isa-1 >>> XPASS: elf/tst-ifunc-isa-1-static >>> XPASS: elf/tst-ifunc-isa-2 >>> XPASS: elf/tst-ifunc-isa-2-static >>> FAIL: elf/tst-ldconfig-bad-aux-cache >>> FAIL: elf/tst-ldconfig-ld_so_conf-update >>> FAIL: elf/tst-pldd >>> FAIL: elf/tst-preload-pthread-libc >>> XPASS: elf/tst-protected1a >>> XPASS: elf/tst-protected1b >>> FAIL: grp/tst-initgroups1 >>> FAIL: grp/tst-initgroups2 >>> FAIL: locale/tst-localedef-path-norm >>> FAIL: localedata/tst-localedef-hardlinks >>> UNSUPPORTED: math/test-double-libmvec-acos-avx512f >>> UNSUPPORTED: math/test-double-libmvec-acosh-avx512f >>> UNSUPPORTED: math/test-double-libmvec-asin-avx512f >>> UNSUPPORTED: math/test-double-libmvec-asinh-avx512f >>> UNSUPPORTED: math/test-double-libmvec-atan-avx512f >>> UNSUPPORTED: math/test-double-libmvec-atan2-avx512f >>> UNSUPPORTED: math/test-double-libmvec-atanh-avx512f >>> UNSUPPORTED: math/test-double-libmvec-cbrt-avx512f >>> UNSUPPORTED: math/test-double-libmvec-cos-avx512f >>> UNSUPPORTED: math/test-double-libmvec-cosh-avx512f >>> UNSUPPORTED: math/test-double-libmvec-erf-avx512f >>> UNSUPPORTED: math/test-double-libmvec-erfc-avx512f >>> UNSUPPORTED: math/test-double-libmvec-exp-avx512f >>> UNSUPPORTED: math/test-double-libmvec-exp10-avx512f >>> UNSUPPORTED: math/test-double-libmvec-exp2-avx512f >>> UNSUPPORTED: math/test-double-libmvec-expm1-avx512f >>> UNSUPPORTED: math/test-double-libmvec-hypot-avx512f >>> UNSUPPORTED: math/test-double-libmvec-log-avx512f >>> UNSUPPORTED: math/test-double-libmvec-log10-avx512f >>> UNSUPPORTED: math/test-double-libmvec-log1p-avx512f >>> UNSUPPORTED: math/test-double-libmvec-log2-avx512f >>> UNSUPPORTED: math/test-double-libmvec-pow-avx512f >>> UNSUPPORTED: math/test-double-libmvec-sin-avx512f >>> UNSUPPORTED: math/test-double-libmvec-sincos-avx512f >>> UNSUPPORTED: math/test-double-libmvec-sinh-avx512f >>> UNSUPPORTED: math/test-double-libmvec-tan-avx512f >>> UNSUPPORTED: math/test-double-libmvec-tanh-avx512f >>> UNSUPPORTED: math/test-float-libmvec-acosf-avx512f >>> UNSUPPORTED: math/test-float-libmvec-acoshf-avx512f >>> UNSUPPORTED: math/test-float-libmvec-asinf-avx512f >>> UNSUPPORTED: math/test-float-libmvec-asinhf-avx512f >>> UNSUPPORTED: math/test-float-libmvec-atan2f-avx512f >>> UNSUPPORTED: math/test-float-libmvec-atanf-avx512f >>> UNSUPPORTED: math/test-float-libmvec-atanhf-avx512f >>> UNSUPPORTED: math/test-float-libmvec-cbrtf-avx512f >>> UNSUPPORTED: math/test-float-libmvec-cosf-avx512f >>> UNSUPPORTED: math/test-float-libmvec-coshf-avx512f >>> UNSUPPORTED: math/test-float-libmvec-erfcf-avx512f >>> UNSUPPORTED: math/test-float-libmvec-erff-avx512f >>> UNSUPPORTED: math/test-float-libmvec-exp10f-avx512f >>> UNSUPPORTED: math/test-float-libmvec-exp2f-avx512f >>> UNSUPPORTED: math/test-float-libmvec-expf-avx512f >>> UNSUPPORTED: math/test-float-libmvec-expm1f-avx512f >>> UNSUPPORTED: math/test-float-libmvec-hypotf-avx512f >>> UNSUPPORTED: math/test-float-libmvec-log10f-avx512f >>> UNSUPPORTED: math/test-float-libmvec-log1pf-avx512f >>> UNSUPPORTED: math/test-float-libmvec-log2f-avx512f >>> UNSUPPORTED: math/test-float-libmvec-logf-avx512f >>> UNSUPPORTED: math/test-float-libmvec-powf-avx512f >>> UNSUPPORTED: math/test-float-libmvec-sincosf-avx512f >>> UNSUPPORTED: math/test-float-libmvec-sinf-avx512f >>> UNSUPPORTED: math/test-float-libmvec-sinhf-avx512f >>> UNSUPPORTED: math/test-float-libmvec-tanf-avx512f >>> UNSUPPORTED: math/test-float-libmvec-tanhf-avx512f >>> UNSUPPORTED: misc/tst-adjtimex >>> UNSUPPORTED: misc/tst-clock_adjtime >>> UNSUPPORTED: misc/tst-ntp_adjtime >>> UNSUPPORTED: misc/tst-pkey >>> UNSUPPORTED: nptl/tst-cancel24 >>> UNSUPPORTED: nptl/tst-cancel24-static >>> UNSUPPORTED: nptl/tst-minstack-throw >>> UNSUPPORTED: nptl/tst-once5 >>> FAIL: nptl/tst-pthread-getattr >>> UNSUPPORTED: nptl/tst-thread-exit-clobber >>> UNSUPPORTED: nptl/tst-thread_local1 >>> FAIL: nss/tst-nss-compat1 >>> FAIL: nss/tst-nss-db-endgrent >>> FAIL: nss/tst-nss-db-endpwent >>> FAIL: nss/tst-nss-files-hosts-long >>> FAIL: nss/tst-nss-test3 >>> FAIL: nss/tst-reload1 >>> FAIL: nss/tst-reload2 >>> FAIL: posix/bug-ga2 >>> UNSUPPORTED: posix/bug-ga2-mem >>> FAIL: posix/tst-vfork3 >>> UNSUPPORTED: posix/tst-vfork3-mem >>> UNSUPPORTED: resolv/mtrace-tst-leaks2 >>> FAIL: resolv/tst-leaks2 >>> UNSUPPORTED: stdlib/tst-quick_exit >>> UNSUPPORTED: stdlib/tst-secure-getenv >>> FAIL: stdlib/tst-system >>> UNSUPPORTED: stdlib/tst-thread-quick_exit >>> UNSUPPORTED: string/tst-memchr-rtm >>> UNSUPPORTED: string/tst-memcmp-rtm >>> UNSUPPORTED: string/tst-memmove-rtm >>> UNSUPPORTED: string/tst-memrchr-rtm >>> UNSUPPORTED: string/tst-memset-rtm >>> UNSUPPORTED: string/tst-strchr-rtm >>> UNSUPPORTED: string/tst-strcpy-rtm >>> FAIL: string/tst-strerror >>> UNSUPPORTED: string/tst-strlen-rtm >>> UNSUPPORTED: string/tst-strncmp-rtm >>> UNSUPPORTED: string/tst-strrchr-rtm >>> FAIL: string/tst-strsignal >>> UNSUPPORTED: time/tst-clock_settime >>> UNSUPPORTED: time/tst-settimeofday >>> Summary of test results: >>>        27 FAIL >>>      4904 PASS >>>        96 UNSUPPORTED >>>        16 XFAIL >>>         6 XPASS >> >> See: >> >> https://sourceware.org/bugzilla/show_bug.cgi?id=28455 >> >> My last patch is at >> >> https://patchwork.sourceware.org/project/glibc/patch/20220104140009.1578867-1-hjl.tools@gmail.com/ >> > Thanks, but I still get the same results even with the patch > applied and after rebuilding everything. The new test added > by the patch, elf/tst-global2, passes.  Am I missing something > else or is this still some container problem? The filesystem I'm using is mounted with these flags: rw,nosuid,nodev,relatime,x-gvfs-show On a hunch I tried a different filesystem, one with these flags: rw,relatime That changes things, making me wonder if one of the bits (nosuid?) might be interfering with the container magic? I still don't get a clean build on the other filesystem, but I see no failures, only unsupported results (below). The exit status of all those I checked is 77. Are these results expected? Martin UNSUPPORTED: assert/tst-assert-c++ UNSUPPORTED: assert/tst-assert-g++ UNSUPPORTED: debug/tst-fortify-cc-default-1 UNSUPPORTED: debug/tst-fortify-cc-default-2 UNSUPPORTED: debug/tst-fortify-cc-default-3 UNSUPPORTED: debug/tst-fortify-cc-lfs-1 UNSUPPORTED: debug/tst-fortify-cc-lfs-2 UNSUPPORTED: debug/tst-fortify-cc-lfs-3 UNSUPPORTED: debug/tst-fortify-cc-nongnu-1 UNSUPPORTED: debug/tst-fortify-cc-nongnu-2 UNSUPPORTED: debug/tst-fortify-cc-nongnu-3 UNSUPPORTED: dlfcn/bug-atexit3 UNSUPPORTED: elf/tst-audit10 UNSUPPORTED: elf/tst-avx512 UNSUPPORTED: elf/tst-env-setuid UNSUPPORTED: elf/tst-env-setuid-tunables XPASS: elf/tst-ifunc-isa-1 XPASS: elf/tst-ifunc-isa-1-static XPASS: elf/tst-ifunc-isa-2 XPASS: elf/tst-ifunc-isa-2-static XPASS: elf/tst-protected1a XPASS: elf/tst-protected1b UNSUPPORTED: math/test-double-libmvec-acos-avx512f UNSUPPORTED: math/test-double-libmvec-acosh-avx512f UNSUPPORTED: math/test-double-libmvec-asin-avx512f UNSUPPORTED: math/test-double-libmvec-asinh-avx512f UNSUPPORTED: math/test-double-libmvec-atan-avx512f UNSUPPORTED: math/test-double-libmvec-atan2-avx512f UNSUPPORTED: math/test-double-libmvec-atanh-avx512f UNSUPPORTED: math/test-double-libmvec-cbrt-avx512f UNSUPPORTED: math/test-double-libmvec-cos-avx512f UNSUPPORTED: math/test-double-libmvec-cosh-avx512f UNSUPPORTED: math/test-double-libmvec-erf-avx512f UNSUPPORTED: math/test-double-libmvec-erfc-avx512f UNSUPPORTED: math/test-double-libmvec-exp-avx512f UNSUPPORTED: math/test-double-libmvec-exp10-avx512f UNSUPPORTED: math/test-double-libmvec-exp2-avx512f UNSUPPORTED: math/test-double-libmvec-expm1-avx512f UNSUPPORTED: math/test-double-libmvec-hypot-avx512f UNSUPPORTED: math/test-double-libmvec-log-avx512f UNSUPPORTED: math/test-double-libmvec-log10-avx512f UNSUPPORTED: math/test-double-libmvec-log1p-avx512f UNSUPPORTED: math/test-double-libmvec-log2-avx512f UNSUPPORTED: math/test-double-libmvec-pow-avx512f UNSUPPORTED: math/test-double-libmvec-sin-avx512f UNSUPPORTED: math/test-double-libmvec-sincos-avx512f UNSUPPORTED: math/test-double-libmvec-sinh-avx512f UNSUPPORTED: math/test-double-libmvec-tan-avx512f UNSUPPORTED: math/test-double-libmvec-tanh-avx512f UNSUPPORTED: math/test-float-libmvec-acosf-avx512f UNSUPPORTED: math/test-float-libmvec-acoshf-avx512f UNSUPPORTED: math/test-float-libmvec-asinf-avx512f UNSUPPORTED: math/test-float-libmvec-asinhf-avx512f UNSUPPORTED: math/test-float-libmvec-atan2f-avx512f UNSUPPORTED: math/test-float-libmvec-atanf-avx512f UNSUPPORTED: math/test-float-libmvec-atanhf-avx512f UNSUPPORTED: math/test-float-libmvec-cbrtf-avx512f UNSUPPORTED: math/test-float-libmvec-cosf-avx512f UNSUPPORTED: math/test-float-libmvec-coshf-avx512f UNSUPPORTED: math/test-float-libmvec-erfcf-avx512f UNSUPPORTED: math/test-float-libmvec-erff-avx512f UNSUPPORTED: math/test-float-libmvec-exp10f-avx512f UNSUPPORTED: math/test-float-libmvec-exp2f-avx512f UNSUPPORTED: math/test-float-libmvec-expf-avx512f UNSUPPORTED: math/test-float-libmvec-expm1f-avx512f UNSUPPORTED: math/test-float-libmvec-hypotf-avx512f UNSUPPORTED: math/test-float-libmvec-log10f-avx512f UNSUPPORTED: math/test-float-libmvec-log1pf-avx512f UNSUPPORTED: math/test-float-libmvec-log2f-avx512f UNSUPPORTED: math/test-float-libmvec-logf-avx512f UNSUPPORTED: math/test-float-libmvec-powf-avx512f UNSUPPORTED: math/test-float-libmvec-sincosf-avx512f UNSUPPORTED: math/test-float-libmvec-sinf-avx512f UNSUPPORTED: math/test-float-libmvec-sinhf-avx512f UNSUPPORTED: math/test-float-libmvec-tanf-avx512f UNSUPPORTED: math/test-float-libmvec-tanhf-avx512f UNSUPPORTED: misc/tst-adjtimex UNSUPPORTED: misc/tst-clock_adjtime UNSUPPORTED: misc/tst-ntp_adjtime UNSUPPORTED: misc/tst-pkey UNSUPPORTED: nptl/tst-cancel24 UNSUPPORTED: nptl/tst-cancel24-static UNSUPPORTED: nptl/tst-minstack-throw UNSUPPORTED: nptl/tst-once5 UNSUPPORTED: nptl/tst-thread-exit-clobber UNSUPPORTED: nptl/tst-thread_local1 UNSUPPORTED: stdlib/tst-quick_exit UNSUPPORTED: stdlib/tst-secure-getenv UNSUPPORTED: stdlib/tst-thread-quick_exit UNSUPPORTED: string/tst-memchr-rtm UNSUPPORTED: string/tst-memcmp-rtm UNSUPPORTED: string/tst-memmove-rtm UNSUPPORTED: string/tst-memrchr-rtm UNSUPPORTED: string/tst-memset-rtm UNSUPPORTED: string/tst-strchr-rtm UNSUPPORTED: string/tst-strcpy-rtm UNSUPPORTED: string/tst-strlen-rtm UNSUPPORTED: string/tst-strncmp-rtm UNSUPPORTED: string/tst-strrchr-rtm UNSUPPORTED: time/tst-clock_settime UNSUPPORTED: time/tst-settimeofday Summary of test results: 4937 PASS 95 UNSUPPORTED 16 XFAIL 6 XPASS