Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TT-5307] update jaeger-client-go #4049

Merged
merged 2 commits into from May 13, 2022
Merged

Conversation

jeffy-mathew
Copy link
Contributor

@jeffy-mathew jeffy-mathew commented May 13, 2022

[changelog]
internal: update jaeger-client-go

Description

this unblocks go mod update in tyk analytics

go: github.com/TykTechnologies/tyk-analytics/dashboard imports
	github.com/TykTechnologies/tyk/config imports
	github.com/uber/jaeger-client-go/config imports
	github.com/uber/jaeger-client-go/internal/baggage/remote tested by
	github.com/uber/jaeger-client-go/internal/baggage/remote.test imports
	github.com/uber-go/atomic: github.com/uber-go/atomic@v1.9.0: parsing go.mod:
	module declares its path as: go.uber.org/atomic
	        but was required as: github.com/uber-go/atomic

fix released in jaegertracing/jaeger-client-go#464 (comment)

Related Issue

Motivation and Context

How This Has Been Tested

Screenshots (if appropriate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Refactoring or add test (improvements in base code or adds test coverage to functionality)

Checklist

  • Make sure you are requesting to pull a topic/feature/bugfix branch (right side). If pulling from your own
    fork, don't request your master!
  • Make sure you are making a pull request against the master branch (left side). Also, you should start
    your branch off our latest master.
  • My change requires a change to the documentation.
    • If you've changed APIs, describe what needs to be updated in the documentation.
    • If new config option added, ensure that it can be set via ENV variable
  • I have updated the documentation accordingly.
  • Modules and vendor dependencies have been updated; run go mod tidy && go mod vendor
  • When updating library version must provide reason/explanation for this update.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • Check your code additions will not fail linting checks:
    • go fmt -s
    • go vet

@github-actions
Copy link

💥 CI tests failed 🙈

CI test log

go test -race -timeout 15m -v -coverprofile=tyk.cov github.com/TykTechnologies/tyk
?   	github.com/TykTechnologies/tyk	[no test files]
go vet github.com/TykTechnologies/tyk
go test -race -timeout 15m -v -coverprofile=apidef.cov github.com/TykTechnologies/tyk/apidef
=== RUN   TestSchema
--- PASS: TestSchema (0.02s)
=== RUN   TestEncodeForDB
=== RUN   TestEncodeForDB/update_ScopeClaim_when_Scopes.JWT_is_not_empty_and_OIDC_is_not_enabled
=== RUN   TestEncodeForDB/update_ScopeClaim_when_Scopes.OIDC_is_not_empty_and_OpenID_is_enabled
--- PASS: TestEncodeForDB (0.00s)
    --- PASS: TestEncodeForDB/update_ScopeClaim_when_Scopes.JWT_is_not_empty_and_OIDC_is_not_enabled (0.00s)
    --- PASS: TestEncodeForDB/update_ScopeClaim_when_Scopes.OIDC_is_not_empty_and_OpenID_is_enabled (0.00s)
=== RUN   TestDecodeFromDB
=== RUN   TestDecodeFromDB/update_Scopes.JWT_when_JWTScopeClaimName_is_not_empty
time="May 13 07:08:42" level=error msg="Couldn't Decode, leaving as it may be legacy..."
=== RUN   TestDecodeFromDB/update_Scopes.OIDC_when_JWTScopeClaimName_is_not_empty_and_OpenID_is_enabled
time="May 13 07:08:42" level=error msg="Couldn't Decode, leaving as it may be legacy..."
--- PASS: TestDecodeFromDB (0.00s)
    --- PASS: TestDecodeFromDB/update_Scopes.JWT_when_JWTScopeClaimName_is_not_empty (0.00s)
    --- PASS: TestDecodeFromDB/update_Scopes.OIDC_when_JWTScopeClaimName_is_not_empty_and_OpenID_is_enabled (0.00s)
=== RUN   TestSchemaGraphqlConfig
--- PASS: TestSchemaGraphqlConfig (0.01s)
=== RUN   TestAPIDefinition_DecodeFromDB_AuthDeprecation
time="May 13 07:08:42" level=error msg="Couldn't Decode, leaving as it may be legacy..."
time="May 13 07:08:42" level=error msg="Couldn't Decode, leaving as it may be legacy..."
--- PASS: TestAPIDefinition_DecodeFromDB_AuthDeprecation (0.00s)
=== RUN   TestAPIDefinition_MigrateVersioning
--- PASS: TestAPIDefinition_MigrateVersioning (0.00s)
=== RUN   TestAPIDefinition_MigrateVersioning_Disabled
=== RUN   TestAPIDefinition_MigrateVersioning_Disabled/multiple_versions
=== RUN   TestAPIDefinition_MigrateVersioning_Disabled/one_version
--- PASS: TestAPIDefinition_MigrateVersioning_Disabled (0.00s)
    --- PASS: TestAPIDefinition_MigrateVersioning_Disabled/multiple_versions (0.00s)
    --- PASS: TestAPIDefinition_MigrateVersioning_Disabled/one_version (0.00s)
=== RUN   TestAPIDefinition_MigrateVersioning_DefaultEmpty
=== RUN   TestAPIDefinition_MigrateVersioning_DefaultEmpty/Default
--- PASS: TestAPIDefinition_MigrateVersioning_DefaultEmpty (0.00s)
    --- PASS: TestAPIDefinition_MigrateVersioning_DefaultEmpty/Default (0.00s)
=== RUN   TestAPIDefinition_MigrateVersioning_Expires
=== RUN   TestAPIDefinition_MigrateVersioning_Expires/version_enabled
=== RUN   TestAPIDefinition_MigrateVersioning_Expires/version_disabled
--- PASS: TestAPIDefinition_MigrateVersioning_Expires (0.00s)
    --- PASS: TestAPIDefinition_MigrateVersioning_Expires/version_enabled (0.00s)
    --- PASS: TestAPIDefinition_MigrateVersioning_Expires/version_disabled (0.00s)
=== RUN   TestAPIDefinition_MigrateVersioning_OverrideTarget
=== RUN   TestAPIDefinition_MigrateVersioning_OverrideTarget/base
=== RUN   TestAPIDefinition_MigrateVersioning_OverrideTarget/version
--- PASS: TestAPIDefinition_MigrateVersioning_OverrideTarget (0.00s)
    --- PASS: TestAPIDefinition_MigrateVersioning_OverrideTarget/base (0.00s)
    --- PASS: TestAPIDefinition_MigrateVersioning_OverrideTarget/version (0.00s)
=== RUN   TestAPIDefinition_MigrateVersioning_StripPath
=== RUN   TestAPIDefinition_MigrateVersioning_StripPath/url
=== RUN   TestAPIDefinition_MigrateVersioning_StripPath/param
=== RUN   TestAPIDefinition_MigrateVersioning_StripPath/header
--- PASS: TestAPIDefinition_MigrateVersioning_StripPath (0.00s)
    --- PASS: TestAPIDefinition_MigrateVersioning_StripPath/url (0.00s)
    --- PASS: TestAPIDefinition_MigrateVersioning_StripPath/param (0.00s)
    --- PASS: TestAPIDefinition_MigrateVersioning_StripPath/header (0.00s)
=== RUN   TestAPIDefinition_MigrateEndpointMeta
--- PASS: TestAPIDefinition_MigrateEndpointMeta (0.00s)
=== RUN   TestAPIDefinition_MigrateCachePlugin
--- PASS: TestAPIDefinition_MigrateCachePlugin (0.00s)
=== RUN   TestAPIDefinition_MigrateAuthConfigNames
--- PASS: TestAPIDefinition_MigrateAuthConfigNames (0.00s)
=== RUN   TestValidationResult_HasErrors
--- PASS: TestValidationResult_HasErrors (0.00s)
=== RUN   TestValidationResult_FirstError
--- PASS: TestValidationResult_FirstError (0.00s)
=== RUN   TestValidationResult_ErrorStrings
--- PASS: TestValidationResult_ErrorStrings (0.00s)
=== RUN   TestRuleUniqueDataSourceNames_Validate
=== RUN   TestRuleUniqueDataSourceNames_Validate/should_return_invalid_when_data_source_name_is_duplicated
=== RUN   TestRuleUniqueDataSourceNames_Validate/return_valid_when_data_source_names_are_not_duplicated
=== RUN   TestRuleUniqueDataSourceNames_Validate/return_valid_when_there_are_no_data_sources
--- PASS: TestRuleUniqueDataSourceNames_Validate (0.00s)
    --- PASS: TestRuleUniqueDataSourceNames_Validate/should_return_invalid_when_data_source_name_is_duplicated (0.00s)
    --- PASS: TestRuleUniqueDataSourceNames_Validate/return_valid_when_data_source_names_are_not_duplicated (0.00s)
    --- PASS: TestRuleUniqueDataSourceNames_Validate/return_valid_when_there_are_no_data_sources (0.00s)
=== RUN   TestRuleAtLeastEnableOneAuthConfig_Validate
=== RUN   TestRuleAtLeastEnableOneAuthConfig_Validate/should_return_invalid_when_all_sources_are_disabled_for_enabled_auth_mechanisms
=== RUN   TestRuleAtLeastEnableOneAuthConfig_Validate/should_return_valid_when_at_least_one_source_is_enabled_for_enabled_auth_mechanisms
--- PASS: TestRuleAtLeastEnableOneAuthConfig_Validate (0.00s)
    --- PASS: TestRuleAtLeastEnableOneAuthConfig_Validate/should_return_invalid_when_all_sources_are_disabled_for_enabled_auth_mechanisms (0.00s)
    --- PASS: TestRuleAtLeastEnableOneAuthConfig_Validate/should_return_valid_when_at_least_one_source_is_enabled_for_enabled_auth_mechanisms (0.00s)
PASS
coverage: 62.1% of statements
ok  	github.com/TykTechnologies/tyk/apidef	0.107s	coverage: 62.1% of statements
go vet github.com/TykTechnologies/tyk/apidef
go test -race -timeout 15m -v -coverprofile=adapter.cov github.com/TykTechnologies/tyk/apidef/adapter
=== RUN   TestGraphQLConfigAdapter_EngineConfigV2
=== RUN   TestGraphQLConfigAdapter_EngineConfigV2/should_create_v2_config_for_proxy-only_mode
=== RUN   TestGraphQLConfigAdapter_EngineConfigV2/should_create_v2_config_for_internal_proxy-only_api
=== RUN   TestGraphQLConfigAdapter_EngineConfigV2/should_create_v2_config_for_engine_execution_mode_without_error
=== RUN   TestGraphQLConfigAdapter_EngineConfigV2/should_create_v2_config_for_supergraph_execution_mode_without_error
=== RUN   TestGraphQLConfigAdapter_EngineConfigV2/should_create_v2_config_for_supergraph_with_batching_disabled
=== RUN   TestGraphQLConfigAdapter_EngineConfigV2/should_create_v2_config_for_subgraph_without_error
=== RUN   TestGraphQLConfigAdapter_EngineConfigV2/should_return_an_error_for_unsupported_config
--- PASS: TestGraphQLConfigAdapter_EngineConfigV2 (0.06s)
    --- PASS: TestGraphQLConfigAdapter_EngineConfigV2/should_create_v2_config_for_proxy-only_mode (0.01s)
    --- PASS: TestGraphQLConfigAdapter_EngineConfigV2/should_create_v2_config_for_internal_proxy-only_api (0.01s)
    --- PASS: TestGraphQLConfigAdapter_EngineConfigV2/should_create_v2_config_for_engine_execution_mode_without_error (0.01s)
    --- PASS: TestGraphQLConfigAdapter_EngineConfigV2/should_create_v2_config_for_supergraph_execution_mode_without_error (0.01s)
    --- PASS: TestGraphQLConfigAdapter_EngineConfigV2/should_create_v2_config_for_supergraph_with_batching_disabled (0.01s)
    --- PASS: TestGraphQLConfigAdapter_EngineConfigV2/should_create_v2_config_for_subgraph_without_error (0.01s)
    --- PASS: TestGraphQLConfigAdapter_EngineConfigV2/should_return_an_error_for_unsupported_config (0.00s)
=== RUN   TestGraphQLConfigAdapter_supergraphDataSourceConfigs
--- PASS: TestGraphQLConfigAdapter_supergraphDataSourceConfigs (0.00s)
=== RUN   TestGraphQLConfigAdapter_engineConfigV2FieldConfigs
--- PASS: TestGraphQLConfigAdapter_engineConfigV2FieldConfigs (0.01s)
=== RUN   TestGraphQLConfigAdapter_engineConfigV2DataSources
--- PASS: TestGraphQLConfigAdapter_engineConfigV2DataSources (0.02s)
PASS
coverage: 88.9% of statements
ok  	github.com/TykTechnologies/tyk/apidef/adapter	0.137s	coverage: 88.9% of statements
go vet github.com/TykTechnologies/tyk/apidef/adapter
go test -race -timeout 15m -v -coverprofile=importer.cov github.com/TykTechnologies/tyk/apidef/importer
=== RUN   TestToAPIDefinition_Swagger
--- PASS: TestToAPIDefinition_Swagger (0.01s)
=== RUN   TestToAPIDefinition_WSDL
time="May 13 07:08:47" level=error msg="Port for service HolidayService2 not found. Skiping processing of the service"
time="May 13 07:08:47" level=error msg="Unsupported transport protocol. Skipping process of the service StockQuoteService"
time="May 13 07:08:47" level=error msg="Port for service StockQuoteService not found. Skiping processing of the service"
--- PASS: TestToAPIDefinition_WSDL (0.03s)
PASS
coverage: 65.7% of statements
ok  	github.com/TykTechnologies/tyk/apidef/importer	0.086s	coverage: 65.7% of statements
go vet github.com/TykTechnologies/tyk/apidef/importer
go test -race -timeout 15m -v -coverprofile=oas.cov github.com/TykTechnologies/tyk/apidef/oas
=== RUN   TestAuthentication
=== RUN   TestAuthentication/Fill_just_GoPlugin
--- PASS: TestAuthentication (0.00s)
    --- PASS: TestAuthentication/Fill_just_GoPlugin (0.00s)
=== RUN   TestScopes
--- PASS: TestScopes (0.00s)
=== RUN   TestAuthSources
--- PASS: TestAuthSources (0.00s)
=== RUN   TestAuthSource
=== RUN   TestAuthSource/param
=== RUN   TestAuthSource/cookie
--- PASS: TestAuthSource (0.00s)
    --- PASS: TestAuthSource/param (0.00s)
    --- PASS: TestAuthSource/cookie (0.00s)
=== RUN   TestSignature
--- PASS: TestSignature (0.00s)
=== RUN   TestHMAC
--- PASS: TestHMAC (0.00s)
=== RUN   TestOIDC
--- PASS: TestOIDC (0.00s)
=== RUN   TestGoPlugin
--- PASS: TestGoPlugin (0.00s)
=== RUN   TestCustomPlugin
--- PASS: TestCustomPlugin (0.00s)
=== RUN   TestOAS_BuildDefaultTykExtension
=== PAUSE TestOAS_BuildDefaultTykExtension
=== RUN   TestMiddleware
--- PASS: TestMiddleware (0.00s)
=== RUN   TestGlobal
--- PASS: TestGlobal (0.00s)
=== RUN   TestCORS
--- PASS: TestCORS (0.00s)
=== RUN   TestCache
--- PASS: TestCache (0.00s)
=== RUN   TestExtendedPaths
=== RUN   TestExtendedPaths/empty
=== RUN   TestExtendedPaths/filled
--- PASS: TestExtendedPaths (0.01s)
    --- PASS: TestExtendedPaths/empty (0.00s)
    --- PASS: TestExtendedPaths/filled (0.01s)
=== RUN   TestMockResponse
--- PASS: TestMockResponse (0.00s)
=== RUN   TestOAS
=== RUN   TestOAS/empty
--- PASS: TestOAS (0.00s)
    --- PASS: TestOAS/empty (0.00s)
=== RUN   TestOAS_AddServers
=== PAUSE TestOAS_AddServers
=== RUN   TestOAS_UpdateServers
=== PAUSE TestOAS_UpdateServers
=== RUN   TestShouldOmit
--- PASS: TestShouldOmit (0.00s)
=== RUN   TestOAS_PathsAndOperations
=== PAUSE TestOAS_PathsAndOperations
=== RUN   TestOAS_PathsAndOperationsRegex
=== PAUSE TestOAS_PathsAndOperationsRegex
=== RUN   TestOAS_RegexOperationIDs
=== PAUSE TestOAS_RegexOperationIDs
=== RUN   TestOAS_RegexPaths
=== PAUSE TestOAS_RegexPaths
=== RUN   TestValidateRequest
=== RUN   TestValidateRequest/ref
=== RUN   TestValidateRequest/value
--- PASS: TestValidateRequest (0.00s)
    --- PASS: TestValidateRequest/ref (0.00s)
    --- PASS: TestValidateRequest/value (0.00s)
=== RUN   TestXTykAPIGateway
=== RUN   TestXTykAPIGateway/empty
=== RUN   TestXTykAPIGateway/filled_OAS
=== RUN   TestXTykAPIGateway/filled_old
--- PASS: TestXTykAPIGateway (0.00s)
    --- PASS: TestXTykAPIGateway/empty (0.00s)
    --- SKIP: TestXTykAPIGateway/filled_OAS (0.00s)
    --- SKIP: TestXTykAPIGateway/filled_old (0.00s)
=== RUN   TestInfo
--- PASS: TestInfo (0.00s)
=== RUN   TestState
--- PASS: TestState (0.00s)
=== RUN   TestVersioning
--- PASS: TestVersioning (0.00s)
=== RUN   TestOAS_Security
--- PASS: TestOAS_Security (0.00s)
=== RUN   TestOAS_ApiKeyScheme
=== RUN   TestOAS_ApiKeyScheme/should_not_set_header_name_in_tyk_extension
=== RUN   TestOAS_ApiKeyScheme/should_not_set_query_name_in_tyk_extension
=== RUN   TestOAS_ApiKeyScheme/should_not_set_cookie_name_in_tyk_extension
=== RUN   TestOAS_ApiKeyScheme/already_filled_scheme_in=header_value_should_be_respected
=== RUN   TestOAS_ApiKeyScheme/already_filled_scheme_in=query_value_should_be_respected
=== RUN   TestOAS_ApiKeyScheme/already_filled_scheme_in=cookie_value_should_be_respected
--- PASS: TestOAS_ApiKeyScheme (0.00s)
    --- PASS: TestOAS_ApiKeyScheme/should_not_set_header_name_in_tyk_extension (0.00s)
    --- PASS: TestOAS_ApiKeyScheme/should_not_set_query_name_in_tyk_extension (0.00s)
    --- PASS: TestOAS_ApiKeyScheme/should_not_set_cookie_name_in_tyk_extension (0.00s)
    --- PASS: TestOAS_ApiKeyScheme/already_filled_scheme_in=header_value_should_be_respected (0.00s)
    --- PASS: TestOAS_ApiKeyScheme/already_filled_scheme_in=query_value_should_be_respected (0.00s)
    --- PASS: TestOAS_ApiKeyScheme/already_filled_scheme_in=cookie_value_should_be_respected (0.00s)
=== RUN   TestOAS_Token
--- PASS: TestOAS_Token (0.00s)
=== RUN   TestOAS_Token_MultipleSecuritySchemes
--- PASS: TestOAS_Token_MultipleSecuritySchemes (0.00s)
=== RUN   TestOAS_AppendSecurity
=== RUN   TestOAS_AppendSecurity/append_new
=== RUN   TestOAS_AppendSecurity/append_same
--- PASS: TestOAS_AppendSecurity (0.00s)
    --- PASS: TestOAS_AppendSecurity/append_new (0.00s)
    --- PASS: TestOAS_AppendSecurity/append_same (0.00s)
=== RUN   TestOAS_JWT
--- PASS: TestOAS_JWT (0.00s)
=== RUN   TestOAS_Basic
--- PASS: TestOAS_Basic (0.00s)
=== RUN   TestOAS_OAuth
--- PASS: TestOAS_OAuth (0.00s)
=== RUN   TestOAS_OIDC
--- PASS: TestOAS_OIDC (0.00s)
=== RUN   TestOAS_CustomPlugin
--- PASS: TestOAS_CustomPlugin (0.00s)
=== RUN   TestOAS_GoPlugin
--- PASS: TestOAS_GoPlugin (0.00s)
=== RUN   TestOAS_TykAuthentication_NoOASSecurity
--- PASS: TestOAS_TykAuthentication_NoOASSecurity (0.00s)
=== RUN   TestServer
=== PAUSE TestServer
=== RUN   TestListenPath
=== PAUSE TestListenPath
=== RUN   TestClientCertificates
=== PAUSE TestClientCertificates
=== RUN   TestPinnedPublicKeys
=== PAUSE TestPinnedPublicKeys
=== RUN   TestTagsImport
=== PAUSE TestTagsImport
=== RUN   TestTagsExportServer
=== PAUSE TestTagsExportServer
=== RUN   TestUpstream
--- PASS: TestUpstream (0.00s)
=== RUN   TestServiceDiscovery
--- PASS: TestServiceDiscovery (0.00s)
=== RUN   TestTest
--- PASS: TestTest (0.00s)
=== RUN   TestValidateOASObject
=== PAUSE TestValidateOASObject
=== RUN   Test_loadOASSchema
=== PAUSE Test_loadOASSchema
=== RUN   Test_findDefaultVersion
=== PAUSE Test_findDefaultVersion
=== RUN   Test_setDefaultVersion
--- PASS: Test_setDefaultVersion (0.20s)
=== CONT  TestOAS_BuildDefaultTykExtension
=== CONT  TestListenPath
--- PASS: TestListenPath (0.00s)
=== CONT  Test_findDefaultVersion
=== RUN   Test_findDefaultVersion/single_version
=== RUN   Test_findDefaultVersion/multiple_versions
--- PASS: Test_findDefaultVersion (0.00s)
    --- PASS: Test_findDefaultVersion/single_version (0.00s)
    --- PASS: Test_findDefaultVersion/multiple_versions (0.00s)
=== CONT  Test_loadOASSchema
=== RUN   Test_loadOASSchema/load_OAS
=== PAUSE Test_loadOASSchema/load_OAS
=== CONT  TestTagsExportServer
=== RUN   TestTagsExportServer/export_segment_tags_if_enabled
=== PAUSE TestTagsExportServer/export_segment_tags_if_enabled
=== RUN   TestTagsExportServer/export_segment_tags_if_disabled
=== PAUSE TestTagsExportServer/export_segment_tags_if_disabled
=== RUN   TestTagsExportServer/empty_segment_tags
=== PAUSE TestTagsExportServer/empty_segment_tags
=== CONT  TestTagsImport
=== RUN   TestTagsImport/keep_segment_tags_values_if_disabled
=== PAUSE TestTagsImport/keep_segment_tags_values_if_disabled
=== RUN   TestTagsImport/keep_segment_tags_values_if_enabled
=== PAUSE TestTagsImport/keep_segment_tags_values_if_enabled
=== CONT  TestValidateOASObject
=== RUN   TestOAS_BuildDefaultTykExtension/build_tyk_extension_with_no_supplied_params
=== RUN   TestOAS_BuildDefaultTykExtension/build_tyk_extension_with_supplied_params
=== RUN   TestOAS_BuildDefaultTykExtension/do_not_override_existing_tyk_extension_by_default
=== RUN   TestOAS_BuildDefaultTykExtension/override_existing_tyk_extension_with_supplied_params
=== RUN   TestOAS_BuildDefaultTykExtension/error_when_supplied_invalid_upstreamURL_param
=== RUN   TestValidateOASObject/valid_OAS_object
=== PAUSE TestValidateOASObject/valid_OAS_object
=== RUN   TestValidateOASObject/invalid_OAS_object
=== PAUSE TestValidateOASObject/invalid_OAS_object
=== RUN   TestValidateOASObject/wrong_typed_OAS_object
=== PAUSE TestValidateOASObject/wrong_typed_OAS_object
=== CONT  TestClientCertificates
--- PASS: TestClientCertificates (0.00s)
=== CONT  Test_loadOASSchema/load_OAS
=== RUN   TestOAS_BuildDefaultTykExtension/error_when_no_supplied_params_and_invalid_URL_in_servers
=== RUN   TestOAS_BuildDefaultTykExtension/error_when_no_supplied_params_and_no_servers
--- PASS: TestOAS_BuildDefaultTykExtension (0.01s)
    --- PASS: TestOAS_BuildDefaultTykExtension/build_tyk_extension_with_no_supplied_params (0.00s)
    --- PASS: TestOAS_BuildDefaultTykExtension/build_tyk_extension_with_supplied_params (0.00s)
    --- PASS: TestOAS_BuildDefaultTykExtension/do_not_override_existing_tyk_extension_by_default (0.00s)
    --- PASS: TestOAS_BuildDefaultTykExtension/override_existing_tyk_extension_with_supplied_params (0.00s)
    --- PASS: TestOAS_BuildDefaultTykExtension/error_when_supplied_invalid_upstreamURL_param (0.00s)
    --- PASS: TestOAS_BuildDefaultTykExtension/error_when_no_supplied_params_and_invalid_URL_in_servers (0.00s)
    --- PASS: TestOAS_BuildDefaultTykExtension/error_when_no_supplied_params_and_no_servers (0.00s)
=== CONT  TestTagsExportServer/export_segment_tags_if_enabled
=== CONT  TestTagsExportServer/empty_segment_tags
=== CONT  TestTagsExportServer/export_segment_tags_if_disabled
--- PASS: TestTagsExportServer (0.00s)
    --- PASS: TestTagsExportServer/export_segment_tags_if_enabled (0.00s)
    --- PASS: TestTagsExportServer/empty_segment_tags (0.00s)
    --- PASS: TestTagsExportServer/export_segment_tags_if_disabled (0.00s)
=== CONT  TestTagsImport/keep_segment_tags_values_if_enabled
=== CONT  TestServer
--- PASS: TestServer (0.00s)
=== CONT  TestPinnedPublicKeys
--- PASS: TestPinnedPublicKeys (0.00s)
=== CONT  TestOAS_RegexOperationIDs
--- PASS: TestOAS_RegexOperationIDs (0.00s)
=== CONT  TestOAS_RegexPaths
--- PASS: TestOAS_RegexPaths (0.00s)
=== CONT  TestOAS_PathsAndOperationsRegex
--- PASS: TestOAS_PathsAndOperationsRegex (0.00s)
=== CONT  TestOAS_PathsAndOperations
--- PASS: TestOAS_PathsAndOperations (0.00s)
=== CONT  TestOAS_AddServers
=== RUN   TestOAS_AddServers/empty_servers
=== RUN   TestOAS_AddServers/non-empty_servers
=== RUN   TestOAS_AddServers/non-empty_servers_having_same_URL_that_of_apiURL
=== RUN   TestOAS_AddServers/non-empty_servers_having_same_URL_that_of_apiURL#01
--- PASS: TestOAS_AddServers (0.00s)
    --- PASS: TestOAS_AddServers/empty_servers (0.00s)
    --- PASS: TestOAS_AddServers/non-empty_servers (0.00s)
    --- PASS: TestOAS_AddServers/non-empty_servers_having_same_URL_that_of_apiURL (0.00s)
    --- PASS: TestOAS_AddServers/non-empty_servers_having_same_URL_that_of_apiURL#01 (0.00s)
=== CONT  TestOAS_UpdateServers
=== RUN   TestOAS_UpdateServers/empty_servers
=== RUN   TestOAS_UpdateServers/non-empty_servers_replace_with_new
=== RUN   TestOAS_UpdateServers/non-empty_servers_not_replace
--- PASS: TestOAS_UpdateServers (0.00s)
    --- PASS: TestOAS_UpdateServers/empty_servers (0.00s)
    --- PASS: TestOAS_UpdateServers/non-empty_servers_replace_with_new (0.00s)
    --- PASS: TestOAS_UpdateServers/non-empty_servers_not_replace (0.00s)
=== CONT  TestTagsImport/keep_segment_tags_values_if_disabled
=== CONT  TestValidateOASObject/invalid_OAS_object
--- PASS: TestTagsImport (0.00s)
    --- PASS: TestTagsImport/keep_segment_tags_values_if_enabled (0.00s)
    --- PASS: TestTagsImport/keep_segment_tags_values_if_disabled (0.00s)
=== CONT  TestValidateOASObject/wrong_typed_OAS_object
--- PASS: Test_loadOASSchema (0.00s)
    --- PASS: Test_loadOASSchema/load_OAS (0.21s)
=== CONT  TestValidateOASObject/valid_OAS_object
--- PASS: TestValidateOASObject (0.01s)
    --- PASS: TestValidateOASObject/invalid_OAS_object (0.23s)
    --- PASS: TestValidateOASObject/wrong_typed_OAS_object (0.05s)
    --- PASS: TestValidateOASObject/valid_OAS_object (0.04s)
PASS
coverage: 88.8% of statements
ok  	github.com/TykTechnologies/tyk/apidef/oas	0.805s	coverage: 88.8% of statements
go vet github.com/TykTechnologies/tyk/apidef/oas
go test -race -timeout 15m -v -coverprofile=schema.cov github.com/TykTechnologies/tyk/apidef/oas/schema
?   	github.com/TykTechnologies/tyk/apidef/oas/schema	[no test files]
go vet github.com/TykTechnologies/tyk/apidef/oas/schema
go test -race -timeout 15m -v -coverprofile=certs.cov github.com/TykTechnologies/tyk/certs
=== RUN   TestAddCertificate
time="2022-05-13T07:08:54Z" level=error msg="Failed to decode certificate. It should be PEM encoded." prefix=cert_storage
time="2022-05-13T07:08:54Z" level=error msg="Failed to decode certificate. It should be PEM encoded." prefix=cert_storage
time="2022-05-13T07:08:54Z" level=error msg="asn1: syntax error: truncated tag or length" prefix=cert_storage
time="2022-05-13T07:08:54Z" level=error msg="tls: private key does not match public key" prefix=cert_storage
time="2022-05-13T07:08:54Z" level=error msg="certificate is expired" prefix=cert_storage
--- PASS: TestAddCertificate (1.77s)
=== RUN   TestCertificateStorage
=== RUN   TestCertificateStorage/File_certificates
time="2022-05-13T07:08:56Z" level=warning msg="Can't retrieve certificate:wrongopen wrong: no such file or directory" prefix=cert_storage
=== RUN   TestCertificateStorage/Remote_storage_certificates
=== RUN   TestCertificateStorage/Private_certificates
=== RUN   TestCertificateStorage/Public_keys
--- PASS: TestCertificateStorage (1.91s)
    --- PASS: TestCertificateStorage/File_certificates (0.00s)
    --- PASS: TestCertificateStorage/Remote_storage_certificates (0.00s)
    --- PASS: TestCertificateStorage/Private_certificates (0.00s)
    --- PASS: TestCertificateStorage/Public_keys (0.00s)
=== RUN   TestStorageIndex
--- PASS: TestStorageIndex (0.23s)
PASS
coverage: 49.3% of statements
ok  	github.com/TykTechnologies/tyk/certs	3.954s	coverage: 49.3% of statements
go vet github.com/TykTechnologies/tyk/certs
go test -race -timeout 15m -v -coverprofile=checkup.cov github.com/TykTechnologies/tyk/checkup
?   	github.com/TykTechnologies/tyk/checkup	[no test files]
go vet github.com/TykTechnologies/tyk/checkup
go test -race -timeout 15m -v -coverprofile=cli.cov github.com/TykTechnologies/tyk/cli
?   	github.com/TykTechnologies/tyk/cli	[no test files]
go vet github.com/TykTechnologies/tyk/cli
go test -race -timeout 15m -v -coverprofile=bundler.cov github.com/TykTechnologies/tyk/cli/bundler
=== RUN   TestCommands
time="May 13 07:09:00" level=info msg="Building bundle using 'manifest.json'" prefix=tyk
time="May 13 07:09:00" level=warning msg="Using default bundle path 'bundle.zip'" prefix=tyk
time="May 13 07:09:00" level=warning msg="The bundle will be unsigned" prefix=tyk
time="May 13 07:09:00" level=info msg="Wrote 'bundle.zip' (377 bytes)" prefix=tyk
--- PASS: TestCommands (0.01s)
=== RUN   TestBuild
=== RUN   TestBuild/Bundle_errors
time="May 13 07:09:00" level=info msg="Building bundle using 'manifest.json'" prefix=tyk
time="May 13 07:09:00" level=info msg="Building bundle using 'manifest.json'" prefix=tyk
time="May 13 07:09:00" level=info msg="Building bundle using 'manifest.json'" prefix=tyk
time="May 13 07:09:00" level=info msg="Building bundle using 'manifest.json'" prefix=tyk
time="May 13 07:09:00" level=info msg="Building bundle using 'manifest.json'" prefix=tyk
=== RUN   TestBuild/Simple_bundle_build
time="May 13 07:09:00" level=info msg="Building bundle using 'manifest.json'" prefix=tyk
time="May 13 07:09:00" level=warning msg="Using default bundle path 'bundle.zip'" prefix=tyk
time="May 13 07:09:00" level=warning msg="The bundle will be unsigned" prefix=tyk
time="May 13 07:09:00" level=info msg="Wrote 'bundle.zip' (506 bytes)" prefix=tyk
--- PASS: TestBuild (0.02s)
    --- PASS: TestBuild/Bundle_errors (0.00s)
    --- PASS: TestBuild/Simple_bundle_build (0.01s)
PASS
coverage: 70.7% of statements
ok  	github.com/TykTechnologies/tyk/cli/bundler	0.075s	coverage: 70.7% of statements
go vet github.com/TykTechnologies/tyk/cli/bundler
go test -race -timeout 15m -v -coverprofile=importer.cov github.com/TykTechnologies/tyk/cli/importer
?   	github.com/TykTechnologies/tyk/cli/importer	[no test files]
go vet github.com/TykTechnologies/tyk/cli/importer
go test -race -timeout 15m -v -coverprofile=linter.cov github.com/TykTechnologies/tyk/cli/linter
=== RUN   TestLint
=== RUN   TestLint/InvalidJSON
=== RUN   TestLint/WrongType
=== RUN   TestLint/FieldTypo
=== RUN   TestLint/Empty
=== RUN   TestLint/Default
=== RUN   TestLint/OldMonitor
=== RUN   TestLint/NullObject
=== RUN   TestLint/MissingPath
=== RUN   TestLint/ExtraPort
=== RUN   TestLint/BadHost
=== RUN   TestLint/BadLogLevel
=== RUN   TestLint/BadStorageType
=== RUN   TestLint/BadPolicySource
=== RUN   TestLint/MalformedDnsCacheEntry
=== RUN   TestLint/BadDnsCacheTTL
=== RUN   TestLint/ExtraDnsCacheCheckInterval
=== RUN   TestLint/InvalidDnsCacheMultipleIPsHandleStrategy
--- PASS: TestLint (0.29s)
    --- PASS: TestLint/InvalidJSON (0.00s)
    --- PASS: TestLint/WrongType (0.00s)
    --- PASS: TestLint/FieldTypo (0.02s)
    --- PASS: TestLint/Empty (0.02s)
    --- PASS: TestLint/Default (0.03s)
    --- PASS: TestLint/OldMonitor (0.02s)
    --- PASS: TestLint/NullObject (0.02s)
    --- PASS: TestLint/MissingPath (0.02s)
    --- PASS: TestLint/ExtraPort (0.02s)
    --- PASS: TestLint/BadHost (0.02s)
    --- PASS: TestLint/BadLogLevel (0.02s)
    --- PASS: TestLint/BadStorageType (0.02s)
    --- PASS: TestLint/BadPolicySource (0.02s)
    --- PASS: TestLint/MalformedDnsCacheEntry (0.02s)
    --- PASS: TestLint/BadDnsCacheTTL (0.02s)
    --- PASS: TestLint/ExtraDnsCacheCheckInterval (0.02s)
    --- PASS: TestLint/InvalidDnsCacheMultipleIPsHandleStrategy (0.02s)
PASS
coverage: 89.8% of statements
ok  	github.com/TykTechnologies/tyk/cli/linter	0.347s	coverage: 89.8% of statements
go vet github.com/TykTechnologies/tyk/cli/linter
go test -race -timeout 15m -v -coverprofile=config.cov github.com/TykTechnologies/tyk/config
=== RUN   TestDefaultValueAndWriteDefaultConf
=== RUN   TestDefaultValueAndWriteDefaultConf/ListenPort
=== RUN   TestDefaultValueAndWriteDefaultConf/DnsCacheEnabled
=== RUN   TestDefaultValueAndWriteDefaultConf/DnsCacheTTL
=== RUN   TestDefaultValueAndWriteDefaultConf/CheckInterval
=== RUN   TestDefaultValueAndWriteDefaultConf/CheckMultipleIPsHandleStrategy
--- PASS: TestDefaultValueAndWriteDefaultConf (0.05s)
    --- PASS: TestDefaultValueAndWriteDefaultConf/ListenPort (0.01s)
    --- PASS: TestDefaultValueAndWriteDefaultConf/DnsCacheEnabled (0.01s)
    --- PASS: TestDefaultValueAndWriteDefaultConf/DnsCacheTTL (0.01s)
    --- PASS: TestDefaultValueAndWriteDefaultConf/CheckInterval (0.01s)
    --- PASS: TestDefaultValueAndWriteDefaultConf/CheckMultipleIPsHandleStrategy (0.01s)
=== RUN   TestConfigFiles
time="May 13 07:09:05" level=warning msg="No config file found, writing default to /tmp/tyk787600493/tyk1.conf"
time="May 13 07:09:05" level=info msg="Loading default configuration..."
--- PASS: TestConfigFiles (0.04s)
=== RUN   TestConfig_GetEventTriggers
=== RUN   TestConfig_GetEventTriggers/Deprecated_configuration
=== RUN   TestConfig_GetEventTriggers/Current_configuration
=== RUN   TestConfig_GetEventTriggers/Both_configured
time="May 13 07:09:05" level=info msg="Both event_trigers_defunct and event_triggers_defunct are configured in the config, event_triggers_defunct will be used."
--- PASS: TestConfig_GetEventTriggers (0.01s)
    --- PASS: TestConfig_GetEventTriggers/Deprecated_configuration (0.00s)
    --- PASS: TestConfig_GetEventTriggers/Current_configuration (0.00s)
    --- PASS: TestConfig_GetEventTriggers/Both_configured (0.00s)
=== RUN   TestLoad_tracing
=== RUN   TestLoad_tracing/Read_and_write_config_with_tracing
=== RUN   TestLoad_tracing/Read_and_write_config_with_tracing/testdata/jaeger.json
    config_test.go:224: {
        "baggage_restrictions": {
        "denyBaggageOnInitializationFailure": false (boolean),
        "hostPort": "" (string),
        "refreshInterval": "0s" (string)
        } (object),
        "disabled": false (boolean),
        "headers": {
        "TraceContextHeaderName": "" (string),
        "jaegerBaggageHeader": "" (string),
        "jaegerDebugHeader": "" (string),
        "traceBaggageHeaderPrefix": "" (string)
        } (object),
        "reporter": {
        "attemptreconnectinterval": "0s" (string),
        "bufferflushinterval": "0s" (string),
        "collectorEndpoint": "" (string),
        "disableAttemptReconnecting": false (boolean),
        "http_headers": {} (object),
        "localAgentHostPort": "jaeger:6831" (string),
        "logSpans": true (boolean),
        "password": "" (string),
        "queueSize": 0 (number),
        "user": "" (string)
        } (object),
        "rpc_metrics": false (boolean),
        "sampler": {
        "maxOperations": 0 (number),
        "operationNameLateBinding": false (boolean),
        "options": [] (array),
        "param": 1 (number),
        "samplingRefreshInterval": "0s" (string),
        "samplingServerURL": "" (string),
        "type": "const" (string)
        } (object),
        "serviceName": "tyk-gateway" (string),
        "tags": [] (array),
        "throttler": {
        "hostPort": "" (string),
        "refreshInterval": "0s" (string),
        "synchronousInitialization": false (boolean)
        } (object),
        "traceid_128bit": false (boolean)
        } (object)
=== RUN   TestLoad_tracing/Read_and_write_config_with_tracing/testdata/zipkin.json
=== RUN   TestLoad_tracing/Env_only
=== RUN   TestLoad_tracing/Env_only/testdata/env.jaeger.json
    config_test.go:281: {
        "baggage_restrictions": {
        "denyBaggageOnInitializationFailure": false (boolean),
        "hostPort": "" (string),
        "refreshInterval": "0s" (string)
        } (object),
        "disabled": false (boolean),
        "headers": {
        "TraceContextHeaderName": "" (string),
        "jaegerBaggageHeader": "" (string),
        "jaegerDebugHeader": "" (string),
        "traceBaggageHeaderPrefix": "" (string)
        } (object),
        "reporter": {
        "attemptreconnectinterval": "0s" (string),
        "bufferflushinterval": "0s" (string),
        "collectorEndpoint": "" (string),
        "disableAttemptReconnecting": false (boolean),
        "http_headers": {} (object),
        "localAgentHostPort": "" (string),
        "logSpans": false (boolean),
        "password": "" (string),
        "queueSize": 0 (number),
        "user": "" (string)
        } (object),
        "rpc_metrics": false (boolean),
        "sampler": {
        "maxOperations": 0 (number),
        "operationNameLateBinding": false (boolean),
        "options": [] (array),
        "param": 0 (number),
        "samplingRefreshInterval": "0s" (string),
        "samplingServerURL": "" (string),
        "type": "" (string)
        } (object),
        "serviceName": "jaeger-test-service" (string),
        "tags": [] (array),
        "throttler": {
        "hostPort": "" (string),
        "refreshInterval": "0s" (string),
        "synchronousInitialization": false (boolean)
        } (object),
        "traceid_128bit": false (boolean)
        } (object)
=== RUN   TestLoad_tracing/Env_only/testdata/env.zipkin.json
--- FAIL: TestLoad_tracing (0.05s)
    --- FAIL: TestLoad_tracing/Read_and_write_config_with_tracing (0.02s)
        --- FAIL: TestLoad_tracing/Read_and_write_config_with_tracing/testdata/jaeger.json (0.02s)
        --- PASS: TestLoad_tracing/Read_and_write_config_with_tracing/testdata/zipkin.json (0.01s)
    --- FAIL: TestLoad_tracing/Env_only (0.03s)
        --- FAIL: TestLoad_tracing/Env_only/testdata/env.jaeger.json (0.02s)
        --- PASS: TestLoad_tracing/Env_only/testdata/env.zipkin.json (0.00s)
=== RUN   TestLoadZipkin
=== RUN   TestLoadZipkin/loads_env_vars
--- PASS: TestLoadZipkin (0.00s)
    --- PASS: TestLoadZipkin/loads_env_vars (0.00s)
=== RUN   TestLoadJaeger
=== RUN   TestLoadJaeger/Loads_env_vars
--- PASS: TestLoadJaeger (0.03s)
    --- PASS: TestLoadJaeger/Loads_env_vars (0.03s)
FAIL
coverage: 69.3% of statements
FAIL	github.com/TykTechnologies/tyk/config	0.237s
FAIL
Test Failed

gofmt

all ok

goimports

apidef/oas/default_test.go
rpc/rpc_client.go

gogenerate

all ok

If the above are ok, please look at the run or in the Checks tab.

@Tyk-ITS
Copy link
Contributor

Tyk-ITS commented May 13, 2022

API tests result: success
Branch used: refs/pull/4049/merge
Commit:
Triggered by: pull_request (@jeffy-mathew)
Execution page

@Tyk-ITS
Copy link
Contributor

Tyk-ITS commented May 13, 2022

API tests result: success
Branch used: refs/pull/4049/merge
Commit: 057d6dc
Triggered by: pull_request (@jeffy-mathew)
Execution page

@jeffy-mathew jeffy-mathew changed the title update jaeger-client-go [TT-5307] update jaeger-client-go May 13, 2022
@Tyk-ITS
Copy link
Contributor

Tyk-ITS commented May 13, 2022

API tests result: success
Branch used: refs/pull/4049/merge
Commit: 0bab330
Triggered by: pull_request (@jeffy-mathew)
Execution page

@sonarcloud
Copy link

sonarcloud bot commented May 13, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@jeffy-mathew jeffy-mathew merged commit e7d134e into master May 13, 2022
@jeffy-mathew jeffy-mathew deleted the fix/update-jaeger-client branch May 13, 2022 14:26
@jeffy-mathew
Copy link
Contributor Author

/release to release-4

@tykbot
Copy link

tykbot bot commented May 13, 2022

Working on it! Note that it can take a few minutes.

tykbot bot pushed a commit that referenced this pull request May 13, 2022
* update jaeger-client-go to next minor

[changelog]
internal: update jaeger-client-go to next minor

(cherry picked from commit e7d134e)
@tykbot
Copy link

tykbot bot commented May 13, 2022

@jeffy-mathew Succesfully merged e7d134e2c79342a51efc7d61cf00436be1d73971 to release-4 branch.

@Tyk-ITS
Copy link
Contributor

Tyk-ITS commented May 13, 2022

API tests result: success
Branch used: refs/heads/master
Commit: e7d134e TT-5307 update jaeger-client-go (#4049)

  • update jaeger-client-go to next minor

[changelog]
internal: update jaeger-client-go to next minor
Triggered by: push (@jeffy-mathew)
Execution page

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants