From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gnu.wildebeest.org (gnu.wildebeest.org [45.83.234.184]) by sourceware.org (Postfix) with ESMTPS id 2E69D3858D20 for ; Mon, 25 Dec 2023 17:09:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2E69D3858D20 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=klomp.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=klomp.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 2E69D3858D20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=45.83.234.184 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703524202; cv=none; b=PJ7l79Ccaek6rb7a4bZd9WmTw+sNcdcaHRneKiuZdl64Gf9DJw2z55fIQmzlUXIWaDKrOIbaq9ufD6sHUPl4NzuFRkyEEopS9PvY3XueEb/sY0rTkkBOEPflUC8krxSINn10knerq/ZAStDZtDZg5kdRyDu40ScAtwpXQfCKE0E= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703524202; c=relaxed/simple; bh=6d+LRCy9rR4WuxNROsxEX/AMPEcHIRgLoOM2hMKZeVc=; h=Date:From:To:Subject:Message-ID:MIME-Version; b=Lt+phxwwDjL5oo55EBuBshhkzM602UAqgXNh8KU78LA6X9r38QKgilKeamOjrGDSFl0pN0OTtB0NTSbuogcOwBNYzda3rT7tKG/AMSdGdkH+cIjsRO7oVXV60SGEz3pROPHwzRkYLQLZJpjREzUpLp2NfWYwlM4VqB/qlTKXMdk= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by gnu.wildebeest.org (Postfix, from userid 1000) id D4446302BB42; Mon, 25 Dec 2023 18:09:57 +0100 (CET) Date: Mon, 25 Dec 2023 18:09:57 +0100 From: Mark Wielaard To: annobin@sourceware.org Subject: s390x build test failure for GO FIPS Message-ID: <20231225170957.GH6896@gnu.wildebeest.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,JMQ_SPF_NEUTRAL,KAM_ASCII_DIVIDERS,KAM_DMARC_STATUS,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE 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: Since commit 08bc2832527f42b517f2d550e8ada452b4ad21ee 12.24: Annocheck: Changes GO FIPS test to look for CGO_ENABLED markers The s390x CI builder has been failing: https://builder.sourceware.org/buildbot/#/builders/annobin-fedora-s390x The tests/test-suite.log looks as follows: =================================================== Binary Annotations 12.0: tests/test-suite.log =================================================== # TOTAL: 27 # PASS: 26 # SKIP: 0 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: go-fips-test ================== ~/annobin/tests/tmp_go-fips ~/annobin/tests go-fips: Running: go build no-use-crypto.go go-fips: Checking a GO binary that does not use crypto go-fips: Running: ../../annocheck/annocheck -v --skip-all --test-fips no-use-crypto Hardened: no-use-crypto: skip: fips test because binary did not load a crypto library go-fips: PASS: annocheck ignored a GO binary that does not use crypto go-fips: Running: CGO_ENABLED=1 go build use-crypto.go go-fips: Checking a FIPS-compliant GO binary go-fips: FAIL: annocheck did not detect a FIPS compliant GO binary annocheck: Version 12.34. Hardened: use-crypto: warn: Unable to determine the binary's producer from it's DW_AT_producer string. Hardened: use-crypto: FAIL: fips test because the binary was not built with CGO_ENABLED=1 Hardened: use-crypto: info: For more information visit: https://sourceware.org/annobin/annobin.html/Test-fips.html Hardened: use-crypto: Overall: FAIL. ~/annobin/tests FAIL go-fips-test (exit status: 1) Note that this is a Fedora 38 system with: $ alternatives --display go go - status is auto. link currently points to /usr/bin/go.gcc /usr/bin/go.gcc - priority 92 follower gofmt: /usr/bin/gofmt.gcc /usr/lib/golang/bin/go - priority 90 follower gofmt: /usr/lib/golang/bin/gofmt Current `best' version is /usr/bin/go.gcc.