Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

https://github.com/opengoofy/crane4j,b65f7324544381646119be48393f0aa2b3417f2e,crane4j-core #959

Open
bbelide2 opened this issue Nov 11, 2023 · 0 comments

Comments

@bbelide2
Copy link
Contributor

bbelide2 commented Nov 11, 2023

Identified and fixed 3 new tests. There are 5 tests identified, but tested and fixed only 3 for now. Remaining will be tested and fixed and added to IDoFT subsequently.

How did I find the repo?

I previously fixed tests in hippo4j and so found crane4j in the same github account (opengoofy)

How did I find the tests?

I ran the following command: mvn edu.illinois:nondex-maven-plugin:2.1.1:nondex --fail-at-end |& tee logs/nondex-$(date +%s).nondex_log. Logs are at

/home/bbelide2/new-tests/crane4j/logs/nondex-1699672908.nondex_log -> above command's log
/home/bbelide2/new-tests/crane4j/crane4j-core/.nondex/DPHoRAXulwIFe7ePwHRhcRt2BKBd8BhX9vqMux1ZGVQ= -> individual test result.

Test 1:

Test name: cn.crane4j.core.util.ObjectUtilsTest#get

PR: opengoofy/crane4j#179 (all the details about root cause and fix are here)

ID or NOD:

I ran this test 10 times with a single seed and the test failed all the 10 times. Therefore, this test is ID. Output:

Run 1 : Failed tests:   get(cn.crane4j.core.util.ObjectUtilsTest): expected:<3> but was:<2>
Run 2 : Failed tests:   get(cn.crane4j.core.util.ObjectUtilsTest): expected:<3> but was:<2>
Run 3 : Failed tests:   get(cn.crane4j.core.util.ObjectUtilsTest): expected:<3> but was:<2>
Run 4 : Failed tests:   get(cn.crane4j.core.util.ObjectUtilsTest): expected:<3> but was:<2>
Run 5 : Failed tests:   get(cn.crane4j.core.util.ObjectUtilsTest): expected:<3> but was:<2>
Run 6 : Failed tests:   get(cn.crane4j.core.util.ObjectUtilsTest): expected:<3> but was:<2>
Run 7 : Failed tests:   get(cn.crane4j.core.util.ObjectUtilsTest): expected:<3> but was:<2>
Run 8 : Failed tests:   get(cn.crane4j.core.util.ObjectUtilsTest): expected:<3> but was:<2>
Run 9 : Failed tests:   get(cn.crane4j.core.util.ObjectUtilsTest): expected:<3> but was:<2>
Run 10 : Failed tests:   get(cn.crane4j.core.util.ObjectUtilsTest): expected:<3> but was:<2>

Logs for the above test are here: /home/bbelide2/new-tests/crane4j/logs/test1/single-run-final-output.log

Full logs for this test are here: /home/bbelide2/new-tests/crane4j/logs/test1

Test 2

Test name: cn.crane4j.core.support.SimpleCrane4jGlobalConfigurationTest#operatePropertyMappingStrategy

PR: opengoofy/crane4j#180 (all the details about root cause and fix are here)

ID or NOD:

I ran this test 10 times with a single seed and the test failed all the 10 times. Therefore, this test is ID. Output:

Run 1 : Failed tests:   operatePropertyMappingStrategy(cn.crane4j.core.support.SimpleCrane4jGlobalConfigurationTest): expected:<[cn.crane4j.core.parser.handler.strategy.ReferenceMappingStrategy@1bb5a082, cn.crane4j.core.parser.handler.strategy.OverwriteMappingStrategy@78691363, cn.crane4j.core.parser.handler.strategy.OverwriteNotNullMappingStrategy@41d477ed]> but was:<[cn.crane4j.core.parser.handler.strategy.OverwriteNotNullMappingStrategy@41d477ed, cn.crane4j.core.parser.handler.strategy.OverwriteMappingStrategy@78691363, cn.crane4j.core.parser.handler.strategy.ReferenceMappingStrategy@1bb5a082]>
Run 2 : Failed tests:   operatePropertyMappingStrategy(cn.crane4j.core.support.SimpleCrane4jGlobalConfigurationTest): expected:<[cn.crane4j.core.parser.handler.strategy.OverwriteMappingStrategy@59474f18, cn.crane4j.core.parser.handler.strategy.ReferenceMappingStrategy@65fb9ffc, cn.crane4j.core.parser.handler.strategy.OverwriteNotNullMappingStrategy@3e694b3f]> but was:<[cn.crane4j.core.parser.handler.strategy.OverwriteNotNullMappingStrategy@3e694b3f, cn.crane4j.core.parser.handler.strategy.OverwriteMappingStrategy@59474f18, cn.crane4j.core.parser.handler.strategy.ReferenceMappingStrategy@65fb9ffc]>
Run 3 : Failed tests:   operatePropertyMappingStrategy(cn.crane4j.core.support.SimpleCrane4jGlobalConfigurationTest): expected:<[cn.crane4j.core.parser.handler.strategy.OverwriteMappingStrategy@65fb9ffc, cn.crane4j.core.parser.handler.strategy.ReferenceMappingStrategy@3e694b3f, cn.crane4j.core.parser.handler.strategy.OverwriteNotNullMappingStrategy@1bb5a082]> but was:<[cn.crane4j.core.parser.handler.strategy.OverwriteNotNullMappingStrategy@1bb5a082, cn.crane4j.core.parser.handler.strategy.OverwriteMappingStrategy@65fb9ffc, cn.crane4j.core.parser.handler.strategy.ReferenceMappingStrategy@3e694b3f]>
Run 4 : Failed tests:   operatePropertyMappingStrategy(cn.crane4j.core.support.SimpleCrane4jGlobalConfigurationTest): expected:<[cn.crane4j.core.parser.handler.strategy.ReferenceMappingStrategy@3e694b3f, cn.crane4j.core.parser.handler.strategy.OverwriteMappingStrategy@1bb5a082, cn.crane4j.core.parser.handler.strategy.OverwriteNotNullMappingStrategy@78691363]> but was:<[cn.crane4j.core.parser.handler.strategy.OverwriteNotNullMappingStrategy@78691363, cn.crane4j.core.parser.handler.strategy.OverwriteMappingStrategy@1bb5a082, cn.crane4j.core.parser.handler.strategy.ReferenceMappingStrategy@3e694b3f]>
Run 5 : Failed tests:   operatePropertyMappingStrategy(cn.crane4j.core.support.SimpleCrane4jGlobalConfigurationTest): expected:<[cn.crane4j.core.parser.handler.strategy.OverwriteMappingStrategy@65fb9ffc, cn.crane4j.core.parser.handler.strategy.ReferenceMappingStrategy@3e694b3f, cn.crane4j.core.parser.handler.strategy.OverwriteNotNullMappingStrategy@1bb5a082]> but was:<[cn.crane4j.core.parser.handler.strategy.OverwriteNotNullMappingStrategy@1bb5a082, cn.crane4j.core.parser.handler.strategy.OverwriteMappingStrategy@65fb9ffc, cn.crane4j.core.parser.handler.strategy.ReferenceMappingStrategy@3e694b3f]>
Run 6 : Failed tests:   operatePropertyMappingStrategy(cn.crane4j.core.support.SimpleCrane4jGlobalConfigurationTest): expected:<[cn.crane4j.core.parser.handler.strategy.OverwriteMappingStrategy@65fb9ffc, cn.crane4j.core.parser.handler.strategy.ReferenceMappingStrategy@3e694b3f, cn.crane4j.core.parser.handler.strategy.OverwriteNotNullMappingStrategy@1bb5a082]> but was:<[cn.crane4j.core.parser.handler.strategy.OverwriteNotNullMappingStrategy@1bb5a082, cn.crane4j.core.parser.handler.strategy.OverwriteMappingStrategy@65fb9ffc, cn.crane4j.core.parser.handler.strategy.ReferenceMappingStrategy@3e694b3f]>
Run 7 : Failed tests:   operatePropertyMappingStrategy(cn.crane4j.core.support.SimpleCrane4jGlobalConfigurationTest): expected:<[cn.crane4j.core.parser.handler.strategy.ReferenceMappingStrategy@1bb5a082, cn.crane4j.core.parser.handler.strategy.OverwriteMappingStrategy@78691363, cn.crane4j.core.parser.handler.strategy.OverwriteNotNullMappingStrategy@41d477ed]> but was:<[cn.crane4j.core.parser.handler.strategy.OverwriteNotNullMappingStrategy@41d477ed, cn.crane4j.core.parser.handler.strategy.OverwriteMappingStrategy@78691363, cn.crane4j.core.parser.handler.strategy.ReferenceMappingStrategy@1bb5a082]>
Run 8 : Failed tests:   operatePropertyMappingStrategy(cn.crane4j.core.support.SimpleCrane4jGlobalConfigurationTest): expected:<[cn.crane4j.core.parser.handler.strategy.OverwriteMappingStrategy@65fb9ffc, cn.crane4j.core.parser.handler.strategy.ReferenceMappingStrategy@3e694b3f, cn.crane4j.core.parser.handler.strategy.OverwriteNotNullMappingStrategy@1bb5a082]> but was:<[cn.crane4j.core.parser.handler.strategy.OverwriteNotNullMappingStrategy@1bb5a082, cn.crane4j.core.parser.handler.strategy.OverwriteMappingStrategy@65fb9ffc, cn.crane4j.core.parser.handler.strategy.ReferenceMappingStrategy@3e694b3f]>
Run 9 : Failed tests:   operatePropertyMappingStrategy(cn.crane4j.core.support.SimpleCrane4jGlobalConfigurationTest): expected:<[cn.crane4j.core.parser.handler.strategy.OverwriteNotNullMappingStrategy@65fb9ffc, cn.crane4j.core.parser.handler.strategy.OverwriteMappingStrategy@3e694b3f, cn.crane4j.core.parser.handler.strategy.ReferenceMappingStrategy@1bb5a082]> but was:<[cn.crane4j.core.parser.handler.strategy.OverwriteMappingStrategy@3e694b3f, cn.crane4j.core.parser.handler.strategy.ReferenceMappingStrategy@1bb5a082, cn.crane4j.core.parser.handler.strategy.OverwriteNotNullMappingStrategy@65fb9ffc]>
Run 10 : Failed tests:   operatePropertyMappingStrategy(cn.crane4j.core.support.SimpleCrane4jGlobalConfigurationTest): expected:<[cn.crane4j.core.parser.handler.strategy.OverwriteMappingStrategy@65fb9ffc, cn.crane4j.core.parser.handler.strategy.OverwriteNotNullMappingStrategy@3e694b3f, cn.crane4j.core.parser.handler.strategy.ReferenceMappingStrategy@1bb5a082]> but was:<[cn.crane4j.core.parser.handler.strategy.OverwriteNotNullMappingStrategy@3e694b3f, cn.crane4j.core.parser.handler.strategy.OverwriteMappingStrategy@65fb9ffc, cn.crane4j.core.parser.handler.strategy.ReferenceMappingStrategy@1bb5a082]>

