[pkg-go] Bug#839597: Bug#839597: Bug#839597: update golang-github-dgrijalva-jwt-go to new upstream release

Pirate Praveen praveen at debian.org
Sun Oct 9 13:09:51 UTC 2016


On Tue, 4 Oct 2016 13:52:48 +0200 Martín Ferrari <tincho at tincho.org> wrote:
> I will take a look at your changes, but I would be interested in seeing
> which failures you are getting with gcc-go and on which architecture.

I got this test failure on amd64.

I ran

# dpkg -r --force-all golang-go
# ln -s /usr/bin/go-6 /usr/bin/go

I have filed #840190 so the symlink step can be avoided. All tests
passed with golang-go.

I also uploaded golang-github-dgrijalva-jwt-go to experimental. Test log
below. Ruby testing libraries are more friendly as they print the failed
tests at the end, here we have to go through all tests manually to find
failed tests.

Failed tests:
--- FAIL: TestCopyAndDecodeAlwaysReturnsACopy (0.00s)
	utility_test.go:85: autorest: CopyAndDecode failed to return a valid
copy of the data -

There are more failures, but does not print which tests failed.

Full log:

	go test -v -p 1 github.com/Azure/go-autorest/autorest
github.com/Azure/go-autorest/autorest/azure
github.com/Azure/go-autorest/autorest/azure/example
github.com/Azure/go-autorest/autorest/date
github.com/Azure/go-autorest/autorest/mocks
github.com/Azure/go-autorest/autorest/to
github.com/Azure/go-autorest/autorest/validation
=== RUN   TestResponseHasStatusCode
--- PASS: TestResponseHasStatusCode (0.00s)
=== RUN   TestResponseHasStatusCodeNotPresent
--- PASS: TestResponseHasStatusCodeNotPresent (0.00s)
=== RUN
TestNewPollingRequestDoesNotReturnARequestWhenLocationHeaderIsMissing
--- PASS:
TestNewPollingRequestDoesNotReturnARequestWhenLocationHeaderIsMissing
(0.00s)
=== RUN   TestNewPollingRequestReturnsAnErrorWhenPrepareFails
--- PASS: TestNewPollingRequestReturnsAnErrorWhenPrepareFails (0.00s)
=== RUN   TestNewPollingRequestDoesNotReturnARequestWhenPrepareFails
--- PASS: TestNewPollingRequestDoesNotReturnARequestWhenPrepareFails (0.00s)
=== RUN   TestNewPollingRequestReturnsAGetRequest
--- PASS: TestNewPollingRequestReturnsAGetRequest (0.00s)
=== RUN   TestNewPollingRequestProvidesTheURL
--- PASS: TestNewPollingRequestProvidesTheURL (0.00s)
=== RUN   TestGetLocation
--- PASS: TestGetLocation (0.00s)
=== RUN   TestGetLocationReturnsEmptyStringForMissingLocation
--- PASS: TestGetLocationReturnsEmptyStringForMissingLocation (0.00s)
=== RUN   TestGetRetryAfter
--- PASS: TestGetRetryAfter (0.00s)
=== RUN   TestGetRetryAfterReturnsDefaultDelayIfRetryHeaderIsMissing
--- PASS: TestGetRetryAfterReturnsDefaultDelayIfRetryHeaderIsMissing (0.00s)
=== RUN   TestGetRetryAfterReturnsDefaultDelayIfRetryHeaderIsMalformed
--- PASS: TestGetRetryAfterReturnsDefaultDelayIfRetryHeaderIsMalformed
(0.00s)
=== RUN   TestLoggingInspectorWithInspection
--- PASS: TestLoggingInspectorWithInspection (0.00s)
=== RUN   TestLoggingInspectorWithInspectionEmitsErrors
--- PASS: TestLoggingInspectorWithInspectionEmitsErrors (0.00s)
=== RUN   TestLoggingInspectorWithInspectionRestoresBody
--- PASS: TestLoggingInspectorWithInspectionRestoresBody (0.00s)
=== RUN   TestLoggingInspectorByInspecting
--- PASS: TestLoggingInspectorByInspecting (0.01s)
=== RUN   TestLoggingInspectorByInspectingEmitsErrors
--- PASS: TestLoggingInspectorByInspectingEmitsErrors (0.00s)
=== RUN   TestLoggingInspectorByInspectingRestoresBody
--- PASS: TestLoggingInspectorByInspectingRestoresBody (0.00s)
=== RUN   TestNewClientWithUserAgent
--- PASS: TestNewClientWithUserAgent (0.00s)
=== RUN   TestClientSenderReturnsHttpClientByDefault
--- PASS: TestClientSenderReturnsHttpClientByDefault (0.00s)
=== RUN   TestClientSenderReturnsSetSender
--- PASS: TestClientSenderReturnsSetSender (0.00s)
=== RUN   TestClientDoInvokesSender
--- PASS: TestClientDoInvokesSender (0.00s)
=== RUN   TestClientDoSetsUserAgent
--- PASS: TestClientDoSetsUserAgent (0.00s)
=== RUN   TestClientDoSetsAuthorization
--- PASS: TestClientDoSetsAuthorization (0.00s)
=== RUN   TestClientDoInvokesRequestInspector
--- PASS: TestClientDoInvokesRequestInspector (0.00s)
=== RUN   TestClientDoInvokesResponseInspector
--- PASS: TestClientDoInvokesResponseInspector (0.00s)
=== RUN   TestClientDoReturnsErrorIfPrepareFails
--- PASS: TestClientDoReturnsErrorIfPrepareFails (0.00s)
=== RUN   TestClientDoDoesNotSendIfPrepareFails
--- PASS: TestClientDoDoesNotSendIfPrepareFails (0.00s)
=== RUN   TestClientAuthorizerReturnsNullAuthorizerByDefault
--- PASS: TestClientAuthorizerReturnsNullAuthorizerByDefault (0.00s)
=== RUN   TestClientAuthorizerReturnsSetAuthorizer
--- PASS: TestClientAuthorizerReturnsSetAuthorizer (0.00s)
=== RUN   TestClientWithAuthorizer
--- PASS: TestClientWithAuthorizer (0.00s)
=== RUN   TestClientWithInspection
--- PASS: TestClientWithInspection (0.00s)
=== RUN   TestClientWithInspectionSetsDefault
--- PASS: TestClientWithInspectionSetsDefault (0.00s)
=== RUN   TestClientByInspecting
--- PASS: TestClientByInspecting (0.00s)
=== RUN   TestClientByInspectingSetsDefault
--- PASS: TestClientByInspectingSetsDefault (0.00s)
=== RUN   TestNewErrorWithError_AssignsPackageType
--- PASS: TestNewErrorWithError_AssignsPackageType (0.00s)
=== RUN   TestNewErrorWithError_AssignsMethod
--- PASS: TestNewErrorWithError_AssignsMethod (0.00s)
=== RUN   TestNewErrorWithError_AssignsMessage
--- PASS: TestNewErrorWithError_AssignsMessage (0.00s)
=== RUN   TestNewErrorWithError_AssignsUndefinedStatusCodeIfRespNil
--- PASS: TestNewErrorWithError_AssignsUndefinedStatusCodeIfRespNil (0.00s)
=== RUN   TestNewErrorWithError_AssignsStatusCode
--- PASS: TestNewErrorWithError_AssignsStatusCode (0.00s)
=== RUN   TestNewErrorWithError_AcceptsArgs
--- PASS: TestNewErrorWithError_AcceptsArgs (0.00s)
=== RUN   TestNewErrorWithError_AssignsError
--- PASS: TestNewErrorWithError_AssignsError (0.00s)
=== RUN   TestNewErrorWithResponse_ContainsStatusCode
--- PASS: TestNewErrorWithResponse_ContainsStatusCode (0.00s)
=== RUN   TestNewErrorWithResponse_nilResponse_ReportsUndefinedStatusCode
--- PASS:
TestNewErrorWithResponse_nilResponse_ReportsUndefinedStatusCode (0.00s)
=== RUN   TestNewErrorWithResponse_Forwards
--- PASS: TestNewErrorWithResponse_Forwards (0.00s)
=== RUN   TestNewErrorWithError_Forwards
--- PASS: TestNewErrorWithError_Forwards (0.00s)
=== RUN   TestNewErrorWithError_DoesNotWrapADetailedError
--- PASS: TestNewErrorWithError_DoesNotWrapADetailedError (0.00s)
=== RUN   TestNewErrorWithError_WrapsAnError
--- PASS: TestNewErrorWithError_WrapsAnError (0.00s)
=== RUN   TestDetailedError
--- PASS: TestDetailedError (0.00s)
=== RUN   TestDetailedErrorConstainsPackageType
--- PASS: TestDetailedErrorConstainsPackageType (0.00s)
=== RUN   TestDetailedErrorConstainsMethod
--- PASS: TestDetailedErrorConstainsMethod (0.00s)
=== RUN   TestDetailedErrorConstainsMessage
--- PASS: TestDetailedErrorConstainsMessage (0.00s)
=== RUN   TestDetailedErrorConstainsStatusCode
--- PASS: TestDetailedErrorConstainsStatusCode (0.00s)
=== RUN   TestDetailedErrorConstainsOriginal
--- PASS: TestDetailedErrorConstainsOriginal (0.00s)
=== RUN   TestDetailedErrorSkipsOriginal
--- PASS: TestDetailedErrorSkipsOriginal (0.00s)
=== RUN   TestWithPathWithInvalidPath
--- PASS: TestWithPathWithInvalidPath (0.00s)
=== RUN   TestWithPathParametersWithInvalidPath
--- PASS: TestWithPathParametersWithInvalidPath (0.00s)
=== RUN   TestCreatePreparerDoesNotModify
--- PASS: TestCreatePreparerDoesNotModify (0.00s)
=== RUN   TestCreatePreparerRunsDecoratorsInOrder
--- PASS: TestCreatePreparerRunsDecoratorsInOrder (0.00s)
=== RUN   TestAsContentType
--- PASS: TestAsContentType (0.00s)
=== RUN   TestAsFormURLEncoded
--- PASS: TestAsFormURLEncoded (0.00s)
=== RUN   TestAsJSON
--- PASS: TestAsJSON (0.00s)
=== RUN   TestWithNothing
--- PASS: TestWithNothing (0.00s)
=== RUN   TestWithBearerAuthorization
--- PASS: TestWithBearerAuthorization (0.00s)
=== RUN   TestWithUserAgent
--- PASS: TestWithUserAgent (0.00s)
=== RUN   TestWithMethod
--- PASS: TestWithMethod (0.00s)
=== RUN   TestAsDelete
--- PASS: TestAsDelete (0.00s)
=== RUN   TestAsGet
--- PASS: TestAsGet (0.00s)
=== RUN   TestAsHead
--- PASS: TestAsHead (0.00s)
=== RUN   TestAsOptions
--- PASS: TestAsOptions (0.00s)
=== RUN   TestAsPatch
--- PASS: TestAsPatch (0.00s)
=== RUN   TestAsPost
--- PASS: TestAsPost (0.00s)
=== RUN   TestAsPut
--- PASS: TestAsPut (0.00s)
=== RUN   TestPrepareWithNullRequest
--- PASS: TestPrepareWithNullRequest (0.00s)
=== RUN   TestWithFormDataSetsContentLength
--- PASS: TestWithFormDataSetsContentLength (0.00s)
=== RUN   TestWithMultiPartFormDataSetsContentLength
--- PASS: TestWithMultiPartFormDataSetsContentLength (0.00s)
=== RUN   TestWithMultiPartFormDataWithNoFile
--- PASS: TestWithMultiPartFormDataWithNoFile (0.00s)
=== RUN   TestWithFile
--- PASS: TestWithFile (0.00s)
=== RUN   TestWithBool_SetsTheBody
--- PASS: TestWithBool_SetsTheBody (0.00s)
=== RUN   TestWithFloat32_SetsTheBody
--- PASS: TestWithFloat32_SetsTheBody (0.00s)
=== RUN   TestWithFloat64_SetsTheBody
--- PASS: TestWithFloat64_SetsTheBody (0.00s)
=== RUN   TestWithInt32_SetsTheBody
--- PASS: TestWithInt32_SetsTheBody (0.00s)
=== RUN   TestWithInt64_SetsTheBody
--- PASS: TestWithInt64_SetsTheBody (0.00s)
=== RUN   TestWithString_SetsTheBody
--- PASS: TestWithString_SetsTheBody (0.00s)
=== RUN   TestWithJSONSetsContentLength
--- PASS: TestWithJSONSetsContentLength (0.00s)
=== RUN   TestWithHeaderAllocatesHeaders
--- PASS: TestWithHeaderAllocatesHeaders (0.00s)
=== RUN   TestWithPathCatchesNilURL
--- PASS: TestWithPathCatchesNilURL (0.00s)
=== RUN   TestWithEscapedPathParametersCatchesNilURL
--- PASS: TestWithEscapedPathParametersCatchesNilURL (0.00s)
=== RUN   TestWithPathParametersCatchesNilURL
--- PASS: TestWithPathParametersCatchesNilURL (0.00s)
=== RUN   TestWithQueryParametersCatchesNilURL
--- PASS: TestWithQueryParametersCatchesNilURL (0.00s)
=== RUN   TestModifyingExistingRequest
--- PASS: TestModifyingExistingRequest (0.00s)
=== RUN   TestWithAuthorizer
--- PASS: TestWithAuthorizer (0.00s)
=== RUN   TestCreateResponderDoesNotModify
--- PASS: TestCreateResponderDoesNotModify (0.00s)
=== RUN   TestCreateResponderRunsDecoratorsInOrder
--- PASS: TestCreateResponderRunsDecoratorsInOrder (0.00s)
=== RUN   TestByIgnoring
--- PASS: TestByIgnoring (0.00s)
=== RUN   TestByCopying_Copies
--- PASS: TestByCopying_Copies (0.00s)
=== RUN   TestByCopying_ReturnsNestedErrors
--- PASS: TestByCopying_ReturnsNestedErrors (0.00s)
=== RUN   TestByCopying_AcceptsNilReponse
--- PASS: TestByCopying_AcceptsNilReponse (0.00s)
=== RUN   TestByCopying_AcceptsNilBody
--- PASS: TestByCopying_AcceptsNilBody (0.00s)
=== RUN   TestByClosing
--- PASS: TestByClosing (0.00s)
=== RUN   TestByClosingAcceptsNilResponse
--- PASS: TestByClosingAcceptsNilResponse (0.00s)
=== RUN   TestByClosingAcceptsNilBody
--- PASS: TestByClosingAcceptsNilBody (0.00s)
=== RUN   TestByClosingClosesEvenAfterErrors
--- PASS: TestByClosingClosesEvenAfterErrors (0.00s)
=== RUN   TestByClosingClosesReturnsNestedErrors
--- PASS: TestByClosingClosesReturnsNestedErrors (0.00s)
=== RUN   TestByClosingIfErrorAcceptsNilResponse
--- PASS: TestByClosingIfErrorAcceptsNilResponse (0.00s)
=== RUN   TestByClosingIfErrorAcceptsNilBody
--- PASS: TestByClosingIfErrorAcceptsNilBody (0.00s)
=== RUN   TestByClosingIfErrorClosesIfAnErrorOccurs
--- PASS: TestByClosingIfErrorClosesIfAnErrorOccurs (0.00s)
=== RUN   TestByClosingIfErrorDoesNotClosesIfNoErrorOccurs
--- PASS: TestByClosingIfErrorDoesNotClosesIfNoErrorOccurs (0.00s)
=== RUN   TestByUnmarshallingJSON
--- PASS: TestByUnmarshallingJSON (0.00s)
=== RUN   TestByUnmarshallingJSON_HandlesReadErrors
--- PASS: TestByUnmarshallingJSON_HandlesReadErrors (0.00s)
=== RUN   TestByUnmarshallingJSONIncludesJSONInErrors
--- PASS: TestByUnmarshallingJSONIncludesJSONInErrors (0.00s)
=== RUN   TestByUnmarshallingJSONEmptyInput
--- PASS: TestByUnmarshallingJSONEmptyInput (0.00s)
=== RUN   TestByUnmarshallingXML
--- PASS: TestByUnmarshallingXML (0.00s)
=== RUN   TestByUnmarshallingXML_HandlesReadErrors
--- PASS: TestByUnmarshallingXML_HandlesReadErrors (0.00s)
=== RUN   TestByUnmarshallingXMLIncludesXMLInErrors
--- PASS: TestByUnmarshallingXMLIncludesXMLInErrors (0.00s)
=== RUN   TestRespondAcceptsNullResponse
--- PASS: TestRespondAcceptsNullResponse (0.00s)
=== RUN   TestWithErrorUnlessStatusCode
--- PASS: TestWithErrorUnlessStatusCode (0.00s)
=== RUN   TestWithErrorUnlessStatusCodeEmitsErrorForUnacceptableStatusCode
--- PASS:
TestWithErrorUnlessStatusCodeEmitsErrorForUnacceptableStatusCode (0.00s)
=== RUN   TestWithErrorUnlessOK
--- PASS: TestWithErrorUnlessOK (0.00s)
=== RUN   TestWithErrorUnlessOKEmitsErrorIfNotOK
--- PASS: TestWithErrorUnlessOKEmitsErrorIfNotOK (0.00s)
=== RUN   TestExtractHeader
--- PASS: TestExtractHeader (0.00s)
=== RUN   TestExtractHeaderHandlesMissingHeader
--- PASS: TestExtractHeaderHandlesMissingHeader (0.00s)
=== RUN   TestExtractHeaderValue
--- PASS: TestExtractHeaderValue (0.00s)
=== RUN   TestExtractHeaderValueHandlesMissingHeader
--- PASS: TestExtractHeaderValueHandlesMissingHeader (0.00s)
=== RUN   TestExtractHeaderValueRetrievesFirstValue
--- PASS: TestExtractHeaderValueRetrievesFirstValue (0.00s)
=== RUN   TestSendWithSenderRunsDecoratorsInOrder
--- PASS: TestSendWithSenderRunsDecoratorsInOrder (0.00s)
=== RUN   TestCreateSender
--- PASS: TestCreateSender (0.00s)
=== RUN   TestSend
--- PASS: TestSend (0.00s)
=== RUN   TestAfterDelayWaits
--- PASS: TestAfterDelayWaits (4.00s)
=== RUN   TestAfterDelay_Cancels
--- PASS: TestAfterDelay_Cancels (0.01s)
=== RUN   TestAfterDelayDoesNotWaitTooLong
--- PASS: TestAfterDelayDoesNotWaitTooLong (0.00s)
=== RUN   TestAsIs
--- PASS: TestAsIs (0.00s)
=== RUN   TestDoCloseIfError
--- PASS: TestDoCloseIfError (0.00s)
=== RUN   TestDoCloseIfErrorAcceptsNilResponse
--- PASS: TestDoCloseIfErrorAcceptsNilResponse (0.00s)
=== RUN   TestDoCloseIfErrorAcceptsNilBody
--- PASS: TestDoCloseIfErrorAcceptsNilBody (0.00s)
=== RUN   TestDoErrorIfStatusCode
--- PASS: TestDoErrorIfStatusCode (0.00s)
=== RUN   TestDoErrorIfStatusCodeIgnoresStatusCodes
--- PASS: TestDoErrorIfStatusCodeIgnoresStatusCodes (0.00s)
=== RUN   TestDoErrorUnlessStatusCode
--- PASS: TestDoErrorUnlessStatusCode (0.00s)
=== RUN   TestDoErrorUnlessStatusCodeIgnoresStatusCodes
--- PASS: TestDoErrorUnlessStatusCodeIgnoresStatusCodes (0.00s)
=== RUN   TestDoRetryForAttemptsStopsAfterSuccess
--- PASS: TestDoRetryForAttemptsStopsAfterSuccess (0.00s)
=== RUN   TestDoRetryForAttemptsStopsAfterAttempts
--- PASS: TestDoRetryForAttemptsStopsAfterAttempts (0.00s)
=== RUN   TestDoRetryForAttemptsReturnsResponse
--- PASS: TestDoRetryForAttemptsReturnsResponse (0.00s)
=== RUN   TestDoRetryForDurationStopsAfterSuccess
--- PASS: TestDoRetryForDurationStopsAfterSuccess (0.00s)
=== RUN   TestDoRetryForDurationStopsAfterDuration
--- PASS: TestDoRetryForDurationStopsAfterDuration (0.01s)
=== RUN   TestDoRetryForDurationStopsWithinReason
--- PASS: TestDoRetryForDurationStopsWithinReason (5.00s)
=== RUN   TestDoRetryForDurationReturnsResponse
--- PASS: TestDoRetryForDurationReturnsResponse (0.01s)
=== RUN   TestDelayForBackoff
--- PASS: TestDelayForBackoff (4.00s)
=== RUN   TestDelayForBackoff_Cancels
--- PASS: TestDelayForBackoff_Cancels (0.01s)
=== RUN   TestDelayForBackoffWithinReason
--- PASS: TestDelayForBackoffWithinReason (10.00s)
=== RUN   TestDoPollForStatusCodes_IgnoresUnspecifiedStatusCodes
--- PASS: TestDoPollForStatusCodes_IgnoresUnspecifiedStatusCodes (0.00s)
=== RUN   TestDoPollForStatusCodes_PollsForSpecifiedStatusCodes
--- PASS: TestDoPollForStatusCodes_PollsForSpecifiedStatusCodes (0.00s)
=== RUN   TestDoPollForStatusCodes_CanBeCanceled
--- PASS: TestDoPollForStatusCodes_CanBeCanceled (0.01s)
=== RUN
TestDoPollForStatusCodes_ClosesAllNonreturnedResponseBodiesWhenPolling
--- PASS:
TestDoPollForStatusCodes_ClosesAllNonreturnedResponseBodiesWhenPolling
(0.00s)
=== RUN   TestDoPollForStatusCodes_LeavesLastResponseBodyOpen
--- PASS: TestDoPollForStatusCodes_LeavesLastResponseBodyOpen (0.00s)
=== RUN   TestDoPollForStatusCodes_StopsPollingAfterAnError
--- PASS: TestDoPollForStatusCodes_StopsPollingAfterAnError (0.00s)
=== RUN   TestDoPollForStatusCodes_ReturnsPollingError
--- PASS: TestDoPollForStatusCodes_ReturnsPollingError (0.00s)
=== RUN   TestWithLogging_Logs
--- PASS: TestWithLogging_Logs (0.00s)
=== RUN   TestWithLogging_HandlesMissingResponse
--- PASS: TestWithLogging_HandlesMissingResponse (0.00s)
=== RUN   TestDoRetryForStatusCodesWithSuccess
--- PASS: TestDoRetryForStatusCodesWithSuccess (6.00s)
=== RUN   TestDoRetryForStatusCodesWithNoSuccess
--- PASS: TestDoRetryForStatusCodesWithNoSuccess (14.00s)
=== RUN   TestDoRetryForStatusCodes_CodeNotInRetryList
--- PASS: TestDoRetryForStatusCodes_CodeNotInRetryList (0.00s)
=== RUN   TestDoRetryForStatusCodes_RequestBodyReadError
--- PASS: TestDoRetryForStatusCodes_RequestBodyReadError (0.00s)
=== RUN   TestNewDecoderCreatesJSONDecoder
--- PASS: TestNewDecoderCreatesJSONDecoder (0.00s)
=== RUN   TestNewDecoderCreatesXMLDecoder
--- PASS: TestNewDecoderCreatesXMLDecoder (0.00s)
=== RUN   TestNewDecoderReturnsNilForUnknownEncoding
--- PASS: TestNewDecoderReturnsNilForUnknownEncoding (0.00s)
=== RUN   TestCopyAndDecodeDecodesJSON
--- PASS: TestCopyAndDecodeDecodesJSON (0.00s)
=== RUN   TestCopyAndDecodeDecodesXML
--- PASS: TestCopyAndDecodeDecodesXML (0.00s)
=== RUN   TestCopyAndDecodeReturnsJSONDecodingErrors
--- PASS: TestCopyAndDecodeReturnsJSONDecodingErrors (0.00s)
=== RUN   TestCopyAndDecodeReturnsXMLDecodingErrors
--- PASS: TestCopyAndDecodeReturnsXMLDecodingErrors (0.00s)
=== RUN   TestCopyAndDecodeAlwaysReturnsACopy
--- FAIL: TestCopyAndDecodeAlwaysReturnsACopy (0.00s)
	utility_test.go:85: autorest: CopyAndDecode failed to return a valid
