-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/62700/#review186764
-----------------------------------------------------------
Master (24d2caf) is red with this patch.
./build-support/jenkins/build.sh
[87] ./~/react/cjs/react.production.min.js 5.61 kB {0} [built]
+ 75 hidden modules
:processResources
:classes
:jar
:startScripts
:distTar
:distZip
:assemble
:compileTestJava/home/jenkins/jenkins-slave/workspace/AuroraBot/src/test/java/org/apache/aurora/scheduler/thrift/aop/MockDecoratedThrift.java:38:
Note: Wrote forwarder
org.apache.aurora.scheduler.thrift.aop.MockDecoratedThriftForwarder
@Forward(AnnotatedAuroraAdmin.class)
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
:processTestResources
:testClasses
:compileJmhJavaNote:
/home/jenkins/jenkins-slave/workspace/AuroraBot/src/jmh/java/org/apache/aurora/benchmark/fakes/FakeSchedulerDriver.java
uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
:processJmhResources NO-SOURCE
:jmhClasses
:checkstyleJmh
:checkstyleMain[ant:checkstyle] [ERROR]
/home/jenkins/jenkins-slave/workspace/AuroraBot/src/main/java/org/apache/aurora/scheduler/events/Webhook.java:20:
Wrong order for 'com.google.common.annotations.VisibleForTesting' import.
Order should be: java, javax, scala, com, net, org. Each group should
be separated by a single blank line. [ImportOrder]
[ant:checkstyle] [ERROR]
/home/jenkins/jenkins-slave/workspace/AuroraBot/src/main/java/org/apache/aurora/scheduler/events/Webhook.java:27:
Wrong order for 'org.apache.aurora.common.stats.StatsProvider' import. Order
should be: java, javax, scala, com, net, org. Each group should be
separated by a single blank line. [ImportOrder]
FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':checkstyleMain'.
> Checkstyle rule violations were found. See the report at:
> file:///home/jenkins/jenkins-slave/workspace/AuroraBot/dist/reports/checkstyle/main.html
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.
* Get more help at https://help.gradle.org
BUILD FAILED in 4m 2s
37 actionable tasks: 31 executed, 6 up-to-date
I will refresh this build result if you post a review containing "@ReviewBot
retry"
- Aurora ReviewBot
On Sept. 30, 2017, 12:17 a.m., Jordan Ly wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/62700/
> -----------------------------------------------------------
>
> (Updated Sept. 30, 2017, 12:17 a.m.)
>
>
> Review request for Aurora, David McLaughlin, Santhosh Kumar Shanmugham,
> Stephan Erb, and Bill Farner.
>
>
> Bugs: AURORA-1773
> https://issues.apache.org/jira/browse/AURORA-1773
>
>
> Repository: aurora
>
>
> Description
> -------
>
> Hijacking https://reviews.apache.org/r/59703
>
> From the above review: "Current code uses a synchronous HTTP client, which
> can block the EventBus. Switch to an async HTTP client."
>
> Previously, we had an issue where the HTTP client would have a non-daemon
> thread which caused the Scheduler to fail to shutdown. I converted it into an
> AbstractIdleService and properly closed the client in the shutdown() method.
> Additionally, I made a small tweak to the original code where we ABORT any
> response receieved after the status since we don't care. We just use the
> response code for stats.
>
>
> Diffs
> -----
>
> build.gradle f9579a38de95ff9e11cf2e44980d01e103226389
> src/main/java/org/apache/aurora/scheduler/events/Webhook.java
> 05f46a1946e062ac57cca828c094586f4c983f45
> src/main/java/org/apache/aurora/scheduler/events/WebhookInfo.java
> da22c218c5fbe6607552edbb4f8e52850d718851
> src/main/java/org/apache/aurora/scheduler/events/WebhookModule.java
> 1f10af71830386652d21961b733bd0927c5436a1
> src/test/java/org/apache/aurora/scheduler/events/WebhookTest.java
> 07f39fa487e0ebd2252568750d5f36ac200a96aa
>
>
> Diff: https://reviews.apache.org/r/62700/diff/1/
>
>
> Testing
> -------
>
> ./gradlew test
>
> Tested proper shutdown occurs in Vagrant.
> Currently scale-testing over the weekend.
>
>
> Thanks,
>
> Jordan Ly
>
>