<?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>11737</bug_id>
          
          <creation_ts>2017-06-29 16:51:17 +0000</creation_ts>
          <short_desc>include selftest tests for devtool import/export plugins</short_desc>
          <delta_ts>2025-02-14 16:48:25 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Build Testing</product>
          <component>general</component>
          <version>2.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>ACCEPTED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard> </status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>5.99</target_milestone>
          <dependson>10510</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</reporter>
          <assigned_to name="Aaron Chan">aaron.chun.yew.chan</assigned_to>
          <cc>aaron.chun.yew.chan</cc>
    
    <cc>apoorv.sangal</cc>
    
    <cc>jose.perez.carranza</cc>
    
    <cc>leonardo.sandoval.gonzalez</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>sgw</cc>
          
          <qa_contact name="Aaron Chan">aaron.chun.yew.chan</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</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>74653</commentid>
    <comment_count>0</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2017-06-29 16:51:17 +0000</bug_when>
    <thetext>Once the series including export/import devtool plugins land to master, the system should exercise them. The most basic features should be tested based on [1], which I actually tested but did not fully work when run the whole test case (tear down commands were failing).

[1] http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=lsandov1/devtool-import-export-selftest</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75985</commentid>
    <comment_count>1</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2017-08-18 14:04:33 +0000</bug_when>
    <thetext>Moved to 2.5 as this feature is not yet integrated</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79790</commentid>
    <comment_count>2</comment_count>
    <who name="Aaron Chan">aaron.chun.yew.chan</who>
    <bug_when>2018-03-12 22:41:46 +0000</bug_when>
    <thetext>With reference to link below:
http://centaurus01.png.intel.com:8010/builders/nightly-oe-selftest-ubuntu1604/builds/58/steps/Running%20oe-selftest/logs/stdio
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=lsandov1/devtool-import-export-selftest&amp;id=4b0e8df2ecb7f6a90add6bf4d2839bf5d8478a4d


2018-03-13 07:18:38,192 - oe-selftest - INFO -   test_devtool_deploy_target (devtool.DevtoolTests) ... OK (149.287s)
2018-03-13 07:19:17,697 - oe-selftest - INFO -   test_devtool_export (devtool.DevtoolTests) ... OK (39.503s)
2018-03-13 07:19:56,857 - oe-selftest - WARNING - tearDown commands have failed: rm workspace-export*.tar.gz
2018-03-13 07:19:56,929 - oe-selftest - INFO -   test_devtool_export_exclude_all (devtool.DevtoolTests) ... OK (39.231s)
2018-03-13 07:20:34,443 - oe-selftest - INFO -   test_devtool_export_exclude_specific_file (devtool.DevtoolTests) ... OK (37.513s)
2018-03-13 07:21:11,969 - oe-selftest - INFO -   test_devtool_export_include (devtool.DevtoolTests) ... OK (37.523s)
2018-03-13 07:21:51,570 - oe-selftest - INFO -   test_devtool_export_overwrite_file (devtool.DevtoolTests) ... OK (39.598s)
2018-03-13 07:22:09,454 - oe-selftest - INFO -   test_devtool_extract (devtool.DevtoolTests) ... OK (17.881s)
2018-03-13 07:22:25,818 - oe-selftest - INFO -   test_devtool_extract_virtual (devtool.DevtoolTests) ... OK (16.364s)
2018-03-13 07:23:06,201 - oe-selftest - INFO -   test_devtool_finish_modify_origlayer (devtool.DevtoolTests) ... OK (40.382s)
2018-03-13 07:23:45,617 - oe-selftest - INFO -   test_devtool_finish_modify_otherlayer (devtool.DevtoolTests) ... OK (39.415s)
2018-03-13 07:24:22,425 - oe-selftest - INFO -   test_devtool_finish_upgrade_origlayer (devtool.DevtoolTests) ... OK (36.807s)
2018-03-13 07:25:02,547 - oe-selftest - INFO -   test_devtool_finish_upgrade_otherlayer (devtool.DevtoolTests) ... OK (40.121s)
2018-03-13 07:25:55,764 - oe-selftest - WARNING - tearDown commands have failed: bitbake-layers remove-layer *//tmp/import7syded0e
2018-03-13 07:25:55,898 - oe-selftest - INFO -   test_devtool_import (devtool.DevtoolTests) ... OK (53.350s)

Here are list of testcases below run for devtool.DevtoolTests are NOT included with Testcase ID and yet to be merged into the HEAD on master branch.
All the testcase mentioned below are tested in local PG autobuilder and found to be passing. All other testcases are failing using this branch lsandov1/devtool-import-export-selftest.

