Project

General

Profile

Actions

Bug #2828

closed

some osmo-trx tests failing in i586 OBS machine

Added by pespin about 6 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
01/13/2018
Due date:
% Done:

50%

Spec Reference:

Description

Tests run fine in x86_64 but not in x86.

## ---------------------------------- ##
## osmo-trx 0.2.0.28-8639 test suite. ##
## ---------------------------------- ##

Regression tests.

  1: BitVectorTest                                   ok
  2: InterthreadTest                                 ok
  3: LogTest                                         ok
  4: PRBSTest                                        ok
  5: SocketsTest                                     ok
  6: TimevalTest                                     FAILED (testsuite.at:38)
  7: VectorTest                                      ok
  8: convolve_test                                   FAILED (testsuite.at:50)

https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/osmo-trx/Debian_9.0/i586

I can reproduce the 2 test failures in my i686 netbook. I attach the output of the testsuite.dir in here.


Files

testsuite.tar.gz testsuite.tar.gz 12 KB pespin, 01/14/2018 09:46 PM

Related issues

Related to OsmoTRX - Bug #2826: osmo-trx: different output in convolve test between x86 vs neon vs neon-vfpv4Resolvedtnt01/11/2018

Actions
Actions #2

Updated by pespin about 6 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 50

Timeval test should be fixed in already merged osmo-trx 28ce315a3225188211c2ed52844716f88093035e.

Actions #3

Updated by pespin about 6 years ago

For the convolve_test, there seems to be small rounding issues between code used in here (i686) and x86_64:

-float y[] = {0.389293,10.824917,-0.676577,10.619646,0.283489,11.279525,0.384482,11.586230,0.711259,11.540458,-0.391531,11.281723,0.019900,12.278080,-0.070459,11.104558,0.087938,11.825965,-1.003252,11.698885,0.358887,11.911197,-0.678904,11.933812,0.245140,11.886644}
+float y[] = {0.389292,10.824915,-0.676577,10.619645,0.283489,11.279525,0.384482,11.586229,0.711259,11.540459,-0.391531,11.281723,0.019899,12.278080,-0.070459,11.104559,0.087938,11.825966,-1.003252,11.698885,0.358887,11.911197,-0.678904,11.933812,0.245140,11.886644}

-float y[] = {5.354852,5.387001,4.829278,5.046340,5.849788,5.775999,5.653334,5.372714,5.999860,5.593828,5.628739,5.178002,6.010774,6.186034,6.337766,5.538046,5.616131,6.289612,5.486091,5.835261,6.277413,5.894117,5.563587,6.082063,5.828556,6.160175}
+float y[] = {5.354852,5.387001,4.829278,5.046340,5.849788,5.775999,5.653334,5.372714,5.999860,5.593828,5.628739,5.178002,6.010775,6.186034,6.337765,5.538045,5.616131,6.289611,5.486091,5.835262,6.277413,5.894117,5.563587,6.082062,5.828556,6.160175}

Actions #4

Updated by pespin about 6 years ago

  • Related to Bug #2826: osmo-trx: different output in convolve test between x86 vs neon vs neon-vfpv4 added
Actions #5

Updated by pespin about 6 years ago

  • Priority changed from Urgent to Normal

As the Timeval test was fixed and the convolve_test one is disabled for non x86_64 buildhosts, I decrease priority to normal since it can build fine.

I also sent an e-mail to the mailing list and ttsou stated he was going to look at #2826 in a short time.
https://lists.osmocom.org/pipermail/openbsc/2018-January/011655.html

Actions #6

Updated by pespin over 5 years ago

  • Status changed from In Progress to Feedback
  • Assignee changed from pespin to ttsou

Hi ttsou, any news regarding this topic and #2826?

Actions #7

Updated by laforge over 5 years ago

  • Assignee changed from ttsou to tnt
Actions #8

Updated by tnt over 5 years ago

pespin How can I test my branch on OBS to make sure it fixed up everything ?

Actions #9

Updated by laforge over 5 years ago

On Fri, Dec 21, 2018 at 03:56:32PM +0000, tnt [REDMINE] wrote:

pespin How can I test my branch on OBS to make sure it fixed up everything ?

you would have to clone the package from network:osmocom:nightly to a personal
repository like tnt:osmocom-nightly. you can do that using "osc copypac", IIRC
osc copypac network:osmocom:nightly osmo-trx tnt:foobar

You can then "osc checkout" your project ("tnt:foobar") in this example, update
the source code to the code including your branch/patches and then "osc commit"
the changes to the server.

Actions #10

Updated by tnt about 5 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)