Bug 912 - [LTP] LTP subcase ar fail to run on qemuppc
Summary: [LTP] LTP subcase ar fail to run on qemuppc
Status: VERIFIED FIXED
Alias: None
Product: Kernel
Classification: Yocto Project Subprojects
Component: kernel-tooling (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium minor
Target Milestone: 1.1
Assignee: Bruce Ashfield
QA Contact:
URL:
Whiteboard: simulation only, hardware is fine. (m...
Depends on:
Blocks:
 
Reported: 2011-03-18 07:08 UTC by Jiajun Xu
Modified: 2011-08-19 00:55 UTC (History)
9 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments
test source file of ar01 (17.35 KB, text/plain)
2011-03-18 07:08 UTC, Jiajun Xu
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiajun Xu 2011-03-18 07:08:30 UTC
Created attachment 123 [details]
test source file of ar01

Image location:
http://autobuilder.pokylinux.org/nightly/20110305-4/machines/qemu/qemuppc/
Tree/Branch: Distro/Bernard
Commit: commit c192fefd868be53c20dfd8bc44e3e815cf53a10a
Author: Saul Wold <sgw@linux.intel.com>
Date:   Fri Mar 4 18:13:50 2011 -0800

    lsbsetup: Fix LIC_FILE_CHKSUM

    Signed-off-by: Saul Wold <sgw@linux.intel.com>


The bug exists on both v1.0 M4 RC1 and RC2 testing. But in previous v1.0 M2 testing, there is no such issue. The error is as below:

####
tag=ar stime=1299398920
cmdline="export TCdat=$LTPROOT/testcases/bin; ar01"
contacts=""
analysis=exit
<<<test_output>>>
-------System test for ar command, Loop 1----
-)1
-)2
-)3
-)4
-)5
-)6
-)7
-)8
-)9
-)10
-)11
-)12
-)13
-)14
-)15
-)16
-)17 SKIPPED due to binutils ar automatically adds a symbol.
-)18
-)19 SKIPPED due to binutils ar automatically adds a symbol.
-)20
-)21
-)22
-)23
-)24
-)25
-)26 SKIPPED UNDER PAN
ar: creating /tmp/ar01-12316/lib.a
FAIL - ar could not create the archive ; killed by SIGINIT
ar: creating /tmp/ar01-12316/lib.a
FAIL - ar could not create the archive ; killed by SIGQUIT
ar: creating /tmp/ar01-12316/lib.a
FAIL - ar could not complete the archive ; killed by SIGHUP
ar: creating /tmp/ar01-12316/lib.a
-)30
ar: creating /tmp/ar01-12316/lib.a
FAIL - ar could not complete the archive ; killed by SIGQUIT
---------------ar command failed the system test-----------------
<<<execution_status>>>
initiation_status="ok"
duration=25 termination_type=exited termination_id=1 corefile=no
cutime=817 cstime=1191
<<<test_end>>>
ar: could not create temporary file whilst writing archive: No more archived files
####
Comment 1 Bruce Ashfield 2011-03-21 13:13:59 UTC
do we know if this happens on a h/w platform ?
Comment 2 Jiajun Xu 2011-03-23 07:28:18 UTC
(In reply to comment #1)
> do we know if this happens on a h/w platform ?

For real ppc platform -- mpc8315e-rdb, the same case could pass with RC2 build. We have no image for RC1 build and will check the result with gold build.
Comment 3 Bruce Ashfield 2011-03-23 11:32:08 UTC
thanks for the update. This (partially) confirms my feeling that this is related to the limitation(s) of qemuppc. rechecking with gold is definitely a good idea.
Comment 4 Yi Zhao 2011-04-11 00:39:02 UTC
I tested it on 1.0 final release lsb-sdk build image (20110325), and found it can *pass* on this build:

<<<test_start>>>
tag=ar stime=1301226636
cmdline="export TCdat=$LTPROOT/testcases/bin; ar01"
contacts=""
analysis=exit
<<<test_output>>>
-------System test for ar command, Loop 1----
-)1
-)2
-)3
-)4
-)5
-)6
-)7
-)8
-)9
-)10
-)11
-)12
-)13
-)14
-)15
-)16
-)17 SKIPPED due to binutils ar automatically adds a symbol.
-)18
-)19 SKIPPED due to binutils ar automatically adds a symbol.
-)20
-)21
-)22
-)23
-)24
-)25
-)26 SKIPPED UNDER PAN
ar: creating /tmp/ar01-22960/lib.a
-)27
ar: creating /tmp/ar01-22960/lib.a
-)28
ar: creating /tmp/ar01-22960/lib.a
-)29
ar: creating /tmp/ar01-22960/lib.a
-)30
ar: creating /tmp/ar01-22960/lib.a
-)31
---------------ar command passed the system test-----------------
<<<execution_status>>>
initiation_status="ok"
duration=15 termination_type=exited termination_id=0 corefile=no
cutime=651 cstime=700
<<<test_end>>>
Comment 5 Jingdong Lu 2011-05-20 00:54:37 UTC
mpc8315e-rdb:
Image: 1.0.1
http://autobuilder.pokylinux.org/nightly/20110513-1/machines/mpc8315e-rdb/ppc/poky-image-sato-sdk-mpc8315e-rdb-20110514125020.rootfs.tar.gz
Tree/Branch: poky/bernard
Run ltp: ar
Result: *pass*

