[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#979583: golang-github-spf13-cobra: autopkgtest regression in testing: date of execution is capture in comparison



Source: golang-github-spf13-cobra
Version: 1.1.1-1
X-Debbugs-CC: debian-ci@lists.debian.org
Severity: serious
User: debian-ci@lists.debian.org
Usertags: regression

Dear maintainer(s),

With time moving the year to 2021, the autopkgtest of your package
started to fail. I copied some of the output at the bottom of this
report. Can you please investigate the situation and fix it?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

https://ci.debian.net/data/autopkgtest/testing/amd64/g/golang-github-spf13-cobra/9459756/log.gz

=== RUN   TestGoldenAddCmd
    add_test.go:26:
"/tmp/autopkgtest-lxc.0dv6r0gd/downtmp/autopkgtest_tmp/obj-x86_64-linux-gnu/src/github.com/spf13/cobra/cobra/cmd/testproject/cmd/test.go"
and "testdata/test.go.golden" are not equal!

        $ diff -u
/tmp/autopkgtest-lxc.0dv6r0gd/downtmp/autopkgtest_tmp/obj-x86_64-linux-gnu/src/github.com/spf13/cobra/cobra/cmd/testproject/cmd/test.go
testdata/test.go.golden
        ---
/tmp/autopkgtest-lxc.0dv6r0gd/downtmp/autopkgtest_tmp/obj-x86_64-linux-gnu/src/github.com/spf13/cobra/cobra/cmd/testproject/cmd/test.go
2021-01-06 19:13:34.418670146 +0000
        +++ testdata/test.go.golden	2020-10-24 09:28:37.000000000 +0000
        @@ -1,5 +1,5 @@
         /*
        -Copyright © 2021 NAME HERE <EMAIL ADDRESS>
        +Copyright © 2020 NAME HERE <EMAIL ADDRESS>

         Licensed under the Apache License, Version 2.0 (the "License");
         you may not use this file except in compliance with the License.

        exit status 1
--- FAIL: TestGoldenAddCmd (0.00s)

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: