--
--
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.
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.
It seems that the Bazel build still fails often because some tests run into a timeout?
--
TIMEOUT: //gerrit-acceptance-tests/src/test/java/com/google/gerrit/acceptance/rest/project:rest_project (see /home/jenkins/.cache/bazel/_bazel_jenkins/3239551e333dc09ba2b5ef07ff4549b6/execroot/gerrit/bazel-out/local-fastbuild/testlogs/gerrit-acceptance-tests/src/test/java/com/google/gerrit/acceptance/rest/project/rest_project/test.log)
[1] https://gerrit-ci.gerritforge.com/job/Gerrit-verifier-bazel/571/consoleFull
On 3 Jan 2017, at 12:53, Luca Milanesio <Luca.Mi...@gmail.com> wrote:
I have noticed that the Bazel builds tend to be slower and more flaky than the equivalent Buck ones.Buck build trends (mostly green - take on average 25-30')
<PastedGraphic-2.png>
Bazel build trends (mostly red - take on average 30-35')
<PastedGraphic-1.png>
And in some builds (e.g. https://gerrit-ci.gerritforge.com/job/Gerrit-verifier-change/5164/console) the Bazel one has even Junit instantiation errors.See:3) withStart(com.google.gerrit.server.query.group.AbstractQueryGroupsTest)java.lang.InstantiationExceptionat sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:48)
Other ideas are more than welcome :-)
On 3 Jan 2017, at 21:35, David Ostrovsky <david.o...@gmail.com> wrote:
On Tuesday, January 3, 2017 at 9:48:49 PM UTC+1, lucamilanesio wrote:And in some builds (e.g. https://gerrit-ci.gerritforge.com/job/Gerrit-verifier-change/5164/console) the Bazel one has even Junit instantiation errors.See:3) withStart(com.google.gerrit.server.query.group.AbstractQueryGroupsTest)java.lang.InstantiationExceptionat sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:48)Well, let us not blame Bazel for not being able to instantiate anabstract class ;-)
@Ignore annotation is missing on new introduced AbstractQueryGroupsTestclass, while it is there on old AbstractQueryAccountsTest class.Other ideas are more than welcome :-)I would stop all these retrying attempts, and only build once.Actually we already verify every single change 4 times:(Buck | Bazel) x (ReviewDb | NoteDbReadWrite)This should be more than enough.
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.
To be fair, the AbstractQueryGroupsTest class should be flagged as @Ignore because it is actually abstract and its tests cannot be instantiated.But (again) this change did not introduce that class, just modified some parts of it. Why on earth Bazel build was working before for that test, ignoring it, and now isn't doing it anymore in this patch-set?
And secondly, why Buck works instead?
On 4 Jan 2017, at 05:54, David Ostrovsky <david.o...@gmail.com> wrote:
On Wednesday, January 4, 2017 at 1:26:29 AM UTC+1, lucamilanesio wrote:To be fair, the AbstractQueryGroupsTest class should be flagged as @Ignore because it is actually abstract and its tests cannot be instantiated.But (again) this change did not introduce that class, just modified some parts of it. Why on earth Bazel build was working before for that test, ignoring it, and now isn't doing it anymore in this patch-set?Was it? I don't see any successfull verification with Bazel forthis specific change unless i fixed it in patch set 4.
And secondly, why Buck works instead?The difference here is in java_test rule implementations for differentbuild tool chains.Buck induces the actual tests from the sources and by doing thisrespects if the test class is abstract or interface and skip it: [1].Bazel expects test suite file and because Gerrit project doesn'thave them, they are generated in this Bazlet: [2]. The generationtakes place for each and every file, no matter if it is abstract or not.That why the only way to skip tests in Bazel for now is not to includeabstract classes in sources set provided to the java_test rule orannotate them with @Ignore annotation.
Builds seemed a lot more stable and consistent over the past 24h,
I am going to disable NOW the retry mechanism and see how it goes.
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.
For more options, visit https://groups.google.com/d/optout.
I'm still seeing a number of flaky test timeouts in the bazel builds. Is this still an outstanding known issue? For example: https://gerrit-review.googlesource.com/93830
//gerrit-acceptance-tests/src/test/java/com/google/gerrit/acceptance/api/change:api_change TIMEOUT in 906.5s //gerrit-acceptance-tests/src/test/java/com/google/gerrit/acceptance/git:git TIMEOUT in 905.0s //gerrit-acceptance-tests/src/test/java/com/google/gerrit/acceptance/rest/change:rest_change_other TIMEOUT in 905.0s //gerrit-acceptance-tests/src/test/java/com/google/gerrit/acceptance/rest/change:rest_change_submit TIMEOUT in 905.0s //gerrit-acceptance-tests/src/test/java/com/google/gerrit/acceptance/rest/project:rest_project TIMEOUT in 905.1s //gerrit-acceptance-tests/src/test/java/com/google/gerrit/acceptance/server/change:server_change TIMEOUT in 908.5s //gerrit-server:query_tests TIMEOUT in 908.4s
FATAL: java.io.IOException: Unexpected termination of the channel hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel
I do not see any execution stats in Buck :-(
@David you are the Buck-expert here, any ideas?