<?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>14289</bug_id>
          
          <creation_ts>2021-03-09 09:18:02 +0000</creation_ts>
          <short_desc>failure in the command &apos;bitbake  glibc-testsuite -c check&apos;</short_desc>
          <delta_ts>2021-05-20 15:02:22 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Functional (self) Testing</product>
          <component>oe-selftest</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>3.4 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Köry Maincent">kory.maincent</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>randy.macleod</cc>
    
    <cc>richard.purdie</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>89524</commentid>
    <comment_count>0</comment_count>
    <who name="Köry Maincent">kory.maincent</who>
    <bug_when>2021-03-09 09:18:02 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/59/builds/3120/steps/19/logs/stdio


2021-02-28 02:37:38,046 - oe-selftest - INFO - 0: 3/3 14/15 (537.38s) (binutils.BinutilsCrossSelfTest.test_ld)
2021-02-28 03:09:50,866 - oe-selftest - INFO - glibc.GlibcSelfTestSystemEmulated.test_glibc (subunit.RemotedTestCase)
2021-02-28 03:09:51,030 - oe-selftest - INFO -  ... FAIL
2021-02-28 03:09:51,039 - oe-selftest - INFO - 8: 1/1 15/15 (4228.15s) (glibc.GlibcSelfTestSystemEmulated.test_glibc)
2021-02-28 03:09:51,039 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File &quot;/home/pokybuild/yocto-worker/qemux86/build/meta/lib/oeqa/selftest/cases/glibc.py&quot;, line 88, in test_glibc
    self.run_check_emulated()
  File &quot;/home/pokybuild/yocto-worker/qemux86/build/meta/lib/oeqa/selftest/cases/glibc.py&quot;, line 78, in run_check_emulated
    self.run_check(ssh = qemu.ip)
  File &quot;/home/pokybuild/yocto-worker/qemux86/build/meta/lib/oeqa/selftest/cases/glibc.py&quot;, line 30, in run_check
    bitbake(&quot;glibc-testsuite -c check&quot;)
  File &quot;/home/pokybuild/yocto-worker/qemux86/build/meta/lib/oeqa/utils/commands.py&quot;, line 232, in bitbake
    return runCmd(cmd, ignore_status, timeout, output_log=output_log, **options)
  File &quot;/home/pokybuild/yocto-worker/qemux86/build/meta/lib/oeqa/utils/commands.py&quot;, line 210, in runCmd
    raise AssertionError(&quot;Command &apos;%s&apos; returned non-zero exit status %d:\n%s&quot; % (command, result.status, exc_output))
AssertionError: Command &apos;bitbake  glibc-testsuite -c check&apos; returned non-zero exit status 1:
Loading cache...done.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89526</commentid>
    <comment_count>1</comment_count>
    <who name="Köry Maincent">kory.maincent</who>
    <bug_when>2021-03-09 09:26:11 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/53/builds/3185/steps/19/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89529</commentid>
    <comment_count>2</comment_count>
    <who name="Köry Maincent">kory.maincent</who>
    <bug_when>2021-03-09 09:58:42 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/53/builds/3189/steps/20/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89590</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2021-03-11 16:14:33 +0000</bug_when>
    <thetext>ERROR: glibc-testsuite-2.33-r0 do_check: Execution of event handler &apos;defaultrun_buildstats&apos; failed
Traceback (most recent call last):
  File &quot;/home/pokybuild/yocto-worker/qemux86/build/meta/classes/buildstats.bbclass&quot;, line 196, in defaultrun_buildstats(e=&lt;bb.build.TaskSucceeded object at 0x7f1ff12ca048&gt;):
         elif isinstance(e, bb.build.TaskSucceeded):
    &gt;        write_task_data(&quot;passed&quot;, os.path.join(taskdir, e.task), e, d)
             if e.task == &quot;do_rootfs&quot;:
  File &quot;/home/pokybuild/yocto-worker/qemux86/build/meta/classes/buildstats.bbclass&quot;, line 88, in write_task_data(status=&apos;passed&apos;, logfile=&apos;/home/pokybuild/yocto-worker/qemux86/build/build-st-1369/tmp/buildstats/20210228021207/glibc-testsuite-2.33-r0/do_check&apos;, e=&lt;bb.build.TaskSucceeded object at 0x7f1ff12ca048&gt;, d=&lt;bb.data_smart.DataSmart object at 0x7f1feb842ef0&gt;):
                 f.write(d.expand(&quot;Elapsed time: %0.2f seconds\n&quot; % elapsedtime))
    &gt;            cpu, iostats, resources, childres = get_process_cputime(os.getpid())
                 if cpu:
  File &quot;/home/pokybuild/yocto-worker/qemux86/build/meta/classes/buildstats.bbclass&quot;, line 18, in get_process_cputime(pid=24115):
     def get_process_cputime(pid):
    &gt;    import resource
         with open(&quot;/proc/%d/stat&quot; % pid, &quot;r&quot;) as f:
ImportError: /usr/lib64/python3.6/lib-dynload/resource.cpython-36m-x86_64-linux-gnu.so: failed to map segment from shared object
ERROR: glibc-testsuite-2.33-r0 do_check: Build of do_check failed
ERROR: glibc-testsuite-2.33-r0 do_check: Traceback (most recent call last):
  File &quot;/home/pokybuild/yocto-worker/qemux86/build/bitbake/lib/bb/build.py&quot;, line 752, in exec_task
    return _exec_task(fn, task, d, quieterr)
  File &quot;/home/pokybuild/yocto-worker/qemux86/build/bitbake/lib/bb/build.py&quot;, line 726, in _exec_task
    event.fire(TaskSucceeded(task, fn, logfn, localdata), localdata)
  File &quot;/home/pokybuild/yocto-worker/qemux86/build/bitbake/lib/bb/event.py&quot;, line 216, in fire
    fire_class_handlers(event, d)
  File &quot;/home/pokybuild/yocto-worker/qemux86/build/bitbake/lib/bb/event.py&quot;, line 123, in fire_class_handlers
    execute_handler(name, handler, event, d)
  File &quot;/home/pokybuild/yocto-worker/qemux86/build/bitbake/lib/bb/event.py&quot;, line 93, in execute_handler
    ret = handler(event)
  File &quot;/home/pokybuild/yocto-worker/qemux86/build/meta/classes/buildstats.bbclass&quot;, line 196, in defaultrun_buildstats
    write_task_data(&quot;passed&quot;, os.path.join(taskdir, e.task), e, d)
  File &quot;/home/pokybuild/yocto-worker/qemux86/build/meta/classes/buildstats.bbclass&quot;, line 88, in write_task_data
    cpu, iostats, resources, childres = get_process_cputime(os.getpid())
  File &quot;/home/pokybuild/yocto-worker/qemux86/build/meta/classes/buildstats.bbclass&quot;, line 18, in get_process_cputime
    import resource
ImportError: /usr/lib64/python3.6/lib-dynload/resource.cpython-36m-x86_64-linux-gnu.so: failed to map segment from shared object
ERROR: Task (/home/pokybuild/yocto-worker/qemux86/build/meta/recipes-core/glibc/glibc-testsuite_2.33.bb:do_check) failed with exit code &apos;1&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90426</commentid>
    <comment_count>4</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2021-05-20 15:02:22 +0000</bug_when>
    <thetext>Hopefully fixed by:

http://cgit.openembedded.org/openembedded-core/commit/?id=58d4f669bd46805669daf87626350fe9359feca5

glibc: Add 8GB VM usage cap for usermode test suite</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>