Build: #122 failed

Job: RPM Workflow failed

Stages & jobs

  1. Build and Package

Test results

  • 1,398 tests in total
  • 2 tests failed
  • 2 failures are new
  • 7 tests were quarantined / skipped
  • 8 minutes taken in total.

Build 122 has the following 2 errors: 2 new failure(s) occurred since the previous build.

New test failures 2
Status Test Duration
Collapse Failed LocalIncomingServerSessionTest incomingTest(ServerSettings, ServerSettings)[34]
< 1 sec
java.lang.AssertionError
	at org.mockito.internal.stubbing.InvocationContainerImpl.setMethodForStubbing(InvocationContainerImpl.java:122)
	at org.mockito.internal.handler.MockHandlerImpl.handle(MockHandlerImpl.java:55)
	at org.mockito.internal.handler.NullResultGuardian.handle(NullResultGuardian.java:29)
	at org.mockito.internal.handler.InvocationNotifierHandler.handle(InvocationNotifierHandler.java:34)
	at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:82)
	at org.mockito.internal.creation.bytebuddy.MockMethodAdvice.handle(MockMethodAdvice.java:134)
	at org.jivesoftware.openfire.XMPPServer.getSessionManager(XMPPServer.java:1477)
(131 more lines...)
Collapse Failed LocalIncomingServerSessionTest incomingTest(ServerSettings, ServerSettings)[35]
< 1 sec
org.mockito.exceptions.misusing.UnfinishedStubbingException: 
Unfinished stubbing detected here:
-> at org.jivesoftware.openfire.session.LocalIncomingServerSessionTest.setUpEach(LocalIncomingServerSessionTest.java:146)

E.g. thenReturn() may be missing.
Examples of correct stubbing:
    when(mock.isOk()).thenReturn(true);
    when(mock.isOk()).thenThrow(exception);
(183 more lines...)