Bug#1021583: golang-gitlab-gitlab-org-labkit: FTBFS (test failure): gitlab.com/gitlab-org/labkit/metrics/http_round_tripper

2023-06-11 Thread Pirate Praveen

Control: fixed -1 1.17.0-1

On Tue, 11 Oct 2022 13:24:32 +0200 Cyril Brulebois  
wrote:

> Source: golang-gitlab-gitlab-org-labkit
> Version: 1.16.0-1
> Severity: serious
> Justification: FTBFS
>
> Hi,
>
> While preparing an update for the golang-github-gin-gonic-gin 
package,

> I noticed golang-gitlab-gitlab-org-labkit FTBFSes within unstable
> (with or without the updated golang-github-gin-gonic-gin package).
>

1.17.0-1 in experimental builds fine. I'm reuploading it to unstable.



Bug#1021583: golang-gitlab-gitlab-org-labkit: FTBFS (test failure): gitlab.com/gitlab-org/labkit/metrics/http_round_tripper

2022-10-11 Thread Cyril Brulebois
Source: golang-gitlab-gitlab-org-labkit
Version: 1.16.0-1
Severity: serious
Justification: FTBFS

Hi,

While preparing an update for the golang-github-gin-gonic-gin package,
I noticed golang-gitlab-gitlab-org-labkit FTBFSes within unstable
(with or without the updated golang-github-gin-gonic-gin package).

There's apparently a single test failing:

=== RUN   TestNewFactory
http_round_tripper_test.go:57: 
Error Trace:
/build/golang-gitlab-gitlab-org-labkit-1.16.0/_build/src/gitlab.com/gitlab-org/labkit/metrics/http_round_tripper/http_round_tripper_test.go:57
Error:  Received unexpected error:


Diff:
--- metric output does not match expectation; 
want
+++ got:
@@ -5,3 +5,3 @@
 # TYPE namespace_http_requests_total counter

-namespace_http_requests_total{code="200",label1="1",label2="1",method="get"} 1

+namespace_http_requests_total{code="200",label1="1",label2="1",method="get"} 2
 
Test:   TestNewFactory
--- FAIL: TestNewFactory (0.00s)
FAIL
FAILgitlab.com/gitlab-org/labkit/metrics/http_round_tripper 0.005s

I'm attaching a full build log (under pbuilder), best viewed with -R
due to ANSI sequences…


Cheers,
-- 
Cyril Brulebois -- Debian Consultant @ DEBAMAX -- https://debamax.com/
I: Copying COW directory
I: forking: rm -rf /var/cache/pbuilder/build/cow.430463
I: forking: cp -al /var/cache/pbuilder/base.cow 
/var/cache/pbuilder/build/cow.430463
I: removed stale ilistfile /var/cache/pbuilder/build/cow.430463/.ilist
I: forking: chroot /var/cache/pbuilder/build/cow.430463 cowdancer-ilistcreate 
/.ilist 'find . -xdev -path ./home -prune -o \( \( -type l -o -type f \) -a 
-links +1 -print0 \) | xargs -0 stat --format '%d %i ''
I: Invoking pbuilder
I: forking: pbuilder build --buildplace /var/cache/pbuilder/build/cow.430463 
--buildresult /var/cache/pbuilder/result/ --mirror http://debian.home/debian 
--distribution sid --no-targz --internal-chrootexec 'chroot 
/var/cache/pbuilder/build/cow.430463 cow-shell' 
/home/kibi/work/clients/crowdsec/git/salsa/golang-gitlab-gitlab-org-labkit_1.16.0-1.dsc
W: /root/.pbuilderrc does not exist
I: Running in no-targz mode
I: pbuilder: network access will be disabled during build
I: Current time: Tue Oct 11 11:22:53 UTC 2022
I: pbuilder-time-stamp: 1665487373
I: copying local configuration
W: --override-config is not set; not updating apt.conf Read the manpage 
for details.
I: mounting /proc filesystem
I: mounting /sys filesystem
I: creating /{dev,run}/shm
I: mounting /dev/pts filesystem
I: redirecting /dev/ptmx to /dev/pts/ptmx
I: policy-rc.d already exists
I: Obtaining the cached apt archive contents
I: Copying source file
I: copying 
[/home/kibi/work/clients/crowdsec/git/salsa/golang-gitlab-gitlab-org-labkit_1.16.0-1.dsc]
I: copying 
[/home/kibi/work/clients/crowdsec/git/salsa/golang-gitlab-gitlab-org-labkit_1.16.0.orig.tar.gz]
I: copying 
[/home/kibi/work/clients/crowdsec/git/salsa/golang-gitlab-gitlab-org-labkit_1.16.0-1.debian.tar.xz]
I: Extracting source
dpkg-source: warning: extracting unsigned source package 
(golang-gitlab-gitlab-org-labkit_1.16.0-1.dsc)
dpkg-source: info: extracting golang-gitlab-gitlab-org-labkit in 
golang-gitlab-gitlab-org-labkit-1.16.0
dpkg-source: info: unpacking golang-gitlab-gitlab-org-labkit_1.16.0.orig.tar.gz
dpkg-source: info: unpacking 
golang-gitlab-gitlab-org-labkit_1.16.0-1.debian.tar.xz
I: Not using root during the build.
I: Installing the build-deps
 -> Attempting to satisfy build-dependencies
 -> Creating pbuilder-satisfydepends-dummy package
Package: pbuilder-satisfydepends-dummy
Version: 0.invalid.0
Architecture: amd64
Maintainer: Debian Pbuilder Team 
Description: Dummy package to satisfy dependencies with aptitude - created by 
pbuilder
 This package was created automatically by pbuilder to satisfy the
 build-dependencies of the package being currently built.
Depends: debhelper-compat (= 13), dh-golang, golang-any (>= 2:1.18~), 
golang-github-client9-reopen-dev, golang-github-getsentry-raven-go-dev, 
golang-github-getsentry-sentry-go-dev, 
golang-github-grpc-ecosystem-go-grpc-middleware-dev, 
golang-github-oklog-ulid-dev (>= 2.0~), 
golang-github-opentracing-opentracing-go-dev, 
golang-github-prometheus-client-model-dev, golang-github-sebest-xff-dev, 
golang-github-stretchr-testify-dev (>= 1.6~), golang-google-grpc-dev (<< 
1.38~), golang-logrus-dev, golang-prometheus-client-dev
dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in