copy of the data -
=== RUN   TestTeeReadCloser_Copies
--- PASS: TestTeeReadCloser_Copies (0.00s)
=== RUN   TestTeeReadCloser_PassesReadErrors
--- PASS: TestTeeReadCloser_PassesReadErrors (0.00s)
=== RUN   TestTeeReadCloser_ClosesWrappedReader
--- PASS: TestTeeReadCloser_ClosesWrappedReader (0.00s)
=== RUN   TestContainsIntFindsValue
--- PASS: TestContainsIntFindsValue (0.00s)
=== RUN   TestContainsIntDoesNotFindValue
--- PASS: TestContainsIntDoesNotFindValue (0.00s)
=== RUN   TestContainsIntAcceptsEmptyList
--- PASS: TestContainsIntAcceptsEmptyList (0.00s)
=== RUN   TestContainsIntAcceptsNilList
--- PASS: TestContainsIntAcceptsNilList (0.00s)
=== RUN   TestEscapeStrings
--- PASS: TestEscapeStrings (0.00s)
=== RUN   TestEnsureStrings
--- PASS: TestEnsureStrings (0.00s)
=== RUN   TestStringWithValidString
--- PASS: TestStringWithValidString (0.00s)
=== RUN   TestEncodeWithValidPath
--- PASS: TestEncodeWithValidPath (0.00s)
=== RUN   TestEncodeWithValidQuery
--- PASS: TestEncodeWithValidQuery (0.00s)
=== RUN   TestEncodeWithValidNotPathQuery
--- PASS: TestEncodeWithValidNotPathQuery (0.00s)
=== RUN   TestMapToValues
--- PASS: TestMapToValues (0.00s)
=== RUN   TestMapToValuesWithArrayValues
--- PASS: TestMapToValuesWithArrayValues (0.00s)
=== RUN   TestVersion
--- PASS: TestVersion (0.00s)
=== RUN   ExamplePrepareDecorator
--- PASS: ExamplePrepareDecorator (0.00s)
=== RUN   ExamplePrepareDecorator_pre
--- PASS: ExamplePrepareDecorator_pre (0.00s)
=== RUN   ExampleCreatePreparer
--- PASS: ExampleCreatePreparer (0.00s)
=== RUN   ExampleCreatePreparer_multiple
--- PASS: ExampleCreatePreparer_multiple (0.00s)
=== RUN   ExampleCreatePreparer_chain
--- PASS: ExampleCreatePreparer_chain (0.00s)
=== RUN   ExamplePrepare
--- PASS: ExamplePrepare (0.00s)
=== RUN   ExampleWithBaseURL
--- PASS: ExampleWithBaseURL (0.00s)
=== RUN   ExampleWithBaseURL_second
--- PASS: ExampleWithBaseURL_second (0.00s)
=== RUN   ExampleWithHeader
--- PASS: ExampleWithHeader (0.00s)
=== RUN   ExampleWithFormData
--- PASS: ExampleWithFormData (0.00s)
=== RUN   ExampleWithJSON
--- PASS: ExampleWithJSON (0.00s)
=== RUN   ExampleWithEscapedPathParameters
--- PASS: ExampleWithEscapedPathParameters (0.00s)
=== RUN   ExampleWithPathParameters
--- PASS: ExampleWithPathParameters (0.00s)
=== RUN   ExampleWithQueryParameters
--- PASS: ExampleWithQueryParameters (0.00s)
=== RUN   ExampleWithErrorUnlessOK
--- PASS: ExampleWithErrorUnlessOK (0.00s)
=== RUN   ExampleByUnmarshallingJSON
--- PASS: ExampleByUnmarshallingJSON (0.00s)
=== RUN   ExampleByUnmarshallingXML
--- PASS: ExampleByUnmarshallingXML (0.00s)
=== RUN   ExampleSendWithSender
--- PASS: ExampleSendWithSender (0.00s)
=== RUN   ExampleDoRetryForAttempts
--- PASS: ExampleDoRetryForAttempts (0.00s)
=== RUN   ExampleDoErrorIfStatusCode
--- PASS: ExampleDoErrorIfStatusCode (0.00s)
=== RUN   ExampleString
--- PASS: ExampleString (0.00s)
FAIL
exit status 1
FAIL	github.com/Azure/go-autorest/autorest	43.125s
=== RUN   TestGetAsyncOperation_ReturnsAzureAsyncOperationHeader
--- PASS: TestGetAsyncOperation_ReturnsAzureAsyncOperationHeader (0.00s)
=== RUN   TestGetAsyncOperation_ReturnsEmptyStringIfHeaderIsAbsent
--- PASS: TestGetAsyncOperation_ReturnsEmptyStringIfHeaderIsAbsent (0.00s)
=== RUN   TestHasSucceeded_ReturnsTrueForSuccess
--- PASS: TestHasSucceeded_ReturnsTrueForSuccess (0.00s)
=== RUN   TestHasSucceeded_ReturnsFalseOtherwise
--- PASS: TestHasSucceeded_ReturnsFalseOtherwise (0.00s)
=== RUN   TestHasTerminated_ReturnsTrueForValidTerminationStates
--- PASS: TestHasTerminated_ReturnsTrueForValidTerminationStates (0.00s)
=== RUN   TestHasTerminated_ReturnsFalseForUnknownStates
--- PASS: TestHasTerminated_ReturnsFalseForUnknownStates (0.00s)
=== RUN   TestOperationError_ErrorReturnsAString
--- PASS: TestOperationError_ErrorReturnsAString (0.00s)
=== RUN   TestOperationResource_StateReturnsState
--- PASS: TestOperationResource_StateReturnsState (0.00s)
=== RUN   TestOperationResource_HasSucceededReturnsFalseIfNotSuccess
--- PASS: TestOperationResource_HasSucceededReturnsFalseIfNotSuccess (0.00s)
=== RUN   TestOperationResource_HasSucceededReturnsTrueIfSuccessful
--- PASS: TestOperationResource_HasSucceededReturnsTrueIfSuccessful (0.00s)
=== RUN   TestOperationResource_HasTerminatedReturnsTrueForKnownStates
--- PASS: TestOperationResource_HasTerminatedReturnsTrueForKnownStates
(0.00s)
=== RUN   TestOperationResource_HasTerminatedReturnsFalseForUnknownStates
--- PASS:
TestOperationResource_HasTerminatedReturnsFalseForUnknownStates (0.00s)
=== RUN   TestProvisioningStatus_StateReturnsState
--- PASS: TestProvisioningStatus_StateReturnsState (0.00s)
=== RUN   TestProvisioningStatus_HasSucceededReturnsFalseIfNotSuccess
--- PASS: TestProvisioningStatus_HasSucceededReturnsFalseIfNotSuccess
(0.00s)
=== RUN   TestProvisioningStatus_HasSucceededReturnsTrueIfSuccessful
--- PASS: TestProvisioningStatus_HasSucceededReturnsTrueIfSuccessful (0.00s)
=== RUN   TestProvisioningStatus_HasTerminatedReturnsTrueForKnownStates
--- PASS: TestProvisioningStatus_HasTerminatedReturnsTrueForKnownStates
(0.00s)
=== RUN   TestProvisioningStatus_HasTerminatedReturnsFalseForUnknownStates
--- PASS:
TestProvisioningStatus_HasTerminatedReturnsFalseForUnknownStates (0.00s)
=== RUN   TestPollingState_HasSucceededReturnsFalseIfNotSuccess
--- PASS: TestPollingState_HasSucceededReturnsFalseIfNotSuccess (0.00s)
=== RUN   TestPollingState_HasSucceededReturnsTrueIfSuccessful
--- PASS: TestPollingState_HasSucceededReturnsTrueIfSuccessful (0.00s)
=== RUN   TestPollingState_HasTerminatedReturnsTrueForKnownStates
--- PASS: TestPollingState_HasTerminatedReturnsTrueForKnownStates (0.00s)
=== RUN   TestPollingState_HasTerminatedReturnsFalseForUnknownStates
--- PASS: TestPollingState_HasTerminatedReturnsFalseForUnknownStates (0.00s)
=== RUN   TestUpdatePollingState_ReturnsAnErrorIfOneOccurs
--- PASS: TestUpdatePollingState_ReturnsAnErrorIfOneOccurs (0.00s)
=== RUN   TestUpdatePollingState_ReturnsTerminatedForKnownProvisioningStates
--- PASS:
TestUpdatePollingState_ReturnsTerminatedForKnownProvisioningStates (0.00s)
=== RUN
TestUpdatePollingState_ReturnsSuccessForSuccessfulProvisioningState
--- PASS:
TestUpdatePollingState_ReturnsSuccessForSuccessfulProvisioningState (0.00s)
=== RUN
TestUpdatePollingState_ReturnsInProgressForAllOtherProvisioningStates
--- PASS:
TestUpdatePollingState_ReturnsInProgressForAllOtherProvisioningStates
(0.00s)
=== RUN
TestUpdatePollingState_ReturnsSuccessWhenProvisioningStateFieldIsAbsentForSuccessStatusCodes
--- PASS:
TestUpdatePollingState_ReturnsSuccessWhenProvisioningStateFieldIsAbsentForSuccessStatusCodes
(0.00s)
=== RUN
TestUpdatePollingState_ReturnsInProgressWhenProvisioningStateFieldIsAbsentForAccepted
--- PASS:
TestUpdatePollingState_ReturnsInProgressWhenProvisioningStateFieldIsAbsentForAccepted
(0.00s)
=== RUN
TestUpdatePollingState_ReturnsFailedWhenProvisioningStateFieldIsAbsentForUnknownStatusCodes
--- PASS:
TestUpdatePollingState_ReturnsFailedWhenProvisioningStateFieldIsAbsentForUnknownStatusCodes
(0.00s)
=== RUN
TestUpdatePollingState_ReturnsTerminatedForKnownOperationResourceStates
--- PASS:
TestUpdatePollingState_ReturnsTerminatedForKnownOperationResourceStates
(0.00s)
=== RUN
TestUpdatePollingState_ReturnsSuccessForSuccessfulOperationResourceState
--- PASS:
TestUpdatePollingState_ReturnsSuccessForSuccessfulOperationResourceState
(0.00s)
=== RUN
TestUpdatePollingState_ReturnsInProgressForAllOtherOperationResourceStates
--- PASS:
TestUpdatePollingState_ReturnsInProgressForAllOtherOperationResourceStates
(0.00s)
=== RUN   TestUpdatePollingState_CopiesTheResponseBody
--- PASS: TestUpdatePollingState_CopiesTheResponseBody (0.00s)
=== RUN   TestUpdatePollingState_ClosesTheOriginalResponseBody
--- PASS: TestUpdatePollingState_ClosesTheOriginalResponseBody (0.00s)
=== RUN   TestUpdatePollingState_FailsWhenResponseLacksRequest
--- PASS: TestUpdatePollingState_FailsWhenResponseLacksRequest (0.00s)
=== RUN
TestUpdatePollingState_SetsTheResponseFormatWhenUsingTheAzureAsyncOperationHeader
--- PASS:
TestUpdatePollingState_SetsTheResponseFormatWhenUsingTheAzureAsyncOperationHeader
(0.00s)
=== RUN
TestUpdatePollingState_SetsTheResponseFormatWhenUsingTheAzureAsyncOperationHeaderIsMissing
--- PASS:
TestUpdatePollingState_SetsTheResponseFormatWhenUsingTheAzureAsyncOperationHeaderIsMissing
(0.00s)
=== RUN   TestUpdatePollingState_DoesNotChangeAnExistingReponseFormat
--- PASS: TestUpdatePollingState_DoesNotChangeAnExistingReponseFormat
(0.00s)
=== RUN   TestUpdatePollingState_PrefersTheAzureAsyncOperationHeader
--- PASS: TestUpdatePollingState_PrefersTheAzureAsyncOperationHeader (0.00s)
=== RUN
TestUpdatePollingState_PrefersLocationWhenTheAzureAsyncOperationHeaderMissing
--- PASS:
TestUpdatePollingState_PrefersLocationWhenTheAzureAsyncOperationHeaderMissing
(0.00s)
=== RUN
TestUpdatePollingState_UsesTheObjectLocationIfAsyncHeadersAreMissing
--- PASS:
TestUpdatePollingState_UsesTheObjectLocationIfAsyncHeadersAreMissing (0.00s)
=== RUN   TestUpdatePollingState_RecognizesLowerCaseHTTPVerbs
--- PASS: TestUpdatePollingState_RecognizesLowerCaseHTTPVerbs (0.00s)
=== RUN
TestUpdatePollingState_ReturnsAnErrorIfAsyncHeadersAreMissingForANewOrDeletedObject
--- PASS:
TestUpdatePollingState_ReturnsAnErrorIfAsyncHeadersAreMissingForANewOrDeletedObject
(0.00s)
=== RUN   TestNewPollingRequest_FailsWhenResponseLacksRequest
--- PASS: TestNewPollingRequest_FailsWhenResponseLacksRequest (0.00s)
=== RUN   TestNewPollingRequest_ReturnsAnErrorWhenPrepareFails
--- PASS: TestNewPollingRequest_ReturnsAnErrorWhenPrepareFails (0.00s)
=== RUN   TestNewPollingRequest_DoesNotReturnARequestWhenPrepareFails
--- PASS: TestNewPollingRequest_DoesNotReturnARequestWhenPrepareFails
(0.00s)
=== RUN   TestNewPollingRequest_ReturnsAGetRequest
--- PASS: TestNewPollingRequest_ReturnsAGetRequest (0.00s)
=== RUN   TestDoPollForAsynchronous_IgnoresUnspecifiedStatusCodes
--- PASS: TestDoPollForAsynchronous_IgnoresUnspecifiedStatusCodes (0.00s)
=== RUN   TestDoPollForAsynchronous_PollsForSpecifiedStatusCodes
--- PASS: TestDoPollForAsynchronous_PollsForSpecifiedStatusCodes (0.00s)
=== RUN   TestDoPollForAsynchronous_CanBeCanceled
--- PASS: TestDoPollForAsynchronous_CanBeCanceled (0.01s)
=== RUN
TestDoPollForAsynchronous_ClosesAllNonreturnedResponseBodiesWhenPolling
--- PASS:
TestDoPollForAsynchronous_ClosesAllNonreturnedResponseBodiesWhenPolling
(0.00s)
=== RUN   TestDoPollForAsynchronous_LeavesLastResponseBodyOpen
--- PASS: TestDoPollForAsynchronous_LeavesLastResponseBodyOpen (0.00s)
=== RUN
TestDoPollForAsynchronous_DoesNotPollIfOriginalRequestReturnedAnError
--- PASS:
TestDoPollForAsynchronous_DoesNotPollIfOriginalRequestReturnedAnError
(0.00s)
=== RUN
TestDoPollForAsynchronous_DoesNotPollIfCreatingOperationRequestFails
--- PASS:
TestDoPollForAsynchronous_DoesNotPollIfCreatingOperationRequestFails (0.00s)
=== RUN   TestDoPollForAsynchronous_StopsPollingAfterAnError
--- PASS: TestDoPollForAsynchronous_StopsPollingAfterAnError (0.00s)
=== RUN   TestDoPollForAsynchronous_ReturnsPollingError
--- PASS: TestDoPollForAsynchronous_ReturnsPollingError (0.00s)
=== RUN   TestDoPollForAsynchronous_PollsForStatusAccepted
--- PASS: TestDoPollForAsynchronous_PollsForStatusAccepted (0.00s)
=== RUN   TestDoPollForAsynchronous_PollsForStatusCreated
--- PASS: TestDoPollForAsynchronous_PollsForStatusCreated (0.00s)
=== RUN   TestDoPollForAsynchronous_PollsUntilProvisioningStatusTerminates
--- PASS:
TestDoPollForAsynchronous_PollsUntilProvisioningStatusTerminates (0.00s)
=== RUN   TestDoPollForAsynchronous_PollsUntilProvisioningStatusSucceeds
--- PASS: TestDoPollForAsynchronous_PollsUntilProvisioningStatusSucceeds
(0.00s)
=== RUN   TestDoPollForAsynchronous_PollsUntilOperationResourceHasTerminated
--- PASS:
TestDoPollForAsynchronous_PollsUntilOperationResourceHasTerminated (0.00s)
=== RUN   TestDoPollForAsynchronous_PollsUntilOperationResourceHasSucceeded
--- PASS:
TestDoPollForAsynchronous_PollsUntilOperationResourceHasSucceeded (0.00s)
=== RUN
TestDoPollForAsynchronous_StopsPollingWhenOperationResourceHasTerminated
--- PASS:
TestDoPollForAsynchronous_StopsPollingWhenOperationResourceHasTerminated
(0.00s)
=== RUN   TestDoPollForAsynchronous_ReturnsAnErrorForCanceledOperations
--- PASS: TestDoPollForAsynchronous_ReturnsAnErrorForCanceledOperations
(0.00s)
=== RUN   TestDoPollForAsynchronous_ReturnsAnErrorForFailedOperations
--- PASS: TestDoPollForAsynchronous_ReturnsAnErrorForFailedOperations
(0.00s)
=== RUN   TestDoPollForAsynchronous_WithNilURI
--- PASS: TestDoPollForAsynchronous_WithNilURI (0.00s)
=== RUN   TestDoPollForAsynchronous_ReturnsAnUnknownErrorForFailedOperations
--- PASS:
TestDoPollForAsynchronous_ReturnsAnUnknownErrorForFailedOperations (0.00s)
=== RUN   TestDoPollForAsynchronous_ReturnsErrorForLastErrorResponse
--- PASS: TestDoPollForAsynchronous_ReturnsErrorForLastErrorResponse (0.00s)
=== RUN
TestDoPollForAsynchronous_ReturnsOperationResourceErrorForFailedOperations
--- PASS:
TestDoPollForAsynchronous_ReturnsOperationResourceErrorForFailedOperations
(0.00s)
=== RUN   TestDoPollForAsynchronous_ReturnsErrorForFirstPutRequest
--- FAIL: TestDoPollForAsynchronous_ReturnsErrorForFirstPutRequest (0.00s)
	async_test.go:959: azure: Response body is wrong. got=""
