Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 784704 - [guru] sys-apps/dool-0.8_pre20191010 fails tests
Summary: [guru] sys-apps/dool-0.8_pre20191010 fails tests
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Florian Schmaus
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-21 06:54 UTC by Agostino Sarubbo
Modified: 2021-05-03 17:43 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,15.91 KB, text/plain)
2021-04-21 06:54 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-04-21 06:54:38 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-apps/dool-0.8_pre20191010 fails tests.
Discovered on: amd64 (internal ref: guru_ci)
Comment 1 Agostino Sarubbo gentoo-dev 2021-04-21 06:54:40 UTC
Created attachment 701460 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-04-21 06:54:41 UTC
Possible context of error(s):

Module dool_battery_remain failed to load. ([Errno 2] No such file or directory: '/proc/acpi/battery/')
Module dool_ib failed to load. ([Errno 2] No such file or directory: '/sys/class/infiniband')
Module dool_power failed to load. ([Errno 2] No such file or directory: '/proc/acpi/battery/')
Comment 3 Agostino Sarubbo gentoo-dev 2021-04-22 17:06:13 UTC
Changing the Assignee as per https://archives.gentoo.org/gentoo-dev/message/74ee632e9fe2f4c12890524fec132205
Comment 4 Florian Schmaus gentoo-dev 2021-05-03 17:17:36 UTC
Is this a false positive? Sure, dool reports that certain /proc files (or python modules) can not be accessed, but the 'test' target does not error for me. Is it possible that the tinderbox also reports issues if the output matches certain strings, like "No such file or directory"?

I see these outputs to, but "ebuild dool-0.8_pre20191010.ebuild test" does not exit with an error code for me.
Comment 5 Florian Schmaus gentoo-dev 2021-05-03 17:19:29 UTC
Ahh, I am sorry, there is more in the build log.
Comment 6 Larry the Git Cow gentoo-dev 2021-05-03 17:43:15 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e9d4c62de50eb59dcd7c0f6aee4376e839af6e0c

commit e9d4c62de50eb59dcd7c0f6aee4376e839af6e0c
Author:     Florian Schmaus <flo@geekplace.eu>
AuthorDate: 2021-05-03 17:38:32 +0000
Commit:     Florian Schmaus <flo@geekplace.eu>
CommitDate: 2021-05-03 17:39:02 +0000

    sys-apps/dool: fix KeyError in dool_disk_avgqu.py
    
    Closes: https://bugs.gentoo.org/784704
    Signed-off-by: Florian Schmaus <flo@geekplace.eu>

 ...91010.ebuild => dool-0.8_pre20191010-r1.ebuild} |  4 ++
 sys-apps/dool/dool-9999.ebuild                     |  4 ++
 ...y-in-dool_disk_avgqu.py-to-avoid-KeyError.patch | 43 ++++++++++++++++++++++
 3 files changed, 51 insertions(+)