Wind River Support Network

HomeDefectsLIN6-3832
Not to be fixed

LIN6-3832 : [Feature Testing][networking]: avl.22.0 in CUT failed on BSP: cav-octeon2

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

Description

Problem Description
======================
avl.22.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-04\:42.log 

----------------------------------------
Start testcase  AVL.22.0 Software RAID 1 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): 2048
Last sector, +sectors or +size{K,M,G} (2048-206847, default 206847): 2348
Partition 1 of type Linux and of size 150.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 (2349-15662303, default 2349): *******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/sda2
Filesystem mounted or opened exclusively by another program?
******Create RAID1*****
spawn mdadm -Cv /dev/md1 -l1 -n2 /dev/sda1 /dev/sda2
mdadm: super1.x cannot open /dev/sda1: Device or resource busy
mdadm: ddf: Cannot use /dev/sda1: Device or resource busy
mdadm: Cannot use /dev/sda1: It is busy
mdadm: cannot open /dev/sda1: Device or resource busy
expect: spawn id exp6 not open
    while executing
"expect  {
eof		{exit 1}
"*"		
    }"
Error step : Create RAID1 fail
/opt/cut/function.sh: line 43: [: -eq: unary operator expected
Test Result : [ FAILED ]
Clean System...
Stop the mirrored device
mdadm: error opening /dev/md1: No such file or directory
mdadm: error opening /dev/md11: No such file or directory
mdadm: error opening /dev/md12: 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 avl.22.0

Other Downloads


Live chat
Online