a) test_devtool_export
b) test_devtool_export_include
c) test_devtool_export_exclude_all
d) test_devtool_export_exclude_specific_file
e) test_devtool_export_overwrite_file
f) test_devtool_import

2018-03-13 07:27:13,844 - oe-selftest - INFO - RESULTS - devtool.DevtoolTests.test_create_workspace - Testcase 1158: PASSED
2018-03-13 07:27:13,844 - oe-selftest - INFO - RESULTS - devtool.DevtoolTests.test_devtool_add - Testcase 1159: PASSED
2018-03-13 07:27:13,845 - oe-selftest - INFO - RESULTS - devtool.DevtoolTests.test_devtool_add_fetch - Testcase 1160: PASSED
2018-03-13 07:27:13,846 - oe-selftest - INFO - RESULTS - devtool.DevtoolTests.test_devtool_add_fetch_git - Testcase 1161: PASSED
2018-03-13 07:27:13,847 - oe-selftest - INFO - RESULTS - devtool.DevtoolTests.test_devtool_add_fetch_simple - Testcase 1391: PASSED
2018-03-13 07:27:13,848 - oe-selftest - INFO - RESULTS - devtool.DevtoolTests.test_devtool_add_git_local - Testcase 1423: PASSED
2018-03-13 07:27:13,849 - oe-selftest - INFO - RESULTS - devtool.DevtoolTests.test_devtool_add_library - Testcase 1162: PASSED
2018-03-13 07:27:13,850 - oe-selftest - INFO - RESULTS - devtool.DevtoolTests.test_devtool_build_image - Testcase 1366: PASSED
2018-03-13 07:27:13,851 - oe-selftest - INFO - RESULTS - devtool.DevtoolTests.test_devtool_buildclean - Testcase 1620: PASSED
2018-03-13 07:27:13,852 - oe-selftest - INFO - RESULTS - devtool.DevtoolTests.test_devtool_deploy_target - Testcase 1272: PASSED
2018-03-13 07:27:13,853 - oe-selftest - INFO - RESULTS - devtool.DevtoolTests.test_devtool_export - Testcase -1: PASSED
2018-03-13 07:27:13,853 - oe-selftest - INFO - RESULTS - devtool.DevtoolTests.test_devtool_export_exclude_all - Testcase -1: PASSED
2018-03-13 07:27:13,854 - oe-selftest - INFO - RESULTS - devtool.DevtoolTests.test_devtool_export_exclude_specific_file - Testcase -1: PASSED
2018-03-13 07:27:13,855 - oe-selftest - INFO - RESULTS - devtool.DevtoolTests.test_devtool_export_include - Testcase -1: PASSED
2018-03-13 07:27:13,856 - oe-selftest - INFO - RESULTS - devtool.DevtoolTests.test_devtool_export_overwrite_file - Testcase -1: PASSED
2018-03-13 07:27:13,857 - oe-selftest - INFO - RESULTS - devtool.DevtoolTests.test_devtool_extract - Testcase 1163: PASSED
2018-03-13 07:27:13,858 - oe-selftest - INFO - RESULTS - devtool.DevtoolTests.test_devtool_extract_virtual - Testcase 1379: PASSED
2018-03-13 07:27:13,859 - oe-selftest - INFO - RESULTS - devtool.DevtoolTests.test_devtool_finish_modify_origlayer - Testcase 1621: PASSED
2018-03-13 07:27:13,860 - oe-selftest - INFO - RESULTS - devtool.DevtoolTests.test_devtool_finish_modify_otherlayer - Testcase 1622: PASSED
2018-03-13 07:27:13,861 - oe-selftest - INFO - RESULTS - devtool.DevtoolTests.test_devtool_finish_upgrade_origlayer - Testcase 1623: PASSED
2018-03-13 07:27:13,861 - oe-selftest - INFO - RESULTS - devtool.DevtoolTests.test_devtool_finish_upgrade_otherlayer - Testcase 1624: PASSED
2018-03-13 07:27:13,862 - oe-selftest - INFO - RESULTS - devtool.DevtoolTests.test_devtool_import - Testcase -1: PASSED

Since these additional testcases are passing in lsandov1/devtool-import-export-selftest, it should be merged into master branch to be included into 2.5 M3 and beyond.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79793</commentid>
    <comment_count>3</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2018-03-13 06:26:10 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; With reference to link below:
