<?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>15087</bug_id>
          
          <creation_ts>2023-03-30 14:14:12 +0000</creation_ts>
          <short_desc>AB-INT: prservice.BitbakePrTests.test_stopping_prservice_message failure PID file not found</short_desc>
          <delta_ts>2025-01-23 16:18: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 AB-HAVE-PLAN</status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>5.99</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexandre Belloni">alexandre.belloni</reporter>
          <assigned_to name="Randy MacLeod">randy.macleod</assigned_to>
          <cc>alexandre.belloni</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>ross.burton</cc>
    
    <cc>tgamblin</cc>
    
    <cc>yoann.congal</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>95219</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2023-03-30 14:14:12 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/4959/steps/14/logs/stdio

oe-selftest-centos alma9-ty-1

2023-03-21 12:17:07,495 - oe-selftest - INFO - prservice.BitbakePrTests.test_stopping_prservice_message (subunit.RemotedTestCase)
2023-03-21 12:17:07,496 - oe-selftest - INFO -  ... FAIL
Stderr:
2023-03-21 11:52:13,604 - oe-selftest - INFO - Adding: &quot;include selftest.inc&quot; in /home/pokybuild/yocto-worker/oe-selftest-centos/build/build-st-488551/conf/local.conf
2023-03-21 11:52:13,605 - oe-selftest - INFO - Adding: &quot;include bblayers.inc&quot; in bblayers.conf
2023-03-21 12:17:07,496 - oe-selftest - INFO - 10: 19/27 310/524 (1.96s) (0 failed) (prservice.BitbakePrTests.test_stopping_prservice_message)
2023-03-21 12:17:07,496 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File &quot;/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/lib/oeqa/selftest/cases/prservice.py&quot;, line 124, in test_stopping_prservice_message
    ret = runCmd(&apos;bitbake-prserv --host localhost --port %s --loglevel=DEBUG --stop&apos; % port)
  File &quot;/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/lib/oeqa/utils/commands.py&quot;, line 214, 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-prserv --host localhost --port 42921 --loglevel=DEBUG --stop&apos; returned non-zero exit status 1:
Traceback (most recent call last):
  File &quot;/home/pokybuild/yocto-worker/oe-selftest-centos/build/bitbake/bin/bitbake-prserv&quot;, line 59, in &lt;module&gt;
    ret = main()
  File &quot;/home/pokybuild/yocto-worker/oe-selftest-centos/build/bitbake/bin/bitbake-prserv&quot;, line 52, in main
    ret=prserv.serv.stop_daemon(options.host, options.port)
  File &quot;/home/pokybuild/yocto-worker/oe-selftest-centos/build/bitbake/lib/prserv/serv.py&quot;, line 270, in stop_daemon
    raise e
  File &quot;/home/pokybuild/yocto-worker/oe-selftest-centos/build/bitbake/lib/prserv/serv.py&quot;, line 265, in stop_daemon
    os.remove(pidfile)
FileNotFoundError: [Errno 2] No such file or directory: &apos;/tmp/PRServer_127.0.0.1_42921.pid&apos;
Sending SIGTERM to pr-server.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95230</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-03-30 14:54:19 +0000</bug_when>
    <thetext>Most likely a shutdown race condition.
There are probably two things removing the pid file.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96098</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-07-26 21:22:05 +0000</bug_when>
    <thetext>Bulk move of 64 bugs to 4.3 M3 after a quick review.
If a bug is actually fixed, please add a commit link and resolve it.
-- Randy for YP bug team.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96422</commentid>
    <comment_count>3</comment_count>
    <who name="Trevor Gamblin">tgamblin</who>
    <bug_when>2023-09-14 15:34:14 +0000</bug_when>
    <thetext>Moved to M4.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96533</commentid>
    <comment_count>4</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-09-21 14:46:47 +0000</bug_when>
    <thetext>Likely a shutdown race that should be ignored if that&apos;s really the case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97069</commentid>
    <comment_count>5</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-10-30 15:29:11 +0000</bug_when>
    <thetext>Bulk move to 5.0 M1. -- Randy</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97652</commentid>
    <comment_count>6</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-12-21 23:28:24 +0000</bug_when>
    <thetext>Bulk move of 52 5.0-M1 bugs to M2.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97961</commentid>
    <comment_count>7</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2024-01-23 17:27:34 +0000</bug_when>
    <thetext>Not seen since March 2023, close?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98003</commentid>
    <comment_count>8</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2024-01-25 14:28:48 +0000</bug_when>
    <thetext>Bulk move of bugs owned by &quot;unassigned&quot; from 5.0-M2 to 5.0-M3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98905</commentid>
    <comment_count>9</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2024-04-25 01:26:29 +0000</bug_when>
    <thetext>Park in 5.99 until I&apos;m sure I have time to work on an issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100725</commentid>
    <comment_count>10</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2025-01-23 15:58:38 +0000</bug_when>
    <thetext>I believe I fixed that with https://git.yoctoproject.org/poky/commit/bitbake/lib/prserv/serv.py?id=ef88dee4f77ca95ec79e62d08fc0a01e83528e11</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100728</commentid>
    <comment_count>11</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2025-01-23 16:18:22 +0000</bug_when>
    <thetext>fixed with https://git.yoctoproject.org/poky/commit/bitbake/lib/prserv/serv.py?id=ef88dee4f77ca95ec79e62d08fc0a01e83528e11</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>