Skip to content

#566: removed debug statements #1164

#566: removed debug statements

#566: removed debug statements #1164

Re-run triggered December 18, 2024 18:06
Status Failure
Total duration 19m 21s
Artifacts

code-quality.yml

on: push
Matrix: code-quality
Fit to window
Zoom out
Zoom in

Annotations

16 errors, 14 warnings, and 10 notices
code-quality (ubuntu-latest, 3.9)
Process completed with exit code 1.
tests.unit.IO.test_vt_writer.TestVTDataWriter-20241218181921 ► tests.unit.IO.test_vt_writer.TestVTDataWriter ► test_vt_writer_communications_output: artifacts/unittest/reports/TEST-tests.unit.IO.test_vt_writer.TestVTDataWriter-20241218181921.xml#L1
Failed test found in: artifacts/unittest/reports/TEST-tests.unit.IO.test_vt_writer.TestVTDataWriter-20241218181921.xml Error: AssertionError: False is not true : File /home/runner/work/LB-analysis-framework/LB-analysis-framework/tests/unit/output/vt_writer_communications_test/output_file.1.json not generated at /home/runner/work/LB-analysis-framework/LB-analysis-framework/tests/unit/output/vt_writer_communications_test
tests.unit.IO.test_vt_writer.TestVTDataWriter-20241218181921 ► tests.unit.IO.test_vt_writer.TestVTDataWriter ► test_vt_writer_required_fields_output: artifacts/unittest/reports/TEST-tests.unit.IO.test_vt_writer.TestVTDataWriter-20241218181921.xml#L1
Failed test found in: artifacts/unittest/reports/TEST-tests.unit.IO.test_vt_writer.TestVTDataWriter-20241218181921.xml Error: AssertionError: False is not true : File /home/runner/work/LB-analysis-framework/LB-analysis-framework/tests/unit/output/vt_writer_stepper_test/output_file.1.json not generated at /home/runner/work/LB-analysis-framework/LB-analysis-framework/tests/unit/output/vt_writer_stepper_test
code-quality (ubuntu-latest, 3.9)
Failed tests were found and 'fail-on-error' option is set to true
code-quality (ubuntu-latest, 3.10)
Process completed with exit code 1.
tests.unit.IO.test_vt_writer.TestVTDataWriter-20241218182154 ► tests.unit.IO.test_vt_writer.TestVTDataWriter ► test_vt_writer_communications_output: artifacts/unittest/reports/TEST-tests.unit.IO.test_vt_writer.TestVTDataWriter-20241218182154.xml#L1
Failed test found in: artifacts/unittest/reports/TEST-tests.unit.IO.test_vt_writer.TestVTDataWriter-20241218182154.xml Error: AssertionError: False is not true : File /home/runner/work/LB-analysis-framework/LB-analysis-framework/tests/unit/output/vt_writer_communications_test/output_file.1.json not generated at /home/runner/work/LB-analysis-framework/LB-analysis-framework/tests/unit/output/vt_writer_communications_test
tests.unit.IO.test_vt_writer.TestVTDataWriter-20241218182154 ► tests.unit.IO.test_vt_writer.TestVTDataWriter ► test_vt_writer_required_fields_output: artifacts/unittest/reports/TEST-tests.unit.IO.test_vt_writer.TestVTDataWriter-20241218182154.xml#L1
Failed test found in: artifacts/unittest/reports/TEST-tests.unit.IO.test_vt_writer.TestVTDataWriter-20241218182154.xml Error: AssertionError: False is not true : File /home/runner/work/LB-analysis-framework/LB-analysis-framework/tests/unit/output/vt_writer_stepper_test/output_file.1.json not generated at /home/runner/work/LB-analysis-framework/LB-analysis-framework/tests/unit/output/vt_writer_stepper_test
code-quality (ubuntu-latest, 3.10)
Failed tests were found and 'fail-on-error' option is set to true
tests.unit.IO.test_vt_writer.TestVTDataWriter-20241218182104 ► tests.unit.IO.test_vt_writer.TestVTDataWriter ► test_vt_writer_communications_output: artifacts/unittest/reports/TEST-tests.unit.IO.test_vt_writer.TestVTDataWriter-20241218182104.xml#L1
Failed test found in: artifacts/unittest/reports/TEST-tests.unit.IO.test_vt_writer.TestVTDataWriter-20241218182104.xml Error: AssertionError: False is not true : File /home/runner/work/LB-analysis-framework/LB-analysis-framework/tests/unit/output/vt_writer_communications_test/output_file.1.json not generated at /home/runner/work/LB-analysis-framework/LB-analysis-framework/tests/unit/output/vt_writer_communications_test
tests.unit.IO.test_vt_writer.TestVTDataWriter-20241218182104 ► tests.unit.IO.test_vt_writer.TestVTDataWriter ► test_vt_writer_required_fields_output: artifacts/unittest/reports/TEST-tests.unit.IO.test_vt_writer.TestVTDataWriter-20241218182104.xml#L1
Failed test found in: artifacts/unittest/reports/TEST-tests.unit.IO.test_vt_writer.TestVTDataWriter-20241218182104.xml Error: AssertionError: False is not true : File /home/runner/work/LB-analysis-framework/LB-analysis-framework/tests/unit/output/vt_writer_stepper_test/output_file.1.json not generated at /home/runner/work/LB-analysis-framework/LB-analysis-framework/tests/unit/output/vt_writer_stepper_test
code-quality (ubuntu-latest, 3.8)
Failed tests were found and 'fail-on-error' option is set to true
code-quality (ubuntu-latest, 3.8)
Process completed with exit code 255.
code-quality (ubuntu-latest, 3.11)
Process completed with exit code 1.
tests.unit.IO.test_vt_writer.TestVTDataWriter-20241218182450 ► tests.unit.IO.test_vt_writer.TestVTDataWriter ► test_vt_writer_communications_output: artifacts/unittest/reports/TEST-tests.unit.IO.test_vt_writer.TestVTDataWriter-20241218182450.xml#L1
Failed test found in: artifacts/unittest/reports/TEST-tests.unit.IO.test_vt_writer.TestVTDataWriter-20241218182450.xml Error: AssertionError: False is not true : File /home/runner/work/LB-analysis-framework/LB-analysis-framework/tests/unit/output/vt_writer_communications_test/output_file.1.json not generated at /home/runner/work/LB-analysis-framework/LB-analysis-framework/tests/unit/output/vt_writer_communications_test
tests.unit.IO.test_vt_writer.TestVTDataWriter-20241218182450 ► tests.unit.IO.test_vt_writer.TestVTDataWriter ► test_vt_writer_required_fields_output: artifacts/unittest/reports/TEST-tests.unit.IO.test_vt_writer.TestVTDataWriter-20241218182450.xml#L1
Failed test found in: artifacts/unittest/reports/TEST-tests.unit.IO.test_vt_writer.TestVTDataWriter-20241218182450.xml Error: AssertionError: False is not true : File /home/runner/work/LB-analysis-framework/LB-analysis-framework/tests/unit/output/vt_writer_stepper_test/output_file.1.json not generated at /home/runner/work/LB-analysis-framework/LB-analysis-framework/tests/unit/output/vt_writer_stepper_test
code-quality (ubuntu-latest, 3.11)
Failed tests were found and 'fail-on-error' option is set to true
code-quality (ubuntu-latest, 3.9)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
code-quality (ubuntu-latest, 3.10)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
code-quality (ubuntu-latest, 3.8)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
code-quality (ubuntu-latest, 3.8): src/lbaf/IO/lbsVTDataReader.py#L229
Using possibly undefined loop variable 'phase' (undefined-loop-variable)
code-quality (ubuntu-latest, 3.8): src/lbaf/IO/lbsVTDataWriter.py#L154
Redefining built-in 'object' (redefined-builtin)
code-quality (ubuntu-latest, 3.8): src/lbaf/Model/lbsQOIDecorator.py#L44
Unused argument 'args' (unused-argument)
code-quality (ubuntu-latest, 3.8): src/lbaf/Model/lbsQOIDecorator.py#L44
Unused argument 'kwargs' (unused-argument)
code-quality (ubuntu-latest, 3.8): src/lbaf/Execution/lbsRuntime.py#L124
Unused argument 'lb_iterations' (unused-argument)
code-quality (ubuntu-latest, 3.8): src/lbaf/Execution/lbsTemperedCriterion.py#L50
Method 'estimate' is abstract in class 'CriterionBase' but is not overridden in child class 'TemperedCriterion' (abstract-method)
code-quality (ubuntu-latest, 3.8): src/lbaf/Execution/lbsAlgorithmBase.py#L104
Lambda may not be necessary (unnecessary-lambda)
code-quality (ubuntu-latest, 3.8): src/lbaf/Execution/lbsAlgorithmBase.py#L44
Unused import os (unused-import)
code-quality (ubuntu-latest, 3.8): src/lbaf/Execution/lbsAlgorithmBase.py#L45
Unused Set imported from typing (unused-import)
code-quality (ubuntu-latest, 3.8): src/lbaf/Execution/lbsAlgorithmBase.py#L48
Unused Rank imported from Model.lbsRank (unused-import)
code-quality (ubuntu-latest, 3.11)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
code-quality (ubuntu-latest, 3.8): src/lbaf/IO/lbsVTDataReader.py#L58
Too many instance attributes (9/7) (too-many-instance-attributes)
code-quality (ubuntu-latest, 3.8): src/lbaf/IO/lbsVTDataReader.py#L202
Too many local variables (38/15) (too-many-locals)
code-quality (ubuntu-latest, 3.8): src/lbaf/IO/lbsVTDataReader.py#L202
Too many branches (18/12) (too-many-branches)
code-quality (ubuntu-latest, 3.8): src/lbaf/IO/lbsVTDataReader.py#L202
Too many statements (63/50) (too-many-statements)
code-quality (ubuntu-latest, 3.8): src/lbaf/IO/lbsVTDataReader.py#L341
Too many local variables (18/15) (too-many-locals)
code-quality (ubuntu-latest, 3.8): src/lbaf/IO/lbsVTDataWriter.py#L154
Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements)
code-quality (ubuntu-latest, 3.8): src/lbaf/IO/lbsVTDataWriter.py#L164
Too many local variables (19/15) (too-many-locals)
code-quality (ubuntu-latest, 3.8): src/lbaf/IO/lbsVTDataWriter.py#L164
Too many branches (15/12) (too-many-branches)
code-quality (ubuntu-latest, 3.8): src/lbaf/IO/lbsVTDataWriter.py#L246
Too many local variables (18/15) (too-many-locals)
code-quality (ubuntu-latest, 3.8): src/lbaf/IO/lbsVTDataWriter.py#L320
Either all return statements in a function should return an expression, or none of them should. (inconsistent-return-statements)