Arnout Engelen created GEODE-10458:
--------------------------------------

             Summary: Integration tests: 
AnalyzeCoreSerializablesIntegrationTest > testSerializables fails on CI
                 Key: GEODE-10458
                 URL: https://issues.apache.org/jira/browse/GEODE-10458
             Project: Geode
          Issue Type: Improvement
          Components: ci
            Reporter: Arnout Engelen


For example at 
https://github.com/apache/geode/actions/runs/16990505705/job/48169652894:
{code:java}
> Task :geode-core:integrationTest 

AnalyzeCoreSerializablesIntegrationTest > testSerializables FAILED 

 java.lang.AssertionError: New or moved 
classes---------------------------------------- 


org/apache/geode/management/internal/json/AbstractJSONFormatter$PreventReserializationModule$1,false,this$0:org/apache/geode/management/internal/json/AbstractJSONFormatter$PreventReserializationModule
 


org/apache/geode/management/internal/json/QueryResultFormatter$TypeSerializationEnforcerModule$1,false,this$0:org/apache/geode/management/internal/json/QueryResultFormatter$TypeSerializationEnforcerModule
 

If the class is not persisted or sent over the wire, add it to the file 

/home/runner/work/geode/geode/geode-core/src/integrationTest/resources/org/apache/geode/codeAnalysis/excludedClasses.txt
 

Otherwise, if this doesn't break backward compatibility, copy the file 

/home/runner/work/geode/geode/geode-core/build/integrationTest/test-worker-001022/actualSerializables.dat
 to 
/home/runner/work/geode/geode/geode-core/src/main/resources/org/apache/geode/internal/sanctioned-geode-core-serializables.txt

 If this potentially breaks backward compatibility, follow the instructions in

 geode-serialization/ANALYZE_SERIALIZABLES.md {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to