Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 775011 - net-analyzer/zabbix-5.2.6 fails tests
Summary: net-analyzer/zabbix-5.2.6 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Miroslav Šulc
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 777855
  Show dependency tree
 
Reported: 2021-03-09 10:39 UTC by Agostino Sarubbo
Modified: 2021-06-30 11:00 UTC (History)
2 users (show)

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


Attachments
build.log.xz (build.log.xz,104.93 KB, application/x-xz)
2021-03-09 10:39 UTC, Agostino Sarubbo
Details
make check output for zabbix 5.2.5 (zabbix_5.2.5_check_output,11.91 KB, text/plain)
2021-03-09 18:42 UTC, Vladimir Timofeenko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-03-09 10:39:44 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-analyzer/zabbix-5.2.5-r1 fails tests.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2021-03-09 10:39:48 UTC
Created attachment 690180 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2021-03-09 10:39:50 UTC
Possible context of error(s):

go: cannot find main module; see 'go help modules'
2021/03/09 09:19:05.283223 [0] cache is full and cannot cannot find a value to replace, adding new instead
2021/03/09 09:19:05.283265 [0] cache is full and cannot cannot find a value to replace, adding new instead
    conf_test.go:162: Returned error: Cannot assign configuration: cannot find mandatory parameter Text
2021/03/09 09:19:05.217205 deactivate exporter task for item 1 because of error: Invalid update interval "xyz".
Comment 3 Vladimir Timofeenko 2021-03-09 18:25:50 UTC
Looks like there are failing tests upstream. I can replicate this by running commands manually (without portage):

> make check
...
--- FAIL: TestPassiveRunner (0.01s)
    manager_test.go:234: starting time Mar  9 10:21:50
    manager_test.go:396: Plugin debug1:$start: no matching timestamp for offset 1
    manager_test.go:396: Plugin debug2:$start: no matching timestamp for offset 1
    manager_test.go:396: Plugin debug3:$start: no matching timestamp for offset 1
    manager_test.go:396: Plugin debug3:$stop: no matching timestamp for offset 93601
    manager_test.go:396: Plugin debug2:$stop: no matching timestamp for offset 183601
...
FAIL
FAIL    zabbix.com/internal/agent/scheduler     0.028s
...
--- FAIL: TestFileExists (0.00s)
    exists_test.go:44: vfs.file.exists returned invalid result
FAIL
FAIL    zabbix.com/plugins/vfs/file     0.006s
...
Comment 4 Vladimir Timofeenko 2021-03-09 18:41:46 UTC
I tried commenting out some of the tests, but this part is weird:

    manager_test.go:396: Plugin debug1:$start: no matching timestamp for offset 1
    manager_test.go:396: Plugin debug2:$start: no matching timestamp for offset 1
    manager_test.go:396: Plugin debug3:$start: no matching timestamp for offset 1
    manager_test.go:396: Plugin debug3:$stop: no matching timestamp for offset 93601
    manager_test.go:396: Plugin debug2:$stop: no matching timestamp for offset 183601

These errors are preceded by messages like:

cannot monitor metric "debug1": The "debug1" key is not supported in test or single passive check mode

As if the metrics that are being tested are not supported in test mode?
Comment 5 Vladimir Timofeenko 2021-03-09 18:42:12 UTC
Created attachment 690303 [details]
make check output for zabbix 5.2.5
Comment 6 Thomas Deutschmann (RETIRED) gentoo-dev 2021-03-30 14:01:03 UTC
Also failing tests for x86.
Comment 7 Larry the Git Cow gentoo-dev 2021-06-30 11:00:09 UTC
The bug has been closed via the following commit(s):

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

commit 255eb48f0fa1ecf60e08194146046bd91dd01d26
Author:     Miroslav Šulc <fordfrog@gentoo.org>
AuthorDate: 2021-06-30 10:59:47 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2021-06-30 11:00:03 +0000

    net-analyzer/zabbix: tests disabled
    
    upstream tests fail so disabling them for now
    
    Closes: https://bugs.gentoo.org/775011
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 net-analyzer/zabbix/zabbix-5.0.12-r1.ebuild | 3 +++
 net-analyzer/zabbix/zabbix-5.2.6-r1.ebuild  | 3 +++
 net-analyzer/zabbix/zabbix-5.4.1-r1.ebuild  | 3 +++
 3 files changed, 9 insertions(+)