Ayush Saxena created TEZ-4598: --------------------------------- Summary: JDK-17: Fix the test failures Key: TEZ-4598 URL: https://issues.apache.org/jira/browse/TEZ-4598 Project: Apache Tez Issue Type: Bug Reporter: Ayush Saxena Attachments: mac-17.txt
Currently, these tests are failing with JDK-17 {noformat} [ERROR] TestOrderedPartitionedKVEdgeConfig.testHistoryText:350 » TestTimedOut test tim... [ERROR] TestRecoveryService.testRecoveryFlush:277 Wanted but not invoked: fSDataOutputStream.hflush(); -> at org.apache.tez.dag.history.recovery.TestRecoveryService.testRecoveryFlush(TestRecoveryService.java:277) [ERROR] TestRecoveryService.testRecoveryFlushOnMaxEvents:226 Wanted but not invoked: fSDataOutputStream.hflush(); -> at org.apache.tez.dag.history.recovery.TestRecoveryService.testRecoveryFlushOnMaxEvents(TestRecoveryService.java:226) However, there was exactly 1 interaction wi [ERROR] TestRecoveryService.testRecoveryFlushOnTimeoutEvents:254 Wanted but not invoked: fSDataOutputStream.hflush(); -> at org.apache.tez.dag.history.recovery.TestRecoveryService.testRecoveryFlushOnTimeoutEvents(TestRecoveryService.java:254) Actually, there were zero interactions with this mock. [ERROR] Errors: [ERROR] TestMRRJobs.setup:92 » YarnRuntime com.google.common.util.concurrent.Unchecked... [ERROR] TestMRRJobsDAGApi.setup:170 » YarnRuntime com.google.common.util.concurrent.Un... [ERROR] TestAM.setup:85 » YarnRuntime com.google.common.util.concurrent.UncheckedExecu... [ERROR] TestAMRecovery.beforeClass:122 » YarnRuntime com.google.common.util.concurrent... [ERROR] TestAMRecoveryAggregationBroadcast.setupAll:140 » YarnRuntime com.google.commo... [ERROR] TestDAGRecovery.beforeClass:89 » YarnRuntime com.google.common.util.concurrent... [ERROR] TestDAGRecovery2.beforeClass:83 » YarnRuntime com.google.common.util.concurren... [ERROR] TestExceptionPropagation.testExceptionPropagationNonSession:252->startMiniTezCluster:132 » YarnRuntime [ERROR] TestFaultTolerance.setup:92 » YarnRuntime com.google.common.util.concurrent.Un... [ERROR] TestMiniTezCluster.testOverrideYarnDiskHealthCheck:33 » YarnRuntime com.google... [ERROR] TestPipelinedShuffle.setupTezCluster:120 » YarnRuntime com.google.common.util.... [ERROR] TestRecovery.beforeClass:119 » YarnRuntime com.google.common.util.concurrent.U... [ERROR] TestSecureShuffle.setupTezCluster:161 » YarnRuntime com.google.common.util.con... [ERROR] TestSecureShuffle.setupTezCluster:161 » YarnRuntime com.google.common.util.con... [ERROR] TestSecureShuffle.setupTezCluster:161 » YarnRuntime com.google.common.util.con... [ERROR] TestSecureShuffle.setupTezCluster:161 » YarnRuntime com.google.common.util.con... [ERROR] TestTezJobs.setup:154 » YarnRuntime com.google.common.util.concurrent.Unchecke... [ERROR] Errors: [ERROR] org.apache.tez.tests.TestExternalTezServices.null [ERROR] Run 1: TestExternalTezServices.setup:76 » YarnRuntime com.google.common.util.concurre... [ERROR] Run 2: TestExternalTezServices.tearDown:111 NullPointer Cannot invoke "org.apache.tez... [INFO] [ERROR] org.apache.tez.tests.TestExternalTezServicesErrors.null [ERROR] Run 1: TestExternalTezServicesErrors.setup:125 » YarnRuntime com.google.common.util.c... [ERROR] Run 2: TestExternalTezServicesErrors.tearDown:201 NullPointer Cannot invoke "org.apac... [ERROR] Errors: [ERROR] TestATSHistoryWithMiniCluster.testDisabledACls:155 » NullPointer Cannot invoke... [ERROR] Errors: [ERROR] TestATSHistoryWithACLs.testDAGACls:319 » NullPointer Cannot invoke "org.apache... [ERROR] TestATSHistoryWithACLs.testDagLoggingDisabled:459 » ClientHandler java.net.Con... [ERROR] TestATSHistoryWithACLs.testDagLoggingEnabled:504 » ClientHandler java.net.Conn... [ERROR] TestATSHistoryWithACLs.testDisableSessionLogging:384 » NullPointer Cannot invo... [ERROR] TestATSHistoryWithACLs.testSimpleAMACls:263 » NullPointer Cannot invoke "org.a... [ERROR] Errors: [ERROR] TestATSHistoryV15.testATSLogLevelNone:227 » NullPointer Cannot invoke "org.apa... [ERROR] TestATSHistoryV15.testSimpleDAG:174 » NullPointer Cannot invoke "org.apache.ha... [ERROR] Errors: [ERROR] TestHistoryParser.setupCluster:134->setupTezCluster:175 » YarnRuntime com.goog... [ERROR] Errors: [ERROR] TestShuffleHandlerJobs.setup:90 » YarnRuntime com.google.common.util.concurren... [ERROR] Errors: [ERROR] TestAnalyzer.setupClass:105->setupTezCluster:141 » YarnRuntime com.google.comm...{noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010)