Qemuppc:
Image: 1.0.1
http://autobuilder.pokylinux.org/nightly/20110513-1/machines/qemu/qemuppc/poky-image-sato-sdk-qemuppc-20110514074939.rootfs.ext3
Run ltp: ar
Result: *Fail*

<<<test_start>>>
tag=ar stime=1305373931
cmdline="export TCdat=$LTPROOT/testcases/bin; ar01"
contacts=""
analysis=exit
<<<test_output>>>
incrementing stop
-------System test for ar command, Loop 1----
-)1
-)2
-)3
-)4
-)5
-)6
-)7
-)8
-)9
-)10
-)11
-)12
-)13
-)14
-)15
-)16
-)17 SKIPPED due to binutils ar automatically adds a symbol.
-)18
-)19 SKIPPED due to binutils ar automatically adds a symbol.
-)20
-)21
-)22
-)23
-)24
-)25
-)26 SKIPPED UNDER PAN
ar: creating /tmp/ar01-14709/lib.a
FAIL - ar could not create the archive ; killed by SIGINIT
ar: creating /tmp/ar01-14709/lib.a
FAIL - ar could not create the archive ; killed by SIGQUIT
ar: creating /tmp/ar01-14709/lib.a
FAIL - ar could not complete the archive ; killed by SIGHUP
ar: creating /tmp/ar01-14709/lib.a
FAIL - ar could not complete the archive ; killed by SIGINIT
ar: creating /tmp/ar01-14709/lib.a
-)31
---------------ar command failed the system test-----------------
<<<execution_status>>>
initiation_status="ok"
duration=20 termination_type=exited termination_id=1 corefile=no
cutime=746 cstime=1079
<<<test_end>>>
INFO: ltp-pan reported some tests FAIL
LTP Version: LTP-20100831
        
       ###############################################################"
        
            Done executing testcases."
            LTP Version:  LTP-20100831
       ###############################################################"
Comment 6 Bruce Ashfield 2011-05-24 08:56:22 UTC
so this continues to be emulation only. good to know, it means the priority is less.
Comment 7 liang li 2011-07-20 02:29:34 UTC
use sato-sdk images of mpc8315e-rdb and qemuppc (nightly build 20110715-1):
the ltp subcase "ar" all passed.
git info : 93a2ca70482f09e93469481936302e7b6847156e
git branch :Poky/1.1_M2
Comment 8 Yi Zhao 2011-08-12 00:41:10 UTC
With 1.1 M3 20110806 build, this case can pass both on qemuppc and mpc8315e-rdb by using latest ltp-full-20110606. 

#################
<<<test_start>>>
tag=ar stime=1312855464
cmdline="export TCdat=$LTPROOT/testcases/bin; ar01" 
contacts=""
analysis=exit
<<<test_output>>>
-------System test for ar command, Loop 1---- 
-)1
-)2
-)3
-)4
-)5
-)6
-)7
-)8
-)9
-)10
-)11
-)12
-)13
-)14
-)15
-)16
-)17 SKIPPED due to binutils ar automatically adds a symbol.
-)18
-)19 SKIPPED due to binutils ar automatically adds a symbol.
-)20
-)21
-)22
-)23
-)24
-)25
-)26 SKIPPED UNDER PAN
ar: creating /tmp/ar01-807/lib.a
-)27
ar: creating /tmp/ar01-807/lib.a
-)28
ar: creating /tmp/ar01-807/lib.a
-)29
ar: creating /tmp/ar01-807/lib.a
-)30
ar: creating /tmp/ar01-807/lib.a
-)31
---------------ar command passed the system test-----------------
<<<execution_status>>>
initiation_status="ok"
duration=15 termination_type=exited termination_id=0 corefile=no
cutime=494 cstime=451
<<<test_end>>>
#############
Comment 9 Bruce Ashfield 2011-08-12 06:48:01 UTC
marking as resolved.
Comment 10 Yi Zhao 2011-08-19 00:55:17 UTC
Verified it with 20110806 build by using ltp-20110606