GNU bug report logs - #31982
shaderc fails its test suite on all hydra-supported systems

Previous Next

Package: guix;

Reported by: Mark H Weaver <mhw <at> netris.org>

Date: Tue, 26 Jun 2018 17:46:02 UTC

Severity: normal

To reply to this bug, email your comments to 31982 AT debbugs.gnu.org.

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

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


Report forwarded to bug-guix <at> gnu.org:
bug#31982; Package guix. (Tue, 26 Jun 2018 17:46:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mark H Weaver <mhw <at> netris.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 26 Jun 2018 17:46:02 GMT) Full text and rfc822 format available.

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

From: Mark H Weaver <mhw <at> netris.org>
To: bug-guix <at> gnu.org
Subject: shaderc fails its test suite on all hydra-supported systems
Date: Tue, 26 Jun 2018 13:44:06 -0400
shaderc fails its test suite on all systems supported by Hydra, but the
builds succeed because the #f returned by meson-build-system's check
phase is ignored, due to <https://bugs.gnu.org/31974>.

  https://hydra.gnu.org/build/2811833  (x86_64-linux)
  https://hydra.gnu.org/build/2811921  (i686-linux)
  https://hydra.gnu.org/build/2812123  (armhf-linux)

See below for the relevant excerpt of the log.

I have a preliminary patch to fix 'meson-build-system' to return #t from
all phases, and will push after some testing.

      Mark

--8<---------------cut here---------------start------------->8---
phase `build' succeeded after 119.5 seconds
starting phase `check'
[0/1] Running tests...
Test project /tmp/guix-build-shaderc-0.0.0-2.be8e087.drv-0/source
    Start 1: spirv-tools-symbol-exports-SPIRV-Tools
1/4 Test #1: spirv-tools-symbol-exports-SPIRV-Tools ..........***Failed    0.60 sec
    Start 2: spirv-tools-symbol-exports-SPIRV-Tools-shared
2/4 Test #2: spirv-tools-symbol-exports-SPIRV-Tools-shared ...***Failed    0.13 sec
    Start 3: spirv-tools-symbol-exports-SPIRV-Tools-opt
3/4 Test #3: spirv-tools-symbol-exports-SPIRV-Tools-opt ......***Failed    0.14 sec
    Start 4: spirv-tools-symbol-exports-SPIRV-Tools-link
4/4 Test #4: spirv-tools-symbol-exports-SPIRV-Tools-link .....***Failed    0.12 sec

0% tests passed, 4 tests failed out of 4

Total Test time (real) =   1.02 sec

The following tests FAILED:
	  1 - spirv-tools-symbol-exports-SPIRV-Tools (Failed)
	  2 - spirv-tools-symbol-exports-SPIRV-Tools-shared (Failed)
	  3 - spirv-tools-symbol-exports-SPIRV-Tools-opt (Failed)
	  4 - spirv-tools-symbol-exports-SPIRV-Tools-link (Failed)
Errors while running CTest
FAILED: CMakeFiles/test.util 
cd /tmp/guix-build-shaderc-0.0.0-2.be8e087.drv-0/source && /gnu/store/g85ikfjxs2d7aydvg5w06jn2h9xrjmpc-cmake-3.11.0/bin/ctest --force-new-ctest-process
ninja: build stopped: subcommand failed.
phase `check' failed after 1.7 seconds
## WARNING: phase `check' returned `#f'.  Return values other than #t
## are deprecated.  Please migrate this package so that its phase
## procedures report errors by raising an exception, and otherwise
## always return #t.
starting phase `install'
--8<---------------cut here---------------end--------------->8---




Information forwarded to bug-guix <at> gnu.org:
bug#31982; Package guix. (Tue, 26 Jun 2018 18:44:02 GMT) Full text and rfc822 format available.

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

From: Mark H Weaver <mhw <at> netris.org>
To: Rutger Helling <rhelling <at> mykolab.com>
Cc: 31982 <at> debbugs.gnu.org
Subject: Re: shaderc fails its test suite on all hydra-supported systems
Date: Tue, 26 Jun 2018 14:41:59 -0400
Hi Rutger,

In commit 7f540654873a2761746bdc43be4727cad99b92c0, you updated
'sharerc' to upstream commit be8e087 and enabled tests.

It turns out that it fails its test suite on all systems supported by
Hydra, but the failure is effectively being ignored, because of
<https://bugs.gnu.org/31974>.

I'd like to fix 'meson-build-system' to always return #t from phases and
to report errors using exceptions, which would effectively work around
the aforementioned bug, but then that would cause 'shaderc' to start
failing in earnest.

See <https://bugs.gnu.org/31982> for more details.

Would you be willing to take a look and fix 'sharerc' so that it won't
start failing when I fix 'meson-build-system'?

     Regards,
       Mark






Information forwarded to bug-guix <at> gnu.org:
bug#31982; Package guix. (Wed, 27 Jun 2018 09:08:02 GMT) Full text and rfc822 format available.

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

From: Rutger Helling <rhelling <at> mykolab.com>
To: Mark H Weaver <mhw <at> netris.org>
Cc: 31982 <at> debbugs.gnu.org
Subject: Re: shaderc fails its test suite on all hydra-supported systems
Date: Wed, 27 Jun 2018 11:07:38 +0200
[Message part 1 (text/plain, inline)]
Hi Mark,

unfortunately I don't really have the time to look at it in-depth now.
I've disabled the tests for now so I'm not blocking you. I'll take
another look at the tests after you've fixed 'meson-build-system.

On Tue, 26 Jun 2018 14:41:59 -0400
Mark H Weaver <mhw <at> netris.org> wrote:

> Hi Rutger,
> 
> In commit 7f540654873a2761746bdc43be4727cad99b92c0, you updated
> 'sharerc' to upstream commit be8e087 and enabled tests.
> 
> It turns out that it fails its test suite on all systems supported by
> Hydra, but the failure is effectively being ignored, because of
> <https://bugs.gnu.org/31974>.
> 
> I'd like to fix 'meson-build-system' to always return #t from phases
> and to report errors using exceptions, which would effectively work
> around the aforementioned bug, but then that would cause 'shaderc' to
> start failing in earnest.
> 
> See <https://bugs.gnu.org/31982> for more details.
> 
> Would you be willing to take a look and fix 'sharerc' so that it won't
> start failing when I fix 'meson-build-system'?
> 
>      Regards,
>        Mark
> 
> 

[Message part 2 (application/pgp-signature, inline)]

This bug report was last modified 5 years and 305 days ago.

Previous Next


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