&gt; http://centaurus01.png.intel.com:8010/builders/nightly-oe-selftest-
&gt; ubuntu1604/builds/58/steps/Running%20oe-selftest/logs/stdio
&gt; http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=lsandov1/
&gt; devtool-import-export-selftest&amp;id=4b0e8df2ecb7f6a90add6bf4d2839bf5d8478a4d
&gt; 
&gt; 
&gt; 2018-03-13 07:18:38,192 - oe-selftest - INFO -   test_devtool_deploy_target
&gt; (devtool.DevtoolTests) ... OK (149.287s)
&gt; 2018-03-13 07:19:17,697 - oe-selftest - INFO -   test_devtool_export
&gt; (devtool.DevtoolTests) ... OK (39.503s)
&gt; 2018-03-13 07:19:56,857 - oe-selftest - WARNING - tearDown commands have
&gt; failed: rm workspace-export*.tar.gz
&gt; 2018-03-13 07:19:56,929 - oe-selftest - INFO -  
&gt; test_devtool_export_exclude_all (devtool.DevtoolTests) ... OK (39.231s)
&gt; 2018-03-13 07:20:34,443 - oe-selftest - INFO -  
&gt; test_devtool_export_exclude_specific_file (devtool.DevtoolTests) ... OK
&gt; (37.513s)
&gt; 2018-03-13 07:21:11,969 - oe-selftest - INFO -   test_devtool_export_include
&gt; (devtool.DevtoolTests) ... OK (37.523s)
&gt; 2018-03-13 07:21:51,570 - oe-selftest - INFO -  
&gt; test_devtool_export_overwrite_file (devtool.DevtoolTests) ... OK (39.598s)
&gt; 2018-03-13 07:22:09,454 - oe-selftest - INFO -   test_devtool_extract
&gt; (devtool.DevtoolTests) ... OK (17.881s)
&gt; 2018-03-13 07:22:25,818 - oe-selftest - INFO -  
&gt; test_devtool_extract_virtual (devtool.DevtoolTests) ... OK (16.364s)
&gt; 2018-03-13 07:23:06,201 - oe-selftest - INFO -  
&gt; test_devtool_finish_modify_origlayer (devtool.DevtoolTests) ... OK (40.382s)
&gt; 2018-03-13 07:23:45,617 - oe-selftest - INFO -  
&gt; test_devtool_finish_modify_otherlayer (devtool.DevtoolTests) ... OK (39.415s)
&gt; 2018-03-13 07:24:22,425 - oe-selftest - INFO -  
&gt; test_devtool_finish_upgrade_origlayer (devtool.DevtoolTests) ... OK (36.807s)
&gt; 2018-03-13 07:25:02,547 - oe-selftest - INFO -  
&gt; test_devtool_finish_upgrade_otherlayer (devtool.DevtoolTests) ... OK
&gt; (40.121s)
&gt; 2018-03-13 07:25:55,764 - oe-selftest - WARNING - tearDown commands have
&gt; failed: bitbake-layers remove-layer *//tmp/import7syded0e
Here is a tearDown command fialing, I think this should be corrected.

&gt; 2018-03-13 07:25:55,898 - oe-selftest - INFO -   test_devtool_import
&gt; (devtool.DevtoolTests) ... OK (53.350s)
&gt; 
&gt; Here are list of testcases below run for devtool.DevtoolTests are NOT
&gt; included with Testcase ID and yet to be merged into the HEAD on master
&gt; branch.
&gt; All the testcase mentioned below are tested in local PG autobuilder and
&gt; found to be passing. All other testcases are failing using this branch
&gt; lsandov1/devtool-import-export-selftest.
Did you rebase this branch on top master? Because this branch is kind of old. 

