<?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>13650</bug_id>
          
          <creation_ts>2019-11-23 21:36:00 +0000</creation_ts>
          <short_desc>master] runtime_test.Postinst.test_postinst_rootfs_and_boot selftest failed</short_desc>
          <delta_ts>2020-06-27 11:01:02 +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>core</component>
          <version>3.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc>https://errors.yoctoproject.org/Errors/Details/279251/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>3.2 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Armin Kuster">akuster</reporter>
          <assigned_to name="akuster">akuster808</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>85620</commentid>
    <comment_count>0</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2019-11-23 21:36:00 +0000</bug_when>
    <thetext>we test sysvinit and systemd in a loop for this test. 

I can not tell which one failed.

2019-11-22 17:29:12,545 - oe-selftest - INFO - runtime_test.Postinst.test_postinst_rootfs_and_boot (subunit.RemotedTestCase)
2019-11-22 17:29:12,545 - oe-selftest - INFO -  ... FAIL
2019-11-22 17:29:12,546 - oe-selftest - INFO - 1: 25/25 376/378 (1520.47s) (runtime_test.Postinst.test_postinst_rootfs_and_boot)
2019-11-22 17:29:12,546 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File &quot;/home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/lib/oeqa/selftest/cases/runtime_test.py&quot;, line 296, in test_postinst_rootfs_and_boot
    self.assertEqual(output, &quot;found&quot;, &quot;%s was not present on boot&quot; % filename)
  File &quot;/usr/lib64/python3.7/unittest/case.py&quot;, line 852, in assertEqual
    assertion_func(first, second, msg=msg)
  File &quot;/usr/lib64/python3.7/unittest/case.py&quot;, line 1233, in assertMultiLineEqual
    self.fail(self._formatMessage(msg, standardMsg))
  File &quot;/usr/lib64/python3.7/unittest/case.py&quot;, line 693, in fail
    raise self.failureException(msg)
AssertionError: &apos;t -f /etc/postinst-test/rootfs &amp;&amp; echo fo[175 chars] &gt;&gt;&gt;&apos; != &apos;found&apos;
+ found- t -f /etc/postinst-test/rootfs &amp;&amp; echo found; echo $?
- 
- 
- 
- Poky (Yocto Project Reference Distro) 3.0 qemux86-64 ttyS1
- 
- qemux86-64 login: &lt;&lt;&lt; run_serial(): command timed out after 60 seconds without output &gt;&gt;&gt; : rootfs was not present on boot


2019-11-22 17:37:01,001 - oe-selftest - INFO - Reproducibility summary for deb: same=4263 different=0 missing=0 total=4263
2019-11-22 17:37:31,254 - oe-selftest - INFO - Reproducibility summary for ipk: same=4263 different=0 missing=0 total=4263
2019-11-22 17:37:31,260 - oe-selftest - INFO - reproducible.ReproducibleTests.test_reproducible_builds (subunit.RemotedTestCase)
2019-11-22 17:37:31,260 - oe-selftest - INFO -  ... ok
2019-11-22 17:37:31,261 - oe-selftest - INFO - 12: 8/9 377/378 (3748.77s) (reproducible.ReproducibleTests.test_reproducible_builds)
2019-11-22 17:39:26,055 - oe-selftest - INFO - systemd_boot.Systemdboot.test_efi_systemdboot_images_can_be_built (subunit.RemotedTestCase)
2019-11-22 17:39:26,055 - oe-selftest - INFO -  ... ok
2019-11-22 17:39:26,055 - oe-selftest - INFO - 12: 9/9 378/378 (114.77s) (systemd_boot.Systemdboot.test_efi_systemdboot_images_can_be_built)
2019-11-22 17:50:54,261 - oe-selftest - INFO - ======================================================================
2019-11-22 17:50:54,261 - oe-selftest - INFO - FAIL: runtime_test.Postinst.test_postinst_rootfs_and_boot (subunit.RemotedTestCase)
2019-11-22 17:50:54,262 - oe-selftest - INFO - ----------------------------------------------------------------------
2019-11-22 17:50:54,262 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File &quot;/home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/lib/oeqa/selftest/cases/runtime_test.py&quot;, line 296, in test_postinst_rootfs_and_boot
    self.assertEqual(output, &quot;found&quot;, &quot;%s was not present on boot&quot; % filename)
  File &quot;/usr/lib64/python3.7/unittest/case.py&quot;, line 852, in assertEqual
    assertion_func(first, second, msg=msg)
  File &quot;/usr/lib64/python3.7/unittest/case.py&quot;, line 1233, in assertMultiLineEqual
    self.fail(self._formatMessage(msg, standardMsg))
  File &quot;/usr/lib64/python3.7/unittest/case.py&quot;, line 693, in fail
    raise self.failureException(msg)
AssertionError: &apos;t -f /etc/postinst-test/rootfs &amp;&amp; echo fo[175 chars] &gt;&gt;&gt;&apos; != &apos;found&apos;
+ found- t -f /etc/postinst-test/rootfs &amp;&amp; echo found; echo $?
- 
- 
- 
- Poky (Yocto Project Reference Distro) 3.0 qemux86-64 ttyS1
- 
- qemux86-64 login: &lt;&lt;&lt; run_serial(): command timed out after 60 seconds without output &gt;&gt;&gt; : rootfs was not present on boot


2019-11-22 17:50:54,262 - oe-selftest - INFO - ----------------------------------------------------------------------
2019-11-22 17:50:54,262 - oe-selftest - INFO - Ran 378 tests in 5809.716s
2019-11-22 17:50:54,262 - oe-selftest - INFO - FAILED</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85621</commentid>
    <comment_count>1</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2019-11-23 21:36:49 +0000</bug_when>
    <thetext>I split this test into a systemd and sysvinit test. this will help determine which one failes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85752</commentid>
    <comment_count>2</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2019-12-06 01:59:05 +0000</bug_when>
    <thetext>patch sent to hopeful help debug this issue.

https://patchwork.openembedded.org/patch/167717/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86397</commentid>
    <comment_count>3</comment_count>
    <who name="akuster">akuster808</who>
    <bug_when>2020-02-10 17:19:58 +0000</bug_when>
    <thetext>patch in master.

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/lib/oeqa?id=d486fe88c148dddd9f9da18192e7cd305c3efe11

will monitor a bit longer.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87078</commentid>
    <comment_count>4</comment_count>
    <who name="akuster">akuster808</who>
    <bug_when>2020-04-23 08:28:16 +0000</bug_when>
    <thetext>have not seen this error in a while</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87636</commentid>
    <comment_count>5</comment_count>
    <who name="akuster">akuster808</who>
    <bug_when>2020-06-27 11:01:02 +0000</bug_when>
    <thetext>I would like to close this as we have not seen this in a while.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>