<?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>15562</bug_id>
          
          <creation_ts>2024-07-24 13:01:54 +0000</creation_ts>
          <short_desc>boot failures due to entering emergency mode</short_desc>
          <delta_ts>2024-10-03 14:53:59 +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>testimage</component>
          <version>unspecified</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>AB-INT</status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>5.1 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="Jon Mason">jon.mason</assigned_to>
          <cc>jon.mason</cc>
    
    <cc>randy.macleod</cc>
          
          
          <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>99427</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2024-07-24 13:01:54 +0000</bug_when>
    <thetext>Occasionally (mostly on sbsa-ref, so arm64) the system fails to boot and systemd drops into emergency mode:

WARNING: core-image-minimal-1.0-r0 do_testimage: Last 25 lines of all logging (55275):
[[0;32m  OK  [0m] Reached target [0;1;39mSocket Units[0m.
         Mounting [0;1;39mTemporary Directory /tmp[0m...
[[0;32m  OK  [0m] Started [0;1;39mEmergency Shell[0m.
[[0;32m  OK  [0m] Reached target [0;1;39mEmergency Mode[0m.
         Starting [0;1;39mRebuild Dynamic Linker Cache[0m...
         Starting [0;1;39mCreate Volatile Files and Directories[0m...
[[0;32m  OK  [0m] Mounted [0;1;39m/var/volatile[0m.
         Starting [0;1;39mLoad/Save OS Random Seed[0m...
[[0;32m  OK  [0m] Mounted [0;1;39mTemporary Directory /tmp[0m.
You are in emergency mode. After logging in, type &quot;journalctl -xb&quot; to view
system logs, &quot;systemctl reboot&quot; to reboot, or &quot;exit&quot;
to continue bootup.
Press Enter for maintenance

This does not replicate on demand, maybe there&apos;s a timeout from system load?

It would be useful if oeqa could detect this and get the journal.

https://autobuilder.yoctoproject.org/typhoon/#/builders/113/builds/5756/steps/22/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99428</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2024-07-24 13:26:51 +0000</bug_when>
    <thetext>Apparently Jon sees this reliably with fvp-base on his machines and blames a race.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99434</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2024-07-25 14:42:06 +0000</bug_when>
    <thetext>This is happening often enough that we decided in the YP bug review meeting to make this a high importance.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99545</commentid>
    <comment_count>3</comment_count>
    <who name="Jon Mason">jon.mason</who>
    <bug_when>2024-08-15 18:12:07 +0000</bug_when>
    <thetext>The issue with fvp-base displaying this error was related to not having vfat as part of the system image.

I believe this issue is related to meta-arm/wic/qemu-efi-disk.wks.in not having &quot;rootwait&quot; in the bootloader args.  I&apos;ll add that (as it&apos;s generally a good thing to have) and we can see if this issue re-appears over the next week or so.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99758</commentid>
    <comment_count>4</comment_count>
    <who name="Jon Mason">jon.mason</who>
    <bug_when>2024-10-03 14:53:59 +0000</bug_when>
    <thetext>This _should_ be resolved by meta-arm commit 5a3ca1e23f222c874a8c340f47bec27a71c36fbb

https://git.yoctoproject.org/meta-arm/commit/meta-arm/wic?id=5a3ca1e23f222c874a8c340f47bec27a71c36fbb

Since adding that commit, there has been no re-occurrence of this issue.  Please re-open if it happens.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>