From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oo1-xc2c.google.com (mail-oo1-xc2c.google.com [IPv6:2607:f8b0:4864:20::c2c]) by sourceware.org (Postfix) with ESMTPS id 57A7A3858D33 for ; Wed, 22 Feb 2023 20:00:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 57A7A3858D33 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-oo1-xc2c.google.com with SMTP id c184-20020a4a4fc1000000b005250b2dc0easo485719oob.2 for ; Wed, 22 Feb 2023 12:00:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1677096039; h=content-transfer-encoding:in-reply-to:organization:from:references :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=hUNgaWkJ2Zi8ZZ+xbVebPOtOkzhtIsD+yCg5+yJe86M=; b=PpjCQAzAw0AbBunTAR+Wwwr+/cnvIzhOoyam04cIAgpJi43IJDCfTOc7Zy6Q170u9G XPqZlR1UWn0cY9gko4L1/c7/R9g+zypUaY3VR8dos2OsAT6DaDLdGPvO2Xa6xtYRBPly hLpuk5FxlAX27BhcfbVhblFujUUXr5fjfwgTbpkIcrML8wgh8G4XGZirKkY03pebARkT gryFXvQFoyNRf1oe18kn3fBm52n6u8+aZw1/W77+cZepN190NHGgS7HgV/PK96+rFwUV ZOBUiv6uBnm0qxrhR5CI5U1UoxbBFj1yjLH8LgXZIN0w5gsA4ry3DvgO2Ny2nopHP4Q8 8W5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677096039; h=content-transfer-encoding:in-reply-to:organization:from:references :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=hUNgaWkJ2Zi8ZZ+xbVebPOtOkzhtIsD+yCg5+yJe86M=; b=eBmu7YqAuHLaJcMfLM1ObEe0LSYQ/kf53V5IYOtf/NRoQMT87mpygZWLIma6UQN3pK Ho+HLu7vdMid4r2zwAa0Qm2L8d52Re8VzbE5wbdd2MBCQBmOHGineFQdFVnEgC5GzqWC 6okgCBF2BlUhL4VVmVb9rBbQH8yqTbKXMbaUbZrrgOH8cyzpy35IanXGVAERouYMQDsz Rp2AEQgB1Uhy8la9S7pKu75o4oUzcgNMwMntl+Noa6NiGPd+yDYkMC2GxtzaQ4wMG+BF eQhoCKVi5KRUAs+dNPgH8pGnMYBuH2MlRNXS414aF8RDhaPL6oh1Q06QERwuKDGTv6D5 54OQ== X-Gm-Message-State: AO0yUKUBtpmmxefETx9n6mFn4W/TGJv1Jfl9Ytbjyo2kysjXBLCPQqQr gNpatMxBIxlO2C/9p8B6UmSDP+ZeUv2FYYYeT4U= X-Google-Smtp-Source: AK7set8kelpqo354IVGHJGwj+gS3ZinNGseTOnTxpGzujYyeYcoXcSYV+dwHeCtcpHJE3J7uNPATNQ== X-Received: by 2002:a4a:5250:0:b0:51f:955a:ca37 with SMTP id d77-20020a4a5250000000b0051f955aca37mr4440927oob.8.1677096038918; Wed, 22 Feb 2023 12:00:38 -0800 (PST) Received: from [192.168.15.100] (201-43-82-10.dsl.telesp.net.br. [201.43.82.10]) by smtp.gmail.com with ESMTPSA id c4-20020a4ad784000000b0052005fd50a4sm1165258oou.35.2023.02.22.12.00.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 22 Feb 2023 12:00:38 -0800 (PST) Message-ID: <2cb5e798-e411-6a95-eded-e08f08d9e957@linaro.org> Date: Wed, 22 Feb 2023 17:00:35 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.7.2 Subject: Re: "make check" on git master fails with 175 FAIL and leaves processes behind on Debian/unstable Content-Language: en-US To: libc-alpha@sourceware.org, Vincent Lefevre References: <20230222145600.GB2087922@cventin.lip.ens-lyon.fr> <40913c5d-bb97-01a1-6bbf-2326a4c0ae72@redhat.com> <20230222153821.GA1343217@cventin.lip.ens-lyon.fr> <20230222170456.GA2242558@zira.vinc17.org> From: Adhemerval Zanella Netto Organization: Linaro In-Reply-To: <20230222170456.GA2242558@zira.vinc17.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,KAM_LOTSOFHASH,NICE_REPLY_A,RCVD_IN_BARRACUDACENTRAL,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 22/02/23 14:04, Vincent Lefevre wrote: > On 2023-02-22 16:38:21 +0100, Vincent Lefevre wrote: >> On 2023-02-22 10:10:31 -0500, Carlos O'Donell via Libc-alpha wrote: >>> On 2/22/23 09:56, Vincent Lefevre wrote: >>>> I did >>>> >>>> mkdir glibc-build >>>> cd glibc-build >>>> ../glibc/configure --prefix=$HOME/opt/glibc >>> >>> Please review: >>> https://sourceware.org/glibc/wiki/Testing/Builds#Testing_a_glibc_build >>> >>> If you use a unique --prefix, that is an ABI change, and it will require >>> you to have everything required under that path as-if it was a sysroot. >> >> I'll test it again with --prefix=/usr, [...] > > This time, I get 8 failures: > > FAIL: elf/tst-audit23 > FAIL: elf/tst-ifunc-fault-bindnow > FAIL: elf/tst-ifunc-fault-lazy > FAIL: locale/tst-localedef-path-norm > FAIL: math/test-float-hypot > FAIL: math/test-float32-hypot > FAIL: stdlib/tst-arc4random-fork > FAIL: stdlib/tst-system > > According to Andreas Schwab's test, only the 2 math/test-float*-hypot > ones are expected. > > It seems that some tests may be confused by the > "LD_PRELOAD=libgtk3-nocsd.so.0" that comes from the gtk3-nocsd > Debian package (the INSTALL file is silent on this point). > But if I unset LD_PRELOAD and rerun "make check", I still get > these 8 failures, and the *.out and *.test-result files are not > updated. For instance: It seems that LD_PRELOAD is still set for some tests and it might indeed interfere on some results. > > cventin:...tware/glibc-build> ll stdlib/tst-system* > -rwxr-xr-x 1 vlefevre vlefevre 170552 2023-02-22 16:51:56 stdlib/tst-system* > -rw-r--r-- 1 vlefevre vlefevre 30816 2023-02-22 16:51:55 stdlib/tst-system.o > -rw-r--r-- 1 vlefevre vlefevre 6799 2023-02-22 16:51:58 stdlib/tst-system.out > -rw-r--r-- 1 vlefevre vlefevre 10890 2023-02-22 17:43:29 stdlib/tst-system.o.d > -rw-r--r-- 1 vlefevre vlefevre 47 2023-02-22 16:51:58 stdlib/tst-system.test-result > > The tst-system.o.d file is new, but the other files are still the old > ones. > > The *.out files: > > * elf/tst-audit23.out > > error: tst-audit23.c:177: non expected la_objopen: /home/vlefevre/software/glibc-build/elf/tst-audit23mod.so 7f0304fed000 0 > error: 1 test failures It seems that there is an extra object loaded (the line 177 is a max count for la_objopen events). The LD_PRELOAD might explain it. > > * elf/tst-ifunc-fault-bindnow.out > > linux-vdso.so.1 (0x00007ffc857cc000) > libgtk3-nocsd.so.0 => /usr/lib/x86_64-linux-gnu/libgtk3-nocsd.so.0 (0x00007f2fcc860000) > libc.so.6 => /home/vlefevre/software/glibc-build/libc.so.6 (0x00007f2fcc68a000) > libdl.so.2 => /home/vlefevre/software/glibc-build/dlfcn/libdl.so.2 (0x00007f2fcc685000) > libpthread.so.0 => /home/vlefevre/software/glibc-build/nptl/libpthread.so.0 (0x00007f2fcc680000) > /lib64/ld-linux-x86-64.so.2 => /home/vlefevre/software/glibc-build/elf/ld-linux-x86-64.so.2 (0x00007f2fcc892000) > Unused direct dependencies: > /usr/lib/x86_64-linux-gnu/libgtk3-nocsd.so.0 This test issues the loader with --verify, and the libgtk3-nocsd.so.0 is affecting the result. > > * elf/tst-ifunc-fault-lazy.out > > linux-vdso.so.1 (0x00007fff2a4fb000) > libgtk3-nocsd.so.0 => /usr/lib/x86_64-linux-gnu/libgtk3-nocsd.so.0 (0x00007f4aa6066000) > libc.so.6 => /home/vlefevre/software/glibc-build/libc.so.6 (0x00007f4aa5e90000) > libdl.so.2 => /home/vlefevre/software/glibc-build/dlfcn/libdl.so.2 (0x00007f4aa5e8b000) > libpthread.so.0 => /home/vlefevre/software/glibc-build/nptl/libpthread.so.0 (0x00007f4aa5e86000) > /lib64/ld-linux-x86-64.so.2 => /home/vlefevre/software/glibc-build/elf/ld-linux-x86-64.so.2 (0x00007f4aa6098000) > Unused direct dependencies: > /usr/lib/x86_64-linux-gnu/libgtk3-nocsd.so.0 Same here. > > * locale/tst-localedef-path-norm.out > > info: cpus=12 ntests=9 > error: subprocess failed: execv > error: unexpected error output from subprocess > ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. > [...] > error: 9 test failures > running post-clean rsync Same here. > > * stdlib/tst-arc4random-fork.out > > Timed out: killed the child process > Termination time: 2023-02-22T15:52:37.093033906 > Last write to standard output: 2023-02-22T15:51:56.977606899 This test fail due a timeout, you might run the testcase with TIMEOUTFACTOR set to value larger than 1. Another option would to just tune the internal tests parameter down, specially because now we don't use a user PCRNG and just issue getrandom instead. > > * stdlib/tst-system.out > > tst-system.c:94: error: string comparison failed > left string: 422 bytes > right string: 301 bytes > left (evaluated from result.err.buffer): > "ERROR: ld.so: object \'libgtk3-nocsd.so.0\' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.\nsh: execing aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa failed: No such file or directory" > [...] > Again it seems that the libgtk3-nocsd.so.0 is messing with the result.