Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

FVTs fail when run with local graph repository #7624

Open
planetf1 opened this issue Apr 20, 2023 · 4 comments
Open

FVTs fail when run with local graph repository #7624

planetf1 opened this issue Apr 20, 2023 · 4 comments
Labels
pinned Keep open (do not time out)

Comments

@planetf1
Copy link
Member

FVTs currently fail using the local graph repository

Egeria's FVT tests currently run with 'inmemory' repository only. This is due to

  • an intent to move the graph repository connector to a new repo, and then run FVT tests there
  • to do the same for XTDB & other repo connectors
  • minimizing the time taken as part of the PR verification (and local build) process.

In the past, we did run both local graph & inmem

To debug #7618 I tried running FVTs against graph, rather than inmemory. this was done by search/replace of 'inmemory-repository' with local-graph-repository.

Having done this many tests fail.

For a specific example I modified asset consumer fvt:

diff --git a/open-metadata-test/open-metadata-fvt/access-services-fvt/asset-consumer-fvt/src/test/script/configureStartServer.groovy b/open-metadata-test/open-metadata-fvt/access-services-fvt/asset-consumer-fvt/src/test/script/configureStartServer.groovy
index 5b86a51d66..e97435d6f7 100755
--- a/open-metadata-test/open-metadata-fvt/access-services-fvt/asset-consumer-fvt/src/test/script/configureStartServer.groovy
+++ b/open-metadata-test/open-metadata-fvt/access-services-fvt/asset-consumer-fvt/src/test/script/configureStartServer.groovy
@@ -79,7 +79,7 @@ while (!connected && i>0)

 // --- Configure the platform - any errors here and we exit
 System.out.println("=== Configuring server: " + serverMem + " ===");
-post1 = new URL(baseURL + "/open-metadata/admin-services/users/" + user + "/servers/" + serverMem + "/local-repository/mode/in-memory-repository" ).openConnection()
+post1 = new URL(baseURL + "/open-metadata/admin-services/users/" + user + "/servers/" + serverMem + "/local-repository/mode/local-graph-repository" ).openConnection()
 post1.setRequestMethod("POST")
 post1.setRequestProperty("Content-Type", "application/json")
 postRC1 = post1.getResponseCode();

Prior to this change FVT passed successfully. After, some tests fail

> Task :open-metadata-test:open-metadata-fvt:access-services-fvt:asset-consumer-fvt:test

AssetConsumerOMASClientConstructorIT STANDARD_OUT
   11:31:28.620 [Test worker] WARN  o.odpi.openmetadata.http.HttpHelper - Strict SSL is set to false! Invalid certificates will be accepted for connection!

AssetConsumerOMASClientConstructorIT > testClientConstructors(String) > org.odpi.openmetadata.accessservices.assetconsumer.fvt.execution.AssetConsumerOMASClientConstructorIT.testClientConstructors(String)[1] STANDARD_OUT
   ==========================================
   ClientConstructorTest FVT (serverinmem) ran successfully
   Captured AuditLog

AssetConsumerOMASCommentLifecycleIT STANDARD_OUT
   11:31:29.169 [Test worker] WARN  o.odpi.openmetadata.http.HttpHelper - Strict SSL is set to false! Invalid certificates will be accepted for connection!

> Task :open-metadata-test:open-metadata-fvt:access-services-fvt:asset-consumer-fvt:test

AssetConsumerOMASCommentLifecycleIT > testCreateTag(String) > org.odpi.openmetadata.accessservices.assetconsumer.fvt.execution.AssetConsumerOMASCommentLifecycleIT.testCreateTag(String)[1] STANDARD_OUT
   AssetGUID: 6005ed0a-06ad-4e4b-a9b0-e7a7afa4e639
   SchemaTypeGUID: 85b0be09-f37b-4d60-8e80-1593a3f2257b
   Asset2GUID: 9867ab7a-7818-4508-ae7c-44e049d03644

   PublicComment1GUID: 8211ba91-7dd7-4678-ad0a-5f9e589cdac4

   PublicComment2GUID: b9663bf6-1f25-40c3-8a40-2dd7e6911afc

   PrivateCommentGUID: fdae7abf-1069-408f-a041-c4b4338c3004



   org.odpi.openmetadata.fvt.utilities.FVTResults@ca96bd24
   ==========================================
   CommentLifecycleTest FVT (serverinmem) ran successfully
   Captured AuditLog

