When I submitted WordCountTopology to the Heron Cluster that deployed with Aurora scheduler and Zookeeper, this error happened as follows:
yitian#heron01:~$ heron submit aurora/yitian/devel --config-path ~/.heron/conf ~/.heron/examples/heron-api-examples.jar com.twitter.heron.examples.api.WordCountTopology WordCountTopology --deploy-deactivated
[2018-06-04 00:55:54 +0000] [INFO]: Using cluster definition in /home/yitian/.heron/conf/aurora
[2018-06-04 00:55:54 +0000] [INFO]: Launching topology: 'WordCountTopology'
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/yitian/.heron/lib/uploader/heron-dlog-uploader.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/yitian/.heron/lib/statemgr/heron-zookeeper-statemgr.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.JDK14LoggerFactory]
[2018-06-04 00:55:55 -0700] [INFO] com.twitter.heron.statemgr.zookeeper.curator.CuratorStateManager: Starting Curator client connecting to: heron01:2181
[2018-06-04 00:55:55 -0700] [INFO] org.apache.curator.framework.imps.CuratorFrameworkImpl: Starting
[2018-06-04 00:55:55 -0700] [INFO] org.apache.zookeeper.ZooKeeper: Client environment:zookeeper.version=3.4.6-1569965, built on 02/20/2014 09:09 GMT
[2018-06-04 00:55:55 -0700] [INFO] org.apache.zookeeper.ZooKeeper: Client environment:host.name=heron01
[2018-06-04 00:55:55 -0700] [INFO] org.apache.zookeeper.ZooKeeper: Client environment:java.version=1.8.0_151
[2018-06-04 00:55:55 -0700] [INFO] org.apache.zookeeper.ZooKeeper: Client environment:java.vendor=Oracle Corporation
[2018-06-04 00:55:55 -0700] [INFO] org.apache.zookeeper.ZooKeeper: Client environment:java.home=/usr/java/jdk1.8.0_151/jre
[2018-06-04 00:55:55 -0700] [INFO] org.apache.zookeeper.ZooKeeper: Client environment:java.class.path=:/home/yitian/.heron/lib/scheduler/heron-scheduler.jar:/home/yitian/.heron/lib/scheduler/heron-binpacking-packing.jar:/home/yitian/.heron/lib/scheduler/heron-yarn-scheduler.jar:/home/yitian/.heron/lib/scheduler/heron-slurm-scheduler.jar:/home/yitian/.heron/lib/scheduler/heron-mesos-scheduler.jar:/home/yitian/.heron/lib/scheduler/heron-marathon-scheduler.jar:/home/yitian/.heron/lib/scheduler/heron-kubernetes-scheduler.jar:/home/yitian/.heron/lib/scheduler/heron-roundrobin-packing.jar:/home/yitian/.heron/lib/scheduler/heron-local-scheduler.jar:/home/yitian/.heron/lib/scheduler/heron-aurora-scheduler.jar:/home/yitian/.heron/lib/uploader/heron-localfs-uploader.jar:/home/yitian/.heron/lib/uploader/heron-hdfs-uploader.jar:/home/yitian/.heron/lib/uploader/heron-null-uploader.jar:/home/yitian/.heron/lib/uploader/heron-scp-uploader.jar:/home/yitian/.heron/lib/uploader/heron-s3-uploader.jar:/home/yitian/.heron/lib/uploader/heron-gcs-uploader.jar:/home/yitian/.heron/lib/uploader/heron-dlog-uploader.jar:/home/yitian/.heron/lib/statemgr/heron-localfs-statemgr.jar:/home/yitian/.heron/lib/statemgr/heron-zookeeper-statemgr.jar:/home/yitian/.heron/lib/packing/heron-binpacking-packing.jar:/home/yitian/.heron/lib/packing/heron-roundrobin-packing.jar
[2018-06-04 00:55:55 -0700] [INFO] org.apache.zookeeper.ZooKeeper: Client environment:java.library.path=/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
[2018-06-04 00:55:55 -0700] [INFO] org.apache.zookeeper.ZooKeeper: Client environment:java.io.tmpdir=/tmp
[2018-06-04 00:55:55 -0700] [INFO] org.apache.zookeeper.ZooKeeper: Client environment:java.compiler=<NA>
[2018-06-04 00:55:55 -0700] [INFO] org.apache.zookeeper.ZooKeeper: Client environment:os.name=Linux
[2018-06-04 00:55:55 -0700] [INFO] org.apache.zookeeper.ZooKeeper: Client environment:os.arch=amd64
[2018-06-04 00:55:55 -0700] [INFO] org.apache.zookeeper.ZooKeeper: Client environment:os.version=4.10.0-28-generic
[2018-06-04 00:55:55 -0700] [INFO] org.apache.zookeeper.ZooKeeper: Client environment:user.name=yitian
[2018-06-04 00:55:55 -0700] [INFO] org.apache.zookeeper.ZooKeeper: Client environment:user.home=/home/yitian
[2018-06-04 00:55:55 -0700] [INFO] org.apache.zookeeper.ZooKeeper: Client environment:user.dir=/home/yitian
[2018-06-04 00:55:55 -0700] [INFO] org.apache.zookeeper.ZooKeeper: Initiating client connection, connectString=heron01:2181 sessionTimeout=30000 watcher=org.apache.curator.ConnectionState#2a17b7b6
[2018-06-04 00:55:55 -0700] [INFO] org.apache.zookeeper.ClientCnxn: Opening socket connection to server heron01/218.195.241.174:2181. Will not attempt to authenticate using SASL (unknown error)
[2018-06-04 00:55:55 -0700] [INFO] org.apache.zookeeper.ClientCnxn: Socket connection established to heron01/218.195.241.174:2181, initiating session
[2018-06-04 00:55:55 -0700] [INFO] org.apache.zookeeper.ClientCnxn: Session establishment complete on server heron01/218.195.241.174:2181, sessionid = 0x163c9cb80580003, negotiated timeout = 30000
[2018-06-04 00:55:55 -0700] [INFO] org.apache.curator.framework.state.ConnectionStateManager: State change: CONNECTED
[2018-06-04 00:55:55 -0700] [INFO] com.twitter.heron.statemgr.zookeeper.curator.CuratorStateManager: Directory tree initialized.
[2018-06-04 00:55:55 -0700] [INFO] com.twitter.heron.statemgr.zookeeper.curator.CuratorStateManager: Checking existence of path: /heron/topologies/WordCountTopology
[2018-06-04 00:55:58 -0700] [INFO] com.twitter.heron.uploader.hdfs.HdfsUploader: Target topology file already exists at '/heron/topologies/aurora/WordCountTopology-yitian-tag-0--1244338252177277003.tar.gz'. Overwriting it now
[2018-06-04 00:55:58 -0700] [INFO] com.twitter.heron.uploader.hdfs.HdfsUploader: Uploading topology package at '/tmp/tmpXlYukj/topology.tar.gz' to target HDFS at '/heron/topologies/aurora/WordCountTopology-yitian-tag-0--1244338252177277003.tar.gz'
[2018-06-04 00:56:02 -0700] [INFO] com.twitter.heron.statemgr.zookeeper.curator.CuratorStateManager: Created node for path: /heron/topologies/WordCountTopology
[2018-06-04 00:56:02 -0700] [WARNING] com.twitter.heron.spi.statemgr.SchedulerStateManagerAdaptor: Exception processing future: java.lang.RuntimeException: Could not createNode:
[2018-06-04 00:56:02 -0700] [INFO] com.twitter.heron.statemgr.zookeeper.curator.CuratorStateManager: Deleted node for path: /heron/topologies/WordCountTopology
18/06/04 00:56:05 INFO fs.TrashPolicyDefault: Namenode trash configuration: Deletion interval = 0 minutes, Emptier interval = 0 minutes.
Deleted /heron/topologies/aurora/WordCountTopology-yitian-tag-0--1244338252177277003.tar.gz
[2018-06-04 00:56:05 -0700] [INFO] com.twitter.heron.statemgr.zookeeper.curator.CuratorStateManager: Closing the CuratorClient to: heron01:2181
[2018-06-04 00:56:05 -0700] [INFO] org.apache.zookeeper.ZooKeeper: Session: 0x163c9cb80580003 closed
[2018-06-04 00:56:05 -0700] [INFO] org.apache.zookeeper.ClientCnxn: EventThread shut down
[2018-06-04 00:56:05 -0700] [INFO] com.twitter.heron.statemgr.zookeeper.curator.CuratorStateManager: Closing the tunnel processes
[2018-06-04 00:56:05 +0000] [ERROR]: Failed to set packing plan for topology 'WordCountTopology'
[2018-06-04 00:56:05 +0000] [ERROR]: Failed to launch topology 'WordCountTopology'
What's wrong with it? Thanks for your help.
From the logs:
[2018-06-04 00:56:02 -0700] [INFO] com.twitter.heron.statemgr.zookeeper.curator.CuratorStateManager: Created node for path: /heron/topologies/WordCountTopology
[2018-06-04 00:56:02 -0700] [WARNING] com.twitter.heron.spi.statemgr.SchedulerStateManagerAdaptor: Exception processing future: java.lang.RuntimeException: Could not createNode:
Heron is able to connect to ZK and check node successfully, so ZK cluster seems to be running and readable. However it seems that for some reason curator failed to create the node in ZK: /heron/topologies/WordCountTopology
Heron topology keeps its running data in ZK so it cant start if it failed to create the key nodes. You need to find out the cause for the ZK failure (permission?) and solve it.
Related
I'm trying to build Syndesis with the following command:
syndesis build -m s2i -i -d -f -c --clean-cache
But after building most of the projects, I got a final error:
[ERROR] Failed to execute goal
io.fabric8:fabric8-maven-plugin:3.5.38:build (exec) on project s2i:
Failed to execute the build: Unable to build the image using the
OpenShift build service: Failure executing: POST at:
https://192.168.42.58:8443/apis/build.openshift.io/v1/namespaces/syndesis/buildconfigs/syndesis-s2i-s2i/instantiatebinary?commit=.
Message: Timeout: request did not complete within 1m0s. Received
status: Status(apiVersion=meta/v1, code=504,
details=StatusDetails(causes=[], group=null, kind=null, name=null,
retryAfterSeconds=null, uid=null, additionalProperties={}),
kind=Status, message=Timeout: request did not complete within 1m0s,
metadata=ListMeta(resourceVersion=null, selfLink=null,
additionalProperties={}), reason=Timeout, status=Failure,
additionalProperties={}). -> [Help 1]
Full stacktrace:
Going to cache locally Syndesis 1.8-SNAPSHOT dependencies.
Installing Syndesis 1.8-SNAPSHOT dependencies to target directory...
This installation won't use a camel snapshot version
[INFO]
[INFO] --- fabric8-maven-plugin:3.5.38:build (exec) # s2i ---
[INFO] F8: Using OpenShift build with strategy Docker
[INFO] F8: Generators:
[INFO] F8: - spring-boot
[INFO] F8: - wildfly-swarm
[INFO] F8: - karaf
[INFO] F8: - vertx
[INFO] F8: - java-exec
[INFO] F8: - webapp
[INFO] Building tar: /var/git/syndesis/app/s2i/target/docker/syndesis/syndesis-s2i/latest/tmp/docker-build.tar
[INFO] F8: [syndesis/syndesis-s2i:latest]: Created docker source tar /var/git/syndesis/app/s2i/target/docker/syndesis/syndesis-s2i/latest/tmp/docker-build.tar
[INFO] F8: Updating BuildServiceConfig syndesis-s2i-s2i for Docker strategy
[INFO] F8: Adding to ImageStream syndesis-s2i
[INFO] F8: Enrichers:
[INFO] F8: - fmp-name
[INFO] F8: - fmp-controller
[INFO] F8: - fmp-service
[INFO] F8: - fmp-image
[INFO] F8: - fmp-portname
[INFO] F8: - fmp-ianaservice
[INFO] F8: - fmp-project
[INFO] F8: - fmp-dependency
[INFO] F8: - fmp-pod-annotations
[INFO] F8: - fmp-git
[INFO] F8: - fmp-debug
[INFO] F8: - fmp-merge
[INFO] F8: - fmp-remove-build-annotations
[INFO] F8: - fmp-volume-permission
[INFO] F8: - f8-cd
[INFO] F8: - f8-cd-doc-link
[INFO] F8: - f8-cd-grafana-link
[INFO] F8: - f8-icon
[INFO] F8: - f8-expose
[INFO] F8: - fmp-openshift-route
[INFO] F8: - spring-boot-health-check
[INFO] F8: - wildfly-swarm-health-check
[INFO] F8: - karaf-health-check
[INFO] F8: - vertx-health-check
[INFO] F8: - docker-health-check
[INFO] F8: - f8-prometheus
[INFO] F8: - f8-maven-scm
[INFO] F8: - f8-maven-issue-mgmt
[INFO] F8: - f8-watch
[INFO] F8: - fmp-revision-history
[INFO] F8: - fmp-docker-registry-secret
[INFO] F8: Starting Build syndesis-s2i-s2i
[ERROR] F8: OpenShift Error: [504 Failure] [Timeout] Timeout: request did not complete within 1m0s
[ERROR] F8: Failed to execute the build [Unable to build the image using the OpenShift build service]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:31 min
[INFO] Finished at: 2019-08-05T10:29:58+02:00
[INFO] Final Memory: 39M/130M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal io.fabric8:fabric8-maven-plugin:3.5.38:build (exec) on project s2i: Failed to execute the build: Unable to build the image using the OpenShift build service: Failure executing: POST at: https://192.168.42.58:8443/apis/build.openshift.io/v1/namespaces/syndesis/buildconfigs/syndesis-s2i-s2i/instantiatebinary?commit=. Message: Timeout: request did not complete within 1m0s. Received status: Status(apiVersion=meta/v1, code=504, details=StatusDetails(causes=[], group=null, kind=null, name=null, retryAfterSeconds=null, uid=null, additionalProperties={}), kind=Status, message=Timeout: request did not complete within 1m0s, metadata=ListMeta(resourceVersion=null, selfLink=null, additionalProperties={}), reason=Timeout, status=Failure, additionalProperties={}). -> [Help 1]
[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/MojoExecutionException
ERROR: Last command exited with 1
Any hints where this may come from?
This usually happens when the is either really slow to download artifacts from the Internet or can't download them. There should be an error pointing in that direction in the build pod log. Sometimes this is just an client side timeout, meaning that the build is still ongoing and it will finish eventually. If that's so, the image layers used in the build should be cached and the next build should take less time.
I am having trouble running SonarQube Scanner. Everything seems to be configured correctly according to the build log. However, when I click on the link to view my report, the report show 0 technical debt and 0 issues. I know there are errors in the javascript, but the scan doesn't seem to catch them. I think I may be missing something in the configuration, but according to the log, everything went well.
I am attaching the log and a jpeg of the report page.
report jpeg
[INFO] --- sonar-maven-plugin:3.0.2:sonar (default-cli) # myproject ---
[INFO] User cache: /home/ltbldmgt/.sonar/cache
[INFO] SonarQube version: 4.5.5
[INFO] Default locale: "en_US", source code encoding: "UTF-8"
[INFO] [14:03:15.487] Load global referentials...
[INFO] [14:03:16.286] Load global referentials done: 802 ms
[INFO] [14:03:16.304] User cache: /home/ltbldmgt/.sonar/cache
[INFO] [14:03:16.316] Install plugins
[INFO] [14:03:16.490] Install JDBC driver
[INFO] [14:03:16.511] Create JDBC datasource for jdbc:postgresql://lt00nxam00f5000.opr.mysite.org/sonar
[INFO] [14:03:18.358] Initializing Hibernate
[INFO] [14:03:20.687] Load project referentials...
[INFO] [14:03:21.343] Load project referentials done: 656 ms
[INFO] [14:03:21.343] Load project settings
[INFO] [14:03:21.807] Loading technical debt model...
[INFO] [14:03:21.831] Loading technical debt model done: 24 ms
[INFO] [14:03:21.835] Apply project exclusions
[INFO] [14:03:22.184] ------------- Scan myproject
[INFO] [14:03:22.188] Load module settings
[INFO] [14:03:22.678] Language is forced to js
[INFO] [14:03:22.680] Loading rules...
[INFO] [14:03:23.696] Loading rules done: 1016 ms
[INFO] [14:03:23.733] Configure Maven plugins
[INFO] [14:03:23.923] Compare to previous analysis (2016-09-01)
[INFO] [14:03:23.940] Compare over 30 days (2016-08-02, analysis of 2016-08-01 13:50:56.779)
[INFO] [14:03:23.942] No quality gate is configured.
[WARN] [14:03:25.039] Accessing the filesystem before the Sensor phase is deprecated and will not be supported in the future. Please update your plugin.
[INFO] [14:03:25.039] Index files
[INFO] [14:03:25.150] 0 files indexed
[INFO] [14:03:25.156] Base dir: /opt/ltsapps/jenkins/workspace/myproject
[INFO] [14:03:25.156] Working dir: /opt/ltsapps/jenkins/workspace/myproject/src
[INFO] [14:03:25.156] Source paths: pom.xml
[INFO] [14:03:25.157] Binary dirs: target/classes
[INFO] [14:03:25.157] Source encoding: UTF-8, default locale: en_US
[INFO] [14:03:25.157] Index files
[INFO] [14:03:25.212] 0 files indexed
[INFO] [14:03:25.213] Quality profile for js: Sonar way
[INFO] [14:03:25.244] Sensor QProfileSensor...
[INFO] [14:03:25.268] Sensor QProfileSensor done: 24 ms
[INFO] [14:03:25.268] Sensor ScmActivitySensor...
[INFO] [14:03:25.268] Trying to guess scm provider from project layout...
[INFO] [14:03:25.268] Found SCM type: svn
[INFO] [14:03:25.270] Retrieve SCM blame information with encoding UTF-8...
[INFO] [14:03:25.271] Retrieve SCM blame information with encoding UTF-8 done: 1 ms
[INFO] [14:03:25.271] Sensor ScmActivitySensor done: 3 ms
[INFO] [14:03:25.271] Sensor InitialOpenIssuesSensor...
[INFO] [14:03:25.282] Sensor InitialOpenIssuesSensor done: 11 ms
[INFO] [14:03:25.282] Sensor ProjectLinksSensor...
[INFO] [14:03:25.294] Sensor ProjectLinksSensor done: 12 ms
[INFO] [14:03:25.294] Sensor VersionEventsSensor...
[INFO] [14:03:25.339] Sensor VersionEventsSensor done: 45 ms
[INFO] [14:03:25.339] Sensor FileHashSensor...
[INFO] [14:03:25.340] Sensor FileHashSensor done: 1 ms
[INFO] [14:03:25.340] Sensor Maven dependencies...
[INFO] [14:03:25.409] Sensor Maven dependencies done: 69 ms
[INFO] [14:03:25.411] Sensor CPD Sensor (wrapped)...
[INFO] [14:03:25.412] DefaultCpdEngine is used for js
[INFO] [14:03:25.412] Sensor CPD Sensor (wrapped) done: 1 ms
[INFO] [14:03:25.890] Execute decorators...
[INFO] [14:03:25.944] Saving metrics for: myproject project.
[INFO] [14:03:25.974] Metrics saved successfully.
[INFO] [14:03:26.260] Store results in database
[INFO] [14:03:26.372] ANALYSIS SUCCESSFUL, you can browse http://lt00nxam00f5000.opr.mysite.org/sonar/dashboard/index/myproject
[INFO] [14:03:26.759] Executing post-job class org.sonar.plugins.core.issue.notification.SendIssueNotificationsPostJob
[INFO] [14:03:26.760] Executing post-job class org.sonar.plugins.core.batch.IndexProjectPostJob
[INFO] [14:03:26.780] Executing post-job class org.sonar.plugins.dbcleaner.ProjectPurgePostJob
[INFO] [14:03:26.803] -> Keep one snapshot per day between 2016-08-04 and 2016-08-31
[INFO] [14:03:26.809] -> Keep one snapshot per week between 2015-09-03 and 2016-08-04
[INFO] [14:03:26.816] -> Keep one snapshot per month between 2011-09-08 and 2015-09-03
[INFO] [14:03:26.825] -> Delete data prior to: 2011-09-08
[INFO] [14:03:26.833] -> Clean myproject [id=7000]
[INFO] [14:03:26.839] <- Clean snapshot 81696
[INFO] [14:03:26.889] Executing post-job class org.sonar.plugins.buildbreaker.AlertBreaker
[INFO] [14:03:26.900] Executing post-job class org.sonar.plugins.buildbreaker.ForbiddenConfigurationBreaker
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14.798 s
[INFO] Finished at: 2016-09-01T14:03:26-05:00
[INFO] Final Memory: 32M/1238M
[INFO] ------------------------------------------------------------------------
Sonar analysis completed: SUCCESS
Any ideas as to what I may be missing here?
Thank you!
I have been trying to configure mod_rest in my ejabberd(ver 15.0.4) server to connect it with http server(XAMPP) but after compiling and setting everything it won't get started and generates a crash reports.
mod_rest.erl is downloaded from:
https://github.com/processone/ejabberd-contrib/tree/master/mod_rest
crash.log
2015-06-23 19:41:44 =CRASH REPORT====
crasher:
initial call: ejabberd_http:init/2
pid: <0.455.0>
registered_name: []
exception throw: {{module_must_be_started_in_vhost,mod_rest,<<"localhost">>},[{mod_rest,try_get_option,3,[{file,"mod_rest.erl"},{line,107}]},{mod_rest,check_member_option,3,[{file,"mod_rest.erl"},{line,122}]},{mod_rest,process,2,[{file,"mod_rest.erl"},{line,51}]},{ejabberd_http,process,5,[{file,"src/ejabberd_http.erl"},{line,365}]},{ejabberd_http,process_request,1,[{file,"src/ejabberd_http.erl"},{line,449}]},{ejabberd_http,process_header,2,[{file,"src/ejabberd_http.erl"},{line,287}]},{ejabberd_http,parse_headers,1,[{file,"src/ejabberd_http.erl"},{line,203}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,237}]}]}
ancestors: [ejabberd_http_sup,ejabberd_sup,<0.37.0>]
messages: []
links: [<0.329.0>,#Port<0.3837>]
dictionary: []
trap_exit: false
status: running
heap_size: 1598
stack_size: 27
reductions: 839
neighbours:
2015-06-23 19:41:44 =SUPERVISOR REPORT====
Supervisor: {local,ejabberd_http_sup}
Context: child_terminated
Reason: {module_must_be_started_in_vhost,mod_rest,<<"localhost">>}
Offender: [{pid,<0.455.0>},{name,undefined},{mfargs,{ejabberd_http,start_link,undefined}},{restart_type,temporary},{shutdown,1000},{child_type,worker}]
error.log
2015-06-23 19:41:44.554 [error] <0.455.0> CRASH REPORT Process <0.455.0> with 0 neighbours crashed with reason: {module_must_be_started_in_vhost,mod_rest,<<"localhost">>} in mod_rest:try_get_option/3 line 107
2015-06-23 19:41:44.554 [error] <0.329.0> Supervisor ejabberd_http_sup had child undefined started with {ejabberd_http,start_link,undefined} at <0.455.0> exit with reason {module_must_be_started_in_vhost,mod_rest,<<"localhost">>} in context child_terminated
ejabberd.log
2015-06-23 19:40:41.941 [info] <0.7.0> Application lager started on node ejabberd#localhost
2015-06-23 19:40:41.958 [info] <0.7.0> Application crypto started on node ejabberd#localhost
2015-06-23 19:40:41.987 [info] <0.7.0> Application sasl started on node ejabberd#localhost
2015-06-23 19:40:41.996 [info] <0.7.0> Application asn1 started on node ejabberd#localhost
2015-06-23 19:40:41.996 [info] <0.7.0> Application public_key started on node ejabberd#localhost
2015-06-23 19:40:42.051 [info] <0.7.0> Application ssl started on node ejabberd#localhost
2015-06-23 19:40:42.071 [info] <0.7.0> Application p1_yaml started on node ejabberd#localhost
2015-06-23 19:40:42.084 [info] <0.7.0> Application p1_tls started on node ejabberd#localhost
2015-06-23 19:40:42.097 [info] <0.7.0> Application p1_xml started on node ejabberd#localhost
2015-06-23 19:40:42.124 [info] <0.7.0> Application p1_stringprep started on node ejabberd#localhost
2015-06-23 19:40:42.150 [info] <0.7.0> Application p1_zlib started on node ejabberd#localhost
2015-06-23 19:40:42.161 [info] <0.7.0> Application p1_cache_tab started on node ejabberd#localhost
2015-06-23 19:40:42.843 [info] <0.7.0> Application mnesia started on node ejabberd#localhost
2015-06-23 19:40:44.575 [info] <0.37.0>#cyrsasl_digest:start:57 FQDN used to check DIGEST-MD5 SASL authentication: my.msserver.com
2015-06-23 19:40:44.729 [info] <0.7.0> Application inets started on node ejabberd#localhost
2015-06-23 19:40:44.811 [info] <0.447.0>#ejabberd_listener:listen_tcp:194 Reusing listening port for 5285
2015-06-23 19:40:44.811 [info] <0.448.0>#ejabberd_listener:listen_tcp:194 Reusing listening port for 5222
2015-06-23 19:40:44.811 [info] <0.449.0>#ejabberd_listener:listen_tcp:194 Reusing listening port for 5269
2015-06-23 19:40:44.812 [info] <0.450.0>#ejabberd_listener:listen_tcp:194 Reusing listening port for 5280
2015-06-23 19:40:44.812 [info] <0.37.0>#ejabberd_app:start:71 ejabberd 15.04 is started in the node ejabberd#localhost
2015-06-23 19:40:44.812 [info] <0.7.0> Application ejabberd started on node ejabberd#localhost
2015-06-23 19:40:48.306 [info] <0.450.0>#ejabberd_listener:accept:304 (#Port<0.3810>) Accepted connection 127.0.0.1:54407 -> 127.0.0.1:5280
2015-06-23 19:40:48.322 [info] <0.454.0>#ejabberd_http:init:155 started: {gen_tcp,#Port<0.3810>}
2015-06-23 19:41:44.553 [info] <0.447.0>#ejabberd_listener:accept:304 (#Port<0.3837>) Accepted connection 127.0.0.1:54436 -> 127.0.0.1:5285
2015-06-23 19:41:44.553 [info] <0.455.0>#ejabberd_http:init:155 started: {gen_tcp,#Port<0.3837>}
2015-06-23 19:41:44.554 [error] <0.455.0> CRASH REPORT Process <0.455.0> with 0 neighbours crashed with reason: {module_must_be_started_in_vhost,mod_rest,<<"localhost">>} in mod_rest:try_get_option/3 line 107
2015-06-23 19:41:44.554 [error] <0.329.0> Supervisor ejabberd_http_sup had child undefined started with {ejabberd_http,start_link,undefined} at <0.455.0> exit with reason {module_must_be_started_in_vhost,mod_rest,<<"localhost">>} in context child_terminated
Configration settings used in yml :
mod_rest: []
-
port: 5285
module: ejabberd_http
request_handlers:
"/rest": mod_rest
I think it means you should also start the module from the modules section as well.
I have a Jenkins job which has 2 parts
Run eslint checks via maven and generate jslint.xml file.
Upload jslint.xml to sonar using the Jenkins sonarcube plugin.
Our build was working fine until suddenly it starts throwing the exception
[INFO]
[INFO] --- eslint-maven-plugin:0.1.6:eslint (default) # gal ---
[ERROR] /mnt/perm_storage/persistent/jenkinssolman_web/jenkins/jobs/com.sap.solman.graphical.component-official_branch_sp1-sonar/workspace/SMGC/src/main/webapp/ags_gal_app/Controllers/extendedEditorEventHandler.js 10:57 strict Missing "use strict" statement. (http://eslint.org/docs/rules/strict)
[ERROR] /mnt/perm_storage/persistent/jenkinssolman_web/jenkins/jobs/com.sap.solman.graphical.component-official_branch_sp1-sonar/workspace/SMGC/src/main/webapp/ags_gal_app/Controllers/extendedEditorEventHandler.js 13:5 no-underscore-dangle Unexpected dangling '_' in '_oExtendedEditor'. (http://eslint.org/docs/rules/no-underscore-dangle)
[ERROR] /mnt/perm_storage/persistent/jenkinssolman_web/jenkins/jobs/com.sap.solman.graphical.component-official_branch_sp1-sonar/workspace/SMGC/src/main/webapp/ags_gal_app/Controllers/extendedEditorEventHandler.js 14:5 no-underscore-dangle Unexpected dangling '_' in '_oApplicationToolbar'. (http://eslint.org/docs/rules/no-underscore-dangle)
[ERROR] /mnt/perm_storage/persistent/jenkinssolman_web/jenkins/jobs/com.sap.solman.graphical.component-official_branch_sp1-sonar/workspace/SMGC/src/main/webapp/ags_gal_app/Controllers/extendedEditorEventHandler.js 15:5 no-underscore-dangle Unexpected dangling '_' in '_oPaletteToolbar'. (http://eslint.org/docs/rules/no-underscore-dangle)
...
...
[ERROR] /mnt/perm_storage/persistent/jenkinssolman_web/jenkins/jobs/com.sap.solman.graphical.component-official_branch_sp1-sonar/workspace/SMGC/src/main/webapp/extensions/vc/solmanDiagramEditorExtension.js 4:0 global-strict Use the function form of "use strict". (http://eslint.org/docs/rules/global-strict)
[ERROR] /mnt/perm_storage/persistent/jenkinssolman_web/jenkins/jobs/com.sap.solman.graphical.component-official_branch_sp1-sonar/workspace/SMGC/src/main/webapp/extensions/vc/constants.js 2:26 strict Missing "use strict" statement. (http://eslint.org/docs/rules/strict)
[ERROR] /mnt/perm_storage/persistent/jenkinssolman_web/jenkins/jobs/com.sap.solman.graphical.component-official_branch_sp1-sonar/workspace/SMGC/src/main/webapp/utilities/globalUtilities.js 6:45 strict Missing "use strict" statement. (http://eslint.org/docs/rules/strict)
[ERROR] /mnt/perm_storage/persistent/jenkinssolman_web/jenkins/jobs/com.sap.solman.graphical.component-official_branch_sp1-sonar/workspace/SMGC/src/main/webapp/utilities/globalUtilities.js 16:5 no-underscore-dangle Unexpected dangling '_' in '_sLocale'. (http://eslint.org/docs/rules/no-underscore-dangle)
[ERROR] /mnt/perm_storage/persistent/jenkinssolman_web/jenkins/jobs/com.sap.solman.graphical.component-official_branch_sp1-sonar/workspace/SMGC/src/main/webapp/utilities/globalUtilities.js 23:5 no-underscore-dangle Unexpected dangling '_' in '_oBundle'. (http://eslint.org/docs/rules/no-underscore-dangle)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 46.050s
[INFO] Finished at: Mon May 04 15:35:10 UTC 2015
[INFO] Final Memory: 22M/349M
[INFO] ------------------------------------------------------------------------
2015-05-04 15:35:11.367:INFO:oejsl.ELContextCleaner:javax.el.BeanELResolver purged
2015-05-04 15:35:11.367:INFO:oejsh.ContextHandler:stopped o.m.j.p.JettyWebAppContext{/,[file:/mnt/perm_storage/persistent/jenkinssolman_web/jenkins/jobs/com.sap.solman.graphical.component-official_branch_sp1-sonar/workspace/SMGC/src/, jar:file:/usr/sap/ljs/persistentfs/.m2/repository/com/sap/ui5/resource/1.26.1/resource-1.26.1.jar!/META-INF/resources/, jar:file:/usr/sap/ljs/persistentfs/.m2/repository/com/sap/ui5/core/1.26.1/core-1.26.1.jar!/META-INF/resources/, jar:file:/usr/sap/ljs/persistentfs/.m2/repository/com/sap/ui5/commons/1.26.1/commons-1.26.1.jar!/META-INF/resources/, jar:file:/usr/sap/ljs/persistentfs/.m2/repository/com/sap/ui5/layout/1.26.1/layout-1.26.1.jar!/META-INF/resources/, jar:file:/usr/sap/ljs/persistentfs/.m2/repository/com/sap/ui5/unified/1.26.1/unified-1.26.1.jar!/META-INF/resources/, jar:file:/usr/sap/ljs/persistentfs/.m2/repository/com/sap/ui5/ux3/1.26.1/ux3-1.26.1.jar!/META-INF/resources/, jar:file:/usr/sap/ljs/persistentfs/.m2/repository/com/sap/ui5/table/1.26.1/table-1.26.1.jar!/META-INF/resources/, jar:file:/usr/sap/ljs/persistentfs/.m2/repository/com/sap/ui5/visualization/1.26.1/visualization-1.26.1.jar!/META-INF/resources/, jar:file:/usr/sap/ljs/persistentfs/.m2/repository/com/sap/ui5/themelib_sap_ux/1.26.1/themelib_sap_ux-1.26.1.jar!/META-INF/resources/, jar:file:/usr/sap/ljs/persistentfs/.m2/repository/com/sap/ui5/themelib_sap_platinum/1.26.1/themelib_sap_platinum-1.26.1.jar!/META-INF/resources/, jar:file:/usr/sap/ljs/persistentfs/.m2/repository/com/sap/ui5/mobile/1.26.1/mobile-1.26.1.jar!/META-INF/resources/, jar:file:/usr/sap/ljs/persistentfs/.m2/repository/com/sap/ui5/themelib_sap_goldreflection/1.26.1/themelib_sap_goldreflection-1.26.1.jar!/META-INF/resources/, jar:file:/usr/sap/ljs/persistentfs/.m2/repository/com/sap/ui5/themelib_sap_bluecrystal/1.26.1/themelib_sap_bluecrystal-1.26.1.jar!/META-INF/resources/]},file:/mnt/perm_storage/persistent/jenkinssolman_web/jenkins/jobs/com.sap.solman.graphical.component-official_branch_sp1-sonar/workspace/SMGC/src/
[workspace] $ mvn -f /usr/sap/ljs/persistentfs/jenkins/jobs/com.sap.solman.graphical.component-official_branch_sp1-sonar/workspace/SMGC/pom.xml -e -B sonar:sonar -Dsonar.surefire.reportsPath=target/jslint.xml -Dsonar.profile=ESLint_Fiori -Dsonar.javascript.jslint.reportPath=target/jslint.xml -Dsonar.profile=ESLint_Fiori -Dsonar.jdbc.url=jdbc:mysql://ldisonarci.wdf.sap.corp:3306/sonar?useUnicode=true&characterEncoding=utf8 ******** ******** -Dsonar.host.url=http://ldisonarci.wdf.sap.corp:8080/sonar
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building gal 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0
[INFO]
[INFO] --- sonar-maven-plugin:2.6:sonar (default-cli) # gal ---
[INFO] SonarQube version: 4.5.1
INFO: Default locale: "en_US", source code encoding: "UTF-8"
INFO: Work directory: /usr/sap/ljs/persistentfs/jenkins/jobs/com.sap.solman.graphical.component-official_branch_sp1-sonar/workspace/SMGC/target/sonar
INFO: SonarQube Server 4.5.1
[INFO] [15:35:19.185] Load global referentials...
[INFO] [15:35:19.316] Load global referentials done: 133 ms
[INFO] [15:35:19.334] User cache: /usr/sap/ljs/home/.sonar/cache
[INFO] [15:35:19.348] Install plugins
[INFO] [15:35:19.496] Install JDBC driver
[INFO] [15:35:19.504] Create JDBC datasource for jdbc:mysql://ldisonarci.wdf.sap.corp:3306/sonar?useUnicode=true&characterEncoding=utf8
[INFO] [15:35:21.177] Initializing Hibernate
[INFO] [15:35:23.421] Load project referentials...
[WARN] [15:35:23.422] Ability to set quality profile from command line using 'sonar.profile' is deprecated and will be dropped in a future SonarQube version. Please configure quality profile used by your project on SonarQube server.
[INFO] [15:35:23.745] Load project referentials done: 324 ms
[INFO] [15:35:23.745] Load project settings
[INFO] [15:35:24.064] Loading technical debt model...
[INFO] [15:35:24.093] Loading technical debt model done: 29 ms
[INFO] [15:35:24.100] Apply project exclusions
[WARN] [15:35:24.101] 'sonar.includedModules' property is deprecated since version 4.3 and should not be used anymore.
[INFO] [15:35:24.424] ------------- Scan gal
[INFO] [15:35:24.429] Load module settings
[INFO] [15:35:26.250] Loading rules...
[INFO] [15:35:26.582] Loading rules done: 332 ms
[INFO] [15:35:26.603] Configure Maven plugins
[INFO] [15:35:26.771] Compare to previous analysis (2015-05-04)
[INFO] [15:35:26.784] Compare over 30 days (2015-04-04, analysis of 2015-04-07 07:45:54.0)
[INFO] [15:35:26.795] Compare to previous version (2015-01-22)
[INFO] [15:35:26.796] No quality gate is configured.
[INFO] [15:35:26.984] Initializer FindbugsMavenInitializer...
[INFO] [15:35:26.986] Initializer FindbugsMavenInitializer done: 2 ms
[INFO] [15:35:26.986] Initializer MqrInitializer...
[INFO] [15:35:26.986] Skipping non-aggregator project
[INFO] [15:35:26.986] Initializer MqrInitializer done: 0 ms
[INFO] [15:35:26.986] Base dir: /usr/sap/ljs/persistentfs/jenkins/jobs/com.sap.solman.graphical.component-official_branch_sp1-sonar/workspace/SMGC
[INFO] [15:35:26.986] Working dir: /usr/sap/ljs/persistentfs/jenkins/jobs/com.sap.solman.graphical.component-official_branch_sp1-sonar/workspace/SMGC/target/sonar
[INFO] [15:35:26.987] Source paths: src/main/webapp, pom.xml
[INFO] [15:35:26.987] Test paths: src/test/java
[INFO] [15:35:26.987] Binary dirs: target/classes
[INFO] [15:35:26.987] Source encoding: UTF-8, default locale: en_US
[INFO] [15:35:26.987] Index files
[INFO] [15:35:28.386] 414 files indexed
[INFO] [15:35:42.885] Quality profile for java: SAPDefaultProfile_1_3_10
[INFO] [15:35:42.885] Quality profile for js#sap: ESLint_Fiori
[INFO] [15:35:42.885] Quality profile for mqr: ESLint_Fiori
[INFO] [15:35:43.052] Sensor JavaSquidSensor...
[INFO] [15:35:43.414] Java Main Files AST scan...
[INFO] [15:35:43.417] 0 source files to be analyzed
[INFO] [15:35:43.418] Java Main Files AST scan done: 4 ms
[INFO] [15:35:43.418] 0/0 source files analyzed
[INFO] [15:35:43.421] Java bytecode scan...
[INFO] [15:35:43.531] Java bytecode scan done: 110 ms
[INFO] [15:35:43.531] Java Test Files AST scan...
[INFO] [15:35:43.531] 71 source files to be analyzed
[INFO] [15:35:44.546] Java Test Files AST scan done: 1015 ms
[INFO] [15:35:44.546] 71/71 source files analyzed
[INFO] [15:35:44.551] Package design analysis...
[INFO] [15:35:44.565] Package design analysis done: 13 ms
[INFO] [15:35:44.573] Sensor JavaSquidSensor done: 1521 ms
[INFO] [15:35:44.574] Sensor QProfileSensor...
[INFO] [15:35:44.577] Sensor QProfileSensor done: 3 ms
[INFO] [15:35:44.577] Sensor CoverageSensor...
[INFO] [15:35:44.577] Sensor CoverageSensor done: 0 ms
[INFO] [15:35:44.577] Sensor LintSensor...
[INFO] [15:35:44.578] parsing /usr/sap/ljs/persistentfs/jenkins/jobs/com.sap.solman.graphical.component-official_branch_sp1-sonar/workspace/SMGC/target/jslint.xml
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 31.675s
[INFO] Finished at: Mon May 04 15:35:44 UTC 2015
[INFO] Final Memory: 36M/320M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar (default-cli) on project gal: Duplicate source for resource: org.sonar.api.resources.File#60ba6a62[key=src/main/webapp/ags_gal_app/Controllers/extendedEditorEventHandler.js,deprecatedKey=src/main/webapp/ags_gal_app/Controllers/extendedEditorEventHandler.js,path=src/main/webapp/ags_gal_app/Controllers/extendedEditorEventHandler.js,dir=src/main/webapp/ags_gal_app/Controllers,filename=extendedEditorEventHandler.js,language=JavaScript # SAP] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar (default-cli) on project gal: Duplicate source for resource: org.sonar.api.resources.File#60ba6a62[key=src/main/webapp/ags_gal_app/Controllers/extendedEditorEventHandler.js,deprecatedKey=src/main/webapp/ags_gal_app/Controllers/extendedEditorEventHandler.js,path=src/main/webapp/ags_gal_app/Controllers/extendedEditorEventHandler.js,dir=src/main/webapp/ags_gal_app/Controllers,filename=extendedEditorEventHandler.js,language=JavaScript # SAP]
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
The error occurs when i try to parse the jslint.xml file.
For this i added the properties "-Dsonar.javascript.jslint.reportPath=target/jslint.xml" in the Addition Properties field in the Jenkins plugin.
If I remove it the jobs will work but the file will not be uploaded.
Any idea what could cause this problem?
I have this weird situation while analyzing a java 1.7 project with SonarQube 4.2 through Jenkins plugin. Everything goes fine but sonar shows no issues after analysis.
If I run the same project analysis on local sonarqube, I get the issues.
I don't know where to look. Any ideas are welcome.
Analysis log below:
[INFO] --- sonar-maven-plugin:2.2:sonar (default-cli) # ProjectName ---
[INFO] SonarQube version: 4.2
INFO: Default locale: "en_US", source code encoding: "UTF-8"
INFO: Work directory: /home/user/apps/jenkins/.jenkins/workspace/ProjectName/target/sonar
INFO: SonarQube Server 4.2
[INFO] [09:04:05.526] Load batch settings
[INFO] [09:04:05.900] User cache: /home/user/apps/jenkins/.sonar/cache
[INFO] [09:04:05.910] Install plugins
[INFO] [09:04:06.335] Install JDBC driver
[INFO] [09:04:06.351] Create JDBC datasource for jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8
[INFO] [09:04:09.686] Initializing Hibernate
[INFO] [09:04:15.289] Load project settings
[INFO] [09:04:15.480] Apply project exclusions
[INFO] [09:04:15.961] ------------- Scan ProjectName
[INFO] [09:04:15.972] Load module settings
[INFO] [09:04:16.623] Language is forced to java
[INFO] [09:04:16.646] Loading technical debt model...
[INFO] [09:04:18.183] Loading technical debt model done: 1538 ms
[INFO] [09:04:18.214] Configure Maven plugins
[INFO] [09:04:18.827] Compare to previous analysis (2014-05-23)
[INFO] [09:04:18.889] Compare over 30 days (2014-04-23, analysis of 2014-05-22 22:24:26.0)
[INFO] [09:04:19.348] Initializer FindbugsMavenInitializer...
[INFO] [09:04:19.362] Initializer FindbugsMavenInitializer done: 14 ms
[INFO] [09:04:19.362] Base dir: /home/user/apps/jenkins/.jenkins/workspace/ProjectName
[INFO] [09:04:19.363] Working dir: /home/user/apps/jenkins/.jenkins/workspace/ProjectName/target/sonar
[INFO] [09:04:19.363] Source dirs: /home/user/apps/jenkins/.jenkins/workspace/ProjectName/src/main/java
[INFO] [09:04:19.363] Binary dirs: /home/user/apps/jenkins/.jenkins/workspace/ProjectName/target/classes
[INFO] [09:04:19.364] Source encoding: UTF-8, default locale: en_US
[INFO] [09:04:19.364] Index files
[INFO] [09:04:22.665] 377 files indexed
[INFO] [09:04:42.007] Quality profile for java: Sonar way with Findbugs CompanyName
[INFO] [09:04:42.350] JaCoCo report not found.
[INFO] [09:04:42.351] JaCoCo IT report not found.
[INFO] [09:04:42.353] JaCoCo reports not found.
[INFO] [09:04:42.647] Sensor JavaSquidSensor...
[INFO] [09:04:42.917] Java Main Files AST scan...
[INFO] [09:04:42.928] 377 source files to be analyzed
[INFO] [09:04:52.932] 109/377 files analyzed, current is /home/user/apps/jenkins/.jenkins/workspace/ProjectName/src/main/java/com/abc/Location.java
[INFO] [09:05:02.934] 257/377 files analyzed, current is /home/user/apps/jenkins/.jenkins/workspace/ProjectName/src/main/java/com/abc/Product.java
[INFO] [09:05:12.934] 362/377 files analyzed, current is /home/user/apps/jenkins/.jenkins/workspace/ProjectName/src/main/java/com/abc/Listener.java
[INFO] [09:05:13.834] 377/377 source files analyzed
[INFO] [09:05:14.138] Java Main Files AST scan done: 31221 ms
[INFO] [09:05:14.166] Java bytecode scan...
[WARN] [09:05:16.194] Class 'java/nio/file/Paths' is not accessible through the ClassLoader.
[WARN] [09:05:16.196] Class 'java/nio/file/Files' is not accessible through the ClassLoader.
[WARN] [09:05:16.455] Class 'java/nio/file/Paths' is not accessible through the ClassLoader.
[WARN] [09:05:16.456] Class 'java/nio/file/Files' is not accessible through the ClassLoader.
[WARN] [09:05:16.983] Class 'java/nio/file/Paths' is not accessible through the ClassLoader.
[WARN] [09:05:16.984] Class 'java/nio/file/Files' is not accessible through the ClassLoader.
[WARN] [09:05:17.058] Class 'java/nio/file/Paths' is not accessible through the ClassLoader.
[WARN] [09:05:17.059] Class 'java/nio/file/Files' is not accessible through the ClassLoader.
[INFO] [09:05:17.543] Java bytecode scan done: 3376 ms
[INFO] [09:05:17.543] Java Test Files AST scan...
[INFO] [09:05:17.543] 0 source files to be analyzed
[INFO] [09:05:17.544] Java Test Files AST scan done: 1 ms
[INFO] [09:05:17.551] 0/0 source files analyzed
[INFO] [09:05:17.680] Package design analysis...
[INFO] [09:05:20.190] Package design analysis done: 2510 ms
[INFO] [09:05:21.947] Sensor JavaSquidSensor done: 39300 ms
[INFO] [09:05:21.948] Sensor Quality gate loader...
[INFO] [09:05:21.948] Sensor Quality gate loader done: 0 ms
[INFO] [09:05:21.948] Sensor QProfileSensor...
[INFO] [09:05:21.967] Sensor QProfileSensor done: 19 ms
[INFO] [09:05:21.968] Sensor SurefireSensor...
[INFO] [09:05:21.970] parsing /home/user/apps/jenkins/.jenkins/workspace/ProjectName/target/surefire-reports
[WARN] [09:05:21.970] Reports path not found: /home/user/apps/jenkins/.jenkins/workspace/ProjectName/target/surefire-reports
[INFO] [09:05:21.971] Sensor SurefireSensor done: 3 ms
[INFO] [09:05:21.972] Sensor CpdSensor...
[INFO] [09:05:21.972] SonarEngine is used for java
[INFO] [09:05:22.016] Cross-project analysis disabled
[INFO] [09:05:28.600] Sensor CpdSensor done: 6628 ms
[INFO] [09:05:28.600] Sensor InitialOpenIssuesSensor...
[INFO] [09:05:28.620] Sensor InitialOpenIssuesSensor done: 20 ms
[INFO] [09:05:28.620] Sensor ProfileEventsSensor...
[INFO] [09:05:28.681] Sensor ProfileEventsSensor done: 61 ms
[INFO] [09:05:28.681] Sensor ProjectLinksSensor...
[INFO] [09:05:28.694] Sensor ProjectLinksSensor done: 13 ms
[INFO] [09:05:28.695] Sensor VersionEventsSensor...
[INFO] [09:05:28.775] Sensor VersionEventsSensor done: 80 ms
[INFO] [09:05:28.775] Sensor FileHashSensor...
[INFO] [09:05:28.809] Sensor FileHashSensor done: 34 ms
[INFO] [09:05:28.810] Sensor Maven dependencies...
[INFO] [09:05:34.026] Sensor Maven dependencies done: 5216 ms
[INFO] [09:05:36.228] Execute decorators...
[INFO] [09:05:50.435] Store results in database
[INFO] [09:05:51.731] ANALYSIS SUCCESSFUL, you can browse http://www.CompanyName.ba/sonar/dashboard/index/com.abc:ProjectName
[INFO] [09:05:51.906] Executing post-job class org.sonar.plugins.core.issue.notification.SendIssueNotificationsPostJob
[INFO] [09:05:51.908] Executing post-job class org.sonar.plugins.core.batch.IndexProjectPostJob
[INFO] [09:05:51.991] Executing post-job class org.sonar.plugins.dbcleaner.ProjectPurgePostJob
[INFO] [09:05:52.013] -> Keep one snapshot per day between 2014-04-25 and 2014-05-22
[INFO] [09:05:52.015] -> Keep one snapshot per week between 2013-05-24 and 2014-04-25
[INFO] [09:05:52.016] -> Keep one snapshot per month between 2009-05-29 and 2013-05-24
[INFO] [09:05:52.016] -> Delete data prior to: 2009-05-29
[INFO] [09:05:52.030] -> Clean ProjectName [id=2862]
[INFO] [09:05:52.039] <- Clean snapshot 60195
[INFO] [09:05:53.274] Executing post-job class org.sonar.plugins.buildbreaker.AlertBreaker
[INFO] [09:05:53.275] Executing post-job class org.sonar.plugins.buildbreaker.ForbiddenConfigurationBreaker
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:54 min
[INFO] Finished at: 2014-05-23T09:05:53+01:00
[INFO] Final Memory: 29M/761M
[INFO] ------------------------------------------------------------------------
Sonar analysis completed: SUCCESS
Finished: SUCCESS