Wind River Support Network

HomeDefectsLIN5-19644
Fixed

LIN5-19644 : Failed to run sendfile08 and sendfile08_64 for LTP

Created: Oct 31, 2014    Updated: Dec 19, 2017
Resolved Date: Nov 10, 2014
Found In Version: 5.0.1
Fix Version: 5.0.1.21
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: BSP, BSP - Async

Description

1. sendfile08
=================================
root@localhost:/opt/ltp/wrLinux_ltp# ./wr-runltp  -s sendfile08
loop: module loaded
mounting ext4 file system on /tmp over loop device for LTP test...
EXT4-fs (loop0): mounted filesystem with ordered data mode. Opts: (null)
<<wr-runltp Test Plan>>
LTP test case : sendfile08
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.
 
/etc/issue:
Wind River Linux 5.0.1.0 \n \l

Linux localhost 3.4.91-rt56-WR5.0.1.0_preempt-rt #1 SMP PREEMPT RT Wed Oct 29 05:39:40 CST 2014 armv7l GNU/Linux
 
Gnu C                 
util-linux             linux 2.21.1
mount                  linux 2.21.1 (with libblkid support)
modutils               3.16
PPP                    2.4.5
Linux C Library        > libc.2.15
Dynamic linker (ldd)   2.15
Procps                 3.2.8
Net-tools              1.60
iproute2              iproute2-ss120813
Kbd                    69:
Sh-utils               8.14
Modules Loaded         loop

free reports:
             total       used       free     shared    buffers     cached
Mem:        248024      55396     192628          0        116      26496
-/+ buffers/cache:      28784     219240
Swap:            0          0          0

/proc/cpuinfo
Processor       : ARMv7 ProEXT4-fs (loop1): mounted filesystem with ordered data mode. Opts: (null)
cessor rev 1 (v7l)
processor       : 0
BogoMIPS        : 3188.32

processor       : 1
BogoMIPS        : 3188.32

Features        : swp half thumb fastmult vfp edsp neon vfpv3 tls 
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x4
CPU part        : 0xc09
CPU revision    : 1

Hardware        : Marvell Armada-38x Board
Revision        : 0000
Serial          : 0000000000000000
COMMAND:    /opt/ltp/bin/ltp-pan  -e -S   -a 1545     -n 1545  -p  -f /tmp/ltp-gY1Exd6Eze/alltests -l /opt/ltp/wrLinux_ltp/runtime/runtime.log  -C /opt/ltp/output/LTP_RUN_ON-runtime.log.failed
INFO: Restricted to \<sendfile08\>
LOG File: /opt/ltp/wrLinux_ltp/runtime/runtime.log
FAILED COMMAND File: /opt/ltp/output/LTP_RUN_ON-runtime.log.failed
Running tests.......
<<<test_start>>>
tag=sendfile08 stime=1414539517
cmdline="sendfile08"
contacts=""
analysis=exit
<<<test_output>>>
sendfile08    1  TBROK  :  sendfile() failed: TEST_ERRNO=EINVAL(22): Invalid argument
sendfile08    2  TBROK  :  Remaining cases broken
incrementing stop
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=2 corefile=no
cutime=0 cstime=0
<<<test_end>>>
INFO: ltp-pan reported some tests FAIL
LTP Version: 20120903-134-g619d862

       ###############################################################

            Done executing testcases.
            LTP Version:  20120903-134-g619d862
       ###############################################################

<<wr-runltp Test Result>>
Total Tests: 1
Total Passes: 0
Total Skips: 0
Total Failures: 1
Known Failures: 0
Unknown Failures: 1
Kernel Version: 3.4.91-rt56-WR5.0.1.0_preempt-rt
Machine Architecture: armv7l
Hostname: localhost

[Test Result] Warning : LTP test failed with unknown failure
[Test Knowledge Base] LTP test case known failure : /opt/ltp/wrLinux_ltp/failtest
[Log Path] LTP test console output log: /opt/ltp/wrLinux_ltp/runtime/Ltp_console_output.log
[Log Path] LTP test log : /opt/ltp/wrLinux_ltp/results/LTP.log
<<wr-runltp Test Result>>
root@localhost:/opt/ltp/wrLinux_ltp#

