allegro-internal/flex-roadmap#819 Migrated metrics to prometheus #258
GitHub Actions / JUnit Test Report
failed
Sep 27, 2024 in 0s
614 tests run, 0 skipped, 3 failed.
Annotations
Check failure on line 1 in AdsMetricsDiscoveryServerCallbackTest
github-actions / JUnit Test Report
AdsMetricsDiscoveryServerCallbackTest.should measure gRPC requests()
java.lang.NullPointerException
Raw output
java.lang.NullPointerException
at pl.allegro.tech.servicemesh.envoycontrol.MetricsDiscoveryServerCallbacksTest$isGreaterThanZero$1.invoke(MetricsDiscoveryServerCallbacksTest.kt:223)
at pl.allegro.tech.servicemesh.envoycontrol.MetricsDiscoveryServerCallbacksTest$isGreaterThanZero$1.invoke(MetricsDiscoveryServerCallbacksTest.kt:223)
at pl.allegro.tech.servicemesh.envoycontrol.MetricsDiscoveryServerCallbacksTest$should measure gRPC requests$1.invoke$lambda$1$lambda$0(MetricsDiscoveryServerCallbacksTest.kt:257)
at pl.allegro.tech.servicemesh.envoycontrol.MetricsDiscoveryServerCallbacksTest$DefaultImpls.assertCondition$lambda$0(MetricsDiscoveryServerCallbacksTest.kt:268)
at org.assertj.core.api.AbstractAssert.catchOptionalAssertionError(AbstractAssert.java:908)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:992)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
at org.assertj.core.api.AbstractAssert.satisfiesForProxy(AbstractAssert.java:899)
at org.assertj.core.api.AbstractAssert.satisfies(AbstractAssert.java:850)
at pl.allegro.tech.servicemesh.envoycontrol.MetricsDiscoveryServerCallbacksTest$DefaultImpls.assertCondition(MetricsDiscoveryServerCallbacksTest.kt:268)
at pl.allegro.tech.servicemesh.envoycontrol.MetricsDiscoveryServerCallbacksTest$DefaultImpls.access$assertCondition(MetricsDiscoveryServerCallbacksTest.kt:204)
at pl.allegro.tech.servicemesh.envoycontrol.MetricsDiscoveryServerCallbacksTest$should measure gRPC requests$1.invoke(MetricsDiscoveryServerCallbacksTest.kt:257)
at pl.allegro.tech.servicemesh.envoycontrol.MetricsDiscoveryServerCallbacksTest$should measure gRPC requests$1.invoke(MetricsDiscoveryServerCallbacksTest.kt:255)
at pl.allegro.tech.servicemesh.envoycontrol.assertions.AwaitAssertionsKt.untilAsserted$lambda$0(AwaitAssertions.kt:15)
at org.awaitility.core.AssertionCondition.lambda$new$0(AssertionCondition.java:53)
at org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:248)
at org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:235)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
Check failure on line 1 in XdsMetricsDiscoveryServerCallbacksTest
github-actions / JUnit Test Report
XdsMetricsDiscoveryServerCallbacksTest.should measure gRPC requests()
java.lang.NullPointerException
Raw output
java.lang.NullPointerException
at pl.allegro.tech.servicemesh.envoycontrol.MetricsDiscoveryServerCallbacksTest$isGreaterThanZero$1.invoke(MetricsDiscoveryServerCallbacksTest.kt:223)
at pl.allegro.tech.servicemesh.envoycontrol.MetricsDiscoveryServerCallbacksTest$isGreaterThanZero$1.invoke(MetricsDiscoveryServerCallbacksTest.kt:223)
at pl.allegro.tech.servicemesh.envoycontrol.MetricsDiscoveryServerCallbacksTest$should measure gRPC requests$1.invoke$lambda$1$lambda$0(MetricsDiscoveryServerCallbacksTest.kt:257)
at pl.allegro.tech.servicemesh.envoycontrol.MetricsDiscoveryServerCallbacksTest$DefaultImpls.assertCondition$lambda$0(MetricsDiscoveryServerCallbacksTest.kt:268)
at org.assertj.core.api.AbstractAssert.catchOptionalAssertionError(AbstractAssert.java:908)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:992)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
at org.assertj.core.api.AbstractAssert.satisfiesForProxy(AbstractAssert.java:899)
at org.assertj.core.api.AbstractAssert.satisfies(AbstractAssert.java:850)
at pl.allegro.tech.servicemesh.envoycontrol.MetricsDiscoveryServerCallbacksTest$DefaultImpls.assertCondition(MetricsDiscoveryServerCallbacksTest.kt:268)
at pl.allegro.tech.servicemesh.envoycontrol.MetricsDiscoveryServerCallbacksTest$DefaultImpls.access$assertCondition(MetricsDiscoveryServerCallbacksTest.kt:204)
at pl.allegro.tech.servicemesh.envoycontrol.MetricsDiscoveryServerCallbacksTest$should measure gRPC requests$1.invoke(MetricsDiscoveryServerCallbacksTest.kt:257)
at pl.allegro.tech.servicemesh.envoycontrol.MetricsDiscoveryServerCallbacksTest$should measure gRPC requests$1.invoke(MetricsDiscoveryServerCallbacksTest.kt:255)
at pl.allegro.tech.servicemesh.envoycontrol.assertions.AwaitAssertionsKt.untilAsserted$lambda$0(AwaitAssertions.kt:15)
at org.awaitility.core.AssertionCondition.lambda$new$0(AssertionCondition.java:53)
at org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:248)
at org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:235)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
github-actions / JUnit Test Report
IncomingPermissionsAllowedClientTest.echo should allow special client with name from the certificate to access endpoint and log it when policy log()
org.assertj.core.error.AssertJMultipleFailuresError:
Multiple Failures (1 failure)
-- failure 1 --
Expected size: 1 but was: 0 in:
[]
at EnvoyAssertionsKt.hasOneAccessDenial$lambda$3(EnvoyAssertionsKt.java:174)
Raw output
org.assertj.core.error.AssertJMultipleFailuresError:
Multiple Failures (1 failure)
-- failure 1 --
Expected size: 1 but was: 0 in:
[]
at EnvoyAssertionsKt.hasOneAccessDenial$lambda$3(EnvoyAssertionsKt.java:174)
at [email protected]/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at [email protected]/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
at [email protected]/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at [email protected]/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
at app//pl.allegro.tech.servicemesh.envoycontrol.assertions.EnvoyAssertionsKt.hasOneAccessDenial(EnvoyAssertions.kt:159)
at app//pl.allegro.tech.servicemesh.envoycontrol.assertions.EnvoyAssertionsKt.hasOneAccessAllowedWithActionLog(EnvoyAssertions.kt:78)
at app//pl.allegro.tech.servicemesh.envoycontrol.assertions.EnvoyAssertionsKt.hasOneAccessAllowedWithActionLog$default(EnvoyAssertions.kt:68)
at app//pl.allegro.tech.servicemesh.envoycontrol.permissions.IncomingPermissionsAllowedClientTest.echo should allow special client with name from the certificate to access endpoint and log it when policy log(IncomingPermissionsAllowedClientTest.kt:122)
at [email protected]/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at [email protected]/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at [email protected]/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at [email protected]/java.lang.reflect.Method.invoke(Method.java:569)
at app//org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:728)
at app//org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
at app//org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
at app//org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)
at app//org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86)
at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
at app//org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:218)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:214)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:139)
at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:69)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at app//org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
at app//org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at app//org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
at app//org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at app//org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at app//org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
at app//org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
at app//org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
at app//org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107)
at app//org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
at app//org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
at app//org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
at app//org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
at app//org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
at app//org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
at app//org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.processAllTestClasses(JUnitPlatformTestClassProcessor.java:118)
at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.access$000(JUnitPlatformTestClassProcessor.java:93)
at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor.stop(JUnitPlatformTestClassProcessor.java:88)
at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
at [email protected]/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at [email protected]/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at [email protected]/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at [email protected]/java.lang.reflect.Method.invoke(Method.java:569)
at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
at jdk.proxy1/jdk.proxy1.$Proxy2.stop(Unknown Source)
at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
at app//worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
at app//worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
Loading