Bitbucket pipeline exceedes memory. I have increased the bitbucket pipeline step size to max and added SONAR_SCANNER_OPTS: -Xmx2048m.
Tried different values, but it keeps crashing.
Hey there.
At what point in the analysis does it crash? Can yous hare the logs and your bitbucket-pipeline.yml configuration?
WARN: Your code is analyzed as compatible with python 2 and 3 by default. This will prevent the detection of issues specific to python 2 or python 3. You can get a more precise analysis by setting a python version in your configuration via the parameter "sonar.python.version"
INFO: Starting global symbols computation
INFO: 3 source files to be analyzed
INFO: 3/3 source files have been analyzed
INFO: Starting rules execution
INFO: 3 source files to be analyzed
INFO: 3/3 source files have been analyzed
INFO: The Python analyzer was able to leverage cached data from previous analyses for 0 out of 3 files. These files were not parsed.
INFO: Sensor Python Sensor [python] (done) | time=4592ms
INFO: Sensor Cobertura Sensor for Python coverage [python]
INFO: Sensor Cobertura Sensor for Python coverage [python] (done) | time=78ms
INFO: Sensor PythonXUnitSensor [python]
INFO: Sensor PythonXUnitSensor [python] (done) | time=50ms
INFO: Sensor JaCoCo XML Report Importer [jacoco]
INFO: 'sonar.coverage.jacoco.xmlReportPaths' is not defined. Using default locations: target/s
these are the last lines
Thanks.
It certainly doesn’t seem like anything major is going on.
Can you share your Bitbucket Pipeline YML file here? Is it a runner hosted by Atlassian, or self-hosted?