Daniel Templeton created YARN-4745: -------------------------------------- Summary: TestResourceLocalizationService.testPublicResourceInitializesLocalDir failing in trunk Key: YARN-4745 URL: https://issues.apache.org/jira/browse/YARN-4745 Project: Hadoop YARN Issue Type: Bug Components: nodemanager Affects Versions: 2.9.0 Reporter: Daniel Templeton
I am consistently seeing this: {noformat} ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.TestResourceLocalizationService Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.284 sec <<< FAILURE! - in org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.TestResourceLocalizationService testPublicResourceInitializesLocalDir(org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.TestResourceLocalizationService) Time elapsed: 1.842 sec <<< FAILURE! org.mockito.exceptions.verification.WantedButNotInvoked: Wanted but not invoked: localFs.mkdir( /Users/daniel/NetBeansProjects/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/target/org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.TestResourceLocalizationService/0/filecache, rwxr-xr-x, true ); -> at org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.TestResourceLocalizationService.testPublicResourceInitializesLocalDir(TestResourceLocalizationService.java:1476) However, there were other interactions with this mock: -> at org.apache.hadoop.fs.FileContext.<init>(FileContext.java:249) -> at org.apache.hadoop.fs.FileContext.makeQualified(FileContext.java:611) -> at org.apache.hadoop.fs.FileContext.makeQualified(FileContext.java:611) -> at org.apache.hadoop.fs.FileContext.makeQualified(FileContext.java:611) -> at org.apache.hadoop.fs.FileContext.makeQualified(FileContext.java:611) -> at org.apache.hadoop.fs.FileContext.makeQualified(FileContext.java:611) at org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.TestResourceLocalizationService.testPublicResourceInitializesLocalDir(TestResourceLocalizationService.java:1476) Results : Failed tests: TestResourceLocalizationService.testPublicResourceInitializesLocalDir:1476 Wanted but not invoked: localFs.mkdir( /Users/daniel/NetBeansProjects/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/target/org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.TestResourceLocalizationService/0/filecache, rwxr-xr-x, true ); -> at org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.TestResourceLocalizationService.testPublicResourceInitializesLocalDir(TestResourceLocalizationService.java:1476) However, there were other interactions with this mock: -> at org.apache.hadoop.fs.FileContext.<init>(FileContext.java:249) -> at org.apache.hadoop.fs.FileContext.makeQualified(FileContext.java:611) -> at org.apache.hadoop.fs.FileContext.makeQualified(FileContext.java:611) -> at org.apache.hadoop.fs.FileContext.makeQualified(FileContext.java:611) -> at org.apache.hadoop.fs.FileContext.makeQualified(FileContext.java:611) -> at org.apache.hadoop.fs.FileContext.makeQualified(FileContext.java:611) Tests run: 1, Failures: 1, Errors: 0, Skipped: 0 {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)