From owner-freebsd-testing@freebsd.org Tue Oct 29 06:00:41 2019 Return-Path: Delivered-To: freebsd-testing@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4BF8417A0DC for ; Tue, 29 Oct 2019 06:00:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 472LY51M3wz46KW for ; Tue, 29 Oct 2019 06:00:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 2E7BF17A0DA; Tue, 29 Oct 2019 06:00:41 +0000 (UTC) Delivered-To: testing@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2E3E317A0D9 for ; Tue, 29 Oct 2019 06:00:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 472LY50Q4zz46KV for ; Tue, 29 Oct 2019 06:00:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CC9341D7C3 for ; Tue, 29 Oct 2019 06:00:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x9T60eCv022825 for ; Tue, 29 Oct 2019 06:00:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x9T60ekP022821 for testing@freebsd.org; Tue, 29 Oct 2019 06:00:40 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: testing@freebsd.org Subject: [Bug 241562] failing test case: lib.libexecinfo.backtrace_test.backtrace_fmt_basic Date: Tue, 29 Oct 2019 06:00:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: tests X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: cem@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: cem@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Oct 2019 06:00:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241562 Conrad Meyer changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|testing@freebsd.org |cem@freebsd.org Status|New |In Progress --- Comment #2 from Conrad Meyer --- Thanks for the report and quick CI bypass, Li-Wen Hsu. I'll investigate tomorrow. Of course, the test passed locally (outside of Kyua sandbox). It looks like the CI build is stripping test binaries more aggressively tha= n on my machine; when I strip(1) the test binary, I can reproduce the failure. I have WITH_DEBUG_FILES=3D1 in my /etc/src.conf, but I don't believe that's important here -- I think the install(1) step is where the test binary gets stripped (further). Here's an extremely high-level sketch: OBJDIR: backtrace_test.full: 34k backtrace_test: 23k backtrace_test.debug: 19k Somehow, test + test.debug is substantially larger than test.full (+8k). Meanwhile, the installed binary is only 20k. So 3kB more has been stripped from the version I tested. It looks like that's .symtab and .strtab, so, I guess that's not too surprising. (The full binary has additional .debug_{str,loc,abbrev,info,ranges,macinfo,line,aranges} sections that neit= her stripped version has.) The "debug" setaside has duplicate .shstrtab, .SUNW_ctf, .symtab, and .strtab (the latter two are only duplicates of the OBJDIR program) sections that likely explain the extra 8k. "myfunc{1,2,3}" are in .symtab only, and that gets stripped. The test looks pretty fragile but relies on finding all of the myfuncs, plus some assumptions about how ATF tests are named. So at least one thing it n= eeds is those functions in a symbol table (.dynsym or unstripped .symtab). Again, thanks for the report and quick workaround! --=20 You are receiving this mail because: You are the assignee for the bug.=