Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.1.1
-
None
-
None
Description
Bump mockito.version from 2.8.2 to 4.11.0 and fix code!
Currently code copile will fail with version bump:
[INFO] --- compiler:3.8.1:testCompile (default-testCompile) @ omid-tso-server --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 30 source files to /Users/nihjain/code/visa/phoenix-omid/tso-server/target/test-classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestPersistenceProcessorHandler.java:[37,26] cannot find symbol symbol: class Matchers location: package org.mockito [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestPersistenceProcessorHandler.java:[37,1] static import only from classes and interfaces [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestPersistenceProcessorHandler.java:[38,26] cannot find symbol symbol: class Matchers location: package org.mockito [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestPersistenceProcessorHandler.java:[38,1] static import only from classes and interfaces [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestPersistenceProcessorHandler.java:[39,26] cannot find symbol symbol: class Matchers location: package org.mockito [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestPersistenceProcessorHandler.java:[39,1] static import only from classes and interfaces [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestReplyProcessor.java:[38,26] cannot find symbol symbol: class Matchers location: package org.mockito [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestReplyProcessor.java:[38,1] static import only from classes and interfaces [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestReplyProcessor.java:[39,26] cannot find symbol symbol: class Matchers location: package org.mockito [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestReplyProcessor.java:[39,1] static import only from classes and interfaces [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestWorldTimeOracle.java:[34,26] cannot find symbol symbol: class Matchers location: package org.mockito [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestWorldTimeOracle.java:[34,1] static import only from classes and interfaces [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestWorldTimeOracle.java:[35,26] cannot find symbol symbol: class Matchers location: package org.mockito [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestWorldTimeOracle.java:[35,1] static import only from classes and interfaces [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestWorldTimeOracle.java:[36,26] cannot find symbol symbol: class Matchers location: package org.mockito [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestWorldTimeOracle.java:[36,1] static import only from classes and interfaces [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestLeaseManager.java:[21,26] cannot find symbol symbol: class Matchers location: package org.mockito [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestLeaseManager.java:[21,1] static import only from classes and interfaces [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestLeaseManager.java:[22,26] cannot find symbol symbol: class Matchers location: package org.mockito [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestLeaseManager.java:[22,1] static import only from classes and interfaces [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/client/TestIntegrationOfTSOClientServerBasicFunctionality.java:[45,26] cannot find symbol symbol: class Matchers location: package org.mockito [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/client/TestIntegrationOfTSOClientServerBasicFunctionality.java:[45,1] static import only from classes and interfaces [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestTSOStateManager.java:[27,26] cannot find symbol symbol: class Matchers location: package org.mockito [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestTSOStateManager.java:[27,1] static import only from classes and interfaces [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestRequestProcessor.java:[38,26] cannot find symbol symbol: class Matchers location: package org.mockito [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestRequestProcessor.java:[38,1] static import only from classes and interfaces [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestRequestProcessor.java:[39,26] cannot find symbol symbol: class Matchers location: package org.mockito [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestRequestProcessor.java:[39,1] static import only from classes and interfaces [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestRequestProcessor.java:[40,26] cannot find symbol symbol: class Matchers location: package org.mockito [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestRequestProcessor.java:[40,1] static import only from classes and interfaces [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestPersistenceProcessor.java:[40,26] cannot find symbol symbol: class Matchers location: package org.mockito [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestPersistenceProcessor.java:[40,1] static import only from classes and interfaces [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestPersistenceProcessor.java:[41,26] cannot find symbol symbol: class Matchers location: package org.mockito [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestPersistenceProcessor.java:[41,1] static import only from classes and interfaces [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestPersistenceProcessor.java:[42,26] cannot find symbol symbol: class Matchers location: package org.mockito [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestPersistenceProcessor.java:[42,1] static import only from classes and interfaces [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestTSOChannelHandlerNetty.java:[58,26] cannot find symbol symbol: class Matchers location: package org.mockito [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestTSOChannelHandlerNetty.java:[58,1] static import only from classes and interfaces [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestTSOChannelHandlerNetty.java:[59,26] cannot find symbol symbol: class Matchers location: package org.mockito [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestTSOChannelHandlerNetty.java:[59,1] static import only from classes and interfaces [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestTSOChannelHandlerNetty.java:[60,26] cannot find symbol symbol: class Matchers location: package org.mockito [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestTSOChannelHandlerNetty.java:[60,1] static import only from classes and interfaces [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestTSOChannelHandlerNetty.java:[61,26] cannot find symbol symbol: class Matchers location: package org.mockito [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestTSOChannelHandlerNetty.java:[61,1] static import only from classes and interfaces [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestTSOChannelHandlerNetty.java:[62,26] cannot find symbol symbol: class Matchers location: package org.mockito [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestTSOChannelHandlerNetty.java:[62,1] static import only from classes and interfaces [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestRetryProcessor.java:[38,26] cannot find symbol symbol: class Matchers location: package org.mockito [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestRetryProcessor.java:[38,1] static import only from classes and interfaces [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestTimestampOracle.java:[35,26] cannot find symbol symbol: class Matchers location: package org.mockito [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestTimestampOracle.java:[35,1] static import only from classes and interfaces [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestTimestampOracle.java:[36,26] cannot find symbol symbol: class Matchers location: package org.mockito [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestTimestampOracle.java:[36,1] static import only from classes and interfaces [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestTimestampOracle.java:[37,26] cannot find symbol symbol: class Matchers location: package org.mockito [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestTimestampOracle.java:[37,1] static import only from classes and interfaces [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestPanicker.java:[38,26] cannot find symbol symbol: class Matchers location: package org.mockito [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestPanicker.java:[38,1] static import only from classes and interfaces [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestPanicker.java:[39,26] cannot find symbol symbol: class Matchers location: package org.mockito [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestPanicker.java:[39,1] static import only from classes and interfaces [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestPanicker.java:[40,26] cannot find symbol symbol: class Matchers location: package org.mockito [ERROR] /Users/nihjain/code/visa/phoenix-omid/tso-server/src/test/java/org/apache/omid/tso/TestPanicker.java:[40,1] static import only from classes and interfaces [INFO] 60 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Omid 1.1.1-SNAPSHOT: [INFO] [INFO] Omid ............................................... SUCCESS [ 2.236 s] [INFO] Common ............................................. SUCCESS [ 9.388 s] [INFO] State Machine ...................................... SUCCESS [ 1.793 s] [INFO] Commit Table ....................................... SUCCESS [ 1.022 s] [INFO] Metrics ............................................ SUCCESS [ 0.295 s] [INFO] Transaction Client ................................. SUCCESS [ 4.363 s] [INFO] HBase Common ....................................... SUCCESS [ 5.737 s] [INFO] HBase Commit Table ................................. SUCCESS [ 30.349 s] [INFO] Codahale Metrics ................................... SUCCESS [ 0.280 s] [INFO] Benchmarks ......................................... SUCCESS [ 6.617 s] [INFO] Timestamp Storage .................................. SUCCESS [ 20.769 s] [INFO] HBase tools ........................................ SUCCESS [ 22.764 s] [INFO] TSO and TO Servers ................................. FAILURE [ 9.427 s] [INFO] HBase Client ....................................... SKIPPED [INFO] HBase Coprocessors ................................. SKIPPED [INFO] Omid Client Examples ............................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:56 min [INFO] Finished at: 2023-10-19T21:40:24+05:30 [INFO] ------------------------------------------------------------------------
Also please see PHOENIX-7261 for more details.
Attachments
Issue Links
- is related to
-
OMID-252 Analyse and fix possible vulnerabilities for 1.1.1 release
- Resolved
- relates to
-
PHOENIX-7261 Align mockito version with Hadoop and HBase in QueryServer
- Open
-
PHOENIX-6769 Align mockito version with Hadoop and HBase
- Resolved