<?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>15077</bug_id>
          
          <creation_ts>2023-03-23 14:19:41 +0000</creation_ts>
          <short_desc>AB-INT: unfs couldn&apos;t bind to tcp port 3049</short_desc>
          <delta_ts>2023-06-15 14:47:42 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Runtime Testing</product>
          <component>oeqa/runtime</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>4.3 M1</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>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>95182</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2023-03-23 14:19:41 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/53/builds/6859/steps/19/logs/stdio

qemuarm fedora37-ty-3


Starting User Mode nfsd
  /home/pokybuild/yocto-worker/qemuarm/build/build-st-866746/tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/pseudo -P /home/pokybuild/yocto-worker/qemuarm/build/build-st-866746/tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr /home/pokybuild/yocto-worker/qemuarm/build/build-st-866746/tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/unfsd -p -i /home/pokybuild/.runqemu-sdk/nfs0.pid -e /home/pokybuild/.runqemu-sdk/exports0 -n 3049 -m 3048
bind: Address already in use
Couldn&apos;t bind to tcp port 3049
Error starting nfsd</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95222</commentid>
    <comment_count>1</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2023-03-30 14:23:19 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/53/builds/6899/steps/19/logs/stdio

qemuarm rocky9-ty-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95567</commentid>
    <comment_count>2</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2023-05-18 22:07:40 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/63/builds/7035/steps/20/logs/stdio

qemuppc alma8-ty-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95570</commentid>
    <comment_count>3</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2023-05-18 22:39:42 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/59/builds/7055/steps/19/logs/stdio

qemux86 rocky9-ty-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95710</commentid>
    <comment_count>4</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2023-06-14 07:20:30 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/typhoon/#/builders/145/builds/34

scripts/runqemu-export-rootfs should be altogether refactored to not hardcode 3049, as this is racy and causes clashes. 

meta/ib/oeqa/utils/nfs.py does it better: pick a random available port.

Also, it should use randomly generated file paths to avoid races there as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95715</commentid>
    <comment_count>5</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2023-06-14 13:13:15 +0000</bug_when>
    <thetext>https://patchwork.yoctoproject.org/project/oe-core/list/?series=13674</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95729</commentid>
    <comment_count>6</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2023-06-15 14:47:42 +0000</bug_when>
    <thetext>https://git.yoctoproject.org/poky/commit/?id=66b7727577f864d1725e14f5e953be114360fea3

Thanks for the fix!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>