Sorry, I am just now seeing you respond to this. I cannot share the project or much with regards to it unfortunately. I would have to scrub an awful lot from the logs, but I’ve added the start of the log and the specific task that is failing with some info removed (basically path/project info).
Xmx = 4096m and Xss is not set anywhere that I can find.
- ./gradlew --info sonarqube ‘-Dsonar.projectVersion=5.3.33
’ -Dsonar.branch.name=devel -Dsonar.branch.target=master -x test
Initialized native services in: /usr/jenkins/.gradle/native
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/4.10/userguide/gradle_daemon.html.
Starting process ‘Gradle build daemon’. Working directory: /usr/jenkins/.gradle/daemon/4.10 Command: /usr/jenkins/builds/tools/hudson.model.JDK/JDK_8/bin/java -Xmx4096m -Dfile.encoding=UTF-8 -Duser.country=US -Duser.language=en -Duser.variant -cp /usr/jenkins/.gradle/wrapper/dists/gradle-4.10-bin/bg6py687nqv2mbe6e1hdtk57h/gradle-4.10/lib/gradle-launcher-4.10.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 4.10
Successfully started process ‘Gradle build daemon’
An attempt to start the daemon took 0.703 secs.
The client will now receive all logging from the daemon (pid: 17979). The daemon log file: /usr/jenkins/.gradle/daemon/4.10/daemon-17979.out.log
Closing daemon’s stdin at end of input.
The daemon will no longer process any standard input.
Daemon will be stopped at the end of the build stopping after processing
Using 6 worker leases.
Settings evaluated using settings file ‘/usr/jenkins/builds/workspace/Jenkins.Test.SonarHTML/settings.gradle’.
Using local directory build cache for the root build (location = /usr/jenkins/.gradle/caches/build-cache-1, removeUnusedEntriesAfter = 7 days).
Projects loaded. Root project using build file ‘/usr/jenkins/builds/workspace/Jenkins.Test.SonarHTML/build.gradle’.
Included projects: [root project ‘Jenkins.Test.SonarHTML’, …’]
Parallel execution with configuration on demand is an incubating feature.
Java Test Files AST scan (done) | time=576ms
Sensor JavaSquidSensor [java] (done) | time=17546ms
Sensor SurefireSensor [java]
Sensor SurefireSensor [java] (done) | time=2ms
Sensor JaCoCoSensor [java]
No information about coverage per test.
Sensor JaCoCoSensor [java] (done) | time=270ms
Sensor SonarJavaXmlFileSensor [java]
Sensor SonarJavaXmlFileSensor [java] (done) | time=1ms
Sensor HTML [web]
Task :sonarqube FAILED
:sonarqube (Thread[Task worker for ‘:’ Thread 3,5,main]) completed. Took 20 mins 10.696 secs.
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ‘:sonarqube’.
java.lang.StackOverflowError (no error message)
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use ‘–warning-mode all’ to show the individual deprecation warnings.
BUILD FAILED in 20m 17s
1 actionable task: 1 executed
script returned exit code 1