unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#31982: shaderc fails its test suite on all hydra-supported systems
@ 2018-06-26 17:44 Mark H Weaver
  2018-06-26 18:41 ` Mark H Weaver
  0 siblings, 1 reply; 3+ messages in thread
From: Mark H Weaver @ 2018-06-26 17:44 UTC (permalink / raw)
  To: 31982

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#31982: shaderc fails its test suite on all hydra-supported systems
  2018-06-26 17:44 bug#31982: shaderc fails its test suite on all hydra-supported systems Mark H Weaver
@ 2018-06-26 18:41 ` Mark H Weaver
  2018-06-27  9:07   ` Rutger Helling
  0 siblings, 1 reply; 3+ messages in thread
From: Mark H Weaver @ 2018-06-26 18:41 UTC (permalink / raw)
  To: Rutger Helling; +Cc: 31982

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#31982: shaderc fails its test suite on all hydra-supported systems
  2018-06-26 18:41 ` Mark H Weaver
@ 2018-06-27  9:07   ` Rutger Helling
  0 siblings, 0 replies; 3+ messages in thread
From: Rutger Helling @ 2018-06-27  9:07 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: 31982

[-- Attachment #1: Type: text/plain, Size: 1100 bytes --]

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@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
> 
> 


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-06-27  9:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-26 17:44 bug#31982: shaderc fails its test suite on all hydra-supported systems Mark H Weaver
2018-06-26 18:41 ` Mark H Weaver
2018-06-27  9:07   ` Rutger Helling

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).