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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 76652 in the body.
You can then email your comments to 76652 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#76652; Package guix-patches. (Fri, 28 Feb 2025 18:13:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Christopher Baines <mail <at> cbaines.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 28 Feb 2025 18:13:02 GMT) Full text and rfc822 format available.

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





Reply sent to Christopher Baines <mail <at> cbaines.net>:
You have taken responsibility. (Mon, 03 Mar 2025 14:33:01 GMT) Full text and rfc822 format available.

Notification sent to Christopher Baines <mail <at> cbaines.net>:
bug acknowledged by developer. (Mon, 03 Mar 2025 14:33:02 GMT) Full text and rfc822 format available.

Message #10 received at 76652-done <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: 76652-done <at> debbugs.gnu.org
Subject: Re: [bug#76652] [PATCH] gnu: go-github-com-hodgesds-perf-utils:
 Skip more tests on arm.
Date: Mon, 03 Mar 2025 14:32:31 +0000
[Message part 1 (text/plain, inline)]
Christopher Baines <mail <at> cbaines.net> writes:

> 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(-)

I was hoping to wait for QA, but gnome-team has landed so I'm just going
to push this 🤞 as c8f537ac0517f45393c8bf68fc0259f185324cc5.
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 01 Apr 2025 11:25:12 GMT) Full text and rfc822 format available.

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.