--
--
To unsubscribe, email repo-discuss+unsubscribe@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
I made many tries and raised the heap up to 8GBytes ... but still OutOfMemory Error!I am then convinced we have introduced a memory leak somewhere.I am trying now to isolate the exact test that triggers the error and then bisect on it.Hope to post more news and findings very soon ...
It seems that the number of threads increases constantly over time and they can possibly hold all the associated resources.
Then very soon the GC gets crazy and is not able to release any more memory.
Starting now bisecting ...
Luca.
Oh thanks, you saved me lots of time.:-)Have you tried simply to revert 11873ef74eb5a8fbce6023a37ad762b3784c4449 ?
On 28 Mar 2017, at 22:45, David Ostrovsky <david.o...@gmail.com> wrote:
On Tuesday, March 28, 2017 at 11:36:56 PM UTC+2, lucamilanesio wrote:I made many tries and raised the heap up to 8GBytes ... but still OutOfMemory Error!I am then convinced we have introduced a memory leak somewhere.I am trying now to isolate the exact test that triggers the error and then bisect on it.Hope to post more news and findings very soon ...I was able to reproduce the GC overhead issue in disabled ReviewDb mode,that the CI reported on this change: [1]. So, I bisected it with this command:Â $Â bazel test --test_env=GERRIT_NOTEDB=DISABLE_CHANGE_REVIEW_DB //gerrit-acceptance-tests/src/test/java/com/google/gerrit/acceptance/rest/change:rest_change_other11873ef74eb5a8fbce6023a37ad762b3784c4449 is the first bad commitThe failure I'm seeing is: [2].--
--
To unsubscribe, email repo-discuss+unsubscribe@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+unsubscribe@googlegroups.com.
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+unsubscribe@googlegroups.com.
Testing //gerrit-acceptance-tests/src/test/java/com/google/gerrit/acceptance/rest/change:rest_change_other, 553 s
$ bazel test //gerrit-acceptance-tests/src/test/java/com/google/gerrit/acceptance/rest/change:rest_change_other
INFO: Found 1 test target...
Target //gerrit-acceptance-tests/src/test/java/com/google/gerrit/acceptance/rest/change:rest_change_other up-to-date:
 bazel-bin/gerrit-acceptance-tests/src/test/java/com/google/gerrit/acceptance/rest/change/rest_change_other.jar
 bazel-bin/gerrit-acceptance-tests/src/test/java/com/google/gerrit/acceptance/rest/change/rest_change_other
INFO: Elapsed time: 147.994s, Critical Path: 144.87s
//gerrit-acceptance-tests/src/test/java/com/google/gerrit/acceptance/rest/change:rest_change_other PASSED in 138.0s
Executed 1 out of 1 test: 1 test passes.
I noticed right at the start it went from 6gb of ram to almost 0gb of ram. But then after that the ram was steady.
bazel test //gerrit-acceptance-tests/src/test/java/com/google/gerrit/acceptance/rest/change:rest_change_other
INFO: Found 1 test target...
Target //gerrit-acceptance-tests/src/test/java/com/google/gerrit/acceptance/rest/change:rest_change_other up-to-date:
 bazel-bin/gerrit-acceptance-tests/src/test/java/com/google/gerrit/acceptance/rest/change/rest_change_other.jar
 bazel-bin/gerrit-acceptance-tests/src/test/java/com/google/gerrit/acceptance/rest/change/rest_change_other
INFO: Elapsed time: 174.101s, Critical Path: 166.99s
//gerrit-acceptance-tests/src/test/java/com/google/gerrit/acceptance/rest/change:rest_change_other PASSED in 131.5s
Executed 1 out of 1 test: 1 test passes.
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
bazel test //gerrit-acceptance-tests/src/test/java/com/google/gerrit/acceptance/rest/change:rest_change_other
INFO: Found 1 test target...
Target //gerrit-acceptance-tests/src/test/java/com/google/gerrit/acceptance/rest/change:rest_change_other up-to-date:
 bazel-bin/gerrit-acceptance-tests/src/test/java/com/google/gerrit/acceptance/rest/change/rest_change_other.jar
 bazel-bin/gerrit-acceptance-tests/src/test/java/com/google/gerrit/acceptance/rest/change/rest_change_other
INFO: Elapsed time: 143.882s, Critical Path: 137.41s
//gerrit-acceptance-tests/src/test/java/com/google/gerrit/acceptance/rest/change:rest_change_other PASSED in 97.5s
Executed 1 out of 1 test: 1 test passes.
To unsubscribe, email repo-discuss+unsubscribe@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+unsubscribe@googlegroups.com.
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
Apart from sporadic spikes, the build time was between 30' and 40' ... and then spikes of 200+ ' builds ending up in deep red status.
What is strange though is that the SAME BUILDÂ but split into three different parallel jobs, is successful on the verifier flow.
Is it possible that we are hitting some leak in Bazel as well?
I know that it is client - server and if you run multiple targets in the same "build session" it will hit the same Bazel server.
The combined effect of Bazel (just guessing here) and Gerrit leaks could lead to this problem, is that credible or just pure fantasy?
I don't have any other explanation on why the same build all done in a single run or three parallel runs on three parallel VMs can have very different outcomes.
Ideas / feedback is more than welcome :-)
Luca.
Then Patrick's commit introduced a brand new suite quite heavy (ChangeReviewersByEmailIT.java) that just couldn't be hosted in an already heavy loaded JVM.
Maybe a quick fix is just to set a dedicated new target for Patrick's Suite to unblock temporarily the situation?
Luca.
I've analysed again the situation on the commits just before the one from Patrick and I confirm that the JVM was already in critical state and the suite completed with significant delay and high GC activity, as you can see below:
Then Patrick's commit introduced a brand new suite quite heavy (ChangeReviewersByEmailIT.java) that just couldn't be hosted in an already heavy loaded JVM.
Maybe a quick fix is just to set a dedicated new target for Patrick's Suite to unblock temporarily the situation?
>>>> To unsubscribe, email repo-discuss+unsubscribe@googlegroups.com
>>>> More info at http://groups.google.com/group/repo-discuss?hl=en
>>>>
>>>> ---
>>>> You received this message because you are subscribed to the Google Groups
>>>> "Repo and Gerrit Discussion" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send an
>>>> email to repo-discuss+unsubscribe@googlegroups.com.
Gerrit master is GREEN AGAIN. 🎺
>>>> To unsubscribe, email repo-discuss+unsubscribe@googlegroups.com
>>>> More info at http://groups.google.com/group/repo-discuss?hl=en
>>>>
>>>> ---
>>>> You received this message because you are subscribed to the Google Groups
>>>> "Repo and Gerrit Discussion" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send an
>>>> email to repo-discuss+unsubscribe@googlegroups.com.