FailedConsole Output

Started by user james.sutton@uk.ibm.com
Checkout:workspace / /home/hudson/genie.paho/.hudson/jobs/paho-javascript-master/workspace - hudson.remoting.LocalChannel@61f1b2c8
Using strategy: Default
Git Exe: git
Last Built Revision: Revision 1fa2333485c3f928cbb6f9c6ea41a102c1990501 (origin/master)
Checkout:workspace / /home/hudson/genie.paho/.hudson/jobs/paho-javascript-master/workspace - hudson.remoting.LocalChannel@61f1b2c8
Fetching changes from the remote Git repository
Fetching upstream changes from https://github.com/eclipse/paho.mqtt.javascript.git
Commencing build of Revision 1fa2333485c3f928cbb6f9c6ea41a102c1990501 (origin/master)
Checking out Revision 1fa2333485c3f928cbb6f9c6ea41a102c1990501 (origin/master)
[workspace] $ /bin/sh -xe /tmp/hudson8549053834133873678.sh
+ npm config set proxy http://proxy.eclipse.org:9898
+ npm config set https-proxy http://proxy.eclipse.org:9898
[INFO] Using Maven 3 installation: apache-maven-latest
[INFO] Checking Maven 3 installation environment
[workspace] $ /shared/common/apache-maven-latest/bin/mvn --help
[INFO] Checking Maven 3 installation version
[INFO] Detected Maven 3 installation version: 3.3.9
[workspace] $ /shared/common/apache-maven-latest/bin/mvn clean deploy -V -B -DPATH=$PATH:/shared/common/node-latest/bin/ -Dtest.server=iot.eclipse.org -Dtest.server.path=/ws -Dtest.interopPort=80 -Dtest.interopServer=iot.eclipse.org -Dtest.server.port=80 -Dtest.interopPath=/ws -Dmaven.ext.class.path=/home/hudson/genie.paho/.hudson/maven/slavebundle/resources:/home/hudson/genie.paho/.hudson/maven/slavebundle/lib/maven3-eventspy-3.1.jar:/home/hudson/genie.paho/.hudson/war/webapp/WEB-INF/lib/hudson-remoting-3.0.3.jar -Dhudson.eventspy.port=44632 -Dmaven.repo.local=/home/hudson/genie.paho/.hudson/jobs/paho-javascript-master/workspace/.maven/repo -f pom.xml
[DEBUG] Waiting for connection on port: 44632
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T11:41:47-05:00)
Maven home: /shared/common/apache-maven-latest
Java version: 1.8.0_131, vendor: Oracle Corporation
Java home: /opt/public/common/jdk1.8.0_131.x64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.12.60-52.54-default", arch: "amd64", family: "unix"
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/hudson/genie.paho/.hudson/maven/slavebundle/lib/maven3-eventspy-runtime.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/shared/common/apache-maven-latest/lib/slf4j-simple-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
[DEBUG] Connected to remote
[WARN] o.h.m.e.EventSpyProcessor - Unhandled event: org.apache.maven.toolchain.building.DefaultToolchainsBuildingRequest@45673f68 (org.apache.maven.toolchain.building.DefaultToolchainsBuildingRequest)
[WARN] o.h.m.e.EventSpyProcessor - Unhandled event: org.apache.maven.toolchain.building.DefaultToolchainsBuildingRequest@45673f68 (org.apache.maven.toolchain.building.DefaultToolchainsBuildingRequest)
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.eclipse.paho:paho.javascript:pom:1.0.3
[WARNING] 'version' contains an expression but should be a constant. @ org.eclipse.paho:paho.javascript:${paho.version}, /jobs/genie.paho/paho-javascript-master/workspace/pom.xml, line 7, column 11
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.codehaus.mojo:templating-maven-plugin @ org.eclipse.paho:paho.javascript:${paho.version}, /jobs/genie.paho/paho-javascript-master/workspace/pom.xml, line 114, column 12
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building paho.javascript 1.0.3
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ paho.javascript ---
Downloading: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-plugin-api/2.0.6/maven-plugin-api-2.0.6.jar
Downloaded: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-plugin-api/2.0.6/maven-plugin-api-2.0.6.jar (13 KB at 1.8 KB/sec)
[INFO] Deleting /jobs/genie.paho/paho-javascript-master/workspace/target
[INFO] 
[INFO] --- minify-maven-plugin:1.7.4:minify (default-minify) @ paho.javascript ---
[WARNING] The source file [paho-mqtt.js] has the same name as the final file.
[INFO] Starting CSS task:
[INFO] Starting JavaScript task:
[INFO] Processing source file [paho-mqtt.js].
[INFO] Creating the merged file [paho-mqtt.js].
[INFO] Creating the minified file [paho-mqtt.min.js].
Jul 25, 2017 10:12:09 AM com.google.javascript.jscomp.LoggerErrorManager println
WARNING: paho-mqtt.js:214: WARNING - Parse error. invalid param name "ERROR.KEY"
	 * @param {error} ERROR.KEY value above.
	                  ^

