Bug 1234325

Summary: Some tests from gstreamer1-plugins-base make check fail on ppc64
Product: Red Hat Enterprise Linux 7 Reporter: Vadim Rutkovsky <vrutkovs>
Component: gstreamer1-plugins-baseAssignee: Wim Taymans <wtaymans>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.2CC: tpelka, wtaymans
Target Milestone: rc   
Target Release: ---   
Hardware: ppc64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-19 07:05:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
logs, part one
none
logs, part two none

Description Vadim Rutkovsky 2015-06-22 11:38:01 UTC
Created attachment 1041745 [details]
logs, part one

Description of problem:
Make check exits with code 1 on ppc64

Version-Release number of selected component (if applicable):
gstreamer1-plugins-good-1.4.5-1.el7.ppc64

How reproducible:
Always

Steps to Reproduce:
1. Run 'make check' in buildroot on ppc64 machine


Actual results:
Some tests fail:
  FAIL: libs/libsabi
  FAIL: elements/adder
  FAIL: elements/playbin-complex
  FAIL: elements/volume

Expected results:
All tests pass

Additional info:

Comment 1 Vadim Rutkovsky 2015-06-22 11:40:19 UTC
Created attachment 1041746 [details]
logs, part two

Comment 3 Wim Taymans 2015-06-22 14:14:39 UTC
* PPC64 was using abi structs of PPC, I added the PPC64 ones upstream.
* The adder unit tests wants pulseaudio running.
* the volume test fails (maybe endianness problem?) will investigate more
* the playbin test wants to read /root/rpmbuild/BUILD/gst-plugins-base-1.4.5/tests/tests/files/theora-vorbis.ogg but it's not there? maybe the build
  environment and test environment run with different root directories?

Comment 4 Vadim Rutkovsky 2015-06-22 14:28:49 UTC
(In reply to Wim Taymans from comment #3)
> * The adder unit tests wants pulseaudio running.
Will check that later as soon as full gnome-session will be available

> * the playbin test wants to read
> /root/rpmbuild/BUILD/gst-plugins-base-1.4.5/tests/tests/files/theora-vorbis.
> ogg but it's not there? maybe the build
>   environment and test environment run with different root directories?

Its present in tests/files/theora-vorbis.ogg (no duplicated 'tests/tests' folder)

Comment 5 Wim Taymans 2015-06-23 11:13:39 UTC
(In reply to Vadim Rutkovsky from comment #4)
> Its present in tests/files/theora-vorbis.ogg (no duplicated 'tests/tests'
> folder)

for some reason the unit test is confused about the current directory. Did you run the test like this?

 GST_DEBUG=*:8 make elements/playbin-complex.check 2>playbin-complex.log

Comment 6 Vadim Rutkovsky 2015-06-23 11:15:38 UTC
(In reply to Wim Taymans from comment #5)
> (In reply to Vadim Rutkovsky from comment #4)
> > Its present in tests/files/theora-vorbis.ogg (no duplicated 'tests/tests'
> > folder)
> 
> for some reason the unit test is confused about the current directory. Did
> you run the test like this?
> 
>  GST_DEBUG=*:8 make elements/playbin-complex.check 2>playbin-complex.log

No, I was running 'make check' from top dir.

Comment 7 Wim Taymans 2015-07-02 13:06:08 UTC
Vadim, would it be possible to give me access to the machine you tested this on (or similar architecture, I guess it's not just this machine)?

Comment 12 Wim Taymans 2015-07-08 13:23:32 UTC
I see the problem now. It's caused by a big endian problem in the ORC package when passing the volume factor to the compiled code. There is a fix for this upstream which I will apply.

Comment 13 Wim Taymans 2015-07-08 14:04:28 UTC
I've added a new build to the errata that should fix the orcc compiler generated code on big endian machines.

Comment 15 Vadim Rutkovsky 2015-09-01 10:51:46 UTC
All tests pass on gstreamer1-plugins-base-1.4.5-1.el7.ppc64

Comment 16 errata-xmlrpc 2015-11-19 07:05:42 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2015-2221.html