[Fuego] Benchmark.blobsallad test build failing on my x86 64-bit ubuntu pc
dhinakar k
dhinakar.k at gmail.com
Fri Jun 9 01:48:11 UTC 2017
Fine Daniel, thanks for the response.
Regards,
Dhinakar
On Jun 9, 2017 5:38 AM, "Daniel Sangorrin" <daniel.sangorrin at toshiba.co.jp>
wrote:
> Hi Dhinakar,
>
> Sorry for the delay.
> Thanks for reporting. I will look at it when I have time (sorry, I'm busy
> at the moment).
>
> Tim: how should we manage issues/bugs? I can't find the "issues"
> functionality
> that github provides on bitbucket.
>
> Thanks,
> Daniel
>
> > -----Original Message-----
> > From: dhinakar k [mailto:dhinakar.k at gmail.com]
> > Sent: Tuesday, June 06, 2017 1:52 AM
> > To: Daniel Sangorrin
> > Cc: fuego at lists.linuxfoundation.org
> > Subject: Re: Benchmark.blobsallad test build failing on my x86 64-bit
> ubuntu pc
> >
> > Hi Daniel,
> >
> >
> > It seems the parser has an issue. I posted in another thread about it.
> >
> > But thought of posting the error log here for your reference.
> >
> > Please check and confirm.
> >
> >
> > ##### doing fuego phase: processing ########
> > + processing
> > + local RETURN_VALUE=0
> > + call_if_present test_processing
> > + declare -f -F test_processing
> > + return 0
> > + '[' 0 -ne 0 ']'
> > + fail_check_cases
> > + testlog=/fuego-rw/logs/Benchmark.blobsallad/ubuntu-
> x86-target.default.3.3/testlog.txt
> > + slog_prefix=/fuego-rw/logs/Benchmark.blobsallad/ubuntu-
> x86-target.default.3.3/syslog
> > ++ tr . _
> > ++ echo BENCHMARK.BLOBSALLAD
> > + upName=BENCHMARK_BLOBSALLAD
> > + fcname=BENCHMARK_BLOBSALLAD_FAIL_CASE_COUNT
> > + fcc=1
> > + '[' -z 1 ']'
> > + echo 'Going to check 1 fail cases for ubuntu-x86-target.default.
> Benchmark.blobsallad'
> > Going to check 1 fail cases for ubuntu-x86-target.default.
> Benchmark.blobsallad
> > + fcc=0
> > ++ seq 0 0
> > + for n in '$(seq 0 $fcc)'
> > + fpvarname=BENCHMARK_BLOBSALLAD_FAIL_REGEXP_0
> > + fpvarmsg=BENCHMARK_BLOBSALLAD_FAIL_MESSAGE_0
> > + fpvarslog=BENCHMARK_BLOBSALLAD_FAIL_0_SYSLOG
> > + fptemplate='xrandr: command not found'
> > + fpmessage='target system does not have xrandr'
> > + fpslog=
> > + '[' '!' -z '' ']'
> > + grep -e 'xrandr: command not found' /fuego-rw/logs/Benchmark.
> blobsallad/ubuntu-x86-target.default.3.3/testlog.txt
> > + echo 'No fail cases detected for ubuntu-x86-target.default.
> Benchmark.blobsallad'
> > No fail cases detected for ubuntu-x86-target.default.
> Benchmark.blobsallad
> > + '[' 0 -ne 0 ']'
> > + syslog_cmp
> > + PREFIX=/fuego-rw/logs/Benchmark.blobsallad/ubuntu-
> x86-target.default.3.3/syslog
> > + rc=0
> > + '[' -f /fuego-rw/logs/Benchmark.blobsallad/ubuntu-x86-target.default.3.3/syslog.before.txt
> ']'
> > + diff -ua /fuego-rw/logs/Benchmark.blobsallad/ubuntu-x86-target.default.3.3/syslog.before.txt
> /fuego-
> > rw/logs/Benchmark.blobsallad/ubuntu-x86-target.default.3.3/
> syslog.after.txt
> > + grep -vEf /fuego-core/engine/scripts/syslog.ignore
> > + grep -E -e '\.(Bug:|Oops)'
> > + '[' 0 -eq 1 ']'
> > + return 0
> > + '[' 0 -ne 0 ']'
> > + PYTHON_ARGS='-W ignore::DeprecationWarning -W ignore::UserWarning'
> > + '[' -e /fuego-core/engine/tests/Benchmark.blobsallad/parser.py ']'
> > + run_python -W ignore::DeprecationWarning -W ignore::UserWarning
> /fuego-core/engine/tests/Benchmark.blobsallad/parser.py
> > + '[' '!' -z /usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
> ']'
> > + echo 'running python with PATH=/usr/local/bin:/usr/
> local/bin:/usr/bin:/bin:/usr/local/games:/usr/games'
> > running python with PATH=/usr/local/bin:/usr/
> local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
> > + PATH=/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/
> local/games:/usr/games
> > + python -W ignore::DeprecationWarning -W ignore::UserWarning
> /fuego-core/engine/tests/Benchmark.blobsallad/parser.py
> > Reading current values from /fuego-rw/logs/Benchmark.
> blobsallad/ubuntu-x86-target.default.3.3/testlog.txt
> > + rc=1
> > + '[' 1 -eq 0 ']'
> > + '[' 1 -eq 2 ']'
> > + '[' 1 -eq 3 ']'
> > + abort_job 'ERROR: problem while running the parser'
> > + set +x
> >
> > *** ABORTED ***
> >
> > Fuego error reason: ERROR: problem while running the parser
> >
> > Build step 'Execute shell' marked build as failure
> > [description-setter] Description set: <a href="/fuego/userContent/
> fuego.logs/Benchmark.blobsallad/ubuntu-x86-
> > target.default.3.3/testlog.txt">log</a>
> > Finished: FAILURE
> >
> > Regards,
> > Dhinakar
> >
> > On Fri, May 26, 2017 at 5:43 PM, dhinakar k <dhinakar.k at gmail.com
> <mailto:dhinakar.k at gmail.com> > wrote:
> >
> >
> > Sure Daniel I will check and let you know.
> >
> > Regards,
> > Dhinakar
> >
> > On May 26, 2017 6:43 AM, "Daniel Sangorrin" <
> daniel.sangorrin at toshiba.co.jp <mailto:daniel.sangorrin at toshiba.co.jp> >
> > wrote:
> >
> >
> > Hi Dhinakar,
> >
> > > -----Original Message-----
> > > From: dhinakar k [mailto:dhinakar.k at gmail.com <mailto:
> dhinakar.k at gmail.com> ]
> > > Sent: Thursday, May 25, 2017 3:56 AM
> > > Yes you are right blobsallad is dependent on sdl, cairo
> and x11. I installed the following in the docker container as
> > well as on my x86 64-
> > > bit ubuntu host. One question here, for all such tests
> (functional or benchmark) do I need to install the
> > dependencies in docker as well
> > > as host before the start of the test? Also, how is it
> done in case of arm based target boards? Should I install the
> > dependencies on the
> > > target board?
> > >
> > > sudo apt-get install libsdl1.2-dev libsdl1.2debian
> > > sudo apt-get install libcairo2-dev
> > > sudo apt-get install x11-xserver-utils
> > >
> > > It got built, deployed and ran successfully (see the
> results below). But still the test result is a failure. I am not sure
> > why it did not
> > > succeed. May be some problem in plotting. I have pasted
> the log at the end of this email. Please check and let me
> > know what could be
> > > issue.
> >
> > Thanks for the log. It looks like a bug in the parser
> (common.py file), maybe one that I fixed on the next branch (see
> > patch "parser: fix bug in the parser").
> > Could you check with the next branch or apply that patch
> to master and see if it works?
> >
> > Thanks,
> > Daniel
> >
> >
> > >
> > >
> > > Note: Sorry about the html based emails, my official
> email client seems to be configured that way. I didn't think it
> > was because of that.
> > > Thanks for pointing it out. I will take care of it from
> now on.
> > >
> > >
> > > Regards,
> > >
> > > Dhinakar
> > >
> > > number of blobs: 2
> > > 2 objects = 19.93 fps
> > > number of blobs: 3
> > > number of blobs: 4
> > > 4 objects = 19.54 fps
> > > number of blobs: 5
> > > number of blobs: 6
> > > number of blobs: 7
> > > number of blobs: 8
> > > 8 objects = 19.78 fps
> > > number of blobs: 9
> > > number of blobs: 10
> > > number of blobs: 11
> > > number of blobs: 12
> > > number of blobs: 13
> > > number of blobs: 14
> > > number of blobs: 15
> > > number of blobs: 16
> > > 16 objects = 18.50 fps
> > > LOG
> > > *****
> > >
> > > ##### doing fuego phase: build ########
> > > gcc -g -Wall -I//usr/include -I//usr/include/cairo
> -I//usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c
> > bs_main.c
> > > gcc -g -Wall -I//usr/include -I//usr/include/cairo
> -I//usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c
> > bs_vector.c
> > > gcc -g -Wall -I//usr/include -I//usr/include/cairo
> -I//usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c
> > bs_pointmass.c
> > > gcc -g -Wall -I//usr/include -I//usr/include/cairo
> -I//usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c
> > bs_joint.c
> > > gcc -g -Wall -I//usr/include -I//usr/include/cairo
> -I//usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c
> > bs_stick.c
> > > gcc -g -Wall -I//usr/include -I//usr/include/cairo
> -I//usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c bs_env.c
> > > gcc -g -Wall -I//usr/include -I//usr/include/cairo
> -I//usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c
> > bs_array.c
> > > gcc -g -Wall -I//usr/include -I//usr/include/cairo
> -I//usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c
> > bs_blob.c
> > > gcc -g -Wall -I//usr/include -I//usr/include/cairo
> -I//usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c
> > bs_blob_collective.c
> > > gcc -g -Wall -I//usr/include -I//usr/include/cairo
> -I//usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c
> > bs_cairo.c
> > > gcc -g -Wall -I//usr/include -I//usr/include/cairo
> -I//usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c bs_util.c
> > > gcc -g -Wall -I//usr/include -I//usr/include/cairo
> -I//usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c bs_list.c
> > > gcc -g -Wall -I//usr/include -I//usr/include/cairo
> -I//usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c
> > bs_octree.c
> > > bs_octree.c:493:1: warning: 'bs_octree_draw_nodes'
> defined but not used [-Wunused-function]
> > > bs_octree_draw_nodes(bs_octree_node_t *pNode,
> > > ^
> > > gcc -g -Wall -I//usr/include -I//usr/include/cairo
> -I//usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c
> > bs_vector_util.c
> > > gcc -g -Wall -I//usr/include -I//usr/include/cairo
> -I//usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c
> > bs_profiler.c
> > > gcc -g -Wall -I//usr/include -I//usr/include/cairo
> -I//usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c
> > bs_rubberband.c
> > > bs_rubberband.c: In function 'bs_rubberband_create':
> > > bs_rubberband.c:13:20: warning: unused variable 'p'
> [-Wunused-variable]
> > > bs_int32_t i, j, p;
> > > ^
> > > bs_rubberband.c: In function 'bs_rubberband_sc':
> > > bs_rubberband.c:57:20: warning: unused variable 'k'
> [-Wunused-variable]
> > > bs_int32_t i, j, k;
> > > ^
> > > gcc -g -o blobsallad bs_main.o bs_vector.o
> bs_pointmass.o bs_joint.o bs_stick.o bs_env.o bs_array.o bs_blob.o
> > bs_blob_collective.o
> > > bs_cairo.o bs_util.o bs_list.o bs_octree.o
> bs_vector_util.o bs_profiler.o bs_rubberband.o -Wl,-rpath-link=//usr/lib -
> > L//usr/lib -lcairo -
> > > lSDL -lpthread -lm
> > > Fuego test_build duration=1.58455991745 seconds
> > > ##### doing fuego phase: deploy ########
> > > ##### doing fuego phase: pre_deploy ########
> > > ##### doing fuego phase: test_deploy ########
> > > ##### doing fuego phase: post_deploy ########
> > > ##### doing fuego phase: run ########
> > > WARNING: test log file parameter empty, so will use
> default
> > > number of blobs: 2
> > > 2 objects = 19.93 fps
> > > number of blobs: 3
> > > number of blobs: 4
> > > 4 objects = 19.54 fps
> > > number of blobs: 5
> > > number of blobs: 6
> > > number of blobs: 7
> > > number of blobs: 8
> > > 8 objects = 19.78 fps
> > > number of blobs: 9
> > > number of blobs: 10
> > > number of blobs: 11
> > > number of blobs: 12
> > > number of blobs: 13
> > > number of blobs: 14
> > > number of blobs: 15
> > > number of blobs: 16
> > > 16 objects = 18.50 fps
> > > ##### doing fuego phases: get_testlog AND processing
> ########
> > >
> > > RESULT ANALYSIS
> > >
> > > running python with PATH=/usr/local/bin:/usr/
> local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
> > > Reading current values from /fuego-rw/logs/Benchmark.
> blobsallad/docker.default.13.13/testlog.txt
> > > Test section 8_objects: test result 19.78 satisfies (ge)
> threshold 1.
> > > Test section 2_objects: test result 19.93 satisfies (ge)
> threshold 1.
> > > Test section 4_objects: test result 19.54 satisfies (ge)
> threshold 1.
> > > Test section 16_objects: test result 18.50 satisfies
> (ge) threshold 1.
> > > Data file /fuego-rw/logs/Benchmark.blobsallad/plot.data
> was updated.
> > > Reading plot data from /fuego-rw/logs/Benchmark.
> blobsallad/plot.data
> > > Traceback (most recent call last):
> > > File "/fuego-core/engine/tests/
> Benchmark.blobsallad/parser.py", line 22, in <module>
> > > sys.exit(plib.process_data(ref_section_pat,
> cur_dict, 's', 'FPS'))
> > > File "/fuego-core/engine/scripts/parser/common.py",
> line 98, in process_data
> > > create_plot(label)
> > > File "/fuego-core/engine/scripts/parser/common.py",
> line 260, in create_plot
> > > ax.plot(plotrange, test_results_data.get(key).split(",")[-bnum:],
> 'o-', label='Test '+key)
> > > File "/usr/lib/python2.7/dist-
> packages/matplotlib/axes/_axes.py", line 1374, in plot
> > > for line in self._get_lines(*args, **kwargs):
> > > File "/usr/lib/python2.7/dist-
> packages/matplotlib/axes/_base.py", line 303, in _grab_next_args
> > > for seg in self._plot_args(remaining, kwargs):
> > > File "/usr/lib/python2.7/dist-
> packages/matplotlib/axes/_base.py", line 281, in _plot_args
> > > x, y = self._xy_from_xy(x, y)
> > > File "/usr/lib/python2.7/dist-
> packages/matplotlib/axes/_base.py", line 223, in _xy_from_xy
> > > raise ValueError("x and y must have same first
> dimension")
> > > ValueError: x and y must have same first dimension
> > > in signal_handler
> > > ##### doing fuego phase: post_test ########
> > > Going to check 1 fail cases for docker.default.Benchmark.
> blobsallad
> > > Build step 'Execute shell' marked build as failure
> > > [description-setter] Description set: <a
> > > href="/fuego/userContent/fuego.logs/Benchmark.
> blobsallad/docker.default.13.13/testlog.txt">log</a>
> > > Finished: FAILURE
> > >
> > > > -----Original Message-----
> > > > From: fuego-bounces at lists.linuxfoundation.org <mailto:
> fuego-bounces at lists.linuxfoundation.org>
> > <mailto:fuego-bounces at lists.linuxfoundation.org <mailto:
> fuego-bounces at lists.linuxfoundation.org> > [mailto:fuego-
> > <mailto:fuego->
> > > bounces at lists.linuxfoundation.org <mailto:bounces at lists.
> linuxfoundation.org> <mailto:fuego-
> > bounces at lists.linuxfoundation.org <mailto:fuego-bounces at lists.
> linuxfoundation.org> > ] On Behalf Of Dhinakar
> > > > Kalyanasundaram
> > > > Sent: Wednesday, May 24, 2017 4:20 PM
> > > > Benchmark.blobsallad test build failing on my x86
> 64-bit ubuntu pc.
> > > >
> > > > Jenkins job console error -> ->
> > > >
> > > > /tmp/hudson4393205057432627536.sh: line 10: 19407
> Killed timeout --signal=9 100m /bin/bash
> > > > $FUEGO_CORE/engine/tests/${TESTDIR}/${TESTNAME}.sh
> > > > Build step 'Execute shell' marked build as failure
> > > >
> > > >
> > > >
> > > > Can anyone please let me know if they have executed
> this test and passed?
> > >
> > > I haven't tried this one yet. From what I see at
> https://blobsallad.se/ it looks
> > > like it probably has dependencies for the SDK such as
> SDL and Cairo.
> > > Do you have libsdl-dev and libcairo-dev installed?
> > > Since it's graphical you will need a target with X (it's
> not going to work on docker)
> > > Can you check the build log and send the line that
> causes the failure?
> > > "> Build step 'Execute shell' marked build as failure"
> provides no information.
> > >
> > > By the way, could you send your emails in clear text
> instead of html? Most of your mails
> > > can't be seen on the archive because of that:
> > > https://lists.linuxfoundation.
> org/pipermail/fuego/2017-May/000669.html
> > <https://lists.linuxfoundation.org/pipermail/fuego/2017-May/000669.html>
> > <https://lists.linuxfoundation.org/pipermail/fuego/2017- <https://lists.
> linuxfoundation.org/pipermail/fuego/2017->
> > > May/000669.html>
> > >
> > > Thanks
> > > Daniel
> >
> >
> >
> >
> >
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/fuego/attachments/20170609/7faf74e7/attachment-0001.html>
More information about the Fuego
mailing list