Hi!
Have some issues with recognition of ltp test end point. After receiving message of the ltp's execution finish, job is still running and waiting with line :
Listened to connection for namespace 'tlxc' done
until get timeout.
Also sometimes job runs good without that stuck. All scripts to run ltp were taken from lava's repo, without any changes. Just edit skipfile
Here is end of log with stuck ltp https://pastebin.com/1qJAbxTJ
Here is end of log with successful ltp recognition. https://pastebin.com/BnFyq5dU
Here is test part of the job. https://pastebin.com/m6vAWkZ9
Ilya
Hello,
are you running a process in the background? Looks like the shell is just not returning which happen when a process is still running in the background.
Rgds
Le mar. 19 nov. 2019 à 10:43, Ilya Fedusiv ilya.f@l4b-software.com a écrit :
Hi!
Have some issues with recognition of ltp test end point. After receiving message of the ltp's execution finish, job is still running and waiting with line :
Listened to connection for namespace 'tlxc' done
until get timeout.
Also sometimes job runs good without that stuck. All scripts to run ltp were taken from lava's repo, without any changes. Just edit skipfile
Here is end of log with stuck ltp https://pastebin.com/1qJAbxTJ
Here is end of log with successful ltp recognition. https://pastebin.com/BnFyq5dU
Here is test part of the job. https://pastebin.com/m6vAWkZ9
Ilya _______________________________________________ Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
Hello,
In general the whole LTP test cases are running in the background , connected to the caller script (ltp.sh) via a pipe. how to run it properly?
Ilya. ________________________________ From: Remi Duraffort remi.duraffort@linaro.org Sent: Tuesday, November 19, 2019 12:34 PM To: Ilya Fedusiv ilya.f@l4b-software.com Cc: lava-users@lists.lavasoftware.org lava-users@lists.lavasoftware.org; Andreas Schlüter andreas.s@l4b-software.com Subject: Re: [Lava-users] LXC connection LTP Issue
Hello,
are you running a process in the background? Looks like the shell is just not returning which happen when a process is still running in the background.
Rgds
Le mar. 19 nov. 2019 à 10:43, Ilya Fedusiv <ilya.f@l4b-software.commailto:ilya.f@l4b-software.com> a écrit : Hi!
Have some issues with recognition of ltp test end point. After receiving message of the ltp's execution finish, job is still running and waiting with line :
Listened to connection for namespace 'tlxc' done
until get timeout.
Also sometimes job runs good without that stuck. All scripts to run ltp were taken from lava's repo, without any changes. Just edit skipfile
Here is end of log with stuck ltp https://pastebin.com/1qJAbxTJ
Here is end of log with successful ltp recognition. https://pastebin.com/BnFyq5dU
Here is test part of the job. https://pastebin.com/m6vAWkZ9
Ilya _______________________________________________ Lava-users mailing list Lava-users@lists.lavasoftware.orgmailto:Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
-- Rémi Duraffort LAVA Architect Linaro
On Wed, 20 Nov 2019 at 11:55, Ilya Fedusiv ilya.f@l4b-software.com wrote:
Hello,
In general the whole LTP test cases are running in the background , connected to the caller script (ltp.sh) via a pipe. how to run it properly?
I'm not sure what you mean by that. In the test definition we use it's ltp.sh is called in the foreground: https://github.com/Linaro/test-definitions/blob/master/automated/linux/ltp/l... It will print all output from LTP as it comes. Example here: https://lkft.validation.linaro.org/scheduler/job/1017325#L1770
milosz
Ilya. ________________________________ From: Remi Duraffort remi.duraffort@linaro.org Sent: Tuesday, November 19, 2019 12:34 PM To: Ilya Fedusiv ilya.f@l4b-software.com Cc: lava-users@lists.lavasoftware.org lava-users@lists.lavasoftware.org; Andreas Schlüter andreas.s@l4b-software.com Subject: Re: [Lava-users] LXC connection LTP Issue
Hello,
are you running a process in the background? Looks like the shell is just not returning which happen when a process is still running in the background.
Rgds
Le mar. 19 nov. 2019 à 10:43, Ilya Fedusiv ilya.f@l4b-software.com a écrit :
Hi!
Have some issues with recognition of ltp test end point. After receiving message of the ltp's execution finish, job is still running and waiting with line :
Listened to connection for namespace 'tlxc' done
until get timeout.
Also sometimes job runs good without that stuck. All scripts to run ltp were taken from lava's repo, without any changes. Just edit skipfile
Here is end of log with stuck ltp https://pastebin.com/1qJAbxTJ
Here is end of log with successful ltp recognition. https://pastebin.com/BnFyq5dU
Here is test part of the job. https://pastebin.com/m6vAWkZ9
Ilya _______________________________________________ Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
-- Rémi Duraffort LAVA Architect Linaro _______________________________________________ Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
Hi. We are using that ltp.sh file
And very strange, that we pass ltp part, and job is stuck after echo 1 command
In normal situation
-ltp results + echo 1 + ret_val=1 + exec + return 1
in our
-ltp results + echo 1
And lava doesnt run any commands, just stuck until timeout
That it the question. What it could be? ________________________________ From: Milosz Wasilewski milosz.wasilewski@linaro.org Sent: Wednesday, November 20, 2019 2:01 PM To: Ilya Fedusiv ilya.f@l4b-software.com Cc: Remi Duraffort remi.duraffort@linaro.org; Andreas Schlüter andreas.s@l4b-software.com; lava-users@lists.lavasoftware.org lava-users@lists.lavasoftware.org Subject: Re: [Lava-users] LXC connection LTP Issue
On Wed, 20 Nov 2019 at 11:55, Ilya Fedusiv ilya.f@l4b-software.com wrote:
Hello,
In general the whole LTP test cases are running in the background , connected to the caller script (ltp.sh) via a pipe. how to run it properly?
I'm not sure what you mean by that. In the test definition we use it's ltp.sh is called in the foreground: https://github.com/Linaro/test-definitions/blob/master/automated/linux/ltp/l... It will print all output from LTP as it comes. Example here: https://lkft.validation.linaro.org/scheduler/job/1017325#L1770
milosz
Ilya. ________________________________ From: Remi Duraffort remi.duraffort@linaro.org Sent: Tuesday, November 19, 2019 12:34 PM To: Ilya Fedusiv ilya.f@l4b-software.com Cc: lava-users@lists.lavasoftware.org lava-users@lists.lavasoftware.org; Andreas Schlüter andreas.s@l4b-software.com Subject: Re: [Lava-users] LXC connection LTP Issue
Hello,
are you running a process in the background? Looks like the shell is just not returning which happen when a process is still running in the background.
Rgds
Le mar. 19 nov. 2019 à 10:43, Ilya Fedusiv ilya.f@l4b-software.com a écrit :
Hi!
Have some issues with recognition of ltp test end point. After receiving message of the ltp's execution finish, job is still running and waiting with line :
Listened to connection for namespace 'tlxc' done
until get timeout.
Also sometimes job runs good without that stuck. All scripts to run ltp were taken from lava's repo, without any changes. Just edit skipfile
Here is end of log with stuck ltp https://pastebin.com/1qJAbxTJ
Here is end of log with successful ltp recognition. https://pastebin.com/BnFyq5dU
Here is test part of the job. https://pastebin.com/m6vAWkZ9
Ilya _______________________________________________ Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
-- Rémi Duraffort LAVA Architect Linaro _______________________________________________ Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
On Wed, 20 Nov 2019 at 12:54, Ilya Fedusiv ilya.f@l4b-software.com wrote:
Hi. We are using that ltp.sh file
And very strange, that we pass ltp part, and job is stuck after echo 1 command
In normal situation
-ltp results
- echo 1
I don't see this echo anywhere in the code. Could you point me to the source?
milosz
- ret_val=1
- exec
- return 1
in our
-ltp results
- echo 1
And lava doesnt run any commands, just stuck until timeout
That it the question. What it could be? ________________________________ From: Milosz Wasilewski milosz.wasilewski@linaro.org Sent: Wednesday, November 20, 2019 2:01 PM To: Ilya Fedusiv ilya.f@l4b-software.com Cc: Remi Duraffort remi.duraffort@linaro.org; Andreas Schlüter andreas.s@l4b-software.com; lava-users@lists.lavasoftware.org lava-users@lists.lavasoftware.org Subject: Re: [Lava-users] LXC connection LTP Issue
On Wed, 20 Nov 2019 at 11:55, Ilya Fedusiv ilya.f@l4b-software.com wrote:
Hello,
In general the whole LTP test cases are running in the background , connected to the caller script (ltp.sh) via a pipe. how to run it properly?
I'm not sure what you mean by that. In the test definition we use it's ltp.sh is called in the foreground: https://github.com/Linaro/test-definitions/blob/master/automated/linux/ltp/l... It will print all output from LTP as it comes. Example here: https://lkft.validation.linaro.org/scheduler/job/1017325#L1770
milosz
Ilya. ________________________________ From: Remi Duraffort remi.duraffort@linaro.org Sent: Tuesday, November 19, 2019 12:34 PM To: Ilya Fedusiv ilya.f@l4b-software.com Cc: lava-users@lists.lavasoftware.org lava-users@lists.lavasoftware.org; Andreas Schlüter andreas.s@l4b-software.com Subject: Re: [Lava-users] LXC connection LTP Issue
Hello,
are you running a process in the background? Looks like the shell is just not returning which happen when a process is still running in the background.
Rgds
Le mar. 19 nov. 2019 à 10:43, Ilya Fedusiv ilya.f@l4b-software.com a écrit :
Hi!
Have some issues with recognition of ltp test end point. After receiving message of the ltp's execution finish, job is still running and waiting with line :
Listened to connection for namespace 'tlxc' done
until get timeout.
Also sometimes job runs good without that stuck. All scripts to run ltp were taken from lava's repo, without any changes. Just edit skipfile
Here is end of log with stuck ltp https://pastebin.com/1qJAbxTJ
Here is end of log with successful ltp recognition. https://pastebin.com/BnFyq5dU
Here is test part of the job. https://pastebin.com/m6vAWkZ9
Ilya _______________________________________________ Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
-- Rémi Duraffort LAVA Architect Linaro _______________________________________________ Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
Here is it https://github.com/Linaro/test-definitions/blob/master/automated/linux/ltp/l...
https://github.com/Linaro/test-definitions/blob/master/automated/lib/sh-test...
Ilya ________________________________ From: Milosz Wasilewski milosz.wasilewski@linaro.org Sent: Wednesday, November 20, 2019 3:05 PM To: Ilya Fedusiv ilya.f@l4b-software.com Cc: Remi Duraffort remi.duraffort@linaro.org; Andreas Schlüter andreas.s@l4b-software.com; lava-users@lists.lavasoftware.org lava-users@lists.lavasoftware.org Subject: Re: [Lava-users] LXC connection LTP Issue
On Wed, 20 Nov 2019 at 12:54, Ilya Fedusiv ilya.f@l4b-software.com wrote:
Hi. We are using that ltp.sh file
And very strange, that we pass ltp part, and job is stuck after echo 1 command
In normal situation
-ltp results
- echo 1
I don't see this echo anywhere in the code. Could you point me to the source?
milosz
- ret_val=1
- exec
- return 1
in our
-ltp results
- echo 1
And lava doesnt run any commands, just stuck until timeout
That it the question. What it could be? ________________________________ From: Milosz Wasilewski milosz.wasilewski@linaro.org Sent: Wednesday, November 20, 2019 2:01 PM To: Ilya Fedusiv ilya.f@l4b-software.com Cc: Remi Duraffort remi.duraffort@linaro.org; Andreas Schlüter andreas.s@l4b-software.com; lava-users@lists.lavasoftware.org lava-users@lists.lavasoftware.org Subject: Re: [Lava-users] LXC connection LTP Issue
On Wed, 20 Nov 2019 at 11:55, Ilya Fedusiv ilya.f@l4b-software.com wrote:
Hello,
In general the whole LTP test cases are running in the background , connected to the caller script (ltp.sh) via a pipe. how to run it properly?
I'm not sure what you mean by that. In the test definition we use it's ltp.sh is called in the foreground: https://github.com/Linaro/test-definitions/blob/master/automated/linux/ltp/l... It will print all output from LTP as it comes. Example here: https://lkft.validation.linaro.org/scheduler/job/1017325#L1770
milosz
Ilya. ________________________________ From: Remi Duraffort remi.duraffort@linaro.org Sent: Tuesday, November 19, 2019 12:34 PM To: Ilya Fedusiv ilya.f@l4b-software.com Cc: lava-users@lists.lavasoftware.org lava-users@lists.lavasoftware.org; Andreas Schlüter andreas.s@l4b-software.com Subject: Re: [Lava-users] LXC connection LTP Issue
Hello,
are you running a process in the background? Looks like the shell is just not returning which happen when a process is still running in the background.
Rgds
Le mar. 19 nov. 2019 à 10:43, Ilya Fedusiv ilya.f@l4b-software.com a écrit :
Hi!
Have some issues with recognition of ltp test end point. After receiving message of the ltp's execution finish, job is still running and waiting with line :
Listened to connection for namespace 'tlxc' done
until get timeout.
Also sometimes job runs good without that stuck. All scripts to run ltp were taken from lava's repo, without any changes. Just edit skipfile
Here is end of log with stuck ltp https://pastebin.com/1qJAbxTJ
Here is end of log with successful ltp recognition. https://pastebin.com/BnFyq5dU
Here is test part of the job. https://pastebin.com/m6vAWkZ9
Ilya _______________________________________________ Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
-- Rémi Duraffort LAVA Architect Linaro _______________________________________________ Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
I know which code runs LTP, but I still don't see any 'echo' there.
milosz
On Wed, 20 Nov 2019 at 14:24, Ilya Fedusiv ilya.f@l4b-software.com wrote:
Here is it https://github.com/Linaro/test-definitions/blob/master/automated/linux/ltp/l...
https://github.com/Linaro/test-definitions/blob/master/automated/lib/sh-test...
Ilya ________________________________ From: Milosz Wasilewski milosz.wasilewski@linaro.org Sent: Wednesday, November 20, 2019 3:05 PM To: Ilya Fedusiv ilya.f@l4b-software.com Cc: Remi Duraffort remi.duraffort@linaro.org; Andreas Schlüter andreas.s@l4b-software.com; lava-users@lists.lavasoftware.org lava-users@lists.lavasoftware.org Subject: Re: [Lava-users] LXC connection LTP Issue
On Wed, 20 Nov 2019 at 12:54, Ilya Fedusiv ilya.f@l4b-software.com wrote:
Hi. We are using that ltp.sh file
And very strange, that we pass ltp part, and job is stuck after echo 1 command
In normal situation
-ltp results
- echo 1
I don't see this echo anywhere in the code. Could you point me to the source?
milosz
- ret_val=1
- exec
- return 1
in our
-ltp results
- echo 1
And lava doesnt run any commands, just stuck until timeout
That it the question. What it could be? ________________________________ From: Milosz Wasilewski milosz.wasilewski@linaro.org Sent: Wednesday, November 20, 2019 2:01 PM To: Ilya Fedusiv ilya.f@l4b-software.com Cc: Remi Duraffort remi.duraffort@linaro.org; Andreas Schlüter andreas.s@l4b-software.com; lava-users@lists.lavasoftware.org lava-users@lists.lavasoftware.org Subject: Re: [Lava-users] LXC connection LTP Issue
On Wed, 20 Nov 2019 at 11:55, Ilya Fedusiv ilya.f@l4b-software.com wrote:
Hello,
In general the whole LTP test cases are running in the background , connected to the caller script (ltp.sh) via a pipe. how to run it properly?
I'm not sure what you mean by that. In the test definition we use it's ltp.sh is called in the foreground: https://github.com/Linaro/test-definitions/blob/master/automated/linux/ltp/l... It will print all output from LTP as it comes. Example here: https://lkft.validation.linaro.org/scheduler/job/1017325#L1770
milosz
Ilya. ________________________________ From: Remi Duraffort remi.duraffort@linaro.org Sent: Tuesday, November 19, 2019 12:34 PM To: Ilya Fedusiv ilya.f@l4b-software.com Cc: lava-users@lists.lavasoftware.org lava-users@lists.lavasoftware.org; Andreas Schlüter andreas.s@l4b-software.com Subject: Re: [Lava-users] LXC connection LTP Issue
Hello,
are you running a process in the background? Looks like the shell is just not returning which happen when a process is still running in the background.
Rgds
Le mar. 19 nov. 2019 à 10:43, Ilya Fedusiv ilya.f@l4b-software.com a écrit :
Hi!
Have some issues with recognition of ltp test end point. After receiving message of the ltp's execution finish, job is still running and waiting with line :
Listened to connection for namespace 'tlxc' done
until get timeout.
Also sometimes job runs good without that stuck. All scripts to run ltp were taken from lava's repo, without any changes. Just edit skipfile
Here is end of log with stuck ltp https://pastebin.com/1qJAbxTJ
Here is end of log with successful ltp recognition. https://pastebin.com/BnFyq5dU
Here is test part of the job. https://pastebin.com/m6vAWkZ9
Ilya _______________________________________________ Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
-- Rémi Duraffort LAVA Architect Linaro _______________________________________________ Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
Hi!
So I think here is that echo https://github.com/Linaro/test-definitions/blob/master/automated/lib/sh-test...
Ilya ________________________________ From: Milosz Wasilewski milosz.wasilewski@linaro.org Sent: Wednesday, November 20, 2019 4:33 PM To: Ilya Fedusiv ilya.f@l4b-software.com Cc: Remi Duraffort remi.duraffort@linaro.org; Andreas Schlüter andreas.s@l4b-software.com; lava-users@lists.lavasoftware.org lava-users@lists.lavasoftware.org Subject: Re: [Lava-users] LXC connection LTP Issue
I know which code runs LTP, but I still don't see any 'echo' there.
milosz
On Wed, 20 Nov 2019 at 14:24, Ilya Fedusiv ilya.f@l4b-software.com wrote:
Here is it https://github.com/Linaro/test-definitions/blob/master/automated/linux/ltp/l...
https://github.com/Linaro/test-definitions/blob/master/automated/lib/sh-test...
Ilya ________________________________ From: Milosz Wasilewski milosz.wasilewski@linaro.org Sent: Wednesday, November 20, 2019 3:05 PM To: Ilya Fedusiv ilya.f@l4b-software.com Cc: Remi Duraffort remi.duraffort@linaro.org; Andreas Schlüter andreas.s@l4b-software.com; lava-users@lists.lavasoftware.org lava-users@lists.lavasoftware.org Subject: Re: [Lava-users] LXC connection LTP Issue
On Wed, 20 Nov 2019 at 12:54, Ilya Fedusiv ilya.f@l4b-software.com wrote:
Hi. We are using that ltp.sh file
And very strange, that we pass ltp part, and job is stuck after echo 1 command
In normal situation
-ltp results
- echo 1
I don't see this echo anywhere in the code. Could you point me to the source?
milosz
- ret_val=1
- exec
- return 1
in our
-ltp results
- echo 1
And lava doesnt run any commands, just stuck until timeout
That it the question. What it could be? ________________________________ From: Milosz Wasilewski milosz.wasilewski@linaro.org Sent: Wednesday, November 20, 2019 2:01 PM To: Ilya Fedusiv ilya.f@l4b-software.com Cc: Remi Duraffort remi.duraffort@linaro.org; Andreas Schlüter andreas.s@l4b-software.com; lava-users@lists.lavasoftware.org lava-users@lists.lavasoftware.org Subject: Re: [Lava-users] LXC connection LTP Issue
On Wed, 20 Nov 2019 at 11:55, Ilya Fedusiv ilya.f@l4b-software.com wrote:
Hello,
In general the whole LTP test cases are running in the background , connected to the caller script (ltp.sh) via a pipe. how to run it properly?
I'm not sure what you mean by that. In the test definition we use it's ltp.sh is called in the foreground: https://github.com/Linaro/test-definitions/blob/master/automated/linux/ltp/l... It will print all output from LTP as it comes. Example here: https://lkft.validation.linaro.org/scheduler/job/1017325#L1770
milosz
Ilya. ________________________________ From: Remi Duraffort remi.duraffort@linaro.org Sent: Tuesday, November 19, 2019 12:34 PM To: Ilya Fedusiv ilya.f@l4b-software.com Cc: lava-users@lists.lavasoftware.org lava-users@lists.lavasoftware.org; Andreas Schlüter andreas.s@l4b-software.com Subject: Re: [Lava-users] LXC connection LTP Issue
Hello,
are you running a process in the background? Looks like the shell is just not returning which happen when a process is still running in the background.
Rgds
Le mar. 19 nov. 2019 à 10:43, Ilya Fedusiv ilya.f@l4b-software.com a écrit :
Hi!
Have some issues with recognition of ltp test end point. After receiving message of the ltp's execution finish, job is still running and waiting with line :
Listened to connection for namespace 'tlxc' done
until get timeout.
Also sometimes job runs good without that stuck. All scripts to run ltp were taken from lava's repo, without any changes. Just edit skipfile
Here is end of log with stuck ltp https://pastebin.com/1qJAbxTJ
Here is end of log with successful ltp recognition. https://pastebin.com/BnFyq5dU
Here is test part of the job. https://pastebin.com/m6vAWkZ9
Ilya _______________________________________________ Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
-- Rémi Duraffort LAVA Architect Linaro _______________________________________________ Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
Ah, I get it now. What you can do to debug is completely remove the whole pipe redirection code. It's there so we can return the exit code from runltp and still pipe the output to the log file. Removing it will result in potential false exit code but for debugging should be OK. This way you can rule out this part of the script as a culprit. If the job still hangs, the problem comes from ltp itself (your output suggests it's not the case). The concept for the pipe0 comes from here: https://unix.stackexchange.com/a/70675.
milosz
On Wed, 20 Nov 2019 at 15:06, Ilya Fedusiv ilya.f@l4b-software.com wrote:
Hi!
So I think here is that echo https://github.com/Linaro/test-definitions/blob/master/automated/lib/sh-test...
Ilya ________________________________ From: Milosz Wasilewski milosz.wasilewski@linaro.org Sent: Wednesday, November 20, 2019 4:33 PM To: Ilya Fedusiv ilya.f@l4b-software.com Cc: Remi Duraffort remi.duraffort@linaro.org; Andreas Schlüter andreas.s@l4b-software.com; lava-users@lists.lavasoftware.org lava-users@lists.lavasoftware.org Subject: Re: [Lava-users] LXC connection LTP Issue
I know which code runs LTP, but I still don't see any 'echo' there.
milosz
On Wed, 20 Nov 2019 at 14:24, Ilya Fedusiv ilya.f@l4b-software.com wrote:
Here is it https://github.com/Linaro/test-definitions/blob/master/automated/linux/ltp/l...
https://github.com/Linaro/test-definitions/blob/master/automated/lib/sh-test...
Ilya ________________________________ From: Milosz Wasilewski milosz.wasilewski@linaro.org Sent: Wednesday, November 20, 2019 3:05 PM To: Ilya Fedusiv ilya.f@l4b-software.com Cc: Remi Duraffort remi.duraffort@linaro.org; Andreas Schlüter andreas.s@l4b-software.com; lava-users@lists.lavasoftware.org lava-users@lists.lavasoftware.org Subject: Re: [Lava-users] LXC connection LTP Issue
On Wed, 20 Nov 2019 at 12:54, Ilya Fedusiv ilya.f@l4b-software.com wrote:
Hi. We are using that ltp.sh file
And very strange, that we pass ltp part, and job is stuck after echo 1 command
In normal situation
-ltp results
- echo 1
I don't see this echo anywhere in the code. Could you point me to the source?
milosz
- ret_val=1
- exec
- return 1
in our
-ltp results
- echo 1
And lava doesnt run any commands, just stuck until timeout
That it the question. What it could be? ________________________________ From: Milosz Wasilewski milosz.wasilewski@linaro.org Sent: Wednesday, November 20, 2019 2:01 PM To: Ilya Fedusiv ilya.f@l4b-software.com Cc: Remi Duraffort remi.duraffort@linaro.org; Andreas Schlüter andreas.s@l4b-software.com; lava-users@lists.lavasoftware.org lava-users@lists.lavasoftware.org Subject: Re: [Lava-users] LXC connection LTP Issue
On Wed, 20 Nov 2019 at 11:55, Ilya Fedusiv ilya.f@l4b-software.com wrote:
Hello,
In general the whole LTP test cases are running in the background , connected to the caller script (ltp.sh) via a pipe. how to run it properly?
I'm not sure what you mean by that. In the test definition we use it's ltp.sh is called in the foreground: https://github.com/Linaro/test-definitions/blob/master/automated/linux/ltp/l... It will print all output from LTP as it comes. Example here: https://lkft.validation.linaro.org/scheduler/job/1017325#L1770
milosz
Ilya. ________________________________ From: Remi Duraffort remi.duraffort@linaro.org Sent: Tuesday, November 19, 2019 12:34 PM To: Ilya Fedusiv ilya.f@l4b-software.com Cc: lava-users@lists.lavasoftware.org lava-users@lists.lavasoftware.org; Andreas Schlüter andreas.s@l4b-software.com Subject: Re: [Lava-users] LXC connection LTP Issue
Hello,
are you running a process in the background? Looks like the shell is just not returning which happen when a process is still running in the background.
Rgds
Le mar. 19 nov. 2019 à 10:43, Ilya Fedusiv ilya.f@l4b-software.com a écrit :
Hi!
Have some issues with recognition of ltp test end point. After receiving message of the ltp's execution finish, job is still running and waiting with line :
Listened to connection for namespace 'tlxc' done
until get timeout.
Also sometimes job runs good without that stuck. All scripts to run ltp were taken from lava's repo, without any changes. Just edit skipfile
Here is end of log with stuck ltp https://pastebin.com/1qJAbxTJ
Here is end of log with successful ltp recognition. https://pastebin.com/BnFyq5dU
Here is test part of the job. https://pastebin.com/m6vAWkZ9
Ilya _______________________________________________ Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
-- Rémi Duraffort LAVA Architect Linaro _______________________________________________ Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
lava-users@lists.lavasoftware.org