stuck at Initializing tasks

500 views
Skip to first unread message

Belisko Marek

unread,
Mar 14, 2022, 4:42:38 AM3/14/22
to kas-devel
Hi,

I have a strange issue with kas running locally on my machine (when
run in docker issue is not present). I'm using ubuntu 16.04 and kas
3.0.2. When run image build I got stuck at:

Build Configuration:
BB_VERSION = "1.46.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "orange-pi-zero"
DISTRO = "poky"
DISTRO_VERSION = "3.1.12"
TUNE_FEATURES = "arm armv7ve vfp thumb neon callconvention-hard"
TARGET_FPU = "hard"
meta-multimedia
meta-networking
meta-oe
meta-python = "dunfell:814eec96c2a29172da57a425a3609f8b6fcc6afe"
meta
meta-poky
meta-yocto-bsp = "dunfell:0839888394a6e42e96f9f0d201376eb38bc79b24"
sunxi = "dunfell:06091fa58f24c375fe68c97ad77af38ef3ff4078"

Initialising tasks: 44%
|###########################################################################
and it stays forever like that. When stop it by Ctrl + C I see trace:

Traceback (most recent call last):
File "/home/marek/projects/test-build/test-db/poky/bitbake/bin/bitbake",
line 36, in <module>
cookerdata.CookerConfiguration()))
File "/home/marek/projects/test-build/test-db/poky/bitbake/lib/bb/main.py",
line 385, in bitbake_main
configParams)
File "/home/marek/projects/test-build/test-db/poky/bitbake/lib/bb/ui/knotty.py",
line 837, in main
state_force_shutdown()
File "/home/marek/projects/test-build/test-db/poky/bitbake/lib/bb/ui/knotty.py",
line 821, in state_force_shutdown
_, error = server.runCommand(["stateForceShutdown"])
File "/home/marek/projects/test-build/test-db/poky/bitbake/lib/bb/server/process.py",
line 347, in runCommand
if not self.recv.poll(30):
File "/home/marek/projects/test-build/test-db/poky/bitbake/lib/bb/server/process.py",
line 644, in poll
return self.reader.poll(timeout)
File "/usr/lib/python3.5/multiprocessing/connection.py", line 257, in poll
return self._poll(timeout)
File "/usr/lib/python3.5/multiprocessing/connection.py", line 414, in _poll
r = wait([self], timeout)
File "/usr/lib/python3.5/multiprocessing/connection.py", line 911, in wait
ready = selector.select(timeout)
File "/usr/lib/python3.5/selectors.py", line 376, in select
fd_event_list = self._poll.poll(timeout)
KeyboardInterrupt
2022-03-14 09:40:24 - ERROR - Command returned non-zero exit status 1

Any ideas what can cause that? Thanks.

BR,

marek

--
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com

Jan Kiszka

unread,
Mar 14, 2022, 5:49:57 AM3/14/22
to Belisko Marek, kas-devel
On 14.03.22 09:42, Belisko Marek wrote:
> Hi,
>
> I have a strange issue with kas running locally on my machine (when
> run in docker issue is not present). I'm using ubuntu 16.04 and kas
^^^^^
"Fresh" from a museum?

It might be that Python or one of the other dependencies are too old for
kas by now. We officially support and test (but only in CI) against
Python 3.5. But maybe we miss some cases by now.

> 3.0.2. When run image build I got stuck at:

Did kas 2.6.3 work?
Or there is an issue with dunfell and that Python version. It seems you
get stuck over bitbake, not kas.

Jan

--
Siemens AG, Technology
Competence Center Embedded Linux
Reply all
Reply to author
Forward
0 new messages