Intermittent failure in rpc_bind.py: in get_socket_inodes FileNotFoundError: [Errno 2] No such file or directory: '/proc/34007/fd/23' #29643

issue kevkevinpal opened this issue on March 12, 2024
  1. kevkevinpal commented at 10:06 PM on March 12, 2024: contributor

    Is there an existing issue for this?

    • I have searched the existing issues

    Current behaviour

    I opened a PR and the functional test failed https://github.com/bitcoin/bitcoin/pull/29500/checks?check_run_id=22324979545

    random seed: 2149187499175826776

    #29500 (comment)

    Expected behaviour

    I expected the test runner to pass

    Steps to reproduce

    Not sure how to reproduce other than running the test runner multiple times till it occurs

    Relevant log output

    https://github.com/bitcoin/bitcoin/pull/29500/checks?check_run_id=22324979545

    How did you obtain Bitcoin Core

    Compiled from source

    What version of Bitcoin Core are you using?

    master@f9ba6fd46d454d0a56662db751675a6520e1c9f6

    Operating system and version

    Cirrus CI / ASan + LSan + UBSan + integer, no depends, USDT

    Machine specifications

    This happened in the ci/cd

  2. vasild commented at 7:57 AM on March 13, 2024: contributor

    If the process (bitcoind) is expected/allowed to open/close any files or sockets at any time, then this code is racy:

    https://github.com/bitcoin/bitcoin/blob/1105aa46dd1008c556b8c435f1efcb9be09a1644/test/functional/test_framework/netutil.py#L39-L40

    It may happen that listdir() will show an existent fd but by the time readlink() is called on it, it gets closed and is not in /proc anymore.

    Tentative fix, I did not try it as this is Linux specific:

    --- i/test/functional/test_framework/netutil.py
    +++ w/test/functional/test_framework/netutil.py
    @@ -34,13 +34,16 @@ def get_socket_inodes(pid):
         '''
         Get list of socket inodes for process pid.
         '''
         base = '/proc/%i/fd' % pid
         inodes = []
         for item in os.listdir(base):
    -        target = os.readlink(os.path.join(base, item))
    +        try:
    +            target = os.readlink(os.path.join(base, item))
    +        except FileNotFoundError:
    +            continue
             if target.startswith('socket:'):
                 inodes.append(int(target[8:-1]))
         return inodes
     
     def _remove_empty(array):
         return [x for x in array if x !='']
    
  3. maflcko commented at 8:11 AM on March 13, 2024: member

    Excerpt (so it does not go away, when deleted on Cirrus in 90 days)

    https://cirrus-ci.com/task/5017383576797184?logs=ci#L3228

     test  2024-03-06T03:49:39.220000Z TestFramework (INFO): Bind test for [] 
     test  2024-03-06T03:49:39.225000Z TestFramework.node0 (DEBUG): bitcoind started, waiting for RPC to come up 
     node0 2024-03-06T03:49:40.194381Z [init] [init/common.cpp:155] [LogPackageVersion] Bitcoin Core version v26.99.0-229a72cef4ba-dirty (release build) 
     node0 2024-03-06T03:49:40.194766Z [init] [init.cpp:772] [InitParameterInteraction] InitParameterInteraction: parameter interaction: -listen=0 -> setting -i2pacceptincoming=0 
     node0 2024-03-06T03:49:40.197231Z [init] [node/chainstatemanager_args.cpp:54] [ApplyArgsManOptions] Script verification uses 3 additional threads 
     node0 2024-03-06T03:49:40.197342Z [init] [kernel/context.cpp:20] [Context] Using the 'x86_shani(1way,2way)' SHA256 implementation 
     node0 2024-03-06T03:49:40.197403Z [init] [random.cpp:105] [ReportHardwareRand] Using RdSeed as an additional entropy source 
     node0 2024-03-06T03:49:40.197424Z [init] [random.cpp:108] [ReportHardwareRand] Using RdRand as an additional entropy source 
     node0 2024-03-06T03:49:40.235555Z [init] [init/common.cpp:126] [StartLogging] Default data directory /root/.bitcoin 
     node0 2024-03-06T03:49:40.235618Z [init] [init/common.cpp:127] [StartLogging] Using data directory /ci_container_base/ci/scratch/test_runner/test_runner_₿_🏃_20240306_034415/rpc_bind_254/node0/regtest 
     node0 2024-03-06T03:49:40.235660Z [init] [init/common.cpp:132] [StartLogging] Config file: /ci_container_base/ci/scratch/test_runner/test_runner_₿_🏃_20240306_034415/rpc_bind_254/node0/bitcoin.conf 
     node0 2024-03-06T03:49:40.235708Z [init] [common/args.cpp:803] [logArgsPrefix] Config file arg: regtest="1" 
     node0 2024-03-06T03:49:40.235746Z [init] [common/args.cpp:803] [logArgsPrefix] Config file arg: [regtest] connect="0" 
     node0 2024-03-06T03:49:40.235775Z [init] [common/args.cpp:803] [logArgsPrefix] Config file arg: [regtest] deprecatedrpc="create_bdb" 
     node0 2024-03-06T03:49:40.235799Z [init] [common/args.cpp:803] [logArgsPrefix] Config file arg: [regtest] discover="0" 
     node0 2024-03-06T03:49:40.235821Z [init] [common/args.cpp:803] [logArgsPrefix] Config file arg: [regtest] dnsseed="0" 
     node0 2024-03-06T03:49:40.235852Z [init] [common/args.cpp:803] [logArgsPrefix] Config file arg: [regtest] fallbackfee="0.0002" 
     node0 2024-03-06T03:49:40.235874Z [init] [common/args.cpp:803] [logArgsPrefix] Config file arg: [regtest] fixedseeds="0" 
     node0 2024-03-06T03:49:40.235894Z [init] [common/args.cpp:803] [logArgsPrefix] Config file arg: [regtest] keypool="1" 
     node0 2024-03-06T03:49:40.235915Z [init] [common/args.cpp:803] [logArgsPrefix] Config file arg: [regtest] listenonion="0" 
     node0 2024-03-06T03:49:40.235944Z [init] [common/args.cpp:803] [logArgsPrefix] Config file arg: [regtest] natpmp="0" 
     node0 2024-03-06T03:49:40.235968Z [init] [common/args.cpp:803] [logArgsPrefix] Config file arg: [regtest] peertimeout="999999999" 
     node0 2024-03-06T03:49:40.235990Z [init] [common/args.cpp:803] [logArgsPrefix] Config file arg: [regtest] port="17048" 
     node0 2024-03-06T03:49:40.236025Z [init] [common/args.cpp:803] [logArgsPrefix] Config file arg: [regtest] printtoconsole="0" 
     node0 2024-03-06T03:49:40.236077Z [init] [common/args.cpp:803] [logArgsPrefix] Config file arg: [regtest] rpcdoccheck="1" 
     node0 2024-03-06T03:49:40.236105Z [init] [common/args.cpp:803] [logArgsPrefix] Config file arg: [regtest] rpcport="22048" 
     node0 2024-03-06T03:49:40.236139Z [init] [common/args.cpp:803] [logArgsPrefix] Config file arg: [regtest] rpcservertimeout="99000" 
     node0 2024-03-06T03:49:40.236167Z [init] [common/args.cpp:803] [logArgsPrefix] Config file arg: [regtest] server="1" 
     node0 2024-03-06T03:49:40.236205Z [init] [common/args.cpp:803] [logArgsPrefix] Config file arg: [regtest] shrinkdebugfile="0" 
     node0 2024-03-06T03:49:40.236238Z [init] [common/args.cpp:803] [logArgsPrefix] Config file arg: [regtest] unsafesqlitesync="1" 
     node0 2024-03-06T03:49:40.236262Z [init] [common/args.cpp:803] [logArgsPrefix] Config file arg: [regtest] upnp="0" 
     node0 2024-03-06T03:49:40.236296Z [init] [common/args.cpp:803] [logArgsPrefix] Command-line arg: datadir="/ci_container_base/ci/scratch/test_runner/test_runner_₿_🏃_20240306_034415/rpc_bind_254/node0" 
     node0 2024-03-06T03:49:40.236326Z [init] [common/args.cpp:803] [logArgsPrefix] Command-line arg: debug="" 
     node0 2024-03-06T03:49:40.236352Z [init] [common/args.cpp:803] [logArgsPrefix] Command-line arg: debugexclude="libevent" 
     node0 2024-03-06T03:49:40.236375Z [init] [common/args.cpp:803] [logArgsPrefix] Command-line arg: debugexclude="leveldb" 
     node0 2024-03-06T03:49:40.236395Z [init] [common/args.cpp:803] [logArgsPrefix] Command-line arg: debugexclude="rand" 
     node0 2024-03-06T03:49:40.236421Z [init] [common/args.cpp:803] [logArgsPrefix] Command-line arg: disablewallet="" 
     node0 2024-03-06T03:49:40.236464Z [init] [common/args.cpp:803] [logArgsPrefix] Command-line arg: disablewallet="" 
     node0 2024-03-06T03:49:40.236485Z [init] [common/args.cpp:803] [logArgsPrefix] Command-line arg: listen=false 
     node0 2024-03-06T03:49:40.236526Z [init] [common/args.cpp:803] [logArgsPrefix] Command-line arg: loglevel="trace" 
     node0 2024-03-06T03:49:40.236549Z [init] [common/args.cpp:803] [logArgsPrefix] Command-line arg: logsourcelocations="" 
     node0 2024-03-06T03:49:40.236569Z [init] [common/args.cpp:803] [logArgsPrefix] Command-line arg: logthreadnames="" 
     node0 2024-03-06T03:49:40.236588Z [init] [common/args.cpp:803] [logArgsPrefix] Command-line arg: logtimemicros="" 
     node0 2024-03-06T03:49:40.236608Z [init] [common/args.cpp:803] [logArgsPrefix] Command-line arg: rpcallowip="127.0.0.1" 
     node0 2024-03-06T03:49:40.236629Z [init] [common/args.cpp:803] [logArgsPrefix] Command-line arg: uacomment="testnode0" 
     node0 2024-03-06T03:49:40.236648Z [init] [common/args.cpp:803] [logArgsPrefix] Command-line arg: v2transport="0" 
     node0 2024-03-06T03:49:40.236672Z [init] [init.cpp:1120] [AppInitMain] Using at most 125 automatic connections (1048576 file descriptors available) 
     node0 2024-03-06T03:49:40.286467Z [init] [script/sigcache.cpp:104] [InitSignatureCache] Using 16 MiB out of 16 MiB requested for signature cache, able to store 524288 elements 
     node0 2024-03-06T03:49:40.325665Z [init] [validation.cpp:1885] [InitScriptExecutionCache] Using 16 MiB out of 16 MiB requested for script execution cache, able to store 524288 elements 
     node0 2024-03-06T03:49:40.325868Z [init] [wallet/init.cpp:130] [Construct] Wallet disabled! 
     node0 2024-03-06T03:49:40.335387Z [scheduler] [util/thread.cpp:20] [TraceThread] scheduler thread start 
     node0 2024-03-06T03:49:40.381330Z [init] [httpserver.cpp:239] [InitHTTPAllowList] [http] Allowing HTTP connections from: 127.0.0.0/8 ::1/128 127.0.0.1/32 
     node0 2024-03-06T03:49:40.381441Z [init] [httpserver.cpp:369] [HTTPBindAddresses] WARNING: option -rpcallowip was specified without -rpcbind; this doesn't usually make sense 
     node0 2024-03-06T03:49:40.381477Z [init] [httpserver.cpp:385] [HTTPBindAddresses] Binding RPC on address ::1 port 22048 
     node0 2024-03-06T03:49:40.381613Z [init] [httpserver.cpp:385] [HTTPBindAddresses] Binding RPC on address 127.0.0.1 port 22048 
     node0 2024-03-06T03:49:40.381670Z [init] [httpserver.cpp:464] [InitHTTPServer] [http] Initialized HTTP server 
     node0 2024-03-06T03:49:40.381696Z [init] [httpserver.cpp:466] [InitHTTPServer] [http] creating work queue of depth 16 
     node0 2024-03-06T03:49:40.381718Z [init] [rpc/server.cpp:298] [StartRPC] [rpc] Starting RPC 
     node0 2024-03-06T03:49:40.381811Z [init] [httprpc.cpp:298] [StartHTTPRPC] [rpc] Starting HTTP RPC server 
     node0 2024-03-06T03:49:40.381834Z [init] [httprpc.cpp:247] [InitRPCAuthentication] Using random cookie authentication. 
     node0 2024-03-06T03:49:40.383438Z [init] [rpc/request.cpp:111] [GenerateAuthCookie] Generated RPC authentication cookie /ci_container_base/ci/scratch/test_runner/test_runner_₿_🏃_20240306_034415/rpc_bind_254/node0/regtest/.cookie 
     node0 2024-03-06T03:49:40.383487Z [init] [httpserver.cpp:746] [RegisterHTTPHandler] [http] Registering HTTP handler for / (exactmatch 1) 
     node0 2024-03-06T03:49:40.383521Z [init] [httpserver.cpp:746] [RegisterHTTPHandler] [http] Registering HTTP handler for /wallet/ (exactmatch 0) 
     node0 2024-03-06T03:49:40.383549Z [init] [httpserver.cpp:489] [StartHTTPServer] Starting HTTP server with 4 worker threads 
     node0 2024-03-06T03:49:40.384719Z [init] [init.cpp:1232] [AppInitMain] Using /16 prefix for IP bucketing 
     node0 2024-03-06T03:49:40.384755Z [init] [noui.cpp:56] [noui_InitMessage] init message: Loading P2P addresses… 
     node0 2024-03-06T03:49:40.394533Z [init] [logging/timer.h:58] [Log] [addrman] CheckAddrman: new 0, tried 0, total 0 started 
     node0 2024-03-06T03:49:40.395315Z [init] [logging/timer.h:58] [Log] [addrman] CheckAddrman: completed (0.74ms) 
     node0 2024-03-06T03:49:40.395364Z [init] [addrdb.cpp:198] [LoadAddrman] Loaded 0 addresses from peers.dat  2ms 
     node0 2024-03-06T03:49:40.395865Z [init] [noui.cpp:56] [noui_InitMessage] init message: Loading banlist… 
     node0 2024-03-06T03:49:40.395994Z [init] [banman.cpp:40] [LoadBanlist] [net] Loaded 0 banned node addresses/subnets  0ms 
     node0 2024-03-06T03:49:40.396182Z [init] [net.cpp:2337] [SetTryNewOutboundPeer] [net] setting try another outbound peer=false 
     node0 2024-03-06T03:49:40.396218Z [init] [net.cpp:3101] [SetNetworkActive] SetNetworkActive: true 
     node0 2024-03-06T03:49:40.404107Z [http] [httpserver.cpp:352] [ThreadHTTP] [http] Entering http event loop 
     node0 2024-03-06T03:49:40.405789Z [init] [policy/fees.cpp:470] [Read] [estimatefee] Reading estimates: 190 buckets counting confirms up to 48 blocks 
     node0 2024-03-06T03:49:40.406141Z [init] [policy/fees.cpp:470] [Read] [estimatefee] Reading estimates: 190 buckets counting confirms up to 12 blocks 
     node0 2024-03-06T03:49:40.417490Z [init] [policy/fees.cpp:470] [Read] [estimatefee] Reading estimates: 190 buckets counting confirms up to 1008 blocks 
     node0 2024-03-06T03:49:40.421476Z [init] [node/chainstatemanager_args.cpp:54] [ApplyArgsManOptions] Script verification uses 3 additional threads 
     node0 2024-03-06T03:49:40.421529Z [init] [init.cpp:1465] [AppInitMain] Cache configuration: 
     node0 2024-03-06T03:49:40.421852Z [init] [init.cpp:1466] [AppInitMain] * Using 2.0 MiB for block index database 
     node0 2024-03-06T03:49:40.421884Z [init] [init.cpp:1474] [AppInitMain] * Using 8.0 MiB for chain state database 
     node0 2024-03-06T03:49:40.421968Z [init] [init.cpp:1492] [AppInitMain] * Using 440.0 MiB for in-memory UTXO set (plus up to 286.1 MiB of unused mempool space) 
     node0 2024-03-06T03:49:40.435895Z [init] [noui.cpp:56] [noui_InitMessage] init message: Loading block index… 
     node0 2024-03-06T03:49:40.435946Z [init] [node/chainstate.cpp:168] [LoadChainstate] Validating signatures for all blocks. 
     node0 2024-03-06T03:49:40.435979Z [init] [node/chainstate.cpp:170] [LoadChainstate] Setting nMinimumChainWork=0000000000000000000000000000000000000000000000000000000000000000 
     node0 2024-03-06T03:49:40.438766Z [init] [dbwrapper.cpp:241] [CDBWrapper] Opening LevelDB in /ci_container_base/ci/scratch/test_runner/test_runner_₿_🏃_20240306_034415/rpc_bind_254/node0/regtest/blocks/index 
     node0 2024-03-06T03:49:40.442581Z [init] [dbwrapper.cpp:249] [CDBWrapper] Opened LevelDB successfully 
     node0 2024-03-06T03:49:40.442671Z [init] [dbwrapper.cpp:274] [CDBWrapper] Using obfuscation key for /ci_container_base/ci/scratch/test_runner/test_runner_₿_🏃_20240306_034415/rpc_bind_254/node0/regtest/blocks/index: 0000000000000000 
     node0 2024-03-06T03:49:40.443112Z [init] [node/blockstorage.cpp:505] [LoadBlockIndexDB] LoadBlockIndexDB: last block file = 0 
     node0 2024-03-06T03:49:40.443167Z [init] [node/blockstorage.cpp:509] [LoadBlockIndexDB] LoadBlockIndexDB: last block file info: CBlockFileInfo(blocks=1, size=293, heights=0...0, time=2011-02-02...2011-02-02) 
     node0 2024-03-06T03:49:40.443198Z [init] [node/blockstorage.cpp:520] [LoadBlockIndexDB] Checking all blk files are present... 
     node0 2024-03-06T03:49:40.443324Z [init] [node/chainstate.cpp:108] [CompleteChainstateInitialization] Initializing chainstate Chainstate [ibd] @ height -1 (null) 
     node0 2024-03-06T03:49:40.443408Z [init] [dbwrapper.cpp:241] [CDBWrapper] Opening LevelDB in /ci_container_base/ci/scratch/test_runner/test_runner_₿_🏃_20240306_034415/rpc_bind_254/node0/regtest/chainstate 
     node0 2024-03-06T03:49:40.447283Z [init] [dbwrapper.cpp:249] [CDBWrapper] Opened LevelDB successfully 
     node0 2024-03-06T03:49:40.447491Z [init] [dbwrapper.cpp:274] [CDBWrapper] Using obfuscation key for /ci_container_base/ci/scratch/test_runner/test_runner_₿_🏃_20240306_034415/rpc_bind_254/node0/regtest/chainstate: 42c84b7dbf200f1f 
     node0 2024-03-06T03:49:40.448393Z [init] [validation.cpp:4395] [LoadChainTip] Loaded best chain: hashBestChain=0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206 height=0 date=2011-02-02T23:16:42Z progress=1.000000 
     node0 2024-03-06T03:49:40.450345Z [init] [dbwrapper.cpp:241] [CDBWrapper] Opening LevelDB in /ci_container_base/ci/scratch/test_runner/test_runner_₿_🏃_20240306_034415/rpc_bind_254/node0/regtest/chainstate 
     node0 2024-03-06T03:49:40.451012Z [init] [dbwrapper.cpp:249] [CDBWrapper] Opened LevelDB successfully 
     node0 2024-03-06T03:49:40.451299Z [init] [dbwrapper.cpp:274] [CDBWrapper] Using obfuscation key for /ci_container_base/ci/scratch/test_runner/test_runner_₿_🏃_20240306_034415/rpc_bind_254/node0/regtest/chainstate: 42c84b7dbf200f1f 
     node0 2024-03-06T03:49:40.451339Z [init] [validation.cpp:5196] [ResizeCoinsCaches] [Chainstate [ibd] @ height 0 (0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206)] resized coinsdb cache to 8.0 MiB 
     node0 2024-03-06T03:49:40.451368Z [init] [validation.cpp:5198] [ResizeCoinsCaches] [Chainstate [ibd] @ height 0 (0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206)] resized coinstip cache to 440.0 MiB 
     node0 2024-03-06T03:49:40.451426Z [init] [noui.cpp:56] [noui_InitMessage] init message: Verifying blocks… 
     node0 2024-03-06T03:49:40.451498Z [init] [init.cpp:1553] [AppInitMain]  block index              15ms 
     node0 2024-03-06T03:49:40.455465Z [init] [init.cpp:1639] [AppInitMain] Setting NODE_NETWORK on non-prune mode 
     node0 2024-03-06T03:49:40.456195Z [init] [init.cpp:1748] [AppInitMain] block tree size = 1 
     node0 2024-03-06T03:49:40.456511Z [init] [init.cpp:1761] [AppInitMain] nBestHeight = 0 
     node0 2024-03-06T03:49:40.456685Z [init] [noui.cpp:56] [noui_InitMessage] init message: Starting network threads… 
     node0 2024-03-06T03:49:40.456770Z [init] [net.cpp:3250] [Start] DNS seeding disabled 
     node0 2024-03-06T03:49:40.456881Z [init] [noui.cpp:56] [noui_InitMessage] init message: Done loading 
     node0 2024-03-06T03:49:40.462476Z [addcon] [util/thread.cpp:20] [TraceThread] addcon thread start 
     node0 2024-03-06T03:49:40.466856Z [initload] [util/thread.cpp:20] [TraceThread] initload thread start 
     node0 2024-03-06T03:49:40.467771Z [initload] [kernel/mempool_persist.cpp:73] [LoadMempool] Loading 0 mempool transactions from disk... 
     node0 2024-03-06T03:49:40.467829Z [initload] [kernel/mempool_persist.cpp:145] [LoadMempool] Imported mempool transactions from disk: 0 succeeded, 0 failed, 0 expired, 0 already there, 0 waiting for initial broadcast 
     node0 2024-03-06T03:49:40.467864Z [initload] [util/thread.cpp:22] [TraceThread] initload thread exit 
     node0 2024-03-06T03:49:40.476575Z [msghand] [util/thread.cpp:20] [TraceThread] msghand thread start 
     node0 2024-03-06T03:49:40.478057Z [http] [httpserver.cpp:306] [http_request_cb] [http] Received a POST request for / from 127.0.0.1:58838 
     node0 2024-03-06T03:49:40.478371Z [httpworker.1] [rpc/request.cpp:187] [parse] [rpc] ThreadRPCServer method=getblockcount user=__cookie__ 
     test  2024-03-06T03:49:40.479000Z TestFramework.node0 (DEBUG): RPC successfully started 
     node0 2024-03-06T03:49:40.479166Z [http] [httpserver.cpp:306] [http_request_cb] [http] Received a POST request for / from 127.0.0.1:58838 
     node0 2024-03-06T03:49:40.479318Z [httpworker.3] [rpc/request.cpp:187] [parse] [rpc] ThreadRPCServer method=getmempoolinfo user=__cookie__ 
     test  2024-03-06T03:49:40.480000Z TestFramework (ERROR): Unexpected exception caught during testing 
                                       Traceback (most recent call last):
                                         File "/ci_container_base/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/test/functional/test_framework/test_framework.py", line 131, in main
                                           self.run_test()
                                         File "/ci_container_base/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/test/functional/rpc_bind.py", line 86, in run_test
                                           self._run_loopback_tests()
                                         File "/ci_container_base/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/test/functional/rpc_bind.py", line 106, in _run_loopback_tests
                                           self.run_bind_test(['127.0.0.1'], '127.0.0.1', [],
                                         File "/ci_container_base/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/test/functional/rpc_bind.py", line 45, in run_bind_test
                                           assert_equal(set(get_bind_addrs(pid)), set(expected))
                                                            ^^^^^^^^^^^^^^^^^^^
                                         File "/ci_container_base/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/test/functional/test_framework/netutil.py", line 84, in get_bind_addrs
                                           inodes = get_socket_inodes(pid)
                                                    ^^^^^^^^^^^^^^^^^^^^^^
                                         File "/ci_container_base/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/test/functional/test_framework/netutil.py", line 40, in get_socket_inodes
                                           target = os.readlink(os.path.join(base, item))
                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                       FileNotFoundError: [Errno 2] No such file or directory: '/proc/34007/fd/23'
     test  2024-03-06T03:49:40.481000Z TestFramework (DEBUG): Closing down network thread 
     node0 2024-03-06T03:49:40.481555Z [net] [util/thread.cpp:20] [TraceThread] net thread start 
     test  2024-03-06T03:49:40.531000Z TestFramework (INFO): Stopping nodes 
     test  2024-03-06T03:49:40.531000Z TestFramework.node0 (DEBUG): Stopping node 
     node0 2024-03-06T03:49:40.532204Z [http] [httpserver.cpp:306] [http_request_cb] [http] Received a POST request for / from 127.0.0.1:58838 
     node0 2024-03-06T03:49:40.532461Z [httpworker.0] [rpc/request.cpp:187] [parse] [rpc] ThreadRPCServer method=stop user=__cookie__ 
    
  4. willcl-ark added the label Tests on Mar 20, 2024
  5. maflcko added the label CI failed on Sep 11, 2024
  6. DrahtBot renamed this:
    [tests] Race between test code and code in net thread
    Intermittent failure in rpc_bind.py: in get_socket_inodes FileNotFoundError: [Errno 2] No such file or directory: '/proc/34007/fd/23'
    on Sep 11, 2024
  7. maflcko commented at 11:26 AM on May 6, 2025: member

    b2e9fdc00f5c40c241a37739f7b73b74c2181e39

  8. maflcko closed this on May 6, 2025


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-15 15:13 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me