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
Created attachment 886529 [details] build.log.xz build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
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
This happens only with go-1.22.0. Reported upstream.
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