AssetConsumerOMASCreateTagIT STANDARD_OUT
   11:31:31.776 [Test worker] WARN  o.odpi.openmetadata.http.HttpHelper - Strict SSL is set to false! Invalid certificates will be accepted for connection!

AssetConsumerOMASCreateTagIT > testCreateTag(String) > org.odpi.openmetadata.accessservices.assetconsumer.fvt.execution.AssetConsumerOMASCreateTagIT.testCreateTag(String)[1] STANDARD_OUT
   AssetGUID: 36782757-78fe-4537-8bda-1d6937d4943a
   SchemaTypeGUID: 9dbccf2d-e5ca-4b03-b22b-4cafb0abefd3
   Asset2GUID: ae5a3117-fd66-4378-b7ad-a18e63ebdd42

   org.odpi.openmetadata.fvt.utilities.FVTResults@fb90909f
   ==========================================
   InformalTagLifecycleTest FVT (serverinmem) failed
   Number of Failed tests: 1
   Captured Exceptions: 1
    ==> org.odpi.openmetadata.fvt.utilities.exceptions.FVTUnexpectedCondition with message getPublicTag::getByNameAfterCreatePublicTag1(no tag for RetrieveByName of PublicTag1)
   FVTUnexpectedCondition{testCaseName='getPublicTag', errorDescription='getPublicTag::getByNameAfterCreatePublicTag1(no tag for RetrieveByName of PublicTag1)', caughtException=null}

AssetConsumerOMASCreateTagIT > testCreateTag(String) > org.odpi.openmetadata.accessservices.assetconsumer.fvt.execution.AssetConsumerOMASCreateTagIT.testCreateTag(String)[1] STANDARD_ERROR
   FVTUnexpectedCondition{testCaseName='getPublicTag', errorDescription='getPublicTag::getByNameAfterCreatePublicTag1(no tag for RetrieveByName of PublicTag1)', caughtException=null}
   	at org.odpi.openmetadata.accessservices.assetconsumer.fvt.InformalTagLifecycleTest.getTagTest(InformalTagLifecycleTest.java:217)
   	at org.odpi.openmetadata.accessservices.assetconsumer.fvt.InformalTagLifecycleTest.runIt(InformalTagLifecycleTest.java:118)
   	at org.odpi.openmetadata.accessservices.assetconsumer.fvt.InformalTagLifecycleTest.performFVT(InformalTagLifecycleTest.java:69)
   	at org.odpi.openmetadata.accessservices.assetconsumer.fvt.execution.AssetConsumerOMASCreateTagIT.testCreateTag(AssetConsumerOMASCreateTagIT.java:30)
   	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
   	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
   	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:727)
   	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
   	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
   	at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
   	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)
   	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestTemplateMethod(TimeoutExtension.java:94)
   	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
   	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
   	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
   	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
   	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
   	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
   	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
   	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
   	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:217)
   	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
   	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:213)
   	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:138)
   	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:68)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
   	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
   	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
   	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
   	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask$DefaultDynamicTestExecutor.execute(NodeTestTask.java:226)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask$DefaultDynamicTestExecutor.execute(NodeTestTask.java:204)
   	at org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor.execute(TestTemplateTestDescriptor.java:142)
   	at org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor.lambda$execute$2(TestTemplateTestDescriptor.java:110)
   	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
   	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
   	at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179)
   	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
   	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
   	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
   	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
   	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
   	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
   	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:522)
   	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:512)
   	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
   	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
   	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:239)
   	at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
   	at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:276)
   	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
   	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
   	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
   	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
   	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:522)
   	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:512)
   	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
   	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
   	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:239)
   	at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
   	at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:276)
   	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
   	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:522)
   	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:512)
   	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
   	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
   	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:239)
   	at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
   	at org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor.execute(TestTemplateTestDescriptor.java:110)
   	at org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor.execute(TestTemplateTestDescriptor.java:44)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
   	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
   	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
   	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
   	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
   	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
   	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
   	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
   	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
   	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
   	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
   	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
   	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
   	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
   	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
   	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
   	at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
   	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107)
   	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
   	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
   	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
   	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
   	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
   	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
   	at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
   	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.processAllTestClasses(JUnitPlatformTestClassProcessor.java:110)
   	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.access$000(JUnitPlatformTestClassProcessor.java:90)
   	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor.stop(JUnitPlatformTestClassProcessor.java:85)
   	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
   	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
   	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
   	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.proxy2/jdk.proxy2.$Proxy5.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 worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
   	at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)

