Source: golang-github-newrelic-go-agent
Version: 3.42.0-2
Severity: important
Justification: fails autopkgtest on Debian CI infrastructure
Tags: forky sid
User: [email protected]
Usertags: lxc

Hi,

Debian CI is switching away from lxc containers in favor of incus Containers.
This is motivated by security concerns from us; incus is based on lxc, but
orchestrates containers substantially different: containers are not privileged
(so root in the container is not uid 0 outside of it, and incus imposes a
stricter isolation from the host system.

golang-github-newrelic-go-agent passes its tests under lxc, but fails under 
incus.
The relevant part of the failure is (hopefully):

> === RUN   
> TestAppProcess_ConnectChan_TraceObserverVariants/should_use_trace_observer_from_app_config_only
> --- FAIL: TestAppProcess_ConnectChan_TraceObserverVariants (0.20s)
>     --- PASS: 
> TestAppProcess_ConnectChan_TraceObserverVariants/should_use_trace_observer_from_app_config
>  (0.00s)
>     --- FAIL: 
> TestAppProcess_ConnectChan_TraceObserverVariants/should_use_trace_observer_from_run_config
>  (0.20s)
>     --- PASS: 
> TestAppProcess_ConnectChan_TraceObserverVariants/should_use_trace_observer_from_app_config_only
>  (0.00s)
[...]
> PASS
> ok    github.com/newrelic/go-agent/v3/newrelic/sqlparse       0.005s
> FAIL
> dh_auto_test: error: cd _build && go test -vet=off -v -p 48 
> github.com/newrelic/go-agent/v3/internal 
> github.com/newrelic/go-agent/v3/internal/awssupport 
> github.com/newrelic/go-agent/v3/internal/cat 
> github.com/newrelic/go-agent/v3/internal/com_newrelic_trace_v1 
> github.com/newrelic/go-agent/v3/internal/crossagent 
> github.com/newrelic/go-agent/v3/internal/jsonx 
> github.com/newrelic/go-agent/v3/internal/logcontext 
> github.com/newrelic/go-agent/v3/internal/logger 
> github.com/newrelic/go-agent/v3/internal/stacktracetest 
> github.com/newrelic/go-agent/v3/internal/sysinfo 
> github.com/newrelic/go-agent/v3/internal/utilization 
> github.com/newrelic/go-agent/v3/newrelic 
> github.com/newrelic/go-agent/v3/newrelic/integrationsupport 
> github.com/newrelic/go-agent/v3/newrelic/sqlparse returned exit code 1
> make: *** [debian/rules:9: build] Error 25
> autopkgtest [21:07:11]: test dh-golang-autopkgtest: -----------------------]
> dh-golang-autopkgtest FAIL non-zero exit status 2

These same tests seem to fail consistently (at least twice), so this
might be a different issue from #1102314.

The full autokpgtest logs are available at:
https://ci.debian.net/experiments/8/regressions/
(please beware of pagination)

Common types of failure and suggested fixes are being documented at:
https://wiki.debian.org/ContinuousIntegration/LxcToIncus

Note that for the time being, golang-github-newrelic-go-agent is still being 
tested under lxc to
avoid disturbing its testing migration test results.

If you decide to add the `isolation-machine` restriction to get this package
tested under qemu, please mention that explicitly when closing this bug (it's
fine to do that only in the package changelog entry that closes the bug) so
that we can configure your package for qemu on ci.debian.net.

Attachment: signature.asc
Description: PGP signature

Reply via email to