expected="\n\t{\n\t\t\"error\" : {\n\t\t\t\"code\" :
\"InvalidParameter\",\n\t\t\t\"message\" :
\"tom-service-DISCOVERY-server-base-v1.core.local' is not a valid
captured VHD blob name prefix.\"\n\t\t}\n\t}\n\t"
=== RUN   TestDoPollForAsynchronous_ReturnsNoErrorForSuccessfulOperations
--- PASS:
TestDoPollForAsynchronous_ReturnsNoErrorForSuccessfulOperations (0.00s)
=== RUN
TestDoPollForAsynchronous_StopsPollingIfItReceivesAnInvalidOperationResource
--- PASS:
TestDoPollForAsynchronous_StopsPollingIfItReceivesAnInvalidOperationResource
(0.00s)
=== RUN   TestWithReturningClientIDReturnsError
--- PASS: TestWithReturningClientIDReturnsError (0.00s)
=== RUN   TestWithClientID
--- PASS: TestWithClientID (0.00s)
=== RUN   TestWithReturnClientID
--- PASS: TestWithReturnClientID (0.00s)
=== RUN   TestExtractClientID
--- PASS: TestExtractClientID (0.00s)
=== RUN   TestExtractRequestID
--- PASS: TestExtractRequestID (0.00s)
=== RUN   TestIsAzureError_ReturnsTrueForAzureError
--- PASS: TestIsAzureError_ReturnsTrueForAzureError (0.00s)
=== RUN   TestIsAzureError_ReturnsFalseForNonAzureError
--- PASS: TestIsAzureError_ReturnsFalseForNonAzureError (0.00s)
=== RUN   TestNewErrorWithError_UsesReponseStatusCode
--- PASS: TestNewErrorWithError_UsesReponseStatusCode (0.00s)
=== RUN   TestNewErrorWithError_ReturnsUnwrappedError
--- PASS: TestNewErrorWithError_ReturnsUnwrappedError (0.00s)
=== RUN   TestNewErrorWithError_WrapsAnError
--- PASS: TestNewErrorWithError_WrapsAnError (0.00s)
=== RUN   TestWithErrorUnlessStatusCode_NotAnAzureError
--- FAIL: TestWithErrorUnlessStatusCode_NotAnAzureError (0.00s)
	azure_test.go:168: response body is wrong. got=""
exptected="<html>\n\t\t<head>\n\t\t\t<title>IIS Error
page</title>\n\t\t</head>\n\t\t<body>Some non-JSON error
page</body>\n\t</html>"
=== RUN   TestWithErrorUnlessStatusCode_FoundAzureErrorWithoutDetails
--- FAIL: TestWithErrorUnlessStatusCode_FoundAzureErrorWithoutDetails
(0.00s)
	azure_test.go:219: response body is wrong. got=""
expected="{\n\t\t\"error\": {\n\t\t\t\"code\":
\"InternalError\",\n\t\t\t\"message\": \"Azure is having trouble right
now.\"\n\t\t}\n\t}"
=== RUN   TestWithErrorUnlessStatusCode_FoundAzureErrorWithDetails
--- FAIL: TestWithErrorUnlessStatusCode_FoundAzureErrorWithDetails (0.00s)
	azure_test.go:279: response body is wrong. got=""
expected="{\n\t\t\"error\": {\n\t\t\t\"code\":
\"InternalError\",\n\t\t\t\"message\": \"Azure is having trouble right
now.\",\n\t\t\t\"details\": [{\"code\": \"conflict1\",
\"message\":\"error message1\"}, \n\t\t\t\t\t\t{\"code\": \"conflict2\",
\"message\":\"error message2\"}]\n\t\t}\n\t}"
=== RUN   TestWithErrorUnlessStatusCode_NoAzureError
--- FAIL: TestWithErrorUnlessStatusCode_NoAzureError (0.00s)
	azure_test.go:331: response body is wrong. got=""
