Console Output

Started by user Mickael Istria
Obtained sonar.Jenkinsfile from git https://github.com/mickaelistria/wildwebdeveloper.git
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] podTemplate
[Pipeline] {
[Pipeline] node
Still waiting to schedule task
‘wildwebdeveloper-buildtest-sonar-pod-1c32w-j2qvp’ is offline
Agent wildwebdeveloper-buildtest-sonar-pod-1c32w-j2qvp is provisioned from template Kubernetes Pod Template
Agent specification [Kubernetes Pod Template] (wildwebdeveloper-buildtest-sonar-pod): 
yaml:

apiVersion: v1
kind: Pod
spec:
  containers:
  - name: container
    image: mickaelistria/wildwebdeveloper-build-test-dependencies@sha256:953ba8b8850ca81a4fe465a8f9f5e5d3b18985b75ecc0ba44d7d2178a232fa9c
    tty: true
    command: [ "uid_entrypoint", "cat" ]


Running on wildwebdeveloper-buildtest-sonar-pod-1c32w-j2qvp in /home/jenkins/workspace/SonarCloud-analysis
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
No credentials specified
Cloning the remote Git repository
Cloning repository https://github.com/mickaelistria/wildwebdeveloper.git
 > git init /home/jenkins/workspace/SonarCloud-analysis # timeout=10
Fetching upstream changes from https://github.com/mickaelistria/wildwebdeveloper.git
 > git --version # timeout=10
 > git fetch --tags --progress https://github.com/mickaelistria/wildwebdeveloper.git +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url https://github.com/mickaelistria/wildwebdeveloper.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/mickaelistria/wildwebdeveloper.git # timeout=10
Fetching upstream changes from https://github.com/mickaelistria/wildwebdeveloper.git
 > git fetch --tags --progress https://github.com/mickaelistria/wildwebdeveloper.git +refs/heads/*:refs/remotes/origin/*
Checking out Revision f27ee87467efe662d19f50ec76a785969f1986b6 (refs/remotes/origin/sonarcloud)
Commit message: "Attempt for SonarCloud analysis"
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] container
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Prepare-environment)
[Pipeline] sh
 > git rev-parse refs/remotes/origin/sonarcloud^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/sonarcloud^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f f27ee87467efe662d19f50ec76a785969f1986b6
 > git rev-list --no-walk f27ee87467efe662d19f50ec76a785969f1986b6 # timeout=10
+ npm config set cache=/home/jenkins/workspace/SonarCloud-analysis/npm-cache
[Pipeline] sh
+ mkdir -p /home/jenkins/.vnc
+ echo 123456
+ vncpasswd -f
+ chmod 600 /home/jenkins/.vnc/passwd
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build)
[Pipeline] wrap
Starting xvnc
Executing shell script inside container [container] of pod [wildwebdeveloper-buildtest-sonar-pod-1c32w-j2qvp]
Executing command: "vncserver" ":16" "-localhost" "-nolisten" "tcp" 
exit
Use of uninitialized value $proto in socket at /usr/bin/vncserver line 357.
Use of uninitialized value $proto in socket at /usr/bin/vncserver line 357.
Use of uninitialized value $proto in socket at /usr/bin/vncserver line 357.
Use of uninitialized value $proto in socket at /usr/bin/vncserver line 357.

New 'wildwebdeveloper-buildtest-sonar-pod-1c32w-j2qvp:16 (default)' desktop at :16 on machine wildwebdeveloper-buildtest-sonar-pod-1c32w-j2qvp

Starting applications specified in /etc/X11/Xvnc-session
Log file is /home/jenkins/.vnc/wildwebdeveloper-buildtest-sonar-pod-1c32w-j2qvp:16.log

Use xtigervncviewer -SecurityTypes VncAuth -passwd /home/jenkins/.vnc/passwd :16 to connect to the VNC server.

[Pipeline] {
[Pipeline] sh
+ mvn clean verify -Dmaven.test.error.ignore=true -Dmaven.test.failure.ignore=true -Dmaven.repo.local=/home/jenkins/workspace/SonarCloud-analysis/.m2/repository
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
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] Scanning for projects...
Downloading from tycho-snapshots: https://repo.eclipse.org/content/repositories/tycho-snapshots/org/eclipse/tycho/tycho-maven-plugin/1.3.0-SNAPSHOT/maven-metadata.xml
Downloading from cbi: https://repo.eclipse.org/content/groups/cbi/org/eclipse/tycho/tycho-maven-plugin/1.3.0-SNAPSHOT/maven-metadata.xml
Downloading from cbi: https://repo.eclipse.org/content/groups/cbi/org/eclipse/tycho/tycho-maven-plugin/1.3.0-SNAPSHOT/tycho-maven-plugin-1.3.0-SNAPSHOT.pom
Downloading from tycho-snapshots: https://repo.eclipse.org/content/repositories/tycho-snapshots/org/eclipse/tycho/tycho-maven-plugin/1.3.0-SNAPSHOT/tycho-maven-plugin-1.3.0-SNAPSHOT.pom
[WARNING] The POM for org.eclipse.tycho:tycho-maven-plugin:jar:1.3.0-SNAPSHOT is missing, no dependency information available
Downloading from cbi: https://repo.eclipse.org/content/groups/cbi/org/eclipse/tycho/tycho-maven-plugin/1.3.0-SNAPSHOT/tycho-maven-plugin-1.3.0-SNAPSHOT.jar
Downloading from cbi: https://repo.eclipse.org/content/groups/cbi/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
Downloading from tycho-snapshots: https://repo.eclipse.org/content/repositories/tycho-snapshots/org/eclipse/tycho/tycho-maven-plugin/1.3.0-SNAPSHOT/tycho-maven-plugin-1.3.0-SNAPSHOT.jar
Downloading from tycho-snapshots: https://repo.eclipse.org/content/repositories/tycho-snapshots/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
Progress (1): 2.8/169 kB
Progress (1): 5.5/169 kB
Progress (1): 8.3/169 kB
Progress (1): 11/169 kB 
Progress (1): 14/169 kB
Progress (1): 16/169 kB
Progress (1): 19/169 kB
Progress (1): 22/169 kB
Progress (1): 25/169 kB
Progress (1): 27/169 kB
Progress (1): 30/169 kB
Progress (1): 33/169 kB
Progress (1): 37/169 kB
Progress (1): 41/169 kB
Progress (1): 45/169 kB
Progress (1): 49/169 kB
Progress (1): 53/169 kB
Progress (1): 57/169 kB
Progress (1): 61/169 kB
Progress (1): 63/169 kB
Progress (1): 66/169 kB
Progress (1): 70/169 kB
Progress (1): 74/169 kB
Progress (1): 78/169 kB
Progress (1): 82/169 kB
Progress (1): 86/169 kB
Progress (1): 90/169 kB
Progress (1): 94/169 kB
Progress (1): 98/169 kB
Progress (1): 102/169 kB
Progress (1): 106/169 kB
Progress (1): 111/169 kB
Progress (1): 115/169 kB
Progress (1): 119/169 kB
Progress (1): 123/169 kB
Progress (1): 127/169 kB
Progress (1): 131/169 kB
Progress (1): 135/169 kB
Progress (1): 139/169 kB
Progress (1): 143/169 kB
Progress (1): 147/169 kB
Progress (1): 152/169 kB
Progress (1): 156/169 kB
Progress (1): 160/169 kB
Progress (1): 164/169 kB
Progress (1): 168/169 kB
Progress (1): 169 kB    
                    
Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar (169 kB at 1.3 MB/s)
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Unresolveable build extension: Plugin org.eclipse.tycho:tycho-maven-plugin:1.3.0-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact org.eclipse.tycho:tycho-maven-plugin:jar:1.3.0-SNAPSHOT in cbi (https://repo.eclipse.org/content/groups/cbi) @ 
 @ 
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project org.eclipse.wildwebdeveloper:parent:0.1.0-SNAPSHOT (/home/jenkins/workspace/SonarCloud-analysis/pom.xml) has 1 error
[ERROR]     Unresolveable build extension: Plugin org.eclipse.tycho:tycho-maven-plugin:1.3.0-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact org.eclipse.tycho:tycho-maven-plugin:jar:1.3.0-SNAPSHOT in cbi (https://repo.eclipse.org/content/groups/cbi) -> [Help 2]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginManagerException
[Pipeline] }
Terminating xvnc.
Executing shell script inside container [container] of pod [wildwebdeveloper-buildtest-sonar-pod-1c32w-j2qvp]
Executing command: "vncserver" "-kill" ":16" 
exit
Killing Xtigervnc process ID 67... success!
[Pipeline] // wrap
Post stage
[Pipeline] junit
Recording test results
No test report files were found. Configuration error?
Error when executing always post condition:
hudson.AbortException: No test report files were found. Configuration error?
	at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:154)
	at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:118)
	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3086)
	at hudson.remoting.UserRequest.perform(UserRequest.java:212)
	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
	at hudson.remoting.Request$2.run(Request.java:369)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:93)
	at java.lang.Thread.run(Unknown Source)
	Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from 10.131.12.1/10.131.12.1:47578
		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1741)
		at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
		at hudson.remoting.Channel.call(Channel.java:955)
		at hudson.FilePath.act(FilePath.java:1072)
		at hudson.FilePath.act(FilePath.java:1061)
		at hudson.tasks.junit.JUnitParser.parseResult(JUnitParser.java:114)
		at hudson.tasks.junit.JUnitResultArchiver.parse(JUnitResultArchiver.java:137)
		at hudson.tasks.junit.JUnitResultArchiver.parseAndAttach(JUnitResultArchiver.java:167)
		at hudson.tasks.junit.pipeline.JUnitResultsStepExecution.run(JUnitResultsStepExecution.java:50)
		at hudson.tasks.junit.pipeline.JUnitResultsStepExecution.run(JUnitResultsStepExecution.java:23)
		at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
		at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
		at java.util.concurrent.FutureTask.run(FutureTask.java:266)
		at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
		at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
		at java.lang.Thread.run(Thread.java:748)

[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Sonar analysis)
Stage "Sonar analysis" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // podTemplate
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
Finished: FAILURE