<?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>10047</bug_id>
          
          <creation_ts>2016-07-28 14:00:37 +0000</creation_ts>
          <short_desc>Piglit isn&apos;t in images (removed from tools-testapps)</short_desc>
          <delta_ts>2018-04-10 06:40:18 +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>2.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.5 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jose Perez C">jose.perez.carranza</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>jku</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>Regression (Used to work)</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>64579</commentid>
    <comment_count>0</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2016-07-28 14:00:37 +0000</bug_when>
    <thetext>STATUS: IDLE
BUILD: 2.2_M2 : 36feb38045b7a2af86ece147fec54b0db3bf491f
ENVIRONMENT: qemu-x86
STEPS TO REPRODUCE: 
  
 Having installed the core-image-sato-sdk image, run Piglit 3D testing suite:
piglit run /usr/lib/piglit/tests/quick.tests results/quick (The tests need display so if you&apos;re running through ssh, make sure to export DISPLAY=:0.0)

After the tests are completed run piglit summary html summary/quick_sum results/quick
Check summary/quick_sum/index.html report in browser 



EXPECTED OUTCOME: 
  
Results should be 9160/9597 pass rate for sugarbay
Results should be 9257/9691 pass rate for nuc


ACTUAL OUTCOME: 

Piglit test suite is not available under /usr/lib</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64595</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-07-28 15:28:30 +0000</bug_when>
    <thetext>So the problem is that new piglit is so giant it means that images couldn&apos;t be built.

oe-core 9e227ecb3a994133cf9b85d6dd424afe85edfbaf removed piglit from tools-testapps.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65870</commentid>
    <comment_count>2</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2016-09-07 13:09:56 +0000</bug_when>
    <thetext>The bulk of the tests is in two sets of generated tests that are tiny and highly repetitive. Running &quot;tar cJf&quot; on the 1.4GB directory creates a 14MB tarball!

If we do that as part of install, we&apos;d then have to fix the scripts to be able to extract the tests and make sure the image has 1.4 GB free space. This of course would make the image files the same size as before (unless we support sparse images)


Other than that the two sets of generated tests (about 9000 tests each) are for:
 * glsl-4.20
 * arb_vertex_attrib_64bit
Majority of the tests are essentially same (but not actually 100% same) in these two sets, former are for glsl-4.20 and the latter for an extension of glsl-1.30.

It would probably be possible (but not necessarily easy) to modify piglit to run these tests from single source, that might save 500MB. That would still make piglit close to 1 GB installed size so I&apos;m not convinced it&apos;s worth the complexity.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65872</commentid>
    <comment_count>3</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2016-09-07 14:19:02 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt;  Having installed the core-image-sato-sdk image, run Piglit 3D testing suite:
&gt; piglit run /usr/lib/piglit/tests/quick.tests results/quick (The tests need
&gt; display so if you&apos;re running through ssh, make sure to export DISPLAY=:0.0)

Just a note: current piglit also requires PIGLIT_NO_WINDOW=1 to get results that are representative.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67207</commentid>
    <comment_count>4</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2016-10-13 14:16:40 +0000</bug_when>
    <thetext>I did a test with piglit packaging 
  http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=jku/piglit-compress-tests

Installing piglit + piglit-generated-tests-compressed makes the image about 1.7 GB smaller than doing the same on current master. Image build time and test runtime are comparable to current master.

Currently recipe generates also the non-compressed version of the tests, not doing that would probably cut several minutes off the build time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67208</commentid>
    <comment_count>5</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2016-10-13 14:18:25 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; Installing piglit + piglit-generated-tests-compressed makes the image about
&gt; 1.7 GB smaller than doing the same on current master. Image build time and
&gt; test runtime are comparable to current master.

.. and the downside of course is that this needs 1.6 GB of free space on /usr/lib/piglit/ at runtime</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70871</commentid>
    <comment_count>6</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2017-02-21 18:04:15 +0000</bug_when>
    <thetext>Moving to jku as he sent patches.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73877</commentid>
    <comment_count>7</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2017-06-08 12:42:38 +0000</bug_when>
    <thetext>No progress, moving straight to M3 as next milestone is getting crowded for me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80189</commentid>
    <comment_count>8</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2018-04-10 06:40:18 +0000</bug_when>
    <thetext>Piglit is huge, getting huger, and that won&apos;t change.

We&apos;ll continue to ship piglit and use it for testing but its too big for testapps.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>