<?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>9204</bug_id>
          
          <creation_ts>2016-03-03 11:52:33 +0000</creation_ts>
          <short_desc>Cleanup should be made after testing smart</short_desc>
          <delta_ts>2016-09-13 15:54:35 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Runtime Testing</product>
          <component>general</component>
          <version>2.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</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>2.2 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Cristina Agurida">cristina-danielax.agurida</reporter>
          <assigned_to name="Plauchu Edwin">edwin.plauchu.camacho</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>alexandru.costinx.roman</cc>
    
    <cc>benjamin.esquivel</cc>
    
    <cc>francisco.j.pedraza.gonzalez</cc>
    
    <cc>leonardo.sandoval.gonzalez</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>yp.kernel.watcher</cc>
    
    <cc>yp.watcher</cc>
          
          <qa_contact name="Francisco Pedraza">francisco.j.pedraza.gonzalez</qa_contact>
          <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>59664</commentid>
    <comment_count>0</comment_count>
    <who name="Cristina Agurida">cristina-danielax.agurida</who>
    <bug_when>2016-03-03 11:52:33 +0000</bug_when>
    <thetext>When trying to retest some smart tests they are failing because the artifacts are already present in image. 
A solution to avoid this failures could be to cleanup those artifacts (oeqa/runtime/rpm.py and oeqa/runtime/smart.py) before retesting smart.

To reproduce this:

1. Prepare testing environment
2. Set TEST_SUITES = &quot;smart rpm&quot;

launch testing: bitbake -c testimage core-image-sato-sdk (everything will be OK)
and after, re-launch again tests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65858</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2016-09-07 09:00:54 +0000</bug_when>
    <thetext>Note that to reproduce this under qemu, you&apos;d need to disable the copying of the image so that the same image gets reused multiple times. If you don&apos;t do that, a fresh copy of the image is used each time under qemu and the changes are lost. See my &quot;snapshot&quot; changes to runqemu for examples of how that can be turned on/off.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65899</commentid>
    <comment_count>2</comment_count>
    <who name="Plauchu Edwin">edwin.plauchu.camacho</who>
    <bug_when>2016-09-07 22:40:11 +0000</bug_when>
    <thetext>Getting this error (it was gotten by testing over physical hardware &quot;beaglebone black&quot;)
anybody knows If this is the error reported ?


| ======================================================================
| FAIL: test_rpm_query_nonroot (oeqa.runtime.rpm.RpmInstallRemoveTest)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
|   File &quot;/home/pianodaemon/GIT_REPOS/QA_POKY_QEMU_32_64/meta/lib/oeqa/utils/decorators.py&quot;, line 109, in wrapped_f
|     return func(*args, **kwargs)
|   File &quot;/home/pianodaemon/GIT_REPOS/QA_POKY_QEMU_32_64/meta/lib/oeqa/utils/decorators.py&quot;, line 97, in wrapped_f
|     return f(*args, **kwargs)
|   File &quot;/home/pianodaemon/GIT_REPOS/QA_POKY_QEMU_32_64/meta/lib/oeqa/runtime/rpm.py&quot;, line 55, in test_rpm_query_nonroot
|     self.assertTrue(status == 0, msg=&quot;Failed to create new user: &quot; + output)
| AssertionError: False is not true : Failed to create new user: useradd: user &apos;test1&apos; already exists
| 
| ----------------------------------------------------------------------
| Ran 52 tests in 1121.844s
| 
| FAILED (failures=2)
| DEBUG: Python function do_testimage finished
| ERROR: Function failed: core-image-sato-sdk - FAILED - check the task log and the ssh log
ERROR: Task (/home/pianodaemon/GIT_REPOS/QA_POKY_QEMU_32_64/meta/recipes-sato/images/core-image-sato-sdk.bb:do_testimage) failed with exit code &apos;1&apos;
NOTE: Tasks Summary: Attempted 64 tasks of which 63 didn&apos;t need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/pianodaemon/GIT_REPOS/QA_POKY_QEMU_32_64/meta/recipes-sato/images/core-image-sato-sdk.bb:do_testimage
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65902</commentid>
    <comment_count>3</comment_count>
    <who name="Plauchu Edwin">edwin.plauchu.camacho</who>
    <bug_when>2016-09-08 02:46:53 +0000</bug_when>
    <thetext>Patch submitted at
http://lists.openembedded.org/pipermail/openembedded-core/2016-September/126289.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65913</commentid>
    <comment_count>4</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-09-08 11:06:39 +0000</bug_when>
    <thetext>*** Bug 9776 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65916</commentid>
    <comment_count>5</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-09-08 11:27:25 +0000</bug_when>
    <thetext>*** Bug 8988 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66003</commentid>
    <comment_count>6</comment_count>
    <who name="Plauchu Edwin">edwin.plauchu.camacho</who>
    <bug_when>2016-09-09 15:48:06 +0000</bug_when>
    <thetext>Patch V2 submitted at
http://lists.openembedded.org/pipermail/openembedded-core/2016-September/126350.html</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>