Logs for the above test are here: /home/bbelide2/new-tests/crane4j/logs/test2/single-run-final-output.log

Full logs for this test are here: /home/bbelide2/new-tests/crane4j/logs/test2

Test 3:

Test name: cn.crane4j.core.executor.handler.ReflectiveDisassembleOperationHandlerTest#process

PR: opengoofy/crane4j#181 (all the details about root cause and fix are here)

ID or NOD:

I ran this test 10 times with a single seed and the test failed all the 10 times. Therefore, this test is ID. Output:

Run 1 : Failed tests:   process(cn.crane4j.core.executor.handler.ReflectiveDisassembleOperationHandlerTest): expected:<bean[]> but was:<bean[Array]>
Run 2 : Failed tests:   process(cn.crane4j.core.executor.handler.ReflectiveDisassembleOperationHandlerTest): expected:<bean[]> but was:<bean[Array]>
Run 3 : Failed tests:   process(cn.crane4j.core.executor.handler.ReflectiveDisassembleOperationHandlerTest): expected:<bean[]> but was:<bean[Array]>
Run 4 : Failed tests:   process(cn.crane4j.core.executor.handler.ReflectiveDisassembleOperationHandlerTest): expected:<bean[]> but was:<bean[Array]>
Run 5 : Failed tests:   process(cn.crane4j.core.executor.handler.ReflectiveDisassembleOperationHandlerTest): expected:<[bean]> but was:<[noneGetter]>
Run 6 : Failed tests:   process(cn.crane4j.core.executor.handler.ReflectiveDisassembleOperationHandlerTest): expected:<bean[]> but was:<bean[Array]>
Run 7 : Failed tests:   process(cn.crane4j.core.executor.handler.ReflectiveDisassembleOperationHandlerTest): expected:<bean[]> but was:<bean[Array]>
Run 8 : Failed tests:   process(cn.crane4j.core.executor.handler.ReflectiveDisassembleOperationHandlerTest): expected:<bean[]> but was:<bean[Array]>
Run 9 : Failed tests:   process(cn.crane4j.core.executor.handler.ReflectiveDisassembleOperationHandlerTest): expected:<bean[]> but was:<bean[Array]>
Run 10 : Failed tests:   process(cn.crane4j.core.executor.handler.ReflectiveDisassembleOperationHandlerTest): expected:<bean[]> but was:<bean[Array]>

Logs for the above test are here: /home/bbelide2/new-tests/crane4j/logs/test3/single-run-final-output.log

Full logs for this test are here: /home/bbelide2/new-tests/crane4j/logs/test3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant