You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2019/08/22 09:13:45 UTC
Build failed in Jenkins: Ant-Build-master-SonarQube #585
See <https://builds.apache.org/job/Ant-Build-master-SonarQube/585/display/redirect?page=changes>
Changes:
[bodewig] fix file name
[bodewig] JavaMail -> Jakarta Mail - Bugzilla Issue 63683
------------------------------------------
Started by user bodewig
[EnvInject] - Loading node environment variables.
Building remotely on H32 (ubuntu xenial) in workspace <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/>
No credentials specified
Cloning the remote Git repository
Cloning repository https://gitbox.apache.org/repos/asf/ant.git
> git init <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/> # 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 config remote.origin.url https://gitbox.apache.org/repos/asf/ant.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
> 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 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 96921f4a86368f294e44f354be6be2faf8b475c7 (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 96921f4a86368f294e44f354be6be2faf8b475c7
Commit message: "JavaMail -> Jakarta Mail - Bugzilla Issue 63683"
> git rev-list --no-walk f9a22ba57a91ef52c12cca7d79b9dff737cb4dbb # 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
[EnvInject] - Variables injected successfully.
[EnvInject] - Mask passwords that will be passed as build parameters.
[Ant-Build-master-SonarQube] $ /home/jenkins/tools/ant/latest/bin/ant -file sonarqube.xml ******** -Dsonar.login=[*******] -Dsonar.host.url=https://sonarcloud.io
Buildfile: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/sonarqube.xml>
download:
[mkdir] Created dir: <https://builds.apache.org/job/Ant-Build-master-SonarQube/ws/build/downloads>
[get] Getting: https://binaries.sonarsource.com/Distribution/sonarqube-ant-task/sonarqube-ant-task-2.5.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: 15 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: 1 minute 7 seconds
Build step 'Invoke Ant' marked build as failure
Jenkins build is back to normal : Ant-Build-master-SonarQube #586
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Ant-Build-master-SonarQube/586/display/redirect?page=changes>