Gordon,
You can use use one of maven surefire plugin exclude mechanisms.

The simplest way is to build with an option
'-Dtest=!SpnegoAuthenticatorTest,!KerberosAuthenticationManagerTest'

Alternatively, you can specify exclude file using option
-Dsurefire.excludesFile=/path/to/exclude/file. For example,
cat > test-excludes.txt << EOL

**/SpnegoAuthenticatorTest.java
**/KerberosAuthenticationManagerTest.java
EOL

mvn verify  -Dsurefire.excludesFile=`pwd`/test-excludes.txt

Kind Regards,
Alex

On Tue, 3 Dec 2019 at 17:26, Gordon Sim <g...@redhat.com> wrote:

> On 03/12/2019 5:07 pm, Oleksandr Rudyy wrote:
> > Hi Gordon.
> >
> > The tests from test suites  KerberosAuthenticationManagerTest and
> > SpnegoAuthenticatorTest are failing sporadically in Apache Jenkins
> builds.
> > I have not seen them failing locally on my machine. I suspect that it is
> an
> > issue with embedded Apache Kerby implementation of Kerberos server.
> >
> > I added the tests in version 7.1.5 as part of implementation of support
> for
> > SPNEGO authentication in Web management. There was no changes made to
> > Kerberos support in version 7.1.6.
> >
> > It is a test issue and not a blocker for the release.
>
> I agree. It looks like it might be skipping all other tests though
> (unless I am misinterpreting):
>
> > [INFO] Results:
> > [INFO]
> > [ERROR] Errors:
> > [ERROR]
>  
> KerberosAuthenticationManagerTest.testCreateSaslNegotiator:133->authenticate:205->performNegotiation:226
> » PrivilegedAction
> > [ERROR]   SpnegoAuthenticatorTest.testAuthenticate:99->buildToken:175 »
> GSS No valid cre...
> > [ERROR]
>  SpnegoAuthenticatorTest.testAuthenticateNoNegotiatePrefix:126->buildToken:175
> » GSS
> > [ERROR]
>  SpnegoAuthenticatorTest.testAuthenticateWrongConfigName:154->buildToken:175
> » GSS
> > [ERROR]
>  SpnegoAuthenticatorTest.testAuthenticateWrongServer:165->buildToken:175 »
> GSS ...
> > [INFO]
> > [ERROR] Tests run: 1385, Failures: 0, Errors: 5, Skipped: 15
> > [INFO]
> > [INFO]
> ------------------------------------------------------------------------
> > [INFO] Reactor Summary:
> > [INFO]
> > [INFO] Apache Qpid Broker-J Parent 7.1.6 .................. SUCCESS [
> 1.356 s]
> > [INFO] Apache Qpid Broker-J Code Generation ............... SUCCESS [
> 0.383 s]
> > [INFO] Apache Qpid Broker-J Test Utilities ................ SUCCESS [
> 0.175 s]
> > [INFO] Apache Qpid Broker-J Core .......................... FAILURE
> [01:51 min]
> > [INFO] Apache Qpid Broker-J LogBack Logging Plug-in ....... SKIPPED
> > [INFO] Apache Qpid Broker-J Access Control Plug-in ........ SKIPPED
> > [INFO] Apache Qpid Broker-J AMQP 0-10 Protocol Plug-in .... SKIPPED
> > [INFO] Apache Qpid Broker-J AMQP 0-8 Protocol Plug-in ..... SKIPPED
> > [INFO] Apache Qpid Broker-J AMQP 1-0 Protocol Plug-in ..... SKIPPED
> > [INFO] Apache Qpid Broker-J AMQP 0-8 to 0-10 Message Conversion Plug-in
> SKIPPED
> > [INFO] Apache Qpid Broker-J AMQP 0-8 to 1-0 Message Conversion Plug-in
> SKIPPED
> > [INFO] Apache Qpid Broker-J AMQP 0-10 to 1-0 Message Conversion Plug-in
> SKIPPED
> > [INFO] Apache Qpid Broker-J JDBC Message Store Plug-in .... SKIPPED
> > [INFO] Apache Qpid Broker-J Derby Message Store Plug-in ... SKIPPED
> > [INFO] Apache Qpid Broker-J JDBC Message Store Connection Pooling
> Plug-in SKIPPED
> > [INFO] Apache Qpid Broker-J LogBack JDBC Logging Plug-in .. SKIPPED
> > [INFO] Apache Qpid AMQP 1.0 JDBC Link Store Plug-in ....... SKIPPED
> > [INFO] Apache Qpid Broker-J HTTP Management Plug-in ....... SKIPPED
> > [INFO] Apache Qpid Broker-J AMQP Management Protocol Plug-in SKIPPED
> > [INFO] Apache Qpid Broker-J Memory Message Store Plug-in .. SKIPPED
> > [INFO] Apache Qpid Broker-J WebSocket Plug-in ............. SKIPPED
> > [INFO] Apache Qpid Broker-J BDB Message Store Plug-in ..... SKIPPED
> > [INFO] Apache Qpid AMQP 1.0 BDB Link Store Plug-in ........ SKIPPED
> > [INFO] Apache Qpid Broker-J ............................... SKIPPED
> > [INFO] Apache Qpid Broker-J Bundles ....................... SKIPPED
> > [INFO] Apache Qpid Broker-J Tools ......................... SKIPPED
> > [INFO] Apache Qpid Broker-J System Test Parent ............ SKIPPED
> > [INFO] Apache Qpid Broker-J System Test Utils ............. SKIPPED
> > [INFO] Apache Qpid Broker-J JMS System Tests Core ......... SKIPPED
> > [INFO] Apache Qpid Broker-J JMS 1.1 System Tests .......... SKIPPED
> > [INFO] Apache Qpid Broker-J JMS 2.0 System Tests .......... SKIPPED
> > [INFO] Apache Qpid Broker-J HTTP system tests ............. SKIPPED
> > [INFO] Apache Qpid Broker-J Protocol Tests Core ........... SKIPPED
> > [INFO] Apache Qpid Protocol Tests for AMQP 0-8,0-9,0-9-1 .. SKIPPED
> > [INFO] Apache Qpid Protocol Tests for AMQP 0-10 ........... SKIPPED
> > [INFO] Apache Qpid Protocol Tests for AMQP 1.0 ............ SKIPPED
> > [INFO] Apache Qpid Broker-J System Tests Spawn Broker Admin SKIPPED
> > [INFO] Apache Qpid Broker-J End to End Conversion Tests ... SKIPPED
> > [INFO] Apache Qpid Broker-J Performance Tests ............. SKIPPED
> > [INFO] Apache Qpid Broker-J Performance Test System Tests . SKIPPED
> > [INFO] Apache Qpid Broker-J Performance Tests Visualisation JFC SKIPPED
> > [INFO] Apache Qpid Broker-J BDB Store System Tests ........ SKIPPED
> > [INFO] Apache Qpid Joram JMS Tests ........................ SKIPPED
> > [INFO] Apache Qpid Broker-J JMS TCK Configuration ......... SKIPPED
> > [INFO] Apache Qpid Broker-J Docbook ....................... SKIPPED
> > [INFO] Apache Qpid Broker-J Docbook ....................... SKIPPED
> > [INFO] Apache Qpid Broker-J Performance Test Docbook 7.1.6  SKIPPED
> > [INFO]
> ------------------------------------------------------------------------
> > [INFO] BUILD FAILURE
> > [INFO]
> ------------------------------------------------------------------------
> > [INFO] Total time: 01:53 min
> > [INFO] Finished at: 2019-12-03T17:22:08Z
> > [INFO]
> ------------------------------------------------------------------------
>
> Is there a way I can just skip the failing tests and run the others?
>
> > I will fix it as soon, as I capture the test failures.
> >
> > Do they fail for you on every build? What OS and JDK you are using?
>
> I've only run it twice and it failed both times. I'm on fedora 30,
> OpenJDK Runtime Environment (build 1.8.0_222-b10).
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
> For additional commands, e-mail: users-h...@qpid.apache.org
>
>

Reply via email to