fix linter #54
Annotations
51 errors and 3 warnings
flaky_test
Process completed with exit code 1.
|
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)
|
NodeMetadataValidatorTest.should fail if service has no privilege to use incoming wildcard():
envoy-control-core/src/test/kotlin/pl/allegro/tech/servicemesh/envoycontrol/groups/NodeMetadataValidatorTest.kt#L45
java.lang.AssertionError:
Expecting actual throwable to be an instance of:
pl.allegro.tech.servicemesh.envoycontrol.groups.WildcardPrincipalValidationException
but was:
pl.allegro.tech.servicemesh.envoycontrol.groups.InvalidPathWithEscapedSlashesAction: INVALID_ARGUMENT: KEEP_UNCHANGED is invalid value for pathWithEscapedSlashesAction.
at pl.allegro.tech.servicemesh.envoycontrol.groups.NodeMetadataValidator.validatePathNormalization(NodeMetadataValidator.kt:102)
at pl.allegro.tech.servicemesh.envoycontrol.groups.NodeMetadataValidator.validateMetadata(NodeMetadataValidator.kt:89)
at pl.allegro.tech.servicemesh.envoycontrol.groups.NodeMetadataValidator.validateV3Metadata(NodeMetadataValidator.kt:83)
...(90 remaining lines not displayed - this can be changed with Assertions.setMaxStackTraceElementsDisplayed)
|
NodeMetadataValidatorTest.should not fail if service has privilege to use outgoing wildcard():
envoy-control-core/src/test/kotlin/pl/allegro/tech/servicemesh/envoycontrol/groups/NodeMetadataValidatorTest.kt#L122
org.opentest4j.AssertionFailedError: Unexpected exception thrown: pl.allegro.tech.servicemesh.envoycontrol.groups.InvalidPathWithEscapedSlashesAction: INVALID_ARGUMENT: KEEP_UNCHANGED is invalid value for pathWithEscapedSlashesAction.
|
NodeMetadataValidatorTest.should fail if service mixes incoming wildcard and normal permissions():
envoy-control-core/src/test/kotlin/pl/allegro/tech/servicemesh/envoycontrol/groups/NodeMetadataValidatorTest.kt#L67
java.lang.AssertionError:
Expecting actual throwable to be an instance of:
pl.allegro.tech.servicemesh.envoycontrol.groups.WildcardPrincipalMixedWithOthersValidationException
but was:
pl.allegro.tech.servicemesh.envoycontrol.groups.InvalidPathWithEscapedSlashesAction: INVALID_ARGUMENT: KEEP_UNCHANGED is invalid value for pathWithEscapedSlashesAction.
at pl.allegro.tech.servicemesh.envoycontrol.groups.NodeMetadataValidator.validatePathNormalization(NodeMetadataValidator.kt:102)
at pl.allegro.tech.servicemesh.envoycontrol.groups.NodeMetadataValidator.validateMetadata(NodeMetadataValidator.kt:89)
at pl.allegro.tech.servicemesh.envoycontrol.groups.NodeMetadataValidator.validateV3Metadata(NodeMetadataValidator.kt:83)
...(90 remaining lines not displayed - this can be changed with Assertions.setMaxStackTraceElementsDisplayed)
|
NodeMetadataValidatorTest.should throw an exception when rate limit is invalid():
envoy-control-core/src/test/kotlin/pl/allegro/tech/servicemesh/envoycontrol/groups/NodeMetadataValidatorTest.kt#L257
java.lang.AssertionError:
Expecting actual throwable to be an instance of:
pl.allegro.tech.servicemesh.envoycontrol.groups.RateLimitIncorrectValidationException
but was:
pl.allegro.tech.servicemesh.envoycontrol.groups.InvalidPathWithEscapedSlashesAction: INVALID_ARGUMENT: KEEP_UNCHANGED is invalid value for pathWithEscapedSlashesAction.
at pl.allegro.tech.servicemesh.envoycontrol.groups.NodeMetadataValidator.validatePathNormalization(NodeMetadataValidator.kt:102)
at pl.allegro.tech.servicemesh.envoycontrol.groups.NodeMetadataValidator.validateMetadata(NodeMetadataValidator.kt:89)
at pl.allegro.tech.servicemesh.envoycontrol.groups.NodeMetadataValidator.validateV3Metadata(NodeMetadataValidator.kt:83)
...(89 remaining lines not displayed - this can be changed with Assertions.setMaxStackTraceElementsDisplayed)
|
NodeMetadataValidatorTest.[1] false, true, true, ADS:
envoy-control-core/src/test/kotlin/pl/allegro/tech/servicemesh/envoycontrol/groups/NodeMetadataValidatorTest.kt#L174
java.lang.AssertionError:
Expecting actual throwable to be an instance of:
pl.allegro.tech.servicemesh.envoycontrol.groups.ConfigurationModeNotSupportedException
but was:
pl.allegro.tech.servicemesh.envoycontrol.groups.InvalidPathWithEscapedSlashesAction: INVALID_ARGUMENT: KEEP_UNCHANGED is invalid value for pathWithEscapedSlashesAction.
at pl.allegro.tech.servicemesh.envoycontrol.groups.NodeMetadataValidator.validatePathNormalization(NodeMetadataValidator.kt:102)
at pl.allegro.tech.servicemesh.envoycontrol.groups.NodeMetadataValidator.validateMetadata(NodeMetadataValidator.kt:89)
at pl.allegro.tech.servicemesh.envoycontrol.groups.NodeMetadataValidator.validateV3Metadata(NodeMetadataValidator.kt:83)
...(134 remaining lines not displayed - this can be changed with Assertions.setMaxStackTraceElementsDisplayed)
|
NodeMetadataValidatorTest.[2] true, false, false, XDS:
envoy-control-core/src/test/kotlin/pl/allegro/tech/servicemesh/envoycontrol/groups/NodeMetadataValidatorTest.kt#L174
java.lang.AssertionError:
Expecting actual throwable to be an instance of:
pl.allegro.tech.servicemesh.envoycontrol.groups.ConfigurationModeNotSupportedException
but was:
pl.allegro.tech.servicemesh.envoycontrol.groups.InvalidPathWithEscapedSlashesAction: INVALID_ARGUMENT: KEEP_UNCHANGED is invalid value for pathWithEscapedSlashesAction.
at pl.allegro.tech.servicemesh.envoycontrol.groups.NodeMetadataValidator.validatePathNormalization(NodeMetadataValidator.kt:102)
at pl.allegro.tech.servicemesh.envoycontrol.groups.NodeMetadataValidator.validateMetadata(NodeMetadataValidator.kt:89)
at pl.allegro.tech.servicemesh.envoycontrol.groups.NodeMetadataValidator.validateV3Metadata(NodeMetadataValidator.kt:83)
...(134 remaining lines not displayed - this can be changed with Assertions.setMaxStackTraceElementsDisplayed)
|
NodeMetadataValidatorTest.[3] false, false, false, XDS:
envoy-control-core/src/test/kotlin/pl/allegro/tech/servicemesh/envoycontrol/groups/NodeMetadataValidatorTest.kt#L174
java.lang.AssertionError:
Expecting actual throwable to be an instance of:
pl.allegro.tech.servicemesh.envoycontrol.groups.ConfigurationModeNotSupportedException
but was:
pl.allegro.tech.servicemesh.envoycontrol.groups.InvalidPathWithEscapedSlashesAction: INVALID_ARGUMENT: KEEP_UNCHANGED is invalid value for pathWithEscapedSlashesAction.
at pl.allegro.tech.servicemesh.envoycontrol.groups.NodeMetadataValidator.validatePathNormalization(NodeMetadataValidator.kt:102)
at pl.allegro.tech.servicemesh.envoycontrol.groups.NodeMetadataValidator.validateMetadata(NodeMetadataValidator.kt:89)
at pl.allegro.tech.servicemesh.envoycontrol.groups.NodeMetadataValidator.validateV3Metadata(NodeMetadataValidator.kt:83)
...(134 remaining lines not displayed - this can be changed with Assertions.setMaxStackTraceElementsDisplayed)
|
NodeMetadataValidatorTest.[4] false, false, true, ADS:
envoy-control-core/src/test/kotlin/pl/allegro/tech/servicemesh/envoycontrol/groups/NodeMetadataValidatorTest.kt#L174
java.lang.AssertionError:
Expecting actual throwable to be an instance of:
pl.allegro.tech.servicemesh.envoycontrol.groups.ConfigurationModeNotSupportedException
but was:
pl.allegro.tech.servicemesh.envoycontrol.groups.InvalidPathWithEscapedSlashesAction: INVALID_ARGUMENT: KEEP_UNCHANGED is invalid value for pathWithEscapedSlashesAction.
at pl.allegro.tech.servicemesh.envoycontrol.groups.NodeMetadataValidator.validatePathNormalization(NodeMetadataValidator.kt:102)
at pl.allegro.tech.servicemesh.envoycontrol.groups.NodeMetadataValidator.validateMetadata(NodeMetadataValidator.kt:89)
at pl.allegro.tech.servicemesh.envoycontrol.groups.NodeMetadataValidator.validateV3Metadata(NodeMetadataValidator.kt:83)
...(134 remaining lines not displayed - this can be changed with Assertions.setMaxStackTraceElementsDisplayed)
|
NodeMetadataValidatorTest.should not fail if service has privilege to use incoming wildcard():
envoy-control-core/src/test/kotlin/pl/allegro/tech/servicemesh/envoycontrol/groups/NodeMetadataValidatorTest.kt#L108
org.opentest4j.AssertionFailedError: Unexpected exception thrown: pl.allegro.tech.servicemesh.envoycontrol.groups.InvalidPathWithEscapedSlashesAction: INVALID_ARGUMENT: KEEP_UNCHANGED is invalid value for pathWithEscapedSlashesAction.
|
NodeMetadataValidatorTest.should throw an exception when PathWithEscapedSlashesAction is invalid():
envoy-control-core/src/test/kotlin/pl/allegro/tech/servicemesh/envoycontrol/groups/NodeMetadataValidatorTest.kt#L276
java.lang.AssertionError:
Expecting code to raise a throwable.
|
NodeMetadataValidatorTest.should not throw an exception when service name is empty and validation disabled():
envoy-control-core/src/test/kotlin/pl/allegro/tech/servicemesh/envoycontrol/groups/NodeMetadataValidatorTest.kt#L241
org.opentest4j.AssertionFailedError: Unexpected exception thrown: pl.allegro.tech.servicemesh.envoycontrol.groups.InvalidPathWithEscapedSlashesAction: INVALID_ARGUMENT: KEEP_UNCHANGED is invalid value for pathWithEscapedSlashesAction.
|
NodeMetadataValidatorTest.[1] true, true, true:
envoy-control-core/src/test/kotlin/pl/allegro/tech/servicemesh/envoycontrol/groups/NodeMetadataValidatorTest.kt#L207
org.opentest4j.AssertionFailedError: Unexpected exception thrown: pl.allegro.tech.servicemesh.envoycontrol.groups.InvalidPathWithEscapedSlashesAction: INVALID_ARGUMENT: KEEP_UNCHANGED is invalid value for pathWithEscapedSlashesAction.
|
NodeMetadataValidatorTest.[2] true, false, true:
envoy-control-core/src/test/kotlin/pl/allegro/tech/servicemesh/envoycontrol/groups/NodeMetadataValidatorTest.kt#L207
org.opentest4j.AssertionFailedError: Unexpected exception thrown: pl.allegro.tech.servicemesh.envoycontrol.groups.InvalidPathWithEscapedSlashesAction: INVALID_ARGUMENT: KEEP_UNCHANGED is invalid value for pathWithEscapedSlashesAction.
|
NodeMetadataValidatorTest.[3] false, true, false:
envoy-control-core/src/test/kotlin/pl/allegro/tech/servicemesh/envoycontrol/groups/NodeMetadataValidatorTest.kt#L207
org.opentest4j.AssertionFailedError: Unexpected exception thrown: pl.allegro.tech.servicemesh.envoycontrol.groups.InvalidPathWithEscapedSlashesAction: INVALID_ARGUMENT: KEEP_UNCHANGED is invalid value for pathWithEscapedSlashesAction.
|
NodeMetadataValidatorTest.[4] true, true, false:
envoy-control-core/src/test/kotlin/pl/allegro/tech/servicemesh/envoycontrol/groups/NodeMetadataValidatorTest.kt#L207
org.opentest4j.AssertionFailedError: Unexpected exception thrown: pl.allegro.tech.servicemesh.envoycontrol.groups.InvalidPathWithEscapedSlashesAction: INVALID_ARGUMENT: KEEP_UNCHANGED is invalid value for pathWithEscapedSlashesAction.
|
NodeMetadataValidatorTest.should not fail if outgoing-permissions is disabled():
envoy-control-core/src/test/kotlin/pl/allegro/tech/servicemesh/envoycontrol/groups/NodeMetadataValidatorTest.kt#L141
org.opentest4j.AssertionFailedError: Unexpected exception thrown: pl.allegro.tech.servicemesh.envoycontrol.groups.InvalidPathWithEscapedSlashesAction: INVALID_ARGUMENT: KEEP_UNCHANGED is invalid value for pathWithEscapedSlashesAction.
|
AddUpstreamHeaderTest.initializationError:
envoy-control-tests/src/main/kotlin/pl/allegro/tech/servicemesh/envoycontrol/AddUpstreamHeaderTest.kt#L1
org.testcontainers.containers.ContainerLaunchException: Container startup failed for image localhost/testcontainers/1exfwy5ecbkj53iv:latest
|
AdminRouteTest.initializationError:
envoy-control-tests/src/main/kotlin/pl/allegro/tech/servicemesh/envoycontrol/AdminRouteTest.kt#L1
org.testcontainers.containers.ContainerLaunchException: Container startup failed for image localhost/testcontainers/ote2ggzzdnkipngt:latest
|
AdsEnvoyControlHttp2Test.initializationError:
AdsEnvoyControlHttp2Test#L1
org.testcontainers.containers.ContainerLaunchException: Container startup failed for image localhost/testcontainers/cag9vtzvwvlxqcje:latest
|
AdsEnvoyControlSmokeTest.initializationError:
AdsEnvoyControlSmokeTest#L1
org.testcontainers.containers.ContainerLaunchException: Container startup failed for image localhost/testcontainers/41nucuremub4vdcq:latest
|
AdsEnvoyControlTest.initializationError:
AdsEnvoyControlTest#L1
org.testcontainers.containers.ContainerLaunchException: Container startup failed for image localhost/testcontainers/ejahckedjtx2ufbf:latest
|
AdsMetricsDiscoveryServerCallbackTest.initializationError:
AdsMetricsDiscoveryServerCallbackTest#L1
org.testcontainers.containers.ContainerLaunchException: Container startup failed for image localhost/testcontainers/92e2h27abhkgtwhf:latest
|
AdsOutgoingPermissionsTest.initializationError:
AdsOutgoingPermissionsTest#L1
org.testcontainers.containers.ContainerLaunchException: Container startup failed for image localhost/testcontainers/mmvxvdgcw9bexbfk:latest
|
AdsRateLimitTest.initializationError:
AdsRateLimitTest#L1
org.testcontainers.containers.ContainerLaunchException: Container startup failed for image localhost/testcontainers/fdr3gm4fkyn6ypfw:latest
|
AdsWithNoDependenciesEnvoyControlSmokeTest.initializationError:
AdsWithNoDependenciesEnvoyControlSmokeTest#L1
org.testcontainers.containers.ContainerLaunchException: Container startup failed for image localhost/testcontainers/got5vvcabbxyobqr:latest
|
AdsWithStaticListenersEnvoyControlSmokeTest.should create a server listening on a port():
AdsWithStaticListenersEnvoyControlSmokeTest#L46
org.awaitility.core.ConditionTimeoutException: Assertion condition defined as a pl.allegro.tech.servicemesh.envoycontrol.assertions.AwaitAssertionsKt
expected: 200
but was: 404 within 1 minutes 30 seconds.
|
AdsWithStaticListenersEnvoyControlTest.should allow proxy-ing request using envoy():
AdsWithStaticListenersEnvoyControlTest#L17
org.awaitility.core.ConditionTimeoutException: Assertion condition defined as a pl.allegro.tech.servicemesh.envoycontrol.assertions.AwaitAssertionsKt
Expecting actual:
Response{protocol=http/1.1, code=404, message=Not Found, url=http://localhost:32803/}
to match given predicate.
You can use 'matches(Predicate p, String description)' to have a better error message
For example:
assertThat(player).matches(p -> p.isRookie(), "is rookie");
will give an error message looking like:
Expecting actual:
player
to match 'is rookie' predicate within 1 minutes 30 seconds.
|
AdsWithStaticListenersEnvoyControlTest.should assign endpoints to correct clusters():
AdsWithStaticListenersEnvoyControlTest#L17
org.awaitility.core.ConditionTimeoutException: Assertion condition defined as a pl.allegro.tech.servicemesh.envoycontrol.assertions.AwaitAssertionsKt
Expecting actual not to be null within 1 minutes 30 seconds.
|
AdsWithStaticListenersEnvoyControlTest.should route traffic to the second instance when first is deregistered():
AdsWithStaticListenersEnvoyControlTest#L17
org.awaitility.core.ConditionTimeoutException: Assertion condition defined as a pl.allegro.tech.servicemesh.envoycontrol.assertions.AwaitAssertionsKt
Expecting actual:
Response{protocol=http/1.1, code=404, message=Not Found, url=http://localhost:32803/}
to match given predicate.
You can use 'matches(Predicate p, String description)' to have a better error message
For example:
assertThat(player).matches(p -> p.isRookie(), "is rookie");
will give an error message looking like:
Expecting actual:
player
to match 'is rookie' predicate within 1 minutes 30 seconds.
|
AllDependenciesEnvoyOriginalDstListenerTests.initializationError:
AllDependenciesEnvoyOriginalDstListenerTests#L1
org.testcontainers.containers.ContainerLaunchException: Container startup failed for image localhost/testcontainers/zzuuubwsaqxxgxse:latest
|
ClusterCircuitBreakerDefaultSettingsTest.initializationError:
envoy-control-tests/src/main/kotlin/pl/allegro/tech/servicemesh/envoycontrol/ClusterCircuitBreakerDefaultSettingsTest.kt#L1
org.testcontainers.containers.ContainerLaunchException: Container startup failed for image localhost/testcontainers/dgu1jf7o9ff3zkwk:latest
|
DeltaAdsEnvoyControlSmokeTest.initializationError:
DeltaAdsEnvoyControlSmokeTest#L1
org.testcontainers.containers.ContainerLaunchException: Container startup failed for image localhost/testcontainers/dwqj3rmuvbsv7rtu:latest
|
DeltaAdsMetricsDiscoveryServerCallbackTest.initializationError:
DeltaAdsMetricsDiscoveryServerCallbackTest#L1
org.testcontainers.containers.ContainerLaunchException: Container startup failed for image localhost/testcontainers/rak4a8pqqz4znj3s:latest
|
DeltaWildcardSnapshotDebugTest.initializationError:
DeltaWildcardSnapshotDebugTest#L1
org.testcontainers.containers.ContainerLaunchException: Container startup failed for image localhost/testcontainers/gnfvsnjg7ehvbj9f:latest
|
DynamicForwardProxyTest.initializationError:
envoy-control-tests/src/main/kotlin/pl/allegro/tech/servicemesh/envoycontrol/DynamicForwardProxyTest.kt#L1
org.testcontainers.containers.ContainerLaunchException: Container startup failed for image localhost/testcontainers/k5z7jexjdsi7pwsw:latest
|
EnvoyControlSynchronizationTest.initializationError:
envoy-control-tests/src/main/kotlin/pl/allegro/tech/servicemesh/envoycontrol/EnvoyControlSynchronizationTest.kt#L1
org.testcontainers.containers.ContainerLaunchException: Container startup failed for image localhost/testcontainers/kgeoeeekarxhbb7j:latest
|
EnvoyControlV3SmokeTest.initializationError:
envoy-control-tests/src/main/kotlin/pl/allegro/tech/servicemesh/envoycontrol/EnvoyControlV3SmokeTest.kt#L1
org.testcontainers.containers.ContainerLaunchException: Container startup failed for image localhost/testcontainers/yfcq4mwitcckdsyv:latest
|
EnvoyLoadBalancingPrioritiesTest.initializationError:
envoy-control-tests/src/main/kotlin/pl/allegro/tech/servicemesh/envoycontrol/EnvoyLoadBalancingPrioritiesTest.kt#L1
org.testcontainers.containers.ContainerLaunchException: Container startup failed for image localhost/testcontainers/26ybwszrbk4prqja:latest
|
HostHeaderRewritingTest.initializationError:
envoy-control-tests/src/main/kotlin/pl/allegro/tech/servicemesh/envoycontrol/HostHeaderRewritingTest.kt#L1
org.testcontainers.containers.ContainerLaunchException: Container startup failed for image localhost/testcontainers/cuyverjnorhghv7z:latest
|
HttpIdleTimeoutTest.initializationError:
envoy-control-tests/src/main/kotlin/pl/allegro/tech/servicemesh/envoycontrol/HttpIdleTimeoutTest.kt#L1
org.testcontainers.containers.ContainerLaunchException: Container startup failed for image localhost/testcontainers/inviwt8vbpb6c15n:latest
|
InternalRedirectTest.initializationError:
envoy-control-tests/src/main/kotlin/pl/allegro/tech/servicemesh/envoycontrol/InternalRedirectTest.kt#L1
org.testcontainers.containers.ContainerLaunchException: Container startup failed for image localhost/testcontainers/2ve5ft18a5qp14ud:latest
|
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/
|