Jul 25, 2017 10:12:09 AM com.google.javascript.jscomp.LoggerErrorManager println
WARNING: paho-mqtt.js:752: WARNING - Parse error. Non-JSDoc comment has annotations. Did you mean to start it with '/**'?
	/*
	^

Jul 25, 2017 10:12:09 AM com.google.javascript.jscomp.LoggerErrorManager println
WARNING: paho-mqtt.js:1851: WARNING - Parse error. invalid param name "connectOptions.timeout"
		 * @param {number} connectOptions.timeout - If the connect has not succeeded within this
		                   ^

Jul 25, 2017 10:12:09 AM com.google.javascript.jscomp.LoggerErrorManager println
WARNING: paho-mqtt.js:1854: WARNING - Parse error. invalid param name "connectOptions.userName"
		 * @param {string} connectOptions.userName - Authentication username for this connection.
		                   ^

Jul 25, 2017 10:12:09 AM com.google.javascript.jscomp.LoggerErrorManager println
WARNING: paho-mqtt.js:1855: WARNING - Parse error. invalid param name "connectOptions.password"
		 * @param {string} connectOptions.password - Authentication password for this connection.
		                   ^

Jul 25, 2017 10:12:09 AM com.google.javascript.jscomp.LoggerErrorManager println
WARNING: paho-mqtt.js:1856: WARNING - Parse error. invalid param name "connectOptions.willMessage"
		 * @param {Paho.MQTT.Message} connectOptions.willMessage - sent by the server when the client
		                              ^

Jul 25, 2017 10:12:09 AM com.google.javascript.jscomp.LoggerErrorManager println
WARNING: paho-mqtt.js:1858: WARNING - Parse error. invalid param name "connectOptions.keepAliveInterval"
		 * @param {number} connectOptions.keepAliveInterval - the server disconnects this client if
		                   ^

Jul 25, 2017 10:12:09 AM com.google.javascript.jscomp.LoggerErrorManager println
WARNING: paho-mqtt.js:1861: WARNING - Parse error. invalid param name "connectOptions.cleanSession"
		 * @param {boolean} connectOptions.cleanSession - if true(default) the client and server
		                    ^

Jul 25, 2017 10:12:09 AM com.google.javascript.jscomp.LoggerErrorManager println
WARNING: paho-mqtt.js:1863: WARNING - Parse error. invalid param name "connectOptions.useSSL"
		 * @param {boolean} connectOptions.useSSL - if present and true, use an SSL Websocket connection.
		                    ^

Jul 25, 2017 10:12:09 AM com.google.javascript.jscomp.LoggerErrorManager println
WARNING: paho-mqtt.js:1864: WARNING - Parse error. invalid param name "connectOptions.invocationContext"
		 * @param {object} connectOptions.invocationContext - passed to the onSuccess callback or onFailure callback.
		                   ^

Jul 25, 2017 10:12:09 AM com.google.javascript.jscomp.LoggerErrorManager println
WARNING: paho-mqtt.js:1878: WARNING - Parse error. invalid param name "connectOptions.hosts"
     * @param {array} connectOptions.hosts - If present this contains either a set of hostnames or fully qualified
                      ^

Jul 25, 2017 10:12:09 AM com.google.javascript.jscomp.LoggerErrorManager println
WARNING: paho-mqtt.js:1882: WARNING - Parse error. invalid param name "connectOptions.ports"
     * @param {array} connectOptions.ports - If present the set of ports matching the hosts. If hosts contains URIs, this property
                      ^

Jul 25, 2017 10:12:09 AM com.google.javascript.jscomp.LoggerErrorManager println
WARNING: paho-mqtt.js:1884: WARNING - Parse error. invalid param name "connectOptions.reconnect"
     * @param {boolean} connectOptions.reconnect - Sets whether the client will automatically attempt to reconnect
                        ^

Jul 25, 2017 10:12:09 AM com.google.javascript.jscomp.LoggerErrorManager println
WARNING: paho-mqtt.js:1893: WARNING - Parse error. invalid param name "connectOptions.mqttVersion"
     * @param {number} connectOptions.mqttVersion - The version of MQTT to use to connect to the MQTT Broker.
                       ^

Jul 25, 2017 10:12:09 AM com.google.javascript.jscomp.LoggerErrorManager println
WARNING: paho-mqtt.js:1898: WARNING - Parse error. invalid param name "connectOptions.mqttVersionExplicit"
     * @param {boolean} connectOptions.mqttVersionExplicit - If set to true, will force the connection to use the
                        ^

Jul 25, 2017 10:12:09 AM com.google.javascript.jscomp.LoggerErrorManager println
WARNING: paho-mqtt.js:1900: WARNING - Parse error. invalid param name "connectOptions.uris"
     * @param {array} connectOptions.uris - If present, should contain a list of fully qualified WebSocket uris
                      ^

Jul 25, 2017 10:12:09 AM com.google.javascript.jscomp.LoggerErrorManager println
WARNING: paho-mqtt.js:2016: WARNING - Parse error. invalid param name "subscribeOptions.qos"
		 * @param {number} subscribeOptions.qos - the maiximum qos of any publications sent
		                   ^

Jul 25, 2017 10:12:09 AM com.google.javascript.jscomp.LoggerErrorManager println
WARNING: paho-mqtt.js:2018: WARNING - Parse error. invalid param name "subscribeOptions.invocationContext"
		 * @param {object} subscribeOptions.invocationContext - passed to the onSuccess callback
		                   ^

Jul 25, 2017 10:12:09 AM com.google.javascript.jscomp.LoggerErrorManager println
WARNING: paho-mqtt.js:2033: WARNING - Parse error. invalid param name "subscribeOptions.timeout"
		 * @param {number} subscribeOptions.timeout - which, if present, determines the number of
		                   ^

Jul 25, 2017 10:12:09 AM com.google.javascript.jscomp.LoggerErrorManager println
WARNING: paho-mqtt.js:2063: WARNING - Parse error. invalid param name "unsubscribeOptions.invocationContext"
		 * @param {object} unsubscribeOptions.invocationContext - passed to the onSuccess callback
		                   ^

Jul 25, 2017 10:12:09 AM com.google.javascript.jscomp.LoggerErrorManager println
WARNING: paho-mqtt.js:2078: WARNING - Parse error. invalid param name "unsubscribeOptions.timeout"
		 * @param {number} unsubscribeOptions.timeout - which, if present, determines the number of seconds
		                   ^

Jul 25, 2017 10:12:09 AM com.google.javascript.jscomp.LoggerErrorManager printSummary
WARNING: 0 error(s), 21 warning(s)
[INFO] Uncompressed size: 91436 bytes.
[INFO] Compressed size: 33427 bytes minified (8427 bytes gzipped).
[INFO] 
[INFO] 
[INFO] --- maven-antrun-plugin:1.3:run (generate-js-output) @ paho.javascript ---
Downloading: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-plugin-api/2.0.4/maven-plugin-api-2.0.4.jar
Downloading: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-project/2.0.4/maven-project-2.0.4.jar
Downloading: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-settings/2.0.4/maven-settings-2.0.4.jar
Downloading: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-profile/2.0.4/maven-profile-2.0.4.jar
Downloading: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-model/2.0.4/maven-model-2.0.4.jar
Downloaded: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-plugin-api/2.0.4/maven-plugin-api-2.0.4.jar (9 KB at 214.1 KB/sec)
Downloading: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-artifact-manager/2.0.4/maven-artifact-manager-2.0.4.jar
Downloaded: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-profile/2.0.4/maven-profile-2.0.4.jar (30 KB at 738.1 KB/sec)
Downloaded: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-settings/2.0.4/maven-settings-2.0.4.jar (43 KB at 1069.0 KB/sec)
Downloading: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-repository-metadata/2.0.4/maven-repository-metadata-2.0.4.jar
Downloading: https://repo.eclipse.org/content/repositories/maven_central/org/codehaus/plexus/plexus-container-default/1.0-alpha-9/plexus-container-default-1.0-alpha-9.jar
Downloaded: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-project/2.0.4/maven-project-2.0.4.jar (107 KB at 2264.6 KB/sec)
Downloading: https://repo.eclipse.org/content/repositories/maven_central/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.jar
Downloaded: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-artifact-manager/2.0.4/maven-artifact-manager-2.0.4.jar (48 KB at 784.8 KB/sec)
Downloading: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-artifact/2.0.4/maven-artifact-2.0.4.jar
Downloaded: https://repo.eclipse.org/content/repositories/maven_central/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.jar (37 KB at 495.1 KB/sec)
Downloaded: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-artifact/2.0.4/maven-artifact-2.0.4.jar (79 KB at 870.9 KB/sec)
Downloaded: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-repository-metadata/2.0.4/maven-repository-metadata-2.0.4.jar (20 KB at 185.0 KB/sec)
Downloaded: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-model/2.0.4/maven-model-2.0.4.jar (79 KB at 547.6 KB/sec)
Downloaded: https://repo.eclipse.org/content/repositories/maven_central/org/codehaus/plexus/plexus-container-default/1.0-alpha-9/plexus-container-default-1.0-alpha-9.jar (191 KB at 69.6 KB/sec)
[INFO] Executing tasks
     [copy] Copying 1 file to /jobs/genie.paho/paho-javascript-master/workspace/target
   [delete] Deleting: /jobs/genie.paho/paho-javascript-master/workspace/target/paho-mqtt-min-2.js
   [delete] Deleting: /jobs/genie.paho/paho-javascript-master/workspace/target/paho-mqtt.min.js
[INFO] Executed tasks
[INFO] 
[INFO] --- exec-maven-plugin:1.2.1:exec (install-jsdoc-modules) @ paho.javascript ---
Downloading: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-toolchain/1.0/maven-toolchain-1.0.jar
Downloading: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-project/2.0.6/maven-project-2.0.6.jar
Downloading: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-settings/2.0.6/maven-settings-2.0.6.jar
Downloading: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-profile/2.0.6/maven-profile-2.0.6.jar
Downloading: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-plugin-registry/2.0.6/maven-plugin-registry-2.0.6.jar
Downloaded: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-settings/2.0.6/maven-settings-2.0.6.jar (48 KB at 285.4 KB/sec)
Downloading: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-model/2.0.6/maven-model-2.0.6.jar
Downloaded: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-model/2.0.6/maven-model-2.0.6.jar (85 KB at 77.7 KB/sec)
Downloading: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-artifact/2.0.6/maven-artifact-2.0.6.jar
Downloaded: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-artifact/2.0.6/maven-artifact-2.0.6.jar (86 KB at 76.0 KB/sec)
Downloading: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-artifact-manager/2.0.6/maven-artifact-manager-2.0.6.jar
Downloaded: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-artifact-manager/2.0.6/maven-artifact-manager-2.0.6.jar (56 KB at 48.0 KB/sec)
Downloading: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-repository-metadata/2.0.6/maven-repository-metadata-2.0.6.jar
Downloaded: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-toolchain/1.0/maven-toolchain-1.0.jar (33 KB at 25.9 KB/sec)
Downloading: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-core/2.0.6/maven-core-2.0.6.jar
Downloaded: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-repository-metadata/2.0.6/maven-repository-metadata-2.0.6.jar (24 KB at 18.9 KB/sec)
Downloading: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-plugin-parameter-documenter/2.0.6/maven-plugin-parameter-documenter-2.0.6.jar
Downloaded: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-core/2.0.6/maven-core-2.0.6.jar (149 KB at 116.5 KB/sec)
Downloading: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-error-diagnostics/2.0.6/maven-error-diagnostics-2.0.6.jar
Downloaded: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-plugin-parameter-documenter/2.0.6/maven-plugin-parameter-documenter-2.0.6.jar (21 KB at 15.7 KB/sec)
Downloading: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-plugin-descriptor/2.0.6/maven-plugin-descriptor-2.0.6.jar
Downloaded: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-error-diagnostics/2.0.6/maven-error-diagnostics-2.0.6.jar (14 KB at 9.2 KB/sec)
Downloading: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-monitor/2.0.6/maven-monitor-2.0.6.jar
Downloaded: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-project/2.0.6/maven-project-2.0.6.jar (114 KB at 77.9 KB/sec)
Downloading: https://repo.eclipse.org/content/repositories/maven_central/classworlds/classworlds/1.1/classworlds-1.1.jar
Downloaded: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-plugin-registry/2.0.6/maven-plugin-registry-2.0.6.jar (29 KB at 19.4 KB/sec)
Downloaded: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-plugin-descriptor/2.0.6/maven-plugin-descriptor-2.0.6.jar (37 KB at 24.7 KB/sec)
Downloaded: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-profile/2.0.6/maven-profile-2.0.6.jar (35 KB at 23.6 KB/sec)
Downloaded: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-monitor/2.0.6/maven-monitor-2.0.6.jar (11 KB at 6.8 KB/sec)
Downloaded: https://repo.eclipse.org/content/repositories/maven_central/classworlds/classworlds/1.1/classworlds-1.1.jar (37 KB at 25.0 KB/sec)
paho-client@ /jobs/genie.paho/paho-javascript-master/workspace
└── jsdoc@3.5.3  extraneous

npm WARN paho-client@ No repository field.
npm WARN paho-client@ No license field.
[INFO] 
[INFO] --- exec-maven-plugin:1.2.1:exec (jsdoc) @ paho.javascript ---
[INFO] 
[INFO] --- exec-maven-plugin:1.2.1:exec (set-cache) @ paho.javascript ---
[INFO] 
[INFO] --- exec-maven-plugin:1.2.1:exec (install-modules) @ paho.javascript ---
paho-client@ /jobs/genie.paho/paho-javascript-master/workspace
└── jsdoc@3.5.3  extraneous

npm WARN paho-client@ No repository field.
npm WARN paho-client@ No license field.
[INFO] 
[INFO] --- exec-maven-plugin:1.2.1:exec (jshint) @ paho.javascript ---
[INFO] 
[INFO] --- templating-maven-plugin:1.0-alpha-3:filter-test-sources (filter-tests) @ paho.javascript ---
Downloading: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-model/2.2.1/maven-model-2.2.1.jar
Downloading: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-project/2.2.1/maven-project-2.2.1.jar
Downloading: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-settings/2.2.1/maven-settings-2.2.1.jar
Downloading: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-profile/2.2.1/maven-profile-2.2.1.jar
Downloading: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-artifact-manager/2.2.1/maven-artifact-manager-2.2.1.jar
Downloaded: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-settings/2.2.1/maven-settings-2.2.1.jar (48 KB at 1408.6 KB/sec)
Downloading: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-plugin-registry/2.2.1/maven-plugin-registry-2.2.1.jar
Downloaded: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-artifact-manager/2.2.1/maven-artifact-manager-2.2.1.jar (66 KB at 1783.5 KB/sec)
Downloading: https://repo.eclipse.org/content/repositories/maven_central/org/codehaus/plexus/plexus-container-default/1.0-alpha-9-stable-1/plexus-container-default-1.0-alpha-9-stable-1.jar
Downloaded: https://repo.eclipse.org/content/repositories/maven_central/org/codehaus/plexus/plexus-container-default/1.0-alpha-9-stable-1/plexus-container-default-1.0-alpha-9-stable-1.jar (190 KB at 176.4 KB/sec)
Downloading: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-core/2.2.1/maven-core-2.2.1.jar
Downloaded: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-core/2.2.1/maven-core-2.2.1.jar (174 KB at 106.6 KB/sec)
Downloading: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-plugin-parameter-documenter/2.2.1/maven-plugin-parameter-documenter-2.2.1.jar
Downloaded: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-plugin-parameter-documenter/2.2.1/maven-plugin-parameter-documenter-2.2.1.jar (22 KB at 13.1 KB/sec)
Downloading: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-repository-metadata/2.2.1/maven-repository-metadata-2.2.1.jar
Downloaded: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-repository-metadata/2.2.1/maven-repository-metadata-2.2.1.jar (26 KB at 11.6 KB/sec)
Downloading: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-error-diagnostics/2.2.1/maven-error-diagnostics-2.2.1.jar
Downloaded: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-model/2.2.1/maven-model-2.2.1.jar (86 KB at 37.3 KB/sec)
Downloading: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-plugin-descriptor/2.2.1/maven-plugin-descriptor-2.2.1.jar
Downloaded: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-error-diagnostics/2.2.1/maven-error-diagnostics-2.2.1.jar (13 KB at 5.5 KB/sec)
Downloading: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-monitor/2.2.1/maven-monitor-2.2.1.jar
Downloaded: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-monitor/2.2.1/maven-monitor-2.2.1.jar (11 KB at 4.4 KB/sec)
Downloading: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.jar
Downloaded: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-plugin-descriptor/2.2.1/maven-plugin-descriptor-2.2.1.jar (39 KB at 16.3 KB/sec)
Downloading: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-artifact/2.2.1/maven-artifact-2.2.1.jar
Downloaded: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-artifact/2.2.1/maven-artifact-2.2.1.jar (79 KB at 33.0 KB/sec)
Downloaded: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-plugin-registry/2.2.1/maven-plugin-registry-2.2.1.jar (30 KB at 11.5 KB/sec)
Downloaded: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-profile/2.2.1/maven-profile-2.2.1.jar (35 KB at 13.6 KB/sec)
Downloaded: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.jar (9 KB at 3.1 KB/sec)
Downloaded: https://repo.eclipse.org/content/repositories/maven_central/org/apache/maven/maven-project/2.2.1/maven-project-2.2.1.jar (153 KB at 59.5 KB/sec)
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 7 resources
[INFO] Source directory: /jobs/genie.paho/paho-javascript-master/workspace/target/test added.
[INFO] 
[INFO] --- exec-maven-plugin:1.2.1:exec (test) @ paho.javascript ---
Warning: Native modules not compiled.  XOR performance will be degraded.
Warning: Native modules not compiled.  UTF-8 validation disabled.
Connect Error: Error: socket hang up
Connecting...
Disconnecting...
Re-Connecting...
Connect Error: Error: socket hang up
Connect fail. ErrorCode: undefined, ErrorMsg: AMQJS0007E Socket error:undefined.
Connecting...
Disconnecting...
Connect Error: Error: socket hang up
Connect Error: Error: socket hang up
Connect fail. ErrorCode: undefined, ErrorMsg: AMQJS0007E Socket error:undefined.
should connect to a available server from list
Connect Error: Error: connect ECONNREFUSED 127.0.0.1:2000
Connect Error: Error: socket hang up
Connect fail. ErrorCode: undefined, ErrorMsg: AMQJS0007E Socket error:undefined.
Subscribe a topic...
Send and receive message...
Unsubscribe a topic...
Connect Error: Error: socket hang up
Connect fail. ErrorCode: undefined, ErrorMsg: AMQJS0007E Socket error:undefined.
Check default for message with payload.
Check empty msg to throw error
Check message qos
Check payload
not allowed to set payload
Check retained
Check duplicate
Connect Error: Error: socket hang up
Connect Error: Error: socket hang up
Connect Error: Error: socket hang up
Connect Error: Error: socket hang up
Connect Error: Error: socket hang up
Connect Error: Error: socket hang up
Connect Error: Error: socket hang up
Connect Error: Error: socket hang up
Connect Error: Error: socket hang up
Connect Error: Error: socket hang up
Connect Error: Error: socket hang up

client - 14239 ms
    should create a new client - 5 ms
    should connect to a server - 10161 ms
    should subscribe to a topic - 2038 ms
    should send and receive a message - 2034 ms

BasicTest - 13229 ms
    it should create and connect and disconnect to a server. - 2035 ms
    it should fallback from MQTTv3.1.1 to v3.1 - 4055 ms
    it should connect to a list of server(HA connection). - 2051 ms
    it should publish and subscribe. - 5084 ms
    check message properties. - 4 ms

client-uris - 10150 ms
    should create a new client with a default path - 0 ms
    should create a new client with a path - 1 ms
    should create a new client with a uri - 0 ms
    should fail to create a new client with an invalid ws uri - 0 ms
    should connect and disconnect to a server using connectoptions hosts - 10149 ms

InteropsTests - 15258 ms
    should connect, disconnect, subscribe, publish and receive messages - 5082 ms
    should connect, attempt to connect again and fail - 5087 ms
    should connect successfully with a 0 length clientid with cleansession true - 5075 ms
    should fail to connect successfully with a 0 length clientid with cleansession false - 14 ms

LiveTakeOver - 10186 ms
    should be taken over by another client for the actively doing work. - 10186 ms

SendReceive - 50827 ms
    should connect to a server and disconnect from a server - 10157 ms
    should pub/sub using largish messages - 10168 ms
    should preserve QOS values between publishers and subscribers - 10162 ms
    should work using multiple publishers and subscribers. - 10160 ms
    should clean up before re-connecting if cleanSession flag is set. - 10179 ms

Failures:

  1) client should connect to a server
   Message:
     timeout: timed out after 10000 msec waiting for the client should connect
   Stacktrace:
     undefined

  2) client should subscribe to a topic
   Message:
     Error: AMQJS0011E Invalid state not connected.
   Stacktrace:
     Error: AMQJS0011E Invalid state not connected.
    at LibraryFactory.ClientImpl.subscribe (/jobs/genie.paho/paho-javascript-master/workspace/target/paho-mqtt.js:890:10)
    at Object.subscribe (/jobs/genie.paho/paho-javascript-master/workspace/target/paho-mqtt.js:2053:11)
    at null.<anonymous> (/jobs/genie.paho/paho-javascript-master/workspace/target/test/base-spec.js:55:11)

  3) client should subscribe to a topic
   Message:
     timeout: timed out after 2000 msec waiting for the client should subscribe
   Stacktrace:
     undefined

  4) client should send and receive a message
   Message:
     Error: AMQJS0011E Invalid state not connected.
   Stacktrace:
     Error: AMQJS0011E Invalid state not connected.
    at LibraryFactory.ClientImpl.send (/jobs/genie.paho/paho-javascript-master/workspace/target/paho-mqtt.js:978:11)
    at Object.send (/jobs/genie.paho/paho-javascript-master/workspace/target/paho-mqtt.js:2134:12)
    at null.<anonymous> (/jobs/genie.paho/paho-javascript-master/workspace/target/test/base-spec.js:71:11)

  5) client should send and receive a message
   Message:
     timeout: timed out after 2000 msec waiting for the client should send and receive a message
   Stacktrace:
     undefined

  6) BasicTest it should create and connect and disconnect to a server.
   Message:
     timeout: timed out after 2000 msec waiting for the client should connect
   Stacktrace:
     undefined

  7) BasicTest it should fallback from MQTTv3.1.1 to v3.1
   Message:
     timeout: timed out after 4000 msec waiting for the client should connect
   Stacktrace:
     undefined

  8) BasicTest it should connect to a list of server(HA connection).
   Message:
     timeout: timed out after 2000 msec waiting for the client should connect
   Stacktrace:
     undefined

  9) BasicTest it should publish and subscribe.
   Message:
     timeout: timed out after 5000 msec waiting for the client should connect
   Stacktrace:
     undefined

  10) client-uris should connect and disconnect to a server using connectoptions hosts
   Message:
     timeout: timed out after 10000 msec waiting for the client should connect
   Stacktrace:
     undefined

  11) InteropsTests should connect, disconnect, subscribe, publish and receive messages
   Message:
     timeout: timed out after 5000 msec waiting for the client should connect
   Stacktrace:
     undefined

  12) InteropsTests should connect, attempt to connect again and fail
   Message:
     timeout: timed out after 5000 msec waiting for the client should connect
   Stacktrace:
     undefined

  13) InteropsTests should connect successfully with a 0 length clientid with cleansession true
   Message:
     timeout: timed out after 5000 msec waiting for the client should connect
   Stacktrace:
     undefined

  14) LiveTakeOver should be taken over by another client for the actively doing work.
   Message:
     timeout: timed out after 10000 msec waiting for the client should connect
   Stacktrace:
     undefined

  15) SendReceive should connect to a server and disconnect from a server
   Message:
     timeout: timed out after 10000 msec waiting for the client should connect
   Stacktrace:
     undefined

  16) SendReceive should pub/sub using largish messages
   Message:
     timeout: timed out after 10000 msec waiting for the client should connect
   Stacktrace:
     undefined

  17) SendReceive should preserve QOS values between publishers and subscribers
   Message:
     timeout: timed out after 10000 msec waiting for the client should connect
   Stacktrace:
     undefined

  18) SendReceive should work using multiple publishers and subscribers.
   Message:
     timeout: timed out after 10000 msec waiting for the client should connect
   Stacktrace:
     undefined

  19) SendReceive should clean up before re-connecting if cleanSession flag is set.
   Message:
     timeout: timed out after 10000 msec waiting for the client should connect
   Stacktrace:
     undefined

Finished in 113.902 seconds
24 tests, 63 assertions, 19 failures, 0 skipped


[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:07 min
[INFO] Finished at: 2017-07-25T10:15:06-04:00
[INFO] Final Memory: 18M/1377M
[INFO] ------------------------------------------------------------------------
[INFO] o.h.m.e.h.MavenExecutionResultHandler - Build failed with exception(s)
[INFO] o.h.m.e.h.MavenExecutionResultHandler - [1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (test) on project paho.javascript: Command execution failed.
[DEBUG] Closing connection to remote
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (test) on project paho.javascript: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [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
[DEBUG] Waiting for process to finish
[DEBUG] Result: 1
Finished: FAILURE