Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 916707 - app-portage/portage-utils-0.96.1 qlop wrong about parallel jobs
Summary: app-portage/portage-utils-0.96.1 qlop wrong about parallel jobs
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Fabian Groffen
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-02 09:50 UTC by Massimo Burcheri
Modified: 2024-01-19 23:23 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge.log (emerge.log.tar.xz,24.00 KB, application/x-xz)
2023-11-06 10:36 UTC, Massimo Burcheri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Massimo Burcheri 2023-11-02 09:50:03 UTC
Running parallel jobs:
emerge -auUDtv world --keep-going --with-bdeps\=y --jobs\=8 --load-average\=25

I see
>>> Jobs: 12 of 14 complete, 2 running              Load avg: 16.0, 18.9, 19.3

So 2 jobs running in parallel.

Asking genlop about the jobs:

genlop -c
using logfile /var/log/emerge.log
using logfile /var/log/emerge.log.1.bz2

 Currently merging 12 out of 14

 * net-libs/webkit-gtk-2.42.1-r600 

       current merge time: 2 hours, 9 minutes and 36 seconds.
       ETA: 2 hours, 38 minutes and 23 seconds.

 Currently merging 12 out of 14

 * net-libs/webkit-gtk-2.42.1-r600 

       current merge time: 2 hours, 9 minutes and 36 seconds.
       ETA: 2 hours, 38 minutes and 8 seconds.

Asking qlop about the jobs:

qlop -vr
2023-11-02T07:41:50 >>> net-libs/webkit-gtk-2.42.1-r600... (12 of 14) ETA: unknown

qlop only reports 1 running job, while genlop seems to show 2 duplicate jobs about net-libs/webkit-gtk-2.42.1-r600 which would be bad.

As there is no real emerge monitor I checked
watch -d find /var/tmp/portage/ -mmin -1
and found
/var/tmp/portage/net-libs/webkit-gtk-2.42.1-r410...
and
/var/tmp/portage/net-libs/webkit-gtk-2.42.1-r600...

So it rather seems that emerge is working on 2 different slots and both qlop and genlop are wrong.

Reproducible: Always
Comment 1 Mike Gilbert gentoo-dev 2023-11-06 05:08:01 UTC
qlop an genlop are contained in separate packages maintained by different people. Please file separate bugs for issues with these tools.
Comment 2 Massimo Burcheri 2023-11-06 09:11:50 UTC
Ok. This bug should apply only for qlop from app-portage/portage-utils, while the new separate bug 916955 might apply for app-portage/genlop.
Comment 3 Fabian Groffen gentoo-dev 2023-11-06 10:02:45 UTC
not sure if this is fixable, because portage's logging is not allowing to see sessions

In any case, can you attach your logfile?
Comment 4 Massimo Burcheri 2023-11-06 10:36:55 UTC
Created attachment 874146 [details]
emerge.log

I can, if that helps.