fix validator #60
Annotations
9 errors and 3 warnings
MetadataNodeGroupTest.should assign to group with all dependencies when outgoing-permissions is not enabled():
envoy-control-core/src/test/kotlin/pl/allegro/tech/servicemesh/envoycontrol/groups/MetadataNodeGroupTest.kt#L133
org.opentest4j.AssertionFailedError:
expected:
AllServicesGroup(communicationMode=ADS, serviceName=, discoveryServiceName=null, proxySettings=ProxySettings(incoming=Incoming(endpoints=[], rateLimitEndpoints=[], permissionsEnabled=false, healthCheck=HealthCheck(path=, clusterName=local_service_health_check), roles=[], timeoutPolicy=TimeoutPolicy(idleTimeout=null, responseTimeout=null, connectionIdleTimeout=null), unlistedEndpointsPolicy=BLOCKANDLOG), outgoing=Outgoing(serviceDependencies=[ServiceDependency(service=a, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), ServiceDependency(service=b, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), ServiceDependency(service=c, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false)))], domainDependencies=[], domainPatternDependencies=[], allServicesDependencies=false, defaultServiceSettings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), customData={}), pathNormalizationConfig=PathNormalizationConfig(normalizationEnabled=null, mergeSlashes=null, pathWithEscapedSlashesAction=null), listenersConfig=null)
but was:
AllServicesGroup(communicationMode=ADS, serviceName=, discoveryServiceName=null, proxySettings=ProxySettings(incoming=Incoming(endpoints=[], rateLimitEndpoints=[], permissionsEnabled=false, healthCheck=HealthCheck(path=, clusterName=local_service_health_check), roles=[], timeoutPolicy=TimeoutPolicy(idleTimeout=null, responseTimeout=null, connectionIdleTimeout=null), unlistedEndpointsPolicy=BLOCKANDLOG), outgoing=Outgoing(serviceDependencies=[ServiceDependency(service=a, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), ServiceDependency(service=b, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), ServiceDependency(service=c, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false)))], domainDependencies=[], domainPatternDependencies=[], allServicesDependencies=false, defaultServiceSettings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), customData={}), pathNormalizationConfig=PathNormalizationConfig(normalizationEnabled=true, mergeSlashes=true, pathWithEscapedSlashesAction=KEEP_UNCHANGED), listenersConfig=null)
|
MetadataNodeGroupTest.should include service settings when incoming permissions are enabled for all dependencies():
envoy-control-core/src/test/kotlin/pl/allegro/tech/servicemesh/envoycontrol/groups/MetadataNodeGroupTest.kt#L217
org.opentest4j.AssertionFailedError:
expected:
AllServicesGroup(communicationMode=XDS, serviceName=app1, discoveryServiceName=null, proxySettings=ProxySettings(incoming=Incoming(endpoints=[IncomingEndpoint(path=/endpoint, pathMatchingType=PATH, methods=[], clients=[ClientWithSelector(name=client1, selector=null, negated=false)], unlistedClientsPolicy=BLOCKANDLOG, oauth=null)], rateLimitEndpoints=[], permissionsEnabled=true, healthCheck=HealthCheck(path=, clusterName=local_service_health_check), roles=[], timeoutPolicy=TimeoutPolicy(idleTimeout=null, responseTimeout=null, connectionIdleTimeout=null), unlistedEndpointsPolicy=BLOCKANDLOG), outgoing=Outgoing(serviceDependencies=[], domainDependencies=[], domainPatternDependencies=[], allServicesDependencies=true, defaultServiceSettings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), customData={}), pathNormalizationConfig=PathNormalizationConfig(normalizationEnabled=null, mergeSlashes=null, pathWithEscapedSlashesAction=null), listenersConfig=null)
but was:
AllServicesGroup(communicationMode=XDS, serviceName=app1, discoveryServiceName=null, proxySettings=ProxySettings(incoming=Incoming(endpoints=[IncomingEndpoint(path=/endpoint, pathMatchingType=PATH, methods=[], clients=[ClientWithSelector(name=client1, selector=null, negated=false)], unlistedClientsPolicy=BLOCKANDLOG, oauth=null)], rateLimitEndpoints=[], permissionsEnabled=true, healthCheck=HealthCheck(path=, clusterName=local_service_health_check), roles=[], timeoutPolicy=TimeoutPolicy(idleTimeout=null, responseTimeout=null, connectionIdleTimeout=null), unlistedEndpointsPolicy=BLOCKANDLOG), outgoing=Outgoing(serviceDependencies=[], domainDependencies=[], domainPatternDependencies=[], allServicesDependencies=true, defaultServiceSettings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), customData={}), pathNormalizationConfig=PathNormalizationConfig(normalizationEnabled=true, mergeSlashes=true, pathWithEscapedSlashesAction=KEEP_UNCHANGED), listenersConfig=null)
|
MetadataNodeGroupTest.should assign to group with all dependencies on ads():
envoy-control-core/src/test/kotlin/pl/allegro/tech/servicemesh/envoycontrol/groups/MetadataNodeGroupTest.kt#L97
org.opentest4j.AssertionFailedError:
expected:
AllServicesGroup(communicationMode=ADS, serviceName=, discoveryServiceName=null, proxySettings=ProxySettings(incoming=Incoming(endpoints=[], rateLimitEndpoints=[], permissionsEnabled=false, healthCheck=HealthCheck(path=, clusterName=local_service_health_check), roles=[], timeoutPolicy=TimeoutPolicy(idleTimeout=null, responseTimeout=null, connectionIdleTimeout=null), unlistedEndpointsPolicy=BLOCKANDLOG), outgoing=Outgoing(serviceDependencies=[], domainDependencies=[], domainPatternDependencies=[], allServicesDependencies=true, defaultServiceSettings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), customData={}), pathNormalizationConfig=PathNormalizationConfig(normalizationEnabled=null, mergeSlashes=null, pathWithEscapedSlashesAction=null), listenersConfig=null)
but was:
AllServicesGroup(communicationMode=ADS, serviceName=, discoveryServiceName=null, proxySettings=ProxySettings(incoming=Incoming(endpoints=[], rateLimitEndpoints=[], permissionsEnabled=false, healthCheck=HealthCheck(path=, clusterName=local_service_health_check), roles=[], timeoutPolicy=TimeoutPolicy(idleTimeout=null, responseTimeout=null, connectionIdleTimeout=null), unlistedEndpointsPolicy=BLOCKANDLOG), outgoing=Outgoing(serviceDependencies=[], domainDependencies=[], domainPatternDependencies=[], allServicesDependencies=true, defaultServiceSettings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), customData={}), pathNormalizationConfig=PathNormalizationConfig(normalizationEnabled=true, mergeSlashes=true, pathWithEscapedSlashesAction=KEEP_UNCHANGED), listenersConfig=null)
|
MetadataNodeGroupTest.should assign to group with all dependencies():
envoy-control-core/src/test/kotlin/pl/allegro/tech/servicemesh/envoycontrol/groups/MetadataNodeGroupTest.kt#L38
org.opentest4j.AssertionFailedError:
expected:
AllServicesGroup(communicationMode=XDS, serviceName=, discoveryServiceName=null, proxySettings=ProxySettings(incoming=Incoming(endpoints=[], rateLimitEndpoints=[], permissionsEnabled=false, healthCheck=HealthCheck(path=, clusterName=local_service_health_check), roles=[], timeoutPolicy=TimeoutPolicy(idleTimeout=null, responseTimeout=null, connectionIdleTimeout=null), unlistedEndpointsPolicy=BLOCKANDLOG), outgoing=Outgoing(serviceDependencies=[ServiceDependency(service=a, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), ServiceDependency(service=b, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), ServiceDependency(service=c, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false)))], domainDependencies=[], domainPatternDependencies=[], allServicesDependencies=true, defaultServiceSettings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), customData={}), pathNormalizationConfig=PathNormalizationConfig(normalizationEnabled=null, mergeSlashes=null, pathWithEscapedSlashesAction=null), listenersConfig=null)
but was:
AllServicesGroup(communicationMode=XDS, serviceName=, discoveryServiceName=null, proxySettings=ProxySettings(incoming=Incoming(endpoints=[], rateLimitEndpoints=[], permissionsEnabled=false, healthCheck=HealthCheck(path=, clusterName=local_service_health_check), roles=[], timeoutPolicy=TimeoutPolicy(idleTimeout=null, responseTimeout=null, connectionIdleTimeout=null), unlistedEndpointsPolicy=BLOCKANDLOG), outgoing=Outgoing(serviceDependencies=[ServiceDependency(service=a, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), ServiceDependency(service=b, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), ServiceDependency(service=c, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false)))], domainDependencies=[], domainPatternDependencies=[], allServicesDependencies=true, defaultServiceSettings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), customData={}), pathNormalizationConfig=PathNormalizationConfig(normalizationEnabled=true, mergeSlashes=true, pathWithEscapedSlashesAction=KEEP_UNCHANGED), listenersConfig=null)
|
MetadataNodeGroupTest.should not include service settings when incoming permissions are disabled():
envoy-control-core/src/test/kotlin/pl/allegro/tech/servicemesh/envoycontrol/groups/MetadataNodeGroupTest.kt#L157
org.opentest4j.AssertionFailedError:
expected:
ServicesGroup(communicationMode=XDS, serviceName=app1, discoveryServiceName=null, proxySettings=ProxySettings(incoming=Incoming(endpoints=[], rateLimitEndpoints=[], permissionsEnabled=false, healthCheck=HealthCheck(path=, clusterName=local_service_health_check), roles=[], timeoutPolicy=TimeoutPolicy(idleTimeout=null, responseTimeout=null, connectionIdleTimeout=null), unlistedEndpointsPolicy=BLOCKANDLOG), outgoing=Outgoing(serviceDependencies=[ServiceDependency(service=a, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), ServiceDependency(service=b, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), ServiceDependency(service=c, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false)))], domainDependencies=[], domainPatternDependencies=[], allServicesDependencies=false, defaultServiceSettings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), customData={}), pathNormalizationConfig=PathNormalizationConfig(normalizationEnabled=null, mergeSlashes=null, pathWithEscapedSlashesAction=null), listenersConfig=null)
but was:
ServicesGroup(communicationMode=XDS, serviceName=app1, discoveryServiceName=null, proxySettings=ProxySettings(incoming=Incoming(endpoints=[], rateLimitEndpoints=[], permissionsEnabled=false, healthCheck=HealthCheck(path=, clusterName=local_service_health_check), roles=[], timeoutPolicy=TimeoutPolicy(idleTimeout=null, responseTimeout=null, connectionIdleTimeout=null), unlistedEndpointsPolicy=BLOCKANDLOG), outgoing=Outgoing(serviceDependencies=[ServiceDependency(service=a, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), ServiceDependency(service=b, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), ServiceDependency(service=c, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false)))], domainDependencies=[], domainPatternDependencies=[], allServicesDependencies=false, defaultServiceSettings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), customData={}), pathNormalizationConfig=PathNormalizationConfig(normalizationEnabled=true, mergeSlashes=true, pathWithEscapedSlashesAction=KEEP_UNCHANGED), listenersConfig=null)
|
MetadataNodeGroupTest.should assign to group with no dependencies():
envoy-control-core/src/test/kotlin/pl/allegro/tech/servicemesh/envoycontrol/groups/MetadataNodeGroupTest.kt#L61
org.opentest4j.AssertionFailedError:
expected:
ServicesGroup(communicationMode=XDS, serviceName=, discoveryServiceName=null, proxySettings=ProxySettings(incoming=Incoming(endpoints=[], rateLimitEndpoints=[], permissionsEnabled=false, healthCheck=HealthCheck(path=, clusterName=local_service_health_check), roles=[], timeoutPolicy=TimeoutPolicy(idleTimeout=null, responseTimeout=null, connectionIdleTimeout=null), unlistedEndpointsPolicy=BLOCKANDLOG), outgoing=Outgoing(serviceDependencies=[], domainDependencies=[], domainPatternDependencies=[], allServicesDependencies=false, defaultServiceSettings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), customData={}), pathNormalizationConfig=PathNormalizationConfig(normalizationEnabled=null, mergeSlashes=null, pathWithEscapedSlashesAction=null), listenersConfig=null)
but was:
ServicesGroup(communicationMode=XDS, serviceName=, discoveryServiceName=null, proxySettings=ProxySettings(incoming=Incoming(endpoints=[], rateLimitEndpoints=[], permissionsEnabled=false, healthCheck=HealthCheck(path=, clusterName=local_service_health_check), roles=[], timeoutPolicy=TimeoutPolicy(idleTimeout=null, responseTimeout=null, connectionIdleTimeout=null), unlistedEndpointsPolicy=BLOCKANDLOG), outgoing=Outgoing(serviceDependencies=[], domainDependencies=[], domainPatternDependencies=[], allServicesDependencies=false, defaultServiceSettings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), customData={}), pathNormalizationConfig=PathNormalizationConfig(normalizationEnabled=true, mergeSlashes=true, pathWithEscapedSlashesAction=KEEP_UNCHANGED), listenersConfig=null)
|
MetadataNodeGroupTest.should assign to group with listed dependencies on ads():
envoy-control-core/src/test/kotlin/pl/allegro/tech/servicemesh/envoycontrol/groups/MetadataNodeGroupTest.kt#L115
org.opentest4j.AssertionFailedError:
expected:
ServicesGroup(communicationMode=ADS, serviceName=, discoveryServiceName=null, proxySettings=ProxySettings(incoming=Incoming(endpoints=[], rateLimitEndpoints=[], permissionsEnabled=false, healthCheck=HealthCheck(path=, clusterName=local_service_health_check), roles=[], timeoutPolicy=TimeoutPolicy(idleTimeout=null, responseTimeout=null, connectionIdleTimeout=null), unlistedEndpointsPolicy=BLOCKANDLOG), outgoing=Outgoing(serviceDependencies=[ServiceDependency(service=a, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), ServiceDependency(service=b, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), ServiceDependency(service=c, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false)))], domainDependencies=[], domainPatternDependencies=[], allServicesDependencies=false, defaultServiceSettings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), customData={}), pathNormalizationConfig=PathNormalizationConfig(normalizationEnabled=null, mergeSlashes=null, pathWithEscapedSlashesAction=null), listenersConfig=null)
but was:
ServicesGroup(communicationMode=ADS, serviceName=, discoveryServiceName=null, proxySettings=ProxySettings(incoming=Incoming(endpoints=[], rateLimitEndpoints=[], permissionsEnabled=false, healthCheck=HealthCheck(path=, clusterName=local_service_health_check), roles=[], timeoutPolicy=TimeoutPolicy(idleTimeout=null, responseTimeout=null, connectionIdleTimeout=null), unlistedEndpointsPolicy=BLOCKANDLOG), outgoing=Outgoing(serviceDependencies=[ServiceDependency(service=a, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), ServiceDependency(service=b, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), ServiceDependency(service=c, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false)))], domainDependencies=[], domainPatternDependencies=[], allServicesDependencies=false, defaultServiceSettings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), customData={}), pathNormalizationConfig=PathNormalizationConfig(normalizationEnabled=true, mergeSlashes=true, pathWithEscapedSlashesAction=KEEP_UNCHANGED), listenersConfig=null)
|
MetadataNodeGroupTest.should include service settings when incoming permissions are enabled():
envoy-control-core/src/test/kotlin/pl/allegro/tech/servicemesh/envoycontrol/groups/MetadataNodeGroupTest.kt#L196
org.opentest4j.AssertionFailedError:
expected:
ServicesGroup(communicationMode=ADS, serviceName=app1, discoveryServiceName=null, proxySettings=ProxySettings(incoming=Incoming(endpoints=[IncomingEndpoint(path=/endpoint, pathMatchingType=PATH, methods=[], clients=[ClientWithSelector(name=client1, selector=null, negated=false)], unlistedClientsPolicy=BLOCKANDLOG, oauth=null)], rateLimitEndpoints=[], permissionsEnabled=true, healthCheck=HealthCheck(path=, clusterName=local_service_health_check), roles=[], timeoutPolicy=TimeoutPolicy(idleTimeout=null, responseTimeout=null, connectionIdleTimeout=null), unlistedEndpointsPolicy=BLOCKANDLOG), outgoing=Outgoing(serviceDependencies=[ServiceDependency(service=a, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), ServiceDependency(service=b, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false)))], domainDependencies=[], domainPatternDependencies=[], allServicesDependencies=false, defaultServiceSettings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), customData={}), pathNormalizationConfig=PathNormalizationConfig(normalizationEnabled=null, mergeSlashes=null, pathWithEscapedSlashesAction=null), listenersConfig=null)
but was:
ServicesGroup(communicationMode=ADS, serviceName=app1, discoveryServiceName=null, proxySettings=ProxySettings(incoming=Incoming(endpoints=[IncomingEndpoint(path=/endpoint, pathMatchingType=PATH, methods=[], clients=[ClientWithSelector(name=client1, selector=null, negated=false)], unlistedClientsPolicy=BLOCKANDLOG, oauth=null)], rateLimitEndpoints=[], permissionsEnabled=true, healthCheck=HealthCheck(path=, clusterName=local_service_health_check), roles=[], timeoutPolicy=TimeoutPolicy(idleTimeout=null, responseTimeout=null, connectionIdleTimeout=null), unlistedEndpointsPolicy=BLOCKANDLOG), outgoing=Outgoing(serviceDependencies=[ServiceDependency(service=a, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), ServiceDependency(service=b, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false)))], domainDependencies=[], domainPatternDependencies=[], allServicesDependencies=false, defaultServiceSettings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), customData={}), pathNormalizationConfig=PathNormalizationConfig(normalizationEnabled=true, mergeSlashes=true, pathWithEscapedSlashesAction=KEEP_UNCHANGED), listenersConfig=null)
|
MetadataNodeGroupTest.should assign to group with listed dependencies():
envoy-control-core/src/test/kotlin/pl/allegro/tech/servicemesh/envoycontrol/groups/MetadataNodeGroupTest.kt#L79
org.opentest4j.AssertionFailedError:
expected:
ServicesGroup(communicationMode=XDS, serviceName=, discoveryServiceName=null, proxySettings=ProxySettings(incoming=Incoming(endpoints=[], rateLimitEndpoints=[], permissionsEnabled=false, healthCheck=HealthCheck(path=, clusterName=local_service_health_check), roles=[], timeoutPolicy=TimeoutPolicy(idleTimeout=null, responseTimeout=null, connectionIdleTimeout=null), unlistedEndpointsPolicy=BLOCKANDLOG), outgoing=Outgoing(serviceDependencies=[ServiceDependency(service=a, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), ServiceDependency(service=b, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), ServiceDependency(service=c, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false)))], domainDependencies=[], domainPatternDependencies=[], allServicesDependencies=false, defaultServiceSettings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), customData={}), pathNormalizationConfig=PathNormalizationConfig(normalizationEnabled=null, mergeSlashes=null, pathWithEscapedSlashesAction=null), listenersConfig=null)
but was:
ServicesGroup(communicationMode=XDS, serviceName=, discoveryServiceName=null, proxySettings=ProxySettings(incoming=Incoming(endpoints=[], rateLimitEndpoints=[], permissionsEnabled=false, healthCheck=HealthCheck(path=, clusterName=local_service_health_check), roles=[], timeoutPolicy=TimeoutPolicy(idleTimeout=null, responseTimeout=null, connectionIdleTimeout=null), unlistedEndpointsPolicy=BLOCKANDLOG), outgoing=Outgoing(serviceDependencies=[ServiceDependency(service=a, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), ServiceDependency(service=b, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), ServiceDependency(service=c, settings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false)))], domainDependencies=[], domainPatternDependencies=[], allServicesDependencies=false, defaultServiceSettings=DependencySettings(handleInternalRedirect=false, timeoutPolicy=TimeoutPolicy(idleTimeout=seconds: 120
, connectionIdleTimeout=seconds: 120
, requestTimeout=seconds: 120
), rewriteHostHeader=false, retryPolicy=RetryPolicy(retryOn=[], hostSelectionRetryMaxAttempts=3, numberRetries=1, retryHostPredicate=[PREVIOUS_HOSTS], perTryTimeoutMs=null, retryBackOff=RetryBackOff(baseInterval=nanos: 25000000
, maxInterval=nanos: 250000000
), rateLimitedRetryBackOff=RateLimitedRetryBackOff(resetHeaders=[ResetHeader(name=Retry-After, format=SECONDS)]), retryableStatusCodes=null, retryableHeaders=null, methods=null), routingPolicy=RoutingPolicy(autoServiceTag=false, serviceTagPreference=[], fallbackToAnyInstance=false))), customData={}), pathNormalizationConfig=PathNormalizationConfig(normalizationEnabled=true, mergeSlashes=true, pathWithEscapedSlashesAction=KEEP_UNCHANGED), listenersConfig=null)
|
flaky_test
The following actions uses node12 which is deprecated and will be forced to run on node16: mikepenz/action-junit-report@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
flaky_test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
flaky_test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|