Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 720416 - sys-process/glances fails tests
Summary: sys-process/glances fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Georgy Yakovlev
URL: https://github.com/nicolargo/glances/...
Whiteboard:
Keywords:
Depends on:
Blocks: 720368
  Show dependency tree
 
Reported: 2020-05-02 10:12 UTC by Agostino Sarubbo
Modified: 2020-06-05 09:18 UTC (History)
0 users

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


Attachments
build.log (build.log,59.47 KB, text/plain)
2020-05-02 10:12 UTC, Agostino Sarubbo
Details
glances-3.1.4.1:20200502-101154.log (glances-3.1.4.1:20200502-101154.log,50.48 KB, text/plain)
2020-05-02 10:13 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 2020-05-02 10:12:49 UTC
This is an auto-filled bug because sys-process/glances fails tests.
The issue was originally discovered on amd64, but it may be reproducible on other arches as well.
If you think that a different summary clarifies the issue better, feel free to change it.
Attached build log and emerge --info.
Comment 1 Agostino Sarubbo gentoo-dev 2020-05-02 10:12:55 UTC
Created attachment 635656 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-05-02 10:13:34 UTC
Created attachment 635658 [details]
glances-3.1.4.1:20200502-101154.log

this is on x86
Comment 3 Georgy Yakovlev archtester gentoo-dev 2020-05-02 18:22:57 UTC
this is a non-critical test failure.

happens if irq plugin does not load,
which may happen if you already have glances installed and it reads /etc/glances/glances.conf, which disables IRQ plugin by default in latest version.


tests pass if you don't have latest glances installed.
but fail if you have 3.1.4+ installed and /etc/glances/glances.conf is present


please do not block stabilization because of it. I'll  commit a quick fix disabling checking for this plugin meanwhile
Comment 4 Georgy Yakovlev archtester gentoo-dev 2020-05-02 18:28:04 UTC
also that plugin does not load in a container, or if /proc/interrupts is not readable, also can affect tests, so I've disabled checking for this plugin.
Comment 5 Larry the Git Cow gentoo-dev 2020-05-02 18:30:44 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb7bdeaf1cb66e5988f1ae0cd869c3dbc614f2b8

commit bb7bdeaf1cb66e5988f1ae0cd869c3dbc614f2b8
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2020-05-02 18:28:38 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2020-05-02 18:29:05 +0000

    sys-process/glances: disable checking for irq plugin during tests
    
    it may be not loaded and test will fail
    
    Bug: https://bugs.gentoo.org/720416
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 sys-process/glances/glances-3.1.4.1.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
Comment 6 Georgy Yakovlev archtester gentoo-dev 2020-06-05 09:18:08 UTC
it's fixed in the tree an upstream for future releases