Code coverage not getting generated

I am implementing sonarQube in python project on mac machine. While running sonarQube command from terminal, terminal gets stuck also code code coverage is not generating.
Command that I am runnning through terminal : -

(venv) C02SK061G8WL:scigraph-new-indexing-checks sam1546$ ./sonar
.FE…F…

below are the sonar-projects.properties

sonar.projectKey=IndexingCheckWebsite
sonar.projectName=Indexing Check Website
sonar.projectVersion=1.0
sonar.sources=src/service
sonar.tests=src/tests
sonar.language=py
sonar.sourceEncoding=UTF-8
sonar.python.xunit.reportPath=nosetests.xml
sonar.python.coverage.reportPath=coverage.xml
sonar.python.coveragePlugin=cobertura


sonar-scanner.properties

sonar.host.url=http://localhost:9000
sonar.sourceEncoding=UTF-8


sonar file

nosetests --with-coverage --cover-package=src/service --cover-xml
sed -i ‘s/filename="/filename=".//g’ coverage.xml
sonar-scanner/bin/sonar-scanner

What could be the issue.
Thanks in advance

Test cases are executing successfuly but coverage is not uploading on sonar UI

below are the logs

Traceback (most recent call last):
File “/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/venv/bin/nosetests”, line 8, in
sys.exit(run_exit())
File “/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/venv/lib/python3.7/site-packages/nose/core.py”, line 121, in init
**extra_args)
File “/usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/main.py”, line 101, in init
self.runTests()
File “/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/venv/lib/python3.7/site-packages/nose/core.py”, line 207, in runTests
result = self.testRunner.run(self.test)
File “/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/venv/lib/python3.7/site-packages/nose/core.py”, line 66, in run
result.printErrors()
File “/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/venv/lib/python3.7/site-packages/nose/result.py”, line 110, in printErrors
self.config.plugins.report(self.stream)
File “/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/venv/lib/python3.7/site-packages/nose/plugins/manager.py”, line 99, in call
return self.call(*arg, **kw)
File “/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/venv/lib/python3.7/site-packages/nose/plugins/manager.py”, line 167, in simple
result = meth(*arg, **kw)
File “/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/venv/lib/python3.7/site-packages/nose/plugins/cover.py”, line 183, in report
self.coverInstance.stop()
File “/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/venv/lib/python3.7/site-packages/coverage/control.py”, line 888, in report
return reporter.report(morfs, outfile=file)
File “/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/venv/lib/python3.7/site-packages/coverage/summary.py”, line 45, in report
for fr, analysis in get_analysis_to_report(self.coverage, morfs):
File “/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/venv/lib/python3.7/site-packages/coverage/report.py”, line 70, in get_analysis_to_report
analysis = coverage._analyze(fr)
File “/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/venv/lib/python3.7/site-packages/coverage/control.py”, line 783, in _analyze
return Analysis(data, it, self._file_mapper)
File “/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/venv/lib/python3.7/site-packages/coverage/results.py”, line 20, in init
self.statements = self.file_reporter.lines()
File “/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/venv/lib/python3.7/site-packages/coverage/python.py”, line 191, in lines
return self.parser.statements
File “/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/venv/lib/python3.7/site-packages/coverage/python.py”, line 184, in parser
exclude=self.coverage._exclude_regex(‘exclude’),
File “/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/venv/lib/python3.7/site-packages/coverage/parser.py”, line 44, in init
self.text = get_python_source(self.filename)
File “/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/venv/lib/python3.7/site-packages/coverage/python.py”, line 61, in get_python_source
raise NoSource(exc_msg)
coverage.misc.NoSource: No source for code: ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/service/book_api_service_tests.py’.
Aborting report output, consider using -i.
sed: 1: “coverage.xml”: command c expects \ followed by text
INFO: Scanner configuration file: /Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/sonar-scanner/conf/sonar-scanner.properties
INFO: Project root configuration file: /Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/sonar-project.properties
INFO: SonarQube Scanner 3.2.0.1227
INFO: Java 11.0.8 Oracle Corporation (64-bit)
INFO: Mac OS X 10.14.6 x86_64
INFO: User cache: /Users/sam1546/.sonar/cache
INFO: SonarQube server 7.1.0
INFO: Default locale: “en_US”, source code encoding: “UTF-8”
INFO: Publish mode
INFO: Load global settings
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.protobuf.UnsafeUtil (file:/Users/sam1546/.sonar/cache/3e26d9ec2d452f29e27358939e592296/sonar-scanner-engine-shaded-7.1-all.jar) to field java.nio.Buffer.address
WARNING: Please consider reporting this to the maintainers of com.google.protobuf.UnsafeUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
INFO: Load global settings (done) | time=957ms
INFO: Server id: AWPexA-Q0adscFvVHzXl
INFO: User cache: /Users/sam1546/.sonar/cache
INFO: Load plugins index
INFO: Load plugins index (done) | time=565ms
INFO: Load/download plugins
INFO: Load/download plugins (done) | time=20ms
INFO: Process project properties
INFO: Load project repositories
INFO: Load project repositories (done) | time=527ms
INFO: Load quality profiles
INFO: Load quality profiles (done) | time=477ms
INFO: Load active rules
INFO: Load active rules (done) | time=4703ms
INFO: Load metrics repository
INFO: Load metrics repository (done) | time=410ms
INFO: Project key: IndexingCheckWebsite
INFO: Project base dir: /Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks
INFO: ------------- Scan Indexing Check Website
INFO: Load server rules
INFO: Load server rules (done) | time=1054ms
INFO: Base dir: /Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks
INFO: Working dir: /Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/.scannerwork
INFO: Source paths: src/service
INFO: Test paths: src/tests
INFO: Source encoding: UTF-8, default locale: en_US
INFO: Language is forced to py
INFO: Index files
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/service/pycache/books_generic_info.cpython-38.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/service/pycache/old_idx.cpython-37.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/service/pycache/init.cpython-38.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/service/pycache/report_service.cpython-38.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/service/pycache/compendex_service_tests.cpython-37.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/service/pycache/old_idx_tests.cpython-37.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/service/pycache/elastic_service.cpython-37.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/service/pycache/wos_service_tests.cpython-37.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/service/pycache/springer_api.cpython-37.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/service/pycache/engineering_village_service_tests.cpython-37.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/service/pycache/engineering_village.cpython-37.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/service/pycache/scopus.cpython-38.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/service/pycache/elastic_service_tests.cpython-37.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/service/pycache/scopus_service_tests.cpython-37.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/service/pycache/scopus_request_optimization_tests.cpython-37.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/service/pycache/nature_api.cpython-38.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/service/pycache/report_service_tests.cpython-37.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/service/pycache/utils.cpython-38.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/service/pycache/nature_api_service_tests.cpython-37.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/service/pycache/book_api.cpython-38.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/service/pycache/wos.cpython-37.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/service/pycache/compendex.cpython-38.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/service/pycache/progress_service_tests.cpython-37.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/service/pycache/compendex_request_optimization_tests.cpython-37.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/service/pycache/document_service.cpython-37.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/service/pycache/document_service.cpython-38.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/service/pycache/book_api.cpython-37.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/service/pycache/progress.cpython-37.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/service/pycache/progress.cpython-38.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/service/pycache/compendex.cpython-37.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/service/pycache/utils.cpython-37.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/service/pycache/springer_api_service_tests.cpython-37.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/service/pycache/report_service.cpython-37.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/service/pycache/books_generic_info_service_tests.cpython-37.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/service/pycache/scopus.cpython-37.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/service/pycache/elastic_service.cpython-38.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/service/pycache/engineering_village.cpython-38.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/service/pycache/nature_api.cpython-37.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/service/pycache/old_idx.cpython-38.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/service/pycache/book_api_service_tests.cpython-37.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/service/pycache/document_service_tests.cpython-37.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/service/pycache/springer_api.cpython-38.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/service/pycache/books_generic_info.cpython-37.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/service/pycache/init.cpython-37.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/service/pycache/utils_tests.cpython-37.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/tests/pycache/old_idx_tests.cpython-37.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/tests/pycache/compendex_service_tests.cpython-37.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/tests/pycache/wos_service_tests.cpython-37.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/tests/pycache/elastic_service_tests.cpython-37.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/tests/pycache/engineering_village_service_tests.cpython-37.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/tests/pycache/scopus_request_optimization_tests.cpython-37.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/tests/pycache/nature_api_service_tests.cpython-37.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/tests/pycache/compendex_request_optimization_tests.cpython-37.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/tests/pycache/progress_service_tests.cpython-37.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/tests/pycache/springer_api_service_tests.cpython-37.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/tests/pycache/book_api_service_tests.cpython-37.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/tests/pycache/scopus_service_tests.cpython-37.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/tests/pycache/utils_tests.cpython-37.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/tests/pycache/document_service_tests.cpython-37.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/tests/pycache/books_generic_info_service_tests.cpython-37.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
WARN: File ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/src/tests/pycache/report_service_tests.cpython-37.pyc’ is ignored because it doesn’t belong to the forced language ‘py’
INFO: 31 files indexed
INFO: Quality profile for py: Sonar way
INFO: Sensor Python Squid Sensor [python]
INFO: Python test coverage
INFO: Parsing report ‘/Users/sam1546/Documents/Indexing-check/knowledge-graph/scigraph-new-indexing-checks/coverage.xml’
WARN: Invalid directory path in ‘source’ element: /home/rai04/working/lucy-project/apps
ERROR: Cannot resolve the file path ‘lucy/init.py’ of the coverage report, the file does not exist in all .
ERROR: Cannot resolve 2 file paths, ignoring coverage measures for those files
INFO: Sensor Python Squid Sensor [python] (done) | time=929ms
INFO: Sensor PythonXUnitSensor [python]
WARN: No report was found for sonar.python.xunit.reportPath using pattern nosetests.xml
INFO: Sensor PythonXUnitSensor [python] (done) | time=67ms
INFO: Sensor SonarJavaXmlFileSensor [java]
INFO: Sensor SonarJavaXmlFileSensor [java] (done) | time=0ms
INFO: Sensor Zero Coverage Sensor
INFO: Sensor Zero Coverage Sensor (done) | time=33ms
INFO: Sensor CPD Block Indexer
INFO: Sensor CPD Block Indexer (done) | time=0ms
INFO: SCM provider for this project is: git
INFO: 16 files to be analyzed
INFO: 0/16 files analyzed
WARN: Missing blame information for the following files:
WARN: * src/tests/book_api_service_tests.py
WARN: * src/tests/books_generic_info_service_tests.py
WARN: * src/tests/compendex_request_optimization_tests.py
WARN: * src/tests/compendex_service_tests.py
WARN: * src/tests/document_service_tests.py
WARN: * src/tests/elastic_service_tests.py
WARN: * src/tests/engineering_village_service_tests.py
WARN: * src/tests/nature_api_service_tests.py
WARN: * src/tests/old_idx_tests.py
WARN: * src/tests/progress_service_tests.py
WARN: * src/tests/report_service_tests.py
WARN: * src/tests/scopus_request_optimization_tests.py
WARN: * src/tests/scopus_service_tests.py
WARN: * src/tests/springer_api_service_tests.py
WARN: * src/tests/utils_tests.py
WARN: * src/tests/wos_service_tests.py
WARN: This may lead to missing/broken features in SonarQube
INFO: 2 files had no CPD blocks
INFO: Calculating CPD for 13 files
INFO: CPD calculation finished
INFO: Analysis report generated in 100ms, dir size=303 KB
INFO: Analysis reports compressed in 74ms, zip size=107 KB
INFO: Analysis report uploaded in 6736ms
INFO: ANALYSIS SUCCESSFUL, you can browse http://sn-deploy-rev-01:9000/dashboard/index/IndexingCheckWebsite
INFO: Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
INFO: More about the report processing at http://sn-deploy-rev-01:9000/api/ce/task?id=AXQPv4Aru8DL8QUEej2w
INFO: Task total time: 16.623 s
INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 20.009s
INFO: Final Memory: 10M/44M
INFO: ------------------------------------------------------------------------

sonar-project.properties

sonar.projectKey=IndexingCheckWebsite
sonar.projectName=Indexing Check Website
sonar.projectVersion=1.0
sonar.sources=src/service
sonar.tests=src/tests
sonar.language=py
sonar.sourceEncoding=UTF-8
sonar.python.xunit.reportPath=nosetests.xml
sonar.python.coverage.reportPath=coverage.xml
sonar.python.coveragePlugin=cobertura

sonar-scanner.properties

#----- Default SonarQube server
sonar.host.url=http://sn-deploy-rev-01:9000

#----- Default source code encoding
sonar.sourceEncoding=UTF-8

sonar file

nosetests --with-coverage --cover-package=src/service --cover-xml
sed -i ‘s/filename="/filename=".//g’ coverage.xml
sonar-scanner/bin/sonar-scanner

project structure

Hi,

Welcome to the community!

As a best practice, we try to keep it to one question per thread. Otherwise it gets very messy. So let’s focus here on “terminal gets stuck”.

Can you provide your analysis logs (from the ‘stuck’ terminal)?

 
Ann

@G Ann Campbell
Thanks for looking this issue. this issue has been resolved after cleaning all logs, caches and restarting my machine.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.