From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 1CCBD7803D9 for ; Wed, 28 Feb 2024 13:59:38 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=zcC9rHuYk2QTdMDVaoMWzRVQNxtftbNkqovRAJ6l9KE=; c=relaxed/simple; d=groups.io; h=MIME-Version:From:User-Agent:Date:Message-ID:Subject:To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type; s=20140610; t=1709128777; v=1; b=YQu/ZkVl7Q4mxvDmlmulI5S/vN2A/QtZSefNFR2uH4MpUStwZVrHrYhK+f8SweC0TIigN2OH 7eTCMTQoDrJmQsHMmJo6mlkisLFdS+4A1wVrxo4u9QkHK0aPS0t2NiJkltBUmHfjv761gjBa7pv xVw/hX+YCNUd0hMoWt56XdgA= X-Received: by 127.0.0.2 with SMTP id 0FamYY7687511xEApADYWUEQ; Wed, 28 Feb 2024 05:59:37 -0800 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web11.13788.1709128776928394111 for ; Wed, 28 Feb 2024 05:59:37 -0800 X-Received: from mail-lf1-f72.google.com (mail-lf1-f72.google.com [209.85.167.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-438-6lNSjj9MPYK22mxHtgwQsA-1; Wed, 28 Feb 2024 08:59:34 -0500 X-MC-Unique: 6lNSjj9MPYK22mxHtgwQsA-1 X-Received: by mail-lf1-f72.google.com with SMTP id 2adb3069b0e04-512d6a5c0f0so4694729e87.1 for ; Wed, 28 Feb 2024 05:59:33 -0800 (PST) X-Gm-Message-State: BUvNt2gkOyzq8ZcHlGMfDSKbx7686176AA= X-Received: by 2002:a05:6512:acc:b0:512:f892:7f0c with SMTP id n12-20020a0565120acc00b00512f8927f0cmr6926810lfu.38.1709128772460; Wed, 28 Feb 2024 05:59:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IGZ5wZ6ck6BkWh/R64ymZaRHec0jKkzUbBKm4U63f6/JRFmJi76k5WNpoZ+VPx7ERCygk9qmFeh97a5rUtVUm4= X-Received: by 2002:a05:6512:acc:b0:512:f892:7f0c with SMTP id n12-20020a0565120acc00b00512f8927f0cmr6926790lfu.38.1709128771816; Wed, 28 Feb 2024 05:59:31 -0800 (PST) X-Received: from 567203818698 named unknown by gmailapi.google.com with HTTPREST; Wed, 28 Feb 2024 05:59:31 -0800 MIME-Version: 1.0 From: "Oliver Steffen" User-Agent: alot/0.8.1 Date: Wed, 28 Feb 2024 05:59:31 -0800 Message-ID: Subject: [edk2-devel] CI: GCC13 and lcov problem To: devel@edk2.groups.io X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,osteffen@redhat.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Type: text/plain; charset="UTF-8" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b="YQu/ZkVl"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=redhat.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io Hi, I am working on switching the Linux CI jobs over to the Fedora 39 image which comes with gcc 13. Unfortunately, some jobs fail due to some error related to lcov / geninfo, see below. Does anybody know from the top of the head what this is about / what to do? PR: https://github.com/tianocore/edk2/pull/5412 Job log: INFO - Cmd to run is: lcov --capture --directory /__w/1/s/Build/SecurityPkg/HostTest/NOOPT_GCC5/ --output-file /__w/1/s/Build/SecurityPkg/HostTest/NOOPT_GCC5/coverage-test.info --rc lcov_branch_coverage=1 INFO - ------------------------------------------------ INFO - --------------Cmd Output Starting--------------- INFO - ------------------------------------------------ INFO - Capturing coverage data from /__w/1/s/Build/SecurityPkg/HostTest/NOOPT_GCC5/ INFO - geninfo cmd: '/usr/bin/geninfo /__w/1/s/Build/SecurityPkg/HostTest/NOOPT_GCC5/ --output-filename /__w/1/s/Build/SecurityPkg/HostTest/NOOPT_GCC5/coverage-test.info --rc lcov_branch_coverage=1 --memory 0 --branch-coverage' INFO - geninfo: WARNING: RC option 'lcov_branch_coverage' is deprecated. Consider using 'branch_coverage. instead. (Backward-compatible support will be removed in the future INFO - Found gcov version: 13.2.1 INFO - Using intermediate gcov format INFO - Writing temporary data to /tmp/geninfo_datXdcz INFO - Scanning /__w/1/s/Build/SecurityPkg/HostTest/NOOPT_GCC5/ for .gcda files ... INFO - Found 99 data files in /__w/1/s/Build/SecurityPkg/HostTest/NOOPT_GCC5/ INFO - Processing /__w/1/s/Build/SecurityPkg/HostTest/NOOPT_GCC5/X64/UnitTestFrameworkPkg/Library/UnitTestDebugAssertLib/UnitTestDebugAssertLibHost/OUTPUT/UnitTestDebugAssertLibHost.gcda INFO - Processing /__w/1/s/Build/SecurityPkg/HostTest/NOOPT_GCC5/X64/UnitTestFrameworkPkg/Library/UnitTestPersistenceLibNull/UnitTestPersistenceLibNull/OUTPUT/UnitTestPersistenceLibNull.gcda INFO - Processing /__w/1/s/Build/SecurityPkg/HostTest/NOOPT_GCC5/X64/UnitTestFrameworkPkg/Library/Posix/DebugLibPosix/DebugLibPosix/OUTPUT/DebugLibPosix.gcda INFO - Processing /__w/1/s/Build/SecurityPkg/HostTest/NOOPT_GCC5/X64/UnitTestFrameworkPkg/Library/Posix/MemoryAllocationLibPosix/MemoryAllocationLibPosix/OUTPUT/MemoryAllocationLibPosix.gcda INFO - Processing /__w/1/s/Build/SecurityPkg/HostTest/NOOPT_GCC5/X64/UnitTestFrameworkPkg/Library/UnitTestResultReportLib/UnitTestResultReportLibDebugLib/OUTPUT/UnitTestResultReportLib.gcda INFO - Processing /__w/1/s/Build/SecurityPkg/HostTest/NOOPT_GCC5/X64/UnitTestFrameworkPkg/Library/UnitTestResultReportLib/UnitTestResultReportLibDebugLib/OUTPUT/UnitTestResultReportLibDebugLib.gcda INFO - Processing /__w/1/s/Build/SecurityPkg/HostTest/NOOPT_GCC5/X64/UnitTestFrameworkPkg/Library/CmockaLib/CmockaLib/OUTPUT/cmocka/src/cmocka.gcda INFO - geninfo: WARNING: /__w/1/s/UnitTestFrameworkPkg/Library/CmockaLib/cmocka/src/cmocka.c:725: unexecuted block on non-branch line with non-zero hit count. Use "geninfo --rc geninfo_unexecuted_blocks=1 to set count to zero. INFO - Processing /__w/1/s/Build/SecurityPkg/HostTest/NOOPT_GCC5/X64/UnitTestFrameworkPkg/Library/GoogleTestLib/GoogleTestLib/OUTPUT/googletest/googlemock/src/gmock-all.gcda INFO - geninfo: ERROR: "/usr/include/c++/13/bits/stl_tree.h":2129: mismatched exception tag for id 1, 1: '1' -> '0' INFO - (use "geninfo --ignore-errors mismatch ..." to bypass this error) INFO - ------------------------------------------------ INFO - --------------Cmd Output Finished--------------- INFO - --------- Running Time (mm:ss): 00:00 ---------- INFO - ----------- Return Code: 0x00000001 ------------ INFO - ------------------------------------------------ ERROR - UnitTest Coverage: Failed to build coverage data for tested files. ERROR - Plugin Failed: Host-Based Unit Test Runner returned 1 CRITICAL - Post Build failed PROGRESS - End time: 2024-02-26 16:18:23.207202 Total time Elapsed: 0:00:32 ERROR - --->Test Failed: Host Unit Test Compiler Plugin NOOPT returned 1 Thanks! Oliver -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#116117): https://edk2.groups.io/g/devel/message/116117 Mute This Topic: https://groups.io/mt/104623079/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-