FailedConsole Output

Started by user icraggs@uk.ibm.com
Checkout:workspace / /home/hudson/genie.paho/.hudson/jobs/paho-c-develop/workspace - hudson.remoting.LocalChannel@61f1b2c8
Using strategy: Default
Git Exe: git
Last Built Revision: Revision 082f582c8fcebb8417a0c0cb535839381e1679db (origin/develop)
Checkout:workspace / /home/hudson/genie.paho/.hudson/jobs/paho-c-develop/workspace - hudson.remoting.LocalChannel@61f1b2c8
Fetching changes from the remote Git repository
Fetching upstream changes from https://github.com/eclipse/paho.mqtt.c.git
Commencing build of Revision e940c3c8aca8ec19183da132eef42461059bc01e (origin/develop)
Checking out Revision e940c3c8aca8ec19183da132eef42461059bc01e (origin/develop)
[workspace] $ /shared/common/apache-ant-1.8.4/bin/ant
Buildfile: /jobs/genie.paho/paho-c-develop/workspace/build.xml
Trying to override old definition of task for
     [echo] os.family is 'unix'

init:

version:
     [copy] Copying 1 file to /jobs/genie.paho/paho-c-develop/workspace/src

build:
   [delete] Deleting directory /jobs/genie.paho/paho-c-develop/workspace/build/output
     [exec] Using built-in specs.
     [exec] COLLECT_GCC=gcc
     [exec] COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-suse-linux/4.8/lto-wrapper
     [exec] Target: x86_64-suse-linux
     [exec] Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.8 --enable-ssp --disable-libssp --disable-plugin --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --enable-linker-build-id --enable-linux-futex --program-suffix=-4.8 --without-system-libunwind --with-arch-32=i586 --with-tune=generic --build=x86_64-suse-linux --host=x86_64-suse-linux
     [exec] Thread model: posix
     [exec] gcc version 4.8.5 (SUSE Linux) 
     [exec] mkdir -p build/output/samples
     [exec] mkdir -p build/output/test
     [exec] echo OSTYPE is Linux
     [exec] OSTYPE is Linux
     [exec] cc -g -fPIC  -Os -Wall -fvisibility=hidden -Ibuild -o build/output/libpaho-mqtt3c.so.1.0 src/Heap.c src/Socket.c src/MQTTProtocolClient.c src/MQTTProtocolOut.c src/StackTrace.c src/MQTTPersistenceDefault.c src/Messages.c src/MQTTPacketOut.c src/Clients.c src/Thread.c src/MQTTPacket.c src/MQTTPersistence.c src/MQTTClient.c src/Log.c src/utf-8.c src/SocketBuffer.c src/LinkedList.c src/Tree.c  -shared -Wl,-init,MQTTClient_init -lpthread -Wl,-soname,libpaho-mqtt3c.so.1
     [exec] ln -s libpaho-mqtt3c.so.1.0  build/output/libpaho-mqtt3c.so.1
     [exec] ln -s libpaho-mqtt3c.so.1 build/output/libpaho-mqtt3c.so
     [exec] cc -g -fPIC  -Os -Wall -fvisibility=hidden -Ibuild -o build/output/libpaho-mqtt3cs.so.1.0 src/Heap.c src/Socket.c src/SSLSocket.c src/MQTTProtocolClient.c src/MQTTProtocolOut.c src/StackTrace.c src/MQTTPersistenceDefault.c src/Messages.c src/MQTTPacketOut.c src/Clients.c src/Thread.c src/MQTTPacket.c src/MQTTPersistence.c src/MQTTClient.c src/Log.c src/utf-8.c src/SocketBuffer.c src/LinkedList.c src/Tree.c -DOPENSSL  -shared -Wl,--start-group -lpthread -ldl -lssl -lcrypto -Wl,--end-group -Wl,-init,MQTTClient_init -Wl,-soname,libpaho-mqtt3cs.so.1 -Wl,-no-whole-archive
     [exec] ln -s libpaho-mqtt3cs.so.1.0  build/output/libpaho-mqtt3cs.so.1
     [exec] ln -s libpaho-mqtt3cs.so.1 build/output/libpaho-mqtt3cs.so
     [exec] cc -g -fPIC  -Os -Wall -fvisibility=hidden -Ibuild -o build/output/libpaho-mqtt3a.so.1.0 src/Heap.c src/Socket.c src/MQTTProtocolClient.c src/MQTTProtocolOut.c src/MQTTAsync.c src/StackTrace.c src/MQTTPersistenceDefault.c src/Messages.c src/MQTTPacketOut.c src/Clients.c src/Thread.c src/MQTTPacket.c src/MQTTPersistence.c src/Log.c src/utf-8.c src/SocketBuffer.c src/LinkedList.c src/Tree.c  -shared -Wl,-init,MQTTAsync_init -lpthread -Wl,-soname,libpaho-mqtt3a.so.1
     [exec] ln -s libpaho-mqtt3a.so.1.0  build/output/libpaho-mqtt3a.so.1
     [exec] ln -s libpaho-mqtt3a.so.1 build/output/libpaho-mqtt3a.so
     [exec] cc -g -fPIC  -Os -Wall -fvisibility=hidden -Ibuild -o build/output/libpaho-mqtt3as.so.1.0 src/Heap.c src/Socket.c src/SSLSocket.c src/MQTTProtocolClient.c src/MQTTProtocolOut.c src/MQTTAsync.c src/StackTrace.c src/MQTTPersistenceDefault.c src/Messages.c src/MQTTPacketOut.c src/Clients.c src/Thread.c src/MQTTPacket.c src/MQTTPersistence.c src/Log.c src/utf-8.c src/SocketBuffer.c src/LinkedList.c src/Tree.c -DOPENSSL  -shared -Wl,--start-group -lpthread -ldl -lssl -lcrypto -Wl,--end-group -Wl,-init,MQTTAsync_init -Wl,-soname,libpaho-mqtt3as.so.1 -Wl,-no-whole-archive
     [exec] ln -s libpaho-mqtt3as.so.1.0  build/output/libpaho-mqtt3as.so.1
     [exec] ln -s libpaho-mqtt3as.so.1 build/output/libpaho-mqtt3as.so
     [exec] cc  -I src -lpthread -L build/output -o build/output/MQTTVersion -lpaho-mqtt3a src/MQTTVersion.c -ldl
     [exec] cc -o build/output/samples/paho_cs_pub src/samples/paho_cs_pub.c -lpaho-mqtt3c  -I src -lpthread -L build/output
     [exec] cc -o build/output/samples/paho_cs_sub src/samples/paho_cs_sub.c -lpaho-mqtt3c  -I src -lpthread -L build/output
     [exec] cc -o build/output/samples/MQTTClient_publish src/samples/MQTTClient_publish.c -lpaho-mqtt3c  -I src -lpthread -L build/output
     [exec] cc -o build/output/samples/MQTTClient_publish_async src/samples/MQTTClient_publish_async.c -lpaho-mqtt3c  -I src -lpthread -L build/output
     [exec] cc -o build/output/samples/MQTTClient_subscribe src/samples/MQTTClient_subscribe.c -lpaho-mqtt3c  -I src -lpthread -L build/output
     [exec] cc -o build/output/samples/paho_c_pub src/samples/paho_c_pub.c -lpaho-mqtt3a  -I src -lpthread -L build/output
     [exec] cc -o build/output/samples/paho_c_sub src/samples/paho_c_sub.c -lpaho-mqtt3a  -I src -lpthread -L build/output
     [exec] cc -o build/output/samples/MQTTAsync_subscribe src/samples/MQTTAsync_subscribe.c -lpaho-mqtt3a  -I src -lpthread -L build/output
     [exec] cc -o build/output/samples/MQTTAsync_publish src/samples/MQTTAsync_publish.c -lpaho-mqtt3a  -I src -lpthread -L build/output
     [exec] cc -DNOSTACKTRACE src/Thread.c -g -o build/output/test/test1 src/../test/test1.c -lpaho-mqtt3c  -I src -lpthread -L build/output
     [exec] cc -DNOSTACKTRACE src/Thread.c -g -o build/output/test/test2 src/../test/test2.c -lpaho-mqtt3c  -I src -lpthread -L build/output
     [exec] cc -DNOSTACKTRACE src/Thread.c -g -o build/output/test/sync_client_test src/../test/sync_client_test.c -lpaho-mqtt3c  -I src -lpthread -L build/output
     [exec] cc -DNOSTACKTRACE src/Thread.c -g -o build/output/test/test_mqtt4sync src/../test/test_mqtt4sync.c -lpaho-mqtt3c  -I src -lpthread -L build/output
     [exec] cc -g -o build/output/test/test3 src/../test/test3.c -lpaho-mqtt3cs  -I src -Wl,--start-group -lpthread -lssl -lcrypto -Wl,--end-group -L build/output
     [exec] cc -g -o build/output/test/test4 src/../test/test4.c -lpaho-mqtt3a  -I src -lpthread -L build/output
     [exec] cc -g -o build/output/test/test9 src/../test/test9.c -lpaho-mqtt3a  -I src -lpthread -L build/output
     [exec] cc -g -o build/output/test/test_mqtt4async src/../test/test_mqtt4async.c -lpaho-mqtt3a  -I src -lpthread -L build/output
     [exec] cc -g -o build/output/test/test5 src/../test/test5.c -lpaho-mqtt3as  -I src -Wl,--start-group -lpthread -lssl -lcrypto -Wl,--end-group -L build/output

