You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Darrel Schneider (JIRA)" <ji...@apache.org> on 2017/07/17 23:31:00 UTC

[jira] [Commented] (GEODE-3185) CI failure (windows): org.apache.geode.internal.cache.BackupJUnitTest, 3 tests failing with java.lang.AssertionError: Null entry

    [ https://issues.apache.org/jira/browse/GEODE-3185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16090793#comment-16090793 ] 

Darrel Schneider commented on GEODE-3185:
-----------------------------------------

It is possible that the two tests that are failing that call backupAndRecover are failing because the restore.bat file is not working.
It has a hardcoded path to Robocopy.exe that may not be correct on these machines. If the hardcoded path was changed to be just "robocopy" then the backupAndRecover tests might work. Note that the test code that invokes restore.bat ignores any exit code on Windows so if this script fails the test could not tell (see org.apache.geode.internal.cache.BackupJUnitTest.execute(File, boolean)).
It does print the output of the script to System.out prefixed by "OUTPUT:" so if this could be located it might give some clues about what is going wrong.

> CI failure (windows): org.apache.geode.internal.cache.BackupJUnitTest, 3 tests failing with java.lang.AssertionError: Null entry
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-3185
>                 URL: https://issues.apache.org/jira/browse/GEODE-3185
>             Project: Geode
>          Issue Type: Bug
>          Components: persistence
>            Reporter: Lynn Gallinat
>
> {noformat}
> org.apache.geode.internal.cache.BackupJUnitTest > testBackupAndRecover FAILED
>     java.lang.AssertionError: Null entry 512
>         at org.junit.Assert.fail(Assert.java:88)
>         at org.junit.Assert.assertTrue(Assert.java:41)
>         at org.apache.geode.internal.cache.BackupJUnitTest.validateEntriesExist(BackupJUnitTest.java:354)
>         at org.apache.geode.internal.cache.BackupJUnitTest.backupAndRecover(BackupJUnitTest.java:229)
>         at org.apache.geode.internal.cache.BackupJUnitTest.testBackupAndRecover(BackupJUnitTest.java:126)
> org.apache.geode.internal.cache.BackupJUnitTest > testCompactionDuringBackup FAILED
>     java.lang.AssertionError: Null entry 0
>         at org.junit.Assert.fail(Assert.java:88)
>         at org.junit.Assert.assertTrue(Assert.java:41)
>         at org.apache.geode.internal.cache.BackupJUnitTest.validateEntriesExist(BackupJUnitTest.java:354)
>         at org.apache.geode.internal.cache.BackupJUnitTest.testCompactionDuringBackup(BackupJUnitTest.java:309)
> org.apache.geode.internal.cache.BackupJUnitTest > testBackupAndRecoverOldConfig FAILED
>     java.lang.AssertionError: Null entry 512
>         at org.junit.Assert.fail(Assert.java:88)
>         at org.junit.Assert.assertTrue(Assert.java:41)
>         at org.apache.geode.internal.cache.BackupJUnitTest.validateEntriesExist(BackupJUnitTest.java:354)
>         at org.apache.geode.internal.cache.BackupJUnitTest.backupAndRecover(BackupJUnitTest.java:229)
>         at org.apache.geode.internal.cache.BackupJUnitTest.testBackupAndRecoverOldConfig(BackupJUnitTest.java:136)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)