All of lore.kernel.org
 help / color / mirror / Atom feed
* [Fuego] Benchmark.Stream fails with ValueError: invalid literal for float() on x86 64-bit target
       [not found] <CGME20171006122701epcms5p115d5690dd88aa15273c67b843bc0db04@epcms5p1>
@ 2017-10-06 12:27 ` Dhinakar Kalyanasundaram
  2017-10-06 15:14   ` Bird, Timothy
       [not found]   ` <CGME20171006122701epcms5p115d5690dd88aa15273c67b843bc0db04@epcms5p3>
  0 siblings, 2 replies; 4+ messages in thread
From: Dhinakar Kalyanasundaram @ 2017-10-06 12:27 UTC (permalink / raw)
  To: fuego

[-- Attachment #1: Type: text/html, Size: 6375 bytes --]

[-- Attachment #2: Type: image/gif, Size: 13402 bytes --]

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

* Re: [Fuego] Benchmark.Stream fails with ValueError: invalid literal for float() on x86 64-bit target
  2017-10-06 12:27 ` [Fuego] Benchmark.Stream fails with ValueError: invalid literal for float() on x86 64-bit target Dhinakar Kalyanasundaram
@ 2017-10-06 15:14   ` Bird, Timothy
       [not found]   ` <CGME20171006122701epcms5p115d5690dd88aa15273c67b843bc0db04@epcms5p3>
  1 sibling, 0 replies; 4+ messages in thread
From: Bird, Timothy @ 2017-10-06 15:14 UTC (permalink / raw)
  To: dhinakar.k, fuego



> -----Original Message-----
> From: fuego-bounces@lists.linuxfoundation.org [mailto:fuego-
> bounces@lists.linuxfoundation.org] On Behalf Of Dhinakar Kalyanasundaram
> Sent: Friday, October 06, 2017 5:27 AM
> To: fuego@lists.linuxfoundation.org
> Subject: [Fuego] Benchmark.Stream fails with ValueError: invalid literal for
> float() on x86 64-bit target
> 
> Hi,
> 
> 
> 
> Benchmark.Stream fails with ValueError: invalid literal for float() on x86 64-bit
> target.
> 
> The execution log has been pasted below for reference.
> 
> Please let me know how it can be fixed. Thanks in advance.

This is fixed in my 'next' branch with the following commit.

https://bitbucket.org/tbird20d/fuego-core/commits/b175ddb18094b2639ee31272a275f79cd7d81434


Please do a 'git pull' to an appropriate fuego-core repository on your host, and
let me know if it fixes it for you.
 -- Tim

> ##### doing fuego phase: build ########
> The test is already built
> Fuego test_build duration=0 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
> -------------------------------------------------------------
> STREAM version $Revision: 5.9 $
> -------------------------------------------------------------
> This system uses 8 bytes per DOUBLE PRECISION word.
> -------------------------------------------------------------
> Array size = 2000000, Offset = 0
> Total memory required = 45.8 MB.
> Each test is run 10 times, but only
> the *best* time for each is used.
> -------------------------------------------------------------
> Printing one line per active thread....
> -------------------------------------------------------------
> Your clock granularity/precision appears to be 1 microseconds.
> Each test below will take on the order of 2795 microseconds.
>    (= 2795 clock ticks)
> Increase the size of the arrays if this shows that
> you are not getting at least 20 clock ticks per test.
> -------------------------------------------------------------
> WARNING -- The above is only a rough guideline.
> For best results, please be sure you know the
> precision of your system timer.
> -------------------------------------------------------------
> Function      Rate (MB/s)   Avg time     Min time     Max time
> Copy:        8328.7451       0.0039       0.0038       0.0040
> Scale:       7978.2279       0.0040       0.0040       0.0041
> Add:         8857.6969       0.0055       0.0054       0.0057
> Triad:       9012.3368       0.0054       0.0053       0.0054
> -------------------------------------------------------------
> Solution Validates
> -------------------------------------------------------------
> ##### doing fuego phase: post_test ########
> Teardown board link
> ##### doing fuego phase: processing ########
> running python with
> PATH=/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/gam
> es
> Reading current values from /fuego-rw/logs/Benchmark.Stream/TRAV-
> Ethernet-x86.default.2.2/testlog.txt
> Traceback (most recent call last):
>   File "/fuego-core/engine/tests/Benchmark.Stream/parser.py", line 24, in
> <module>
>     sys.exit(plib.process_data(ref_section_pat, cur_dict, 's', 'Rate, MB/s'))
>   File "/fuego-core/engine/scripts/parser/common.py", line 600, in
> process_data
>     new_measure = {"name":measure, "measure": float(value)}
> ValueError: invalid literal for float(): 9012.3368 0.0054

