Sergey Korotkov created IGNITE-18112: ----------------------------------------
Summary: [ducktests] wrong logging configuration is used for control.sh Key: IGNITE-18112 URL: https://issues.apache.org/jira/browse/IGNITE-18112 Project: Ignite Issue Type: Test Reporter: Sergey Korotkov Assignee: Sergey Korotkov Wrong logging configuration may be used for the {{control.sh}} utility during the ducktest run in *development* mode. *** Currently random implementation of the IgniteLogger (log4j2, slfj2, jul, jcl) may be chosen depending on what modules are actually built, or arbitrary testing logging config file (like {{log4j2.xml}} one from the {{modules/clients}} or {{log4j2.properties}} from {{modules/visor-plugins}} may be put on the classpath and used instead of the {{/mnt/service/config/ignite-ducktape-log4j2.xml}} one. *** This breaks the control.sh console output so it can not be parsed by the ignite ducktape framework. In particular the *control_utility.tx_test.TransactionsTests.test_tx_info* test fails as: {noformat} Traceback (most recent call last): File "/u01/jenkins/workspace/ise/DevOPS/Ducktape/run_tests_ai_daily/venv/lib64/python3.8/site-packages/ducktape/tests/runner_client.py", line 133, in run data = self.run_test() File "/u01/jenkins/workspace/ise/DevOPS/Ducktape/run_tests_ai_daily/venv/lib64/python3.8/site-packages/ducktape/tests/runner_client.py", line 197, in run_test return self.test_context.function(self.test) File "/u01/jenkins/workspace/ise/DevOPS/Ducktape/run_tests_ai_daily/venv/lib64/python3.8/site-packages/ducktape/mark/_mark.py", line 429, in wrapper return functools.partial(f, *args, **kwargs)(*w_args, **w_kwargs) File "/u01/jenkins/workspace/ise/DevOPS/Ducktape/run_tests_ai_daily/ignite-dev/modules/ducktests/tests/ignitetest/utils/_mark.py", line 233, in extended_test test_result = func(self, *args, **kwargs) File "/u01/jenkins/workspace/ise/DevOPS/Ducktape/run_tests_ai_daily/ignite-dev/modules/ducktests/tests/ignitetest/tests/control_utility/tx_test.py", line 62, in test_tx_info assert res.xid == pick_tx.xid AttributeError: 'NoneType' object has no attribute 'xid' {noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010)