Re: Parsing recipes: 0% | - hangs for a while


Sergey Ivanov <icegood1980@...>
 

The issue was located. I had overridden to the local path of one recipe via

"devtool modify -n <my_recipe>" /my/local/path
and during parsing it hangs at
"Inheriting /yocto/sources/poky/meta/classes/externalsrc.bbclass" from custom devtools bbappend for my recipe.
Moreover, "devtool reset -n <my_recipe>" turned out into other errors:



NOTE: Reconnecting to bitbake server...
NOTE: Retrying server connection (#1)...
NOTE: Reconnecting to bitbake server...
NOTE: Reconnecting to bitbake server...
NOTE: Retrying server connection (#1)...
NOTE: Retrying server connection (#1)...
NOTE: Reconnecting to bitbake server...
NOTE: Retrying server connection (#2)...
NOTE: Reconnecting to bitbake server...
NOTE: Reconnecting to bitbake server...
NOTE: Retrying server connection (#2)...
NOTE: Retrying server connection (#2)...
NOTE: Reconnecting to bitbake server...
NOTE: Retrying server connection (#3)... (Traceback (most recent call last):
  File "/yocto/sources/poky/bitbake/lib/bb/main.py", line 455, in setup_bitbake
    server_connection = bb.server.process.connectProcessServer(sockname, featureset)
  File "/yocto/sources/poky/bitbake/lib/bb/server/process.py", line 490, in connectProcessServer
    sock.connect(os.path.basename(sockname))
BlockingIOError: [Errno 11] Resource temporarily unavailable
)
NOTE: Reconnecting to bitbake server...
NOTE: Reconnecting to bitbake server...
NOTE: Retrying server connection (#3)... (Traceback (most recent call last):
  File "/yocto/sources/poky/bitbake/lib/bb/main.py", line 455, in setup_bitbake
    server_connection = bb.server.process.connectProcessServer(sockname, featureset)
  File "/yocto/sources/poky/bitbake/lib/bb/server/process.py", line 490, in connectProcessServer
    sock.connect(os.path.basename(sockname))
BlockingIOError: [Errno 11] Resource temporarily unavailable
)
NOTE: Retrying server connection (#3)... (Traceback (most recent call last):
  File "/yocto/sources/poky/bitbake/lib/bb/main.py", line 455, in setup_bitbake
    server_connection = bb.server.process.connectProcessServer(sockname, featureset)
  File "/yocto/sources/poky/bitbake/lib/bb/server/process.py", line 490, in connectProcessServer
    sock.connect(os.path.basename(sockname))
BlockingIOError: [Errno 11] Resource temporarily unavailable
)
NOTE: Reconnecting to bitbake server...
NOTE: Retrying server connection (#4)... (Traceback (most recent call last):
  File "/yocto/sources/poky/bitbake/lib/bb/main.py", line 455, in setup_bitbake
    server_connection = bb.server.process.connectProcessServer(sockname, featureset)
  File "/yocto/sources/poky/bitbake/lib/bb/server/process.py", line 490, in connectProcessServer
    sock.connect(os.path.basename(sockname))
BlockingIOError: [Errno 11] Resource temporarily unavailable
)
NOTE: Reconnecting to bitbake server...
NOTE: Reconnecting to bitbake server...
NOTE: Retrying server connection (#4)... (Traceback (most recent call last):
  File "/yocto/sources/poky/bitbake/lib/bb/main.py", line 455, in setup_bitbake
    server_connection = bb.server.process.connectProcessServer(sockname, featureset)
  File "/yocto/sources/poky/bitbake/lib/bb/server/process.py", line 490, in connectProcessServer
    sock.connect(os.path.basename(sockname))
BlockingIOError: [Errno 11] Resource temporarily unavailable
)
NOTE: Retrying server connection (#4)... (Traceback (most recent call last):
  File "/yocto/sources/poky/bitbake/lib/bb/main.py", line 455, in setup_bitbake
    server_connection = bb.server.process.connectProcessServer(sockname, featureset)
  File "/yocto/sources/poky/bitbake/lib/bb/server/process.py", line 490, in connectProcessServer
    sock.connect(os.path.basename(sockname))
BlockingIOError: [Errno 11] Resource temporarily unavailable
)
NOTE: Reconnecting to bitbake server...
NOTE: Retrying server connection (#5)... (Traceback (most recent call last):
  File "/yocto/sources/poky/bitbake/lib/bb/main.py", line 455, in setup_bitbake
    server_connection = bb.server.process.connectProcessServer(sockname, featureset)
  File "/yocto/sources/poky/bitbake/lib/bb/server/process.py", line 490, in connectProcessServer
    sock.connect(os.path.basename(sockname))
BlockingIOError: [Errno 11] Resource temporarily unavailable
)
NOTE: Reconnecting to bitbake server...
NOTE: Reconnecting to bitbake server...
NOTE: Retrying server connection (#5)... (Traceback (most recent call last):
  File "/yocto/sources/poky/bitbake/lib/bb/main.py", line 455, in setup_bitbake
    server_connection = bb.server.process.connectProcessServer(sockname, featureset)
  File "/yocto/sources/poky/bitbake/lib/bb/server/process.py", line 490, in connectProcessServer
    sock.connect(os.path.basename(sockname))
BlockingIOError: [Errno 11] Resource temporarily unavailable
)
NOTE: Retrying server connection (#5)... (Traceback (most recent call last):
  File "/yocto/sources/poky/bitbake/lib/bb/main.py", line 455, in setup_bitbake
    server_connection = bb.server.process.connectProcessServer(sockname, featureset)
  File "/yocto/sources/poky/bitbake/lib/bb/server/process.py", line 490, in connectProcessServer
    sock.connect(os.path.basename(sockname))
BlockingIOError: [Errno 11] Resource temporarily unavailable
)
NOTE: Reconnecting to bitbake server...
NOTE: Retrying server connection (#6)... (Traceback (most recent call last):
  File "/yocto/sources/poky/bitbake/lib/bb/main.py", line 455, in setup_bitbake
    server_connection = bb.server.process.connectProcessServer(sockname, featureset)
  File "/yocto/sources/poky/bitbake/lib/bb/server/process.py", line 490, in connectProcessServer
    sock.connect(os.path.basename(sockname))
BlockingIOError: [Errno 11] Resource temporarily unavailable
)
NOTE: Reconnecting to bitbake server...
NOTE: Reconnecting to bitbake server...
NOTE: Retrying server connection (#6)... (Traceback (most recent call last):
  File "/yocto/sources/poky/bitbake/lib/bb/main.py", line 455, in setup_bitbake
    server_connection = bb.server.process.connectProcessServer(sockname, featureset)
  File "/yocto/sources/poky/bitbake/lib/bb/server/process.py", line 490, in connectProcessServer
    sock.connect(os.path.basename(sockname))
BlockingIOError: [Errno 11] Resource temporarily unavailable
)
NOTE: Retrying server connection (#6)... (Traceback (most recent call last):
  File "/yocto/sources/poky/bitbake/lib/bb/main.py", line 455, in setup_bitbake
    server_connection = bb.server.process.connectProcessServer(sockname, featureset)
  File "/yocto/sources/poky/bitbake/lib/bb/server/process.py", line 490, in connectProcessServer
    sock.connect(os.path.basename(sockname))
BlockingIOError: [Errno 11] Resource temporarily unavailable
)
NOTE: Starting bitbake server...


I wonder why devtool needs bitbake server.





ср, 25 нояб. 2020 г. в 13:14, Sergey Ivanov via lists.yoctoproject.org <icegood1980=gmail.com@...>:

Since today i encountered issue in the topic.

I had this issue before when i forgot to turn on vpn (somehow parsing depends on it). But today is everything is OK and i wonder what went wrong. More precisely, i'm interested in two points:

1) at which stage parsing of receipts is interested in remote resources?
2) how to disable remote resource usage during parsing in some sophisticated way?

P.S. after waiting for a while bitbake continues but it is annoying anyway.

--
Kind regards,
Sergey Ivanov





--
Kind regards,
Sergey Ivanov

Join yocto@lists.yoctoproject.org to automatically receive all group messages.