[MLEARN-14] Performance load tests sometimes throw ConcurrentModificationException Created: 26/Mar/19  Updated: 08/Sep/22  Resolved: 08/Sep/22

Status: Closed
Project: Machine Learning
Component/s: None
Affects Version/s: 1.1
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Hieu Nguyen Duc Assignee: Hieu Nguyen Duc
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: HTML File fullLogs     Zip Archive results.zip    
Issue Links:
Relates
relates to MGNLPER-130 ConcurrentModificationException after... Closed
relates to MLEARN-8 Storing ranking neural network someti... Closed
relates to MLEARN-17 Concurrency issues in NN ranker Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

 Running `magnolia-load-test` 5 times, this error shows up 4 latter times.

java.util.concurrent.CompletionException: java.util.ConcurrentModificationExceptionjava.util.concurrent.CompletionException: java.util.ConcurrentModificationException at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273) ~[?:1.8.0_181] at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280) ~[?:1.8.0_181] at java.util.concurrent.CompletableFuture$AsyncSupply.run$$$capture(CompletableFuture.java:1592) ~[?:1.8.0_181] at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java) ~[?:1.8.0_181] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_181] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_181] at java.lang.Thread.run(Thread.java:748) ~[?:1.8.0_181]Caused by: java.util.ConcurrentModificationException at org.apache.commons.collections4.map.AbstractLinkedMap$LinkIterator.nextEntry(AbstractLinkedMap.java:552) ~[commons-collections4-4.1.jar:4.1] at org.apache.commons.collections4.map.AbstractLinkedMap$KeySetIterator.next(AbstractLinkedMap.java:450) ~[commons-collections4-4.1.jar:4.1] at java.util.AbstractCollection.toArray(AbstractCollection.java:141) ~[?:1.8.0_181] at java.util.ArrayList.<init>(ArrayList.java:178) ~[?:1.8.0_181] at info.magnolia.periscope.rank.ml.IndexedBuffer.asList(IndexedBuffer.java:97) ~[magnolia-periscope-result-ranker-1.1-SNAPSHOT.jar:?] at info.magnolia.periscope.rank.ml.NeuralNetworkResultRanker.outputArrayToResults(NeuralNetworkResultRanker.java:193) ~[magnolia-periscope-result-ranker-1.1-SNAPSHOT.jar:?] at info.magnolia.periscope.rank.ml.NeuralNetworkResultRanker.rank(NeuralNetworkResultRanker.java:143) ~[magnolia-periscope-result-ranker-1.1-SNAPSHOT.jar:?] at info.magnolia.periscope.Periscope.fetchSupplierAwareSearchResults(Periscope.java:135) ~[magnolia-periscope-core-1.1-SNAPSHOT.jar:?] at info.magnolia.periscope.Periscope.lambda$search$0(Periscope.java:111) ~[magnolia-periscope-core-1.1-SNAPSHOT.jar:?] at info.magnolia.periscope.search.SearchRunner.lambda$execute$0(SearchRunner.java:85) ~[magnolia-periscope-core-1.1-SNAPSHOT.jar:?] at java.util.concurrent.CompletableFuture$AsyncSupply.run$$$capture(CompletableFuture.java:1590) ~[?:1.8.0_181] ... 4 more

 


Generated at Mon Feb 12 02:29:04 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.