GNU bug report logs - #76652
[PATCH] gnu: go-github-com-hodgesds-perf-utils: Skip more tests on arm.

Previous Next

Package: guix-patches;

Reported by: Christopher Baines <mail <at> cbaines.net>

Date: Fri, 28 Feb 2025 18:13:02 UTC

Severity: normal

Tags: patch

Done: Christopher Baines <mail <at> cbaines.net>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: go-github-com-hodgesds-perf-utils: Skip more tests on
 arm.
Date: Fri, 28 Feb 2025 18:12:08 +0000
I see these failing when built on Honeycomb build machines:

  === RUN   TestDataTLB
      utils_test.go:234: no such file or directory
  --- FAIL: TestDataTLB (0.00s)
  === RUN   TestInstructionTLB
      utils_test.go:246: no such file or directory
  --- FAIL: TestInstructionTLB (0.00s)

It could be something with the system configuration but just disable the tests
for now. This is working towards getting the prometheus-node-exporter package
building again on aarch64-linux.

Note that there's even more test failures when trying to build with qemu
binfmt emulation.

* gnu/packages/golang-xyz.scm (go-github-com-hodgesds-perf-utils)[arguments]:
Skip a couple more tests on arm.

Change-Id: Ib5bc41679d825a1a727e240e7fffeb336f82db6d
---
 gnu/packages/golang-xyz.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 67957caae0..0b7858e4fe 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -7509,7 +7509,11 @@ (define-public go-github-com-hodgesds-perf-utils
                      "TestNodeCache"
                      "TestProfiler"
                      "TestSoftwareProfiler"
-                     "TestTraceFSMount")
+                     "TestTraceFSMount"
+                     #$@(if (target-arm?)
+                            '("TestDataTLB"
+                              "TestInstructionTLB")
+                            '()))
                "|"))))
     (native-inputs
      (list go-github-com-stretchr-testify))

base-commit: a76708a872e65230931f3c5c3b079d0a39d5cb84
-- 
2.48.1





This bug report was last modified 81 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.