GNU bug report logs -
#30601
[PATCH staging] gnu: ninja: Disable tests on armhf.
Previous Next
Reported by: Marius Bakke <mbakke <at> fastmail.com>
Date: Sun, 25 Feb 2018 03:55:02 UTC
Severity: normal
Tags: patch
Done: Marius Bakke <mbakke <at> fastmail.com>
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 30601 in the body.
You can then email your comments to 30601 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#30601
; Package
guix-patches
.
(Sun, 25 Feb 2018 03:55:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Marius Bakke <mbakke <at> fastmail.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sun, 25 Feb 2018 03:55:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/ninja.scm (ninja)[arguments]: Set #:tests? #f on armhf. Adjust
CHECK-PHASE accordingly.
---
gnu/packages/ninja.scm | 20 +++++++++++++++-----
1 file changed, 15 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/ninja.scm b/gnu/packages/ninja.scm
index adb236484..cff2ac38b 100644
--- a/gnu/packages/ninja.scm
+++ b/gnu/packages/ninja.scm
@@ -42,7 +42,15 @@
(build-system gnu-build-system)
(native-inputs `(("python" ,python-2)))
(arguments
- '(#:phases
+ ;; FIXME: On armhf-linux, Subprocess.TestWithLots fails like this:
+ ;; *** Failure in src/subprocess_test.cc:241
+ ;; ExitSuccess == procs[i]->Finish()
+ ;; See <https://hydra.gnu.org/build/2515522/nixlog/1/raw>.
+ ;; Disable for now.
+ `(#:tests? (let ((system ,(or (%current-target-system)
+ (%current-system))))
+ (not (string-prefix? "arm" system)))
+ #:phases
(modify-phases %standard-phases
(replace 'configure
(lambda _
@@ -53,10 +61,12 @@
(lambda _
(invoke "./configure.py" "--bootstrap")))
(replace 'check
- (lambda _
- (invoke "./configure.py")
- (invoke "./ninja" "ninja_test")
- (invoke "./ninja_test")))
+ (lambda* (#:key tests? #:allow-other-keys)
+ (if tests?
+ (and (invoke "./configure.py")
+ (invoke "./ninja" "ninja_test")
+ (invoke "./ninja_test"))
+ (display "test suite not run\n"))))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
--
2.16.2
Information forwarded
to
guix-patches <at> gnu.org
:
bug#30601
; Package
guix-patches
.
(Mon, 26 Feb 2018 17:50:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 30601 <at> debbugs.gnu.org (full text, mbox):
Hi!
Marius Bakke <mbakke <at> fastmail.com> skribis:
> * gnu/packages/ninja.scm (ninja)[arguments]: Set #:tests? #f on armhf. Adjust
> CHECK-PHASE accordingly.
> ---
> gnu/packages/ninja.scm | 20 +++++++++++++++-----
> 1 file changed, 15 insertions(+), 5 deletions(-)
>
> diff --git a/gnu/packages/ninja.scm b/gnu/packages/ninja.scm
> index adb236484..cff2ac38b 100644
> --- a/gnu/packages/ninja.scm
> +++ b/gnu/packages/ninja.scm
> @@ -42,7 +42,15 @@
> (build-system gnu-build-system)
> (native-inputs `(("python" ,python-2)))
> (arguments
> - '(#:phases
> + ;; FIXME: On armhf-linux, Subprocess.TestWithLots fails like this:
> + ;; *** Failure in src/subprocess_test.cc:241
> + ;; ExitSuccess == procs[i]->Finish()
> + ;; See <https://hydra.gnu.org/build/2515522/nixlog/1/raw>.
> + ;; Disable for now.
Sounds reasonable. Could you also report it upstream? :-)
Thanks,
Ludo’.
Reply sent
to
Marius Bakke <mbakke <at> fastmail.com>
:
You have taken responsibility.
(Mon, 26 Feb 2018 19:42:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Marius Bakke <mbakke <at> fastmail.com>
:
bug acknowledged by developer.
(Mon, 26 Feb 2018 19:42:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 30601-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Ludovic Courtès <ludo <at> gnu.org> writes:
> Hi!
>
> Marius Bakke <mbakke <at> fastmail.com> skribis:
>
>> * gnu/packages/ninja.scm (ninja)[arguments]: Set #:tests? #f on armhf. Adjust
>> CHECK-PHASE accordingly.
>> ---
>> gnu/packages/ninja.scm | 20 +++++++++++++++-----
>> 1 file changed, 15 insertions(+), 5 deletions(-)
>>
>> diff --git a/gnu/packages/ninja.scm b/gnu/packages/ninja.scm
>> index adb236484..cff2ac38b 100644
>> --- a/gnu/packages/ninja.scm
>> +++ b/gnu/packages/ninja.scm
>> @@ -42,7 +42,15 @@
>> (build-system gnu-build-system)
>> (native-inputs `(("python" ,python-2)))
>> (arguments
>> - '(#:phases
>> + ;; FIXME: On armhf-linux, Subprocess.TestWithLots fails like this:
>> + ;; *** Failure in src/subprocess_test.cc:241
>> + ;; ExitSuccess == procs[i]->Finish()
>> + ;; See <https://hydra.gnu.org/build/2515522/nixlog/1/raw>.
>> + ;; Disable for now.
>
> Sounds reasonable. Could you also report it upstream? :-)
Actually, now that I'm more awake, I found the problem. On most
machines this test is skipped because it requires 1025 open files.
However, on Hydras armhf machines, this limit is apparently higher.
The problem is that the test calls out to /bin/echo. I was able to
reproduce it on x86_64 simply by raising the softlimit to 4096.
So, I pushed a one-line fix as d0de4c40e24ee52e4382ee2ac82088932ab49099.
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#30601
; Package
guix-patches
.
(Mon, 26 Feb 2018 20:03:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 30601-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Marius Bakke <mbakke <at> fastmail.com> writes:
> Ludovic Courtès <ludo <at> gnu.org> writes:
>
>> Hi!
>>
>> Marius Bakke <mbakke <at> fastmail.com> skribis:
>>
>>> * gnu/packages/ninja.scm (ninja)[arguments]: Set #:tests? #f on armhf. Adjust
>>> CHECK-PHASE accordingly.
>>> ---
>>> gnu/packages/ninja.scm | 20 +++++++++++++++-----
>>> 1 file changed, 15 insertions(+), 5 deletions(-)
>>>
>>> diff --git a/gnu/packages/ninja.scm b/gnu/packages/ninja.scm
>>> index adb236484..cff2ac38b 100644
>>> --- a/gnu/packages/ninja.scm
>>> +++ b/gnu/packages/ninja.scm
>>> @@ -42,7 +42,15 @@
>>> (build-system gnu-build-system)
>>> (native-inputs `(("python" ,python-2)))
>>> (arguments
>>> - '(#:phases
>>> + ;; FIXME: On armhf-linux, Subprocess.TestWithLots fails like this:
>>> + ;; *** Failure in src/subprocess_test.cc:241
>>> + ;; ExitSuccess == procs[i]->Finish()
>>> + ;; See <https://hydra.gnu.org/build/2515522/nixlog/1/raw>.
>>> + ;; Disable for now.
>>
>> Sounds reasonable. Could you also report it upstream? :-)
>
> Actually, now that I'm more awake, I found the problem. On most
> machines this test is skipped because it requires 1025 open files.
> However, on Hydras armhf machines, this limit is apparently higher.
>
> The problem is that the test calls out to /bin/echo. I was able to
> reproduce it on x86_64 simply by raising the softlimit to 4096.
>
> So, I pushed a one-line fix as d0de4c40e24ee52e4382ee2ac82088932ab49099.
Derp. Apparently I wasn't awake enough and managed to patch the wrong
file when making the commit. The followup in
6d796220c417a34100c282a7fa1f9afb6ac00339 fixes it, sorry for the noise.
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#30601
; Package
guix-patches
.
(Tue, 27 Feb 2018 09:06:01 GMT)
Full text and
rfc822 format available.
Message #19 received at 30601-done <at> debbugs.gnu.org (full text, mbox):
Marius Bakke <mbakke <at> fastmail.com> skribis:
> Marius Bakke <mbakke <at> fastmail.com> writes:
>
>> Ludovic Courtès <ludo <at> gnu.org> writes:
>>
>>> Hi!
>>>
>>> Marius Bakke <mbakke <at> fastmail.com> skribis:
>>>
>>>> * gnu/packages/ninja.scm (ninja)[arguments]: Set #:tests? #f on armhf. Adjust
>>>> CHECK-PHASE accordingly.
>>>> ---
>>>> gnu/packages/ninja.scm | 20 +++++++++++++++-----
>>>> 1 file changed, 15 insertions(+), 5 deletions(-)
>>>>
>>>> diff --git a/gnu/packages/ninja.scm b/gnu/packages/ninja.scm
>>>> index adb236484..cff2ac38b 100644
>>>> --- a/gnu/packages/ninja.scm
>>>> +++ b/gnu/packages/ninja.scm
>>>> @@ -42,7 +42,15 @@
>>>> (build-system gnu-build-system)
>>>> (native-inputs `(("python" ,python-2)))
>>>> (arguments
>>>> - '(#:phases
>>>> + ;; FIXME: On armhf-linux, Subprocess.TestWithLots fails like this:
>>>> + ;; *** Failure in src/subprocess_test.cc:241
>>>> + ;; ExitSuccess == procs[i]->Finish()
>>>> + ;; See <https://hydra.gnu.org/build/2515522/nixlog/1/raw>.
>>>> + ;; Disable for now.
>>>
>>> Sounds reasonable. Could you also report it upstream? :-)
>>
>> Actually, now that I'm more awake, I found the problem. On most
>> machines this test is skipped because it requires 1025 open files.
>> However, on Hydras armhf machines, this limit is apparently higher.
>>
>> The problem is that the test calls out to /bin/echo. I was able to
>> reproduce it on x86_64 simply by raising the softlimit to 4096.
>>
>> So, I pushed a one-line fix as d0de4c40e24ee52e4382ee2ac82088932ab49099.
>
> Derp. Apparently I wasn't awake enough and managed to patch the wrong
> file when making the commit. The followup in
> 6d796220c417a34100c282a7fa1f9afb6ac00339 fixes it, sorry for the noise.
Heh, thank you!
Ludo’.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 27 Mar 2018 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 6 years and 38 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.