[pkg-go] Bug#954606: golang-github-minio-minio-go: FTBFS: dh_auto_test: error: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 -short github.com/minio/minio-go github.com/minio/minio-go/pkg/credentials github.com/minio/minio-go/pkg/encrypt github.com/minio/minio-go/pkg/policy github.com/minio/minio-go/pkg/s3signer github.com/minio/minio-go/pkg/s3utils github.com/minio/minio-go/pkg/set returned exit code 1

Lucas Nussbaum lucas at debian.org
Sun Mar 22 08:18:36 GMT 2020


Source: golang-github-minio-minio-go
Version: 6.0.45-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200321 ftbfs-bullseye

Hi,

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

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> # set -short param to avoid tests that access to s3.amazonaws.com
> # api_functional_v4_test.go is needed for other tests to run
> dh_auto_test -- -short
> 	cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 -short github.com/minio/minio-go github.com/minio/minio-go/pkg/credentials github.com/minio/minio-go/pkg/encrypt github.com/minio/minio-go/pkg/policy github.com/minio/minio-go/pkg/s3signer github.com/minio/minio-go/pkg/s3utils github.com/minio/minio-go/pkg/set
> === RUN   TestPartsRequired
> --- PASS: TestPartsRequired (0.00s)
> === RUN   TestCalculateEvenSplits
> --- PASS: TestCalculateEvenSplits (0.00s)
> === RUN   TestGetUserMetaHeadersMap
> --- PASS: TestGetUserMetaHeadersMap (0.00s)
> === RUN   TestHttpRespToErrorResponse
> --- PASS: TestHttpRespToErrorResponse (0.00s)
> === RUN   TestErrEntityTooLarge
> --- PASS: TestErrEntityTooLarge (0.00s)
> === RUN   TestErrEntityTooSmall
> --- PASS: TestErrEntityTooSmall (0.00s)
> === RUN   TestErrUnexpectedEOF
> --- PASS: TestErrUnexpectedEOF (0.00s)
> === RUN   TestErrInvalidBucketName
> --- PASS: TestErrInvalidBucketName (0.00s)
> === RUN   TestErrInvalidObjectName
> --- PASS: TestErrInvalidObjectName (0.00s)
> === RUN   TestErrInvalidArgument
> --- PASS: TestErrInvalidArgument (0.00s)
> === RUN   TestErrWithoutMessage
> --- PASS: TestErrWithoutMessage (0.00s)
> === RUN   TestErrorResponseComparable
> --- PASS: TestErrorResponseComparable (0.00s)
> === RUN   TestPutObjectOptionsValidate
> --- PASS: TestPutObjectOptionsValidate (0.00s)
> === RUN   TestValidBucketLocation
> --- PASS: TestValidBucketLocation (0.00s)
> === RUN   TestErrorResponse
> --- PASS: TestErrorResponse (0.00s)
> === RUN   TestSignatureType
> --- PASS: TestSignatureType (0.00s)
> === RUN   TestBucketPolicyTypes
> --- PASS: TestBucketPolicyTypes (0.00s)
> === RUN   TestPartSize
> --- PASS: TestPartSize (0.00s)
> === RUN   TestMakeTargetURL
> --- PASS: TestMakeTargetURL (0.00s)
> === RUN   TestNewBucketLocationCache
> --- PASS: TestNewBucketLocationCache (0.00s)
> === RUN   TestBucketLocationCacheOps
> --- PASS: TestBucketLocationCacheOps (0.00s)
> === RUN   TestGetBucketLocationRequest
> --- PASS: TestGetBucketLocationRequest (0.00s)
> === RUN   TestProcessBucketLocationResponse
> --- PASS: TestProcessBucketLocationResponse (0.00s)
> === RUN   TestGetObjectCore
>     TestGetObjectCore: core_test.go:68: skipping functional tests for the short runs
> --- SKIP: TestGetObjectCore (0.00s)
> === RUN   TestGetObjectContentEncoding
>     TestGetObjectContentEncoding: core_test.go:261: skipping functional tests for the short runs
> --- SKIP: TestGetObjectContentEncoding (0.00s)
> === RUN   TestGetBucketPolicy
>     TestGetBucketPolicy: core_test.go:338: skipping functional tests for short runs
> --- SKIP: TestGetBucketPolicy (0.00s)
> === RUN   TestCoreCopyObject
>     TestCoreCopyObject: core_test.go:401: skipping functional tests for short runs
> --- SKIP: TestCoreCopyObject (0.00s)
> === RUN   TestCoreCopyObjectPart
>     TestCoreCopyObjectPart: core_test.go:515: skipping functional tests for short runs
> --- SKIP: TestCoreCopyObjectPart (0.00s)
> === RUN   TestCorePutObject
>     TestCorePutObject: core_test.go:660: skipping functional tests for short runs
> --- SKIP: TestCorePutObject (0.00s)
> === RUN   TestCoreGetObjectMetadata
>     TestCoreGetObjectMetadata: core_test.go:756: skipping functional tests for the short runs
> --- SKIP: TestCoreGetObjectMetadata (0.00s)
> === RUN   TestSetHeader
> --- PASS: TestSetHeader (0.00s)
> === RUN   TestRedactSignature
> --- PASS: TestRedactSignature (0.00s)
> === RUN   TestFilterHeader
> --- PASS: TestFilterHeader (0.00s)
> === RUN   TestGetEndpointURL
> --- PASS: TestGetEndpointURL (0.00s)
> === RUN   TestIsValidEndpointURL
> --- PASS: TestIsValidEndpointURL (0.00s)
> === RUN   TestDefaultBucketLocation
> --- PASS: TestDefaultBucketLocation (0.00s)
> === RUN   TestIsValidExpiry
> --- PASS: TestIsValidExpiry (0.00s)
> === RUN   TestIsValidBucketName
> --- PASS: TestIsValidBucketName (0.00s)
> === RUN   TestIsStandardHeader
> --- PASS: TestIsStandardHeader (0.00s)
> === RUN   TestIsSSEHeader
> --- PASS: TestIsSSEHeader (0.00s)
> === RUN   TestIsAmzHeader
> --- PASS: TestIsAmzHeader (0.00s)
> PASS
> ok  	github.com/minio/minio-go	0.007s
> === RUN   TestChainGet
> --- PASS: TestChainGet (0.00s)
> === RUN   TestChainIsExpired
> --- PASS: TestChainIsExpired (0.00s)
> === RUN   TestChainWithNoProvider
> --- PASS: TestChainWithNoProvider (0.00s)
> === RUN   TestChainProviderWithNoValidProvider
> --- PASS: TestChainProviderWithNoValidProvider (0.00s)
> === RUN   TestCredentialsGet
> --- PASS: TestCredentialsGet (0.00s)
> === RUN   TestCredentialsGetWithError
> --- PASS: TestCredentialsGetWithError (0.00s)
> === RUN   TestEnvAWSRetrieve
> --- PASS: TestEnvAWSRetrieve (0.00s)
> === RUN   TestEnvMinioRetrieve
> --- PASS: TestEnvMinioRetrieve (0.00s)
> === RUN   TestFileAWS
> --- PASS: TestFileAWS (0.00s)
> === RUN   TestFileMinioClient
> --- PASS: TestFileMinioClient (0.00s)
> === RUN   TestIAMMalformedEndpoint
>     TestIAMMalformedEndpoint: iam_aws_test.go:139: Expected parse %%%%: invalid URL escape "%%%", got parse "%%%%": invalid URL escape "%%%"
> --- FAIL: TestIAMMalformedEndpoint (0.00s)
> === RUN   TestIAMFailServer
> --- PASS: TestIAMFailServer (0.00s)
> === RUN   TestIAMNoRoles
> --- PASS: TestIAMNoRoles (0.00s)
> === RUN   TestIAM
> --- PASS: TestIAM (0.00s)
> === RUN   TestIAMFailAssume
> --- PASS: TestIAMFailAssume (0.00s)
> === RUN   TestIAMIsExpired
> --- PASS: TestIAMIsExpired (0.00s)
> === RUN   TestEcsTask
> --- PASS: TestEcsTask (0.00s)
> === RUN   TestEcsTaskFullURI
> --- PASS: TestEcsTaskFullURI (0.00s)
> === RUN   TestSts
> --- PASS: TestSts (0.00s)
> === RUN   TestStaticGet
> --- PASS: TestStaticGet (0.00s)
> FAIL
> FAIL	github.com/minio/minio-go/pkg/credentials	0.018s
> ?   	github.com/minio/minio-go/pkg/encrypt	[no test files]
> === RUN   TestConditionKeyMapAdd
> --- PASS: TestConditionKeyMapAdd (0.00s)
> === RUN   TestConditionKeyMapRemove
> --- PASS: TestConditionKeyMapRemove (0.00s)
> === RUN   TestConditionKeyMapRemoveKey
> --- PASS: TestConditionKeyMapRemoveKey (0.00s)
> === RUN   TestCopyConditionKeyMap
> --- PASS: TestCopyConditionKeyMap (0.00s)
> === RUN   TestMergeConditionKeyMap
> --- PASS: TestMergeConditionKeyMap (0.00s)
> === RUN   TestConditionMapAdd
> --- PASS: TestConditionMapAdd (0.00s)
> === RUN   TestConditionMapRemove
> --- PASS: TestConditionMapRemove (0.00s)
> === RUN   TestMergeConditionMap
> --- PASS: TestMergeConditionMap (0.00s)
> === RUN   TestUnmarshalBucketPolicy
> --- PASS: TestUnmarshalBucketPolicy (0.00s)
> === RUN   TestIsValidStatement
> --- PASS: TestIsValidStatement (0.00s)
> === RUN   TestNewStatements
> --- PASS: TestNewStatements (0.00s)
> === RUN   TestGetInUsePolicy
> --- PASS: TestGetInUsePolicy (0.00s)
> === RUN   TestRemoveStatements
> --- PASS: TestRemoveStatements (0.00s)
> === RUN   TestAppendStatement
> --- PASS: TestAppendStatement (0.00s)
> === RUN   TestGetBucketPolicy
> --- PASS: TestGetBucketPolicy (0.00s)
> === RUN   TestGetObjectPolicy
> --- PASS: TestGetObjectPolicy (0.00s)
> === RUN   TestListBucketPolicies
> --- PASS: TestListBucketPolicies (0.00s)
> === RUN   TestGetPolicy
> --- PASS: TestGetPolicy (0.00s)
> === RUN   TestSetPolicy
> --- PASS: TestSetPolicy (0.00s)
> === RUN   TestIsValidBucketPolicy
> --- PASS: TestIsValidBucketPolicy (0.00s)
> === RUN   TestBucketPolicyResourceMatch
> --- PASS: TestBucketPolicyResourceMatch (0.00s)
> PASS
> ok  	github.com/minio/minio-go/pkg/policy	0.004s
> === RUN   TestGetSeedSignature
> --- PASS: TestGetSeedSignature (0.00s)
> === RUN   TestChunkSignature
> --- PASS: TestChunkSignature (0.00s)
> === RUN   TestSetStreamingAuthorization
> --- PASS: TestSetStreamingAuthorization (0.00s)
> === RUN   TestStreamingReader
> --- PASS: TestStreamingReader (0.00s)
> === RUN   TestResourceListSorting
> --- PASS: TestResourceListSorting (0.00s)
> === RUN   TestRequestHost
> --- PASS: TestRequestHost (0.00s)
> === RUN   TestSignatureCalculationV4
> --- PASS: TestSignatureCalculationV4 (0.00s)
> === RUN   TestSignatureCalculationV2
> --- PASS: TestSignatureCalculationV2 (0.00s)
> === RUN   TestEncodeURL2Path
> --- PASS: TestEncodeURL2Path (0.00s)
> === RUN   TestSignV4TrimAll
> --- PASS: TestSignV4TrimAll (0.00s)
> PASS
> ok  	github.com/minio/minio-go/pkg/s3signer	0.005s
> === RUN   TestGetRegionFromURL
> --- PASS: TestGetRegionFromURL (0.00s)
> === RUN   TestIsValidDomain
> --- PASS: TestIsValidDomain (0.00s)
> === RUN   TestIsValidIP
> --- PASS: TestIsValidIP (0.00s)
> === RUN   TestIsVirtualHostSupported
> --- PASS: TestIsVirtualHostSupported (0.00s)
> === RUN   TestIsAmazonEndpoint
> --- PASS: TestIsAmazonEndpoint (0.00s)
> === RUN   TestIsGoogleEndpoint
> --- PASS: TestIsGoogleEndpoint (0.00s)
> === RUN   TestPercentEncodeSlash
> --- PASS: TestPercentEncodeSlash (0.00s)
> === RUN   TestQueryEncode
> --- PASS: TestQueryEncode (0.00s)
> === RUN   TestEncodePath
> --- PASS: TestEncodePath (0.00s)
> === RUN   TestIsValidBucketName
> --- PASS: TestIsValidBucketName (0.00s)
> === RUN   TestIsValidBucketNameStrict
> --- PASS: TestIsValidBucketNameStrict (0.00s)
> PASS
> ok  	github.com/minio/minio-go/pkg/s3utils	0.003s
> === RUN   TestNewStringSet
> --- PASS: TestNewStringSet (0.00s)
> === RUN   TestCreateStringSet
> --- PASS: TestCreateStringSet (0.00s)
> === RUN   TestCopyStringSet
> --- PASS: TestCopyStringSet (0.00s)
> === RUN   TestStringSetAdd
> --- PASS: TestStringSetAdd (0.00s)
> === RUN   TestStringSetRemove
> --- PASS: TestStringSetRemove (0.00s)
> === RUN   TestStringSetContains
> --- PASS: TestStringSetContains (0.00s)
> === RUN   TestStringSetFuncMatch
> --- PASS: TestStringSetFuncMatch (0.00s)
> === RUN   TestStringSetApplyFunc
> --- PASS: TestStringSetApplyFunc (0.00s)
> === RUN   TestStringSetEquals
> --- PASS: TestStringSetEquals (0.00s)
> === RUN   TestStringSetIntersection
> --- PASS: TestStringSetIntersection (0.00s)
> === RUN   TestStringSetDifference
> --- PASS: TestStringSetDifference (0.00s)
> === RUN   TestStringSetUnion
> --- PASS: TestStringSetUnion (0.00s)
> === RUN   TestStringSetMarshalJSON
> --- PASS: TestStringSetMarshalJSON (0.00s)
> === RUN   TestStringSetUnmarshalJSON
> --- PASS: TestStringSetUnmarshalJSON (0.00s)
> === RUN   TestStringSetString
> --- PASS: TestStringSetString (0.00s)
> === RUN   TestStringSetToSlice
> --- PASS: TestStringSetToSlice (0.00s)
> PASS
> ok  	github.com/minio/minio-go/pkg/set	0.005s
> FAIL
> dh_auto_test: error: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 -short github.com/minio/minio-go github.com/minio/minio-go/pkg/credentials github.com/minio/minio-go/pkg/encrypt github.com/minio/minio-go/pkg/policy github.com/minio/minio-go/pkg/s3signer github.com/minio/minio-go/pkg/s3utils github.com/minio/minio-go/pkg/set returned exit code 1

The full build log is available from:
   http://qa-logs.debian.net/2020/03/21/golang-github-minio-minio-go_6.0.45-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