Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [rdf4j-dev] JDK11 and multithread shacl tests

Hi Bart,

It fails on my machine too with jdk11, but not every run and only if you run all the tests in the class. 

The failing test is: testDataAndShapes

We might want to disable parallel shacl validation again if you are going to release a patch release with that native store bug you fixed. Since tracing down this kind of race condition issues can take a while.

Håvard

On 25 Sep 2019, at 08:19, Håvard Ottestad <hmottestad@xxxxxxxxx> wrote:

Hi Bart,

I thought I might have seen something similar earlier in the SHACL development when sharing a connection between many threads. I’m not sure if maybe this is the same problem. 

If it’s failing consistently for you then this is actually good news, we might be able to figure out what’s going on. 

Two things that would be great if you tried. 

1. Run the tests in IntelliJ/eclipse to see which of the tests in that class are failing

2. In the failing test try to call sail.setParallelValidation(false); this will let us how if it’s the parallel aspect of SHACL validation that’s the issue or if there is an issue in the memory store instead

I can try to run the tests in jdk 11 on my laptop and see if they fail there too. 

Håvard

On 24 Sep 2019, at 17:38, Bart Hanssens (BOSA) <bart.hanssens@xxxxxxxxxxxx> wrote:


Hi Håvard (and other devs 😉)
 
Quick question, did you encounter issues with Shacl in multicore Linux environment on OpenJDK 8 ?
 
I’m still working on building RDF4j on JDK11, and while building works, the tests  almost always hangs on shacl store tests
(both on ARM and Intel Xeon E1230 4c/8t, mvn clean install -Passembly)
 
[INFO] Running org.eclipse.rdf4j.sail.shacl.MultithreadedMemoryStoreTest
16:32:05.159 [MemoryStore snapshot cleanup] INFO  Thread MemoryStore snapshot cleanup is waiting on 14 active Read locks
16:32:25.189 [MemoryStore snapshot cleanup] INFO  Thread MemoryStore snapshot cleanup is waiting on 14 active Read locks
16:33:05.223 [MemoryStore snapshot cleanup] INFO  Thread MemoryStore snapshot cleanup is waiting on 14 active Read locks
16:34:25.262 [MemoryStore snapshot cleanup] INFO  Thread MemoryStore snapshot cleanup is waiting on 14 active Read locks
16:37:05.300 [MemoryStore snapshot cleanup] INFO  Thread MemoryStore snapshot cleanup is waiting on 14 active Read locks
16:42:25.338 [MemoryStore snapshot cleanup] INFO  Thread MemoryStore snapshot cleanup is waiting on 14 active Read locks
16:53:05.376 [MemoryStore snapshot cleanup] INFO  Thread MemoryStore snapshot cleanup is waiting on 14 active Read locks
17:14:25.401 [MemoryStore snapshot cleanup] INFO  Thread MemoryStore snapshot cleanup is waiting on 14 active Read locks
 
 
Best regards
 
Bart
_______________________________________________
rdf4j-dev mailing list
rdf4j-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/rdf4j-dev


Back to the top