Commit 1435ce9f authored by Federico Sismondi's avatar Federico Sismondi

Merge branch 'develop' of http://gitlab.f-interop.eu/f-interop-contributors/ioppytest into develop

parents 3adae7f4 c15cbfc3
Pipeline #3120 running with stage
in 0 seconds
......@@ -69,7 +69,7 @@ if(env.JOB_NAME =~ 'ioppytest-unitests-and-integration-tests/'){
git clone https://github.com/obgm/libcoap.git /tmp/libcoap_git
cd /tmp/libcoap_git
./autogen.sh
./configure --enable-examples --disable-doxygen --disable-manpages
./configure --enable-examples --disable-doxygen --disable-manpages --disable-dtls
sudo make
sudo make install
export PATH="/tmp/libcoap_gitgit/examples:$PATH"
......@@ -699,7 +699,7 @@ if(env.JOB_NAME =~ 'ioppytest-coap-implementation-continuous-testing-4/'){
}
}
stage("CONT_INTEROP_TESTS_3: Build docker images."){
stage("CONT_INTEROP_TESTS_4: Build docker images."){
gitlabCommitStatus("BUILD CoAP docker images") {
sh '''
sudo -E docker build --quiet -t automated_iut-coap_server-californium -f automation/coap_server_californium/Dockerfile .
......
This diff is collapsed.
......@@ -28,7 +28,9 @@ command = ioppytest-agent connect
user=root
stopsignal=INT
stopasgroup=true
autorestart=false
autorestart=true
startretries=3
startsecs=5
loglevel=debug
; for sending logs to docker
stdout_logfile=/dev/stdout
......
......@@ -28,7 +28,9 @@ command = ioppytest-agent connect
user=root
stopsignal=INT
stopasgroup=true
autorestart=false
autorestart=true
startretries=3
startsecs=5
loglevel=debug
; for sending logs to docker
stdout_logfile=/dev/stdout
......
......@@ -28,7 +28,9 @@ command = ioppytest-agent connect
user=root
stopsignal=INT
stopasgroup=true
autorestart=false
autorestart=true
startretries=3
startsecs=5
loglevel=debug
; for sending logs to docker
stdout_logfile=/dev/stdout
......
FROM ubuntu:17.10
FROM debian:stretch
MAINTAINER federico.sismondi@inria.fr
ENV DEBIAN_FRONTEND noninteractive
......@@ -50,7 +50,7 @@ RUN git clone https://github.com/obgm/libcoap.git
WORKDIR /ioppytest/automation/coap_client_libcoap/libcoap/libcoap
RUN ./autogen.sh
RUN ./configure --enable-examples --disable-doxygen --disable-manpages
RUN ./configure --enable-examples --disable-doxygen --disable-manpages --disable-dtls
RUN make
RUN make install
ENV PATH="/ioppytest/automation/coap_client_libcoap/libcoap/libcoap/examples:$PATH"
......
......@@ -28,7 +28,9 @@ command = ioppytest-agent connect
user=root
stopsignal=INT
stopasgroup=true
autorestart=false
autorestart=true
startretries=3
startsecs=5
loglevel=debug
; for sending logs to docker
stdout_logfile=/dev/stdout
......
......@@ -28,7 +28,9 @@ command = ioppytest-agent connect
user=root
stopsignal=INT
stopasgroup=true
autorestart=false
autorestart=true
startretries=3
startsecs=5
loglevel=debug
; for sending logs to docker
stdout_logfile=/dev/stdout
......
......@@ -28,7 +28,9 @@ command = ioppytest-agent connect
user=root
stopsignal=INT
stopasgroup=true
autorestart=false
autorestart=true
startretries=3
startsecs=5
loglevel=debug
; for sending logs to docker
stdout_logfile=/dev/stdout
......
......@@ -28,7 +28,9 @@ command = ioppytest-agent connect
user=root
stopsignal=INT
stopasgroup=true
autorestart=false
autorestart=true
startretries=3
startsecs=5
loglevel=debug
; for sending logs to docker
stdout_logfile=/dev/stdout
......
......@@ -28,7 +28,9 @@ command = ioppytest-agent connect
user=root
stopsignal=INT
stopasgroup=true
autorestart=false
autorestart=true
startretries=3
startsecs=5
loglevel=debug
; for sending logs to docker
stdout_logfile=/dev/stdout
......
......@@ -28,7 +28,9 @@ command = ioppytest-agent connect
user=root
stopsignal=INT
stopasgroup=true
autorestart=false
autorestart=true
startretries=3
startsecs=5
loglevel=debug
; for sending logs to docker
stdout_logfile=/dev/stdout
......
......@@ -28,7 +28,9 @@ command = ioppytest-agent connect
user=root
stopsignal=INT
stopasgroup=true
autorestart=false
autorestart=true
startretries=3
startsecs=5
loglevel=debug
; for sending logs to docker
stdout_logfile=/dev/stdout
......
......@@ -61,7 +61,9 @@ stderr_logfile_maxbytes=0
;user=root
;stopsignal=INT
;stopasgroup=true
;autorestart=false
;autorestart=true
;startretries=3
;startsecs=5
;loglevel=debug
;redirect_stderr=true
;stdout_logfile = /var/log/agent-stdout.log
......
......@@ -58,7 +58,9 @@ stdout_logfile_backups = 5
;user=root
;stopsignal=INT
;stopasgroup=true
;autorestart=false
;autorestart=true
;startretries=3
;startsecs=5
;loglevel=debug
;redirect_stderr=true
;stdout_logfile = /var/log/agent-stdout.log
......
......@@ -349,8 +349,15 @@ class Coordinator(CoordinatorAmqpInterface):
else:
error_msg += 'Response from Test Analyzer NOK: %s' % repr(tat_response)
logger.warning(error_msg)
gen_verdict = 'error'
gen_description = error_msg
# generate verdict and verdict description
try:
gen_description = tat_response.error_code
gen_verdict = 'inconclusive'
except AttributeError:
gen_description = error_msg
gen_verdict = 'error'
report = []
else:
error_msg += 'Error encountered with packet sniffer: %s' % repr(sniffer_response)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment