<?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>16206</bug_id>
          
          <creation_ts>2026-03-17 15:51:05 +0000</creation_ts>
          <short_desc>[scarthgap] AB-INT: runtime_test.SystemTap.test_crosstap_* failures</short_desc>
          <delta_ts>2026-10-30 21:53:24 +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>5.0.16</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>5.0.22</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yoann Congal">yoann.congal</reporter>
          <assigned_to name="Yoann Congal">yoann.congal</assigned_to>
          <cc>jeremy.rosen</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>104687</commentid>
    <comment_count>0</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2026-03-17 15:51:05 +0000</bug_when>
    <thetext>scarthgap oe-selftest-fedora alma8-vk-2 https://autobuilder.yoctoproject.org/valkyrie/#/builders/48/builds/3320

There are 2 errors:
* When reparsing ... basehash value changed
* systemtap-native failing on missing readline/readline.h

2026-03-17 00:02:12,944 - oe-selftest - INFO - runtime_test.SystemTap.test_crosstap_helloworld (subunit.RemotedTestCase)
2026-03-17 00:02:12,946 - oe-selftest - INFO -  ... FAIL

Stderr:
2026-03-16 23:49:04,413 - oe-selftest - INFO - Adding: &quot;include selftest.inc&quot; in /srv/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-3693358/conf/local.conf
2026-03-16 23:49:04,413 - oe-selftest - INFO - Adding: &quot;include bblayers.inc&quot; in bblayers.conf
/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/buildtools/sysroots/x86_64-pokysdk-linux/usr/lib/python3.12/unittest/case.py:580: RuntimeWarning: TestResult has no addDuration method
  warnings.warn(&quot;TestResult has no addDuration method&quot;,

ERROR: When reparsing /tmp/selftest-fetchhr83rs46/test.bb:do_checkuri, the basehash value changed from 84b9e23a83a764e7a5d8a96ee523199e2b1c604f4280a45030e248de0ff52962 to 4123da244f465feffecb2b4fd2b132b64851981ec2fb70bf9445df8b0ea6a69e. The metadata is not deterministic and this needs to be fixed.
ERROR: The following commands may help:
ERROR: $ bitbake test -cdo_checkuri -Snone
ERROR: Then:
ERROR: $ bitbake test -cdo_checkuri -Sprintdiff

[...]

ERROR: When reparsing /tmp/selftest-fetchhr83rs46/test.bb:do_populate_lic, the basehash value changed from 83cb6a22d3075cc6e588c8181c0714d165ef27ffbdbd23fb7bac2b2da4b14b9b to 8908b14dc58f59b58ff00c5b852200105a14307e85f4aa8792068a8a2a0909cb. The metadata is not deterministic and this needs to be fixed.
ERROR: The following commands may help:
ERROR: $ bitbake test -cdo_populate_lic -Snone
ERROR: Then:
ERROR: $ bitbake test -cdo_populate_lic -Sprintdiff

2026-03-17 00:02:12,946 - oe-selftest - INFO - 14: 20/25 219/597 (63.43s) (0 failed) (runtime_test.SystemTap.test_crosstap_helloworld)
2026-03-17 00:02:12,946 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File &quot;/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/lib/oeqa/selftest/cases/runtime_test.py&quot;, line 443, in test_crosstap_helloworld
    bitbake(&apos;systemtap-native&apos;)
  File &quot;/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/lib/oeqa/utils/commands.py&quot;, line 234, in bitbake
    return runCmd(cmd, ignore_status, timeout, output_log=output_log, **options)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File &quot;/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/lib/oeqa/utils/commands.py&quot;, line 212, 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  systemtap-native&apos; returned non-zero exit status 1:
Loading cache...done.
Loaded 0 entries from dependency cache.
Parsing recipes...done.
Parsing of 989 .bb files complete (0 cached, 989 parsed). 1966 targets, 56 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = &quot;2.8.1&quot;
BUILD_SYS            = &quot;x86_64-linux&quot;
NATIVELSBSTRING      = &quot;universal&quot;
TARGET_SYS           = &quot;x86_64-poky-linux&quot;
MACHINE              = &quot;qemux86-64&quot;
DISTRO               = &quot;poky&quot;
DISTRO_VERSION       = &quot;5.0.16&quot;
TUNE_FEATURES        = &quot;m64 core2&quot;
TARGET_FPU           = &quot;&quot;
meta                 
meta-poky            
meta-yocto-bsp       = &quot;stable/scarthgap-nut:d1c1147a75b5c5988c48958dc72ec90a5e23fd40&quot;
meta-selftest        = &quot;master:6e776de33cd9799456ace9e5366b76c107c31a60&quot;

Initialising tasks...NOTE: The /proc/pressure files can&apos;t be read. Continuing build without monitoring pressure
Sstate summary: Wanted 151 Local 150 Mirrors 0 Missed 1 Current 117 (99% match, 99% complete)
done.
NOTE: Executing Tasks
[...]
NOTE: Running task 803 of 807 (/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/recipes-kernel/systemtap/systemtap-native_git.bb:do_compile)
NOTE: recipe systemtap-native-5.0-r0: task do_compile: Started
ERROR: systemtap-native-5.0-r0 do_compile: oe_runmake failed
ERROR: systemtap-native-5.0-r0 do_compile: ExecutionError(&apos;/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-3693358/tmp/work/x86_64-linux/systemtap-native/5.0/temp/run.do_compile.1259419&apos;, 1, None, None)
ERROR: Logfile of failure stored in: /srv/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-3693358/tmp/work/x86_64-linux/systemtap-native/5.0/temp/log.do_compile.1259419
Log data follows:
| DEBUG: Executing python function autotools_aclocals
| DEBUG: SITE files [&apos;endian-little&apos;, &apos;common-linux&apos;, &apos;common-glibc&apos;, &apos;bit-64&apos;, &apos;x86_64-linux&apos;, &apos;common&apos;]
| DEBUG: Python function autotools_aclocals finished
| DEBUG: Executing shell function do_compile
| NOTE: make -j 16 -l 75
| sed -e &quot;s#@pkgdatadir@#/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-3693358/tmp/work/x86_64-linux/systemtap-native/5.0/recipe-sysroot-native/usr/share/systemtap#g&quot; &lt; ../git/macros.systemtap.in &gt; macros.systemtap
| /bin/bash ../git/git_version.sh -k -s ../git -o git_version.h
| git_version.sh: Output is new file, creating git_version.h
| make  all-recursive
| make[1]: Entering directory &apos;/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-3693358/tmp/work/x86_64-linux/systemtap-native/5.0/build&apos;
| Making all in .
| make[2]: Entering directory &apos;/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-3693358/tmp/work/x86_64-linux/systemtap-native/5.0/build&apos;
[...]
| g++  [...] -c -o stap-bpf-translate.o `test -f &apos;bpf-translate.cxx&apos; || echo &apos;../git/&apos;`bpf-translate.cxx
| ../git/interactive.cxx:33:10: fatal error: readline/readline.h: No such file or directory
|    33 | #include &lt;readline/readline.h&gt;
|       |          ^~~~~~~~~~~~~~~~~~~~~
| compilation terminated.
[...]

Summary: 1 task failed:
  /srv/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/recipes-kernel/systemtap/systemtap-native_git.bb:do_compile
    log: /srv/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-3693358/tmp/work/x86_64-linux/systemtap-native/5.0/temp/log.do_compile.1259419
Summary: There were 2 ERROR messages, returning a non-zero exit code.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104725</commentid>
    <comment_count>1</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2026-03-19 14:36:15 +0000</bug_when>
    <thetext>Again on whinlatter this time:
whinlatter oe-selftest-fedora rocky8-vk-1 https://autobuilder.yoctoproject.org/valkyrie/?#/builders/48/builds/3351:
  ../sources/systemtap-5.3/interactive.cxx:33:10: fatal error: readline/readline.h: No such file or directory

But no &quot;When reparsing ... basehash value changed&quot; this time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104732</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2026-03-19 14:51:54 +0000</bug_when>
    <thetext>Might be worth checking the difference bitbake/lib/bb/runqeue.py in scarthgap and master.

Is readline installed on the host?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104751</commentid>
    <comment_count>3</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2026-03-19 19:43:59 +0000</bug_when>
    <thetext>(In reply to Randy MacLeod from comment #2)
&gt; Is readline installed on the host?

It is installed on the host:
[ycongal@rocky8-vk-1 build]$ find /usr/include/ -name readline.h
/usr/include/readline/readline.h

... but is should not matter because:
1. I succesfully built systemtap-native on a rocky8 container withou readline-devel installed
2. readline.h, then, comes from our editline-native which is an indirect dependency of systemtap-native (editline is &quot;A small replacement for GNU readline() for UNIX&quot;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105359</commentid>
    <comment_count>4</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2026-05-05 14:40:44 +0000</bug_when>
    <thetext>oe-selftest-fedora alma8-vk-1 scarthgap completed at 2026-05-04 15:49:23+00:00
https://autobuilder.yoctoproject.org/valkyrie/?#/builders/48/builds/3662</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105795</commentid>
    <comment_count>5</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2026-06-10 08:00:11 +0000</bug_when>
    <thetext>a-full ubuntu2404-vk-2 scarthgap completed at 2026-06-09 21:23:41+00:00
https://autobuilder.yoctoproject.org/valkyrie/?#/builders/29/builds/3955</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105853</commentid>
    <comment_count>6</comment_count>
    <who name="Jérémy Rosen">jeremy.rosen</who>
    <bug_when>2026-06-12 07:09:25 +0000</bug_when>
    <thetext>a-full ubuntu2404-vk-3 scarthgap completed at 2026-06-11 20:56:47+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/3976</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105988</commentid>
    <comment_count>7</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2026-06-23 05:19:30 +0000</bug_when>
    <thetext>oe-selftest-fedora alma8-vk-1 scarthgap completed at 2026-06-23 01:33:34+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/48/builds/3951

Note: there are &quot;ERROR: When reparsing /tmp/selftest-fetchapezz_ud/test.bb:do_checkuri, the basehash value changed from ... to ...&quot; lines this time</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106105</commentid>
    <comment_count>8</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2026-07-06 15:55:45 +0000</bug_when>
    <thetext>oe-selftest-fedora alma8-vk-2 scarthgap completed at 2026-07-06 15:13:28+00:00
https://autobuilder.yoctoproject.org/valkyrie/?#/builders/48/builds/4057</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106750</commentid>
    <comment_count>9</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2026-09-07 13:32:44 +0000</bug_when>
    <thetext>oe-selftest-fedora alma8-vk-1 scarthgap completed at 2026-09-06 02:41:35+00:00
https://autobuilder.yoctoproject.org/valkyrie/?#/builders/48/builds/4592</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106910</commentid>
    <comment_count>10</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2026-09-23 09:04:29 +0000</bug_when>
    <thetext>oe-selftest-fedora alma8-vk-1 scarthgap completed at 2026-09-23 02:14:48+00:00
https://autobuilder.yoctoproject.org/valkyrie/?#/builders/48/builds/4718</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107007</commentid>
    <comment_count>11</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2026-10-03 21:27:24 +0000</bug_when>
    <thetext>oe-selftest-fedora rocky8-vk-1 scarthgap completed at 2026-10-02 18:31:54+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/48/builds/4799</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107258</commentid>
    <comment_count>12</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2026-10-30 21:53:24 +0000</bug_when>
    <thetext>oe-selftest-fedora alma8-vk-1 scarthgap completed at 2026-10-29 11:35:32+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/48/builds/4966</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>