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

ASF subversion and git services commented on GEODE-8609:
--------------------------------------------------------

Commit 1637b7a3dce5edaa4317284e65d749e3333985e0 in geode's branch 
refs/heads/support/1.14 from Nabarun Nag
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=1637b7a ]

GEODE-8609: Check logs for suspicious logs when VM is stopped.

        * When a VM is stopped, the suspect string file is deleted
        * Log checker is called at the end of the test.
        * If a VM is restarted during a test, the logs are deleted and is not 
checked at the end of the test.
        * With the fix the logs are checked when the VM is stopped.

(cherry picked from commit e39c4c5ad79ee07d7760c98a85259cfb68c64e4c)


> Create a dunit suspect file per VM
> ----------------------------------
>
>                 Key: GEODE-8609
>                 URL: https://issues.apache.org/jira/browse/GEODE-8609
>             Project: Geode
>          Issue Type: Test
>          Components: tests
>            Reporter: Jens Deppe
>            Assignee: Jens Deppe
>            Priority: Major
>              Labels: blocks-1.14.0​, pull-request-available
>             Fix For: 1.14.0, 1.15.0
>
>
> In some situations, especially when restarting Dunit VMs, it appears that the 
> suspect log file can be corrupted since suspect processing reports errors 
> such as:
> {noformat}
> org.apache.geode.redis.internal.executor.CrashAndNoRepeatDUnitTest > 
> classMethod FAILED
>     java.lang.AssertionError: Suspicious strings were written to the log 
> during this run.
>     Fix the strings or use IgnoredException.addIgnoredException to ignore.
>     -----------------------------------------------------------------------
>     Found suspect string in log4j at line 19594      
> /home/geode/.gradle/caches/modules-2/files-2.1/antlr/antlr/2.7.7/83cd2cd674a21[warn
>  2020/10/11 15:23:24.988 GMT <GeodeRedisServer-Command-2> tid=105] Execution 
> of Redis command APPEND append-key-1 -append-key-1-17484-  failed: 
> org.apache.geode.cache.execute.FunctionException: 
> org.apache.geode.cache.execute.FunctionInvocationTargetException: 
> memberDeparted event for < 172.17.0.20(server-3:2004)<v15>:41003 > crashed, 
> true{noformat}
> Where the suspected string is corrupted.
> The proposed fix will create a new dunit_suspect log for each VM. The logs 
> will now be named {{dunit_suspect-vm<VMID>.log}}. The {{locator}} vm and the 
> test runner vm will have logs named {{dunit_suspect-locator.log}} and 
> {{dunit_suspect-local.log}} respectively.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to