See <https://builds.apache.org/job/Ant-Build-master-SonarQube/582/display/redirect?page=changes>
Changes: [bodewig] the new sonarqube scanner seems to rquire binaries ------------------------------------------ Started by upstream project "Ant-Build-Matrix-master-Linux" build number 1541 originally caused by: Started by an SCM change Started by an SCM change [EnvInject] - Loading node environment variables. Building remotely on H30 (ubuntu xenial) in workspace <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/> No credentials specified > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://gitbox.apache.org/repos/asf/ant.git # > timeout=10 Fetching upstream changes from https://gitbox.apache.org/repos/asf/ant.git > git --version # timeout=10 > git fetch --tags --progress https://gitbox.apache.org/repos/asf/ant.git > +refs/heads/*:refs/remotes/origin/* > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10 Checking out Revision b8fc243b515773310bede8a35dffb0c5f6ac6fca (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f b8fc243b515773310bede8a35dffb0c5f6ac6fca Commit message: "the new sonarqube scanner seems to rquire binaries" > git rev-list --no-walk a38e1e8496e00c8b0dda4009759e0809f60d76d9 # timeout=10 [EnvInject] - Executing scripts and injecting environment variables after the SCM step. [EnvInject] - Injecting as environment variables the properties content SONAR_HOST_URL=https://sonarcloud.io SONAR_LOGIN=838417f091304fde0ef3953415628f13bc1ae353 [EnvInject] - Variables injected successfully. [Ant-Build-master-SonarQube] $ /home/jenkins/tools/ant/latest/bin/ant -file sonarqube.xml -Dsonar.login=838417f091304fde0ef3953415628f13bc1ae353 -Dsonar.host.url=https://sonarcloud.io Buildfile: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/sonarqube.xml> download: [get] Getting: https://binaries.sonarsource.com/Distribution/sonarqube-ant-task/sonarqube-ant-task-2.6.0.1426.jar [get] To: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/downloads/sonarqube-ant-task.jar> build-classes: launch: [echo] Launching <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build.sh> -Djenkins=t [exec] ... Bootstrapping Ant Distribution [exec] ... Compiling Ant Classes [exec] Note: Some input files use or override a deprecated API. [exec] Note: Recompile with -Xlint:deprecation for details. [exec] ... Copying Required Files [exec] ... Building Ant Distribution [exec] Buildfile: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build.xml> [exec] [exec] bootstrap: [exec] [exec] check-optional-packages: [exec] [exec] prepare: [exec] [exec] compile: [exec] Compiling 286 source files to <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/classes> [exec] Note: Some input files use or override a deprecated API. [exec] Note: Recompile with -Xlint:deprecation for details. [exec] [exec] compile-jdk9+: [exec] [exec] build: [exec] Compiling 11 source files to <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/classes> [exec] Creating empty <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/classes/org/apache/tools/ant/taskdefs/optional/junitlauncher/confined/package-info.class> [exec] Copying 6 files to <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/classes> [exec] Copying 2 files to <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/classes> [exec] Copying 4 files to <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/classes/org/apache/tools/ant/taskdefs/optional/junit/xsl> [exec] [exec] jars: [exec] Copying 2 files to <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build> [exec] Building jar: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/lib/ant-launcher.jar> [exec] Building jar: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/lib/ant.jar> [exec] Building jar: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/lib/ant-bootstrap.jar> [exec] Building jar: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/lib/ant-apache-resolver.jar> [exec] Building jar: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/lib/ant-junit.jar> [exec] Building jar: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/lib/ant-junit4.jar> [exec] Building jar: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/lib/ant-junitlauncher.jar> [exec] Building jar: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/lib/ant-apache-regexp.jar> [exec] Building jar: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/lib/ant-apache-oro.jar> [exec] Building jar: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/lib/ant-apache-bcel.jar> [exec] Building jar: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/lib/ant-apache-log4j.jar> [exec] Building jar: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/lib/ant-commons-logging.jar> [exec] Building jar: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/lib/ant-apache-bsf.jar> [exec] Building jar: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/lib/ant-javamail.jar> [exec] Building jar: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/lib/ant-netrexx.jar> [exec] Building jar: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/lib/ant-commons-net.jar> [exec] Building jar: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/lib/ant-antlr.jar> [exec] Building jar: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/lib/ant-imageio.jar> [exec] Building jar: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/lib/ant-jmf.jar> [exec] Building jar: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/lib/ant-jai.jar> [exec] Building jar: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/lib/ant-swing.jar> [exec] Building jar: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/lib/ant-jsch.jar> [exec] Building jar: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/lib/ant-jdepend.jar> [exec] Building jar: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/lib/ant-apache-xalan2.jar> [exec] Building jar: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/lib/ant-xz.jar> [exec] [exec] compile-tests: [exec] Created dir: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/testcases> [exec] Compiling 321 source files to <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/testcases> [exec] Note: Some input files use or override a deprecated API. [exec] Note: Recompile with -Xlint:deprecation for details. [exec] Building jar: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/testcases/org/apache/tools/ant/taskdefs/test2-antlib.jar> [exec] [exec] test-jar: [exec] Building jar: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/lib/ant-testutil.jar> [exec] [exec] -ant-dist-warn-jdk9+: [exec] Java 9+ features won't be available in the distribution [exec] [exec] dist-lite: [exec] Created dir: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/bootstrap> [exec] Created dir: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/bootstrap/bin> [exec] Created dir: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/bootstrap/lib> [exec] Copying 25 files to <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/bootstrap/lib> [exec] Copying 13 files to <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/bootstrap/bin> [exec] [exec] BUILD SUCCESSFUL [exec] Total time: 18 seconds [exec] ... Cleaning Up Build Directories [exec] ... Done Bootstrapping Ant Distribution [exec] Buildfile: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build.xml> [exec] [exec] check-optional-packages: [exec] [exec] prepare: [exec] [exec] compile: [exec] [mkdir] Created dir: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/classes> [exec] [javac] Compiling 840 source files to <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/classes> [exec] [javac] Note: Some input files use or override a deprecated API. [exec] [javac] Note: Recompile with -Xlint:deprecation for details. [exec] [exec] compile-jdk9+: [exec] [exec] build: [exec] [javac] Compiling 11 source files to <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/classes> [exec] [javac] Creating empty <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/classes/org/apache/tools/ant/taskdefs/optional/junitlauncher/confined/package-info.class> [exec] [copy] Copying 8 files to <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/classes> [exec] [copy] Copying 2 files to <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/classes> [exec] [copy] Copying 4 files to <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/classes/org/apache/tools/ant/taskdefs/optional/junit/xsl> [exec] [exec] jars: [exec] [jar] Building jar: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/lib/ant-launcher.jar> [exec] [jar] Building jar: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/lib/ant.jar> [exec] [jar] Building jar: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/lib/ant-bootstrap.jar> [exec] [jar] Building jar: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/lib/ant-junit.jar> [exec] [jar] Building jar: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/lib/ant-junit4.jar> [exec] [jar] Building jar: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/lib/ant-junitlauncher.jar> [exec] [jar] Building jar: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/lib/ant-imageio.jar> [exec] [jar] Building jar: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/lib/ant-jmf.jar> [exec] [jar] Building jar: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/lib/ant-swing.jar> [exec] [exec] compile-tests: [exec] [exec] test-jar: [exec] [exec] -ant-dist-warn-jdk9+: [exec] [echo] Java 9+ features won't be available in the distribution [exec] [exec] dist-lite: [exec] [mkdir] Created dir: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/dist> [exec] [mkdir] Created dir: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/dist/bin> [exec] [mkdir] Created dir: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/dist/lib> [exec] [copy] Copying 25 files to <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/dist/lib> [exec] [copy] Copying 13 files to <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/dist/bin> [exec] [exec] main: [exec] [exec] BUILD SUCCESSFUL [exec] Total time: 17 seconds sonar: [taskdef] Could not load definitions from resource org/sonar/ant/antlib.xml. It could not be found. BUILD FAILED <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/sonarqube.xml>:31: Problem: failed to create task or type antlib:org.sonar.ant:sonar Cause: The name is undefined. Action: Check the spelling. Action: Check that any custom tasks/types have been declared. Action: Check that any <presetdef>/<macrodef> declarations have taken place. No types or tasks have been defined in this namespace yet This appears to be an antlib declaration. Action: Check that the implementing library exists in one of: -/home/jenkins/tools/ant/latest/lib -/home/jenkins/.ant/lib -a directory added on the command line with the -lib argument Total time: 57 seconds Build step 'Invoke Ant' marked build as failure
