Build hangs


Kjeld Flarup
 

I sometimes encounters this situation, where a task is running forever. This example only one task, but I have seen 6 tasks which have been running for 10+ minutes

Currently  1 running tasks (680 of 2941)  23% |###########################                                                                                            |
0: openssl-native-1.1.1d-r0 do_install - 6m17s (pid 6007)

When I look into the docker container I see only these processes
user@yocto:~$ ps -ef
UID        PID  PPID  C STIME TTY          TIME CMD
user         1     0  0 07:37 pts/0    00:00:00 /bin/bash scripts/ci.sh pdsystems prepare_artifacts
user        53     1  1 07:37 pts/0    00:00:03 python3 /home/user/meta-poky/bitbake/bin/bitbake machine
user        59     1  4 07:37 ?        00:00:14 python3 /home/user/meta-poky/bitbake/bin/bitbake machine
user       414     0  0 07:38 pts/1    00:00:00 bash
user       449    59  5 07:39 ?        00:00:11 python3 /home/user/meta-poky/bitbake/bin/bitbake-worker decafbad
user     15205   414  0 07:42 pts/1    00:00:00 ps -ef

Usually I can fix this by deleting all of by build folder, which of course is annoying as it takes a loong time. Just deleting caches does not help.

Anybody has an idea of why this happens.

Kjeld Flarup

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