-
Bug
-
Resolution: Done
-
Medium
-
Frankfurt Release
-
None
The sonar job has been failing with the following "cover" error:
Traceback (most recent call last):
[INFO] File "/w/workspace/optf-has-sonar/conductor/.tox/cover/bin/subunit2junitxml", line 36, in <module>
[INFO] protocol_version=2)
[INFO] File "/w/workspace/optf-has-sonar/conductor/.tox/cover/lib/python3.5/site-packages/subunit/filters.py", line 183, in run_filter_script
[INFO] input_stream=find_stream(sys.stdin, args))
[INFO] File "/w/workspace/optf-has-sonar/conductor/.tox/cover/lib/python3.5/site-packages/subunit/filters.py", line 146, in filter_by_result
[INFO] output_to = file(output_path, 'wb')
[INFO] NameError: name 'file' is not defined
[INFO] The test run didn't actually run any tests
[INFO] Non-zero exit code (2) from test listing.
[INFO] error: testr failed (3)
[INFO] Traceback (most recent call last):
[INFO] File "/w/workspace/optf-has-sonar/conductor/.tox/cover/bin/subunit-1to2", line 42, in <module>
[INFO] main()
[INFO] File "/w/workspace/optf-has-sonar/conductor/.tox/cover/bin/subunit-1to2", line 37, in main
[INFO] ExtendedToStreamDecorator(StreamResultToBytes(sys.stdout)))
[INFO] File "/w/workspace/optf-has-sonar/conductor/.tox/cover/lib/python3.5/site-packages/subunit/filters.py", line 104, in run_tests_from_stream
[INFO] test.run(result)
[INFO] File "/w/workspace/optf-has-sonar/conductor/.tox/cover/lib/python3.5/site-packages/subunit/_init_.py", line 1197, in run
[INFO] protocol.lineReceived(line)
[INFO] File "/w/workspace/optf-has-sonar/conductor/.tox/cover/lib/python3.5/site-packages/subunit/_init_.py", line 567, in lineReceived
[INFO] self._state.lineReceived(line)
[INFO] File "/w/workspace/optf-has-sonar/conductor/.tox/cover/lib/python3.5/site-packages/subunit/_init_.py", line 277, in lineReceived
[INFO] self.parser.stdOutLineReceived(line)
[INFO] File "/w/workspace/optf-has-sonar/conductor/.tox/cover/lib/python3.5/site-packages/subunit/_init_.py", line 597, in stdOutLineReceived
[INFO] self._stream.write(line)
[INFO] BrokenPipeError: [Errno 32] Broken pipe
[INFO] Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='UTF-8'>
[INFO] BrokenPipeError: [Errno 32] Broken pipe
[INFO] ERROR: InvocationError for command /w/workspace/optf-has-sonar/conductor/tools/pretty_tox.sh '' (exited with code 1)
logs can be found here. https://logs.onap.org/production/vex-yul-ecomp-jenkins-1/optf-has-sonar/660/console.log.gz
- blocks
-
OPTFRA-606 Review code coverage goal vs. actuals
- Closed
- relates to
-
OPTFRA-636 Failing FGPS SONAR Job
- Closed