<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>3903</bug_id>
          
          <creation_ts>2013-02-18 15:10:27 +0000</creation_ts>
          <short_desc>[Test Case 269] Graphics - ABAT</short_desc>
          <delta_ts>2013-04-11 13:56:23 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>graphics</component>
          <version>1.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Stoicescu Cornel">corneliux.stoicescu</reporter>
          <assigned_to name="Laurentiu Palcu">laurentiu.palcu</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>29921</commentid>
    <comment_count>0</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2013-02-18 15:10:27 +0000</bug_when>
    <thetext>STATUS: FAILED
BUILD: master:3ec4df57540421df2cda6b83c615bfb7cebccefd
ENVIRONMENT: NUC(Next Unit of Computing)
STEPS TO REPRODUCE: 
1. Download ABAT test suite from internal git repository,  git clone git://tinderbox.sh.intel.com/git/abat
2. Apply following patch to make it work on yocto environment
3. Run &quot;./abat.sh&quot; to run ABAT test
########
diff --git a/glxgears_check.sh b/glxgears_check.sh
index 17622b8..c4d3b97 100755
--- a/glxgears_check.sh
+++ b/glxgears_check.sh
@@ -31,7 +31,7 @@ else
 
     sleep 6
 
-    XPID=$( ps ax | awk &apos;{print $1, $5}&apos; | grep glxgears | awk &apos;{print $1}&apos;)
+    XPID=$( ps | awk &apos;{print $1, $5}&apos; | grep glxgears | awk &apos;{print $1}&apos;)
     if [ ! -z &quot;$XPID&quot; ]; then
         kill -9 $XPID &gt;/dev/null 2&gt;&amp;1
         echo &quot;glxgears can run, PASS!&quot;
diff --git a/x_close.sh b/x_close.sh
index e287be1..3429f1a 100755
--- a/x_close.sh
+++ b/x_close.sh
@@ -22,7 +22,7 @@
 #
 function close_proc(){
 echo &quot;kill process Xorg&quot;
-XPID=$(  ps ax | awk &apos;{print $1, $5}&apos; | egrep &quot;X$|Xorg$&quot; | awk &apos;{print $1}&apos;)
+XPID=$(  ps | awk &apos;{print $1, $6}&apos; | egrep &quot;X$|Xorg$&quot; | awk &apos;{print $1}&apos;)
 if [ ! -z &quot;$XPID&quot; ]; then
     kill $XPID
     sleep 4
diff --git a/x_start.sh b/x_start.sh
index 9cf6eab..2305796 100755
--- a/x_start.sh
+++ b/x_start.sh
@@ -24,7 +24,7 @@
 X_ERROR=0
 
 #test whether X has started
-PXID=$(ps ax |awk &apos;{print $1,$5}&apos; |egrep &quot;Xorg$|X$&quot; |grep -v grep | awk &apos;{print $1}&apos;)
+PXID=$(ps |awk &apos;{print $1,$6}&apos; |egrep &quot;Xorg$|X$&quot; |grep -v grep | awk &apos;{print $1}&apos;)
 if [ ! -z &quot;$PXID&quot; ]; then
     echo &quot;[WARNING] Xorg has started!&quot;
     XORG_STATUS=&quot;started&quot;
@@ -35,9 +35,11 @@ else
     #start up the x server
     echo &quot;Start up the X server for test in display $DISPLAY................&quot;
 
-    $XORG_DIR/bin/X &gt;/dev/null 2&gt;&amp;1 &amp;
+    #$XORG_DIR/bin/X &gt;/dev/null 2&gt;&amp;1 &amp;
+    #sleep 8
+    #xterm &amp;
+    /etc/init.d/xserver-nodm start &amp;
     sleep 8
-    xterm &amp;
 fi
     XLOG_FILE=/var/log/Xorg.0.log
     [ -f $XORG_DIR/var/log/Xorg.0.log ] &amp;&amp; XLOG_FILE=$XORG_DIR/var/log/Xorg.0.log
@@ -54,7 +56,7 @@ fi
         X_ERROR=1
     fi
 
-    XPID=$( ps ax | awk &apos;{print $1, $5}&apos; | egrep &quot;X$|Xorg$&quot; |grep -v grep| awk &apos;{print $1}&apos;)
+    XPID=$( ps | awk &apos;{print $1, $6}&apos; | egrep &quot;X$|Xorg$&quot; |grep -v grep| awk &apos;{print $1}&apos;)
     if [ -z &quot;$XPID&quot; ]; then
         echo &quot;Start up X server FAIL!&quot;
  echo
########


EXPECTED OUTCOME: All ABAT test should pass.

ACTUAL OUTCOME: 1 test fails:

Dynamic library path check.........................
/usr/bin/ldd: line 29: /lib64/ld-linux-x86-64.so.2: No such file or directory
/usr/bin/ldd: line 29: /lib64/ld-linux-x86-64.so.2: No such file or directory
ERROR: library libGL.so&apos;s path is not correct, should be /usr/lib, but the lib in use is
/usr/bin/ldd: line 29: /lib64/ld-linux-x86-64.so.2: No such file or directory
/usr/bin/ldd: line 29: /lib64/ld-linux-x86-64.so.2: No such file or directory
ERROR: library libXext.so&apos;s path is not correct, should be /usr/lib, but the lib in use is
/usr/bin/ldd: line 29: /lib64/ld-linux-x86-64.so.2: No such file or directory
/usr/bin/ldd: line 29: /lib64/ld-linux-x86-64.so.2: No such file or directory
ERROR: library libX11&apos;s path is not correct, should be /usr/lib, but the lib in use is
Dynamic library&apos;path check FAIL!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30376</commentid>
    <comment_count>1</comment_count>
    <who name="Laurentiu Palcu">laurentiu.palcu</who>
    <bug_when>2013-03-04 07:32:56 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=99ff74adceb309b38cf73d064d8bba91da50a8df</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31964</commentid>
    <comment_count>2</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2013-04-11 13:56:23 +0000</bug_when>
    <thetext>Verified in master:fe336b149552b1f4f24d979c40302653298b98cc</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>