Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 926032 - net-analyzer/netdata-go-plugin-0.58.1 fails tests
Summary: net-analyzer/netdata-go-plugin-0.58.1 fails tests
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Petr Vaněk
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-03-02 13:25 UTC by Agostino Sarubbo
Modified: 2024-03-04 12:36 UTC (History)
0 users

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


Attachments
build.log.xz (build.log.xz,509.69 KB, application/x-xz)
2024-03-02 13:25 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 2024-03-02 13:25:42 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-analyzer/netdata-go-plugin-0.58.1 fails tests.
Discovered on: amd64 (internal ref: clang-lld_tinderbox)
System: CLANG-LLD (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CLANG-LLD)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-03-02 13:25:46 UTC
Created attachment 886529 [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 2024-03-02 13:25:47 UTC
Error(s) that match a know pattern:


        	Error:      	Should be true
FAIL
FAIL	github.com/netdata/go.d.plugin/modules/pulsar	0.067s
time=2024-03-02T13:51:45.456+01:00 level=warn msg="lstat not_exist: no such file or directory" plugin=go.d component=vnodes
time=2024-03-02T13:51:45.529+01:00 level=error msg="error on initializing client: error on creating TLS config: could not read certificate \"testdata/tls\": open testdata/tls: no such file or directory" plugin=go.d
time=2024-03-02T13:51:45.922+01:00 level=error msg="init HTTP client: error on creating TLS config: could not read certificate \"testdata/tls\": open testdata/tls: no such file or directory" plugin=go.d
time=2024-03-02T13:51:46.022+01:00 level=error msg="leases path check: open testdata/dnsmasq.leases!: no such file or directory" plugin=go.d
time=2024-03-02T13:51:46.024+01:00 level=error msg="open : no such file or directory" plugin=go.d
time=2024-03-02T13:51:46.078+01:00 level=error msg="client initialization: error on creating TLS config: could not read certificate \"testdata/tls\": open testdata/tls: no such file or directory" plugin=go.d
time=2024-03-02T13:51:46.081+01:00 level=error msg="error on request: Get \"https://hub.docker.com/v2/repositories/name1/repo1\": dial tcp: lookup hub.docker.com on 1.1.1.1:53: dial udp 1.1.1.1:53: connect: network is unreachable" plugin=go.d
time=2024-03-02T13:51:46.081+01:00 level=error msg="error on request: Get \"https://hub.docker.com/v2/repositories/name2/repo2\": dial tcp: lookup hub.docker.com on 1.1.1.1:53: dial udp 1.1.1.1:53: connect: network is unreachable" plugin=go.d
time=2024-03-02T13:51:46.081+01:00 level=error msg="error on request: Get \"https://hub.docker.com/v2/repositories/name3/repo3\": dial tcp: lookup hub.docker.com on 1.1.1.1:53: dial udp 1.1.1.1:53: connect: network is unreachable" plugin=go.d
time=2024-03-02T13:51:46.189+01:00 level=error msg="init HTTP client: error on creating TLS config: could not read certificate \"testdata/tls\": open testdata/tls: no such file or directory" plugin=go.d
time=2024-03-02T13:51:46.341+01:00 level=error msg="stat testdata/dhcpd.leases_not_exists: no such file or directory" plugin=go.d
time=2024-03-02T13:51:46.342+01:00 level=error msg="error on creating client : error on creating TLS config: could not read certificate \"testdata/tls\": open testdata/tls: no such file or directory" plugin=go.d
time=2024-03-02T13:51:46.342+01:00 level=error msg="error on creating http client: error on creating TLS config: could not read certificate \"testdata/tls\": open testdata/tls: no such file or directory" plugin=go.d
time=2024-03-02T13:51:46.342+01:00 level=error msg="stat testdata/dhcpd.leases_not_exists: no such file or directory" plugin=go.d
time=2024-03-02T13:51:46.342+01:00 level=warn msg="error on reading service account token from '/var/run/secrets/kubernetes.io/serviceaccount/token': open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory" plugin=go.d
time=2024-03-02T13:51:46.344+01:00 level=warn msg="error on reading service account token from '/var/run/secrets/kubernetes.io/serviceaccount/token': open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory" plugin=go.d
time=2024-03-02T13:51:46.346+01:00 level=warn msg="error on reading service account token from '/var/run/secrets/kubernetes.io/serviceaccount/token': open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory" plugin=go.d
time=2024-03-02T13:51:47.448+01:00 level=error msg="open testdata/v2.5.1/non-existent.txt: no such file or directory" plugin=go.d
time=2024-03-02T13:51:47.449+01:00 level=error msg="open testdata/v2.5.1/empty.txt: no such file or directory" plugin=go.d
time=2024-03-02T13:51:47.449+01:00 level=warn msg="error during reading '/etc/pihole/setupVars.conf' : open /etc/pihole/setupVars.conf: no such file or directory" plugin=go.d
time=2024-03-02T13:51:47.450+01:00 level=error msg="init redis client: could not read certificate \"testdata/tls\": open testdata/tls: no such file or directory" plugin=go.d
time=2024-03-02T13:51:47.450+01:00 level=error msg="open testdata/v2.5.1/non-existent.txt: no such file or directory" plugin=go.d
time=2024-03-02T13:51:47.451+01:00 level=warn msg="error during reading 'testdata/wrong.conf' : open testdata/wrong.conf: no such file or directory" plugin=go.d
time=2024-03-02T13:51:47.453+01:00 level=warn msg="error during reading 'testdata/wrong.conf' : open testdata/wrong.conf: no such file or directory" plugin=go.d
time=2024-03-02T13:51:48.035+01:00 level=error msg="init HTTP client: error on creating TLS config: could not read certificate \"testdata/tls\": open testdata/tls: no such file or directory" plugin=go.d
time=2024-03-02T13:51:48.062+01:00 level=error msg="init HTTP client: error on creating TLS config: could not read certificate \"testdata/tls\": open testdata/tls: no such file or directory" plugin=go.d
time=2024-03-02T13:51:48.194+01:00 level=error msg="client initializing: error on creating TLS config: could not read certificate \"testdata/tls\": open testdata/tls: no such file or directory" plugin=go.d
time=2024-03-02T13:51:48.194+01:00 level=error msg="error on creating ScaleIO client: error on creating TLS config: could not read certificate \"testdata/tls\": open testdata/tls: no such file or directory" plugin=go.d
time=2024-03-02T13:51:48.194+01:00 level=error msg="init redis client: could not read certificate \"testdata/tls\": open testdata/tls: no such file or directory" plugin=go.d
time=2024-03-02T13:51:48.196+01:00 level=warn msg="open testdata/unbound_non_existent.conf: no such file or directory, skipping parameters auto detection" plugin=go.d
time=2024-03-02T13:51:48.257+01:00 level=error msg="error on creating health client : error on creating TLS config: could not read certificate \"testdata/tls\": open testdata/tls: no such file or directoryc" plugin=go.d
time=2024-03-02T13:51:48.800+01:00 level=error msg="error on initializing client: error on creating TLS config: could not read certificate \"testdata/tls\": open testdata/tls: no such file or directory" plugin=go.d
time=2024-03-02T13:51:50.368+01:00 level=error msg="certificate provider init: create tls config: could not read certificate \"testdata/tls\": open testdata/tls: no such file or directory" plugin=go.d
time=2024-03-02T13:51:50.368+01:00 level=error msg="error on creating tls config : could not read certificate \"testdata/tls\": open testdata/tls: no such file or directory" plugin=go.d
time=2024-03-02T13:51:54.171+01:00 level=error msg="error on creating vsphere client: could not read certificate \"testdata/tls\": open testdata/tls: no such file or directory" plugin=go.d
time=2024-03-02T13:51:47.449+01:00 level=error msg="init database selector: parse matcher \"!@#\" error: invalid syntax" plugin=go.d
Comment 3 Petr Vaněk gentoo-dev 2024-03-03 22:12:24 UTC
This happens only with go-1.22.0. Reported upstream.
Comment 4 Petr Vaněk gentoo-dev 2024-03-04 12:36:48 UTC
Fixed in upstream.

I'm not convinced that it makes sense to backport the fix. Upstream merged the source code for this package directly to net-analyzer/netdata [1]. I guess net-analyzer/netdata-go-plugin will be most probably masked and treecleaned with next netdata release.

[1] https://github.com/netdata/netdata/pull/16997