test:
     [exec] Python 2.7.9
Trying to override old definition of task for
Trying to override old definition of task for
     [echo] os.family is 'unix'

runAtest:
     [exec] 
     [exec] Setting connection to tcp://iot.eclipse.org:1883
     [exec] 20170717 054046.269 Starting test 1 - single threaded client using receive
     [exec] =========================================================
     [exec]                    Trace Output
     [exec] Product name: Paho Synchronous MQTT C Client Library
     [exec] Version: 1.2.0
     [exec] Build level: 201707170539
     [exec] /proc/version: Linux version 3.12.60-52.54-default (geeko@buildhost) (gcc version 4.8.5 (SUSE Linux) ) #1 SMP Sat Jun 25 06:22:00 UTC 2016 (e55cce6)
     [exec] 
     [exec] =========================================================
     [exec] 20170717 054111.548 Assertion failed, file src/../test/test1.c, line 319, description: Good rc from waitforCompletion
     [exec] 
     [exec] rc was -120170717 054115.884 TEST1: test failed. 407 tests run, 1 failures.
     [exec] 20170717 054115.884 Starting test 2 - multi-threaded client using callbacks
     [exec] =========================================================
     [exec]                    Trace Output
     [exec] Product name: Paho Synchronous MQTT C Client Library
     [exec] Version: 1.2.0
     [exec] Build level: 201707170539
     [exec] /proc/version: Linux version 3.12.60-52.54-default (geeko@buildhost) (gcc version 4.8.5 (SUSE Linux) ) #1 SMP Sat Jun 25 06:22:00 UTC 2016 (e55cce6)
     [exec] 
     [exec] =========================================================
     [exec] 20170717 054117.437 50 messages at QoS 0
     [exec] 20170717 054131.296 50 messages at QoS 1
     [exec] 20170717 054136.323 50 messages at QoS 2
     [exec] 20170717 054141.469 passed: test test2. 714 tests run, 0 failures.
     [exec] 20170717 054141.469 Starting test 3 - connack return codes
     [exec] =========================================================
     [exec]                    Trace Output
     [exec] Product name: Paho Synchronous MQTT C Client Library
     [exec] Version: 1.2.0
     [exec] Build level: 201707170539
     [exec] /proc/version: Linux version 3.12.60-52.54-default (geeko@buildhost) (gcc version 4.8.5 (SUSE Linux) ) #1 SMP Sat Jun 25 06:22:00 UTC 2016 (e55cce6)
     [exec] 
     [exec] =========================================================
     [exec] 20170717 054141.574 passed: test test3. 715 tests run, 0 failures.
     [exec] 20170717 054141.574 Starting test 4 - persistence, qos 1
     [exec] 20170717 054142.033 passed: test test 4. 735 tests run, 0 failures.
     [exec] 20170717 054142.033 Starting test 4 - persistence, qos 2
     [exec] 20170717 054142.505 passed: test test 4. 753 tests run, 0 failures.
     [exec] 20170717 054142.505 Starting test 5 - disconnect with quiesce timeout should allow exchanges to complete
     [exec] 20170717 054142.709 passed: test test 5. 761 tests run, 0 failures.
     [exec] 20170717 054142.709 Starting test 6 - connectionLost and will messages
     [exec] 20170717 054142.841 Connecting Client_2 ...
     [exec] 20170717 054143.859 Waiting to receive the will message
     [exec] Client-1 -> Callback: connection lost
     [exec] Client-2 -> Callback: message received on topic 'C Test 2: will topic' is 'will message from Client-1'.
     [exec] 20170717 054144.878 passed: test test6. 775 tests run, 0 failures.
     [exec] 
     [exec] 20170717 054144.879 Starting test 6 - connectionLost and binary will messages
     [exec] 20170717 054145.898 Connecting Client_2 ...
     [exec] 20170717 054146.916 Waiting to receive the will message
     [exec] Client-1 -> Callback: connection lost
     [exec] Client-2 -> Callback: message received on topic 'C Test 2: will topic' is 'will message from Client-1'.
     [exec] 20170717 054147.928 passed: test test6a. 789 tests run, 0 failures.
     [exec] 
     [exec] 20170717 054147.928 verdict fail

BUILD FAILED
/jobs/genie.paho/paho-c-develop/workspace/build.xml:102: The following error occurred while executing this line:
/jobs/genie.paho/paho-c-develop/workspace/build.xml:123: exec returned: 1

Total time: 1 minute 56 seconds
Recording test results
Sending e-mails to: icraggs@uk.ibm.com
Finished: FAILURE