<?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>14694</bug_id>
          
          <creation_ts>2022-01-17 15:38:09 +0000</creation_ts>
          <short_desc>logrotate.LogrotateTest.test_logrotate_wtmp failure: /var/lib/logrotate.status is already locked</short_desc>
          <delta_ts>2024-03-07 16:19:08 +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.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>AB-INT AB-HAVE-PLAN</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>5.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexandre Belloni">alexandre.belloni</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>alexandre.belloni</cc>
    
    <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>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>92337</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2022-01-17 15:38:09 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/107/builds/2542/steps/14/logs/stdio

AssertionError: 1 != 0 : logrotate did not successfully rotate the wtmp log. Output from logrotate -vf: 
reading config file /tmp/logrotate-test.conf
olddir is now /home/root/logrotate_dir
including /etc/logrotate.d/wtmp
reading config file /etc/logrotate.d/wtmp
error: state file /var/lib/logrotate.status is already locked
logrotate does not support parallel execution on the same set of logfiles.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92366</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2022-01-20 15:47:49 +0000</bug_when>
    <thetext>Note: non-SSD worker. May not be relevant but noted.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92982</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2022-04-11 16:16:16 +0000</bug_when>
    <thetext>Single occurrence 3 months ago. Move to next release or close?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94267</commentid>
    <comment_count>3</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2022-10-27 14:54:55 +0000</bug_when>
    <thetext>This may be a race condition. There is likely a default log rotate service and if this test runs at the same time the error will occur.

Please collect more logs if this is seen again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97155</commentid>
    <comment_count>4</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-10-30 15:37:32 +0000</bug_when>
    <thetext>Build move to 5.0 -- ../Randy</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98424</commentid>
    <comment_count>5</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2024-03-07 16:19:08 +0000</bug_when>
    <thetext>Re-open if it happens again.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>