From: "Kjeld Flarup" <kfa@deif.com>
To: Alexander Kanavin <alex.kanavin@gmail.com>
Cc: "yocto@lists.yoctoproject.org" <yocto@lists.yoctoproject.org>
Subject: Re: [yocto] Build hangs
Date: Fri, 3 Jul 2020 08:31:40 +0000 [thread overview]
Message-ID: <0bc94de0be784f30819318c9626c6bb1@deif.com> (raw)
In-Reply-To: <CANNYZj_qwBq2byWJ6=_FKAuwhFpY0aHD5YOw5a=R0QefNLQHoA@mail.gmail.com>
Hi Alex
Thanks for Your suggestion, but there is actually only these three processes running.
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 449 59 5 07:39 ? 00:00:11 python3 /home/user/meta-poky/bitbake/bin/bitbake-worker decafbad
Regards
Kjeld Flarup
________________________________________
From: Alexander Kanavin <alex.kanavin@gmail.com>
Sent: Friday, July 3, 2020 10:25
To: Kjeld Flarup
Cc: yocto@lists.yoctoproject.org
Subject: Re: [yocto] Build hangs
You can try to list the process tree with ps axjf, and the innermost under do_install is probably the one that is stuck. Then you can attach gdb to it to see what it is doing.
Alex
On Fri, 3 Jul 2020 at 10:07, Kjeld Flarup via lists.yoctoproject.org<http://lists.yoctoproject.org> <kfa=deif.com@lists.yoctoproject.org<mailto:deif.com@lists.yoctoproject.org>> wrote:
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
next prev parent reply other threads:[~2020-07-03 8:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-03 8:07 Build hangs Kjeld Flarup
2020-07-03 8:25 ` [yocto] " Alexander Kanavin
2020-07-03 8:31 ` Kjeld Flarup [this message]
2020-07-03 9:36 ` Kjeld Flarup
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0bc94de0be784f30819318c9626c6bb1@deif.com \
--to=kfa@deif.com \
--cc=alex.kanavin@gmail.com \
--cc=yocto@lists.yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox