Discussion:
[Linaro-validation] LAVA: splice stall on LAVA and pass locally
Naresh Kamboju
2017-07-04 08:17:07 UTC
Permalink
Hi Team,

Splice test case is newly running from kselftest (after updating Makefile)
splice stall on LAVA and pass on Local HiKey running linux-next and
linux-rc-4.9.

And tested with set -e from run_kselftest.sh and still pass.
The question is Why stall on LAVA? i re-submitted job couple of times
and able to reproduce that issue.

The problem is coming from

#!/bin/sh
n=`./default_file_splice_read </dev/null | wc -c`

test "$n" = 0 && exit 0

echo "default_file_splice_read broken: leaked $n"
exit 1

Seems like LAVA not happy having "</dev/null" in any script or exit 0 via LXC.
I request to investigate this problem.

Running tests in splice
========================================
selftests: default_file_splice_read [PASS]
selftests: default_file_splice_read.sh [PASS]

Test case source:
https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git/tree/tools/testing/selftests/splice?h=next


LAVA job id:
https://lkft.validation.linaro.org/scheduler/job/8875#L2574
https://lkft.validation.linaro.org/scheduler/job/8806#L3077

Best regards
Naresh Kamboju
Senthil Kumaran S
2017-07-04 08:24:13 UTC
Permalink
Post by Naresh Kamboju
#!/bin/sh
n=`./default_file_splice_read </dev/null | wc -c`
test "$n" = 0 && exit 0
echo "default_file_splice_read broken: leaked $n"
exit 1
Seems like LAVA not happy having "</dev/null" in any script or exit 0 via LXC.
I request to investigate this problem.
It is not an issue with /dev/null and LXC. The problem is different,
where the script default_file_splice_read.sh does not return with a
proper exit status, similar to what we observed in one of the scripts
with ARM Energy probe. I am investigating on it to see why the script is
not returning properly.

Thank You.
--
Senthil Kumaran S
http://www.stylesen.org/
http://www.sasenthilkumaran.com/
Loading...