Wind River Support Network

HomeDefectsLIN6-3705
Not to be fixed

LIN6-3705 : [Feature Testing][networking]: prf.14.0 in CUT failed on BSP: cav-octeon2

Created: May 21, 2013    Updated: Apr 19, 2018
Resolved Date: Apr 17, 2018
Previous ID: LIN5-3831, LIN6-2970
Found In Version: 6.0
Severity: Severe
Applicable for: Wind River Linux 6
Component/s: Networking

Description

Problem Description
======================
prf.14.0 in CUT failed on BSP: cav-octeon2

Expected Behavior
======================
test case pass.

Observed Behavior
======================
root@CN68xx_2:/opt/cut# cat testlog-May-18-13-01\:29.log 

----------------------------------------
Start testcase  PRF.14.0 RAID 0 Support
----------------------------------------
spawn fdisk /dev/sda
Welcome to fdisk (util-linux 2.21.1).

Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.


Command (m for help): d
Partition number (1-4): 1
Partition 1 is deleted

Command (m for help): d
Partition number (1-4): 2
Partition 2 is deleted

Command (m for help): n
Partition type:
   p   primary (1 primary, 0 extended, 3 free)
   e   extended
Select (default p): p
Partition number (1-4, default 1): 1
First sector (2048-15662303, default 2048): 3048
Last sector, +sectors or +size{K,M,G} (3048-206847, default 206847): 5048
Partition 1 of type Linux and of size 1000.5 KiB is set

Command (m for help): n
Partition type:
   p   primary (2 primary, 0 extended, 2 free)
   e   extended
Select (default p): p
Partition number (1-4, default 2): 2
First sector (2048-15662303, default 2048): ******Format Disks******
mke2fs 1.42.1 (17-Feb-2012)
/dev/sda1 is apparently in use by the system; will not make a filesystem here!
e2fsck 1.42.1 (17-Feb-2012)
e2fsck: Device or resource busy while trying to open /dev/sda1
Filesystem mounted or opened exclusively by another program?
******Format Disks******
mke2fs 1.42.1 (17-Feb-2012)
/dev/sda2 is apparently in use by the system; will not make a filesystem here!
e2fsck 1.42.1 (17-Feb-2012)
e2fsck: Device or resource busy while trying to open /dev/sda1
Filesystem mounted or opened exclusively by another program?
******Create RAID0******
spawn mdadm -Cv --metadata=0.90 /dev/md0 -l0 -n2 /dev/sda1 /dev/sda2
mdadm: chunk size defaults to 512K
mdadm: super0.90 cannot open /dev/sda1: Device or resource busy
mdadm: /dev/sda1 is not suitable for this array.
mdadm: super0.90 cannot open /dev/sda2: Device or resource busy
mdadm: /dev/sda2 is not suitable for this array.
mdadm: create aborted
expect: spawn id exp6 not open
    while executing
"expect  {
        eof             {exit 1}
        "*"
        }"
Error step : Create RAID0 fail
/opt/cut/function.sh: line 43: [: -eq: unary operator expected
Test Result : [ FAILED ]
Clean System...
Stop the mirrored device
mdadm: error opening /dev/md0: No such file or directory
Zero-superblock on Disks
mdadm: Couldn't open /dev/sda1 for write - not zeroing
mdadm: Couldn't open /dev/sda2 for write - not zeroing
Finish
root@CN68xx_2:/opt/cut# 

Steps to Reproduce

1 configure a project
/wrlinux-x/wrlinux/configure --enable-board=cav-octeon2 --enable-kernel=cgl --enable-rootfs=glibc-cgl --enable-parallel-pkgbuilds=16 --enable-jobs=8 --with-layer=/wr-testing/cgl,/wr-testing/networking --with-template=feature/cut
2. make fs
3. start the target with the kernel and rootfs
4. on target run: cd /opt/cut; ./cgl_test.sh -e prf.14.0

Other Downloads


Live chat
Online