Skip to content

#501: more fixes, add do_stealing to config validator #760

#501: more fixes, add do_stealing to config validator

#501: more fixes, add do_stealing to config validator #760

Status Failure
Total duration 3m 57s
Artifacts

code-quality.yml

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

Annotations

17 errors, 12 warnings, and 10 notices
code-quality (ubuntu-latest, 3.9)
Process completed with exit code 1.
tests.acceptance.test_acceptance.TestAcceptance-20240223211901 ► tests.acceptance.test_acceptance.TestAcceptance ► test_synthetic_acceptance: artifacts/unittest/reports/TEST-tests.acceptance.test_acceptance.TestAcceptance-20240223211901.xml#L1
Failed test found in: artifacts/unittest/reports/TEST-tests.acceptance.test_acceptance.TestAcceptance-20240223211901.xml Error: Traceback (most recent call last):
tests.acceptance.test_stepper.TestStepper-20240223211901 ► tests.acceptance.test_stepper.TestStepper ► test_stepper: artifacts/unittest/reports/TEST-tests.acceptance.test_stepper.TestStepper-20240223211901.xml#L1
Failed test found in: artifacts/unittest/reports/TEST-tests.acceptance.test_stepper.TestStepper-20240223211901.xml Error: Traceback (most recent call last):
tests.unit.Execution.test_lbs_runtime.TestConfig-20240223211901 ► tests.unit.Execution.test_lbs_runtime.TestConfig ► test_lbs_runtime_execute: artifacts/unittest/reports/TEST-tests.unit.Execution.test_lbs_runtime.TestConfig-20240223211901.xml#L1
Failed test found in: artifacts/unittest/reports/TEST-tests.unit.Execution.test_lbs_runtime.TestConfig-20240223211901.xml artifacts/unittest/reports/TEST-tests.unit.Execution.test_lbs_runtime.TestConfig-20240223211901.xml artifacts/unittest/reports/TEST-tests.unit.Execution.test_lbs_runtime.TestConfig-20240223211901.xml artifacts/unittest/reports/TEST-tests.unit.Execution.test_lbs_runtime.TestConfig-20240223211901.xml artifacts/unittest/reports/TEST-tests.unit.Execution.test_lbs_runtime.TestConfig-20240223211901.xml Error: Traceback (most recent call last):
tests.unit.IO.test_lbs_vt_data_reader.TestConfig-20240223211901 ► tests.unit.IO.test_lbs_vt_data_reader.TestConfig ► test_lbs_vt_data_reader_missing_communications: artifacts/unittest/reports/TEST-tests.unit.IO.test_lbs_vt_data_reader.TestConfig-20240223211901.xml#L1
Failed test found in: artifacts/unittest/reports/TEST-tests.unit.IO.test_lbs_vt_data_reader.TestConfig-20240223211901.xml Error: Traceback (most recent call last):
tests.unit.IO.test_vt_writer.TestVTDataWriter-20240223211901 ► tests.unit.IO.test_vt_writer.TestVTDataWriter ► test_vt_writer_communications_output: artifacts/unittest/reports/TEST-tests.unit.IO.test_vt_writer.TestVTDataWriter-20240223211901.xml#L1
Failed test found in: artifacts/unittest/reports/TEST-tests.unit.IO.test_vt_writer.TestVTDataWriter-20240223211901.xml Error: Traceback (most recent call last):
tests.unit.IO.test_vt_writer.TestVTDataWriter-20240223211901 ► tests.unit.IO.test_vt_writer.TestVTDataWriter ► test_vt_writer_required_fields_output: artifacts/unittest/reports/TEST-tests.unit.IO.test_vt_writer.TestVTDataWriter-20240223211901.xml#L1
Failed test found in: artifacts/unittest/reports/TEST-tests.unit.IO.test_vt_writer.TestVTDataWriter-20240223211901.xml Error: Traceback (most recent call last):
code-quality (ubuntu-latest, 3.9)
Failed tests were found and 'fail-on-error' option is set to true
tests.acceptance.test_acceptance.TestAcceptance-20240223211853 ► tests.acceptance.test_acceptance.TestAcceptance ► test_synthetic_acceptance: artifacts/unittest/reports/TEST-tests.acceptance.test_acceptance.TestAcceptance-20240223211853.xml#L1
Failed test found in: artifacts/unittest/reports/TEST-tests.acceptance.test_acceptance.TestAcceptance-20240223211853.xml Error: Traceback (most recent call last):
tests.acceptance.test_stepper.TestStepper-20240223211853 ► tests.acceptance.test_stepper.TestStepper ► test_stepper: artifacts/unittest/reports/TEST-tests.acceptance.test_stepper.TestStepper-20240223211853.xml#L1
Failed test found in: artifacts/unittest/reports/TEST-tests.acceptance.test_stepper.TestStepper-20240223211853.xml Error: Traceback (most recent call last):
tests.unit.Execution.test_lbs_runtime.TestConfig-20240223211853 ► tests.unit.Execution.test_lbs_runtime.TestConfig ► test_lbs_runtime_execute: artifacts/unittest/reports/TEST-tests.unit.Execution.test_lbs_runtime.TestConfig-20240223211853.xml#L1
Failed test found in: artifacts/unittest/reports/TEST-tests.unit.Execution.test_lbs_runtime.TestConfig-20240223211853.xml artifacts/unittest/reports/TEST-tests.unit.Execution.test_lbs_runtime.TestConfig-20240223211853.xml artifacts/unittest/reports/TEST-tests.unit.Execution.test_lbs_runtime.TestConfig-20240223211853.xml artifacts/unittest/reports/TEST-tests.unit.Execution.test_lbs_runtime.TestConfig-20240223211853.xml artifacts/unittest/reports/TEST-tests.unit.Execution.test_lbs_runtime.TestConfig-20240223211853.xml Error: Traceback (most recent call last):
tests.unit.IO.test_lbs_vt_data_reader.TestConfig-20240223211853 ► tests.unit.IO.test_lbs_vt_data_reader.TestConfig ► test_lbs_vt_data_reader_missing_communications: artifacts/unittest/reports/TEST-tests.unit.IO.test_lbs_vt_data_reader.TestConfig-20240223211853.xml#L1
Failed test found in: artifacts/unittest/reports/TEST-tests.unit.IO.test_lbs_vt_data_reader.TestConfig-20240223211853.xml Error: Traceback (most recent call last):
tests.unit.IO.test_vt_writer.TestVTDataWriter-20240223211853 ► tests.unit.IO.test_vt_writer.TestVTDataWriter ► test_vt_writer_communications_output: artifacts/unittest/reports/TEST-tests.unit.IO.test_vt_writer.TestVTDataWriter-20240223211853.xml#L1
Failed test found in: artifacts/unittest/reports/TEST-tests.unit.IO.test_vt_writer.TestVTDataWriter-20240223211853.xml Error: Traceback (most recent call last):
tests.unit.IO.test_vt_writer.TestVTDataWriter-20240223211853 ► tests.unit.IO.test_vt_writer.TestVTDataWriter ► test_vt_writer_required_fields_output: artifacts/unittest/reports/TEST-tests.unit.IO.test_vt_writer.TestVTDataWriter-20240223211853.xml#L1
Failed test found in: artifacts/unittest/reports/TEST-tests.unit.IO.test_vt_writer.TestVTDataWriter-20240223211853.xml Error: Traceback (most recent call last):
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): src/lbaf/Execution/lbsWorkStealingAlgorithm.py#L1
Unable to import 'simpy' (import-error)
code-quality (ubuntu-latest, 3.8)
Process completed with exit code 255.
code-quality (ubuntu-latest, 3.9)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, phoenix-actions/test-reporting@v12. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
code-quality (ubuntu-latest, 3.8)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, phoenix-actions/test-reporting@v12. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
code-quality (ubuntu-latest, 3.8): src/lbaf/Utils/lbsJSONDataFilesValidatorLoader.py#L10
Unused PROJECT_PATH imported from lbaf (unused-import)
code-quality (ubuntu-latest, 3.8): src/lbaf/Execution/lbsWorkStealingAlgorithm.py#L179
Unused private member `WorkStealingAlgorithm.__discretion_interval` (unused-private-member)
code-quality (ubuntu-latest, 3.8): src/lbaf/Execution/lbsWorkStealingAlgorithm.py#L200
Unused private member `WorkStealingAlgorithm.__experiment_times` (unused-private-member)
code-quality (ubuntu-latest, 3.8): src/lbaf/Execution/lbsAlgorithmBase.py#L261
Unnecessary pass statement (unnecessary-pass)
code-quality (ubuntu-latest, 3.8): src/lbaf/Execution/lbsRecursiveTransferStrategy.py#L62
Parameter 'phase' has been renamed to 'known_peers' in overridden 'RecursiveTransferStrategy.execute' method (arguments-renamed)
code-quality (ubuntu-latest, 3.8): src/lbaf/Execution/lbsRecursiveTransferStrategy.py#L62
Parameter 'known_peers' has been renamed to 'phase' in overridden 'RecursiveTransferStrategy.execute' method (arguments-renamed)
code-quality (ubuntu-latest, 3.8): src/lbaf/Execution/lbsRecursiveTransferStrategy.py#L9
Unused ObjectCommunicator imported from Model.lbsObjectCommunicator (unused-import)
code-quality (ubuntu-latest, 3.8): src/lbaf/Execution/lbsClusteringTransferStrategy.py#L198
Parameter 'phase' has been renamed to 'known_peers' in overridden 'ClusteringTransferStrategy.execute' method (arguments-renamed)
code-quality (ubuntu-latest, 3.8): src/lbaf/Execution/lbsClusteringTransferStrategy.py#L198
Parameter 'known_peers' has been renamed to 'phase' in overridden 'ClusteringTransferStrategy.execute' method (arguments-renamed)
code-quality (ubuntu-latest, 3.8): src/lbaf/Utils/lbsDataStatFilesUpdater.py#L18
Too few public methods (1/2) (too-few-public-methods)
code-quality (ubuntu-latest, 3.8): src/lbaf/Utils/lbsJSONDataFilesValidatorLoader.py#L1
Missing module docstring (missing-module-docstring)
code-quality (ubuntu-latest, 3.8): src/lbaf/Utils/lbsJSONDataFilesValidatorLoader.py#L66
Method could be a function (no-self-use)
code-quality (ubuntu-latest, 3.8): src/lbaf/Utils/lbsArgumentParser.py#L18
Too many arguments (14/7) (too-many-arguments)
code-quality (ubuntu-latest, 3.8): src/lbaf/Utils/lbsArgumentParser.py#L36
Consider using Python 3 style super() without arguments (super-with-arguments)
code-quality (ubuntu-latest, 3.8): src/lbaf/Utils/lbsArgumentParser.py#L82
Consider merging these comparisons with "in" to "raw_response in ('', 'None')" (consider-using-in)
code-quality (ubuntu-latest, 3.8): src/lbaf/Utils/lbsArgumentParser.py#L58
Too many branches (17/12) (too-many-branches)
code-quality (ubuntu-latest, 3.8): src/lbaf/Utils/lbsArgumentParser.py#L58
Method could be a function (no-self-use)
code-quality (ubuntu-latest, 3.8): src/lbaf/Utils/lbsArgumentParser.py#L149
Unnecessary "else" after "return" (no-else-return)
code-quality (ubuntu-latest, 3.8): src/lbaf/Utils/lbsArgumentParser.py#L165
Unnecessary "else" after "return" (no-else-return)