On Tue, 26 Sep 2017 18:05:49 +0300 Adrian Bunk <b...@debian.org> wrote:
> Source: golang-github-gin-gonic-gin
> Version: 1.2+dfsg1-2
> Severity: serious
>
> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/golang-github-gin-gonic-gin.html
>
> ...
> === RUN   TestPanicInHandler
> --- FAIL: TestPanicInHandler (0.00s)
> assertions.go:239:
>
> Error Trace: recovery_test.go:28
>

I assume this is a random failed test, since I can't reproduce it
locally. And ci.d.n doesn't fail either.

I checked the test env, I see the obvious difference is
tests.reproducible-builds.org has 8 cores, and the test run with `-p
8`. And my local test machine and ci.d.n both have 2 cores.
However I don't have env to confirm it.

IMHO, the error is trigger by the following code,
https://github.com/gin-gonic/gin/blob/v1.2/recovery.go#L64-L67

```
data, err := ioutil.ReadFile(file)
if err != nil {
continue
}
```
it will skip write some expected info when it reads files failed.

_______________________________________________
Pkg-go-maintainers mailing list
Pkg-go-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers

Reply via email to