<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><br>
</p>
<div class="moz-cite-prefix">On 2/26/19 8:49 PM, Joel Sherrill
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAF9ehCVOjHbHbkNjmgGDB+9rW7=wSscBkqJX76qQTEqZOHJOvw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr"><br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, Feb 26, 2019
at 1:28 PM Jiri Gaisler <<a
href="mailto:jiri@gaisler.se" moz-do-not-send="true">jiri@gaisler.se</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px
0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex"><br>
On 2/26/19 8:08 PM, Joel Sherrill wrote:<br>
> Hi<br>
><br>
> I think something is wrong with sis on the leon3
which is impacting rtems-tester.<br>
> ticker ends like this:<br>
><br>
> TA1 - rtems_clock_get_tod - 09:00:34
12/31/1988<br>
><br>
> *** END OF TEST CLOCK TICK ***[joel@<br>
><br>
> Notice that there is no carriage return at the
end. Hello ends with a CR and an<br>
> blank line and it passes. Similar issue on the
tests I picked which passed or failed.<br>
><br>
> Any idea what's up? I assume something isn't
quite right after all the sis work<br>
> since it is reproducible.<br>
<br>
<br>
Works OK here on Ubuntu 18.04.2 x64. Which host O/S
are you on?<br>
</blockquote>
<div><br>
</div>
<div>Interesting. OS is:</div>
<div><br>
</div>
<div>
<div>CentOS Linux release 7.5.1804 (Core) </div>
</div>
<div><br>
</div>
<div>Here is the output of my last run by hand with a
subsequent comment. Notice that</div>
<div><br>
</div>
<div>===================================</div>
<div>
<div>[joel@rtbf64c b-leon3]$ sparc-rtems5-run -a
-leon3
./sparc-rtems5/c/leon3/testsuites/sptests/sp05.exe <br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<p>The run program has some issues, I think we should sis with -r
instead:</p>
<p>$ sparc-rtems5-sis -r -leon3
./sparc-rtems5/c/leon3/testsuites/sptests/sp05.exe</p>
<p>.</p>
<p>.<br>
</p>
<p><br>
*** END OF TEST SP 5 ***<br>
<br>
Jiri.<br>
</p>
<div><br>
</div>
<p><br>
</p>
<p><br>
</p>
<blockquote type="cite"
cite="mid:CAF9ehCVOjHbHbkNjmgGDB+9rW7=wSscBkqJX76qQTEqZOHJOvw@mail.gmail.com">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div class="gmail_quote">
<div>
<div><br>
</div>
<div><br>
</div>
<div>*** BEGIN OF TEST SP 5 ***</div>
<div>*** TEST VERSION:
5.0.0.7abc497b6c763ccdc090014f310951b17c742ae9</div>
<div>*** TEST STATE: EXPECTED-PASS</div>
<div>*** TEST BUILD: RTEMS_NETWORKING</div>
<div>*** TEST TOOLS: 7.4.0 20181206 (RTEMS 5, RSB
38241392a4f96dabf2d1aba51a43dcb623db4dfb, Newlib
1d35a003f)</div>
<div>TA1 - rtems_task_wake_after - sleep 5 seconds</div>
<div>TA2 - rtems_task_suspend - suspend self</div>
<div>TA3 - rtems_task_suspend - suspend self</div>
</div>
<div>......</div>
<div>TA1 - rtems_task_resume - resume TA3</div>
<div><br>
</div>
<div>*** END OF TEST [joel@rtbf64c b-leon3]$ cat
/etc/redhat-release </div>
<div>CentOS Linux release 7.5.1804 (Core) </div>
<div>=================================== </div>
<div><br>
</div>
<div>And this is the end of the erc32 output from the
same test and same sis on the same computer: <br>
</div>
<div><br>
</div>
<div>===================================</div>
<div> TA1 - rtems_task_resume - resume TA3</div>
<div><br>
</div>
<div>*** END OF TEST SP 5 ***</div>
<div><br>
</div>
<div><br>
</div>
<div>*** FATAL ***</div>
<div>fatal source: 5 (RTEMS_FATAL_SOURCE_EXIT)</div>
<div>fatal code: 0 (0x00000000)</div>
<div>RTEMS version:
5.0.0.7abc497b6c763ccdc090014f310951b17c742ae9</div>
<div>RTEMS tools: 7.4.0 20181206 (RTEMS 5, RSB
38241392a4f96dabf2d1aba51a43dcb623db4dfb, Newlib
1d35a003f)</div>
<div><br>
</div>
<div>=================================== <br>
</div>
<div class="gmail_quote"><br>
</div>
Looks like a lot of output got chopped or not flushed or
something.</div>
<div class="gmail_quote"><br>
</div>
<div class="gmail_quote">If the final output makes it out
on your system, then rtems-test will be happy and pass
them. </div>
<div class="gmail_quote">In my case, it ends most of the
time just a little too early to make that happen.<br
class="gmail-Apple-interchange-newline">
<div> <br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px
0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<br>
jiri@office:~/src/rtems/sparc$ rtems-test
--rtems-bsp=leon3-sis
sparc-rtems5/c/leon3/testsuites/samples<br>
RTEMS Testing - Tester, 5.0.not_released<br>
Command Line: /opt/rtems/5/bin/rtems-test
--rtems-bsp=leon3-sis
sparc-rtems5/c/leon3/testsuites/samples<br>
Python: 3.6.7 (default, Oct 22 2018, 11:32:17) [GCC
8.2.0]<br>
Host:
Linux-4.18.0-15-generic-x86_64-with-Ubuntu-18.04-bionic
(Linux office 4.18.0-15-generic #16~18.04.1-Ubuntu SMP
Thu Feb 7 14:06:04 UTC 2019 x86_64 x86_64)<br>
[ 8/13] p:0 f:0 u:0 e:0 I:0 B:0 t:0 i:0 W:0 |
sparc/leon3: minimum.exe<br>
[ 6/13] p:0 f:0 u:0 e:0 I:0 B:0 t:0 i:0 W:0 |
sparc/leon3: hello.exe<br>
[ 4/13] p:0 f:0 u:0 e:0 I:0 B:0 t:0 i:0 W:0 |
sparc/leon3: cxx_iostream.exe<br>
[ 2/13] p:0 f:0 u:0 e:0 I:0 B:0 t:0 i:0 W:0 |
sparc/leon3: capture.exe<br>
[ 3/13] p:0 f:0 u:0 e:0 I:0 B:0 t:0 i:0 W:0 |
sparc/leon3: cdtest.exe<br>
[ 1/13] p:0 f:0 u:0 e:0 I:0 B:0 t:0 i:0 W:0 |
sparc/leon3: base_sp.exe<br>
[ 5/13] p:0 f:0 u:0 e:0 I:0 B:0 t:0 i:0 W:0 |
sparc/leon3: fileio.exe<br>
[ 7/13] p:0 f:0 u:0 e:0 I:0 B:0 t:0 i:0 W:0 |
sparc/leon3: loopback.exe<br>
[ 1/13] p:0 f:0 u:0 e:0 I:0 B:0 t:0 i:0 W:0 |
sparc/leon3: base_sp.exe<br>
[ 2/13] p:0 f:0 u:0 e:0 I:0 B:0 t:0 i:0 W:0 |
sparc/leon3: capture.exe<br>
[ 3/13] p:0 f:0 u:0 e:0 I:0 B:0 t:0 i:0 W:0 |
sparc/leon3: cdtest.exe<br>
[ 4/13] p:0 f:0 u:0 e:0 I:0 B:0 t:0 i:0 W:0 |
sparc/leon3: cxx_iostream.exe<br>
[ 5/13] p:0 f:0 u:0 e:0 I:0 B:0 t:0 i:0 W:0 |
sparc/leon3: fileio.exe<br>
[ 6/13] p:0 f:0 u:0 e:0 I:0 B:0 t:0 i:0 W:0 |
sparc/leon3: hello.exe<br>
[ 7/13] p:0 f:0 u:0 e:0 I:0 B:0 t:0 i:0 W:0 |
sparc/leon3: loopback.exe<br>
[ 8/13] p:0 f:0 u:0 e:0 I:0 B:0 t:0 i:0 W:0 |
sparc/leon3: minimum.exe<br>
[10/13] p:6 f:0 u:2 e:0 I:0 B:0 t:0 i:0 W:0 |
sparc/leon3: paranoia.exe<br>
[11/13] p:6 f:0 u:2 e:0 I:0 B:0 t:0 i:0 W:0 |
sparc/leon3: pppd.exe<br>
[13/13] p:6 f:0 u:2 e:0 I:0 B:0 t:0 i:0 W:0 |
sparc/leon3: unlimited.exe<br>
[ 9/13] p:6 f:0 u:2 e:0 I:0 B:0 t:0 i:0 W:0 |
sparc/leon3: nsecs.exe<br>
[12/13] p:6 f:0 u:2 e:0 I:0 B:0 t:0 i:0 W:0 |
sparc/leon3: ticker.exe<br>
[ 9/13] p:6 f:0 u:2 e:0 I:0 B:0 t:0 i:0 W:0 |
sparc/leon3: nsecs.exe<br>
[10/13] p:6 f:0 u:2 e:0 I:0 B:0 t:0 i:0 W:0 |
sparc/leon3: paranoia.exe<br>
[11/13] p:6 f:0 u:2 e:0 I:0 B:0 t:0 i:0 W:0 |
sparc/leon3: pppd.exe<br>
[12/13] p:6 f:0 u:2 e:0 I:0 B:0 t:0 i:0 W:0 |
sparc/leon3: ticker.exe<br>
[13/13] p:6 f:0 u:2 e:0 I:0 B:0 t:0 i:0 W:0 |
sparc/leon3: unlimited.exe<br>
<br>
Passed: 11<br>
Failed: 0<br>
User Input: 2<br>
Expected Fail: 0<br>
Indeterminate: 0<br>
Benchmark: 0<br>
Timeout: 0<br>
Invalid: 0<br>
Wrong Version: 0<br>
Wrong Build: 0<br>
Wrong Tools: 0<br>
-----------------<br>
Total: 13<br>
User Input:<br>
capture.exe<br>
fileio.exe<br>
Average test time: 0:00:00.212905<br>
Testing time : 0:00:02.767759<br>
jiri@office:~/src/rtems/sparc$ sparc-rtems5-sis<br>
<br>
SIS - SPARC/RISCV instruction simulator 2.12,
copyright Jiri Gaisler 2019<br>
Bug-reports to <a href="mailto:jiri@gaisler.se"
target="_blank" moz-do-not-send="true">jiri@gaisler.se</a><br>
<br>
ERC32 emulation enabled<br>
<br>
sis> q<br>
<br>
Jiri.<br>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</body>
</html>