<?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>14464</bug_id>
          
          <creation_ts>2021-06-30 23:04:44 +0000</creation_ts>
          <short_desc>AB-INT PTEST ARM: glib-2.0 glib/timeout.test failure</short_desc>
          <delta_ts>2024-04-30 15:39:57 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Package Testing (ptest)</product>
          <component>ptest</component>
          <version>3.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>arm</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.0 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexandre Belloni">alexandre.belloni</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>alexandre.belloni</cc>
    
    <cc>joaomarcos.costa</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>ross.burton</cc>
    
    <cc>tgamblin</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>90811</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2021-06-30 23:04:44 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/1935/steps/12/logs/stdio

qemuarm64-ptest ubuntu1804-arm-1

&apos;glib-2.0&apos;: [&apos;glib/timeout.test&apos;]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90876</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2021-07-07 09:37:59 +0000</bug_when>
    <thetext>GLib:ERROR:../glib-2.68.3/glib/tests/timeout.c:161:test_func: assertion failed (current_time / 1000 - last_time / 1000 &lt;= 1500): (1665 &lt;= 1500)

  /* We accept 2 on the first iteration because _add_seconds() can
   * have an initial latency of 1 second, see its documentation.
   *
   * Allow up to 500ms leeway for rounding and scheduling.
   */
  if (count == 0)
    g_assert_cmpint (current_time / 1000 - last_time / 1000, &lt;=, 2500);
  else
    g_assert_cmpint (current_time / 1000 - last_time / 1000, &lt;=, 1500);


The test exercises timeout logic with a leeway of 500ms, but the machine is heavily loaded so the test takes longer.  Increasing the leeway will simply make this rarer.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91242</commentid>
    <comment_count>2</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2021-08-20 13:08:15 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2108/steps/12/logs/stdio

qemuarm64-ptest ubuntu1804-arm-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91441</commentid>
    <comment_count>3</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2021-09-16 13:53:35 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2223/steps/12/logs/stdio

qemuarm64-ptest ubuntu1804-arm-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92896</commentid>
    <comment_count>4</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2022-03-31 14:47:07 +0000</bug_when>
    <thetext>If this happens again, we can increase the time as Ross suggested.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95140</commentid>
    <comment_count>5</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2023-03-14 23:28:03 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/4602/steps/13/logs/stdio

qemuarm64-ptest ubuntu1804-arm-1

Running test: glib/timeout.test
# random seed: R02Sfc32c8c0134df18b37878defa708e7ff
1..4
# Start of timeout tests
# Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052
Executing: glib/timeout.test
ok 1 /timeout/seconds
# Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600
ok 2 /timeout/weeks-overflow
ok 3 /timeout/far-future-ready-time
Executing: glib/timeout.test
**
GLib:ERROR:/usr/src/debug/glib-2.0/1_2.74.6-r0/glib/tests/timeout.c:159:test_func: assertion failed (current_time / 1000 - last_time / 1000 &lt;= 1500): (1586 &lt;= 1500)
Bail out! GLib:ERROR:/usr/src/debug/glib-2.0/1_2.74.6-r0/glib/tests/timeout.c:159:test_func: assertion failed (current_time / 1000 - last_time / 1000 &lt;= 1500): (1586 &lt;= 1500)
FAIL: glib/timeout.test (Child process killed by signal 6)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95677</commentid>
    <comment_count>6</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2023-06-08 20:59:00 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/4891/steps/13/logs/stdio

qemuarm64-ptest ubuntu1804-arm-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95953</commentid>
    <comment_count>7</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2023-07-18 18:20:18 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/5118/steps/13/logs/stdio

qemuarm64-ptest ubuntu1804-arm-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95970</commentid>
    <comment_count>8</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2023-07-19 17:01:53 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/5033/steps/13/logs/stdio

qemuarm64-ptest ubuntu1804-arm-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96424</commentid>
    <comment_count>9</comment_count>
    <who name="Trevor Gamblin">tgamblin</who>
    <bug_when>2023-09-14 15:35:17 +0000</bug_when>
    <thetext>Moved to M4.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96551</commentid>
    <comment_count>10</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2023-09-21 17:04:11 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/5403/steps/13/logs/stdio

qemuarm64-ptest ubuntu1804-arm-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97511</commentid>
    <comment_count>11</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2023-12-11 22:37:54 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/5701/steps/13/logs/stdio

qemuarm64-ptest ubuntu1804-arm-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97613</commentid>
    <comment_count>12</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2023-12-18 17:15:39 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/5859/steps/13/logs/stdio

qemuarm64-ptest ubuntu1804-arm-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97810</commentid>
    <comment_count>13</comment_count>
    <who name="João Marcos Costa">joaomarcos.costa</who>
    <bug_when>2024-01-17 09:35:42 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/5953/steps/13/logs/stdio

qemuarm64-ptest ubuntu1804-arm-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97841</commentid>
    <comment_count>14</comment_count>
    <who name="João Marcos Costa">joaomarcos.costa</who>
    <bug_when>2024-01-17 13:24:30 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/5670/steps/13/logs/stdio

qemuarm64-ptest ubuntu1804-arm-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98670</commentid>
    <comment_count>15</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2024-03-28 16:44:36 +0000</bug_when>
    <thetext>Patch on the list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98948</commentid>
    <comment_count>16</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2024-04-30 15:39:57 +0000</bug_when>
    <thetext>Fixed - hopefully - in 684ac8005aef8ab26e61e6e7535e19c9974972d3.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>