<?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>15868</bug_id>
          
          <creation_ts>2025-05-21 07:00:33 +0000</creation_ts>
          <short_desc>AB-INT: release-parser: git.exc.NoSuchPathError: /srv/pokybuild/git/mirror/poky</short_desc>
          <delta_ts>2025-05-23 00:49:24 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Tooling</product>
          <component>tooling</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>5.2 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mathieu Dubois-Briand">mathieu.dubois-briand</reporter>
          <assigned_to name="Mathieu Dubois-Briand">mathieu.dubois-briand</assigned_to>
          <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>102005</commentid>
    <comment_count>0</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2025-05-21 07:00:33 +0000</bug_when>
    <thetext>+ /srv/pokybuild/yocto-worker/indexing/yocto-autobuilder-helper/scripts/release-parser.py
Traceback (most recent call last):
  File &quot;/srv/pokybuild/yocto-worker/indexing/yocto-autobuilder-helper/scripts/release-parser.py&quot;, line 15, in &lt;module&gt;
    repo = Repo(GIT_REPO)
  File &quot;/usr/lib/python3.6/site-packages/git/repo/base.py&quot;, line 130, in __init__
    raise NoSuchPathError(epath)
git.exc.NoSuchPathError: /srv/pokybuild/git/mirror/poky</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102013</commentid>
    <comment_count>1</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2025-05-21 07:27:52 +0000</bug_when>
    <thetext>indexing opensuse155-vk-1 master completed at 2025-05-20T08:01:49Z
https://autobuilder.yoctoproject.org/valkyrie/#/builders/104/builds/21156/steps/16/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102028</commentid>
    <comment_count>2</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2025-05-22 11:57:49 +0000</bug_when>
    <thetext>indexing opensuse155-vk-1 master completed at 2025-05-21T16:17:47Z
https://autobuilder.yoctoproject.org/valkyrie/#/builders/104/builds/21285/steps/16/logs/stdio
indexing opensuse155-vk-1 master completed at 2025-05-21T16:46:56Z
https://autobuilder.yoctoproject.org/valkyrie/#/builders/104/builds/21287/steps/16/logs/stdio
indexing opensuse155-vk-1 master completed at 2025-05-21T17:01:17Z
https://autobuilder.yoctoproject.org/valkyrie/#/builders/104/builds/21288/steps/16/logs/stdio
indexing opensuse155-vk-1 master completed at 2025-05-21T17:17:07Z
https://autobuilder.yoctoproject.org/valkyrie/#/builders/104/builds/21289/steps/16/logs/stdio
indexing opensuse155-vk-1 master completed at 2025-05-21T22:01:57Z
https://autobuilder.yoctoproject.org/valkyrie/#/builders/104/builds/21308/steps/16/logs/stdio
indexing opensuse155-vk-1 master completed at 2025-05-22T06:16:25Z
https://autobuilder.yoctoproject.org/valkyrie/#/builders/104/builds/21350/steps/16/logs/stdio
indexing opensuse155-vk-1 master completed at 2025-05-22T09:46:32Z
https://autobuilder.yoctoproject.org/valkyrie/#/builders/104/builds/21364/steps/16/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102049</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Halstead">mhalstead</who>
    <bug_when>2025-05-22 16:37:00 +0000</bug_when>
    <thetext>/srv/pokybuild/git/mirror/poky is populated by yocto-autobuilder-helper/janitor/ab-janitor which is run by systemd on boot. In the case of opensuse155-vk-1:

fatal: unable to access &apos;https://github.com/exein-io/meta-exein/&apos;: Could not resolve host: github.com
git.yoctoproject.org[0: 38.129.16.151]: errno=Network is unreachable

Even though the unit file contains After=network-online.target it appears this process launched before the network was ready. I can look into ways to make sure the process launches after network is available.

We should also modify https://git.yoctoproject.org/yocto-autobuilder-helper/tree/janitor/ab-janitor#n61 so the git clone is run whenever the needed dirs are absent, not just once when the script first runs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102054</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Halstead">mhalstead</who>
    <bug_when>2025-05-22 18:42:03 +0000</bug_when>
    <thetext>Patch submitted at https://lists.yoctoproject.org/g/yocto-patches/message/1577 and applied at https://git.yoctoproject.org/yocto-autobuilder-helper/log/?h=contrib/halstead/master.

Tested successfully on opensuse155-vk-1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102057</commentid>
    <comment_count>5</comment_count>
    <who name="Michael Halstead">mhalstead</who>
    <bug_when>2025-05-23 00:49:24 +0000</bug_when>
    <thetext>Patch merged and fully deployed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>