<?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>15303</bug_id>
          
          <creation_ts>2023-11-29 22:46:29 +0000</creation_ts>
          <short_desc>AB-INT: sstatetests.SStateMirrors.test_cdn_mirror_qemu* failures</short_desc>
          <delta_ts>2024-01-05 15:16:23 +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>High</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>5.0 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexandre Belloni">alexandre.belloni</reporter>
          <assigned_to name="Alexander Kanavin">alex.kanavin</assigned_to>
          <cc>alex.kanavin</cc>
    
    <cc>alexandre.belloni</cc>
    
    <cc>mhalstead</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>97363</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2023-11-29 22:46:29 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/85/builds/2318/steps/23/logs/stdio

a-quick fedora38-ty-6</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97366</commentid>
    <comment_count>1</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2023-11-29 23:05:39 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/6258/steps/23/logs/stdio
rocky9-ty-1

https://autobuilder.yoctoproject.org/typhoon/#/builders/85/builds/2314/steps/25/logs/stdio

This one has:

[Errno 32] Broken pipeTraceback (most recent call last):
  File &quot;/home/pokybuild/yocto-worker/a-quick/build/bitbake/lib/bb/ui/knotty.py&quot;, line 647, in main
    ret, error = server.runCommand([&quot;ping&quot;])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File &quot;/home/pokybuild/yocto-worker/a-quick/build/bitbake/lib/bb/server/process.py&quot;, line 503, in runCommand
    self.connection.send(command)
  File &quot;/home/pokybuild/yocto-worker/a-quick/build/bitbake/lib/bb/server/process.py&quot;, line 868, in send
    self._send(obj)
  File &quot;/home/pokybuild/yocto-worker/a-quick/build/bitbake/lib/bb/server/process.py&quot;, line 847, in _send
    self.writer.send_bytes(obj)
  File &quot;/home/pokybuild/yocto-worker/a-quick/build/buildtools/sysroots/x86_64-pokysdk-linux/usr/lib/python3.11/multiprocessing/connection.py&quot;, line 199, in send_bytes
    self._send_bytes(m[offset:offset + size])
  File &quot;/home/pokybuild/yocto-worker/a-quick/build/buildtools/sysroots/x86_64-pokysdk-linux/usr/lib/python3.11/multiprocessing/connection.py&quot;, line 410, in _send_bytes
    self._send(header + buf)
  File &quot;/home/pokybuild/yocto-worker/a-quick/build/buildtools/sysroots/x86_64-pokysdk-linux/usr/lib/python3.11/multiprocessing/connection.py&quot;, line 367, in _send
    n = write(self._handle, buf)
        ^^^^^^^^^^^^^^^^^^^^^^^^
BrokenPipeError: [Errno 32] Broken pipe</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97367</commentid>
    <comment_count>2</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2023-11-29 23:10:05 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/6240/steps/25/logs/stdio

https://autobuilder.yoctoproject.org/typhoon/#/builders/85/builds/2315/steps/23/logs/stdio

https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/6244/steps/23/logs/stdio

https://autobuilder.yoctoproject.org/typhoon/#/builders/85/builds/2316/steps/23/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97368</commentid>
    <comment_count>3</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2023-11-29 23:10:17 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/6248/steps/23/logs/stdio

Missing objects in the cache:
lzip_1.23.bb:do_collect_spdx_deps
tcl_8.6.13.bb:do_collect_spdx_deps
go-binary-native_1.20.10.bb:do_collect_spdx_deps
zip_3.0.bb:do_collect_spdx_deps</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97369</commentid>
    <comment_count>4</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2023-11-29 23:11:58 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/6251/steps/23/logs/stdio

https://autobuilder.yoctoproject.org/typhoon/#/builders/85/builds/2317/steps/25/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97372</commentid>
    <comment_count>5</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2023-11-29 23:21:08 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/6229/steps/25/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97384</commentid>
    <comment_count>6</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2023-11-30 16:18:57 +0000</bug_when>
    <thetext>*** Bug 15253 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97409</commentid>
    <comment_count>7</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2023-12-04 11:15:44 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/6274/steps/23/logs/stdio

https://autobuilder.yoctoproject.org/typhoon/#/builders/85/builds/2321/steps/23/logs/stdio

https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/6267/steps/23/logs/stdio

https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/6264/steps/23/logs/stdio

https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/6263/steps/25/logs/stdio

https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/6262/steps/23/logs/stdio

https://autobuilder.yoctoproject.org/typhoon/#/builders/85/builds/2319/steps/23/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97411</commentid>
    <comment_count>8</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2023-12-04 11:40:20 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/85/builds/2322/steps/25/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97429</commentid>
    <comment_count>9</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2023-12-06 11:08:29 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/6259/steps/23/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97430</commentid>
    <comment_count>10</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2023-12-06 11:10:14 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/6291/steps/23/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97544</commentid>
    <comment_count>11</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2023-12-12 13:00:41 +0000</bug_when>
    <thetext>Michael, I found a couple of CDN oddities that seem to be coming from infra rather than bitbake/oe-core code or tests:

1.
/srv/autobuilder/autobuilder.yocto.io/pub/sstate/universal/2d/29/sstate:go-cross-cortexa57:x86_64-poky-linux:1.20.12:r0:x86_64:11:2d291879552b44a099c36e9e85358f703a8b8d8c2c0c2b876a0c7a339844f64b_populate_sysroot.tar.zst exists
but 
https://cdn.jsdelivr.net/yocto/sstate/all/universal/2d/29/sstate:go-cross-cortexa57:x86_64-poky-linux:1.20.12:r0:x86_64:11:2d291879552b44a099c36e9e85358f703a8b8d8c2c0c2b876a0c7a339844f64b_populate_sysroot.tar.zst does not

2. 
wget https://cdn.jsdelivr.net/yocto/sstate/all/universal/2d/29/sstate:go-cross-cortexa57:aarch64-poky-linux:1.20.12:r0:aarch64:11:2d291879552b44a099c36e9e85358f703a8b8d8c2c0c2b876a0c7a339844f64b_populate_sysroot.tar.zst

returns 504 gateway timeout (but not always!) while 

/srv/autobuilder/autobuilder.yocto.io/pub/sstate/universal/2d/29/sstate:go-cross-cortexa57:aarch64-poky-linux:1.20.12:r0:aarch64:11:2d291879552b44a099c36e9e85358f703a8b8d8c2c0c2b876a0c7a339844f64b_populate_sysroot.tar.zst

exists.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97545</commentid>
    <comment_count>12</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2023-12-12 13:03:28 +0000</bug_when>
    <thetext>akanavin@ubuntu2204-arm-1:~$ wget https://cdn.jsdelivr.net/yocto/sstate/all/universal/2d/29/sstate:go-cross-cortexa57:aarch64-poky-linux:1.20.12:r0:aarch64:11:2d291879552b44a099c36e9e85358f703a8b8d8c2c0c2b876a0c7a339844f64b_populate_sysroot.tar.zst
--2023-12-12 12:59:09--  https://cdn.jsdelivr.net/yocto/sstate/all/universal/2d/29/sstate:go-cross-cortexa57:aarch64-poky-linux:1.20.12:r0:aarch64:11:2d291879552b44a099c36e9e85358f703a8b8d8c2c0c2b876a0c7a339844f64b_populate_sysroot.tar.zst
Resolving cdn.jsdelivr.net (cdn.jsdelivr.net)... 2a04:4e42::485, 2a04:4e42:200::485, 2a04:4e42:400::485, ...
Connecting to cdn.jsdelivr.net (cdn.jsdelivr.net)|2a04:4e42::485|:443... connected.
HTTP request sent, awaiting response... 504 Gateway Timeout
Retrying.


akanavin@ubuntu2204-arm-1:~$ wget https://cdn.jsdelivr.net/yocto/sstate/all/universal/2d/29/sstate:go-cross-cortexa57:aarch64-poky-linux:1.20.12:r0:aarch64:11:2d291879552b44a099c36e9e85358f703a8b8d8c2c0c2b876a0c7a339844f64b_populate_sysroot.tar.zst
--2023-12-12 13:01:09--  https://cdn.jsdelivr.net/yocto/sstate/all/universal/2d/29/sstate:go-cross-cortexa57:aarch64-poky-linux:1.20.12:r0:aarch64:11:2d291879552b44a099c36e9e85358f703a8b8d8c2c0c2b876a0c7a339844f64b_populate_sysroot.tar.zst
Resolving cdn.jsdelivr.net (cdn.jsdelivr.net)... 2a04:4e42:400::485, 2a04:4e42:200::485, 2a04:4e42:600::485, ...
Connecting to cdn.jsdelivr.net (cdn.jsdelivr.net)|2a04:4e42:400::485|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 60192161 (57M) [application/octet-stream]
Saving to: ‘sstate:go-cross-cortexa57:aarch64-poky-linux:1.20.12:r0:aarch64:11:2d291879552b44a099c36e9e85358f703a8b8d8c2c0c2b876a0c7a339844f64b_populate_sysroot.tar.zst.2’

sstate:go-cross-cortexa57:aarch64-poky-linux:1.20.12:r0:aar 100%[=========================================================================================================================================&gt;]  57.40M  58.9MB/s    in 1.0s</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97557</commentid>
    <comment_count>13</comment_count>
    <who name="Michael Halstead">mhalstead</who>
    <bug_when>2023-12-13 19:04:02 +0000</bug_when>
    <thetext>The CDN didn&apos;t have sstate:go-cross-cortexa57:x86_64-poky-linux because the origin server wasn&apos;t serving it. https://origin.sstate.yoctoproject.org/all/universal/2d/29/sstate:go-cross-cortexa57:x86_64-poky-linux:1.20.12:r0:x86_64:11:2d291879552b44a099c36e9e85358f703a8b8d8c2c0c2b876a0c7 a339844f64b_populate_sysroot.tar.zst was a 404 as well. I checked the server and it had stale cache data for /srv/autobuilder/autobuilder.yocto.io/pub/sstate/universal/2d/29/

After forcing a refresh the file was available. I&apos;ve disabled all special caching. The NFS metadata cache lasts for 300 seconds. Let&apos;s see if this happens again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97558</commentid>
    <comment_count>14</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2023-12-13 19:10:13 +0000</bug_when>
    <thetext>Thanks! 

On my side, I&apos;m going to add a test that runs the same presence checks against local nfs mounted cache, so when the whole test set completes, it becomes possible to establish what isn&apos;t in the local cache to begin with, and what failed to propagate to cdn.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97743</commentid>
    <comment_count>15</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2024-01-05 15:16:23 +0000</bug_when>
    <thetext>Closing as the remaining issues are tracked in 15335</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>