&gt; 
&gt; a) test_devtool_export
&gt; b) test_devtool_export_include
&gt; c) test_devtool_export_exclude_all
&gt; d) test_devtool_export_exclude_specific_file
&gt; e) test_devtool_export_overwrite_file
&gt; f) test_devtool_import
&gt; 
&gt; 2018-03-13 07:27:13,844 - oe-selftest - INFO - RESULTS -
&gt; devtool.DevtoolTests.test_create_workspace - Testcase 1158: PASSED
&gt; 2018-03-13 07:27:13,844 - oe-selftest - INFO - RESULTS -
&gt; devtool.DevtoolTests.test_devtool_add - Testcase 1159: PASSED
&gt; 2018-03-13 07:27:13,845 - oe-selftest - INFO - RESULTS -
&gt; devtool.DevtoolTests.test_devtool_add_fetch - Testcase 1160: PASSED
&gt; 2018-03-13 07:27:13,846 - oe-selftest - INFO - RESULTS -
&gt; devtool.DevtoolTests.test_devtool_add_fetch_git - Testcase 1161: PASSED
&gt; 2018-03-13 07:27:13,847 - oe-selftest - INFO - RESULTS -
&gt; devtool.DevtoolTests.test_devtool_add_fetch_simple - Testcase 1391: PASSED
&gt; 2018-03-13 07:27:13,848 - oe-selftest - INFO - RESULTS -
&gt; devtool.DevtoolTests.test_devtool_add_git_local - Testcase 1423: PASSED
&gt; 2018-03-13 07:27:13,849 - oe-selftest - INFO - RESULTS -
&gt; devtool.DevtoolTests.test_devtool_add_library - Testcase 1162: PASSED
&gt; 2018-03-13 07:27:13,850 - oe-selftest - INFO - RESULTS -
&gt; devtool.DevtoolTests.test_devtool_build_image - Testcase 1366: PASSED
&gt; 2018-03-13 07:27:13,851 - oe-selftest - INFO - RESULTS -
&gt; devtool.DevtoolTests.test_devtool_buildclean - Testcase 1620: PASSED
&gt; 2018-03-13 07:27:13,852 - oe-selftest - INFO - RESULTS -
&gt; devtool.DevtoolTests.test_devtool_deploy_target - Testcase 1272: PASSED
&gt; 2018-03-13 07:27:13,853 - oe-selftest - INFO - RESULTS -
&gt; devtool.DevtoolTests.test_devtool_export - Testcase -1: PASSED
&gt; 2018-03-13 07:27:13,853 - oe-selftest - INFO - RESULTS -
&gt; devtool.DevtoolTests.test_devtool_export_exclude_all - Testcase -1: PASSED
&gt; 2018-03-13 07:27:13,854 - oe-selftest - INFO - RESULTS -
&gt; devtool.DevtoolTests.test_devtool_export_exclude_specific_file - Testcase
&gt; -1: PASSED
&gt; 2018-03-13 07:27:13,855 - oe-selftest - INFO - RESULTS -
&gt; devtool.DevtoolTests.test_devtool_export_include - Testcase -1: PASSED
&gt; 2018-03-13 07:27:13,856 - oe-selftest - INFO - RESULTS -
&gt; devtool.DevtoolTests.test_devtool_export_overwrite_file - Testcase -1: PASSED
&gt; 2018-03-13 07:27:13,857 - oe-selftest - INFO - RESULTS -
&gt; devtool.DevtoolTests.test_devtool_extract - Testcase 1163: PASSED
&gt; 2018-03-13 07:27:13,858 - oe-selftest - INFO - RESULTS -
&gt; devtool.DevtoolTests.test_devtool_extract_virtual - Testcase 1379: PASSED
&gt; 2018-03-13 07:27:13,859 - oe-selftest - INFO - RESULTS -
&gt; devtool.DevtoolTests.test_devtool_finish_modify_origlayer - Testcase 1621:
&gt; PASSED
&gt; 2018-03-13 07:27:13,860 - oe-selftest - INFO - RESULTS -
&gt; devtool.DevtoolTests.test_devtool_finish_modify_otherlayer - Testcase 1622:
&gt; PASSED
&gt; 2018-03-13 07:27:13,861 - oe-selftest - INFO - RESULTS -
&gt; devtool.DevtoolTests.test_devtool_finish_upgrade_origlayer - Testcase 1623:
&gt; PASSED
&gt; 2018-03-13 07:27:13,861 - oe-selftest - INFO - RESULTS -
&gt; devtool.DevtoolTests.test_devtool_finish_upgrade_otherlayer - Testcase 1624:
&gt; PASSED
&gt; 2018-03-13 07:27:13,862 - oe-selftest - INFO - RESULTS -
&gt; devtool.DevtoolTests.test_devtool_import - Testcase -1: PASSED
&gt; 
&gt; Since these additional testcases are passing in
&gt; lsandov1/devtool-import-export-selftest, it should be merged into master
&gt; branch to be included into 2.5 M3 and beyond.

I think the test cases that are failing should be reviewed as they may be failing due the new test test cases added.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96809</commentid>
    <comment_count>4</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-10-24 14:24:22 +0000</bug_when>
    <thetext>Bulk move from 4.99 or 0.00 to 5.99</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100981</commentid>
    <comment_count>5</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-02-14 16:46:26 +0000</bug_when>
    <thetext>bulk change to add Saul&apos;s non-WR address.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101074</commentid>
    <comment_count>6</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-02-14 16:48:25 +0000</bug_when>
    <thetext>Bulk change: Remove Saul&apos;s old WR address.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>