Topics

Parsing recipes: 0% | - hangs for a while


Sergey Ivanov
 

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


Sergey Ivanov
 

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


Jean-Marie Lemetayer
 

Maybe related to this: meta/conf/distro/include/default-distrovars.inc

# The CONNECTIVITY_CHECK_URIS are used to test whether we can succesfully
# fetch from the network (and warn you if not). To disable the test set
# the variable to be empty.
# Git example url:
git://git.yoctoproject.org/yocto-firewall-test;protocol=git;rev=master
CONNECTIVITY_CHECK_URIS ?= "https://www.example.com/";

Try to overwrite CONNECTIVITY_CHECK_URIS in your local.conf by
something like google.com or even an empty string and see the result.

Best regards,
Jean-Marie

On Wed, Nov 25, 2020 at 12:46 PM Sergey Ivanov <icegood1980@gmail.com> wrote:

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@lists.yoctoproject.org>:

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



Khem Raj
 

On 11/25/20 3:13 AM, Sergey Ivanov wrote:
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?
perhaps you can try setting BB_NO_NETWORK = "1" in your local.conf and perhaps disabling local mirrors would be needed too if you have then enabled

P.S. after waiting for a while bitbake continues but it is annoying anyway.
--
Kind regards,
Sergey Ivanov