Commit e7a93531 authored by Ghada Gharbi's avatar Ghada Gharbi

update of automated cse

parent 03ed99cf
Pipeline #3134 failed with stage
in 0 seconds
......@@ -17,24 +17,18 @@ RUN python3 -m pip install --upgrade pip
# requirement for californium
RUN apt-get -y install default-jre --fix-missing
# install aux ioppytest packages
RUN python -m pip install ioppytest-agent
RUN python3 -m pip install ioppytest-utils
ADD . /ioppytest
ENV PATH="/ioppytest:$PATH"
WORKDIR /ioppytest
# install aux ioppytest packages
RUN python -m pip install ioppytest-agent
RUN python3 -m pip install ioppytest-utils
# requirements on automated-iut python code
RUN python3 -m pip install -r automation/requirements.txt
# temp PATCH for avoiding https://github.com/celery/py-amqp/issues/191
RUN python3 -m pip install -Iv amqp==2.2.2
RUN python -m pip install -Iv amqp==2.2.2
EXPOSE 5671 5672
# launch processes
CMD ["/usr/bin/supervisord", "--nodaemon", "--configuration", "automation/onem2m_cse_eclipse_om2m/supervisor.conf"]
......@@ -21,6 +21,7 @@ class onem2mServer(AutomatedIUT):
component_id = 'automated_iut-onem2m_server-eclipse_om2m'
node = 'cse'
process_log_file = os.path.join(TMPDIR, component_id + '.log')
implemented_testcases_list = []
iut_cmd = [
'sh',
......
......@@ -40,8 +40,24 @@ stderr_logfile_maxbytes=0
;stdout_logfile_maxbytes = 10MB
;stdout_logfile_backups = 5
[program:cse]
command = sh -c "sleep 9;chmod 777 automation/onem2m_cse_eclipse_om2m/in-cse/start.sh"
user=root
autorestart=false
stopsignal=INT
stopasgroup=true
loglevel=debug
; for sending logs to docker
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
;redirect_stderr=true
;stdout_logfile = /var/log/onem2m_cse-stdout.log
[program:automated-iut]
command = sh -c "sleep 9;chmod 777 automation/onem2m_cse_eclipse_om2m/in-cse/start.sh; /usr/bin/python3 -m automation.onem2m_cse_eclipse_om2m.automated_iut"
command = sh -c "sleep 10;/usr/bin/python3 -m automation.onem2m_cse_eclipse_om2m.automated_iut"
user=root
autorestart=true
startsecs=2
......
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