This was caused by a bug in the parser.py for this test.

> ERROR: results did not satisfy the threshold
> Fuego: all test phases complete!
> Build step 'Execute shell' marked build as failure
> [description-setter] Description set:  <a
> href="/storm/userContent/fuego.logs/Benchmark.Stream/TRAV-Ethernet-
> x86.default.2.2/testlog.txt">testlog</a> <a
> href="/storm/userContent/fuego.logs/Benchmark.Stream/TRAV-Ethernet-
> x86.default.2.2/run.json">run.json</a> <a
> href="/storm/userContent/fuego.logs/Benchmark.Stream/TRAV-Ethernet-
> x86.default.2.2/consolelog.txt">fuegolog</a> <a
> href="/storm/userContent/fuego.logs/Benchmark.Stream/TRAV-Ethernet-
> x86.default.2.2/devlog.txt">devlog</a> <a
> href="/storm/userContent/fuego.logs/Benchmark.Stream/TRAV-Ethernet-
> x86.default.2.2/prolog.sh">prolog.sh</a>
> Finished: FAILURE
>

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

* Re: [Fuego] Benchmark.Stream fails with ValueError: invalid literal for float() on x86 64-bit target
       [not found]   ` <CGME20171006122701epcms5p115d5690dd88aa15273c67b843bc0db04@epcms5p3>
@ 2017-10-06 15:18     ` Dhinakar Kalyanasundaram
  2017-10-06 15:28       ` Bird, Timothy
  0 siblings, 1 reply; 4+ messages in thread
From: Dhinakar Kalyanasundaram @ 2017-10-06 15:18 UTC (permalink / raw)
  To: Bird, Timothy, fuego

[-- Attachment #1: Type: text/html, Size: 7351 bytes --]

[-- Attachment #2: 201602111742151_N3WZA6X7.png --]
[-- Type: image/png, Size: 33527 bytes --]

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

* Re: [Fuego] Benchmark.Stream fails with ValueError: invalid literal for float() on x86 64-bit target
  2017-10-06 15:18     ` Dhinakar Kalyanasundaram
@ 2017-10-06 15:28       ` Bird, Timothy
  0 siblings, 0 replies; 4+ messages in thread
From: Bird, Timothy @ 2017-10-06 15:28 UTC (permalink / raw)
  To: dhinakar.k, fuego



> -----Original Message-----
> From: Dhinakar Kalyanasundaram  on Friday, October 06, 2017 8:18 AM
> 
> Sorry my mistake, I just cloned fuego-core 'next' branch early this week and
> thought I have the latest code with me.
> 
> When I did a git pull now, it pulled in fixes for Benchmark.Stream as well as
> Functional.expat tests.
> 
> Both the tests are passing now.

Great!  Glad to hear they are working for you.  Thanks for reporting back.
 -- Tim


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

end of thread, other threads:[~2017-10-06 15:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20171006122701epcms5p115d5690dd88aa15273c67b843bc0db04@epcms5p1>
2017-10-06 12:27 ` [Fuego] Benchmark.Stream fails with ValueError: invalid literal for float() on x86 64-bit target Dhinakar Kalyanasundaram
2017-10-06 15:14   ` Bird, Timothy
     [not found]   ` <CGME20171006122701epcms5p115d5690dd88aa15273c67b843bc0db04@epcms5p3>
2017-10-06 15:18     ` Dhinakar Kalyanasundaram
2017-10-06 15:28       ` Bird, Timothy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.