2. sendfile08_64
=================================
root@localhost:/opt/ltp/wrLinux_ltp# ./wr-runltp  -s sendfile08_64
<<wr-runltp Test Plan>>
LTP test case : sendfile08_64
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.
 
/etc/issue:
Wind River Linux 5.0.1.0 \n \l

Linux localhost 3.4.91-rt56-WR5.0.1.0_preempt-rt #1 SMP PREEMPT RT Wed Oct 29 05:39:40 CST 2014 armv7l GNU/Linux
 
Gnu C                 
util-linux             linux 2.21.1
mount                  linux 2.21.1 (with libblkid support)
modutils               3.16
PPP                    2.4.5
Linux C Library        > libc.2.15
Dynamic linker (ldd)   2.15
Procps                 3.2.8
Net-tools              1.60
iproute2              iproute2-ss120813
Kbd                    69:
Sh-utils               8.14
Modules Loaded         loop

free reports:
             total       used       free     shared    buffers     cached
Mem:        248024      56604     191420          0        136      28404
-/+ buffers/cache:      28064     219960
Swap:            0          0          0

/proc/cpuinfo
ProceEXT4-fs (loop1): mounted filesystem with ordered data mode. Opts: (null)
ssor    : ARMv7 Processor rev 1 (v7l)
processor       : 0
BogoMIPS        : 3188.32

processor       : 1
BogoMIPS        : 3188.32

Features        : swp half thumb fastmult vfp edsp neon vfpv3 tls 
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x4
CPU part        : 0xc09
CPU revision    : 1

Hardware        : Marvell Armada-38x Board
Revision        : 0000
Serial          : 0000000000000000
COMMAND:    /opt/ltp/bin/ltp-pan  -e -S   -a 2385     -n 2385  -p  -f /tmp/ltp-gclISUyABT/alltests -l /opt/ltp/wrLinux_ltp/runtime/runtime.log  -C /opt/ltp/output/LTP_RUN_ON-runtime.log.failed
INFO: Restricted to \<sendfile08_64\>
LOG File: /opt/ltp/wrLinux_ltp/runtime/runtime.log
FAILED COMMAND File: /opt/ltp/output/LTP_RUN_ON-runtime.log.failed
Running tests.......
<<<test_start>>>
tag=sendfile08_64 stime=1414539899
cmdline="sendfile08_64"
contacts=""
analysis=exit
<<<test_output>>>
sendfile08_64    1  TBROK  :  sendfile() failed: TEST_ERRNO=EINVAL(22): Invalid argument
sendfile08_64    2  TBROK  :  Remaining cases broken
incrementing stop
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=2 corefile=no
cutime=0 cstime=0
<<<test_end>>>
INFO: ltp-pan reported some tests FAIL
LTP Version: 20120903-134-g619d862

       ###############################################################

            Done executing testcases.
            LTP Version:  20120903-134-g619d862
       ###############################################################

<<wr-runltp Test Result>>
Total Tests: 1
Total Passes: 0
Total Skips: 0
Total Failures: 1
Known Failures: 0
Unknown Failures: 1
Kernel Version: 3.4.91-rt56-WR5.0.1.0_preempt-rt
Machine Architecture: armv7l
Hostname: localhost

[Test Result] Warning : LTP test failed with unknown failure
[Test Knowledge Base] LTP test case known failure : /opt/ltp/wrLinux_ltp/failtest
[Log Path] LTP test console output log: /opt/ltp/wrLinux_ltp/runtime/Ltp_console_output.log
[Log Path] LTP test log : /opt/ltp/wrLinux_ltp/results/LTP.log
<<wr-runltp Test Result>>
root@localhost:/opt/ltp/wrLinux_ltp#

Steps to Reproduce

1). Build
configure --enable-rootfs=glibc-std --enable-board=mv-armada-38x --enable-kernel=standard --enable-test=yes && make fs

2). Boot
# cat /proc/cmdline 
console=ttyS0,115200 root=/dev/nfs rw nfsroot=128.224.162.230:/home/ovp/ihdw/TFTPNFS/rootfs ip=dhcp mv_net_config=4,(00:50:43:11:11:11,0:1:2:3),mtu=1500

3). Run sendfile08 and sendfile08_64

Other Downloads


Live chat
Online