AssetConsumerOMASCreateTagIT > testCreateTag(String) > org.odpi.openmetadata.accessservices.assetconsumer.fvt.execution.AssetConsumerOMASCreateTagIT.testCreateTag(String)[1] STANDARD_OUT
   Captured AuditLog

AssetConsumerOMASCreateTagIT > testCreateTag(String) > org.odpi.openmetadata.accessservices.assetconsumer.fvt.execution.AssetConsumerOMASCreateTagIT.testCreateTag(String)[1] FAILED
   org.opentest4j.AssertionFailedError at AssetConsumerOMASCreateTagIT.java:33

AssetConsumerOMASInvalidParameterIT STANDARD_OUT
   11:31:32.777 [Test worker] WARN  o.odpi.openmetadata.http.HttpHelper - Strict SSL is set to false! Invalid certificates will be accepted for connection!

AssetConsumerOMASInvalidParameterIT > testInvalidParameters(String) > org.odpi.openmetadata.accessservices.assetconsumer.fvt.execution.AssetConsumerOMASInvalidParameterIT.testInvalidParameters(String)[1] STANDARD_OUT
   ==========================================
   InvalidParameterTest FVT (serverinmem) ran successfully
   Captured AuditLog

4 tests completed, 1 failed

> Task :open-metadata-test:open-metadata-fvt:access-services-fvt:asset-consumer-fvt:test FAILED

Execution failed for task ':open-metadata-test:open-metadata-fvt:access-services-fvt:asset-consumer-fvt:test'.
> There were failing tests. See the report at: file:///Users/jonesn/IdeaProjects/egeria/open-metadata-test/open-metadata-fvt/access-services-fvt/asset-consumer-fvt/build/reports/tests/test/index.html

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
@planetf1
Copy link
Member Author

This was done with HEAD 67cf556 (ie before any issues that broke CTS as in the referenced issue), and may indicate problems with graph repository FVTs more generally

@planetf1
Copy link
Member Author

Similar failures occur with

  • 4.0
  • 3.15

which suggests this is a longer/different issue to the latest issues seen with CTS

Suggestion:

  • allow graph repo tests to be run optionally (build flag?)
  • fix tests
  • consider running with flag in PR checks

These are tactical. A long term solution would still be to

  • move graph repository connector to new repo
  • add FVT tests into external repo connectors - ie for xtdb & graph

@planetf1
Copy link
Member Author

planetf1 commented Apr 20, 2023

The fix for #7618 also fixes running FVTs against the graph repo (at least on main).
However the graph FVTs are very slow in the default configuration (running many parallel threads on m1 - but is not cpu limited...)

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 20 days if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the no-issue-activity Issues automatically marked as stale because they have not had recent activity. label Jun 20, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jul 10, 2023
@mandy-chessell mandy-chessell added pinned Keep open (do not time out) and removed no-issue-activity Issues automatically marked as stale because they have not had recent activity. labels Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pinned Keep open (do not time out)
Projects
None yet
Development

No branches or pull requests

2 participants