Debian Patches

Status for golang-opentelemetry-contrib/0.56.0-5

Patch Description Author Forwarded Bugs Origin Last update
remove-comment-import.patch Fix import description Thomas Goirand <zigo@debian.org> no 2024-10-20
remove-privacy-breach.patch Remove privacy breach Thomas Goirand <zigo@debian.org> no 2022-10-26
0003-Fix-tests-with-go-1.24.patch Fix tests with go 1.24
This fixes the following test failure:

=== RUN TestSerializeJSON/valid_v0.2_config
config_test.go:483:
Error Trace: /<<PKGBUILDDIR>>/_build/src/go.opentelemetry.io/contrib/config/config_test.go:483
Error: Not equal:
expected: "json: cannot unmarshal object into Go struct field
LogRecordProcessor.logger_provider.processors.batch
of type []config.NameStringValuePair"
actual : "json: cannot unmarshal object into Go struct field
LogRecordProcessor.logger_provider.processors.batch.exporter.otlp.headers
of type []config.NameStringValuePair"

It seems go 1.24 changed the error messages of the encoding/json
package. Ideally the test would only assert the part of the message
produced by its own package, but it is easier to simply update it to
the current value in Debian.

As this package has been newly introduced in Debian, we do not try to
make it compatible with older versions of Go.
Nicolas Peugnet <nicolas@club1.fr> no 2025-03-04

All known versions for source package 'golang-opentelemetry-contrib'

Links