<?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>13603</bug_id>
          
          <creation_ts>2019-10-20 15:43:29 +0000</creation_ts>
          <short_desc>[master-next] qemuarm-alt systemd login failed</short_desc>
          <delta_ts>2021-04-21 00:42:36 +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.0</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>3.4 M3</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>prabin.ca</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</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>85403</commentid>
    <comment_count>0</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2019-10-20 15:43:29 +0000</bug_when>
    <thetext>File &quot;/home/pokybuild/yocto-worker/qemuarm-alt/build/meta/lib/oeqa/core/decorator/__init__.py&quot;, line 36, in wrapped_f
    return func(*args, **kwargs)
  File &quot;/home/pokybuild/yocto-worker/qemuarm-alt/build/meta/lib/oeqa/runtime/cases/parselogs.py&quot;, line 378, in test_parselogs
    self.assertEqual(errcount, 0, msg=self.msg)
AssertionError: 1 != 0 : Log: /home/pokybuild/yocto-worker/qemuarm-alt/build/build/tmp/work/qemuarm-poky-linux-gnueabi/core-image-full-cmdline/1.0-r0/target_logs/auth.log
-----------------------
Central error: Oct 19 11:21:48 qemuarm login[228]: pam_systemd(login:session): Failed to create session: Connection timed out

I have seen his at home on arm machine.

[  OK  ] Reached target Login Prompts.
[FAILED] Failed to start Login Service.
See &apos;systemctl status systemd-logind.service&apos; for details.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85406</commentid>
    <comment_count>1</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2019-10-20 16:42:47 +0000</bug_when>
    <thetext>[[0;1;31m*[[0m systemd-logind.service - Login Service
   Loaded: loaded (/lib/systemd/system/systemd-logind.service; static; vendor preset: disabled)
   Active: [[0;1;31mfailed[[0m (Result: resources) since Sun 2019-10-20 14:57:27 UTC; 16s ago
     Docs: man:systemd-logind.service(8)
           man:logind.conf(5)
           https://www.freedesktop.org/wiki/Software/systemd/logind
           https://www.freedesktop.org/wiki/Software/systemd/multiseat

Oct 20 14:57:27 odroid-c2 systemd[1]: systemd-logind.service: Service has no hold-off time (RestartS
ec=0), scheduling restart.
Oct 20 14:57:27 odroid-c2 systemd[1]: systemd-logind.service: Scheduled restart job, restart counter
 is at 5.
Oct 20 14:57:27 odroid-c2 systemd[1]: Stopped Login Service.
Oct 20 14:57:27 odroid-c2 systemd[1]: [[0;1;38;5;185m[[0;1;39m[[0;1;38;5;185msystemd-logind.service:
 Start request repeated too quickly.[[0m
Oct 20 14:57:27 odroid-c2 systemd[1]: [[0;1;38;5;185m[[0;1;39m[[0;1;38;5;185msystemd-logind.service:
 Failed with result &apos;resources&apos;.[[0m
Oct 20 14:57:27 odroid-c2 systemd[1]: [[0;1;31m[[0;1;39m[[0;1;31mFailed to start Login Service.[[0m</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85607</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2019-11-22 13:58:32 +0000</bug_when>
    <thetext>Re-ocurred:
https://autobuilder.yoctoproject.org/typhoon/#/builders/110/builds/160

AssertionError: 1 != 0 : Log: /home/pokybuild/yocto-worker/qemuarm-alt/build/build/tmp/work/qemuarm-poky-linux-gnueabi/core-image-full-cmdline/1.0-r0/target_logs/auth.log
-----------------------
Central error: Nov 22 03:26:36 qemuarm login[229]: pam_systemd(login:session): Failed to create session: Connection timed out
***********************
Nov 22 03:26:10 qemuarm login[229]: pam_unix(login:session): session opened for user root by LOGIN(uid=0)
Nov 22 03:26:36 qemuarm login[229]: pam_systemd(login:session): Failed to create session: Connection timed out
Nov 22 03:26:37 qemuarm login[238]: ROOT LOGIN  on &apos;/dev/ttyAMA0&apos;
Nov 22 03:27:35 qemuarm sshd[267]: Accepted none for root from 192.168.7.5 port 47300 ssh2
Nov 22 03:27:35 qemuarm sshd[267]: pam_unix(sshd:session): session opened for user root by (uid=0)
Nov 22 03:27:37 qemuarm sshd[267]: Received disconnect from 192.168.7.5 port 47300:11: disconnected by user
Nov 22 03:27:37 qemuarm sshd[267]: Disconnected from user root 192.168.7.5 port 47300
Nov 22 03:27:37 qemuarm sshd[267]: pam_unix(sshd:session): session closed for user root
Nov 22 03:27:41 qemuarm sshd[273]: Accepted none for root from 192.168.7.5 port 47322 ssh2
Nov 22 03:27:42 qemuarm sshd[273]: pam_unix(sshd:session): session opened for user root by (uid=0)
Nov 22 03:27:45 qemuarm sshd[273]: Received disconnect from 192.168.7.5 port 47322:11: disconnected by user
Nov 22 03:27:45 qemuarm sshd[273]: Disconnected from user root 192.168.7.5 port 47322

***********************
1 errors found in logs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86396</commentid>
    <comment_count>3</comment_count>
    <who name="akuster">akuster808</who>
    <bug_when>2020-02-10 17:17:37 +0000</bug_when>
    <thetext>have not seen this in a while.

Monitor for a bit longer.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90020</commentid>
    <comment_count>4</comment_count>
    <who name="Prabin CA">prabin.ca</who>
    <bug_when>2021-04-20 07:01:06 +0000</bug_when>
    <thetext>Added the revert and enhancement patches by Douglass.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90035</commentid>
    <comment_count>5</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2021-04-21 00:42:36 +0000</bug_when>
    <thetext>If you have time, could you add a link to the commit from: https://git.openembedded.org/openembedded-core/
Thanks,
../Randy</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>