expected="{\n\t\t\t\"Status\":\"NotFound\"\n\t\t}"
=== RUN   TestRequestErrorString_WithError
--- PASS: TestRequestErrorString_WithError (0.00s)
=== RUN   TestDeviceCodeIncludesResource
--- PASS: TestDeviceCodeIncludesResource (0.00s)
=== RUN   TestDeviceCodeReturnsErrorIfSendingFails
--- PASS: TestDeviceCodeReturnsErrorIfSendingFails (0.00s)
=== RUN   TestDeviceCodeReturnsErrorIfBadRequest
--- PASS: TestDeviceCodeReturnsErrorIfBadRequest (0.00s)
=== RUN   TestDeviceCodeReturnsErrorIfCannotDeserializeDeviceCode
--- PASS: TestDeviceCodeReturnsErrorIfCannotDeserializeDeviceCode (0.00s)
=== RUN   TestDeviceTokenReturns
--- PASS: TestDeviceTokenReturns (0.00s)
=== RUN   TestDeviceTokenReturnsErrorIfSendingFails
--- PASS: TestDeviceTokenReturnsErrorIfSendingFails (0.00s)
=== RUN   TestDeviceTokenReturnsErrorIfServerError
--- PASS: TestDeviceTokenReturnsErrorIfServerError (0.00s)
=== RUN   TestDeviceTokenReturnsErrorIfCannotDeserializeDeviceToken
--- PASS: TestDeviceTokenReturnsErrorIfCannotDeserializeDeviceToken (0.00s)
=== RUN   TestDeviceTokenReturnsErrorIfAuthorizationPending
--- PASS: TestDeviceTokenReturnsErrorIfAuthorizationPending (0.00s)
=== RUN   TestDeviceTokenReturnsErrorIfSlowDown
--- PASS: TestDeviceTokenReturnsErrorIfSlowDown (0.00s)
=== RUN   TestDeviceTokenSucceedsWithIntermediateAuthPending
--- PASS: TestDeviceTokenSucceedsWithIntermediateAuthPending (0.00s)
=== RUN   TestDeviceTokenSucceedsWithIntermediateSlowDown
--- PASS: TestDeviceTokenSucceedsWithIntermediateSlowDown (0.00s)
=== RUN   TestDeviceTokenReturnsErrorIfAccessDenied
--- PASS: TestDeviceTokenReturnsErrorIfAccessDenied (0.00s)
=== RUN   TestDeviceTokenReturnsErrorIfCodeExpired
--- PASS: TestDeviceTokenReturnsErrorIfCodeExpired (0.00s)
=== RUN   TestDeviceTokenReturnsErrorForUnknownError
--- PASS: TestDeviceTokenReturnsErrorForUnknownError (0.00s)
=== RUN   TestOAuthConfigForTenant
--- PASS: TestOAuthConfigForTenant (0.00s)
=== RUN   TestEnvironmentFromName
--- PASS: TestEnvironmentFromName (0.00s)
=== RUN   TestDeserializeEnvironment
--- PASS: TestDeserializeEnvironment (0.00s)
=== RUN   TestRoundTripSerialization
--- PASS: TestRoundTripSerialization (0.00s)
=== RUN   TestLoadToken
--- PASS: TestLoadToken (0.00s)
=== RUN   TestLoadTokenFailsBadPath
--- PASS: TestLoadTokenFailsBadPath (0.00s)
=== RUN   TestLoadTokenFailsBadJson
--- PASS: TestLoadTokenFailsBadJson (0.00s)
=== RUN   TestSaveToken
--- PASS: TestSaveToken (0.00s)
=== RUN   TestSaveTokenFailsNoPermission
--- PASS: TestSaveTokenFailsNoPermission (0.00s)
=== RUN   TestSaveTokenFailsCantCreate
--- PASS: TestSaveTokenFailsCantCreate (0.00s)
=== RUN   TestTokenExpires
--- PASS: TestTokenExpires (0.00s)
=== RUN   TestTokenIsExpired
--- PASS: TestTokenIsExpired (0.00s)
=== RUN   TestTokenIsExpiredUninitialized
--- PASS: TestTokenIsExpiredUninitialized (0.00s)
=== RUN   TestTokenIsNoExpired
--- PASS: TestTokenIsNoExpired (0.00s)
=== RUN   TestTokenWillExpireIn
--- PASS: TestTokenWillExpireIn (0.00s)
=== RUN   TestTokenWithAuthorization
--- PASS: TestTokenWithAuthorization (0.00s)
=== RUN   TestServicePrincipalTokenSetAutoRefresh
--- PASS: TestServicePrincipalTokenSetAutoRefresh (0.00s)
=== RUN   TestServicePrincipalTokenSetRefreshWithin
--- PASS: TestServicePrincipalTokenSetRefreshWithin (0.00s)
=== RUN   TestServicePrincipalTokenSetSender
--- PASS: TestServicePrincipalTokenSetSender (0.00s)
=== RUN   TestServicePrincipalTokenRefreshUsesPOST
--- PASS: TestServicePrincipalTokenRefreshUsesPOST (0.00s)
=== RUN   TestServicePrincipalTokenRefreshSetsMimeType
--- PASS: TestServicePrincipalTokenRefreshSetsMimeType (0.00s)
=== RUN   TestServicePrincipalTokenRefreshSetsURL
--- PASS: TestServicePrincipalTokenRefreshSetsURL (0.00s)
=== RUN   TestServicePrincipalTokenManualRefreshSetsBody
--- PASS: TestServicePrincipalTokenManualRefreshSetsBody (0.00s)
=== RUN   TestServicePrincipalTokenCertficateRefreshSetsBody
--- PASS: TestServicePrincipalTokenCertficateRefreshSetsBody (1.58s)
=== RUN   TestServicePrincipalTokenSecretRefreshSetsBody
--- PASS: TestServicePrincipalTokenSecretRefreshSetsBody (0.00s)
=== RUN   TestServicePrincipalTokenRefreshClosesRequestBody
--- PASS: TestServicePrincipalTokenRefreshClosesRequestBody (0.00s)
=== RUN   TestServicePrincipalTokenRefreshPropagatesErrors
--- PASS: TestServicePrincipalTokenRefreshPropagatesErrors (0.00s)
=== RUN   TestServicePrincipalTokenRefreshReturnsErrorIfNotOk
--- PASS: TestServicePrincipalTokenRefreshReturnsErrorIfNotOk (0.00s)
=== RUN   TestServicePrincipalTokenRefreshUnmarshals
--- PASS: TestServicePrincipalTokenRefreshUnmarshals (0.00s)
=== RUN   TestServicePrincipalTokenEnsureFreshRefreshes
--- PASS: TestServicePrincipalTokenEnsureFreshRefreshes (0.00s)
=== RUN   TestServicePrincipalTokenEnsureFreshSkipsIfFresh
--- PASS: TestServicePrincipalTokenEnsureFreshSkipsIfFresh (0.00s)
=== RUN   TestServicePrincipalTokenWithAuthorization
--- PASS: TestServicePrincipalTokenWithAuthorization (0.00s)
=== RUN
TestServicePrincipalTokenWithAuthorizationReturnsErrorIfCannotRefresh
--- PASS:
TestServicePrincipalTokenWithAuthorizationReturnsErrorIfCannotRefresh
(0.00s)
=== RUN   TestRefreshCallback
--- PASS: TestRefreshCallback (0.00s)
=== RUN   TestRefreshCallbackErrorPropagates
--- PASS: TestRefreshCallbackErrorPropagates (0.00s)
=== RUN   TestServicePrincipalTokenManualRefreshFailsWithoutRefresh
--- PASS: TestServicePrincipalTokenManualRefreshFailsWithoutRefresh (0.00s)
=== RUN   ExampleWithClientID
--- PASS: ExampleWithClientID (0.00s)
FAIL
exit status 1
FAIL	github.com/Azure/go-autorest/autorest/azure	1.674s
?   	github.com/Azure/go-autorest/autorest/azure/example	[no test files]
=== RUN   TestDateString
--- PASS: TestDateString (0.00s)
=== RUN   TestDateBinaryRoundTrip
--- PASS: TestDateBinaryRoundTrip (0.00s)
=== RUN   TestDateJSONRoundTrip
--- PASS: TestDateJSONRoundTrip (0.00s)
=== RUN   TestDateTextRoundTrip
--- PASS: TestDateTextRoundTrip (0.00s)
=== RUN   TestDateToTime
--- PASS: TestDateToTime (0.00s)
=== RUN   TestDateUnmarshalJSONReturnsError
--- PASS: TestDateUnmarshalJSONReturnsError (0.00s)
=== RUN   TestDateUnmarshalTextReturnsError
--- PASS: TestDateUnmarshalTextReturnsError (0.00s)
=== RUN   TestUnmarshalTextforInvalidDate
--- PASS: TestUnmarshalTextforInvalidDate (0.00s)
=== RUN   TestUnmarshalJSONforInvalidDate
--- PASS: TestUnmarshalJSONforInvalidDate (0.00s)
=== RUN   TestTimeString
--- PASS: TestTimeString (0.00s)
=== RUN   TestTimeStringReturnsEmptyStringForError
--- PASS: TestTimeStringReturnsEmptyStringForError (0.00s)
=== RUN   TestTimeBinaryRoundTrip
--- PASS: TestTimeBinaryRoundTrip (0.00s)
=== RUN   TestTimeJSONRoundTrip
--- PASS: TestTimeJSONRoundTrip (0.00s)
=== RUN   TestTimeTextRoundTrip
--- PASS: TestTimeTextRoundTrip (0.00s)
=== RUN   TestTimeToTime
--- PASS: TestTimeToTime (0.00s)
=== RUN   TestTimeRFC1123MarshalJSONInvalid
--- PASS: TestTimeRFC1123MarshalJSONInvalid (0.00s)
=== RUN   TestUnmarshalJSONforInvalidDateRfc1123
--- PASS: TestUnmarshalJSONforInvalidDateRfc1123 (0.00s)
=== RUN   TestUnmarshalTextforInvalidDateRfc1123
--- PASS: TestUnmarshalTextforInvalidDateRfc1123 (0.00s)
=== RUN   TestTimeStringRfc1123
--- PASS: TestTimeStringRfc1123 (0.00s)
=== RUN   TestTimeStringReturnsEmptyStringForErrorRfc1123
--- PASS: TestTimeStringReturnsEmptyStringForErrorRfc1123 (0.00s)
=== RUN   TestTimeBinaryRoundTripRfc1123
--- PASS: TestTimeBinaryRoundTripRfc1123 (0.00s)
=== RUN   TestTimeJSONRoundTripRfc1123
--- PASS: TestTimeJSONRoundTripRfc1123 (0.00s)
=== RUN   TestTimeTextRoundTripRfc1123
--- PASS: TestTimeTextRoundTripRfc1123 (0.00s)
=== RUN   TestTimeToTimeRFC1123
--- PASS: TestTimeToTimeRFC1123 (0.00s)
=== RUN   ExampleParseDate
--- PASS: ExampleParseDate (0.00s)
=== RUN   ExampleDate
--- PASS: ExampleDate (0.00s)
=== RUN   ExampleDate_MarshalBinary
--- PASS: ExampleDate_MarshalBinary (0.00s)
=== RUN   ExampleDate_UnmarshalBinary
--- PASS: ExampleDate_UnmarshalBinary (0.00s)
=== RUN   ExampleDate_MarshalJSON
--- PASS: ExampleDate_MarshalJSON (0.00s)
=== RUN   ExampleDate_UnmarshalJSON
--- PASS: ExampleDate_UnmarshalJSON (0.00s)
=== RUN   ExampleDate_MarshalText
--- PASS: ExampleDate_MarshalText (0.00s)
=== RUN   ExampleDate_UnmarshalText
--- PASS: ExampleDate_UnmarshalText (0.00s)
=== RUN   ExampleParseTime
--- PASS: ExampleParseTime (0.00s)
=== RUN   ExampleTime_MarshalBinary
--- PASS: ExampleTime_MarshalBinary (0.00s)
=== RUN   ExampleTime_UnmarshalBinary
--- PASS: ExampleTime_UnmarshalBinary (0.00s)
=== RUN   ExampleTime_MarshalJSON
--- PASS: ExampleTime_MarshalJSON (0.00s)
=== RUN   ExampleTime_UnmarshalJSON
--- PASS: ExampleTime_UnmarshalJSON (0.00s)
=== RUN   ExampleTime_MarshalText
--- PASS: ExampleTime_MarshalText (0.00s)
=== RUN   ExampleTime_UnmarshalText
--- PASS: ExampleTime_UnmarshalText (0.00s)
=== RUN   ExampleTimeRFC1123
--- PASS: ExampleTimeRFC1123 (0.00s)
=== RUN   ExampleTimeRFC1123_MarshalBinary
--- PASS: ExampleTimeRFC1123_MarshalBinary (0.00s)
=== RUN   ExampleTimeRFC1123_UnmarshalBinary
--- PASS: ExampleTimeRFC1123_UnmarshalBinary (0.00s)
=== RUN   ExampleTimeRFC1123_MarshalJSON
--- PASS: ExampleTimeRFC1123_MarshalJSON (0.00s)
=== RUN   ExampleTimeRFC1123_UnmarshalJSON
--- PASS: ExampleTimeRFC1123_UnmarshalJSON (0.00s)
=== RUN   ExampleTimeRFC1123_MarshalText
--- PASS: ExampleTimeRFC1123_MarshalText (0.00s)
=== RUN   ExampleTimeRFC1123_UnmarshalText
--- PASS: ExampleTimeRFC1123_UnmarshalText (0.00s)
PASS
ok  	github.com/Azure/go-autorest/autorest/date	0.063s
testing: warning: no tests to run
PASS
ok  	github.com/Azure/go-autorest/autorest/mocks	0.062s
=== RUN   TestString
--- PASS: TestString (0.00s)
=== RUN   TestStringHandlesNil
--- PASS: TestStringHandlesNil (0.00s)
=== RUN   TestStringPtr
--- PASS: TestStringPtr (0.00s)
=== RUN   TestStringSlice
--- PASS: TestStringSlice (0.00s)
=== RUN   TestStringSliceHandlesNil
--- PASS: TestStringSliceHandlesNil (0.00s)
=== RUN   TestStringSlicePtr
--- PASS: TestStringSlicePtr (0.00s)
=== RUN   TestStringMap
--- PASS: TestStringMap (0.00s)
=== RUN   TestStringMapHandlesNil
--- PASS: TestStringMapHandlesNil (0.00s)
=== RUN   TestStringMapPtr
--- PASS: TestStringMapPtr (0.00s)
=== RUN   TestBool
--- PASS: TestBool (0.00s)
=== RUN   TestBoolHandlesNil
--- PASS: TestBoolHandlesNil (0.00s)
=== RUN   TestBoolPtr
--- PASS: TestBoolPtr (0.00s)
=== RUN   TestInt
--- PASS: TestInt (0.00s)
=== RUN   TestIntHandlesNil
--- PASS: TestIntHandlesNil (0.00s)
=== RUN   TestIntPtr
--- PASS: TestIntPtr (0.00s)
=== RUN   TestInt32
--- PASS: TestInt32 (0.00s)
=== RUN   TestInt32HandlesNil
--- PASS: TestInt32HandlesNil (0.00s)
=== RUN   TestInt32Ptr
--- PASS: TestInt32Ptr (0.00s)
=== RUN   TestInt64
--- PASS: TestInt64 (0.00s)
=== RUN   TestInt64HandlesNil
--- PASS: TestInt64HandlesNil (0.00s)
=== RUN   TestInt64Ptr
--- PASS: TestInt64Ptr (0.00s)
=== RUN   TestFloat32
--- PASS: TestFloat32 (0.00s)
=== RUN   TestFloat32HandlesNil
--- PASS: TestFloat32HandlesNil (0.00s)
=== RUN   TestFloat32Ptr
--- PASS: TestFloat32Ptr (0.00s)
=== RUN   TestFloat64
--- PASS: TestFloat64 (0.00s)
=== RUN   TestFloat64HandlesNil
--- PASS: TestFloat64HandlesNil (0.00s)
=== RUN   TestFloat64Ptr
--- PASS: TestFloat64Ptr (0.00s)
PASS
ok  	github.com/Azure/go-autorest/autorest/to	0.064s
=== RUN   TestCheckForUniqueInArrayTrue
--- PASS: TestCheckForUniqueInArrayTrue (0.00s)
=== RUN   TestCheckForUniqueInArrayFalse
--- PASS: TestCheckForUniqueInArrayFalse (0.00s)
=== RUN   TestCheckForUniqueInArrayEmpty
--- PASS: TestCheckForUniqueInArrayEmpty (0.00s)
=== RUN   TestCheckForUniqueInMapTrue
--- PASS: TestCheckForUniqueInMapTrue (0.00s)
=== RUN   TestCheckForUniqueInMapFalse
--- PASS: TestCheckForUniqueInMapFalse (0.00s)
=== RUN   TestCheckForUniqueInMapEmpty
--- PASS: TestCheckForUniqueInMapEmpty (0.00s)
=== RUN   TestCheckEmpty_WithValueEmptyRuleTrue
--- PASS: TestCheckEmpty_WithValueEmptyRuleTrue (0.00s)
=== RUN   TestCheckEmpty_WithEmptyStringRuleFalse
--- PASS: TestCheckEmpty_WithEmptyStringRuleFalse (0.00s)
=== RUN   TestCheckEmpty_IncorrectRule
--- PASS: TestCheckEmpty_IncorrectRule (0.00s)
=== RUN   TestCheckEmpty_WithErrorArray
--- PASS: TestCheckEmpty_WithErrorArray (0.00s)
=== RUN   TestCheckNil_WithNilValueRuleTrue
--- PASS: TestCheckNil_WithNilValueRuleTrue (0.00s)
=== RUN   TestCheckNil_WithNilValueRuleFalse
--- PASS: TestCheckNil_WithNilValueRuleFalse (0.00s)
=== RUN   TestCheckNil_IncorrectRule
--- PASS: TestCheckNil_IncorrectRule (0.00s)
=== RUN   TestValidateArrayMap_WithNilValueRuleTrue
--- PASS: TestValidateArrayMap_WithNilValueRuleTrue (0.00s)
=== RUN   TestValidateArrayMap_WithNilValueRuleFalse
--- PASS: TestValidateArrayMap_WithNilValueRuleFalse (0.00s)
=== RUN   TestValidateArrayMap_WithValueRuleNullTrue
--- PASS: TestValidateArrayMap_WithValueRuleNullTrue (0.00s)
=== RUN   TestValidateArrayMap_WithEmptyValueRuleTrue
--- PASS: TestValidateArrayMap_WithEmptyValueRuleTrue (0.00s)
=== RUN   TestValidateArrayMap_WithEmptyValueRuleFalse
--- PASS: TestValidateArrayMap_WithEmptyValueRuleFalse (0.00s)
=== RUN   TestValidateArrayMap_WithEmptyRuleEmptyTrue
--- PASS: TestValidateArrayMap_WithEmptyRuleEmptyTrue (0.00s)
=== RUN   TestValidateArrayMap_MaxItemsIncorrectRule
--- PASS: TestValidateArrayMap_MaxItemsIncorrectRule (0.00s)
=== RUN   TestValidateArrayMap_MaxItemsNoError
--- PASS: TestValidateArrayMap_MaxItemsNoError (0.00s)
=== RUN   TestValidateArrayMap_MaxItemsWithError
--- PASS: TestValidateArrayMap_MaxItemsWithError (0.00s)
=== RUN   TestValidateArrayMap_MaxItemsWithEmpty
--- PASS: TestValidateArrayMap_MaxItemsWithEmpty (0.00s)
=== RUN   TestValidateArrayMap_MinItemsIncorrectRule
--- PASS: TestValidateArrayMap_MinItemsIncorrectRule (0.00s)
=== RUN   TestValidateArrayMap_MinItemsNoError1
--- PASS: TestValidateArrayMap_MinItemsNoError1 (0.00s)
=== RUN   TestValidateArrayMap_MinItemsNoError2
--- PASS: TestValidateArrayMap_MinItemsNoError2 (0.00s)
=== RUN   TestValidateArrayMap_MinItemsWithError
--- PASS: TestValidateArrayMap_MinItemsWithError (0.00s)
=== RUN   TestValidateArrayMap_MinItemsWithEmpty
--- PASS: TestValidateArrayMap_MinItemsWithEmpty (0.00s)
=== RUN   TestValidateArrayMap_Map_MaxItemsIncorrectRule
--- PASS: TestValidateArrayMap_Map_MaxItemsIncorrectRule (0.00s)
=== RUN   TestValidateArrayMap_Map_MaxItemsNoError
--- PASS: TestValidateArrayMap_Map_MaxItemsNoError (0.00s)
=== RUN   TestValidateArrayMap_Map_MaxItemsWithError
--- PASS: TestValidateArrayMap_Map_MaxItemsWithError (0.00s)
=== RUN   TestValidateArrayMap_Map_MaxItemsWithEmpty
--- PASS: TestValidateArrayMap_Map_MaxItemsWithEmpty (0.00s)
=== RUN   TestValidateArrayMap_Map_MinItemsIncorrectRule
--- PASS: TestValidateArrayMap_Map_MinItemsIncorrectRule (0.00s)
=== RUN   TestValidateArrayMap_Map_MinItemsNoError1
--- PASS: TestValidateArrayMap_Map_MinItemsNoError1 (0.00s)
=== RUN   TestValidateArrayMap_Map_MinItemsNoError2
--- PASS: TestValidateArrayMap_Map_MinItemsNoError2 (0.00s)
=== RUN   TestValidateArrayMap_Map_MinItemsWithError
--- PASS: TestValidateArrayMap_Map_MinItemsWithError (0.00s)
=== RUN   TestValidateArrayMap_Map_MinItemsWithEmpty
--- PASS: TestValidateArrayMap_Map_MinItemsWithEmpty (0.00s)
=== RUN   TestValidateArrayMap_Map_UniqueItemsTrue
--- PASS: TestValidateArrayMap_Map_UniqueItemsTrue (0.00s)
=== RUN   TestValidateArrayMap_Map_UniqueItemsFalse
--- PASS: TestValidateArrayMap_Map_UniqueItemsFalse (0.00s)
=== RUN   TestValidateArrayMap_Map_UniqueItemsEmpty
--- PASS: TestValidateArrayMap_Map_UniqueItemsEmpty (0.00s)
=== RUN   TestValidateArrayMap_Map_UniqueItemsNil
--- PASS: TestValidateArrayMap_Map_UniqueItemsNil (0.00s)
=== RUN   TestValidateArrayMap_Array_UniqueItemsTrue
--- PASS: TestValidateArrayMap_Array_UniqueItemsTrue (0.00s)
=== RUN   TestValidateArrayMap_Array_UniqueItemsFalse
--- PASS: TestValidateArrayMap_Array_UniqueItemsFalse (0.00s)
=== RUN   TestValidateArrayMap_Array_UniqueItemsEmpty
--- PASS: TestValidateArrayMap_Array_UniqueItemsEmpty (0.00s)
=== RUN   TestValidateArrayMap_Array_UniqueItemsNil
--- PASS: TestValidateArrayMap_Array_UniqueItemsNil (0.00s)
=== RUN   TestValidateArrayMap_Array_UniqueItemsInvalidType
--- PASS: TestValidateArrayMap_Array_UniqueItemsInvalidType (0.00s)
=== RUN   TestValidateArrayMap_Array_UniqueItemsInvalidConstraint
--- PASS: TestValidateArrayMap_Array_UniqueItemsInvalidConstraint (0.00s)
=== RUN   TestValidateArrayMap_ValidateChainConstraint1
--- PASS: TestValidateArrayMap_ValidateChainConstraint1 (0.00s)
=== RUN   TestValidateArrayMap_ValidateChainConstraint2
--- PASS: TestValidateArrayMap_ValidateChainConstraint2 (0.00s)
=== RUN   TestValidateArrayMap_ValidateChainConstraint3
--- PASS: TestValidateArrayMap_ValidateChainConstraint3 (0.00s)
=== RUN   TestValidateArrayMap_ValidateChainConstraint4
--- PASS: TestValidateArrayMap_ValidateChainConstraint4 (0.00s)
=== RUN   TestValidateArrayMap_ValidateChainConstraintNilNotRequired
--- PASS: TestValidateArrayMap_ValidateChainConstraintNilNotRequired (0.00s)
=== RUN   TestValidateArrayMap_ValidateChainConstraintEmptyNotRequired
--- PASS: TestValidateArrayMap_ValidateChainConstraintEmptyNotRequired
(0.00s)
=== RUN   TestValidateArrayMap_ReadOnlyWithError
--- PASS: TestValidateArrayMap_ReadOnlyWithError (0.00s)
=== RUN   TestValidateArrayMap_ReadOnlyWithoutError
--- PASS: TestValidateArrayMap_ReadOnlyWithoutError (0.00s)
=== RUN   TestValidateString_ReadOnly
--- PASS: TestValidateString_ReadOnly (0.00s)
=== RUN   TestValidateString_EmptyTrue
--- PASS: TestValidateString_EmptyTrue (0.00s)
=== RUN   TestValidateString_EmptyFalse
--- PASS: TestValidateString_EmptyFalse (0.00s)
=== RUN   TestValidateString_MaxLengthInvalid
--- PASS: TestValidateString_MaxLengthInvalid (0.00s)
=== RUN   TestValidateString_MaxLengthValid
--- PASS: TestValidateString_MaxLengthValid (0.00s)
=== RUN   TestValidateString_MaxLengthRuleInvalid
--- PASS: TestValidateString_MaxLengthRuleInvalid (0.00s)
=== RUN   TestValidateString_MinLengthInvalid
--- PASS: TestValidateString_MinLengthInvalid (0.00s)
=== RUN   TestValidateString_MinLengthValid
--- PASS: TestValidateString_MinLengthValid (0.00s)
=== RUN   TestValidateString_MinLengthRuleInvalid
--- PASS: TestValidateString_MinLengthRuleInvalid (0.00s)
=== RUN   TestValidateString_PatternInvalidPattern
--- PASS: TestValidateString_PatternInvalidPattern (0.00s)
=== RUN   TestValidateString_PatternMatch1
--- PASS: TestValidateString_PatternMatch1 (0.00s)
=== RUN   TestValidateString_PatternMatch2
--- PASS: TestValidateString_PatternMatch2 (0.00s)
=== RUN   TestValidateString_PatternNotMatch
--- PASS: TestValidateString_PatternNotMatch (0.00s)
=== RUN   TestValidateString_InvalidConstraint
--- PASS: TestValidateString_InvalidConstraint (0.00s)
=== RUN   TestValidateFloat_InvalidConstraint
--- PASS: TestValidateFloat_InvalidConstraint (0.00s)
=== RUN   TestValidateFloat_InvalidRuleValue
--- PASS: TestValidateFloat_InvalidRuleValue (0.00s)
=== RUN   TestValidateFloat_ExclusiveMinimumConstraintValid
--- PASS: TestValidateFloat_ExclusiveMinimumConstraintValid (0.00s)
=== RUN   TestValidateFloat_ExclusiveMinimumConstraintInvalid
--- PASS: TestValidateFloat_ExclusiveMinimumConstraintInvalid (0.00s)
=== RUN   TestValidateFloat_ExclusiveMinimumConstraintBoundary
--- PASS: TestValidateFloat_ExclusiveMinimumConstraintBoundary (0.00s)
=== RUN   TestValidateFloat_exclusiveMaximumConstraintValid
--- PASS: TestValidateFloat_exclusiveMaximumConstraintValid (0.00s)
=== RUN   TestValidateFloat_exclusiveMaximumConstraintInvalid
--- PASS: TestValidateFloat_exclusiveMaximumConstraintInvalid (0.00s)
=== RUN   TestValidateFloat_exclusiveMaximumConstraintBoundary
--- PASS: TestValidateFloat_exclusiveMaximumConstraintBoundary (0.00s)
=== RUN   TestValidateFloat_inclusiveMaximumConstraintValid
--- PASS: TestValidateFloat_inclusiveMaximumConstraintValid (0.00s)
=== RUN   TestValidateFloat_inclusiveMaximumConstraintInvalid
--- PASS: TestValidateFloat_inclusiveMaximumConstraintInvalid (0.00s)
=== RUN   TestValidateFloat_inclusiveMaximumConstraintBoundary
--- PASS: TestValidateFloat_inclusiveMaximumConstraintBoundary (0.00s)
=== RUN   TestValidateFloat_InclusiveMinimumConstraintValid
--- PASS: TestValidateFloat_InclusiveMinimumConstraintValid (0.00s)
=== RUN   TestValidateFloat_InclusiveMinimumConstraintInvalid
--- PASS: TestValidateFloat_InclusiveMinimumConstraintInvalid (0.00s)
=== RUN   TestValidateFloat_InclusiveMinimumConstraintBoundary
--- PASS: TestValidateFloat_InclusiveMinimumConstraintBoundary (0.00s)
=== RUN   TestValidateInt_InvalidConstraint
--- PASS: TestValidateInt_InvalidConstraint (0.00s)
=== RUN   TestValidateInt_InvalidRuleValue
--- PASS: TestValidateInt_InvalidRuleValue (0.00s)
=== RUN   TestValidateInt_ExclusiveMinimumConstraintValid
--- PASS: TestValidateInt_ExclusiveMinimumConstraintValid (0.00s)
=== RUN   TestValidateInt_ExclusiveMinimumConstraintInvalid
--- PASS: TestValidateInt_ExclusiveMinimumConstraintInvalid (0.00s)
=== RUN   TestValidateInt_ExclusiveMinimumConstraintBoundary
--- PASS: TestValidateInt_ExclusiveMinimumConstraintBoundary (0.00s)
=== RUN   TestValidateInt_exclusiveMaximumConstraintValid
--- PASS: TestValidateInt_exclusiveMaximumConstraintValid (0.00s)
=== RUN   TestValidateInt_exclusiveMaximumConstraintInvalid
--- PASS: TestValidateInt_exclusiveMaximumConstraintInvalid (0.00s)
=== RUN   TestValidateInt_exclusiveMaximumConstraintBoundary
--- PASS: TestValidateInt_exclusiveMaximumConstraintBoundary (0.00s)
=== RUN   TestValidateInt_inclusiveMaximumConstraintValid
--- PASS: TestValidateInt_inclusiveMaximumConstraintValid (0.00s)
=== RUN   TestValidateInt_inclusiveMaximumConstraintInvalid
--- PASS: TestValidateInt_inclusiveMaximumConstraintInvalid (0.00s)
=== RUN   TestValidateInt_inclusiveMaximumConstraintBoundary
--- PASS: TestValidateInt_inclusiveMaximumConstraintBoundary (0.00s)
=== RUN   TestValidateInt_InclusiveMinimumConstraintValid
--- PASS: TestValidateInt_InclusiveMinimumConstraintValid (0.00s)
=== RUN   TestValidateInt_InclusiveMinimumConstraintInvalid
--- PASS: TestValidateInt_InclusiveMinimumConstraintInvalid (0.00s)
=== RUN   TestValidateInt_InclusiveMinimumConstraintBoundary
--- PASS: TestValidateInt_InclusiveMinimumConstraintBoundary (0.00s)
=== RUN   TestValidateInt_MultipleOfWithoutError
--- PASS: TestValidateInt_MultipleOfWithoutError (0.00s)
=== RUN   TestValidateInt_MultipleOfWithError
--- PASS: TestValidateInt_MultipleOfWithError (0.00s)
=== RUN   TestValidatePointer_NilTrue
--- PASS: TestValidatePointer_NilTrue (0.00s)
=== RUN   TestValidatePointer_NilFalse
--- PASS: TestValidatePointer_NilFalse (0.00s)
=== RUN   TestValidatePointer_NilReadonlyValid
--- PASS: TestValidatePointer_NilReadonlyValid (0.00s)
=== RUN   TestValidatePointer_NilReadonlyInvalid
--- PASS: TestValidatePointer_NilReadonlyInvalid (0.00s)
=== RUN   TestValidatePointer_IntValid
--- PASS: TestValidatePointer_IntValid (0.00s)
=== RUN   TestValidatePointer_IntInvalid
--- PASS: TestValidatePointer_IntInvalid (0.00s)
=== RUN   TestValidatePointer_IntInvalidConstraint
--- PASS: TestValidatePointer_IntInvalidConstraint (0.00s)
=== RUN   TestValidatePointer_ValidInt64
--- PASS: TestValidatePointer_ValidInt64 (0.00s)
=== RUN   TestValidatePointer_InvalidConstraintInt64
--- PASS: TestValidatePointer_InvalidConstraintInt64 (0.00s)
=== RUN   TestValidatePointer_ValidFloat
--- PASS: TestValidatePointer_ValidFloat (0.00s)
=== RUN   TestValidatePointer_InvalidFloat
--- PASS: TestValidatePointer_InvalidFloat (0.00s)
=== RUN   TestValidatePointer_InvalidConstraintFloat
--- PASS: TestValidatePointer_InvalidConstraintFloat (0.00s)
=== RUN   TestValidatePointer_StringValid
--- PASS: TestValidatePointer_StringValid (0.00s)
=== RUN   TestValidatePointer_StringInvalid
--- PASS: TestValidatePointer_StringInvalid (0.00s)
=== RUN   TestValidatePointer_ArrayValid
--- PASS: TestValidatePointer_ArrayValid (0.00s)
=== RUN   TestValidatePointer_ArrayInvalid
--- PASS: TestValidatePointer_ArrayInvalid (0.00s)
=== RUN   TestValidatePointer_MapValid
--- PASS: TestValidatePointer_MapValid (0.00s)
=== RUN   TestValidatePointer_MapInvalid
--- PASS: TestValidatePointer_MapInvalid (0.00s)
=== RUN   TestValidatePointer_StructWithError
--- PASS: TestValidatePointer_StructWithError (0.00s)
=== RUN   TestValidatePointer_WithNilStruct
--- PASS: TestValidatePointer_WithNilStruct (0.00s)
=== RUN   TestValidatePointer_StructWithNoError
--- PASS: TestValidatePointer_StructWithNoError (0.00s)
=== RUN   TestValidateStruct_FieldNotExist
--- PASS: TestValidateStruct_FieldNotExist (0.00s)
=== RUN   TestValidateStruct_WithChainConstraint
--- PASS: TestValidateStruct_WithChainConstraint (0.00s)
=== RUN   TestValidateStruct_WithoutChainConstraint
--- PASS: TestValidateStruct_WithoutChainConstraint (0.00s)
=== RUN   TestValidateStruct_WithArrayNull
--- PASS: TestValidateStruct_WithArrayNull (0.00s)
=== RUN   TestValidateStruct_WithArrayEmptyError
--- PASS: TestValidateStruct_WithArrayEmptyError (0.00s)
=== RUN   TestValidateStruct_WithArrayEmptyWithoutError
--- PASS: TestValidateStruct_WithArrayEmptyWithoutError (0.00s)
=== RUN   TestValidateStruct_ArrayWithError
--- PASS: TestValidateStruct_ArrayWithError (0.00s)
=== RUN   TestValidateStruct_MapWithError
--- PASS: TestValidateStruct_MapWithError (0.00s)
=== RUN   TestValidateStruct_MapWithNoError
--- PASS: TestValidateStruct_MapWithNoError (0.00s)
=== RUN   TestValidateStruct_MapNilNoError
--- PASS: TestValidateStruct_MapNilNoError (0.00s)
=== RUN   TestValidate_MapValidationWithError
--- PASS: TestValidate_MapValidationWithError (0.00s)
=== RUN   TestValidate_MapValidationWithoutError
--- PASS: TestValidate_MapValidationWithoutError (0.00s)
=== RUN   TestValidate_UnknownType
--- PASS: TestValidate_UnknownType (0.00s)
=== RUN   TestValidate_example1
--- PASS: TestValidate_example1 (0.00s)
=== RUN   TestValidate_Int
--- PASS: TestValidate_Int (0.00s)
=== RUN   TestValidate_IntPointer
--- PASS: TestValidate_IntPointer (0.00s)
=== RUN   TestValidate_IntStruct
--- PASS: TestValidate_IntStruct (0.00s)
=== RUN   TestValidate_String
--- PASS: TestValidate_String (0.00s)
=== RUN   TestValidate_StringStruct
--- PASS: TestValidate_StringStruct (0.00s)
=== RUN   TestValidate_Array
--- PASS: TestValidate_Array (0.00s)
=== RUN   TestValidate_ArrayPointer
--- PASS: TestValidate_ArrayPointer (0.00s)
=== RUN   TestValidate_ArrayInStruct
--- PASS: TestValidate_ArrayInStruct (0.00s)
=== RUN   TestValidate_StructInStruct
--- PASS: TestValidate_StructInStruct (0.00s)
=== RUN   TestNewErrorWithValidationError
--- PASS: TestNewErrorWithValidationError (0.00s)
PASS
ok  	github.com/Azure/go-autorest/autorest/validation	0.071s
dh_auto_test: go test -v -p 1 github.com/Azure/go-autorest/autorest
github.com/Azure/go-autorest/autorest/azure
github.com/Azure/go-autorest/autorest/azure/example
github.com/Azure/go-autorest/autorest/date
github.com/Azure/go-autorest/autorest/mocks
github.com/Azure/go-autorest/autorest/to
github.com/Azure/go-autorest/autorest/validation 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 829 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20161009/1da99c15/attachment-0001.sig>


More information about the Pkg-go-maintainers mailing list