[pkg-go] Bug#855906: golang-codegangsta-cli: FTBFS: FAIL: TestCommandYamlFileTestDefaultValueFileWins (0.00s) helpers_test.go:10: Expected 15 (type int) - Got 7 (type int)

Chris Lamb lamby at debian.org
Thu Feb 23 08:57:24 UTC 2017


Source: golang-codegangsta-cli
Version: 1.18.0-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Dear Maintainer,

golang-codegangsta-cli fails to build from source in unstable/amd64:

  […]

  --- PASS: TestHandleAction_WithInvalidFuncSignature (0.00s)
  === RUN   TestHandleAction_WithInvalidFuncReturnSignature
  --- PASS: TestHandleAction_WithInvalidFuncReturnSignature (0.00s)
  === RUN   TestHandleAction_WithUnknownPanic
  --- PASS: TestHandleAction_WithUnknownPanic (0.00s)
  === RUN   TestCommandFlagParsing
  --- PASS: TestCommandFlagParsing (0.00s)
  === RUN   TestCommand_Run_DoesNotOverwriteErrorFromBefore
  before error
  
  NAME:
     cli.test bar - 
  
  USAGE:
     cli.test bar [arguments...]
  --- PASS: TestCommand_Run_DoesNotOverwriteErrorFromBefore (0.00s)
  === RUN   TestCommand_OnUsageError_WithWrongFlagValue
  --- PASS: TestCommand_OnUsageError_WithWrongFlagValue (0.00s)
  === RUN   TestNewContext
  --- PASS: TestNewContext (0.00s)
  === RUN   TestContext_Int
  --- PASS: TestContext_Int (0.00s)
  === RUN   TestContext_Int64
  --- PASS: TestContext_Int64 (0.00s)
  === RUN   TestContext_Uint
  --- PASS: TestContext_Uint (0.00s)
  === RUN   TestContext_Uint64
  --- PASS: TestContext_Uint64 (0.00s)
  === RUN   TestContext_GlobalInt
  --- PASS: TestContext_GlobalInt (0.00s)
  === RUN   TestContext_GlobalInt64
  --- PASS: TestContext_GlobalInt64 (0.00s)
  === RUN   TestContext_Float64
  --- PASS: TestContext_Float64 (0.00s)
  === RUN   TestContext_GlobalFloat64
  --- PASS: TestContext_GlobalFloat64 (0.00s)
  === RUN   TestContext_Duration
  --- PASS: TestContext_Duration (0.00s)
  === RUN   TestContext_String
  --- PASS: TestContext_String (0.00s)
  === RUN   TestContext_Bool
  --- PASS: TestContext_Bool (0.00s)
  === RUN   TestContext_BoolT
  --- PASS: TestContext_BoolT (0.00s)
  === RUN   TestContext_GlobalBool
  --- PASS: TestContext_GlobalBool (0.00s)
  === RUN   TestContext_GlobalBoolT
  --- PASS: TestContext_GlobalBoolT (0.00s)
  === RUN   TestContext_Args
  --- PASS: TestContext_Args (0.00s)
  === RUN   TestContext_NArg
  --- PASS: TestContext_NArg (0.00s)
  === RUN   TestContext_IsSet
  --- PASS: TestContext_IsSet (0.00s)
  === RUN   TestContext_GlobalIsSet
  --- PASS: TestContext_GlobalIsSet (0.00s)
  === RUN   TestContext_NumFlags
  --- PASS: TestContext_NumFlags (0.00s)
  === RUN   TestContext_GlobalFlag
  --- PASS: TestContext_GlobalFlag (0.00s)
  === RUN   TestContext_GlobalFlagsInSubcommands
  --- PASS: TestContext_GlobalFlagsInSubcommands (0.00s)
  === RUN   TestContext_Set
  --- PASS: TestContext_Set (0.00s)
  === RUN   TestContext_GlobalSet
  --- PASS: TestContext_GlobalSet (0.00s)
  === RUN   TestHandleExitCoder_nil
  --- PASS: TestHandleExitCoder_nil (0.00s)
  === RUN   TestHandleExitCoder_ExitCoder
  galactic perimeter breach
  --- PASS: TestHandleExitCoder_ExitCoder (0.00s)
  === RUN   TestHandleExitCoder_MultiErrorWithExitCoder
  galactic perimeter breach
  --- PASS: TestHandleExitCoder_MultiErrorWithExitCoder (0.00s)
  === RUN   TestBoolFlagHelpOutput
  --- PASS: TestBoolFlagHelpOutput (0.00s)
  === RUN   TestStringFlagHelpOutput
  --- PASS: TestStringFlagHelpOutput (0.00s)
  === RUN   TestStringFlagWithEnvVarHelpOutput
  --- PASS: TestStringFlagWithEnvVarHelpOutput (0.00s)
  === RUN   TestStringSliceFlagHelpOutput
  --- PASS: TestStringSliceFlagHelpOutput (0.00s)
  === RUN   TestStringSliceFlagWithEnvVarHelpOutput
  --- PASS: TestStringSliceFlagWithEnvVarHelpOutput (0.00s)
  === RUN   TestIntFlagHelpOutput
  --- PASS: TestIntFlagHelpOutput (0.00s)
  === RUN   TestIntFlagWithEnvVarHelpOutput
  --- PASS: TestIntFlagWithEnvVarHelpOutput (0.00s)
  === RUN   TestInt64FlagHelpOutput
  --- PASS: TestInt64FlagHelpOutput (0.00s)
  === RUN   TestInt64FlagWithEnvVarHelpOutput
  --- PASS: TestInt64FlagWithEnvVarHelpOutput (0.00s)
  === RUN   TestUintFlagHelpOutput
  --- PASS: TestUintFlagHelpOutput (0.00s)
  === RUN   TestUintFlagWithEnvVarHelpOutput
  --- PASS: TestUintFlagWithEnvVarHelpOutput (0.00s)
  === RUN   TestUint64FlagHelpOutput
  --- PASS: TestUint64FlagHelpOutput (0.00s)
  === RUN   TestUint64FlagWithEnvVarHelpOutput
  --- PASS: TestUint64FlagWithEnvVarHelpOutput (0.00s)
  === RUN   TestDurationFlagHelpOutput
  --- PASS: TestDurationFlagHelpOutput (0.00s)
  === RUN   TestDurationFlagWithEnvVarHelpOutput
  --- PASS: TestDurationFlagWithEnvVarHelpOutput (0.00s)
  === RUN   TestIntSliceFlagHelpOutput
  --- PASS: TestIntSliceFlagHelpOutput (0.00s)
  === RUN   TestIntSliceFlagWithEnvVarHelpOutput
  --- PASS: TestIntSliceFlagWithEnvVarHelpOutput (0.00s)
  === RUN   TestInt64SliceFlagHelpOutput
  --- PASS: TestInt64SliceFlagHelpOutput (0.00s)
  === RUN   TestInt64SliceFlagWithEnvVarHelpOutput
  --- PASS: TestInt64SliceFlagWithEnvVarHelpOutput (0.00s)
  === RUN   TestFloat64FlagHelpOutput
  --- PASS: TestFloat64FlagHelpOutput (0.00s)
  === RUN   TestFloat64FlagWithEnvVarHelpOutput
  --- PASS: TestFloat64FlagWithEnvVarHelpOutput (0.00s)
  === RUN   TestGenericFlagHelpOutput
  --- PASS: TestGenericFlagHelpOutput (0.00s)
  === RUN   TestGenericFlagWithEnvVarHelpOutput
  --- PASS: TestGenericFlagWithEnvVarHelpOutput (0.00s)
  === RUN   TestParseMultiString
  --- PASS: TestParseMultiString (0.00s)
  === RUN   TestParseDestinationString
  --- PASS: TestParseDestinationString (0.00s)
  === RUN   TestParseMultiStringFromEnv
  --- PASS: TestParseMultiStringFromEnv (0.00s)
  === RUN   TestParseMultiStringFromEnvCascade
  --- PASS: TestParseMultiStringFromEnvCascade (0.00s)
  === RUN   TestParseMultiStringSlice
  --- PASS: TestParseMultiStringSlice (0.00s)
  === RUN   TestParseMultiStringSliceFromEnv
  --- PASS: TestParseMultiStringSliceFromEnv (0.00s)
  === RUN   TestParseMultiStringSliceFromEnvCascade
  --- PASS: TestParseMultiStringSliceFromEnvCascade (0.00s)
  === RUN   TestParseMultiInt
  --- PASS: TestParseMultiInt (0.00s)
  === RUN   TestParseDestinationInt
  --- PASS: TestParseDestinationInt (0.00s)
  === RUN   TestParseMultiIntFromEnv
  --- PASS: TestParseMultiIntFromEnv (0.00s)
  === RUN   TestParseMultiIntFromEnvCascade
  --- PASS: TestParseMultiIntFromEnvCascade (0.00s)
  === RUN   TestParseMultiIntSlice
  --- PASS: TestParseMultiIntSlice (0.00s)
  === RUN   TestParseMultiIntSliceFromEnv
  --- PASS: TestParseMultiIntSliceFromEnv (0.00s)
  === RUN   TestParseMultiIntSliceFromEnvCascade
  --- PASS: TestParseMultiIntSliceFromEnvCascade (0.00s)
  === RUN   TestParseMultiInt64Slice
  --- PASS: TestParseMultiInt64Slice (0.00s)
  === RUN   TestParseMultiInt64SliceFromEnv
  --- PASS: TestParseMultiInt64SliceFromEnv (0.00s)
  === RUN   TestParseMultiInt64SliceFromEnvCascade
  --- PASS: TestParseMultiInt64SliceFromEnvCascade (0.00s)
  === RUN   TestParseMultiFloat64
  --- PASS: TestParseMultiFloat64 (0.00s)
  === RUN   TestParseDestinationFloat64
  --- PASS: TestParseDestinationFloat64 (0.00s)
  === RUN   TestParseMultiFloat64FromEnv
  --- PASS: TestParseMultiFloat64FromEnv (0.00s)
  === RUN   TestParseMultiFloat64FromEnvCascade
  --- PASS: TestParseMultiFloat64FromEnvCascade (0.00s)
  === RUN   TestParseMultiBool
  --- PASS: TestParseMultiBool (0.00s)
  === RUN   TestParseDestinationBool
  --- PASS: TestParseDestinationBool (0.00s)
  === RUN   TestParseMultiBoolFromEnv
  --- PASS: TestParseMultiBoolFromEnv (0.00s)
  === RUN   TestParseMultiBoolFromEnvCascade
  --- PASS: TestParseMultiBoolFromEnvCascade (0.00s)
  === RUN   TestParseMultiBoolT
  --- PASS: TestParseMultiBoolT (0.00s)
  === RUN   TestParseDestinationBoolT
  --- PASS: TestParseDestinationBoolT (0.00s)
  === RUN   TestParseMultiBoolTFromEnv
  --- PASS: TestParseMultiBoolTFromEnv (0.00s)
  === RUN   TestParseMultiBoolTFromEnvCascade
  --- PASS: TestParseMultiBoolTFromEnvCascade (0.00s)
  === RUN   TestParseGeneric
  --- PASS: TestParseGeneric (0.00s)
  === RUN   TestParseGenericFromEnv
  --- PASS: TestParseGenericFromEnv (0.00s)
  === RUN   TestParseGenericFromEnvCascade
  --- PASS: TestParseGenericFromEnvCascade (0.00s)
  === RUN   Test_ShowAppHelp_NoAuthor
  --- PASS: Test_ShowAppHelp_NoAuthor (0.00s)
  === RUN   Test_ShowAppHelp_NoVersion
  --- PASS: Test_ShowAppHelp_NoVersion (0.00s)
  === RUN   Test_ShowAppHelp_HideVersion
  --- PASS: Test_ShowAppHelp_HideVersion (0.00s)
  === RUN   Test_Help_Custom_Flags
  --- PASS: Test_Help_Custom_Flags (0.00s)
  === RUN   Test_Version_Custom_Flags
  --- PASS: Test_Version_Custom_Flags (0.00s)
  === RUN   Test_helpCommand_Action_ErrorIfNoTopic
  --- PASS: Test_helpCommand_Action_ErrorIfNoTopic (0.00s)
  === RUN   Test_helpCommand_InHelpOutput
  --- PASS: Test_helpCommand_InHelpOutput (0.00s)
  === RUN   Test_helpSubcommand_Action_ErrorIfNoTopic
  --- PASS: Test_helpSubcommand_Action_ErrorIfNoTopic (0.00s)
  === RUN   TestShowAppHelp_CommandAliases
  --- PASS: TestShowAppHelp_CommandAliases (0.00s)
  === RUN   TestShowCommandHelp_CommandAliases
  --- PASS: TestShowCommandHelp_CommandAliases (0.00s)
  === RUN   TestShowSubcommandHelp_CommandAliases
  --- PASS: TestShowSubcommandHelp_CommandAliases (0.00s)
  === RUN   TestShowAppHelp_HiddenCommand
  --- PASS: TestShowAppHelp_HiddenCommand (0.00s)
  === RUN   ExampleApp_Run
  --- PASS: ExampleApp_Run (0.00s)
  === RUN   ExampleApp_Run_subcommand
  --- PASS: ExampleApp_Run_subcommand (0.00s)
  === RUN   ExampleApp_Run_help
  --- PASS: ExampleApp_Run_help (0.00s)
  === RUN   ExampleApp_Run_bashComplete
  --- PASS: ExampleApp_Run_bashComplete (0.00s)
  PASS
  ok  	github.com/codegangsta/cli	0.016s
  === RUN   TestGenericApplyInputSourceValue
  --- PASS: TestGenericApplyInputSourceValue (0.00s)
  === RUN   TestGenericApplyInputSourceMethodContextSet
  --- PASS: TestGenericApplyInputSourceMethodContextSet (0.00s)
  === RUN   TestGenericApplyInputSourceMethodEnvVarSet
  --- PASS: TestGenericApplyInputSourceMethodEnvVarSet (0.00s)
  === RUN   TestStringSliceApplyInputSourceValue
  --- PASS: TestStringSliceApplyInputSourceValue (0.00s)
  === RUN   TestStringSliceApplyInputSourceMethodContextSet
  --- PASS: TestStringSliceApplyInputSourceMethodContextSet (0.00s)
  === RUN   TestStringSliceApplyInputSourceMethodEnvVarSet
  --- PASS: TestStringSliceApplyInputSourceMethodEnvVarSet (0.00s)
  === RUN   TestIntSliceApplyInputSourceValue
  --- PASS: TestIntSliceApplyInputSourceValue (0.00s)
  === RUN   TestIntSliceApplyInputSourceMethodContextSet
  --- PASS: TestIntSliceApplyInputSourceMethodContextSet (0.00s)
  === RUN   TestIntSliceApplyInputSourceMethodEnvVarSet
  --- PASS: TestIntSliceApplyInputSourceMethodEnvVarSet (0.00s)
  === RUN   TestBoolApplyInputSourceMethodSet
  --- PASS: TestBoolApplyInputSourceMethodSet (0.00s)
  === RUN   TestBoolApplyInputSourceMethodContextSet
  --- PASS: TestBoolApplyInputSourceMethodContextSet (0.00s)
  === RUN   TestBoolApplyInputSourceMethodEnvVarSet
  --- PASS: TestBoolApplyInputSourceMethodEnvVarSet (0.00s)
  === RUN   TestBoolTApplyInputSourceMethodSet
  --- PASS: TestBoolTApplyInputSourceMethodSet (0.00s)
  === RUN   TestBoolTApplyInputSourceMethodContextSet
  --- PASS: TestBoolTApplyInputSourceMethodContextSet (0.00s)
  === RUN   TestBoolTApplyInputSourceMethodEnvVarSet
  --- PASS: TestBoolTApplyInputSourceMethodEnvVarSet (0.00s)
  === RUN   TestStringApplyInputSourceMethodSet
  --- PASS: TestStringApplyInputSourceMethodSet (0.00s)
  === RUN   TestStringApplyInputSourceMethodContextSet
  --- PASS: TestStringApplyInputSourceMethodContextSet (0.00s)
  === RUN   TestStringApplyInputSourceMethodEnvVarSet
  --- PASS: TestStringApplyInputSourceMethodEnvVarSet (0.00s)
  === RUN   TestIntApplyInputSourceMethodSet
  --- PASS: TestIntApplyInputSourceMethodSet (0.00s)
  === RUN   TestIntApplyInputSourceMethodContextSet
  --- PASS: TestIntApplyInputSourceMethodContextSet (0.00s)
  === RUN   TestIntApplyInputSourceMethodEnvVarSet
  --- PASS: TestIntApplyInputSourceMethodEnvVarSet (0.00s)
  === RUN   TestDurationApplyInputSourceMethodSet
  --- PASS: TestDurationApplyInputSourceMethodSet (0.00s)
  === RUN   TestDurationApplyInputSourceMethodContextSet
  --- PASS: TestDurationApplyInputSourceMethodContextSet (0.00s)
  === RUN   TestDurationApplyInputSourceMethodEnvVarSet
  --- PASS: TestDurationApplyInputSourceMethodEnvVarSet (0.00s)
  === RUN   TestFloat64ApplyInputSourceMethodSet
  --- PASS: TestFloat64ApplyInputSourceMethodSet (0.00s)
  === RUN   TestFloat64ApplyInputSourceMethodContextSet
  --- PASS: TestFloat64ApplyInputSourceMethodContextSet (0.00s)
  === RUN   TestFloat64ApplyInputSourceMethodEnvVarSet
  --- PASS: TestFloat64ApplyInputSourceMethodEnvVarSet (0.00s)
  === RUN   TestCommandYamlFileTest
  --- FAIL: TestCommandYamlFileTest (0.00s)
  	helpers_test.go:10: Expected 15 (type int) - Got 0 (type int)
  === RUN   TestCommandYamlFileTestGlobalEnvVarWins
  --- PASS: TestCommandYamlFileTestGlobalEnvVarWins (0.00s)
  === RUN   TestCommandYamlFileTestGlobalEnvVarWinsNested
  --- PASS: TestCommandYamlFileTestGlobalEnvVarWinsNested (0.00s)
  === RUN   TestCommandYamlFileTestSpecifiedFlagWins
  --- PASS: TestCommandYamlFileTestSpecifiedFlagWins (0.00s)
  === RUN   TestCommandYamlFileTestSpecifiedFlagWinsNested
  --- PASS: TestCommandYamlFileTestSpecifiedFlagWinsNested (0.00s)
  === RUN   TestCommandYamlFileTestDefaultValueFileWins
  --- FAIL: TestCommandYamlFileTestDefaultValueFileWins (0.00s)
  	helpers_test.go:10: Expected 15 (type int) - Got 7 (type int)
  === RUN   TestCommandYamlFileTestDefaultValueFileWinsNested
  --- FAIL: TestCommandYamlFileTestDefaultValueFileWinsNested (0.00s)
  	helpers_test.go:10: Expected 15 (type int) - Got 7 (type int)
  === RUN   TestCommandYamlFileFlagHasDefaultGlobalEnvYamlSetGlobalEnvWins
  --- PASS: TestCommandYamlFileFlagHasDefaultGlobalEnvYamlSetGlobalEnvWins (0.00s)
  === RUN   TestCommandYamlFileFlagHasDefaultGlobalEnvYamlSetGlobalEnvWinsNested
  --- PASS: TestCommandYamlFileFlagHasDefaultGlobalEnvYamlSetGlobalEnvWinsNested (0.00s)
  FAIL
  exit status 1
  FAIL	github.com/codegangsta/cli/altsrc	0.008s
  dh_auto_test: go test -v -p 1 github.com/codegangsta/cli github.com/codegangsta/cli/altsrc returned exit code 1
  debian/rules:4: recipe for target 'build' failed
  make: *** [build] Error 1
  dpkg-buildpackage: error: debian/rules build gave error exit status 2

  […]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: golang-codegangsta-cli.1.18.0-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 4738 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20170223/25fd01a3/attachment.obj>


More information about the Pkg-go-maintainers mailing list