Skip to content

Instantly share code, notes, and snippets.

@jsirois
Last active June 30, 2016 00:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jsirois/32f629a2e950d28e8910fe3d62e928d8 to your computer and use it in GitHub Desktop.
Save jsirois/32f629a2e950d28e8910fe3d62e928d8 to your computer and use it in GitHub Desktop.
The test failures leading to AuroraBot coverage missing comment
```
...
:pmdJmh
:pmdMain
:pmdTest
:test
org.apache.aurora.scheduler.http.api.security.ShiroKerberosAuthenticationFilterTest > testLoginFailure401 FAILED
com.sun.jersey.api.client.ClientHandlerException at ShiroKerberosAuthenticationFilterTest.java:112
Caused by: java.net.ConnectException at ShiroKerberosAuthenticationFilterTest.java:112
java.lang.AssertionError
org.apache.aurora.scheduler.http.api.security.ShiroKerberosAuthenticationFilterTest > testDoesNotPermitUnauthenticated FAILED
com.sun.jersey.api.client.ClientHandlerException at ShiroKerberosAuthenticationFilterTest.java:84
Caused by: java.net.ConnectException at ShiroKerberosAuthenticationFilterTest.java:84
org.apache.aurora.scheduler.http.api.security.ShiroKerberosPermissiveAuthenticationFilterTest > testInterceptsUnauthenticatedException FAILED
com.sun.jersey.api.client.ClientHandlerException at ShiroKerberosPermissiveAuthenticationFilterTest.java:90
Caused by: java.net.ConnectException at ShiroKerberosPermissiveAuthenticationFilterTest.java:90
java.lang.AssertionError
org.apache.aurora.scheduler.http.api.security.ShiroKerberosAuthenticationFilterTest > testRejectsMalformedMechanism FAILED
com.sun.jersey.api.client.ClientHandlerException at ShiroKerberosAuthenticationFilterTest.java:97
Caused by: java.net.ConnectException at ShiroKerberosAuthenticationFilterTest.java:97
org.apache.aurora.scheduler.http.api.ApiIT > testGzipFilterApplied FAILED
com.sun.jersey.api.client.ClientHandlerException at ApiIT.java:61
Caused by: java.net.ConnectException at ApiIT.java:61
java.lang.AssertionError
org.apache.aurora.scheduler.http.api.ApiBetaTest > testGetJobSummary FAILED
com.sun.jersey.api.client.ClientHandlerException at ApiBetaTest.java:137
Caused by: java.net.ConnectException at ApiBetaTest.java:137
java.lang.AssertionError
org.apache.aurora.scheduler.http.api.security.ShiroKerberosPermissiveAuthenticationFilterTest > testPermitsUnauthenticated FAILED
com.sun.jersey.api.client.ClientHandlerException at ShiroKerberosPermissiveAuthenticationFilterTest.java:79
Caused by: java.net.ConnectException at ShiroKerberosPermissiveAuthenticationFilterTest.java:79
java.lang.AssertionError
org.apache.aurora.scheduler.http.api.security.ShiroKerberosAuthenticationFilterTest > testLoginSuccess200 FAILED
com.sun.jersey.api.client.ClientHandlerException at ShiroKerberosAuthenticationFilterTest.java:129
Caused by: java.net.ConnectException at ShiroKerberosAuthenticationFilterTest.java:129
java.lang.AssertionError
org.apache.aurora.scheduler.http.H2ConsoleModuleIT > testConsoleBinding FAILED
com.sun.jersey.api.client.ClientHandlerException at H2ConsoleModuleIT.java:36
Caused by: java.net.ConnectException at H2ConsoleModuleIT.java:36
org.apache.aurora.scheduler.http.api.ApiBetaTest > testGetTasks FAILED
com.sun.jersey.api.client.ClientHandlerException at ApiBetaTest.java:163
Caused by: java.net.ConnectException at ApiBetaTest.java:163
java.lang.AssertionError
I0630 00:13:22.388 [ShutdownHook, SchedulerMain:98] Stopping scheduler services.
org.apache.aurora.scheduler.http.api.ApiBetaTest > testPostInvalidStructure FAILED
com.sun.jersey.api.client.ClientHandlerException at ApiBetaTest.java:183
Caused by: java.net.ConnectException at ApiBetaTest.java:183
org.apache.aurora.scheduler.http.api.ApiBetaTest > testGetHelp FAILED
com.sun.jersey.api.client.ClientHandlerException at ApiBetaTest.java:173
Caused by: java.net.ConnectException at ApiBetaTest.java:173
org.apache.aurora.scheduler.http.ServletFilterTest > testGzipEncoding FAILED
com.sun.jersey.api.client.ClientHandlerException at ServletFilterTest.java:38
Caused by: java.net.ConnectException at ServletFilterTest.java:38
org.apache.aurora.scheduler.http.api.ApiBetaTest > testPostInvalidJson FAILED
com.sun.jersey.api.client.ClientHandlerException at ApiBetaTest.java:210
Caused by: java.net.ConnectException at ApiBetaTest.java:210
org.apache.aurora.scheduler.http.api.ApiBetaTest > testGetRoleSummary FAILED
com.sun.jersey.api.client.ClientHandlerException at ApiBetaTest.java:119
Caused by: java.net.ConnectException at ApiBetaTest.java:119
java.lang.AssertionError
org.apache.aurora.scheduler.http.ServletFilterTest > testLeaderRedirect FAILED
com.sun.jersey.api.client.ClientHandlerException at ServletFilterTest.java:38
Caused by: java.net.ConnectException at ServletFilterTest.java:38
org.apache.aurora.scheduler.http.api.ApiBetaTest > testCreateJob FAILED
com.sun.jersey.api.client.ClientHandlerException at ApiBetaTest.java:100
Caused by: java.net.ConnectException at ApiBetaTest.java:100
java.lang.AssertionError
org.apache.aurora.scheduler.http.ServletFilterTest > testHeaderOverridesLeaderRedirect FAILED
com.sun.jersey.api.client.ClientHandlerException at ServletFilterTest.java:136
Caused by: java.net.ConnectException at ServletFilterTest.java:136
org.apache.aurora.scheduler.http.api.security.HttpSecurityIT > testH2ConsoleUser FAILED
org.apache.http.conn.HttpHostConnectException at HttpSecurityIT.java:322
Caused by: java.net.ConnectException at HttpSecurityIT.java:322
org.apache.aurora.scheduler.http.api.ApiBetaTest > testInvalidApiMethod FAILED
com.sun.jersey.api.client.ClientHandlerException at ApiBetaTest.java:197
Caused by: java.net.ConnectException at ApiBetaTest.java:197
org.apache.aurora.scheduler.http.api.security.HttpSecurityIT > testH2ConsoleUnauthorized FAILED
org.apache.http.conn.HttpHostConnectException at HttpSecurityIT.java:322
Caused by: java.net.ConnectException at HttpSecurityIT.java:322
org.apache.aurora.scheduler.http.api.security.HttpSecurityIT > testAuroraAdmin FAILED
org.apache.thrift.transport.TTransportException at HttpSecurityIT.java:301
Caused by: org.apache.http.conn.HttpHostConnectException at HttpSecurityIT.java:301
Caused by: java.net.ConnectException at HttpSecurityIT.java:301
java.lang.AssertionError
org.apache.aurora.scheduler.http.MnameTest > testInstanceAbsent FAILED
com.sun.jersey.api.client.ClientHandlerException at MnameTest.java:111
Caused by: java.net.ConnectException at MnameTest.java:111
java.lang.AssertionError
org.apache.aurora.scheduler.http.api.security.HttpSecurityIT > testH2ConsoleAdmin FAILED
org.apache.http.conn.HttpHostConnectException at HttpSecurityIT.java:322
Caused by: java.net.ConnectException at HttpSecurityIT.java:322
org.apache.aurora.scheduler.http.MnameTest > testInstanceNoHttp FAILED
com.sun.jersey.api.client.ClientHandlerException at MnameTest.java:144
Caused by: java.net.ConnectException at MnameTest.java:144
java.lang.AssertionError
org.apache.aurora.scheduler.http.api.security.HttpSecurityIT > testReadOnlyScheduler FAILED
org.apache.thrift.transport.TTransportException at HttpSecurityIT.java:219
Caused by: java.net.ConnectException at HttpSecurityIT.java:219
java.lang.AssertionError
org.apache.aurora.scheduler.http.MnameTest > testGetUsage FAILED
com.sun.jersey.api.client.ClientHandlerException at MnameTest.java:60
Caused by: java.net.ConnectException at MnameTest.java:60
org.apache.aurora.scheduler.http.api.security.HttpSecurityIT > testAuroraSchedulerManager FAILED
org.apache.thrift.transport.TTransportException at HttpSecurityIT.java:247
Caused by: org.apache.http.conn.HttpHostConnectException at HttpSecurityIT.java:247
Caused by: java.net.ConnectException at HttpSecurityIT.java:247
java.lang.AssertionError
org.apache.aurora.scheduler.http.MnameTest > testForwardPathAndQuery FAILED
com.sun.jersey.api.client.ClientHandlerException at MnameTest.java:96
Caused by: java.net.ConnectException at MnameTest.java:96
java.lang.AssertionError
org.apache.aurora.scheduler.http.MnameTest > testInstanceNotRunning FAILED
com.sun.jersey.api.client.ClientHandlerException at MnameTest.java:127
Caused by: java.net.ConnectException at MnameTest.java:127
java.lang.AssertionError
org.apache.aurora.scheduler.http.MnameTest > testHttpMethods FAILED
com.sun.jersey.api.client.ClientHandlerException at MnameTest.java:76
Caused by: java.net.ConnectException at MnameTest.java:76
java.lang.AssertionError
1014 tests completed, 31 failed, 2 skipped
:test FAILED
:jacocoTestReport
Coverage report generated: file:///home/jenkins/jenkins-slave/workspace/AuroraBot/dist/reports/jacoco/test/html/index.html
:analyzeReport
Instruction coverage is 0.8706842152708916, but must be greater than 0.89
Branch coverage is 0.7772420443587271, but must be greater than 0.835
:analyzeReport FAILED
...
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment