Re: gst-plugins-base: Test suite failed: FAIL: elements/opus

2018-07-20 Thread Björn Höfling
On Fri, 20 Jul 2018 14:44:19 -0400
Leo Famulari  wrote:

> On Wed, Jun 20, 2018 at 12:36:18PM -0400, Leo Famulari wrote:
> > Okay, are you able to send a patch to disable the test and report
> > this issue upstream?  
> 
> Did this bug ever get reported upstream?

At least there is a 1.14.2 out:

https://gstreamer.freedesktop.org/releases/1.14/#1.14.2

Bit I don't get this problem:

Hydra can build:

https://hydra.gnu.org/job/gnu/master/gst-plugins-base-1.14.1.x86_64-linux/all

Locally I can build:

$>guix --version
guix (GNU Guix) 208df8ba8ab1999525310e8f2bf82b03350523c2

$>guix build gst-plugins-base --check
[..]

phase `reset-gzip-timestamps' succeeded after 0.0 seconds
starting phase `compress-documentation'
compressing documentation in 
'/gnu/store/g3iwkhs7sjrhsaqq3bwmj81mxsa5c3d1-gst-plugins-base-1.14.1/share/man' 
with "gzip" and flags ("--best" "--no-name")
phase `compress-documentation' succeeded after 0.0 seconds
/gnu/store/58i3gmidcbksf7cxwhfjrp2w22k6glqa-gst-plugins-base-1.14.1-doc
/gnu/store/g3iwkhs7sjrhsaqq3bwmj81mxsa5c3d1-gst-plugins-base-1.14.1


But this one fails:

$>guix packge -i wine

FAIL: elements/opus
===

Running suite(s): opus
33%: Checks: 6, Failures: 0, Errors: 4
gstcheck.c:596:E:general:test_opus_encode_nothing:0: (after this point) 
Received signal 11 (Segmentation fault)
gstcheck.c:596:E:general:test_opus_encode_samples:0: (after this point) 
Received signal 11 (Segmentation fault)
gstcheck.c:596:E:general:test_opus_encode_properties:0: (after this point) 
Received signal 11 (Segmentation fault)
elements/opus.c:429:E:general:test_opus_decode_plc_timestamps_with_fec:0: 
(after this point) Received signal 11 (Segmentation fault)
Check suite opus ran in 1.356s (tests failed: 4)
FAIL elements/opus (exit status: 4)

Backtrace:
   4 (primitive-load "/gnu/store/ki3kvmzipvf8baabfyaw1ncf4ax…")
In ice-9/eval.scm:
   191:35  3 (_ _)
In srfi/srfi-1.scm:
640:9  2 (for-each # …)
In 
/gnu/store/cgnrsi20mwcm1s3z9ab8qw125m73l4qd-module-import/guix/build/gnu-build-system.scm:
   799:31  1 (_ _)
369:6  0 (check #:target _ #:make-flags _ #:tests? _ # _ # _ # _)

/gnu/store/cgnrsi20mwcm1s3z9ab8qw125m73l4qd-module-import/guix/build/gnu-build-system.scm:369:6:
 In procedure check:
Throw to key `srfi-34' with args `(#)'.
builder for 
`/gnu/store/yrk539har2g5pw1rw5b9k8nq9p0w3c1h-gst-plugins-base-1.14.1.drv' 
failed with exit code 1
cannot build derivation 
`/gnu/store/h1m3fdqr7igb0k94zxlf9kw5rwhkmdyc-wine-3.0.2.drv': 1 dependencies 
couldn't be built
guix package: error: build failed: build of 
`/gnu/store/h1m3fdqr7igb0k94zxlf9kw5rwhkmdyc-wine-3.0.2.drv' failed


Björn


pgpmwLCSgcPqo.pgp
Description: OpenPGP digital signature


Re: gst-plugins-base: Test suite failed: FAIL: elements/opus

2018-07-20 Thread Leo Famulari
On Wed, Jun 20, 2018 at 12:36:18PM -0400, Leo Famulari wrote:
> Okay, are you able to send a patch to disable the test and report this
> issue upstream?

Did this bug ever get reported upstream?


signature.asc
Description: PGP signature


Re: gst-plugins-base: Test suite failed: FAIL: elements/opus

2018-06-25 Thread Leo Famulari
On Wed, Jun 20, 2018 at 11:08:23PM +0200, Marius Bakke wrote:
> Note that there is a release candidate available for Opus 1.3.  I wonder
> if that might make a difference?

I tried, but the test still segfaults.


signature.asc
Description: PGP signature


Re: gst-plugins-base: Test suite failed: FAIL: elements/opus

2018-06-20 Thread Marius Bakke
Ricardo Wurmus  writes:

> Leo Famulari  writes:
>
>> On Wed, Jun 20, 2018 at 06:15:19PM +0200, Pierre Neidhardt wrote:
>>> I'm till seeing this problem.
>>>
>>> > guix --version
>>> guix (GNU Guix) d39c9efa11168f5a441ac60b3ed486f2ac0b4c73
>>>
>>> > guix pull -l
>>> # ...
>>> Generation 2Jun 19 2018 14:10:01(current)
>>>   guix d39c9ef
>>> repository URL: https://git.savannah.gnu.org/git/guix.git
>>> branch: origin/master
>>> commit: d39c9efa11168f5a441ac60b3ed486f2ac0b4c73
>>>
>>>
>>> I'm on a x86_64 machine with kernel 4.14.33.
>>
>> Okay, are you able to send a patch to disable the test and report this
>> issue upstream?
>
> On i686 the test fails with a segfault.  I would be uncomfortable with
> disabling the test before we understand the cause of the segfault.  It
> may be better to remove libopus complete if it turns out that one could
> trigger the segfault at runtime, outside of the test context.

Note that there is a release candidate available for Opus 1.3.  I wonder
if that might make a difference?

https://archive.mozilla.org/pub/opus/


signature.asc
Description: PGP signature


Re: gst-plugins-base: Test suite failed: FAIL: elements/opus

2018-06-20 Thread Ricardo Wurmus


Leo Famulari  writes:

> On Wed, Jun 20, 2018 at 06:15:19PM +0200, Pierre Neidhardt wrote:
>> I'm till seeing this problem.
>>
>> > guix --version
>> guix (GNU Guix) d39c9efa11168f5a441ac60b3ed486f2ac0b4c73
>>
>> > guix pull -l
>> # ...
>> Generation 2 Jun 19 2018 14:10:01(current)
>>   guix d39c9ef
>> repository URL: https://git.savannah.gnu.org/git/guix.git
>> branch: origin/master
>> commit: d39c9efa11168f5a441ac60b3ed486f2ac0b4c73
>>
>>
>> I'm on a x86_64 machine with kernel 4.14.33.
>
> Okay, are you able to send a patch to disable the test and report this
> issue upstream?

On i686 the test fails with a segfault.  I would be uncomfortable with
disabling the test before we understand the cause of the segfault.  It
may be better to remove libopus complete if it turns out that one could
trigger the segfault at runtime, outside of the test context.

--
Ricardo




Re: gst-plugins-base: Test suite failed: FAIL: elements/opus

2018-06-20 Thread Pierre Neidhardt

I tried disabling the tests in a package override in my GUIX_PACKAGE_PATH:

--8<---cut here---start->8---
(arguments
 `(...
   #:tests? #f 
   ...
--8<---cut here---end--->8---
   
or with

--8<---cut here---start->8---
(arguments
 `(...
   #:phases
   (modify-phases %standard-phases
 (delete 'check)
   ...
--8<---cut here---end--->8---

Surprisingly, it did not work.
I wonder if my override is taken into account.
I also wonder how to disable individual tests.
I haven't spent much time on it as I am rather busy these days, sorry :p

-- 
Pierre Neidhardt


signature.asc
Description: PGP signature


Re: gst-plugins-base: Test suite failed: FAIL: elements/opus

2018-06-20 Thread Leo Famulari
On Wed, Jun 20, 2018 at 06:15:19PM +0200, Pierre Neidhardt wrote:
> I'm till seeing this problem.
> 
> > guix --version
> guix (GNU Guix) d39c9efa11168f5a441ac60b3ed486f2ac0b4c73
> 
> > guix pull -l
> # ...
> Generation 2  Jun 19 2018 14:10:01(current)
>   guix d39c9ef
> repository URL: https://git.savannah.gnu.org/git/guix.git
> branch: origin/master
> commit: d39c9efa11168f5a441ac60b3ed486f2ac0b4c73
> 
> 
> I'm on a x86_64 machine with kernel 4.14.33.

Okay, are you able to send a patch to disable the test and report this
issue upstream?


signature.asc
Description: PGP signature


Re: gst-plugins-base: Test suite failed: FAIL: elements/opus

2018-06-20 Thread Pierre Neidhardt

I'm till seeing this problem.

> guix --version
guix (GNU Guix) d39c9efa11168f5a441ac60b3ed486f2ac0b4c73

> guix pull -l
# ...
Generation 2Jun 19 2018 14:10:01(current)
  guix d39c9ef
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: origin/master
commit: d39c9efa11168f5a441ac60b3ed486f2ac0b4c73


I'm on a x86_64 machine with kernel 4.14.33.

-- 
Pierre Neidhardt

Weinberg's Second Law:
If builders built buildings the way programmers wrote programs,
then the first woodpecker that came along would destroy civilization.


signature.asc
Description: PGP signature


Re: gst-plugins-base: Test suite failed: FAIL: elements/opus

2018-06-20 Thread Leo Famulari
On Tue, Jun 19, 2018 at 04:13:09PM +0200, Nicolas Goaziou wrote:
> Hello,
> 
> Pierre Neidhardt  writes:
> 
> > I can't update my packages `guix package -u`, gst-plugins-base fails:
> 
> [...]
> 
> > FAIL: elements/opus
> > ===
> >
> > Running suite(s): opus
> > 33%: Checks: 6, Failures: 0, Errors: 4
> > gstcheck.c:596:E:general:test_opus_encode_nothing:0: (after this point) 
> > Received signal 11 (Segmentation fault)
> > gstcheck.c:596:E:general:test_opus_encode_samples:0: (after this point) 
> > Received signal 11 (Segmentation fault)
> > gstcheck.c:596:E:general:test_opus_encode_properties:0: (after this point) 
> > Received signal 11 (Segmentation fault)
> > elements/opus.c:429:E:general:test_opus_decode_plc_timestamps_with_fec:0: 
> > (after this point) Received signal 11 (Segmentation fault)
> > Check suite opus ran in 0.014s (tests failed: 4)
> > FAIL elements/opus (exit status: 4)
> 
> [...]
> 
> > Anyone else?
> 
> Ditto. It breaks wine upgrade (even wine64).
> 
> Quick and dirty fix: what about disabling elements/opus test? It doesn't
> look like a vital part.

I can't reproduce this on my x86_64 machine with a 4.17.* kernel.

Are you still seeing this problem? If so, what is `guix --version`?

There is a substitute available, at least for recent Guix.


signature.asc
Description: PGP signature


Re: gst-plugins-base: Test suite failed: FAIL: elements/opus

2018-06-19 Thread Nicolas Goaziou
Hello,

Pierre Neidhardt  writes:

> I can't update my packages `guix package -u`, gst-plugins-base fails:

[...]

> FAIL: elements/opus
> ===
>
> Running suite(s): opus
> 33%: Checks: 6, Failures: 0, Errors: 4
> gstcheck.c:596:E:general:test_opus_encode_nothing:0: (after this point) 
> Received signal 11 (Segmentation fault)
> gstcheck.c:596:E:general:test_opus_encode_samples:0: (after this point) 
> Received signal 11 (Segmentation fault)
> gstcheck.c:596:E:general:test_opus_encode_properties:0: (after this point) 
> Received signal 11 (Segmentation fault)
> elements/opus.c:429:E:general:test_opus_decode_plc_timestamps_with_fec:0: 
> (after this point) Received signal 11 (Segmentation fault)
> Check suite opus ran in 0.014s (tests failed: 4)
> FAIL elements/opus (exit status: 4)

[...]

> Anyone else?

Ditto. It breaks wine upgrade (even wine64).

Quick and dirty fix: what about disabling elements/opus test? It doesn't
look like a vital part.

Regards,

-- 
Nicolas Goaziou0x80A93738



gst-plugins-base: Test suite failed: FAIL: elements/opus

2018-06-19 Thread Pierre Neidhardt

I can't update my packages `guix package -u`, gst-plugins-base fails:

--8<---cut here---start->8---
make  check-TESTS
make[3]: Entering directory 
'/tmp/guix-build-gst-plugins-base-1.14.1.drv-0/gst-plugins-base-1.14.1/tests/check'
make[4]: Entering directory 
'/tmp/guix-build-gst-plugins-base-1.14.1.drv-0/gst-plugins-base-1.14.1/tests/check'
PASS: generic/clock-selection
PASS: generic/states
PASS: libs/libsabi
PASS: libs/allocators
PASS: libs/audio
PASS: libs/audiocdsrc
PASS: libs/audiodecoder
PASS: libs/audioencoder
PASS: libs/baseaudiovisualizer
PASS: libs/discoverer
PASS: libs/fft
PASS: libs/navigation
PASS: libs/pbutils
PASS: libs/profile
PASS: libs/mikey
PASS: libs/rtp
PASS: libs/rtpbasedepayload
PASS: libs/rtpbasepayload
PASS: libs/rtsp
PASS: libs/rtspconnection
PASS: libs/sdp
PASS: libs/tag
PASS: libs/video
PASS: libs/videodecoder
PASS: libs/videoencoder
PASS: libs/videotimecode
PASS: libs/xmpwriter
PASS: pipelines/simple-launch-lines
PASS: pipelines/basetime
PASS: pipelines/capsfilter-renegotiation
PASS: pipelines/streamsynchronizer
PASS: elements/adder
PASS: elements/appsink
PASS: elements/appsrc
PASS: elements/audioconvert
PASS: elements/audiointerleave
PASS: elements/audiomixer
PASS: elements/audiorate
PASS: elements/audioresample
PASS: elements/audiotestsrc
PASS: elements/encodebin
PASS: pipelines/gio
PASS: pipelines/oggmux
FAIL: elements/opus
PASS: elements/textoverlay
PASS: elements/decodebin
PASS: elements/playbin
PASS: elements/playbin-complex
PASS: elements/streamsynchronizer
PASS: elements/playsink
PASS: elements/rawaudioparse
PASS: elements/rawvideoparse
PASS: elements/subparse
PASS: elements/multifdsink
PASS: elements/multisocketsink
PASS: pipelines/tcp
PASS: pipelines/theoraenc
PASS: gst/typefindfunctions
PASS: elements/videoconvert
PASS: elements/videorate
PASS: elements/videoscale
PASS: elements/videoscale-1
PASS: elements/videoscale-2
PASS: elements/videoscale-3
PASS: elements/videoscale-4
PASS: elements/videoscale-5
PASS: elements/videoscale-6
PASS: elements/videotestsrc
PASS: elements/volume
PASS: elements/vorbisdec
PASS: pipelines/vorbisenc
PASS: pipelines/vorbisdec
PASS: elements/vorbistag
PASS: libs/gstlibscpp
PASS: orc/video
PASS: orc/audio
PASS: orc/audiomixer
PASS: orc/adder
PASS: orc/volume
PASS: orc/videotestsrc

Testsuite summary for GStreamer Base Plug-ins 1.14.1

# TOTAL: 80
# PASS:  79
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

See tests/check/test-suite.log
Please report to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer

make[4]: *** [Makefile:4469: test-suite.log] Error 1
make[4]: Leaving directory 
'/tmp/guix-build-gst-plugins-base-1.14.1.drv-0/gst-plugins-base-1.14.1/tests/check'
make[3]: *** [Makefile:4577: check-TESTS] Error 2
make[3]: Leaving directory 
'/tmp/guix-build-gst-plugins-base-1.14.1.drv-0/gst-plugins-base-1.14.1/tests/check'
make[2]: *** [Makefile:5292: check-am] Error 2
make[2]: Leaving directory 
'/tmp/guix-build-gst-plugins-base-1.14.1.drv-0/gst-plugins-base-1.14.1/tests/check'
make[1]: *** [Makefile:639: check-recursive] Error 1
make[1]: Leaving directory 
'/tmp/guix-build-gst-plugins-base-1.14.1.drv-0/gst-plugins-base-1.14.1/tests'
make: *** [Makefile:748: check-recursive] Error 1

Test suite failed, dumping logs.

--- ./tests/check/test-suite.log 


   GStreamer Base Plug-ins 1.14.1: tests/check/test-suite.log


# TOTAL: 80
# PASS:  79
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: elements/opus
===

Running suite(s): opus
33%: Checks: 6, Failures: 0, Errors: 4
gstcheck.c:596:E:general:test_opus_encode_nothing:0: (after this point) 
Received signal 11 (Segmentation fault)
gstcheck.c:596:E:general:test_opus_encode_samples:0: (after this point) 
Received signal 11 (Segmentation fault)
gstcheck.c:596:E:general:test_opus_encode_properties:0: (after this point) 
Received signal 11 (Segmentation fault)
elements/opus.c:429:E:general:test_opus_decode_plc_timestamps_with_fec:0: 
(after this point) Received signal 11 (Segmentation fault)
Check suite opus ran in 0.014s (tests failed: 4)
FAIL elements/opus (exit status: 4)


Backtrace:
   4 (primitive-load "/gnu/store/q3v63skrwjvchkcdx4aji14sqsz?")
In ice-9/eval.scm:
   191:35  3 (_ _)
In srfi/srfi-1.scm:
640:9  2 (for-each # ?)
In 
/gnu/store/cgnrsi20mwcm1s3z9ab8qw125m73l4qd-module-import/guix/build/gnu-build-system.scm:
   799:31  1 (_ _)
369:6  0 (check #:target _ #:make-flags _ #:tests? _ # _ # _ # _)