[pkg-go] Bug#835721: golang-github-spf13-pflag: FTBFS: dh_auto_test: go test -v -p 1 github.com/spf13/pflag returned exit code 1

Lucas Nussbaum lucas at debian.org
Sun Aug 28 10:24:24 UTC 2016


Source: golang-github-spf13-pflag
Version: 0.0~git20160427.0.cb88ea7-1
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20160828 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
>  debian/rules build
> dh build --buildsystem=golang --with=golang
>    dh_testdir -O--buildsystem=golang
>    dh_update_autotools_config -O--buildsystem=golang
>    dh_auto_configure -O--buildsystem=golang
>    dh_auto_build -O--buildsystem=golang
> 	go install -v -p 1 github.com/spf13/pflag
> github.com/spf13/pflag
>    dh_auto_test -O--buildsystem=golang
> 	go test -v -p 1 github.com/spf13/pflag
> === RUN   TestExplicitTrue
> --- PASS: TestExplicitTrue (0.00s)
> === RUN   TestImplicitTrue
> --- PASS: TestImplicitTrue (0.00s)
> === RUN   TestShortFlag
> --- PASS: TestShortFlag (0.00s)
> === RUN   TestShortFlagExtraArgument
> --- PASS: TestShortFlagExtraArgument (0.00s)
> === RUN   TestExplicitMaybe
> --- PASS: TestExplicitMaybe (0.00s)
> === RUN   TestExplicitFalse
> --- PASS: TestExplicitFalse (0.00s)
> === RUN   TestImplicitFalse
> --- PASS: TestImplicitFalse (0.00s)
> === RUN   TestInvalidValue
> --- PASS: TestInvalidValue (0.00s)
> === RUN   TestBoolP
> --- PASS: TestBoolP (0.00s)
> === RUN   TestCount
> --- PASS: TestCount (0.00s)
> === RUN   TestEverything
> --- PASS: TestEverything (0.00s)
> === RUN   TestUsage
> --- PASS: TestUsage (0.00s)
> === RUN   TestAddFlagSet
> --- PASS: TestAddFlagSet (0.00s)
> === RUN   TestAnnotation
> --- PASS: TestAnnotation (0.00s)
> === RUN   TestShorthand
> --- PASS: TestShorthand (0.00s)
> === RUN   TestParse
> --- PASS: TestParse (0.00s)
> === RUN   TestFlagSetParse
> --- PASS: TestFlagSetParse (0.00s)
> === RUN   TestChangedHelper
> --- PASS: TestChangedHelper (0.00s)
> === RUN   TestWordSepNormalizedNames
> --- PASS: TestWordSepNormalizedNames (0.00s)
> === RUN   TestCustomNormalizedNames
> --- PASS: TestCustomNormalizedNames (0.00s)
> === RUN   TestNormalizationFuncShouldChangeFlagName
> --- PASS: TestNormalizationFuncShouldChangeFlagName (0.00s)
> === RUN   TestUserDefined
> --- PASS: TestUserDefined (0.00s)
> === RUN   TestSetOutput
> --- PASS: TestSetOutput (0.00s)
> === RUN   TestChangingArgs
> --- PASS: TestChangingArgs (0.00s)
> === RUN   TestHelp
> --- PASS: TestHelp (0.00s)
> === RUN   TestNoInterspersed
> --- PASS: TestNoInterspersed (0.00s)
> === RUN   TestTermination
> --- PASS: TestTermination (0.00s)
> === RUN   TestDeprecatedFlagInDocs
> --- PASS: TestDeprecatedFlagInDocs (0.00s)
> === RUN   TestDeprecatedFlagShorthandInDocs
> --- PASS: TestDeprecatedFlagShorthandInDocs (0.00s)
> === RUN   TestDeprecatedFlagUsage
> --- PASS: TestDeprecatedFlagUsage (0.00s)
> === RUN   TestDeprecatedFlagShorthandUsage
> --- PASS: TestDeprecatedFlagShorthandUsage (0.00s)
> === RUN   TestDeprecatedFlagUsageNormalized
> --- PASS: TestDeprecatedFlagUsageNormalized (0.00s)
> === RUN   TestMultipleNormalizeFlagNameInvocations
> --- PASS: TestMultipleNormalizeFlagNameInvocations (0.00s)
> === RUN   TestHiddenFlagInUsage
> --- PASS: TestHiddenFlagInUsage (0.00s)
> === RUN   TestHiddenFlagUsage
> --- PASS: TestHiddenFlagUsage (0.00s)
> === RUN   TestPrintDefaults
> 
>       --A                    for bootstrapping, allow 'any' type
>       --Alongflagname        disable bounds checking
>   -C, --CCC                  a boolean defaulting to true (default true)
>       --D path               set relative path for local imports
>       --F number             a non-zero number (default 2.7)
>       --G float              a float that defaults to zero
>       --N int                a non-zero int (default 27)
>       --ND1 string[="bar"]   a string with NoOptDefVal (default "foo")
>       --ND2 num[=4321]       a num with NoOptDefVal (default 1234)
>       --Z int                an int that defaults to zero
>       --maxT timeout         set timeout for dial (default 0s)
> 
> 
>       --A                    for bootstrapping, allow 'any' type
>       --Alongflagname        disable bounds checking
>   -C, --CCC                  a boolean defaulting to true (default true)
>       --D path               set relative path for local imports
>       --F number             a non-zero number (default 2.7)
>       --G float              a float that defaults to zero
>       --N int                a non-zero int (default 27)
>       --ND1 string[="bar"]   a string with NoOptDefVal (default "foo")
>       --ND2 num[=4321]       a num with NoOptDefVal (default 1234)
>       --Z int                an int that defaults to zero
>       --maxT timeout         set timeout for dial
> 
> --- FAIL: TestPrintDefaults (0.00s)
> 	flag_test.go:911: got "      --A                    for bootstrapping, allow 'any' type\n      --Alongflagname        disable bounds checking\n  -C, --CCC                  a boolean defaulting to true (default true)\n      --D path               set relative path for local imports\n      --F number             a non-zero number (default 2.7)\n      --G float              a float that defaults to zero\n      --N int                a non-zero int (default 27)\n      --ND1 string[=\"bar\"]   a string with NoOptDefVal (default \"foo\")\n      --ND2 num[=4321]       a num with NoOptDefVal (default 1234)\n      --Z int                an int that defaults to zero\n      --maxT timeout         set timeout for dial (default 0s)\n" want "      --A                    for bootstrapping, allow 'any' type\n      --Alongflagname        disable bounds checking\n  -C, --CCC                  a boolean defaulting to true (default true)\n      --D path               set relative path for local imports\n      --F number             a non-zero number (default 2.7)\n      --G float              a float that defaults to zero\n      --N int                a non-zero int (default 27)\n      --ND1 string[=\"bar\"]   a string with NoOptDefVal (default \"foo\")\n      --ND2 num[=4321]       a num with NoOptDefVal (default 1234)\n      --Z int                an int that defaults to zero\n      --maxT timeout         set timeout for dial\n"
> === RUN   TestGoflags
> --- PASS: TestGoflags (0.00s)
> === RUN   TestEmptyIS
> --- PASS: TestEmptyIS (0.00s)
> === RUN   TestIS
> --- PASS: TestIS (0.00s)
> === RUN   TestISDefault
> --- PASS: TestISDefault (0.00s)
> === RUN   TestISWithDefault
> --- PASS: TestISWithDefault (0.00s)
> === RUN   TestISCalledTwice
> --- PASS: TestISCalledTwice (0.00s)
> === RUN   TestIP
> --- PASS: TestIP (0.00s)
> === RUN   TestIPNet
> --- PASS: TestIPNet (0.00s)
> === RUN   TestEmptySS
> --- PASS: TestEmptySS (0.00s)
> === RUN   TestSS
> --- PASS: TestSS (0.00s)
> === RUN   TestSSDefault
> --- PASS: TestSSDefault (0.00s)
> === RUN   TestSSWithDefault
> --- PASS: TestSSWithDefault (0.00s)
> === RUN   TestSSCalledTwice
> --- PASS: TestSSCalledTwice (0.00s)
> === RUN   TestSSWithComma
> --- PASS: TestSSWithComma (0.00s)
> FAIL
> exit status 1
> FAIL	github.com/spf13/pflag	0.005s
> dh_auto_test: go test -v -p 1 github.com/spf13/pflag returned exit code 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2016/08/28/golang-github-spf13-pflag_0.0~git20160427.0.cb88ea7-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Pkg-go-maintainers mailing list