openthos / oto_external_lkp

2 stars 4 forks source link

lkp 在chroot 下面取出的json数据好多都为空。但是原始数据没有问题。 #1

Closed ELWIN-MAO closed 8 years ago

ELWIN-MAO commented 8 years ago

有数据的原始文件: https://github.com/openthos/oto_lkp/blob/master/testcase/lkpebizzy/lkp_tmp_result/result/ebizzy/200%25-5x-5s/localhost/ubuntu/defconfig/gcc-5/4.4.10-android-x86_64/1/vmstat 为空的json文件 https://github.com/openthos/oto_lkp/blob/master/testcase/lkpebizzy/lkp_tmp_result/result/ebizzy/200%25-5x-5s/localhost/ubuntu/defconfig/gcc-5/4.4.10-android-x86_64/1/stats.json

https://github.com/openthos/oto_lkp/blob/master/testcase/lkpebizzy/lkp_tmp_result/result/ebizzy/200%25-5x-5s/localhost/ubuntu/defconfig/gcc-5/4.4.10-android-x86_64/avg.json

https://github.com/openthos/oto_lkp/blob/master/testcase/lkpebizzy/lkp_tmp_result/result/ebizzy/200%25-5x-5s/localhost/ubuntu/defconfig/gcc-5/4.4.10-android-x86_64/matrix.json

https://github.com/openthos/oto_lkp/blob/master/testcase/lkpebizzy/lkp_tmp_result/result/ebizzy/200%25-5x-5s/localhost/ubuntu/defconfig/gcc-5/4.4.10-android-x86_64/stddev.json

可能的原因: lkp 后续的数据处理阶段有问题。需要对照测试日志中的报错信息仔细看一下。 日志文件: https://github.com/openthos/oto_lkp/blob/master/lkpebizzy_test_log.txt

日志中摘出的错误信息: wait for background monitors: uptime proc-vmstat proc-stat meminfo slabinfo interrupts softirqs diskstats cpuidle sched_debug mktemp: failed to create file via template ‘/dev/shm/lkp-stats.XXXXXXXX’: No such file or directory /root/oto_lkp/lkp-tests-master/stats/wrapper: line 73: $tmpfile: ambiguous redirect /root/oto_lkp/lkp-tests-master/stats/kmsg /result/ebizzy/200%-5x-5s/localhost/ubuntu/defconfig/gcc-5/4.4.10-android-x86_64/2/kmsg < /result/ebizzy/200%-5x-5s/localhost/ubuntu/defconfig/gcc-5/4.4.10-android-x86_64/2/kmsg exit code 1, check mktemp: failed to create file via template ‘/dev/shm/lkp-stats.XXXXXXXX’: No such file or directory /root/oto_lkp/lkp-tests-master/stats/wrapper: line 73: $tmpfile: ambiguous redirect /root/oto_lkp/lkp-tests-master/stats/uptime /result/ebizzy/200%-5x-5s/localhost/ubuntu/defconfig/gcc-5/4.4.10-android-x86_64/2/uptime < /result/ebizzy/200%-5x-5s/localhost/ubuntu/defconfig/gcc-5/4.4.10-android-x86_64/2/uptime exit code 1, check mktemp: failed to create file via template ‘/dev/shm/lkp-stats.XXXXXXXX’: No such file or directory /root/oto_lkp/lkp-tests-master/stats/wrapper: line 73: $tmpfile: ambiguous redirect /root/oto_lkp/lkp-tests-master/stats/vmstat /result/ebizzy/200%-5x-5s/localhost/ubuntu/defconfig/gcc-5/4.4.10-android-x86_64/2/vmstat < /result/ebizzy/200%-5x-5s/localhost/ubuntu/defconfig/gcc-5/4.4.10-android-x86_64/2/vmstat exit code 1, check mktemp: failed to create file via template ‘/dev/shm/lkp-stats.XXXXXXXX’: No such file or directory /root/oto_lkp/lkp-tests-master/stats/wrapper: line 73: $tmpfile: ambiguous redirect /root/oto_lkp/lkp-tests-master/stats/proc-vmstat /result/ebizzy/200%-5x-5s/localhost/ubuntu/defconfig/gcc-5/4.4.10-android-x86_64/2/proc-vmstat < /result/ebizzy/200%-5x-5s/localhost/ubuntu/defconfig/gcc-5/4.4.10-android-x86_64/2/proc-vmstat exit code 1, check mktemp: failed to create file via template ‘/dev/shm/lkp-stats.XXXXXXXX’: No such file or directory /root/oto_lkp/lkp-tests-master/stats/wrapper: line 73: $tmpfile: ambiguous redirect /root/oto_lkp/lkp-tests-master/stats/meminfo /result/ebizzy/200%-5x-5s/localhost/ubuntu/defconfig/gcc-5/4.4.10-android-x86_64/2/meminfo < /result/ebizzy/200%-5x-5s/localhost/ubuntu/defconfig/gcc-5/4.4.10-android-x86_64/2/meminfo exit code 1, check mktemp: failed to create file via template ‘/dev/shm/lkp-stats.XXXXXXXX’: No such file or directory /root/oto_lkp/lkp-tests-master/stats/wrapper: line 73: $tmpfile: ambiguous redirect /root/oto_lkp/lkp-tests-master/stats/slabinfo /result/ebizzy/200%-5x-5s/localhost/ubuntu/defconfig/gcc-5/4.4.10-android-x86_64/2/slabinfo < /result/ebizzy/200%-5x-5s/localhost/ubuntu/defconfig/gcc-5/4.4.10-android-x86_64/2/slabinfo exit code 1, check mktemp: failed to create file via template ‘/dev/shm/lkp-stats.XXXXXXXX’: No such file or directory /root/oto_lkp/lkp-tests-master/stats/wrapper: line 73: $tmpfile: ambiguous redirect /root/oto_lkp/lkp-tests-master/stats/interrupts /result/ebizzy/200%-5x-5s/localhost/ubuntu/defconfig/gcc-5/4.4.10-android-x86_64/2/interrupts < /result/ebizzy/200%-5x-5s/localhost/ubuntu/defconfig/gcc-5/4.4.10-android-x86_64/2/interrupts exit code 1, check mktemp: failed to create file via template ‘/dev/shm/lkp-stats.XXXXXXXX’: No such file or directory /root/oto_lkp/lkp-tests-master/stats/wrapper: line 73: $tmpfile: ambiguous redirect /root/oto_lkp/lkp-tests-master/stats/softirqs /result/ebizzy/200%-5x-5s/localhost/ubuntu/defconfig/gcc-5/4.4.10-android-x86_64/2/softirqs < /result/ebizzy/200%-5x-5s/localhost/ubuntu/defconfig/gcc-5/4.4.10-android-x86_64/2/softirqs exit code 1, check mktemp: failed to create file via template ‘/dev/shm/lkp-stats.XXXXXXXX’: No such file or directory /root/oto_lkp/lkp-tests-master/stats/wrapper: line 73: $tmpfile: ambiguous redirect /root/oto_lkp/lkp-tests-master/stats/diskstats /result/ebizzy/200%-5x-5s/localhost/ubuntu/defconfig/gcc-5/4.4.10-android-x86_64/2/diskstats < /result/ebizzy/200%-5x-5s/localhost/ubuntu/defconfig/gcc-5/4.4.10-android-x86_64/2/diskstats exit code 1, check mktemp: failed to create file via template ‘/dev/shm/lkp-stats.XXXXXXXX’: No such file or directory /root/oto_lkp/lkp-tests-master/stats/wrapper: line 73: $tmpfile: ambiguous redirect /root/oto_lkp/lkp-tests-master/stats/cpuidle /result/ebizzy/200%-5x-5s/localhost/ubuntu/defconfig/gcc-5/4.4.10-android-x86_64/2/cpuidle < /result/ebizzy/200%-5x-5s/localhost/ubuntu/defconfig/gcc-5/4.4.10-android-x86_64/2/cpuidle exit code 1, check mktemp: failed to create file via template ‘/dev/shm/lkp-stats.XXXXXXXX’: No such file or directory /root/oto_lkp/lkp-tests-master/stats/wrapper: line 73: $tmpfile: ambiguous redirect /root/oto_lkp/lkp-tests-master/stats/sched_debug /result/ebizzy/200%-5x-5s/localhost/ubuntu/defconfig/gcc-

ELWIN-MAO commented 8 years ago

has fixed this bug by add “mount -t tmpfs tmpfs $CHMOUNT/dev/shm” before chroot