* [LTP] Test case float_trigo Reading dsin error
@ 2017-08-22 11:32 fixed-term.Islam.Tammam
2017-08-22 14:50 ` Cyril Hrubis
0 siblings, 1 reply; 4+ messages in thread
From: fixed-term.Islam.Tammam @ 2017-08-22 11:32 UTC (permalink / raw)
To: ltp
I have faced recently an issue with an imx6 target which is running
kernel version "3.14" for the below tests:
float_bessel
float_exp_log
float_power
float_trigo
these tests are failing and giving an error of thread termination "No
such file or directory". Please find a log below. any reason why that
happened and how can this be solved ?
target:/opt/ltp/testcases/bin# ./float_trigo
float_trigo 1 TPASS : Test passed
float_trigo 1 TFAIL : main.c:292: thread 100 (sin) terminated
unsuccessfully 0 errors/0 loops
FAIL: sin: reading dsin, No such file or directory
float_trigo 2 TFAIL : main.c:292: thread 101 (sin) terminated
unsuccessfully 0 errors/0 loops
FAIL: sin: reading dsin, No such file or directory
float_trigo 3 TFAIL : main.c:292: thread 102 (sin) terminated
unsuccessfully 0 errors/0 loops
FAIL: sin: reading dsin, No such file or directory
float_trigo 4 TFAIL : main.c:292: thread 103 (sin) terminated
unsuccessfully 0 errors/0 loops
FAIL: sin: reading dsin, No such file or directory
....
....
....
float_trigo 40 TFAIL : main.c:292: thread 139 (tan) terminated
unsuccessfully 0 errors/0 loops
FAIL: tan: reading dtan, No such file or directory
float_trigo 41 TFAIL : main.c:41: Test failed
I have no idea why the generation of files such asin, atan, acos works
but doesn't work for dsin and dtan ?
--
Best regards,
*Islam Tammam
Test Architect and Team Leader
CM/ESO3*
Tel. +49(5121)49-5911
^ permalink raw reply [flat|nested] 4+ messages in thread
* [LTP] Test case float_trigo Reading dsin error
2017-08-22 11:32 [LTP] Test case float_trigo Reading dsin error fixed-term.Islam.Tammam
@ 2017-08-22 14:50 ` Cyril Hrubis
2017-08-24 7:32 ` fixed-term.Islam.Tammam
0 siblings, 1 reply; 4+ messages in thread
From: Cyril Hrubis @ 2017-08-22 14:50 UTC (permalink / raw)
To: ltp
Hi!
> I have faced recently an issue with an imx6 target which is running
> kernel version "3.14" for the below tests:
>
> float_bessel
> float_exp_log
> float_power
> float_trigo
>
> these tests are failing and giving an error of thread termination "No
> such file or directory". Please find a log below. any reason why that
> happened and how can this be solved ?
>
> target:/opt/ltp/testcases/bin# ./float_trigo
> float_trigo 1 TPASS : Test passed
> float_trigo 1 TFAIL : main.c:292: thread 100 (sin) terminated
> unsuccessfully 0 errors/0 loops
> FAIL: sin: reading dsin, No such file or directory
> float_trigo 2 TFAIL : main.c:292: thread 101 (sin) terminated
> unsuccessfully 0 errors/0 loops
> FAIL: sin: reading dsin, No such file or directory
> float_trigo 3 TFAIL : main.c:292: thread 102 (sin) terminated
> unsuccessfully 0 errors/0 loops
> FAIL: sin: reading dsin, No such file or directory
> float_trigo 4 TFAIL : main.c:292: thread 103 (sin) terminated
> unsuccessfully 0 errors/0 loops
> FAIL: sin: reading dsin, No such file or directory
> ....
> ....
> ....
> float_trigo 40 TFAIL : main.c:292: thread 139 (tan) terminated
> unsuccessfully 0 errors/0 loops
> FAIL: tan: reading dtan, No such file or directory
> float_trigo 41 TFAIL : main.c:41: Test failed
>
> I have no idea why the generation of files such asin, atan, acos works
> but doesn't work for dsin and dtan ?
Looks like it starts to fail in the middle of the test, that is really
strange. Have you checked that gensin and gentan binaries are working
fine (create non-empty rsin and dsin as well as rtan and dtan
files)?
--
Cyril Hrubis
chrubis@suse.cz
^ permalink raw reply [flat|nested] 4+ messages in thread
* [LTP] Test case float_trigo Reading dsin error
2017-08-22 14:50 ` Cyril Hrubis
@ 2017-08-24 7:32 ` fixed-term.Islam.Tammam
2017-09-06 11:52 ` Cyril Hrubis
0 siblings, 1 reply; 4+ messages in thread
From: fixed-term.Islam.Tammam @ 2017-08-24 7:32 UTC (permalink / raw)
To: ltp
Hi Cyril,
what is the format of dsin and dtan files ? i.e how do they look like
since they are binaries i have no clue for creating them.
i just had a look at the link here
https://github.com/linux-test-project/ltp/tree/master/testcases/misc/math/float/trigo
to be able to generate the data files "manually" , but such data files
shall be generated automatically when running the ./float_trigo test
cases itself. do you have an idea how so that happens ? and what is the
destination directory of the generated files , since i checked
/opt/ltp/testcases/bin but didn't find any data files generated there.
Best regards,
*Islam Tammam
Test Architect and Team Leader
CM/ESO3*
Tel. +49(5121)49-5911
On 08/22/2017 04:50 PM, Cyril Hrubis wrote:
> Hi!
>> I have faced recently an issue with an imx6 target which is running
>> kernel version "3.14" for the below tests:
>>
>> float_bessel
>> float_exp_log
>> float_power
>> float_trigo
>>
>> these tests are failing and giving an error of thread termination "No
>> such file or directory". Please find a log below. any reason why that
>> happened and how can this be solved ?
>>
>> target:/opt/ltp/testcases/bin# ./float_trigo
>> float_trigo 1 TPASS : Test passed
>> float_trigo 1 TFAIL : main.c:292: thread 100 (sin) terminated
>> unsuccessfully 0 errors/0 loops
>> FAIL: sin: reading dsin, No such file or directory
>> float_trigo 2 TFAIL : main.c:292: thread 101 (sin) terminated
>> unsuccessfully 0 errors/0 loops
>> FAIL: sin: reading dsin, No such file or directory
>> float_trigo 3 TFAIL : main.c:292: thread 102 (sin) terminated
>> unsuccessfully 0 errors/0 loops
>> FAIL: sin: reading dsin, No such file or directory
>> float_trigo 4 TFAIL : main.c:292: thread 103 (sin) terminated
>> unsuccessfully 0 errors/0 loops
>> FAIL: sin: reading dsin, No such file or directory
>> ....
>> ....
>> ....
>> float_trigo 40 TFAIL : main.c:292: thread 139 (tan) terminated
>> unsuccessfully 0 errors/0 loops
>> FAIL: tan: reading dtan, No such file or directory
>> float_trigo 41 TFAIL : main.c:41: Test failed
>>
>> I have no idea why the generation of files such asin, atan, acos works
>> but doesn't work for dsin and dtan ?
>
> Looks like it starts to fail in the middle of the test, that is really
> strange. Have you checked that gensin and gentan binaries are working
> fine (create non-empty rsin and dsin as well as rtan and dtan
> files)?
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [LTP] Test case float_trigo Reading dsin error
2017-08-24 7:32 ` fixed-term.Islam.Tammam
@ 2017-09-06 11:52 ` Cyril Hrubis
0 siblings, 0 replies; 4+ messages in thread
From: Cyril Hrubis @ 2017-09-06 11:52 UTC (permalink / raw)
To: ltp
Hi!
> what is the format of dsin and dtan files ? i.e how do they look like
> since they are binaries i have no clue for creating them.
No idea either, you would have to look into the source code that
prepares these in trigo/gen*.c
> i just had a look at the link here
> https://github.com/linux-test-project/ltp/tree/master/testcases/misc/math/float/trigo
>
> to be able to generate the data files "manually" , but such data files
> shall be generated automatically when running the ./float_trigo test
> cases itself. do you have an idea how so that happens ? and what is the
> destination directory of the generated files , since i checked
> /opt/ltp/testcases/bin but didn't find any data files generated there.
Looking into the source code the generators are called from main.c which
executes line composed as: ("cd %s; %s/%s %s", datadir, bin_path,
GENERATOR, bin_path) and the generators create files in $CWD and unless
there is a -D parameter passed to the test the datadir defaults to ".".
The runtest/math file does cd $LTPROOT/testcases/bin before it executes
the test so I guess that by default these files end up in the
/opt/ltp/testcases/bin/ directory. But all of that code is quite messy
so I may be as well wrong.
--
Cyril Hrubis
chrubis@suse.cz
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-09-06 11:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-22 11:32 [LTP] Test case float_trigo Reading dsin error fixed-term.Islam.Tammam
2017-08-22 14:50 ` Cyril Hrubis
2017-08-24 7:32 ` fixed-term.Islam.Tammam
2017-09-06 11:52 ` Cyril Hrubis
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.