Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-362 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) $ ssh-agent SSH_AUTH_SOCK=/tmp/ssh-YKUCbs2K0LC3/agent.2153 SSH_AGENT_PID=2155 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite@tmp/private_key_3942017360498126255.key (/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite@tmp/private_key_3942017360498126255.key) [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) The recommended git tool is: NONE using credential onap-jenkins-ssh Wiping out workspace first. Cloning the remote Git repository Cloning repository git://cloud.onap.org/mirror/integration/csit.git > git init /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite # timeout=10 Fetching upstream changes from git://cloud.onap.org/mirror/integration/csit.git > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_SSH to set credentials Gerrit user Verifying host key using manually-configured host key entries > git fetch --tags --progress -- git://cloud.onap.org/mirror/integration/csit.git +refs/heads/*:refs/remotes/origin/* # timeout=30 > git config remote.origin.url git://cloud.onap.org/mirror/integration/csit.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision fdaed12d72e0f188795c6a59ca44f66b91858789 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f fdaed12d72e0f188795c6a59ca44f66b91858789 # timeout=30 Commit message: "[SO] SO release image for CSIT testing" > git rev-list --no-walk fdaed12d72e0f188795c6a59ca44f66b91858789 # timeout=10 provisioning config files... copy managed file [npmrc] to file:/home/jenkins/.npmrc copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf [dcaegen2-collectors-datafile-master-csit-Functional-suite] $ /bin/bash /tmp/jenkins4382863099185593599.sh ---> python-tools-install.sh Setup pyenv: * system (set by /opt/pyenv/version) * 3.8.13 (set by /opt/pyenv/version) * 3.9.13 (set by /opt/pyenv/version) * 3.10.6 (set by /opt/pyenv/version) lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-VWof lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-VWof/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.1 from /tmp/venv-VWof/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.1.6 aspy.yaml==1.3.0 attrs==23.1.0 autopage==0.5.2 Babel==2.13.1 beautifulsoup4==4.12.2 boto3==1.29.1 botocore==1.32.1 bs4==0.0.1 cachetools==5.3.2 certifi==2023.7.22 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.4.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.7 dnspython==2.4.2 docker==4.2.2 dogpile.cache==1.2.2 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.40 google-auth==2.23.4 httplib2==0.22.0 identify==2.5.31 idna==3.4 importlib-metadata==6.8.0 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.2 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.19.2 jsonschema-specifications==2023.11.1 keystoneauth1==5.3.0 kubernetes==28.1.0 lftools==0.37.8 lxml==4.9.3 MarkupSafe==2.1.3 msgpack==1.0.7 multi-key-dict==2.0.3 munch==4.0.0 netaddr==0.9.0 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==2.9.0 oslo.config==9.2.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.2.0 oslo.utils==6.3.0 packaging==23.2 pbr==6.0.0 platformdirs==3.11.0 prettytable==3.9.0 pyasn1==0.5.0 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.1.1 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.8.2 python-heatclient==3.3.0 python-jenkins==1.8.2 python-keystoneclient==5.2.0 python-magnumclient==4.2.0 python-novaclient==18.4.0 python-openstackclient==6.0.0 python-swiftclient==4.4.0 pytz==2023.3.post1 PyYAML==6.0.1 referencing==0.31.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.13.0 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.7.0 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.1.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.3 tqdm==4.66.1 typing_extensions==4.8.0 tzdata==2023.3 urllib3==1.26.18 virtualenv==20.24.6 wcwidth==0.2.10 websocket-client==1.6.4 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 zipp==3.17.0 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk11 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [dcaegen2-collectors-datafile-master-csit-Functional-suite] $ /bin/sh /tmp/jenkins12234613820092750107.sh ---> update-java-alternatives.sh ---> Updating Java version ---> Ubuntu/Debian system detected update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode openjdk version "11.0.16" 2022-07-19 OpenJDK Runtime Environment (build 11.0.16+8-post-Ubuntu-0ubuntu118.04) OpenJDK 64-Bit Server VM (build 11.0.16+8-post-Ubuntu-0ubuntu118.04, mixed mode) JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' [EnvInject] - Variables injected successfully. [dcaegen2-collectors-datafile-master-csit-Functional-suite] $ /bin/bash -l /tmp/jenkins11712429057523811975.sh + echo '---> install-robotframework-py3.sh' ---> install-robotframework-py3.sh + REQUIRED_PYTHON=3.7.0 + [[ -d /opt/pyenv ]] + echo 'Setup pyenv:' Setup pyenv: + export PYENV_ROOT=/opt/pyenv + PYENV_ROOT=/opt/pyenv + export PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + pyenv versions system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/.python-version) + command -v pyenv ++ pyenv init - --no-rehash + eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "'\''/opt/pyenv/shims'\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; fi; done; echo "${paths[*]}"'\'')" export PATH="/opt/pyenv/shims:${PATH}" export PYENV_SHELL=bash source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' pyenv() { local command command="${1:-}" if [ "$#" -gt 0 ]; then shift fi case "$command" in rehash|shell) eval "$(pyenv "sh-$command" "$@")" ;; *) command pyenv "$command" "$@" ;; esac }' +++ bash --norc -ec 'IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; fi; done; echo "${paths[*]}"' ++ PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ export PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ export PYENV_SHELL=bash ++ PYENV_SHELL=bash ++ source /opt/pyenv/libexec/../completions/pyenv.bash +++ complete -F _pyenv pyenv ++ pyenv versions --bare ++ local command ++ command=versions ++ '[' 2 -gt 0 ']' ++ shift ++ case "$command" in ++ command pyenv versions --bare ++ pyenv versions --bare ++ sed '/^[^0-9]/d' ++ sort -V ++ tail -n 1 + version=3.10.6 + pyenv local 3.10.6 + local command + command=local + '[' 2 -gt 0 ']' + shift + case "$command" in + command pyenv local 3.10.6 + pyenv local 3.10.6 ++ python3 --version ++ awk '{print $2}' + PYTHON_VERSION=3.10.6 + ver_ge 3.10.6 3.7.0 ++ ver_cmp 3.10.6 3.7.0 ++ local IFS=. ++ V1=($1) ++ V2=($2) ++ local V1 V2 I ++ (( I=0 )) ++ (( I<3 || I<3 )) ++ [[ 3 -lt 3 ]] ++ [[ 3 -gt 3 ]] ++ (( I++ )) ++ (( I<3 || I<3 )) ++ [[ 10 -lt 7 ]] ++ [[ 10 -gt 7 ]] ++ echo 1 ++ return + [[ ! 1 -eq -1 ]] + python3 -m robot.run --version + cat + [[ -f /home/jenkins/lf-env.sh ]] + echo 'Installing robot-framework using LF common tooling' Installing robot-framework using LF common tooling + source /home/jenkins/lf-env.sh + lf-activate-venv --python python3 --venv-file /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/.robot3_venv setuptools pip wheel ++ mktemp -d /tmp/venv-XXXX + lf_venv=/tmp/venv-toKf + local venv_file=/tmp/.os_lf_venv + local python=python3 + local options + local set_path=true + local install_args= ++ getopt -o np:v: -l no-path,system-site-packages,python:,venv-file: -n lf-activate-venv -- --python python3 --venv-file /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/.robot3_venv setuptools pip wheel + options=' --python '\''python3'\'' --venv-file '\''/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/.robot3_venv'\'' -- '\''setuptools'\'' '\''pip'\'' '\''wheel'\''' + eval set -- ' --python '\''python3'\'' --venv-file '\''/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/.robot3_venv'\'' -- '\''setuptools'\'' '\''pip'\'' '\''wheel'\''' ++ set -- --python python3 --venv-file /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/.robot3_venv -- setuptools pip wheel + true + case $1 in + python=python3 + shift 2 + true + case $1 in + venv_file=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/.robot3_venv + shift 2 + true + case $1 in + shift + break + case $python in + local pkg_list= + [[ -d /opt/pyenv ]] + echo 'Setup pyenv:' Setup pyenv: + export PYENV_ROOT=/opt/pyenv + PYENV_ROOT=/opt/pyenv + export PATH=/opt/pyenv/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + PATH=/opt/pyenv/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + pyenv versions + local command + command=versions + '[' 1 -gt 0 ']' + shift + case "$command" in + command pyenv versions + pyenv versions system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/.python-version) + command -v pyenv ++ pyenv init - --no-rehash ++ local command ++ command=init ++ '[' 3 -gt 0 ']' ++ shift ++ case "$command" in ++ command pyenv init - --no-rehash ++ pyenv init - --no-rehash + eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "'\''/opt/pyenv/shims'\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; fi; done; echo "${paths[*]}"'\'')" export PATH="/opt/pyenv/shims:${PATH}" export PYENV_SHELL=bash source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' pyenv() { local command command="${1:-}" if [ "$#" -gt 0 ]; then shift fi case "$command" in rehash|shell) eval "$(pyenv "sh-$command" "$@")" ;; *) command pyenv "$command" "$@" ;; esac }' +++ bash --norc -ec 'IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; fi; done; echo "${paths[*]}"' ++ PATH=/opt/pyenv/bin:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ export PATH=/opt/pyenv/shims:/opt/pyenv/bin:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ PATH=/opt/pyenv/shims:/opt/pyenv/bin:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ export PYENV_SHELL=bash ++ PYENV_SHELL=bash ++ source /opt/pyenv/libexec/../completions/pyenv.bash +++ complete -F _pyenv pyenv ++ lf-pyver python3 ++ local py_version_xy=python3 ++ local py_version_xyz= ++ pyenv versions ++ local command ++ command=versions ++ '[' 1 -gt 0 ']' ++ shift ++ case "$command" in ++ command pyenv versions ++ pyenv versions ++ sed 's/^[ *]* //' ++ grep -E '^[0-9.]*[0-9]$' ++ awk '{ print $1 }' ++ [[ ! -s /tmp/.pyenv_versions ]] +++ grep '^3' /tmp/.pyenv_versions +++ tail -n 1 +++ sort -V ++ py_version_xyz=3.10.6 ++ [[ -z 3.10.6 ]] ++ echo 3.10.6 ++ return 0 + pyenv local 3.10.6 + local command + command=local + '[' 2 -gt 0 ']' + shift + case "$command" in + command pyenv local 3.10.6 + pyenv local 3.10.6 + for arg in "$@" + case $arg in + pkg_list+='setuptools ' + for arg in "$@" + case $arg in + pkg_list+='pip ' + for arg in "$@" + case $arg in + pkg_list+='wheel ' + [[ -f /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/.robot3_venv ]] + [[ ! -f /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/.robot3_venv ]] + [[ -n '' ]] + python3 -m venv /tmp/venv-toKf + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-toKf' lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-toKf + echo /tmp/venv-toKf + echo 'lf-activate-venv(): INFO: Save venv in file: /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/.robot3_venv' lf-activate-venv(): INFO: Save venv in file: /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/.robot3_venv + /tmp/venv-toKf/bin/python3 -m pip install --upgrade --quiet pip virtualenv + [[ -z setuptools pip wheel ]] + echo 'lf-activate-venv(): INFO: Installing: setuptools pip wheel ' lf-activate-venv(): INFO: Installing: setuptools pip wheel + /tmp/venv-toKf/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager setuptools pip wheel + type python3 + true + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-toKf/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-toKf/bin to PATH + PATH=/tmp/venv-toKf/bin:/opt/pyenv/shims:/opt/pyenv/bin:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + return 0 + python3 -m pip install -r requirements.txt Collecting paramiko (from -r requirements.txt (line 1)) Downloading paramiko-3.3.1-py3-none-any.whl.metadata (4.4 kB) Collecting six (from -r requirements.txt (line 2)) Using cached six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting urllib3 (from -r requirements.txt (line 3)) Downloading urllib3-2.1.0-py3-none-any.whl.metadata (6.4 kB) Collecting docker-py (from -r requirements.txt (line 4)) Downloading docker_py-1.10.6-py2.py3-none-any.whl (50 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 50.0/50.0 kB 4.8 MB/s eta 0:00:00 Collecting ipaddr (from -r requirements.txt (line 5)) Downloading ipaddr-2.2.0.tar.gz (26 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting netaddr (from -r requirements.txt (line 6)) Using cached netaddr-0.9.0-py3-none-any.whl.metadata (5.1 kB) Collecting netifaces (from -r requirements.txt (line 7)) Using cached netifaces-0.11.0-cp310-cp310-linux_x86_64.whl Collecting pyhocon (from -r requirements.txt (line 8)) Downloading pyhocon-0.3.60.tar.gz (158 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 158.8/158.8 kB 19.1 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting requests (from -r requirements.txt (line 9)) Using cached requests-2.31.0-py3-none-any.whl.metadata (4.6 kB) Collecting selenium<4.6.0,>=4.0.0 (from -r requirements.txt (line 10)) Downloading selenium-4.5.0-py3-none-any.whl (995 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 995.2/995.2 kB 20.1 MB/s eta 0:00:00 Collecting robotframework (from -r requirements.txt (line 11)) Downloading robotframework-6.1.1-py3-none-any.whl.metadata (7.5 kB) Collecting robotframework-httplibrary (from -r requirements.txt (line 12)) Downloading robotframework-httplibrary-0.4.2.tar.gz (9.1 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting robotframework-requests==0.9.3 (from -r requirements.txt (line 13)) Downloading robotframework_requests-0.9.3-py3-none-any.whl (21 kB) Collecting robotframework-selenium2library (from -r requirements.txt (line 14)) Downloading robotframework_selenium2library-3.0.0-py2.py3-none-any.whl (6.2 kB) Collecting robotframework-sshlibrary (from -r requirements.txt (line 15)) Downloading robotframework-sshlibrary-3.8.0.tar.gz (51 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 51.4/51.4 kB 6.9 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting scapy (from -r requirements.txt (line 16)) Downloading scapy-2.5.0.tar.gz (1.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 52.9 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting jsonpath-rw (from -r requirements.txt (line 18)) Downloading jsonpath-rw-1.4.0.tar.gz (13 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting elasticsearch<8.0.0,>=7.0.0 (from -r requirements.txt (line 20)) Downloading elasticsearch-7.17.9-py2.py3-none-any.whl (385 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 386.0/386.0 kB 10.0 MB/s eta 0:00:00 Collecting elasticsearch-dsl (from -r requirements.txt (line 21)) Downloading elasticsearch_dsl-8.11.0-py3-none-any.whl.metadata (10 kB) Collecting pyangbind (from -r requirements.txt (line 23)) Downloading pyangbind-0.8.4.post1-py3-none-any.whl.metadata (4.2 kB) Collecting isodate (from -r requirements.txt (line 25)) Downloading isodate-0.6.1-py2.py3-none-any.whl (41 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.7/41.7 kB 4.3 MB/s eta 0:00:00 Collecting jmespath (from -r requirements.txt (line 27)) Using cached jmespath-1.0.1-py3-none-any.whl (20 kB) Collecting jsonpatch (from -r requirements.txt (line 29)) Using cached jsonpatch-1.33-py2.py3-none-any.whl.metadata (3.0 kB) Collecting pbr (from -r requirements.txt (line 30)) Using cached pbr-6.0.0-py2.py3-none-any.whl.metadata (1.3 kB) Collecting deepdiff (from -r requirements.txt (line 31)) Downloading deepdiff-6.7.1-py3-none-any.whl.metadata (6.1 kB) Collecting dnspython (from -r requirements.txt (line 32)) Using cached dnspython-2.4.2-py3-none-any.whl.metadata (4.9 kB) Collecting future (from -r requirements.txt (line 33)) Using cached future-0.18.3-py3-none-any.whl Collecting jinja2 (from -r requirements.txt (line 34)) Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB) Collecting kafka-python (from -r requirements.txt (line 35)) Downloading kafka_python-2.0.2-py2.py3-none-any.whl (246 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 246.5/246.5 kB 16.1 MB/s eta 0:00:00 Collecting protobuf (from -r requirements.txt (line 37)) Downloading protobuf-4.25.1-cp37-abi3-manylinux2014_x86_64.whl.metadata (541 bytes) Collecting pyyaml (from -r requirements.txt (line 38)) Using cached PyYAML-6.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB) Collecting robotlibcore-temp (from -r requirements.txt (line 39)) Downloading robotlibcore-temp-1.0.2.tar.gz (4.3 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting more-itertools (from -r requirements.txt (line 40)) Downloading more_itertools-10.1.0-py3-none-any.whl.metadata (33 kB) Collecting xvfbwrapper (from -r requirements.txt (line 41)) Downloading xvfbwrapper-0.2.9.tar.gz (5.6 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting PyVirtualDisplay (from -r requirements.txt (line 42)) Downloading PyVirtualDisplay-3.0-py3-none-any.whl (15 kB) Collecting odltools (from -r requirements.txt (line 48)) Downloading odltools-0.1.34-py2.py3-none-any.whl (215 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 215.1/215.1 kB 25.5 MB/s eta 0:00:00 Collecting bcrypt>=3.2 (from paramiko->-r requirements.txt (line 1)) Downloading bcrypt-4.0.1-cp36-abi3-manylinux_2_24_x86_64.whl (593 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 593.2/593.2 kB 13.4 MB/s eta 0:00:00 Collecting cryptography>=3.3 (from paramiko->-r requirements.txt (line 1)) Using cached cryptography-41.0.5-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.2 kB) Collecting pynacl>=1.5 (from paramiko->-r requirements.txt (line 1)) Using cached PyNaCl-1.5.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (856 kB) Collecting docker-pycreds>=0.2.1 (from docker-py->-r requirements.txt (line 4)) Downloading docker_pycreds-0.4.0-py2.py3-none-any.whl (9.0 kB) Collecting websocket-client>=0.32.0 (from docker-py->-r requirements.txt (line 4)) Using cached websocket_client-1.6.4-py3-none-any.whl.metadata (7.7 kB) Collecting pyparsing<4,>=2 (from pyhocon->-r requirements.txt (line 8)) Using cached pyparsing-3.1.1-py3-none-any.whl.metadata (5.1 kB) Collecting charset-normalizer<4,>=2 (from requests->-r requirements.txt (line 9)) Using cached charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (33 kB) Collecting idna<4,>=2.5 (from requests->-r requirements.txt (line 9)) Using cached idna-3.4-py3-none-any.whl (61 kB) Collecting certifi>=2017.4.17 (from requests->-r requirements.txt (line 9)) Using cached certifi-2023.7.22-py3-none-any.whl.metadata (2.2 kB) Collecting urllib3 (from -r requirements.txt (line 3)) Using cached urllib3-1.26.18-py2.py3-none-any.whl.metadata (48 kB) Collecting trio~=0.17 (from selenium<4.6.0,>=4.0.0->-r requirements.txt (line 10)) Downloading trio-0.23.1-py3-none-any.whl.metadata (4.9 kB) Collecting trio-websocket~=0.9 (from selenium<4.6.0,>=4.0.0->-r requirements.txt (line 10)) Downloading trio_websocket-0.11.1-py3-none-any.whl.metadata (4.7 kB) Collecting webtest>=2.0 (from robotframework-httplibrary->-r requirements.txt (line 12)) Downloading WebTest-3.0.0-py3-none-any.whl (31 kB) Collecting jsonpointer (from robotframework-httplibrary->-r requirements.txt (line 12)) Using cached jsonpointer-2.4-py2.py3-none-any.whl.metadata (2.5 kB) Collecting robotframework-seleniumlibrary>=3.0.0 (from robotframework-selenium2library->-r requirements.txt (line 14)) Downloading robotframework_seleniumlibrary-6.1.3-py2.py3-none-any.whl.metadata (15 kB) Collecting scp>=0.13.0 (from robotframework-sshlibrary->-r requirements.txt (line 15)) Downloading scp-0.14.5-py2.py3-none-any.whl (8.7 kB) Collecting ply (from jsonpath-rw->-r requirements.txt (line 18)) Downloading ply-3.11-py2.py3-none-any.whl (49 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 49.6/49.6 kB 5.8 MB/s eta 0:00:00 Collecting decorator (from jsonpath-rw->-r requirements.txt (line 18)) Using cached decorator-5.1.1-py3-none-any.whl (9.1 kB) Collecting python-dateutil (from elasticsearch-dsl->-r requirements.txt (line 21)) Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB) INFO: pip is looking at multiple versions of elasticsearch-dsl to determine which version is compatible with other requirements. This could take a while. Collecting elasticsearch-dsl (from -r requirements.txt (line 21)) Downloading elasticsearch_dsl-8.9.0-py3-none-any.whl.metadata (10 kB) Downloading elasticsearch_dsl-7.4.1-py2.py3-none-any.whl (64 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 64.1/64.1 kB 1.9 MB/s eta 0:00:00 Collecting pyang (from pyangbind->-r requirements.txt (line 23)) Downloading pyang-2.6.0-py2.py3-none-any.whl.metadata (818 bytes) Collecting lxml (from pyangbind->-r requirements.txt (line 23)) Using cached lxml-4.9.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl.metadata (3.8 kB) Collecting regex (from pyangbind->-r requirements.txt (line 23)) Downloading regex-2023.10.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (40 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.9/40.9 kB 4.6 MB/s eta 0:00:00 Collecting enum34 (from pyangbind->-r requirements.txt (line 23)) Downloading enum34-1.1.10-py3-none-any.whl (11 kB) Collecting ordered-set<4.2.0,>=4.0.2 (from deepdiff->-r requirements.txt (line 31)) Downloading ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting MarkupSafe>=2.0 (from jinja2->-r requirements.txt (line 34)) Using cached MarkupSafe-2.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.0 kB) Collecting requests (from -r requirements.txt (line 9)) Downloading requests-2.19.1-py2.py3-none-any.whl (91 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 92.0/92.0 kB 11.4 MB/s eta 0:00:00 Collecting chardet<3.1.0,>=3.0.2 (from requests->-r requirements.txt (line 9)) Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.4/133.4 kB 15.0 MB/s eta 0:00:00 Collecting idna<2.8,>=2.5 (from requests->-r requirements.txt (line 9)) Downloading idna-2.7-py2.py3-none-any.whl (58 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.2/58.2 kB 6.8 MB/s eta 0:00:00 INFO: pip is looking at multiple versions of requests to determine which version is compatible with other requirements. This could take a while. Collecting odltools (from -r requirements.txt (line 48)) Downloading odltools-0.1.33-py2.py3-none-any.whl (211 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 212.0/212.0 kB 17.2 MB/s eta 0:00:00 Downloading odltools-0.1.32-py2.py3-none-any.whl (201 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 201.4/201.4 kB 24.6 MB/s eta 0:00:00 Downloading odltools-0.1.31-py2.py3-none-any.whl (201 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 201.2/201.2 kB 24.0 MB/s eta 0:00:00 Downloading odltools-0.1.30-py2.py3-none-any.whl (201 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 201.1/201.1 kB 24.9 MB/s eta 0:00:00 Downloading odltools-0.1.29-py2.py3-none-any.whl (207 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 207.5/207.5 kB 24.5 MB/s eta 0:00:00 Downloading odltools-0.1.28-py2.py3-none-any.whl (204 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 205.0/205.0 kB 25.5 MB/s eta 0:00:00 Collecting cffi>=1.12 (from cryptography>=3.3->paramiko->-r requirements.txt (line 1)) Using cached cffi-1.16.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (1.5 kB) Collecting robotframework-pythonlibcore>=3.0.0 (from robotframework-seleniumlibrary>=3.0.0->robotframework-selenium2library->-r requirements.txt (line 14)) Downloading robotframework_pythonlibcore-4.2.0-py2.py3-none-any.whl.metadata (6.0 kB) Collecting attrs>=20.1.0 (from trio~=0.17->selenium<4.6.0,>=4.0.0->-r requirements.txt (line 10)) Using cached attrs-23.1.0-py3-none-any.whl (61 kB) Collecting sortedcontainers (from trio~=0.17->selenium<4.6.0,>=4.0.0->-r requirements.txt (line 10)) Downloading sortedcontainers-2.4.0-py2.py3-none-any.whl (29 kB) Collecting outcome (from trio~=0.17->selenium<4.6.0,>=4.0.0->-r requirements.txt (line 10)) Downloading outcome-1.3.0.post0-py2.py3-none-any.whl.metadata (2.6 kB) Collecting sniffio>=1.3.0 (from trio~=0.17->selenium<4.6.0,>=4.0.0->-r requirements.txt (line 10)) Downloading sniffio-1.3.0-py3-none-any.whl (10 kB) Collecting exceptiongroup>=1.0.0rc9 (from trio~=0.17->selenium<4.6.0,>=4.0.0->-r requirements.txt (line 10)) Downloading exceptiongroup-1.1.3-py3-none-any.whl.metadata (6.1 kB) Collecting wsproto>=0.14 (from trio-websocket~=0.9->selenium<4.6.0,>=4.0.0->-r requirements.txt (line 10)) Downloading wsproto-1.2.0-py3-none-any.whl (24 kB) Collecting PySocks!=1.5.7,<2.0,>=1.5.6 (from urllib3[socks]~=1.26->selenium<4.6.0,>=4.0.0->-r requirements.txt (line 10)) Downloading PySocks-1.7.1-py3-none-any.whl (16 kB) Collecting WebOb>=1.2 (from webtest>=2.0->robotframework-httplibrary->-r requirements.txt (line 12)) Downloading WebOb-1.8.7-py2.py3-none-any.whl (114 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 115.0/115.0 kB 3.0 MB/s eta 0:00:00 Collecting waitress>=0.8.5 (from webtest>=2.0->robotframework-httplibrary->-r requirements.txt (line 12)) Downloading waitress-2.1.2-py3-none-any.whl (57 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.7/57.7 kB 5.3 MB/s eta 0:00:00 Collecting beautifulsoup4 (from webtest>=2.0->robotframework-httplibrary->-r requirements.txt (line 12)) Using cached beautifulsoup4-4.12.2-py3-none-any.whl (142 kB) Collecting pycparser (from cffi>=1.12->cryptography>=3.3->paramiko->-r requirements.txt (line 1)) Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB) Collecting h11<1,>=0.9.0 (from wsproto>=0.14->trio-websocket~=0.9->selenium<4.6.0,>=4.0.0->-r requirements.txt (line 10)) Downloading h11-0.14.0-py3-none-any.whl (58 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.3/58.3 kB 7.4 MB/s eta 0:00:00 Collecting soupsieve>1.2 (from beautifulsoup4->webtest>=2.0->robotframework-httplibrary->-r requirements.txt (line 12)) Using cached soupsieve-2.5-py3-none-any.whl.metadata (4.7 kB) Downloading paramiko-3.3.1-py3-none-any.whl (224 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 224.8/224.8 kB 25.6 MB/s eta 0:00:00 Using cached netaddr-0.9.0-py3-none-any.whl (2.2 MB) Using cached requests-2.31.0-py3-none-any.whl (62 kB) Using cached urllib3-1.26.18-py2.py3-none-any.whl (143 kB) Downloading robotframework-6.1.1-py3-none-any.whl (699 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 699.1/699.1 kB 18.4 MB/s eta 0:00:00 Downloading pyangbind-0.8.4.post1-py3-none-any.whl (52 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 52.8/52.8 kB 6.8 MB/s eta 0:00:00 Using cached jsonpatch-1.33-py2.py3-none-any.whl (12 kB) Using cached pbr-6.0.0-py2.py3-none-any.whl (107 kB) Downloading deepdiff-6.7.1-py3-none-any.whl (76 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 76.6/76.6 kB 10.3 MB/s eta 0:00:00 Using cached dnspython-2.4.2-py3-none-any.whl (300 kB) Downloading protobuf-4.25.1-cp37-abi3-manylinux2014_x86_64.whl (294 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 294.6/294.6 kB 27.2 MB/s eta 0:00:00 Using cached PyYAML-6.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (705 kB) Downloading more_itertools-10.1.0-py3-none-any.whl (55 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 55.8/55.8 kB 7.1 MB/s eta 0:00:00 Using cached certifi-2023.7.22-py3-none-any.whl (158 kB) Using cached charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (142 kB) Using cached cryptography-41.0.5-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.4 MB) Using cached jsonpointer-2.4-py2.py3-none-any.whl (7.8 kB) Using cached MarkupSafe-2.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB) Using cached pyparsing-3.1.1-py3-none-any.whl (103 kB) Downloading robotframework_seleniumlibrary-6.1.3-py2.py3-none-any.whl (95 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 95.3/95.3 kB 3.4 MB/s eta 0:00:00 Downloading trio-0.23.1-py3-none-any.whl (448 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 448.3/448.3 kB 27.4 MB/s eta 0:00:00 Downloading trio_websocket-0.11.1-py3-none-any.whl (17 kB) Using cached websocket_client-1.6.4-py3-none-any.whl (57 kB) Using cached lxml-4.9.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (7.0 MB) Downloading pyang-2.6.0-py2.py3-none-any.whl (594 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 594.1/594.1 kB 32.0 MB/s eta 0:00:00 Downloading regex-2023.10.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (773 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 773.9/773.9 kB 62.0 MB/s eta 0:00:00 Using cached cffi-1.16.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (443 kB) Downloading exceptiongroup-1.1.3-py3-none-any.whl (14 kB) Downloading robotframework_pythonlibcore-4.2.0-py2.py3-none-any.whl (10 kB) Downloading outcome-1.3.0.post0-py2.py3-none-any.whl (10 kB) Using cached soupsieve-2.5-py3-none-any.whl (36 kB) Building wheels for collected packages: ipaddr, pyhocon, robotframework-httplibrary, robotframework-sshlibrary, scapy, jsonpath-rw, robotlibcore-temp, xvfbwrapper Building wheel for ipaddr (setup.py): started Building wheel for ipaddr (setup.py): finished with status 'done' Created wheel for ipaddr: filename=ipaddr-2.2.0-py3-none-any.whl size=18280 sha256=3ba080890a59f406f605712d4e72c2acb3d5cec228986fe18ecd40d0d6fabd5d Stored in directory: /home/jenkins/.cache/pip/wheels/c2/49/2d/2e543df29f26e139e69ead8af8a4aa151513e17fd48830b3c4 Building wheel for pyhocon (setup.py): started Building wheel for pyhocon (setup.py): finished with status 'done' Created wheel for pyhocon: filename=pyhocon-0.3.60-py3-none-any.whl size=20867 sha256=7dc8c399eee215507bae35fe1de2129ae0b0b70b1061dcd441c4a978793e1570 Stored in directory: /home/jenkins/.cache/pip/wheels/32/79/47/98ab23fa895daa293e4dd4ce43e581c035ca15e908a2d94104 Building wheel for robotframework-httplibrary (setup.py): started Building wheel for robotframework-httplibrary (setup.py): finished with status 'done' Created wheel for robotframework-httplibrary: filename=robotframework_httplibrary-0.4.2-py3-none-any.whl size=9954 sha256=99148fea8c0acce41737e911e93a4147c3ccee5ae029657b01ef6b1295407c72 Stored in directory: /home/jenkins/.cache/pip/wheels/00/55/49/5667e381ef7ebce1dd216ad11c483460e44182b2472f6d7f86 Building wheel for robotframework-sshlibrary (setup.py): started Building wheel for robotframework-sshlibrary (setup.py): finished with status 'done' Created wheel for robotframework-sshlibrary: filename=robotframework_sshlibrary-3.8.0-py3-none-any.whl size=55117 sha256=104d6f128b69658f3667bd1b255c13c5230d8363137fc05f5179e1fb52e758e8 Stored in directory: /home/jenkins/.cache/pip/wheels/8b/f5/7b/3772f9fe5bb34d9fbbe2d4ca30dcca67d741526f00adc15b30 Building wheel for scapy (setup.py): started Building wheel for scapy (setup.py): finished with status 'done' Created wheel for scapy: filename=scapy-2.5.0-py2.py3-none-any.whl size=1444330 sha256=a758ba86ae7483efac5f2b8d5070378c855aa2b19db855ed1abc8a4bc407ee2a Stored in directory: /home/jenkins/.cache/pip/wheels/82/b7/03/8344d8cf6695624746311bc0d389e9d05535ca83c35f90241d Building wheel for jsonpath-rw (setup.py): started Building wheel for jsonpath-rw (setup.py): finished with status 'done' Created wheel for jsonpath-rw: filename=jsonpath_rw-1.4.0-py3-none-any.whl size=15128 sha256=0721eff0d5d27d5e7d512128dc7063307045a615617d135e4a1de61625ae7035 Stored in directory: /home/jenkins/.cache/pip/wheels/e3/76/6f/c25be6a9e6cc9985b96e8c95997d46790242c6426ef68e754c Building wheel for robotlibcore-temp (setup.py): started Building wheel for robotlibcore-temp (setup.py): finished with status 'done' Created wheel for robotlibcore-temp: filename=robotlibcore_temp-1.0.2-py3-none-any.whl size=4720 sha256=16bf07587a12f1d183073ded803333f1dc5f9177e11a2c7d380c9b02c3711642 Stored in directory: /home/jenkins/.cache/pip/wheels/3c/e9/6c/ef1ed0fb63dec90e4d263f5461cadc73cae9b2d472a219baff Building wheel for xvfbwrapper (setup.py): started Building wheel for xvfbwrapper (setup.py): finished with status 'done' Created wheel for xvfbwrapper: filename=xvfbwrapper-0.2.9-py3-none-any.whl size=5008 sha256=e9808d592cd3521a39ecb310a122dd1626772da9fdf8e07f3c084c024c4b175e Stored in directory: /home/jenkins/.cache/pip/wheels/cb/10/7d/2b7fdffccf837f7d5425931575fbee9caebe2c190931f9058b Successfully built ipaddr pyhocon robotframework-httplibrary robotframework-sshlibrary scapy jsonpath-rw robotlibcore-temp xvfbwrapper Installing collected packages: xvfbwrapper, sortedcontainers, robotlibcore-temp, PyVirtualDisplay, ply, netifaces, netaddr, kafka-python, ipaddr, enum34, websocket-client, WebOb, waitress, urllib3, soupsieve, sniffio, six, scapy, robotframework-pythonlibcore, robotframework, regex, pyyaml, PySocks, pyparsing, pycparser, protobuf, pbr, ordered-set, more-itertools, MarkupSafe, lxml, jsonpointer, jmespath, idna, h11, future, exceptiongroup, dnspython, decorator, charset-normalizer, certifi, bcrypt, attrs, wsproto, requests, python-dateutil, pyhocon, pyang, outcome, jsonpath-rw, jsonpatch, jinja2, isodate, elasticsearch, docker-pycreds, deepdiff, cffi, beautifulsoup4, webtest, trio, robotframework-requests, pynacl, pyangbind, odltools, elasticsearch-dsl, docker-py, cryptography, trio-websocket, robotframework-httplibrary, paramiko, selenium, scp, robotframework-sshlibrary, robotframework-seleniumlibrary, robotframework-selenium2library Successfully installed MarkupSafe-2.1.3 PySocks-1.7.1 PyVirtualDisplay-3.0 WebOb-1.8.7 attrs-23.1.0 bcrypt-4.0.1 beautifulsoup4-4.12.2 certifi-2023.7.22 cffi-1.16.0 charset-normalizer-3.3.2 cryptography-41.0.5 decorator-5.1.1 deepdiff-6.7.1 dnspython-2.4.2 docker-py-1.10.6 docker-pycreds-0.4.0 elasticsearch-7.17.9 elasticsearch-dsl-7.4.1 enum34-1.1.10 exceptiongroup-1.1.3 future-0.18.3 h11-0.14.0 idna-3.4 ipaddr-2.2.0 isodate-0.6.1 jinja2-3.1.2 jmespath-1.0.1 jsonpatch-1.33 jsonpath-rw-1.4.0 jsonpointer-2.4 kafka-python-2.0.2 lxml-4.9.3 more-itertools-10.1.0 netaddr-0.9.0 netifaces-0.11.0 odltools-0.1.28 ordered-set-4.1.0 outcome-1.3.0.post0 paramiko-3.3.1 pbr-6.0.0 ply-3.11 protobuf-4.25.1 pyang-2.6.0 pyangbind-0.8.4.post1 pycparser-2.21 pyhocon-0.3.60 pynacl-1.5.0 pyparsing-3.1.1 python-dateutil-2.8.2 pyyaml-6.0.1 regex-2023.10.3 requests-2.31.0 robotframework-6.1.1 robotframework-httplibrary-0.4.2 robotframework-pythonlibcore-4.2.0 robotframework-requests-0.9.3 robotframework-selenium2library-3.0.0 robotframework-seleniumlibrary-6.1.3 robotframework-sshlibrary-3.8.0 robotlibcore-temp-1.0.2 scapy-2.5.0 scp-0.14.5 selenium-4.5.0 six-1.16.0 sniffio-1.3.0 sortedcontainers-2.4.0 soupsieve-2.5 trio-0.23.1 trio-websocket-0.11.1 urllib3-1.26.18 waitress-2.1.2 websocket-client-1.6.4 webtest-3.0.0 wsproto-1.2.0 xvfbwrapper-0.2.9 ++ cat /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/.robot3_venv + ROBOT3_VENV=/tmp/venv-toKf + echo ROBOT3_VENV=/tmp/venv-toKf + python3 --version Python 3.10.6 + python3 -m pip freeze attrs==23.1.0 bcrypt==4.0.1 beautifulsoup4==4.12.2 certifi==2023.7.22 cffi==1.16.0 charset-normalizer==3.3.2 cryptography==41.0.5 decorator==5.1.1 deepdiff==6.7.1 distlib==0.3.7 dnspython==2.4.2 docker-py==1.10.6 docker-pycreds==0.4.0 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 exceptiongroup==1.1.3 filelock==3.13.1 future==0.18.3 h11==0.14.0 idna==3.4 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.1.2 jmespath==1.0.1 jsonpatch==1.33 jsonpath-rw==1.4.0 jsonpointer==2.4 kafka-python==2.0.2 lxml==4.9.3 MarkupSafe==2.1.3 more-itertools==10.1.0 netaddr==0.9.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.1.0 outcome==1.3.0.post0 paramiko==3.3.1 pbr==6.0.0 platformdirs==3.11.0 ply==3.11 protobuf==4.25.1 pyang==2.6.0 pyangbind==0.8.4.post1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 PySocks==1.7.1 python-dateutil==2.8.2 PyVirtualDisplay==3.0 PyYAML==6.0.1 regex==2023.10.3 requests==2.31.0 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-pythonlibcore==4.2.0 robotframework-requests==0.9.3 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==6.1.3 robotframework-sshlibrary==3.8.0 robotlibcore-temp==1.0.2 scapy==2.5.0 scp==0.14.5 selenium==4.5.0 six==1.16.0 sniffio==1.3.0 sortedcontainers==2.4.0 soupsieve==2.5 trio==0.23.1 trio-websocket==0.11.1 urllib3==1.26.18 virtualenv==20.24.6 waitress==2.1.2 WebOb==1.8.7 websocket-client==1.6.4 WebTest==3.0.0 wsproto==1.2.0 xvfbwrapper==0.2.9 + python3 -m robot.run --version Robot Framework 6.1.1 (Python 3.10.6 on linux) + : [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties file path 'env.properties' [EnvInject] - Variables injected successfully. [dcaegen2-collectors-datafile-master-csit-Functional-suite] $ /bin/sh -xe /tmp/jenkins2119304151189027050.sh + git clone https://gerrit.onap.org/r/ci-management /tmp/ci-management Cloning into '/tmp/ci-management'... + cp /tmp/ci-management/jjb/integration/prepare-csit.sh /tmp/ci-management/jjb/integration/run-csit.sh /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite + /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/run-csit.sh plans/dcaegen2-collectors-datafile/Functional-suite + echo '---> run-csit.sh' ---> run-csit.sh + trap on_exit EXIT + harden_set + set -xeo pipefail + set +u + save_set + RUN_CSIT_SAVE_SET=ehxB + RUN_CSIT_SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:pipefail:xtrace + '[' 1 -eq 0 ']' + '[' -z /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite ']' + '[' -f /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/plans/dcaegen2-collectors-datafile/Functional-suite/testplan.txt ']' + export TESTPLAN=plans/dcaegen2-collectors-datafile/Functional-suite + TESTPLAN=plans/dcaegen2-collectors-datafile/Functional-suite + export TESTOPTIONS= + TESTOPTIONS= + rm -rf /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/plans/dcaegen2-collectors-datafile/Functional-suite + mkdir -p /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/plans/dcaegen2-collectors-datafile/Functional-suite + TESTPLANDIR=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/plans/dcaegen2-collectors-datafile/Functional-suite + source_safely /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/prepare-csit.sh + '[' -z /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/prepare-csit.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/prepare-csit.sh ++ echo '---> prepare-csit.sh' ---> prepare-csit.sh ++ set -exo pipefail ++ ROBOT_INSTALLER=include-raw-integration-install-robotframework-py3.sh +++ id -un ++ REQ_USER=jenkins ++ which git ++ [[ -z /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite ]] ++ TESTPLANDIR=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/plans/dcaegen2-collectors-datafile/Functional-suite ++ [[ -d /opt/pyenv ]] ++ echo 'Setup pyenv:' Setup pyenv: ++ export PYENV_ROOT=/opt/pyenv ++ PYENV_ROOT=/opt/pyenv ++ export PATH=/opt/pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin ++ PATH=/opt/pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin ++ pyenv versions system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/.python-version) ++ command -v pyenv +++ pyenv init - --no-rehash ++ eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "'\''/opt/pyenv/shims'\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; fi; done; echo "${paths[*]}"'\'')" export PATH="/opt/pyenv/shims:${PATH}" export PYENV_SHELL=bash source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' pyenv() { local command command="${1:-}" if [ "$#" -gt 0 ]; then shift fi case "$command" in rehash|shell) eval "$(pyenv "sh-$command" "$@")" ;; *) command pyenv "$command" "$@" ;; esac }' ++++ bash --norc -ec 'IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; fi; done; echo "${paths[*]}"' +++ PATH=/opt/pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin +++ export PATH=/opt/pyenv/shims:/opt/pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin +++ PATH=/opt/pyenv/shims:/opt/pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin +++ export PYENV_SHELL=bash +++ PYENV_SHELL=bash +++ source /opt/pyenv/libexec/../completions/pyenv.bash ++++ complete -F _pyenv pyenv +++ pyenv versions --bare +++ local command +++ command=versions +++ '[' 2 -gt 0 ']' +++ sed '/^[^0-9]/d' +++ shift +++ case "$command" in +++ command pyenv versions --bare +++ pyenv versions --bare +++ sort -V +++ tail -n 1 ++ version=3.10.6 ++ pyenv local 3.10.6 ++ local command ++ command=local ++ '[' 2 -gt 0 ']' ++ shift ++ case "$command" in ++ command pyenv local 3.10.6 ++ pyenv local 3.10.6 ++ [[ -f /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/env.properties ]] ++ source /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/env.properties +++ ROBOT3_VENV=/tmp/venv-toKf ++ [[ -f /tmp/venv-toKf/bin/activate ]] ++ source /tmp/venv-toKf/bin/activate +++ deactivate nondestructive +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r +++ '[' -n '' ']' +++ unset VIRTUAL_ENV +++ unset VIRTUAL_ENV_PROMPT +++ '[' '!' nondestructive = nondestructive ']' +++ VIRTUAL_ENV=/tmp/venv-toKf +++ export VIRTUAL_ENV +++ _OLD_VIRTUAL_PATH=/opt/pyenv/shims:/opt/pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin +++ PATH=/tmp/venv-toKf/bin:/opt/pyenv/shims:/opt/pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin +++ export PATH +++ '[' -n '' ']' +++ '[' -z '' ']' +++ _OLD_VIRTUAL_PS1= +++ PS1='(venv-toKf) ' +++ export PS1 +++ VIRTUAL_ENV_PROMPT='(venv-toKf) ' +++ export VIRTUAL_ENV_PROMPT +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r ++ mkdir -p /tmp/venv-toKf/src/onap ++ rm -rf /tmp/venv-toKf/src/onap/testsuite ++ python3 -m pip install --upgrade --extra-index-url=https://nexus3.onap.org/repository/PyPi.staging/simple robotframework-onap==11.0.0.dev17 --pre Looking in indexes: https://pypi.org/simple, https://nexus3.onap.org/repository/PyPi.staging/simple Collecting robotframework-onap==11.0.0.dev17 Downloading https://nexus3.onap.org/repository/PyPi.staging/packages/robotframework-onap/11.0.0.dev17/robotframework_onap-11.0.0.dev17-py2.py3-none-any.whl (59 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 59.1/59.1 kB 158.4 kB/s eta 0:00:00 Requirement already satisfied: pbr in /tmp/venv-toKf/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (6.0.0) Requirement already satisfied: deepdiff in /tmp/venv-toKf/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (6.7.1) Requirement already satisfied: dnspython in /tmp/venv-toKf/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (2.4.2) Requirement already satisfied: future in /tmp/venv-toKf/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (0.18.3) Requirement already satisfied: jinja2 in /tmp/venv-toKf/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (3.1.2) Requirement already satisfied: jsonpath-rw in /tmp/venv-toKf/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (1.4.0) Requirement already satisfied: kafka-python in /tmp/venv-toKf/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (2.0.2) Requirement already satisfied: paramiko in /tmp/venv-toKf/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (3.3.1) Requirement already satisfied: protobuf in /tmp/venv-toKf/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (4.25.1) Requirement already satisfied: pyyaml in /tmp/venv-toKf/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (6.0.1) Requirement already satisfied: requests in /tmp/venv-toKf/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (2.31.0) Requirement already satisfied: robotframework-requests==0.9.3 in /tmp/venv-toKf/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (0.9.3) Requirement already satisfied: robotlibcore-temp in /tmp/venv-toKf/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (1.0.2) Requirement already satisfied: six in /tmp/venv-toKf/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (1.16.0) Requirement already satisfied: urllib3 in /tmp/venv-toKf/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (1.26.18) Requirement already satisfied: more-itertools in /tmp/venv-toKf/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (10.1.0) Requirement already satisfied: robotframework in /tmp/venv-toKf/lib/python3.10/site-packages (from robotframework-requests==0.9.3->robotframework-onap==11.0.0.dev17) (6.1.1) Requirement already satisfied: ordered-set<4.2.0,>=4.0.2 in /tmp/venv-toKf/lib/python3.10/site-packages (from deepdiff->robotframework-onap==11.0.0.dev17) (4.1.0) Requirement already satisfied: MarkupSafe>=2.0 in /tmp/venv-toKf/lib/python3.10/site-packages (from jinja2->robotframework-onap==11.0.0.dev17) (2.1.3) Requirement already satisfied: ply in /tmp/venv-toKf/lib/python3.10/site-packages (from jsonpath-rw->robotframework-onap==11.0.0.dev17) (3.11) Requirement already satisfied: decorator in /tmp/venv-toKf/lib/python3.10/site-packages (from jsonpath-rw->robotframework-onap==11.0.0.dev17) (5.1.1) Requirement already satisfied: bcrypt>=3.2 in /tmp/venv-toKf/lib/python3.10/site-packages (from paramiko->robotframework-onap==11.0.0.dev17) (4.0.1) Requirement already satisfied: cryptography>=3.3 in /tmp/venv-toKf/lib/python3.10/site-packages (from paramiko->robotframework-onap==11.0.0.dev17) (41.0.5) Requirement already satisfied: pynacl>=1.5 in /tmp/venv-toKf/lib/python3.10/site-packages (from paramiko->robotframework-onap==11.0.0.dev17) (1.5.0) Requirement already satisfied: charset-normalizer<4,>=2 in /tmp/venv-toKf/lib/python3.10/site-packages (from requests->robotframework-onap==11.0.0.dev17) (3.3.2) Requirement already satisfied: idna<4,>=2.5 in /tmp/venv-toKf/lib/python3.10/site-packages (from requests->robotframework-onap==11.0.0.dev17) (3.4) Requirement already satisfied: certifi>=2017.4.17 in /tmp/venv-toKf/lib/python3.10/site-packages (from requests->robotframework-onap==11.0.0.dev17) (2023.7.22) Requirement already satisfied: cffi>=1.12 in /tmp/venv-toKf/lib/python3.10/site-packages (from cryptography>=3.3->paramiko->robotframework-onap==11.0.0.dev17) (1.16.0) Requirement already satisfied: pycparser in /tmp/venv-toKf/lib/python3.10/site-packages (from cffi>=1.12->cryptography>=3.3->paramiko->robotframework-onap==11.0.0.dev17) (2.21) Installing collected packages: robotframework-onap Successfully installed robotframework-onap-11.0.0.dev17 ++ echo 'Versioning information:' Versioning information: ++ python3 --version Python 3.10.6 ++ pip freeze attrs==23.1.0 bcrypt==4.0.1 beautifulsoup4==4.12.2 certifi==2023.7.22 cffi==1.16.0 charset-normalizer==3.3.2 cryptography==41.0.5 decorator==5.1.1 deepdiff==6.7.1 distlib==0.3.7 dnspython==2.4.2 docker-py==1.10.6 docker-pycreds==0.4.0 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 exceptiongroup==1.1.3 filelock==3.13.1 future==0.18.3 h11==0.14.0 idna==3.4 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.1.2 jmespath==1.0.1 jsonpatch==1.33 jsonpath-rw==1.4.0 jsonpointer==2.4 kafka-python==2.0.2 lxml==4.9.3 MarkupSafe==2.1.3 more-itertools==10.1.0 netaddr==0.9.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.1.0 outcome==1.3.0.post0 paramiko==3.3.1 pbr==6.0.0 platformdirs==3.11.0 ply==3.11 protobuf==4.25.1 pyang==2.6.0 pyangbind==0.8.4.post1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 PySocks==1.7.1 python-dateutil==2.8.2 PyVirtualDisplay==3.0 PyYAML==6.0.1 regex==2023.10.3 requests==2.31.0 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-onap==11.0.0.dev17 robotframework-pythonlibcore==4.2.0 robotframework-requests==0.9.3 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==6.1.3 robotframework-sshlibrary==3.8.0 robotlibcore-temp==1.0.2 scapy==2.5.0 scp==0.14.5 selenium==4.5.0 six==1.16.0 sniffio==1.3.0 sortedcontainers==2.4.0 soupsieve==2.5 trio==0.23.1 trio-websocket==0.11.1 urllib3==1.26.18 virtualenv==20.24.6 waitress==2.1.2 WebOb==1.8.7 websocket-client==1.6.4 WebTest==3.0.0 wsproto==1.2.0 xvfbwrapper==0.2.9 ++ python3 -m robot.run --version Robot Framework 6.1.1 (Python 3.10.6 on linux) ++ : + load_set + _setopts=ehxB ++ echo braceexpand:hashall:interactive-comments:pipefail:xtrace ++ tr : ' ' + for i in $(echo "$SHELLOPTS" | tr ':' ' ') + set +o braceexpand + for i in $(echo "$SHELLOPTS" | tr ':' ' ') + set +o hashall + for i in $(echo "$SHELLOPTS" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "$SHELLOPTS" | tr ':' ' ') + set +o pipefail + for i in $(echo "$SHELLOPTS" | tr ':' ' ') + set +o xtrace ++ echo ehxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +e + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + source_safely /tmp/venv-toKf/bin/activate + '[' -z /tmp/venv-toKf/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/venv-toKf/bin/activate ++ deactivate nondestructive ++ '[' -n /opt/pyenv/shims:/opt/pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin ']' ++ PATH=/opt/pyenv/shims:/opt/pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin ++ export PATH ++ unset _OLD_VIRTUAL_PATH ++ '[' -n '' ']' ++ '[' -n /bin/bash -o -n '' ']' ++ hash -r ++ '[' -n '' ']' ++ unset VIRTUAL_ENV ++ unset VIRTUAL_ENV_PROMPT ++ '[' '!' nondestructive = nondestructive ']' ++ VIRTUAL_ENV=/tmp/venv-toKf ++ export VIRTUAL_ENV ++ _OLD_VIRTUAL_PATH=/opt/pyenv/shims:/opt/pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin ++ PATH=/tmp/venv-toKf/bin:/opt/pyenv/shims:/opt/pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin ++ export PATH ++ '[' -n '' ']' ++ '[' -z '' ']' ++ _OLD_VIRTUAL_PS1='(venv-toKf) ' ++ PS1='(venv-toKf) (venv-toKf) ' ++ export PS1 ++ VIRTUAL_ENV_PROMPT='(venv-toKf) ' ++ export VIRTUAL_ENV_PROMPT ++ '[' -n /bin/bash -o -n '' ']' ++ hash -r + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "$SHELLOPTS" | tr ':' ' ') + set +o braceexpand + for i in $(echo "$SHELLOPTS" | tr ':' ' ') + set +o hashall + for i in $(echo "$SHELLOPTS" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "$SHELLOPTS" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x ++ mktemp -d --suffix=-robot-workdir + WORKDIR=/tmp/tmp.ZJS7Nx3MVm-robot-workdir + cd /tmp/tmp.ZJS7Nx3MVm-robot-workdir + export PATH=/tmp/venv-toKf/bin:/opt/pyenv/shims:/opt/pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/docker/scripts:/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/scripts:/tmp/venv-toKf/bin + PATH=/tmp/venv-toKf/bin:/opt/pyenv/shims:/opt/pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/docker/scripts:/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/scripts:/tmp/venv-toKf/bin + export SCRIPTS=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/scripts + SCRIPTS=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/scripts + export ROBOT_VARIABLES= + ROBOT_VARIABLES= + docker login -u docker -p docker nexus3.onap.org:10001 WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded + cd /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/plans/dcaegen2-collectors-datafile/Functional-suite + SETUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/plans/dcaegen2-collectors-datafile/Functional-suite/setup.sh + '[' -f /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/plans/dcaegen2-collectors-datafile/Functional-suite/setup.sh ']' + echo 'Running setup script /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/plans/dcaegen2-collectors-datafile/Functional-suite/setup.sh' Running setup script /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/plans/dcaegen2-collectors-datafile/Functional-suite/setup.sh + source_safely /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/plans/dcaegen2-collectors-datafile/Functional-suite/setup.sh + '[' -z /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/plans/dcaegen2-collectors-datafile/Functional-suite/setup.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/plans/dcaegen2-collectors-datafile/Functional-suite/setup.sh +++ docker ps -q -a ++ docker kill '' Error response from daemon: page not found +++ docker ps -q -a ++ docker rm '' Container name cannot be empty ++ docker system prune -f Total reclaimed space: 0B ++ mkdir -p /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc ++ cd /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc ++ '[' -z '' ']' ++ git clone --depth 1 https://gerrit.onap.org/r/integration -b master Cloning into 'integration'... ++ echo 'Determine SIM_ROOT based on the WORKSPACE' Determine SIM_ROOT based on the WORKSPACE ++ SIM_ROOT=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness ++ rm /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group/consul/consul/cbs_localhost_config.hcl rm: cannot remove '/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group/consul/consul/cbs_localhost_config.hcl': No such file or directory ++ true ++ mkdir /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group/dfc_config_volume ++ SIMGROUP_ROOT=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group ++ SIM_IP=127.0.0.1 ++ DFC_ROOT=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/scripts/dcaegen2-collectors-datafile/dfc-management ++ ROBOT_VARIABLES='-b debug.log -v SIMGROUP_ROOT:/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group -v SIM_IP:127.0.0.1 -v DFC_ROOT:/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/scripts/dcaegen2-collectors-datafile/dfc-management' ++ cd /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/mr-sim ++ docker build -t mrsim:latest . Sending build context to Docker daemon 88.06kB Step 1/5 : FROM nexus3.onap.org:10001/onap/integration-python:8.0.0 8.0.0: Pulling from onap/integration-python 05e7bc50f07f: Pulling fs layer f5fc763800d1: Pulling fs layer f53ef10555d9: Pulling fs layer 4c86f8625acc: Pulling fs layer 2a8e2cb8a2db: Pulling fs layer ebfaf6ce8ea0: Pulling fs layer 4c86f8625acc: Waiting 2a8e2cb8a2db: Waiting ebfaf6ce8ea0: Waiting f5fc763800d1: Verifying Checksum f5fc763800d1: Download complete 05e7bc50f07f: Verifying Checksum 05e7bc50f07f: Download complete 4c86f8625acc: Verifying Checksum 4c86f8625acc: Download complete ebfaf6ce8ea0: Download complete 2a8e2cb8a2db: Verifying Checksum 2a8e2cb8a2db: Download complete f53ef10555d9: Verifying Checksum f53ef10555d9: Download complete 05e7bc50f07f: Pull complete f5fc763800d1: Pull complete f53ef10555d9: Pull complete 4c86f8625acc: Pull complete 2a8e2cb8a2db: Pull complete ebfaf6ce8ea0: Pull complete Digest: sha256:571815a49714bb54144ae07975177598c146357caa979cade22f3b635df2d1ba Status: Downloaded newer image for nexus3.onap.org:10001/onap/integration-python:8.0.0 ---> 7f6e6b759f88 Step 2/5 : COPY . /app ---> e4953a18d8e3 Step 3/5 : WORKDIR /app ---> Running in 5bb1d9910711 Removing intermediate container 5bb1d9910711 ---> 07ccaebe1316 Step 4/5 : RUN pip install --no-cache-dir -r requirements.txt ---> Running in cda7af02e549 Defaulting to user installation because normal site-packages is not writeable Collecting Click==7.0 Downloading Click-7.0-py2.py3-none-any.whl (81 kB) Collecting Flask==1.0.2 Downloading Flask-1.0.2-py2.py3-none-any.whl (91 kB) Collecting itsdangerous==1.1.0 Downloading itsdangerous-1.1.0-py2.py3-none-any.whl (16 kB) Collecting Jinja2==2.10 Downloading Jinja2-2.10-py2.py3-none-any.whl (126 kB) Collecting MarkupSafe==1.1.0 Downloading MarkupSafe-1.1.0.tar.gz (18 kB) Collecting Werkzeug==0.14.1 Downloading Werkzeug-0.14.1-py2.py3-none-any.whl (322 kB) Building wheels for collected packages: MarkupSafe Building wheel for MarkupSafe (setup.py): started Building wheel for MarkupSafe (setup.py): finished with status 'done' Created wheel for MarkupSafe: filename=MarkupSafe-1.1.0-py3-none-any.whl size=12894 sha256=72684c689fd14f3b142202f1aa0afb1de166df200587cce558b60be73496eed0 Stored in directory: /tmp/pip-ephem-wheel-cache-ru8hf6ud/wheels/15/c0/d4/f23b6188b6bec0d42dcc2c0c04dc92dcbf97f40d8a4c1db4f7 Successfully built MarkupSafe Installing collected packages: MarkupSafe, Werkzeug, Jinja2, itsdangerous, Click, Flask  WARNING: The script flask is installed in '/home/onap/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. Successfully installed Click-7.0 Flask-1.0.2 Jinja2-2.10 MarkupSafe-1.1.0 Werkzeug-0.14.1 itsdangerous-1.1.0 WARNING: You are using pip version 20.3.1; however, version 23.3.1 is available. You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command. Removing intermediate container cda7af02e549 ---> f2b6f432c4d5 Step 5/5 : EXPOSE 2222 2223 ---> Running in c6e5eac8a7e2 Removing intermediate container c6e5eac8a7e2 ---> 52a4a984d6cd Successfully built 52a4a984d6cd Successfully tagged mrsim:latest ++ cd /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/dr-sim ++ docker build -t drsim_common:latest . Sending build context to Docker daemon 62.98kB Step 1/7 : FROM node:14 14: Pulling from library/node 2ff1d7c41c74: Pulling fs layer b253aeafeaa7: Pulling fs layer 3d2201bd995c: Pulling fs layer 1de76e268b10: Pulling fs layer d9a8df589451: Pulling fs layer 6f51ee005dea: Pulling fs layer 5f32ed3c3f27: Pulling fs layer 0c8cc2f24a4d: Pulling fs layer 0d27a8e86132: Pulling fs layer 1de76e268b10: Waiting 0c8cc2f24a4d: Waiting 0d27a8e86132: Waiting d9a8df589451: Waiting 6f51ee005dea: Waiting 5f32ed3c3f27: Waiting 3d2201bd995c: Verifying Checksum 3d2201bd995c: Download complete b253aeafeaa7: Verifying Checksum b253aeafeaa7: Download complete 2ff1d7c41c74: Download complete 1de76e268b10: Verifying Checksum 1de76e268b10: Download complete 5f32ed3c3f27: Verifying Checksum 5f32ed3c3f27: Download complete 6f51ee005dea: Download complete 0c8cc2f24a4d: Verifying Checksum 0c8cc2f24a4d: Download complete 0d27a8e86132: Verifying Checksum 0d27a8e86132: Download complete 2ff1d7c41c74: Pull complete d9a8df589451: Verifying Checksum d9a8df589451: Download complete b253aeafeaa7: Pull complete 3d2201bd995c: Pull complete 1de76e268b10: Pull complete d9a8df589451: Pull complete 6f51ee005dea: Pull complete 5f32ed3c3f27: Pull complete 0c8cc2f24a4d: Pull complete 0d27a8e86132: Pull complete Digest: sha256:a158d3b9b4e3fa813fa6c8c590b8f0a860e015ad4e59bbce5744d2f6fd8461aa Status: Downloaded newer image for node:14 ---> 1d12470fa662 Step 2/7 : WORKDIR /app ---> Running in c7b0eb41ed0b Removing intermediate container c7b0eb41ed0b ---> 572d844c0f51 Step 3/7 : COPY dmaapDR.js ./ ---> 789450c0deb0 Step 4/7 : COPY dmaapDR_redir.js ./ ---> 10abd97174a8 Step 5/7 : COPY package*.json ./ ---> 77065a1bc877 Step 6/7 : RUN npm install express ---> Running in 8496d650985f npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN app No description npm WARN app No repository field. npm WARN app No license field.  + express@4.18.2 added 62 packages from 41 contributors and audited 62 packages in 3.432s 11 packages are looking for funding run `npm fund` for details found 0 vulnerabilities Removing intermediate container 8496d650985f ---> 9560dc3d39b0 Step 7/7 : RUN npm install argparse ---> Running in 719c23280169 npm WARN app No description npm WARN app No repository field. npm WARN app No license field.  + argparse@2.0.1 added 1 package and audited 63 packages in 0.704s 11 packages are looking for funding run `npm fund` for details found 0 vulnerabilities Removing intermediate container 719c23280169 ---> aa6eebd2c259 Successfully built aa6eebd2c259 Successfully tagged drsim_common:latest ++ cd /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group ++ cp -r ../ftpes-sftp-server/configuration . ++ cp -r ../ftpes-sftp-server/tls . ++ cd ../ftpes-sftp-server ++ docker build -t ftpes_vsftpd:latest -f Dockerfile-ftpes . Sending build context to Docker daemon 20.48kB Step 1/4 : FROM docker.io/panubo/vsftpd latest: Pulling from panubo/vsftpd d3d4e1d44a24: Pulling fs layer 87e5cf803a9c: Pulling fs layer 1c7827cf61b2: Pulling fs layer 0fb6f74fda2e: Pulling fs layer dbe06f2b48d4: Pulling fs layer c0fad266edcb: Pulling fs layer 95ea16876fa0: Pulling fs layer dbe06f2b48d4: Waiting c0fad266edcb: Waiting 95ea16876fa0: Waiting 87e5cf803a9c: Download complete 1c7827cf61b2: Verifying Checksum 1c7827cf61b2: Download complete 0fb6f74fda2e: Verifying Checksum 0fb6f74fda2e: Download complete dbe06f2b48d4: Verifying Checksum dbe06f2b48d4: Download complete c0fad266edcb: Verifying Checksum c0fad266edcb: Download complete 95ea16876fa0: Verifying Checksum 95ea16876fa0: Download complete d3d4e1d44a24: Verifying Checksum d3d4e1d44a24: Download complete d3d4e1d44a24: Pull complete 87e5cf803a9c: Pull complete 1c7827cf61b2: Pull complete 0fb6f74fda2e: Pull complete dbe06f2b48d4: Pull complete c0fad266edcb: Pull complete 95ea16876fa0: Pull complete Digest: sha256:da1bc81b1d4c62c919109316de50150159a4d38bbc6a21cf2d09f31222e88fef Status: Downloaded newer image for panubo/vsftpd:latest ---> cab7d4ddb83a Step 2/4 : COPY configuration/vsftpd_ssl.conf /etc/vsftpd_ssl.conf ---> 835bab78ead0 Step 3/4 : RUN chmod 644 /etc/vsftpd_ssl.conf ---> Running in 3d5feb1e62e1 Removing intermediate container 3d5feb1e62e1 ---> b275323a5d28 Step 4/4 : RUN chown root:root /etc/vsftpd_ssl.conf ---> Running in 42ad0153ea33 Removing intermediate container 42ad0153ea33 ---> dd645c754dc2 Successfully built dd645c754dc2 Successfully tagged ftpes_vsftpd:latest + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "$SHELLOPTS" | tr ':' ' ') + set +o braceexpand + for i in $(echo "$SHELLOPTS" | tr ':' ' ') + set +o hashall + for i in $(echo "$SHELLOPTS" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "$SHELLOPTS" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + docker_stats + echo '> top -bn1 | head -3' + tee /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/plans/dcaegen2-collectors-datafile/Functional-suite/_sysinfo-1-after-setup.txt + top -bn1 + head -3 > top -bn1 | head -3 top - 16:44:39 up 3 min, 0 users, load average: 1.23, 0.62, 0.25 Tasks: 159 total, 1 running, 83 sleeping, 0 stopped, 0 zombie %Cpu(s): 8.8 us, 1.8 sy, 0.0 ni, 85.7 id, 3.6 wa, 0.0 hi, 0.1 si, 0.0 st + echo + echo '> free -h' + free -h > free -h total used free shared buff/cache available Mem: 31G 743M 27G 708K 3.6G 30G Swap: 1.0G 0B 1.0G + echo + echo '> docker ps' + docker ps > docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES + echo + echo '> docker stats --no-stream' > docker stats --no-stream + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS + echo + cd /tmp/tmp.ZJS7Nx3MVm-robot-workdir + echo 'Reading the testplan:' Reading the testplan: + grep -E -v '(^[[:space:]]*#|^[[:space:]]*$)' /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/plans/dcaegen2-collectors-datafile/Functional-suite/testplan.txt + sed 's|^|/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/tests/|' + cat testplan.txt /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/tests/dcaegen2-collectors-datafile/testsuites/Functional-Single-File-Ftp-suite /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/tests/dcaegen2-collectors-datafile/testsuites/Functional-Single-File-Http-suite /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/tests/dcaegen2-collectors-datafile/testsuites/Strict-Host-Checking-suite /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/tests/dcaegen2-collectors-datafile/testsuites/HTTP-Various-Connection-Types-suite ++ xargs -a testplan.txt + SUITES='/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/tests/dcaegen2-collectors-datafile/testsuites/Functional-Single-File-Ftp-suite /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/tests/dcaegen2-collectors-datafile/testsuites/Functional-Single-File-Http-suite /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/tests/dcaegen2-collectors-datafile/testsuites/Strict-Host-Checking-suite /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/tests/dcaegen2-collectors-datafile/testsuites/HTTP-Various-Connection-Types-suite' + echo 'Versioning information:' Versioning information: + python3 --version Python 3.10.6 + pip3 freeze attrs==23.1.0 bcrypt==4.0.1 beautifulsoup4==4.12.2 certifi==2023.7.22 cffi==1.16.0 charset-normalizer==3.3.2 cryptography==41.0.5 decorator==5.1.1 deepdiff==6.7.1 distlib==0.3.7 dnspython==2.4.2 docker-py==1.10.6 docker-pycreds==0.4.0 elasticsearch==7.17.9 elasticsearch-dsl==7.4.1 enum34==1.1.10 exceptiongroup==1.1.3 filelock==3.13.1 future==0.18.3 h11==0.14.0 idna==3.4 ipaddr==2.2.0 isodate==0.6.1 Jinja2==3.1.2 jmespath==1.0.1 jsonpatch==1.33 jsonpath-rw==1.4.0 jsonpointer==2.4 kafka-python==2.0.2 lxml==4.9.3 MarkupSafe==2.1.3 more-itertools==10.1.0 netaddr==0.9.0 netifaces==0.11.0 odltools==0.1.28 ordered-set==4.1.0 outcome==1.3.0.post0 paramiko==3.3.1 pbr==6.0.0 platformdirs==3.11.0 ply==3.11 protobuf==4.25.1 pyang==2.6.0 pyangbind==0.8.4.post1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 PySocks==1.7.1 python-dateutil==2.8.2 PyVirtualDisplay==3.0 PyYAML==6.0.1 regex==2023.10.3 requests==2.31.0 robotframework==6.1.1 robotframework-httplibrary==0.4.2 robotframework-onap==11.0.0.dev17 robotframework-pythonlibcore==4.2.0 robotframework-requests==0.9.3 robotframework-selenium2library==3.0.0 robotframework-seleniumlibrary==6.1.3 robotframework-sshlibrary==3.8.0 robotlibcore-temp==1.0.2 scapy==2.5.0 scp==0.14.5 selenium==4.5.0 six==1.16.0 sniffio==1.3.0 sortedcontainers==2.4.0 soupsieve==2.5 trio==0.23.1 trio-websocket==0.11.1 urllib3==1.26.18 virtualenv==20.24.6 waitress==2.1.2 WebOb==1.8.7 websocket-client==1.6.4 WebTest==3.0.0 wsproto==1.2.0 xvfbwrapper==0.2.9 + python3 -m robot.run --version Robot Framework 6.1.1 (Python 3.10.6 on linux) + : + echo 'ROBOT_VARIABLES=-b debug.log -v SIMGROUP_ROOT:/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group -v SIM_IP:127.0.0.1 -v DFC_ROOT:/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/scripts/dcaegen2-collectors-datafile/dfc-management' ROBOT_VARIABLES=-b debug.log -v SIMGROUP_ROOT:/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group -v SIM_IP:127.0.0.1 -v DFC_ROOT:/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/scripts/dcaegen2-collectors-datafile/dfc-management + echo 'Starting Robot test suites /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/tests/dcaegen2-collectors-datafile/testsuites/Functional-Single-File-Ftp-suite /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/tests/dcaegen2-collectors-datafile/testsuites/Functional-Single-File-Http-suite /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/tests/dcaegen2-collectors-datafile/testsuites/Strict-Host-Checking-suite /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/tests/dcaegen2-collectors-datafile/testsuites/HTTP-Various-Connection-Types-suite ...' Starting Robot test suites /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/tests/dcaegen2-collectors-datafile/testsuites/Functional-Single-File-Ftp-suite /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/tests/dcaegen2-collectors-datafile/testsuites/Functional-Single-File-Http-suite /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/tests/dcaegen2-collectors-datafile/testsuites/Strict-Host-Checking-suite /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/tests/dcaegen2-collectors-datafile/testsuites/HTTP-Various-Connection-Types-suite ... + relax_set + set +e + set +o pipefail + python3 -m robot.run -N plans/dcaegen2-collectors-datafile/Functional-suite -v WORKSPACE:/tmp -b debug.log -v SIMGROUP_ROOT:/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group -v SIM_IP:127.0.0.1 -v DFC_ROOT:/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/scripts/dcaegen2-collectors-datafile/dfc-management /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/tests/dcaegen2-collectors-datafile/testsuites/Functional-Single-File-Ftp-suite /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/tests/dcaegen2-collectors-datafile/testsuites/Functional-Single-File-Http-suite /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/tests/dcaegen2-collectors-datafile/testsuites/Strict-Host-Checking-suite /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/tests/dcaegen2-collectors-datafile/testsuites/HTTP-Various-Connection-Types-suite ============================================================================== plans/dcaegen2-collectors-datafile/Functional-suite ============================================================================== plans/dcaegen2-collectors-datafile/Functional-suite.Functional-Single-File-... ============================================================================== plans/dcaegen2-collectors-datafile/Functional-suite.Functional-Single-File-... ============================================================================== Verify single event with single 1MB SFTP file. From event poll to ... Simulator-start: Creating docker network dfcnet, if needed a05095524f5e6e4a033f1810ffd44be01518e5c380cb81e20d8a7ebc8c5ed195 2.3.3: Pulling from onap/org.onap.oom.platform.cert-service.oom-certservice-post-processor Digest: sha256:30dbdb0c20bef02a4bd0b4cec5d1fe6190032ec022feb0bb33e48ca46c2ec4dd Status: Downloaded newer image for nexus3.onap.org:10001/onap/org.onap.oom.platform.cert-service.oom-certservice-post-processor:2.3.3 1.0.0: Pulling from onap/org.onap.integration.nfsimulator.pmhttpsserver Digest: sha256:0802f3b71559381dbecb430745b9cc5d06178710cb694d781834bd916726b109 Status: Downloaded newer image for nexus3.onap.org:10001/onap/org.onap.integration.nfsimulator.pmhttpsserver:1.0.0 alpine-3.7: Pulling from atmoz/sftp Digest: sha256:f4e6e8bc2f2c30c3f0ca935d991f21f5b2e52be440551de94f89fa5c945303e4 Status: Downloaded newer image for atmoz/sftp:alpine-3.7 All simulators Started Simulator DR sim on localhost:3906/ responded ok Simulator DR redir sim on localhost:3908/ responded ok Simulator MR sim on localhost:2222/ responded ok Simulator DR sim https on https://localhost:3907/ responded ok Simulator DR redir sim https on https://localhost:3909/ responded ok Simulator MR sim https on https://localhost:2223/ responded ok Simulator FTPES server 0 on localhost:1032 responded ok Simulator FTPES server 1 on localhost:1033 responded ok Simulator FTPES server 2 on localhost:1034 responded ok Simulator FTPES server 3 on localhost:1035 responded ok Simulator FTPES server 4 on localhost:1036 responded ok Simulator SFTP server 0 on localhost:1022 responded ok Simulator SFTP server 1 on localhost:1023 responded ok Simulator SFTP server 2 on localhost:1024 responded ok Simulator SFTP server 3 on localhost:1025 responded ok Simulator SFTP server 4 on localhost:1026 responded ok Simulator HTTP basic auth server 0 on localhost: 81 responded ok Simulator HTTP basic auth server 1 on localhost: 82 responded ok Simulator HTTP basic auth server 2 on localhost: 83 responded ok Simulator HTTP basic auth server 3 on localhost: 84 responded ok Simulator HTTP basic auth server 4 on localhost: 85 responded ok Simulator HTTP JWT server 0 on localhost:32001 responded ok Simulator HTTP JWT server 1 on localhost:32002 responded ok Simulator HTTP JWT server 2 on localhost:32003 responded ok Simulator HTTP JWT server 3 on localhost:32004 responded ok Simulator HTTP JWT server 4 on localhost:32005 responded ok Simulator HTTPS basic auth server 0 on localhost: 444 responded ok Simulator HTTPS basic auth server 1 on localhost: 445 responded ok Simulator HTTPS basic auth server 2 on localhost: 446 responded ok Simulator HTTPS basic auth server 3 on localhost: 447 responded ok Simulator HTTPS basic auth server 4 on localhost: 448 responded ok Simulator HTTPS client certificate authentication server 0 on localhost:444 - no response Simulator HTTPS client certificate authentication server 1 on localhost:445 - no response Simulator HTTPS client certificate authentication server 2 on localhost:446 - no response Simulator HTTPS client certificate authentication server 3 on localhost:447 - no response Simulator HTTPS client certificate authentication server 4 on localhost:448 - no response Simulator HTTPS no auth server 0 on localhost:8081 responded ok Simulator HTTPS no auth server 1 on localhost:8082 responded ok Simulator HTTPS no auth server 2 on localhost:8083 responded ok Simulator HTTPS no auth server 3 on localhost:8084 responded ok Simulator HTTPS no auth server 4 on localhost:8085 responded ok Simulator HTTPS JWT server 0 on localhost:32101 responded ok Simulator HTTPS JWT server 1 on localhost:32102 responded ok Simulator HTTPS JWT server 2 on localhost:32103 responded ok Simulator HTTPS JWT server 3 on localhost:32104 responded ok Simulator HTTPS JWT server 4 on localhost:32105 responded ok Creating files for SFTP server, may take time.... Running ftp file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in ftp servers with index 0 Creating files for HTTP server, may take time.... Running http file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in http servers with index 0 Done: All simulators started and configured + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + docker network create dfcnet + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Creating network "simulator-group_default" with the default driver Pulling cmpv2-postprocessor (nexus3.onap.org:10001/onap/org.onap.oom.platform.cert-service.oom-certservice-post-processor:2.3.3)... Pulling http-https-server0 (nexus3.onap.org:10001/onap/org.onap.integration.nfsimulator.pmhttpsserver:1.0.0)... Pulling sftp-server0 (atmoz/sftp:alpine-3.7)... Creating dfc_sftp-server1 ... Creating dfc_http-https-server0 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_sftp-server3 ... Creating dfc_cmpv2-postprocessor ... Creating dfc_dr-redir-sim ... Creating dfc_http-https-server2 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_http-https-server4 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_http-https-server3 ... Creating dfc_dr-sim ... Creating dfc_sftp-server2 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_sftp-server0 ... Creating dfc_sftp-server4 ... Creating dfc_http-https-server1 ... Creating dfc_mr-sim ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_sftp-server4 ... done Creating dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server2 ... done Creating dfc_sftp-server3 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_sftp-server1 ... done Creating dfc_http-https-server2 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_sftp-server0 ... done Creating dfc_mr-sim ... done Creating dfc_http-https-server3 ... done Creating dfc_dr-sim ... done Creating dfc_dr-redir-sim ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_http-https-server0 ... done Creating dfc_http-https-server1 ... done Creating dfc_http-https-server4 ... done ++ id -u ++ id -g + sudo chown 1001:1001 dfc_configs + declare -a SFTP_SIM + declare -a FTPES_SIM + declare -a HTTP_SIM ++ docker ps -q --filter=name=dfc_dr-sim + DR_SIM=569db6b80a4a ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=b2eddbed27c3 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=d6d488b73d0b ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=6e97ab6b1961 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=15922022d79e ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=0b34f63fcf14 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=80a5436e9098 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=23d0ae33f74e ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=e5511c5c70d6 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=077a62530f11 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=aef83202dc4b ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=c31b8ac82bf8 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=6b995c5fb1cd ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=e1919bcb1322 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=3853b3a28fa0 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=9f67dd993560 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=3b66052da496 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=e86b861c20dd + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 569db6b80a4a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b2eddbed27c3 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d6d488b73d0b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6e97ab6b1961 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 15922022d79e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 0b34f63fcf14 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 80a5436e9098 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 23d0ae33f74e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e5511c5c70d6 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 077a62530f11 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' aef83202dc4b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c31b8ac82bf8 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6b995c5fb1cd + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e1919bcb1322 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 3853b3a28fa0 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9f67dd993560 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 3b66052da496 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e86b861c20dd + '[' true ']' + echo 'All simulators Started' + break + '[' -z '' ']' + BASIC_AUTH_LOGIN=demo + '[' -z '' ']' + BASIC_AUTH_PASSWORD='demo123456!' + server_check 'DR sim ' 3906 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3906/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim ' on localhost:3906/ responded ok' + return + server_check 'DR redir sim ' 3908 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3908/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim ' on localhost:3908/ responded ok' + return + server_check 'MR sim ' 2222 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:2222/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim ' on localhost:2222/ responded ok' + return + server_check_https 'DR sim https ' 3907 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3907/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim https ' on https://localhost:3907/ responded ok' + return + server_check_https 'DR redir sim https' 3909 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3909/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim https ' on https://localhost:3909/ responded ok' + return + server_check_https 'MR sim https ' 2223 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:2223/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim https ' on https://localhost:2223/ responded ok' + return + ftpes_server_check 'FTPES server 0' 1032 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1032 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 0 ' on localhost:1032 responded ok' + return + ftpes_server_check 'FTPES server 1' 1033 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1033 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 1 ' on localhost:1033 responded ok' + return + ftpes_server_check 'FTPES server 2' 1034 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1034 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 2 ' on localhost:1034 responded ok' + return + ftpes_server_check 'FTPES server 3' 1035 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1035 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 3 ' on localhost:1035 responded ok' + return + ftpes_server_check 'FTPES server 4' 1036 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1036 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 4 ' on localhost:1036 responded ok' + return + sftp_server_check 'SFTP server 0' 1022 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1022 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 0 ' on localhost:1022 responded ok' + return + sftp_server_check 'SFTP server 1' 1023 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1023 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 1 ' on localhost:1023 responded ok' + return + sftp_server_check 'SFTP server 2' 1024 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1024 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 2 ' on localhost:1024 responded ok' + return + sftp_server_check 'SFTP server 3' 1025 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1025 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 3 ' on localhost:1025 responded ok' + return + sftp_server_check 'SFTP server 4' 1026 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1026 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 4 ' on localhost:1026 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 0' 81 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:81' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 0' ' on localhost: 81 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 1' 82 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:82' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 1' ' on localhost: 82 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 2' 83 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:83' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 2' ' on localhost: 83 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 3' 84 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:84' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 3' ' on localhost: 84 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 4' 85 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:85' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 4' ' on localhost: 85 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 0' 32001 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32001 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 0 ' on localhost:32001 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 1' 32002 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32002 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 1 ' on localhost:32002 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 2' 32003 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32003 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 2 ' on localhost:32003 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 3' 32004 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32004 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 3 ' on localhost:32004 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 4' 32005 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32005 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 4 ' on localhost:32005 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 0' 444 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:444' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 0' ' on localhost: 444 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 1' 445 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:445' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 1' ' on localhost: 445 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 2' 446 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:446' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 2' ' on localhost: 446 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 3' 447 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:447' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 3' ' on localhost: 447 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 4' 448 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:448' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 4' ' on localhost: 448 responded ok' + return + http_https_server_check 'HTTPS client certificate authentication server 0' 444 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 0 ' on localhost:444 - no response' + http_https_server_check 'HTTPS client certificate authentication server 1' 445 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 1 ' on localhost:445 - no response' + http_https_server_check 'HTTPS client certificate authentication server 2' 446 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 2 ' on localhost:446 - no response' + http_https_server_check 'HTTPS client certificate authentication server 3' 447 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 3 ' on localhost:447 - no response' + http_https_server_check 'HTTPS client certificate authentication server 4' 448 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 4 ' on localhost:448 - no response' + http_https_server_check 'HTTPS no auth server 0' 8081 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8081 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 0 ' on localhost:8081 responded ok' + return + http_https_server_check 'HTTPS no auth server 1' 8082 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8082 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 1 ' on localhost:8082 responded ok' + return + http_https_server_check 'HTTPS no auth server 2' 8083 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8083 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 2 ' on localhost:8083 responded ok' + return + http_https_server_check 'HTTPS no auth server 3' 8084 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8084 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 3 ' on localhost:8084 responded ok' + return + http_https_server_check 'HTTPS no auth server 4' 8085 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8085 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 4 ' on localhost:8085 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 0' 32101 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32101 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 0 ' on localhost:32101 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 1' 32102 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32102 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 1 ' on localhost:32102 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 2' 32103 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32103 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 2 ' on localhost:32103 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 3' 32104 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32104 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 3 ' on localhost:32104 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 4' 32105 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32105 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 4 ' on localhost:32105 responded ok' + return + echo '' + '[' -z 1 ']' + '[' -z 1 ']' + '[' -z 1MB ']' + '[' -z SFTP ']' + '[' -z A ']' + '[' SFTP = ALL ']' + '[' SFTP = SFTP ']' + echo 'Creating files for SFTP server, may take time....' + p=0 + '[' 0 -lt 1 ']' + docker cp setup-ftp-files-for-image.sh 6e97ab6b1961:/tmp/ + docker exec -w //home/onap/ 6e97ab6b1961 //tmp/setup-ftp-files-for-image.sh 1 1 1MB A 1 0 + let p=p+1 + '[' 1 -lt 1 ']' + '[' SFTP = ALL ']' + '[' SFTP = FTPES ']' + '[' -z 1 ']' + '[' -z HTTP ']' + '[' -z A ']' + '[' HTTP = ALL ']' + '[' HTTP = HTTP ']' + echo 'Creating files for HTTP server, may take time....' + p=0 + '[' 0 -lt 1 ']' + docker cp setup-http-files-for-image.sh e1919bcb1322:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs e1919bcb1322 //tmp/setup-http-files-for-image.sh 1 1 1MB A 1 0 + let p=p+1 + '[' 1 -lt 1 ']' + echo 'Done: All simulators started and configured' APP configuration: dmaap.certificateConfig.keyCert: /opt/app/datafile/etc/cert/cert.jks dmaap.certificateConfig.keyPasswordPath: /opt/app/datafile/etc/cert/jks.pass dmaap.certificateConfig.trustedCa: /opt/app/datafile/etc/cert/trust.jks dmaap.certificateConfig.trustedCaPasswordPath: /opt/app/datafile/etc/cert/trust.pass dmaap.security.trustStorePath: /opt/app/datafile/etc/cert/trust.jks dmaap.security.trustStorePasswordPath: /opt/app/datafile/etc/cert/trust.pass dmaap.security.keyStorePath: /opt/app/datafile/etc/cert/cert.jks dmaap.security.keyStorePasswordPath: /opt/app/datafile/etc/cert/jks.pass dmaap.security.enableDmaapCertAuth: "false" dmaap.dmaapConsumerConfiguration.consumerGroup: OpenDcae-c12 dmaap.dmaapConsumerConfiguration.consumerId: C12 dmaap.dmaapConsumerConfiguration.timeoutMs: -1 sftp.security.strictHostKeyChecking: "true" streams_publishes: PM_MEAS_FILES: type: data_router dmaap_info: username: user log_url: https://drsim:3907/feedlog/2 publish_url: https://drsim:3907/publish/2 location: loc00 password: password publisher_id: 972.360gm streams_subscribes: dmaap_subscriber: dmaap_info: topic_url: http://mrsim:2222/events/unauthenticated.VES_NOTIFICATION_OUTPUT type: message_router Dfc-start: Creating docker network dfcnet, if needed sleep 1 sleep 2 sleep 3 sleep 4 sleep 5 sleep 6 sleep 7 sleep 8 sleep 9 sleep 10 + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + docker-compose up -d Pulling dfc (nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest)... manifest for nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest not found: manifest unknown: manifest unknown ++ docker ps -q --filter=name=dfc_app0 + DFC_APP= + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 1 + sleep 1 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 2 + sleep 2 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 3 + sleep 3 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 4 + sleep 4 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 5 + sleep 5 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 6 + sleep 6 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 7 + sleep 7 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 8 + sleep 8 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 9 + sleep 9 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 10 + sleep 10 Configured sftp sims: sftp-server0:22 Configured ftpes sims: ftpes-server-vsftpd0:21 Configured http sims: http-https-server0:80 Configured http JWT sims: http-https-server0:32000 Configured https sims: http-https-server0:443 Configured https with no authorization sims: http-https-server0:8080 Configured https JWT sims: http-https-server0:32100 Configured number of ftp servers: 1 Configured number of http/https/https with no auth/JWT servers: 1 each Groups detected: OpenDcae-c12:PM_MEAS_FILES Configured groups: OpenDcae-c12:PM_MEAS_FILES Configured changeid to file prefix mapping: PM_MEAS_FILES:A TC num: TC# 100 Using sftp-server0:22 for sftp server with index 0 for sftp server address and port in file urls. Using ftpes-server-vsftpd0:21 for ftpes server with index 0 for ftpes server address and port in file urls. Using http-https-server0:80 for http server with index 0 for http server address and port in file urls. Using http-https-server0:32000 for http jwt server with index 0 for http jwt server address and port in file urls. Using http-https-server0:443 for https server with index 0 for https server address and port in file urls. Using http-https-server0:8080 for https server with no authentication with index 0 for https server address and port in file urls. Using http-https-server0:32100 for https jwt server with index 0 for https jwt server address and port in file urls. Using up to 1 ftp servers, for each protocol for PNFs. Using up to 1 http/https/https with no auth/jwt servers, for each protocol for PNFs. * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off Killing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 Removing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 done * Running on http://0.0.0.0:2222/ (Press CTRL+C to quit) * Running on https://0.0.0.0:2223/ (Press CTRL+C to quit) 172.17.0.1 - - [16/Nov/2023 16:45:14] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 16:45:15] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 16:46:08] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 16:47:04] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 16:47:14] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 16:47:24] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 16:47:34] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 16:47:44] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 16:47:54] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 16:48:04] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ Verify single event with single 5MB SFTP file. From event poll to ... Simulator-start: Creating docker network dfcnet, if needed All simulators Started Simulator DR sim on localhost:3906/ responded ok Simulator DR redir sim on localhost:3908/ responded ok Simulator MR sim on localhost:2222/ responded ok Simulator DR sim https on https://localhost:3907/ responded ok Simulator DR redir sim https on https://localhost:3909/ responded ok Simulator MR sim https on https://localhost:2223/ responded ok Simulator FTPES server 0 on localhost:1032 responded ok Simulator FTPES server 1 on localhost:1033 responded ok Simulator FTPES server 2 on localhost:1034 responded ok Simulator FTPES server 3 on localhost:1035 responded ok Simulator FTPES server 4 on localhost:1036 responded ok Simulator SFTP server 0 on localhost:1022 responded ok Simulator SFTP server 1 on localhost:1023 responded ok Simulator SFTP server 2 on localhost:1024 responded ok Simulator SFTP server 3 on localhost:1025 responded ok Simulator SFTP server 4 on localhost:1026 responded ok Simulator HTTP basic auth server 0 on localhost: 81 responded ok Simulator HTTP basic auth server 1 on localhost: 82 responded ok Simulator HTTP basic auth server 2 on localhost: 83 responded ok Simulator HTTP basic auth server 3 on localhost: 84 responded ok Simulator HTTP basic auth server 4 on localhost: 85 responded ok Simulator HTTP JWT server 0 on localhost:32001 responded ok Simulator HTTP JWT server 1 on localhost:32002 responded ok Simulator HTTP JWT server 2 on localhost:32003 responded ok Simulator HTTP JWT server 3 on localhost:32004 responded ok Simulator HTTP JWT server 4 on localhost:32005 responded ok Simulator HTTPS basic auth server 0 on localhost: 444 responded ok Simulator HTTPS basic auth server 1 on localhost: 445 responded ok Simulator HTTPS basic auth server 2 on localhost: 446 responded ok Simulator HTTPS basic auth server 3 on localhost: 447 responded ok Simulator HTTPS basic auth server 4 on localhost: 448 responded ok Simulator HTTPS client certificate authentication server 0 on localhost:444 - no response Simulator HTTPS client certificate authentication server 1 on localhost:445 - no response Simulator HTTPS client certificate authentication server 2 on localhost:446 - no response Simulator HTTPS client certificate authentication server 3 on localhost:447 - no response Simulator HTTPS client certificate authentication server 4 on localhost:448 - no response Simulator HTTPS no auth server 0 on localhost:8081 responded ok Simulator HTTPS no auth server 1 on localhost:8082 responded ok Simulator HTTPS no auth server 2 on localhost:8083 responded ok Simulator HTTPS no auth server 3 on localhost:8084 responded ok Simulator HTTPS no auth server 4 on localhost:8085 responded ok Simulator HTTPS JWT server 0 on localhost:32101 responded ok Simulator HTTPS JWT server 1 on localhost:32102 responded ok Simulator HTTPS JWT server 2 on localhost:32103 responded ok Simulator HTTPS JWT server 3 on localhost:32104 responded ok Simulator HTTPS JWT server 4 on localhost:32105 responded ok Creating files for SFTP server, may take time.... Running ftp file creations. 1 PNFs and 1 files for each PNF with file size(s) 5MB and file prefixe(s) A in ftp servers with index 0 Creating files for HTTP server, may take time.... Running http file creations. 1 PNFs and 1 files for each PNF with file size(s) 5MB and file prefixe(s) A in http servers with index 0 Done: All simulators started and configured + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Creating dfc_sftp-server0 ... Creating dfc_http-https-server1 ... Creating dfc_mr-sim ... Creating dfc_sftp-server2 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_http-https-server0 ... Creating dfc_http-https-server2 ... Creating dfc_http-https-server4 ... Creating dfc_sftp-server1 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_sftp-server3 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_sftp-server4 ... Creating dfc_dr-redir-sim ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_http-https-server3 ... Creating dfc_dr-sim ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server0 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_sftp-server3 ... done Creating dfc_sftp-server2 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_sftp-server4 ... done Creating dfc_mr-sim ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_sftp-server1 ... done Creating dfc_http-https-server1 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_dr-redir-sim ... done Creating dfc_dr-sim ... done Creating dfc_http-https-server4 ... done Creating dfc_http-https-server2 ... done Creating dfc_http-https-server0 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_http-https-server3 ... done ++ id -u ++ id -g + sudo chown 1001:1001 dfc_configs + declare -a SFTP_SIM + declare -a FTPES_SIM + declare -a HTTP_SIM ++ docker ps -q --filter=name=dfc_dr-sim + DR_SIM=a06cebc14b3d ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=c8e2540713bc ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=775f19dc2a91 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=fd5346b39fe5 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=bfb11103ee17 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=470e90d22ac5 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=b6b2277f4919 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=5e20bf8bea32 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=11a9e807251c ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=c4d3ccdbbaa2 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=81f002541bb6 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=27aca8c97936 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=91137456f6ee ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=b18659a82253 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=be63ddf6f3a6 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=7b7f6e5fbbad ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=77c78cd787aa ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=b82fd2c012f2 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' a06cebc14b3d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c8e2540713bc + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 775f19dc2a91 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' fd5346b39fe5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' bfb11103ee17 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 470e90d22ac5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b6b2277f4919 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5e20bf8bea32 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 11a9e807251c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c4d3ccdbbaa2 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 81f002541bb6 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 27aca8c97936 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 91137456f6ee + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b18659a82253 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' be63ddf6f3a6 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7b7f6e5fbbad + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 77c78cd787aa + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b82fd2c012f2 + '[' true ']' + echo 'All simulators Started' + break + '[' -z '' ']' + BASIC_AUTH_LOGIN=demo + '[' -z '' ']' + BASIC_AUTH_PASSWORD='demo123456!' + server_check 'DR sim ' 3906 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3906/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim ' on localhost:3906/ responded ok' + return + server_check 'DR redir sim ' 3908 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3908/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim ' on localhost:3908/ responded ok' + return + server_check 'MR sim ' 2222 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:2222/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim ' on localhost:2222/ responded ok' + return + server_check_https 'DR sim https ' 3907 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3907/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim https ' on https://localhost:3907/ responded ok' + return + server_check_https 'DR redir sim https' 3909 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3909/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim https ' on https://localhost:3909/ responded ok' + return + server_check_https 'MR sim https ' 2223 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:2223/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim https ' on https://localhost:2223/ responded ok' + return + ftpes_server_check 'FTPES server 0' 1032 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1032 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 0 ' on localhost:1032 responded ok' + return + ftpes_server_check 'FTPES server 1' 1033 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1033 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 1 ' on localhost:1033 responded ok' + return + ftpes_server_check 'FTPES server 2' 1034 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1034 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 2 ' on localhost:1034 responded ok' + return + ftpes_server_check 'FTPES server 3' 1035 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1035 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 3 ' on localhost:1035 responded ok' + return + ftpes_server_check 'FTPES server 4' 1036 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1036 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 4 ' on localhost:1036 responded ok' + return + sftp_server_check 'SFTP server 0' 1022 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1022 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 0 ' on localhost:1022 responded ok' + return + sftp_server_check 'SFTP server 1' 1023 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1023 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 1 ' on localhost:1023 responded ok' + return + sftp_server_check 'SFTP server 2' 1024 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1024 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 2 ' on localhost:1024 responded ok' + return + sftp_server_check 'SFTP server 3' 1025 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1025 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 3 ' on localhost:1025 responded ok' + return + sftp_server_check 'SFTP server 4' 1026 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1026 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 4 ' on localhost:1026 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 0' 81 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:81' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 0' ' on localhost: 81 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 1' 82 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:82' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 1' ' on localhost: 82 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 2' 83 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:83' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 2' ' on localhost: 83 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 3' 84 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:84' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 3' ' on localhost: 84 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 4' 85 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:85' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 4' ' on localhost: 85 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 0' 32001 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32001 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 0 ' on localhost:32001 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 1' 32002 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32002 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 1 ' on localhost:32002 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 2' 32003 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32003 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 2 ' on localhost:32003 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 3' 32004 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32004 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 3 ' on localhost:32004 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 4' 32005 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32005 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 4 ' on localhost:32005 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 0' 444 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:444' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 0' ' on localhost: 444 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 1' 445 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:445' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 1' ' on localhost: 445 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 2' 446 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:446' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 2' ' on localhost: 446 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 3' 447 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:447' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 3' ' on localhost: 447 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 4' 448 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:448' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 4' ' on localhost: 448 responded ok' + return + http_https_server_check 'HTTPS client certificate authentication server 0' 444 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 0 ' on localhost:444 - no response' + http_https_server_check 'HTTPS client certificate authentication server 1' 445 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 1 ' on localhost:445 - no response' + http_https_server_check 'HTTPS client certificate authentication server 2' 446 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 2 ' on localhost:446 - no response' + http_https_server_check 'HTTPS client certificate authentication server 3' 447 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 3 ' on localhost:447 - no response' + http_https_server_check 'HTTPS client certificate authentication server 4' 448 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 4 ' on localhost:448 - no response' + http_https_server_check 'HTTPS no auth server 0' 8081 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8081 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 0 ' on localhost:8081 responded ok' + return + http_https_server_check 'HTTPS no auth server 1' 8082 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8082 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 1 ' on localhost:8082 responded ok' + return + http_https_server_check 'HTTPS no auth server 2' 8083 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8083 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 2 ' on localhost:8083 responded ok' + return + http_https_server_check 'HTTPS no auth server 3' 8084 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8084 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 3 ' on localhost:8084 responded ok' + return + http_https_server_check 'HTTPS no auth server 4' 8085 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8085 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 4 ' on localhost:8085 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 0' 32101 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32101 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 0 ' on localhost:32101 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 1' 32102 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32102 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 1 ' on localhost:32102 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 2' 32103 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32103 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 2 ' on localhost:32103 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 3' 32104 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32104 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 3 ' on localhost:32104 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 4' 32105 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32105 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 4 ' on localhost:32105 responded ok' + return + echo '' + '[' -z 1 ']' + '[' -z 1 ']' + '[' -z 5MB ']' + '[' -z SFTP ']' + '[' -z A ']' + '[' SFTP = ALL ']' + '[' SFTP = SFTP ']' + echo 'Creating files for SFTP server, may take time....' + p=0 + '[' 0 -lt 1 ']' + docker cp setup-ftp-files-for-image.sh fd5346b39fe5:/tmp/ + docker exec -w //home/onap/ fd5346b39fe5 //tmp/setup-ftp-files-for-image.sh 1 1 5MB A 1 0 + let p=p+1 + '[' 1 -lt 1 ']' + '[' SFTP = ALL ']' + '[' SFTP = FTPES ']' + '[' -z 1 ']' + '[' -z HTTP ']' + '[' -z A ']' + '[' HTTP = ALL ']' + '[' HTTP = HTTP ']' + echo 'Creating files for HTTP server, may take time....' + p=0 + '[' 0 -lt 1 ']' + docker cp setup-http-files-for-image.sh b18659a82253:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs b18659a82253 //tmp/setup-http-files-for-image.sh 1 1 5MB A 1 0 + let p=p+1 + '[' 1 -lt 1 ']' + echo 'Done: All simulators started and configured' APP configuration: dmaap.certificateConfig.keyCert: /opt/app/datafile/etc/cert/cert.jks dmaap.certificateConfig.keyPasswordPath: /opt/app/datafile/etc/cert/jks.pass dmaap.certificateConfig.trustedCa: /opt/app/datafile/etc/cert/trust.jks dmaap.certificateConfig.trustedCaPasswordPath: /opt/app/datafile/etc/cert/trust.pass dmaap.security.trustStorePath: /opt/app/datafile/etc/cert/trust.jks dmaap.security.trustStorePasswordPath: /opt/app/datafile/etc/cert/trust.pass dmaap.security.keyStorePath: /opt/app/datafile/etc/cert/cert.jks dmaap.security.keyStorePasswordPath: /opt/app/datafile/etc/cert/jks.pass dmaap.security.enableDmaapCertAuth: "false" dmaap.dmaapConsumerConfiguration.consumerGroup: OpenDcae-c12 dmaap.dmaapConsumerConfiguration.consumerId: C12 dmaap.dmaapConsumerConfiguration.timeoutMs: -1 sftp.security.strictHostKeyChecking: "true" streams_publishes: PM_MEAS_FILES: type: data_router dmaap_info: username: user log_url: https://drsim:3907/feedlog/2 publish_url: https://drsim:3907/publish/2 location: loc00 password: password publisher_id: 972.360gm streams_subscribes: dmaap_subscriber: dmaap_info: topic_url: http://mrsim:2222/events/unauthenticated.VES_NOTIFICATION_OUTPUT type: message_router Dfc-start: Creating docker network dfcnet, if needed sleep 1 sleep 2 sleep 3 sleep 4 sleep 5 sleep 6 sleep 7 sleep 8 sleep 9 sleep 10 + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + docker-compose up -d Pulling dfc (nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest)... manifest for nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest not found: manifest unknown: manifest unknown ++ docker ps -q --filter=name=dfc_app0 + DFC_APP= + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 1 + sleep 1 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 2 + sleep 2 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 3 + sleep 3 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 4 + sleep 4 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 5 + sleep 5 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 6 + sleep 6 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 7 + sleep 7 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 8 + sleep 8 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 9 + sleep 9 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 10 + sleep 10 Configured sftp sims: sftp-server0:22 Configured ftpes sims: ftpes-server-vsftpd0:21 Configured http sims: http-https-server0:80 Configured http JWT sims: http-https-server0:32000 Configured https sims: http-https-server0:443 Configured https with no authorization sims: http-https-server0:8080 Configured https JWT sims: http-https-server0:32100 Configured number of ftp servers: 1 Configured number of http/https/https with no auth/JWT servers: 1 each Groups detected: OpenDcae-c12:PM_MEAS_FILES Configured groups: OpenDcae-c12:PM_MEAS_FILES Configured changeid to file prefix mapping: PM_MEAS_FILES:A TC num: TC# 101 Using sftp-server0:22 for sftp server with index 0 for sftp server address and port in file urls. Using ftpes-server-vsftpd0:21 for ftpes server with index 0 for ftpes server address and port in file urls. Using http-https-server0:80 for http server with index 0 for http server address and port in file urls. Using http-https-server0:32000 for http jwt server with index 0 for http jwt server address and port in file urls. Using http-https-server0:443 for https server with index 0 for https server address and port in file urls. Using http-https-server0:8080 for https server with no authentication with index 0 for https server address and port in file urls. Using http-https-server0:32100 for https jwt server with index 0 for https jwt server address and port in file urls. Using up to 1 ftp servers, for each protocol for PNFs. Using up to 1 http/https/https with no auth/jwt servers, for each protocol for PNFs. * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off Killing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 Removing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 done * Running on http://0.0.0.0:2222/ (Press CTRL+C to quit) * Running on https://0.0.0.0:2223/ (Press CTRL+C to quit) 172.17.0.1 - - [16/Nov/2023 16:48:31] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 16:48:31] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 16:49:24] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 16:50:21] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 16:50:31] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 16:50:41] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 16:50:51] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 16:51:01] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 16:51:11] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 16:51:21] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ Verify single event with single 50MB SFTP file. From event poll to... Simulator-start: Creating docker network dfcnet, if needed All simulators Started Simulator DR sim on localhost:3906/ responded ok Simulator DR redir sim on localhost:3908/ responded ok Simulator MR sim on localhost:2222/ responded ok Simulator DR sim https on https://localhost:3907/ responded ok Simulator DR redir sim https on https://localhost:3909/ responded ok Simulator MR sim https on https://localhost:2223/ responded ok Simulator FTPES server 0 on localhost:1032 responded ok Simulator FTPES server 1 on localhost:1033 responded ok Simulator FTPES server 2 on localhost:1034 responded ok Simulator FTPES server 3 on localhost:1035 responded ok Simulator FTPES server 4 on localhost:1036 responded ok Simulator SFTP server 0 on localhost:1022 responded ok Simulator SFTP server 1 on localhost:1023 responded ok Simulator SFTP server 2 on localhost:1024 responded ok Simulator SFTP server 3 on localhost:1025 responded ok Simulator SFTP server 4 on localhost:1026 responded ok Simulator HTTP basic auth server 0 on localhost: 81 responded ok Simulator HTTP basic auth server 1 on localhost: 82 responded ok Simulator HTTP basic auth server 2 on localhost: 83 responded ok Simulator HTTP basic auth server 3 on localhost: 84 responded ok Simulator HTTP basic auth server 4 on localhost: 85 responded ok Simulator HTTP JWT server 0 on localhost:32001 responded ok Simulator HTTP JWT server 1 on localhost:32002 responded ok Simulator HTTP JWT server 2 on localhost:32003 responded ok Simulator HTTP JWT server 3 on localhost:32004 responded ok Simulator HTTP JWT server 4 on localhost:32005 responded ok Simulator HTTPS basic auth server 0 on localhost: 444 responded ok Simulator HTTPS basic auth server 1 on localhost: 445 responded ok Simulator HTTPS basic auth server 2 on localhost: 446 responded ok Simulator HTTPS basic auth server 3 on localhost: 447 responded ok Simulator HTTPS basic auth server 4 on localhost: 448 responded ok Simulator HTTPS client certificate authentication server 0 on localhost:444 - no response Simulator HTTPS client certificate authentication server 1 on localhost:445 - no response Simulator HTTPS client certificate authentication server 2 on localhost:446 - no response Simulator HTTPS client certificate authentication server 3 on localhost:447 - no response Simulator HTTPS client certificate authentication server 4 on localhost:448 - no response Simulator HTTPS no auth server 0 on localhost:8081 responded ok Simulator HTTPS no auth server 1 on localhost:8082 responded ok Simulator HTTPS no auth server 2 on localhost:8083 responded ok Simulator HTTPS no auth server 3 on localhost:8084 responded ok Simulator HTTPS no auth server 4 on localhost:8085 responded ok Simulator HTTPS JWT server 0 on localhost:32101 responded ok Simulator HTTPS JWT server 1 on localhost:32102 responded ok Simulator HTTPS JWT server 2 on localhost:32103 responded ok Simulator HTTPS JWT server 3 on localhost:32104 responded ok Simulator HTTPS JWT server 4 on localhost:32105 responded ok Creating files for SFTP server, may take time.... Running ftp file creations. 1 PNFs and 1 files for each PNF with file size(s) 50MB and file prefixe(s) A in ftp servers with index 0 Creating files for HTTP server, may take time.... Running http file creations. 1 PNFs and 1 files for each PNF with file size(s) 50MB and file prefixe(s) A in http servers with index 0 Done: All simulators started and configured + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Starting dfc_cmpv2-postprocessor ... Creating dfc_http-https-server4 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_http-https-server1 ... Creating dfc_dr-sim ... Creating dfc_http-https-server3 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_sftp-server2 ... Creating dfc_sftp-server4 ... Creating dfc_http-https-server2 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_sftp-server3 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_http-https-server0 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_sftp-server1 ... Creating dfc_dr-redir-sim ... Creating dfc_sftp-server0 ... Creating dfc_mr-sim ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_dr-sim ... done Creating dfc_dr-redir-sim ... done Creating dfc_sftp-server2 ... done Creating dfc_sftp-server3 ... done Creating dfc_sftp-server0 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_http-https-server3 ... done Creating dfc_http-https-server1 ... done Creating dfc_sftp-server4 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_http-https-server4 ... done Creating dfc_sftp-server1 ... done Creating dfc_http-https-server2 ... done Creating dfc_mr-sim ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_http-https-server0 ... done ++ id -u ++ id -g + sudo chown 1001:1001 dfc_configs + declare -a SFTP_SIM + declare -a FTPES_SIM + declare -a HTTP_SIM ++ docker ps -q --filter=name=dfc_dr-sim + DR_SIM=1c02dfb3eece ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=fe5d564575c9 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=a3f8e92f2e4a ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=2ed67e11f179 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=a8599b76b2d6 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=a733b7a7dc50 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=39b7246adbdc ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=00563b5bf108 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=42e37596d573 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=e747ad340d4f ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=5d3e3ba28e27 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=6fbf2451e2a8 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=d646d269c50b ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=1b7a2f741a5b ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=f6f9ba5b2d04 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=4cd4a3b16865 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=49383e7fcced ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=eb0ca3d6332f + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 1c02dfb3eece + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' fe5d564575c9 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a3f8e92f2e4a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2ed67e11f179 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a8599b76b2d6 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a733b7a7dc50 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 39b7246adbdc + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 00563b5bf108 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 42e37596d573 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e747ad340d4f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5d3e3ba28e27 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6fbf2451e2a8 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d646d269c50b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1b7a2f741a5b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f6f9ba5b2d04 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4cd4a3b16865 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 49383e7fcced + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' eb0ca3d6332f + '[' true ']' + echo 'All simulators Started' + break + '[' -z '' ']' + BASIC_AUTH_LOGIN=demo + '[' -z '' ']' + BASIC_AUTH_PASSWORD='demo123456!' + server_check 'DR sim ' 3906 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3906/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim ' on localhost:3906/ responded ok' + return + server_check 'DR redir sim ' 3908 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3908/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim ' on localhost:3908/ responded ok' + return + server_check 'MR sim ' 2222 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:2222/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim ' on localhost:2222/ responded ok' + return + server_check_https 'DR sim https ' 3907 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3907/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim https ' on https://localhost:3907/ responded ok' + return + server_check_https 'DR redir sim https' 3909 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3909/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim https ' on https://localhost:3909/ responded ok' + return + server_check_https 'MR sim https ' 2223 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:2223/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim https ' on https://localhost:2223/ responded ok' + return + ftpes_server_check 'FTPES server 0' 1032 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1032 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 0 ' on localhost:1032 responded ok' + return + ftpes_server_check 'FTPES server 1' 1033 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1033 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 1 ' on localhost:1033 responded ok' + return + ftpes_server_check 'FTPES server 2' 1034 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1034 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 2 ' on localhost:1034 responded ok' + return + ftpes_server_check 'FTPES server 3' 1035 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1035 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 3 ' on localhost:1035 responded ok' + return + ftpes_server_check 'FTPES server 4' 1036 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1036 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 4 ' on localhost:1036 responded ok' + return + sftp_server_check 'SFTP server 0' 1022 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1022 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 0 ' on localhost:1022 responded ok' + return + sftp_server_check 'SFTP server 1' 1023 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1023 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 1 ' on localhost:1023 responded ok' + return + sftp_server_check 'SFTP server 2' 1024 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1024 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 2 ' on localhost:1024 responded ok' + return + sftp_server_check 'SFTP server 3' 1025 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1025 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 3 ' on localhost:1025 responded ok' + return + sftp_server_check 'SFTP server 4' 1026 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1026 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 4 ' on localhost:1026 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 0' 81 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:81' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 0' ' on localhost: 81 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 1' 82 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:82' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 1' ' on localhost: 82 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 2' 83 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:83' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 2' ' on localhost: 83 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 3' 84 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:84' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 3' ' on localhost: 84 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 4' 85 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:85' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 4' ' on localhost: 85 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 0' 32001 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32001 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 0 ' on localhost:32001 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 1' 32002 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32002 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 1 ' on localhost:32002 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 2' 32003 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32003 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 2 ' on localhost:32003 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 3' 32004 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32004 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 3 ' on localhost:32004 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 4' 32005 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32005 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 4 ' on localhost:32005 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 0' 444 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:444' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 0' ' on localhost: 444 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 1' 445 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:445' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 1' ' on localhost: 445 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 2' 446 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:446' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 2' ' on localhost: 446 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 3' 447 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:447' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 3' ' on localhost: 447 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 4' 448 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:448' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 4' ' on localhost: 448 responded ok' + return + http_https_server_check 'HTTPS client certificate authentication server 0' 444 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 0 ' on localhost:444 - no response' + http_https_server_check 'HTTPS client certificate authentication server 1' 445 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 1 ' on localhost:445 - no response' + http_https_server_check 'HTTPS client certificate authentication server 2' 446 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 2 ' on localhost:446 - no response' + http_https_server_check 'HTTPS client certificate authentication server 3' 447 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 3 ' on localhost:447 - no response' + http_https_server_check 'HTTPS client certificate authentication server 4' 448 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 4 ' on localhost:448 - no response' + http_https_server_check 'HTTPS no auth server 0' 8081 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8081 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 0 ' on localhost:8081 responded ok' + return + http_https_server_check 'HTTPS no auth server 1' 8082 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8082 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 1 ' on localhost:8082 responded ok' + return + http_https_server_check 'HTTPS no auth server 2' 8083 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8083 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 2 ' on localhost:8083 responded ok' + return + http_https_server_check 'HTTPS no auth server 3' 8084 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8084 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 3 ' on localhost:8084 responded ok' + return + http_https_server_check 'HTTPS no auth server 4' 8085 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8085 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 4 ' on localhost:8085 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 0' 32101 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32101 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 0 ' on localhost:32101 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 1' 32102 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32102 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 1 ' on localhost:32102 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 2' 32103 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32103 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 2 ' on localhost:32103 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 3' 32104 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32104 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 3 ' on localhost:32104 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 4' 32105 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32105 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 4 ' on localhost:32105 responded ok' + return + echo '' + '[' -z 1 ']' + '[' -z 1 ']' + '[' -z 50MB ']' + '[' -z SFTP ']' + '[' -z A ']' + '[' SFTP = ALL ']' + '[' SFTP = SFTP ']' + echo 'Creating files for SFTP server, may take time....' + p=0 + '[' 0 -lt 1 ']' + docker cp setup-ftp-files-for-image.sh 2ed67e11f179:/tmp/ + docker exec -w //home/onap/ 2ed67e11f179 //tmp/setup-ftp-files-for-image.sh 1 1 50MB A 1 0 + let p=p+1 + '[' 1 -lt 1 ']' + '[' SFTP = ALL ']' + '[' SFTP = FTPES ']' + '[' -z 1 ']' + '[' -z HTTP ']' + '[' -z A ']' + '[' HTTP = ALL ']' + '[' HTTP = HTTP ']' + echo 'Creating files for HTTP server, may take time....' + p=0 + '[' 0 -lt 1 ']' + docker cp setup-http-files-for-image.sh 1b7a2f741a5b:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 1b7a2f741a5b //tmp/setup-http-files-for-image.sh 1 1 50MB A 1 0 + let p=p+1 + '[' 1 -lt 1 ']' + echo 'Done: All simulators started and configured' APP configuration: dmaap.certificateConfig.keyCert: /opt/app/datafile/etc/cert/cert.jks dmaap.certificateConfig.keyPasswordPath: /opt/app/datafile/etc/cert/jks.pass dmaap.certificateConfig.trustedCa: /opt/app/datafile/etc/cert/trust.jks dmaap.certificateConfig.trustedCaPasswordPath: /opt/app/datafile/etc/cert/trust.pass dmaap.security.trustStorePath: /opt/app/datafile/etc/cert/trust.jks dmaap.security.trustStorePasswordPath: /opt/app/datafile/etc/cert/trust.pass dmaap.security.keyStorePath: /opt/app/datafile/etc/cert/cert.jks dmaap.security.keyStorePasswordPath: /opt/app/datafile/etc/cert/jks.pass dmaap.security.enableDmaapCertAuth: "false" dmaap.dmaapConsumerConfiguration.consumerGroup: OpenDcae-c12 dmaap.dmaapConsumerConfiguration.consumerId: C12 dmaap.dmaapConsumerConfiguration.timeoutMs: -1 sftp.security.strictHostKeyChecking: "true" streams_publishes: PM_MEAS_FILES: type: data_router dmaap_info: username: user log_url: https://drsim:3907/feedlog/2 publish_url: https://drsim:3907/publish/2 location: loc00 password: password publisher_id: 972.360gm streams_subscribes: dmaap_subscriber: dmaap_info: topic_url: http://mrsim:2222/events/unauthenticated.VES_NOTIFICATION_OUTPUT type: message_router Dfc-start: Creating docker network dfcnet, if needed sleep 1 sleep 2 sleep 3 sleep 4 sleep 5 sleep 6 sleep 7 sleep 8 sleep 9 sleep 10 + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + docker-compose up -d Pulling dfc (nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest)... manifest for nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest not found: manifest unknown: manifest unknown ++ docker ps -q --filter=name=dfc_app0 + DFC_APP= + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 1 + sleep 1 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 2 + sleep 2 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 3 + sleep 3 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 4 + sleep 4 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 5 + sleep 5 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 6 + sleep 6 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 7 + sleep 7 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 8 + sleep 8 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 9 + sleep 9 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 10 + sleep 10 Configured sftp sims: sftp-server0:22 Configured ftpes sims: ftpes-server-vsftpd0:21 Configured http sims: http-https-server0:80 Configured http JWT sims: http-https-server0:32000 Configured https sims: http-https-server0:443 Configured https with no authorization sims: http-https-server0:8080 Configured https JWT sims: http-https-server0:32100 Configured number of ftp servers: 1 Configured number of http/https/https with no auth/JWT servers: 1 each Groups detected: OpenDcae-c12:PM_MEAS_FILES Configured groups: OpenDcae-c12:PM_MEAS_FILES Configured changeid to file prefix mapping: PM_MEAS_FILES:A TC num: TC# 102 Using sftp-server0:22 for sftp server with index 0 for sftp server address and port in file urls. Using ftpes-server-vsftpd0:21 for ftpes server with index 0 for ftpes server address and port in file urls. Using http-https-server0:80 for http server with index 0 for http server address and port in file urls. Using http-https-server0:32000 for http jwt server with index 0 for http jwt server address and port in file urls. Using http-https-server0:443 for https server with index 0 for https server address and port in file urls. Using http-https-server0:8080 for https server with no authentication with index 0 for https server address and port in file urls. Using http-https-server0:32100 for https jwt server with index 0 for https jwt server address and port in file urls. Using up to 1 ftp servers, for each protocol for PNFs. Using up to 1 http/https/https with no auth/jwt servers, for each protocol for PNFs. * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off Killing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 Removing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 done * Running on http://0.0.0.0:2222/ (Press CTRL+C to quit) * Running on https://0.0.0.0:2223/ (Press CTRL+C to quit) 172.17.0.1 - - [16/Nov/2023 16:51:45] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 16:51:45] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 16:52:39] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 16:53:35] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 16:53:45] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 16:53:55] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 16:54:05] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 16:54:15] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 16:54:25] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 16:54:35] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ Verify single event with single 1MB FTPES file. From event poll to... Simulator-start: Creating docker network dfcnet, if needed All simulators Started Simulator DR sim on localhost:3906/ responded ok Simulator DR redir sim on localhost:3908/ responded ok Simulator MR sim on localhost:2222/ responded ok Simulator DR sim https on https://localhost:3907/ responded ok Simulator DR redir sim https on https://localhost:3909/ responded ok Simulator MR sim https on https://localhost:2223/ responded ok Simulator FTPES server 0 on localhost:1032 responded ok Simulator FTPES server 1 on localhost:1033 responded ok Simulator FTPES server 2 on localhost:1034 responded ok Simulator FTPES server 3 on localhost:1035 responded ok Simulator FTPES server 4 on localhost:1036 responded ok Simulator SFTP server 0 on localhost:1022 responded ok Simulator SFTP server 1 on localhost:1023 responded ok Simulator SFTP server 2 on localhost:1024 responded ok Simulator SFTP server 3 on localhost:1025 responded ok Simulator SFTP server 4 on localhost:1026 responded ok Simulator HTTP basic auth server 0 on localhost: 81 responded ok Simulator HTTP basic auth server 1 on localhost: 82 responded ok Simulator HTTP basic auth server 2 on localhost: 83 responded ok Simulator HTTP basic auth server 3 on localhost: 84 responded ok Simulator HTTP basic auth server 4 on localhost: 85 responded ok Simulator HTTP JWT server 0 on localhost:32001 responded ok Simulator HTTP JWT server 1 on localhost:32002 responded ok Simulator HTTP JWT server 2 on localhost:32003 responded ok Simulator HTTP JWT server 3 on localhost:32004 responded ok Simulator HTTP JWT server 4 on localhost:32005 responded ok Simulator HTTPS basic auth server 0 on localhost: 444 responded ok Simulator HTTPS basic auth server 1 on localhost: 445 responded ok Simulator HTTPS basic auth server 2 on localhost: 446 responded ok Simulator HTTPS basic auth server 3 on localhost: 447 responded ok Simulator HTTPS basic auth server 4 on localhost: 448 responded ok Simulator HTTPS client certificate authentication server 0 on localhost:444 - no response Simulator HTTPS client certificate authentication server 1 on localhost:445 - no response Simulator HTTPS client certificate authentication server 2 on localhost:446 - no response Simulator HTTPS client certificate authentication server 3 on localhost:447 - no response Simulator HTTPS client certificate authentication server 4 on localhost:448 - no response Simulator HTTPS no auth server 0 on localhost:8081 responded ok Simulator HTTPS no auth server 1 on localhost:8082 responded ok Simulator HTTPS no auth server 2 on localhost:8083 responded ok Simulator HTTPS no auth server 3 on localhost:8084 responded ok Simulator HTTPS no auth server 4 on localhost:8085 responded ok Simulator HTTPS JWT server 0 on localhost:32101 responded ok Simulator HTTPS JWT server 1 on localhost:32102 responded ok Simulator HTTPS JWT server 2 on localhost:32103 responded ok Simulator HTTPS JWT server 3 on localhost:32104 responded ok Simulator HTTPS JWT server 4 on localhost:32105 responded ok Creating files for FTPES server, may take time.... Running ftp file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in ftp servers with index 0 Creating files for HTTP server, may take time.... Running http file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in http servers with index 0 Done: All simulators started and configured + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Creating dfc_http-https-server4 ... Creating dfc_http-https-server2 ... Creating dfc_sftp-server0 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_sftp-server4 ... Creating dfc_sftp-server3 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_dr-sim ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_mr-sim ... Creating dfc_dr-redir-sim ... Creating dfc_sftp-server1 ... Creating dfc_sftp-server2 ... Creating dfc_http-https-server1 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_http-https-server3 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_http-https-server0 ... Creating dfc_ftpes-server-vsftpd2 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server3 ... done Creating dfc_sftp-server0 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_sftp-server1 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_sftp-server2 ... done Creating dfc_sftp-server4 ... done Creating dfc_dr-redir-sim ... done Creating dfc_dr-sim ... done Creating dfc_mr-sim ... done Creating dfc_http-https-server4 ... done Creating dfc_http-https-server2 ... done Creating dfc_http-https-server1 ... done Creating dfc_http-https-server3 ... done Creating dfc_http-https-server0 ... done ++ id -u ++ id -g + sudo chown 1001:1001 dfc_configs + declare -a SFTP_SIM + declare -a FTPES_SIM + declare -a HTTP_SIM ++ docker ps -q --filter=name=dfc_dr-sim + DR_SIM=20df26e66ab5 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=5feb046c5274 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=cd5fa48ddcaf ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=487ae988e93c ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=ae60a982d3c6 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=37e8dbda364b ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=2c82adc3848c ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=a1516bd02460 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=64a92abf92e9 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=44b021d54f2d ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=7baf0c7c93f1 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=18dfb3ef27b0 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=ad90088ca0fb ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=6a928c72ff16 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=bae1fc836c6d ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=da13162f9a1c ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=09dd35486435 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=46f19b4d0cbe + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 20df26e66ab5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5feb046c5274 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' cd5fa48ddcaf + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 487ae988e93c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ae60a982d3c6 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 37e8dbda364b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2c82adc3848c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a1516bd02460 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 64a92abf92e9 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 44b021d54f2d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7baf0c7c93f1 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 18dfb3ef27b0 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ad90088ca0fb + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6a928c72ff16 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' bae1fc836c6d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' da13162f9a1c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 09dd35486435 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 46f19b4d0cbe + '[' true ']' + echo 'All simulators Started' + break + '[' -z '' ']' + BASIC_AUTH_LOGIN=demo + '[' -z '' ']' + BASIC_AUTH_PASSWORD='demo123456!' + server_check 'DR sim ' 3906 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3906/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim ' on localhost:3906/ responded ok' + return + server_check 'DR redir sim ' 3908 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3908/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim ' on localhost:3908/ responded ok' + return + server_check 'MR sim ' 2222 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:2222/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim ' on localhost:2222/ responded ok' + return + server_check_https 'DR sim https ' 3907 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3907/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim https ' on https://localhost:3907/ responded ok' + return + server_check_https 'DR redir sim https' 3909 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3909/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim https ' on https://localhost:3909/ responded ok' + return + server_check_https 'MR sim https ' 2223 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:2223/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim https ' on https://localhost:2223/ responded ok' + return + ftpes_server_check 'FTPES server 0' 1032 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1032 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 0 ' on localhost:1032 responded ok' + return + ftpes_server_check 'FTPES server 1' 1033 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1033 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 1 ' on localhost:1033 responded ok' + return + ftpes_server_check 'FTPES server 2' 1034 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1034 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 2 ' on localhost:1034 responded ok' + return + ftpes_server_check 'FTPES server 3' 1035 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1035 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 3 ' on localhost:1035 responded ok' + return + ftpes_server_check 'FTPES server 4' 1036 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1036 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 4 ' on localhost:1036 responded ok' + return + sftp_server_check 'SFTP server 0' 1022 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1022 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 0 ' on localhost:1022 responded ok' + return + sftp_server_check 'SFTP server 1' 1023 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1023 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 1 ' on localhost:1023 responded ok' + return + sftp_server_check 'SFTP server 2' 1024 + for i in {1..10} ++ grep OpenSSH ++ curl --silent --max-time 3 localhost:1024 + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 2 ' on localhost:1024 responded ok' + return + sftp_server_check 'SFTP server 3' 1025 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1025 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 3 ' on localhost:1025 responded ok' + return + sftp_server_check 'SFTP server 4' 1026 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1026 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 4 ' on localhost:1026 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 0' 81 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:81' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 0' ' on localhost: 81 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 1' 82 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:82' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 1' ' on localhost: 82 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 2' 83 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:83' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 2' ' on localhost: 83 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 3' 84 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:84' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 3' ' on localhost: 84 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 4' 85 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:85' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 4' ' on localhost: 85 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 0' 32001 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32001 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 0 ' on localhost:32001 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 1' 32002 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32002 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 1 ' on localhost:32002 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 2' 32003 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32003 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 2 ' on localhost:32003 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 3' 32004 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32004 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 3 ' on localhost:32004 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 4' 32005 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32005 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 4 ' on localhost:32005 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 0' 444 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:444' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 0' ' on localhost: 444 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 1' 445 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:445' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 1' ' on localhost: 445 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 2' 446 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:446' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 2' ' on localhost: 446 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 3' 447 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:447' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 3' ' on localhost: 447 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 4' 448 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:448' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 4' ' on localhost: 448 responded ok' + return + http_https_server_check 'HTTPS client certificate authentication server 0' 444 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 0 ' on localhost:444 - no response' + http_https_server_check 'HTTPS client certificate authentication server 1' 445 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 1 ' on localhost:445 - no response' + http_https_server_check 'HTTPS client certificate authentication server 2' 446 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 2 ' on localhost:446 - no response' + http_https_server_check 'HTTPS client certificate authentication server 3' 447 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 3 ' on localhost:447 - no response' + http_https_server_check 'HTTPS client certificate authentication server 4' 448 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 4 ' on localhost:448 - no response' + http_https_server_check 'HTTPS no auth server 0' 8081 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8081 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 0 ' on localhost:8081 responded ok' + return + http_https_server_check 'HTTPS no auth server 1' 8082 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8082 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 1 ' on localhost:8082 responded ok' + return + http_https_server_check 'HTTPS no auth server 2' 8083 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8083 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 2 ' on localhost:8083 responded ok' + return + http_https_server_check 'HTTPS no auth server 3' 8084 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8084 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 3 ' on localhost:8084 responded ok' + return + http_https_server_check 'HTTPS no auth server 4' 8085 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8085 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 4 ' on localhost:8085 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 0' 32101 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32101 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 0 ' on localhost:32101 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 1' 32102 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32102 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 1 ' on localhost:32102 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 2' 32103 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32103 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 2 ' on localhost:32103 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 3' 32104 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32104 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 3 ' on localhost:32104 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 4' 32105 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32105 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 4 ' on localhost:32105 responded ok' + return + echo '' + '[' -z 1 ']' + '[' -z 1 ']' + '[' -z 1MB ']' + '[' -z FTPES ']' + '[' -z A ']' + '[' FTPES = ALL ']' + '[' FTPES = SFTP ']' + '[' FTPES = ALL ']' + '[' FTPES = FTPES ']' + echo 'Creating files for FTPES server, may take time....' + p=0 + '[' 0 -lt 1 ']' + docker cp setup-ftp-files-for-image.sh 64a92abf92e9:/tmp/setup-ftp-files-for-image.sh + docker exec -w //srv 64a92abf92e9 //tmp/setup-ftp-files-for-image.sh 1 1 1MB A 1 0 + let p=p+1 + '[' 1 -lt 1 ']' + '[' -z 1 ']' + '[' -z HTTP ']' + '[' -z A ']' + '[' HTTP = ALL ']' + '[' HTTP = HTTP ']' + echo 'Creating files for HTTP server, may take time....' + p=0 + '[' 0 -lt 1 ']' + docker cp setup-http-files-for-image.sh 6a928c72ff16:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 6a928c72ff16 //tmp/setup-http-files-for-image.sh 1 1 1MB A 1 0 + let p=p+1 + '[' 1 -lt 1 ']' + echo 'Done: All simulators started and configured' APP configuration: dmaap.certificateConfig.keyCert: /opt/app/datafile/etc/cert/cert.jks dmaap.certificateConfig.keyPasswordPath: /opt/app/datafile/etc/cert/jks.pass dmaap.certificateConfig.trustedCa: /opt/app/datafile/etc/cert/trust.jks dmaap.certificateConfig.trustedCaPasswordPath: /opt/app/datafile/etc/cert/trust.pass dmaap.security.trustStorePath: /opt/app/datafile/etc/cert/trust.jks dmaap.security.trustStorePasswordPath: /opt/app/datafile/etc/cert/trust.pass dmaap.security.keyStorePath: /opt/app/datafile/etc/cert/cert.jks dmaap.security.keyStorePasswordPath: /opt/app/datafile/etc/cert/jks.pass dmaap.security.enableDmaapCertAuth: "false" dmaap.dmaapConsumerConfiguration.consumerGroup: OpenDcae-c12 dmaap.dmaapConsumerConfiguration.consumerId: C12 dmaap.dmaapConsumerConfiguration.timeoutMs: -1 sftp.security.strictHostKeyChecking: "true" streams_publishes: PM_MEAS_FILES: type: data_router dmaap_info: username: user log_url: https://drsim:3907/feedlog/2 publish_url: https://drsim:3907/publish/2 location: loc00 password: password publisher_id: 972.360gm streams_subscribes: dmaap_subscriber: dmaap_info: topic_url: http://mrsim:2222/events/unauthenticated.VES_NOTIFICATION_OUTPUT type: message_router Dfc-start: Creating docker network dfcnet, if needed sleep 1 sleep 2 sleep 3 sleep 4 sleep 5 sleep 6 sleep 7 sleep 8 sleep 9 sleep 10 + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + docker-compose up -d Pulling dfc (nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest)... manifest for nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest not found: manifest unknown: manifest unknown ++ docker ps -q --filter=name=dfc_app0 + DFC_APP= + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 1 + sleep 1 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 2 + sleep 2 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 3 + sleep 3 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 4 + sleep 4 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 5 + sleep 5 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 6 + sleep 6 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 7 + sleep 7 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 8 + sleep 8 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 9 + sleep 9 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 10 + sleep 10 Configured sftp sims: sftp-server0:22 Configured ftpes sims: ftpes-server-vsftpd0:21 Configured http sims: http-https-server0:80 Configured http JWT sims: http-https-server0:32000 Configured https sims: http-https-server0:443 Configured https with no authorization sims: http-https-server0:8080 Configured https JWT sims: http-https-server0:32100 Configured number of ftp servers: 1 Configured number of http/https/https with no auth/JWT servers: 1 each Groups detected: OpenDcae-c12:PM_MEAS_FILES Configured groups: OpenDcae-c12:PM_MEAS_FILES Configured changeid to file prefix mapping: PM_MEAS_FILES:A TC num: TC# 200 Using sftp-server0:22 for sftp server with index 0 for sftp server address and port in file urls. Using ftpes-server-vsftpd0:21 for ftpes server with index 0 for ftpes server address and port in file urls. Using http-https-server0:80 for http server with index 0 for http server address and port in file urls. Using http-https-server0:32000 for http jwt server with index 0 for http jwt server address and port in file urls. Using http-https-server0:443 for https server with index 0 for https server address and port in file urls. Using http-https-server0:8080 for https server with no authentication with index 0 for https server address and port in file urls. Using http-https-server0:32100 for https jwt server with index 0 for https jwt server address and port in file urls. Using up to 1 ftp servers, for each protocol for PNFs. Using up to 1 http/https/https with no auth/jwt servers, for each protocol for PNFs. * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off Killing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 Removing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 done * Running on http://0.0.0.0:2222/ (Press CTRL+C to quit) * Running on https://0.0.0.0:2223/ (Press CTRL+C to quit) 172.17.0.1 - - [16/Nov/2023 16:55:04] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 16:55:04] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 16:55:58] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 16:56:54] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 16:57:04] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 16:57:14] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 16:57:24] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 16:57:34] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 16:57:44] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 16:57:54] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ Verify single event with single 5MB FTPES file. From event poll to... Simulator-start: Creating docker network dfcnet, if needed All simulators Started Simulator DR sim on localhost:3906/ responded ok Simulator DR redir sim on localhost:3908/ responded ok Simulator MR sim on localhost:2222/ responded ok Simulator DR sim https on https://localhost:3907/ responded ok Simulator DR redir sim https on https://localhost:3909/ responded ok Simulator MR sim https on https://localhost:2223/ responded ok Simulator FTPES server 0 on localhost:1032 responded ok Simulator FTPES server 1 on localhost:1033 responded ok Simulator FTPES server 2 on localhost:1034 responded ok Simulator FTPES server 3 on localhost:1035 responded ok Simulator FTPES server 4 on localhost:1036 responded ok Simulator SFTP server 0 on localhost:1022 responded ok Simulator SFTP server 1 on localhost:1023 responded ok Simulator SFTP server 2 on localhost:1024 responded ok Simulator SFTP server 3 on localhost:1025 responded ok Simulator SFTP server 4 on localhost:1026 responded ok Simulator HTTP basic auth server 0 on localhost: 81 responded ok Simulator HTTP basic auth server 1 on localhost: 82 responded ok Simulator HTTP basic auth server 2 on localhost: 83 responded ok Simulator HTTP basic auth server 3 on localhost: 84 responded ok Simulator HTTP basic auth server 4 on localhost: 85 responded ok Simulator HTTP JWT server 0 on localhost:32001 responded ok Simulator HTTP JWT server 1 on localhost:32002 responded ok Simulator HTTP JWT server 2 on localhost:32003 responded ok Simulator HTTP JWT server 3 on localhost:32004 responded ok Simulator HTTP JWT server 4 on localhost:32005 responded ok Simulator HTTPS basic auth server 0 on localhost: 444 responded ok Simulator HTTPS basic auth server 1 on localhost: 445 responded ok Simulator HTTPS basic auth server 2 on localhost: 446 responded ok Simulator HTTPS basic auth server 3 on localhost: 447 responded ok Simulator HTTPS basic auth server 4 on localhost: 448 responded ok Simulator HTTPS client certificate authentication server 0 on localhost:444 - no response Simulator HTTPS client certificate authentication server 1 on localhost:445 - no response Simulator HTTPS client certificate authentication server 2 on localhost:446 - no response Simulator HTTPS client certificate authentication server 3 on localhost:447 - no response Simulator HTTPS client certificate authentication server 4 on localhost:448 - no response Simulator HTTPS no auth server 0 on localhost:8081 responded ok Simulator HTTPS no auth server 1 on localhost:8082 responded ok Simulator HTTPS no auth server 2 on localhost:8083 responded ok Simulator HTTPS no auth server 3 on localhost:8084 responded ok Simulator HTTPS no auth server 4 on localhost:8085 responded ok Simulator HTTPS JWT server 0 on localhost:32101 responded ok Simulator HTTPS JWT server 1 on localhost:32102 responded ok Simulator HTTPS JWT server 2 on localhost:32103 responded ok Simulator HTTPS JWT server 3 on localhost:32104 responded ok Simulator HTTPS JWT server 4 on localhost:32105 responded ok Creating files for FTPES server, may take time.... Running ftp file creations. 1 PNFs and 1 files for each PNF with file size(s) 5MB and file prefixe(s) A in ftp servers with index 0 Creating files for HTTP server, may take time.... Running http file creations. 1 PNFs and 1 files for each PNF with file size(s) 5MB and file prefixe(s) A in http servers with index 0 Done: All simulators started and configured + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_mr-sim ... Creating dfc_sftp-server1 ... Creating dfc_http-https-server1 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_http-https-server4 ... Creating dfc_http-https-server0 ... Creating dfc_sftp-server3 ... Creating dfc_sftp-server4 ... Creating dfc_sftp-server2 ... Creating dfc_sftp-server0 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_http-https-server2 ... Creating dfc_dr-sim ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_dr-redir-sim ... Creating dfc_http-https-server3 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_ftpes-server-vsftpd0 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_sftp-server4 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_sftp-server0 ... done Creating dfc_dr-redir-sim ... done Creating dfc_mr-sim ... done Creating dfc_dr-sim ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_sftp-server3 ... done Creating dfc_sftp-server1 ... done Creating dfc_sftp-server2 ... done Creating dfc_http-https-server3 ... done Creating dfc_http-https-server0 ... done Creating dfc_http-https-server1 ... done Creating dfc_http-https-server4 ... done Creating dfc_http-https-server2 ... done ++ id -u ++ id -g + sudo chown 1001:1001 dfc_configs + declare -a SFTP_SIM + declare -a FTPES_SIM + declare -a HTTP_SIM ++ docker ps -q --filter=name=dfc_dr-sim + DR_SIM=2bbde819b856 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=bb270622818e ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=25476e4bef19 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=5b24da9fc85d ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=552d27c083b8 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=24e9854ac8ac ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=96c6f0af7c96 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=4c1379d1b128 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=437fabd9c596 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=f241818dd51a ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=775fcfbd6fff ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=5fe47befe3fe ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=2ed30e2463fe ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=e1dc52736848 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=3d59916c7792 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=ba0008d79057 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=87f2f3fc6a75 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=fd714ea83560 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 2bbde819b856 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' bb270622818e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 25476e4bef19 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5b24da9fc85d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 552d27c083b8 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 24e9854ac8ac + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 96c6f0af7c96 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4c1379d1b128 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 437fabd9c596 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f241818dd51a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 775fcfbd6fff + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5fe47befe3fe + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2ed30e2463fe + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e1dc52736848 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 3d59916c7792 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ba0008d79057 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 87f2f3fc6a75 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' fd714ea83560 + '[' true ']' + echo 'All simulators Started' + break + '[' -z '' ']' + BASIC_AUTH_LOGIN=demo + '[' -z '' ']' + BASIC_AUTH_PASSWORD='demo123456!' + server_check 'DR sim ' 3906 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3906/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim ' on localhost:3906/ responded ok' + return + server_check 'DR redir sim ' 3908 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3908/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim ' on localhost:3908/ responded ok' + return + server_check 'MR sim ' 2222 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:2222/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim ' on localhost:2222/ responded ok' + return + server_check_https 'DR sim https ' 3907 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3907/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim https ' on https://localhost:3907/ responded ok' + return + server_check_https 'DR redir sim https' 3909 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3909/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim https ' on https://localhost:3909/ responded ok' + return + server_check_https 'MR sim https ' 2223 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:2223/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim https ' on https://localhost:2223/ responded ok' + return + ftpes_server_check 'FTPES server 0' 1032 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1032 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 0 ' on localhost:1032 responded ok' + return + ftpes_server_check 'FTPES server 1' 1033 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1033 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 1 ' on localhost:1033 responded ok' + return + ftpes_server_check 'FTPES server 2' 1034 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1034 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 2 ' on localhost:1034 responded ok' + return + ftpes_server_check 'FTPES server 3' 1035 + for i in {1..10} ++ grep vsFTPd ++ curl --silent --max-time 3 ftp://localhost:1035 --ftp-ssl -v -k + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 3 ' on localhost:1035 responded ok' + return + ftpes_server_check 'FTPES server 4' 1036 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1036 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 4 ' on localhost:1036 responded ok' + return + sftp_server_check 'SFTP server 0' 1022 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1022 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 0 ' on localhost:1022 responded ok' + return + sftp_server_check 'SFTP server 1' 1023 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1023 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 1 ' on localhost:1023 responded ok' + return + sftp_server_check 'SFTP server 2' 1024 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1024 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 2 ' on localhost:1024 responded ok' + return + sftp_server_check 'SFTP server 3' 1025 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1025 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 3 ' on localhost:1025 responded ok' + return + sftp_server_check 'SFTP server 4' 1026 + for i in {1..10} ++ grep OpenSSH ++ curl --silent --max-time 3 localhost:1026 + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 4 ' on localhost:1026 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 0' 81 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:81' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 0' ' on localhost: 81 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 1' 82 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:82' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 1' ' on localhost: 82 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 2' 83 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:83' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 2' ' on localhost: 83 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 3' 84 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:84' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 3' ' on localhost: 84 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 4' 85 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:85' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 4' ' on localhost: 85 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 0' 32001 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32001 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 0 ' on localhost:32001 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 1' 32002 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32002 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 1 ' on localhost:32002 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 2' 32003 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32003 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 2 ' on localhost:32003 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 3' 32004 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32004 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 3 ' on localhost:32004 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 4' 32005 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32005 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 4 ' on localhost:32005 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 0' 444 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:444' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 0' ' on localhost: 444 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 1' 445 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:445' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 1' ' on localhost: 445 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 2' 446 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:446' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 2' ' on localhost: 446 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 3' 447 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:447' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 3' ' on localhost: 447 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 4' 448 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:448' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 4' ' on localhost: 448 responded ok' + return + http_https_server_check 'HTTPS client certificate authentication server 0' 444 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 0 ' on localhost:444 - no response' + http_https_server_check 'HTTPS client certificate authentication server 1' 445 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 1 ' on localhost:445 - no response' + http_https_server_check 'HTTPS client certificate authentication server 2' 446 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 2 ' on localhost:446 - no response' + http_https_server_check 'HTTPS client certificate authentication server 3' 447 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 3 ' on localhost:447 - no response' + http_https_server_check 'HTTPS client certificate authentication server 4' 448 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 4 ' on localhost:448 - no response' + http_https_server_check 'HTTPS no auth server 0' 8081 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8081 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 0 ' on localhost:8081 responded ok' + return + http_https_server_check 'HTTPS no auth server 1' 8082 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8082 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 1 ' on localhost:8082 responded ok' + return + http_https_server_check 'HTTPS no auth server 2' 8083 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8083 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 2 ' on localhost:8083 responded ok' + return + http_https_server_check 'HTTPS no auth server 3' 8084 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8084 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 3 ' on localhost:8084 responded ok' + return + http_https_server_check 'HTTPS no auth server 4' 8085 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8085 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 4 ' on localhost:8085 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 0' 32101 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32101 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 0 ' on localhost:32101 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 1' 32102 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32102 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 1 ' on localhost:32102 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 2' 32103 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32103 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 2 ' on localhost:32103 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 3' 32104 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32104 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 3 ' on localhost:32104 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 4' 32105 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32105 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 4 ' on localhost:32105 responded ok' + return + echo '' + '[' -z 1 ']' + '[' -z 1 ']' + '[' -z 5MB ']' + '[' -z FTPES ']' + '[' -z A ']' + '[' FTPES = ALL ']' + '[' FTPES = SFTP ']' + '[' FTPES = ALL ']' + '[' FTPES = FTPES ']' + echo 'Creating files for FTPES server, may take time....' + p=0 + '[' 0 -lt 1 ']' + docker cp setup-ftp-files-for-image.sh 437fabd9c596:/tmp/setup-ftp-files-for-image.sh + docker exec -w //srv 437fabd9c596 //tmp/setup-ftp-files-for-image.sh 1 1 5MB A 1 0 + let p=p+1 + '[' 1 -lt 1 ']' + '[' -z 1 ']' + '[' -z HTTP ']' + '[' -z A ']' + '[' HTTP = ALL ']' + '[' HTTP = HTTP ']' + echo 'Creating files for HTTP server, may take time....' + p=0 + '[' 0 -lt 1 ']' + docker cp setup-http-files-for-image.sh e1dc52736848:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs e1dc52736848 //tmp/setup-http-files-for-image.sh 1 1 5MB A 1 0 + let p=p+1 + '[' 1 -lt 1 ']' + echo 'Done: All simulators started and configured' APP configuration: dmaap.certificateConfig.keyCert: /opt/app/datafile/etc/cert/cert.jks dmaap.certificateConfig.keyPasswordPath: /opt/app/datafile/etc/cert/jks.pass dmaap.certificateConfig.trustedCa: /opt/app/datafile/etc/cert/trust.jks dmaap.certificateConfig.trustedCaPasswordPath: /opt/app/datafile/etc/cert/trust.pass dmaap.security.trustStorePath: /opt/app/datafile/etc/cert/trust.jks dmaap.security.trustStorePasswordPath: /opt/app/datafile/etc/cert/trust.pass dmaap.security.keyStorePath: /opt/app/datafile/etc/cert/cert.jks dmaap.security.keyStorePasswordPath: /opt/app/datafile/etc/cert/jks.pass dmaap.security.enableDmaapCertAuth: "false" dmaap.dmaapConsumerConfiguration.consumerGroup: OpenDcae-c12 dmaap.dmaapConsumerConfiguration.consumerId: C12 dmaap.dmaapConsumerConfiguration.timeoutMs: -1 sftp.security.strictHostKeyChecking: "true" streams_publishes: PM_MEAS_FILES: type: data_router dmaap_info: username: user log_url: https://drsim:3907/feedlog/2 publish_url: https://drsim:3907/publish/2 location: loc00 password: password publisher_id: 972.360gm streams_subscribes: dmaap_subscriber: dmaap_info: topic_url: http://mrsim:2222/events/unauthenticated.VES_NOTIFICATION_OUTPUT type: message_router Dfc-start: Creating docker network dfcnet, if needed sleep 1 sleep 2 sleep 3 sleep 4 sleep 5 sleep 6 sleep 7 sleep 8 sleep 9 sleep 10 + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + docker-compose up -d Pulling dfc (nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest)... manifest for nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest not found: manifest unknown: manifest unknown ++ docker ps -q --filter=name=dfc_app0 + DFC_APP= + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 1 + sleep 1 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 2 + sleep 2 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 3 + sleep 3 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 4 + sleep 4 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 5 + sleep 5 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 6 + sleep 6 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 7 + sleep 7 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 8 + sleep 8 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 9 + sleep 9 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 10 + sleep 10 Configured sftp sims: sftp-server0:22 Configured ftpes sims: ftpes-server-vsftpd0:21 Configured http sims: http-https-server0:80 Configured http JWT sims: http-https-server0:32000 Configured https sims: http-https-server0:443 Configured https with no authorization sims: http-https-server0:8080 Configured https JWT sims: http-https-server0:32100 Configured number of ftp servers: 1 Configured number of http/https/https with no auth/JWT servers: 1 each Groups detected: OpenDcae-c12:PM_MEAS_FILES Configured groups: OpenDcae-c12:PM_MEAS_FILES Configured changeid to file prefix mapping: PM_MEAS_FILES:A TC num: TC# 201 Using sftp-server0:22 for sftp server with index 0 for sftp server address and port in file urls. Using ftpes-server-vsftpd0:21 for ftpes server with index 0 for ftpes server address and port in file urls. Using http-https-server0:80 for http server with index 0 for http server address and port in file urls. Using http-https-server0:32000 for http jwt server with index 0 for http jwt server address and port in file urls. Using http-https-server0:443 for https server with index 0 for https server address and port in file urls. Using http-https-server0:8080 for https server with no authentication with index 0 for https server address and port in file urls. Using http-https-server0:32100 for https jwt server with index 0 for https jwt server address and port in file urls. Using up to 1 ftp servers, for each protocol for PNFs. Using up to 1 http/https/https with no auth/jwt servers, for each protocol for PNFs. * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off Killing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 Removing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 done * Running on http://0.0.0.0:2222/ (Press CTRL+C to quit) * Running on https://0.0.0.0:2223/ (Press CTRL+C to quit) 172.17.0.1 - - [16/Nov/2023 16:58:20] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 16:58:21] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 16:59:14] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:00:10] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:00:20] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:00:30] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:00:40] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:00:50] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:01:00] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:01:10] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ Verify single event with single 50MB FTEPS file. From event poll t... Simulator-start: Creating docker network dfcnet, if needed All simulators Started Simulator DR sim on localhost:3906/ responded ok Simulator DR redir sim on localhost:3908/ responded ok Simulator MR sim on localhost:2222/ responded ok Simulator DR sim https on https://localhost:3907/ responded ok Simulator DR redir sim https on https://localhost:3909/ responded ok Simulator MR sim https on https://localhost:2223/ responded ok Simulator FTPES server 0 on localhost:1032 responded ok Simulator FTPES server 1 on localhost:1033 responded ok Simulator FTPES server 2 on localhost:1034 responded ok Simulator FTPES server 3 on localhost:1035 responded ok Simulator FTPES server 4 on localhost:1036 responded ok Simulator SFTP server 0 on localhost:1022 responded ok Simulator SFTP server 1 on localhost:1023 responded ok Simulator SFTP server 2 on localhost:1024 responded ok Simulator SFTP server 3 on localhost:1025 responded ok Simulator SFTP server 4 on localhost:1026 responded ok Simulator HTTP basic auth server 0 on localhost: 81 responded ok Simulator HTTP basic auth server 1 on localhost: 82 responded ok Simulator HTTP basic auth server 2 on localhost: 83 responded ok Simulator HTTP basic auth server 3 on localhost: 84 responded ok Simulator HTTP basic auth server 4 on localhost: 85 responded ok Simulator HTTP JWT server 0 on localhost:32001 responded ok Simulator HTTP JWT server 1 on localhost:32002 responded ok Simulator HTTP JWT server 2 on localhost:32003 responded ok Simulator HTTP JWT server 3 on localhost:32004 responded ok Simulator HTTP JWT server 4 on localhost:32005 responded ok Simulator HTTPS basic auth server 0 on localhost: 444 responded ok Simulator HTTPS basic auth server 1 on localhost: 445 responded ok Simulator HTTPS basic auth server 2 on localhost: 446 responded ok Simulator HTTPS basic auth server 3 on localhost: 447 responded ok Simulator HTTPS basic auth server 4 on localhost: 448 responded ok Simulator HTTPS client certificate authentication server 0 on localhost:444 - no response Simulator HTTPS client certificate authentication server 1 on localhost:445 - no response Simulator HTTPS client certificate authentication server 2 on localhost:446 - no response Simulator HTTPS client certificate authentication server 3 on localhost:447 - no response Simulator HTTPS client certificate authentication server 4 on localhost:448 - no response Simulator HTTPS no auth server 0 on localhost:8081 responded ok Simulator HTTPS no auth server 1 on localhost:8082 responded ok Simulator HTTPS no auth server 2 on localhost:8083 responded ok Simulator HTTPS no auth server 3 on localhost:8084 responded ok Simulator HTTPS no auth server 4 on localhost:8085 responded ok Simulator HTTPS JWT server 0 on localhost:32101 responded ok Simulator HTTPS JWT server 1 on localhost:32102 responded ok Simulator HTTPS JWT server 2 on localhost:32103 responded ok Simulator HTTPS JWT server 3 on localhost:32104 responded ok Simulator HTTPS JWT server 4 on localhost:32105 responded ok Creating files for FTPES server, may take time.... Running ftp file creations. 1 PNFs and 1 files for each PNF with file size(s) 50MB and file prefixe(s) A in ftp servers with index 0 Creating files for HTTP server, may take time.... Running http file creations. 1 PNFs and 1 files for each PNF with file size(s) 50MB and file prefixe(s) A in http servers with index 0 Done: All simulators started and configured + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Creating dfc_sftp-server4 ... Creating dfc_http-https-server4 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_sftp-server2 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_http-https-server0 ... Creating dfc_mr-sim ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_http-https-server2 ... Creating dfc_sftp-server3 ... Creating dfc_http-https-server1 ... Creating dfc_dr-redir-sim ... Creating dfc_sftp-server1 ... Creating dfc_http-https-server3 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_dr-sim ... Creating dfc_sftp-server0 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_sftp-server2 ... done Creating dfc_sftp-server4 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_sftp-server3 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_dr-redir-sim ... done Creating dfc_sftp-server1 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_http-https-server0 ... done Creating dfc_sftp-server0 ... done Creating dfc_mr-sim ... done Creating dfc_http-https-server2 ... done Creating dfc_dr-sim ... done Creating dfc_http-https-server4 ... done Creating dfc_http-https-server1 ... done Creating dfc_http-https-server3 ... done ++ id -u ++ id -g + sudo chown 1001:1001 dfc_configs + declare -a SFTP_SIM + declare -a FTPES_SIM + declare -a HTTP_SIM ++ docker ps -q --filter=name=dfc_dr-sim + DR_SIM=019d257accf4 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=e88b1a16513d ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=f71eeb42b694 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=ec5b4fda08be ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=bcbdf9084f22 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=560a0884ad78 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=81d3aedc2e66 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=60727d25791c ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=ce61a8a7d907 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=f24d2789b7d6 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=ae096e98e4d7 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=0487f8a84ef0 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=960600e2ba23 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=8bca07d34687 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=e0a4be610a46 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=03db2d4dd5e3 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=2c543aa21240 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=9f4552c9bf69 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 019d257accf4 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e88b1a16513d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f71eeb42b694 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ec5b4fda08be + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' bcbdf9084f22 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 560a0884ad78 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 81d3aedc2e66 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 60727d25791c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ce61a8a7d907 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f24d2789b7d6 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ae096e98e4d7 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 0487f8a84ef0 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 960600e2ba23 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8bca07d34687 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e0a4be610a46 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 03db2d4dd5e3 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2c543aa21240 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9f4552c9bf69 + '[' true ']' + echo 'All simulators Started' + break + '[' -z '' ']' + BASIC_AUTH_LOGIN=demo + '[' -z '' ']' + BASIC_AUTH_PASSWORD='demo123456!' + server_check 'DR sim ' 3906 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3906/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim ' on localhost:3906/ responded ok' + return + server_check 'DR redir sim ' 3908 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3908/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim ' on localhost:3908/ responded ok' + return + server_check 'MR sim ' 2222 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:2222/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim ' on localhost:2222/ responded ok' + return + server_check_https 'DR sim https ' 3907 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3907/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim https ' on https://localhost:3907/ responded ok' + return + server_check_https 'DR redir sim https' 3909 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3909/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim https ' on https://localhost:3909/ responded ok' + return + server_check_https 'MR sim https ' 2223 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:2223/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim https ' on https://localhost:2223/ responded ok' + return + ftpes_server_check 'FTPES server 0' 1032 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1032 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 0 ' on localhost:1032 responded ok' + return + ftpes_server_check 'FTPES server 1' 1033 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1033 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 1 ' on localhost:1033 responded ok' + return + ftpes_server_check 'FTPES server 2' 1034 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1034 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 2 ' on localhost:1034 responded ok' + return + ftpes_server_check 'FTPES server 3' 1035 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1035 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 3 ' on localhost:1035 responded ok' + return + ftpes_server_check 'FTPES server 4' 1036 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1036 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 4 ' on localhost:1036 responded ok' + return + sftp_server_check 'SFTP server 0' 1022 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1022 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 0 ' on localhost:1022 responded ok' + return + sftp_server_check 'SFTP server 1' 1023 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1023 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 1 ' on localhost:1023 responded ok' + return + sftp_server_check 'SFTP server 2' 1024 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1024 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 2 ' on localhost:1024 responded ok' + return + sftp_server_check 'SFTP server 3' 1025 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1025 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 3 ' on localhost:1025 responded ok' + return + sftp_server_check 'SFTP server 4' 1026 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1026 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 4 ' on localhost:1026 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 0' 81 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:81' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 0' ' on localhost: 81 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 1' 82 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:82' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 1' ' on localhost: 82 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 2' 83 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:83' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 2' ' on localhost: 83 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 3' 84 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:84' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 3' ' on localhost: 84 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 4' 85 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:85' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 4' ' on localhost: 85 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 0' 32001 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32001 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 0 ' on localhost:32001 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 1' 32002 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32002 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 1 ' on localhost:32002 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 2' 32003 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32003 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 2 ' on localhost:32003 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 3' 32004 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32004 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 3 ' on localhost:32004 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 4' 32005 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32005 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 4 ' on localhost:32005 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 0' 444 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:444' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 0' ' on localhost: 444 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 1' 445 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:445' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 1' ' on localhost: 445 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 2' 446 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:446' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 2' ' on localhost: 446 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 3' 447 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:447' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 3' ' on localhost: 447 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 4' 448 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:448' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 4' ' on localhost: 448 responded ok' + return + http_https_server_check 'HTTPS client certificate authentication server 0' 444 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 0 ' on localhost:444 - no response' + http_https_server_check 'HTTPS client certificate authentication server 1' 445 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 1 ' on localhost:445 - no response' + http_https_server_check 'HTTPS client certificate authentication server 2' 446 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 2 ' on localhost:446 - no response' + http_https_server_check 'HTTPS client certificate authentication server 3' 447 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 3 ' on localhost:447 - no response' + http_https_server_check 'HTTPS client certificate authentication server 4' 448 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 4 ' on localhost:448 - no response' + http_https_server_check 'HTTPS no auth server 0' 8081 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8081 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 0 ' on localhost:8081 responded ok' + return + http_https_server_check 'HTTPS no auth server 1' 8082 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8082 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 1 ' on localhost:8082 responded ok' + return + http_https_server_check 'HTTPS no auth server 2' 8083 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8083 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 2 ' on localhost:8083 responded ok' + return + http_https_server_check 'HTTPS no auth server 3' 8084 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8084 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 3 ' on localhost:8084 responded ok' + return + http_https_server_check 'HTTPS no auth server 4' 8085 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8085 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 4 ' on localhost:8085 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 0' 32101 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32101 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 0 ' on localhost:32101 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 1' 32102 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32102 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 1 ' on localhost:32102 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 2' 32103 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32103 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 2 ' on localhost:32103 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 3' 32104 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32104 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 3 ' on localhost:32104 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 4' 32105 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32105 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 4 ' on localhost:32105 responded ok' + return + echo '' + '[' -z 1 ']' + '[' -z 1 ']' + '[' -z 50MB ']' + '[' -z FTPES ']' + '[' -z A ']' + '[' FTPES = ALL ']' + '[' FTPES = SFTP ']' + '[' FTPES = ALL ']' + '[' FTPES = FTPES ']' + echo 'Creating files for FTPES server, may take time....' + p=0 + '[' 0 -lt 1 ']' + docker cp setup-ftp-files-for-image.sh ce61a8a7d907:/tmp/setup-ftp-files-for-image.sh + docker exec -w //srv ce61a8a7d907 //tmp/setup-ftp-files-for-image.sh 1 1 50MB A 1 0 + let p=p+1 + '[' 1 -lt 1 ']' + '[' -z 1 ']' + '[' -z HTTP ']' + '[' -z A ']' + '[' HTTP = ALL ']' + '[' HTTP = HTTP ']' + echo 'Creating files for HTTP server, may take time....' + p=0 + '[' 0 -lt 1 ']' + docker cp setup-http-files-for-image.sh 8bca07d34687:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 8bca07d34687 //tmp/setup-http-files-for-image.sh 1 1 50MB A 1 0 + let p=p+1 + '[' 1 -lt 1 ']' + echo 'Done: All simulators started and configured' APP configuration: dmaap.certificateConfig.keyCert: /opt/app/datafile/etc/cert/cert.jks dmaap.certificateConfig.keyPasswordPath: /opt/app/datafile/etc/cert/jks.pass dmaap.certificateConfig.trustedCa: /opt/app/datafile/etc/cert/trust.jks dmaap.certificateConfig.trustedCaPasswordPath: /opt/app/datafile/etc/cert/trust.pass dmaap.security.trustStorePath: /opt/app/datafile/etc/cert/trust.jks dmaap.security.trustStorePasswordPath: /opt/app/datafile/etc/cert/trust.pass dmaap.security.keyStorePath: /opt/app/datafile/etc/cert/cert.jks dmaap.security.keyStorePasswordPath: /opt/app/datafile/etc/cert/jks.pass dmaap.security.enableDmaapCertAuth: "false" dmaap.dmaapConsumerConfiguration.consumerGroup: OpenDcae-c12 dmaap.dmaapConsumerConfiguration.consumerId: C12 dmaap.dmaapConsumerConfiguration.timeoutMs: -1 sftp.security.strictHostKeyChecking: "true" streams_publishes: PM_MEAS_FILES: type: data_router dmaap_info: username: user log_url: https://drsim:3907/feedlog/2 publish_url: https://drsim:3907/publish/2 location: loc00 password: password publisher_id: 972.360gm streams_subscribes: dmaap_subscriber: dmaap_info: topic_url: http://mrsim:2222/events/unauthenticated.VES_NOTIFICATION_OUTPUT type: message_router Dfc-start: Creating docker network dfcnet, if needed sleep 1 sleep 2 sleep 3 sleep 4 sleep 5 sleep 6 sleep 7 sleep 8 sleep 9 sleep 10 + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + docker-compose up -d Pulling dfc (nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest)... manifest for nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest not found: manifest unknown: manifest unknown ++ docker ps -q --filter=name=dfc_app0 + DFC_APP= + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 1 + sleep 1 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 2 + sleep 2 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 3 + sleep 3 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 4 + sleep 4 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 5 + sleep 5 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 6 + sleep 6 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 7 + sleep 7 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 8 + sleep 8 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 9 + sleep 9 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 10 + sleep 10 Configured sftp sims: sftp-server0:22 Configured ftpes sims: ftpes-server-vsftpd0:21 Configured http sims: http-https-server0:80 Configured http JWT sims: http-https-server0:32000 Configured https sims: http-https-server0:443 Configured https with no authorization sims: http-https-server0:8080 Configured https JWT sims: http-https-server0:32100 Configured number of ftp servers: 1 Configured number of http/https/https with no auth/JWT servers: 1 each Groups detected: OpenDcae-c12:PM_MEAS_FILES Configured groups: OpenDcae-c12:PM_MEAS_FILES Configured changeid to file prefix mapping: PM_MEAS_FILES:A TC num: TC# 202 Using sftp-server0:22 for sftp server with index 0 for sftp server address and port in file urls. Using ftpes-server-vsftpd0:21 for ftpes server with index 0 for ftpes server address and port in file urls. Using http-https-server0:80 for http server with index 0 for http server address and port in file urls. Using http-https-server0:32000 for http jwt server with index 0 for http jwt server address and port in file urls. Using http-https-server0:443 for https server with index 0 for https server address and port in file urls. Using http-https-server0:8080 for https server with no authentication with index 0 for https server address and port in file urls. Using http-https-server0:32100 for https jwt server with index 0 for https jwt server address and port in file urls. Using up to 1 ftp servers, for each protocol for PNFs. Using up to 1 http/https/https with no auth/jwt servers, for each protocol for PNFs. * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off Killing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 Removing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 done * Running on http://0.0.0.0:2222/ (Press CTRL+C to quit) * Running on https://0.0.0.0:2223/ (Press CTRL+C to quit) 172.17.0.1 - - [16/Nov/2023 17:01:39] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:01:40] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:02:33] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:03:29] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:03:39] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:03:49] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:03:59] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:04:09] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:04:19] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:04:29] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ plans/dcaegen2-collectors-datafile/Functional-suite.Functional-Sin... | FAIL | 6 tests, 0 passed, 6 failed ============================================================================== plans/dcaegen2-collectors-datafile/Functional-suite.Functional-Sin... | FAIL | 6 tests, 0 passed, 6 failed ============================================================================== plans/dcaegen2-collectors-datafile/Functional-suite.Functional-Single-File-... ============================================================================== plans/dcaegen2-collectors-datafile/Functional-suite.Functional-Single-File-... ============================================================================== Verify single event with single 1MB HTTP file. From event poll to ... Simulator-start: Creating docker network dfcnet, if needed All simulators Started Simulator DR sim on localhost:3906/ responded ok Simulator DR redir sim on localhost:3908/ responded ok Simulator MR sim on localhost:2222/ responded ok Simulator DR sim https on https://localhost:3907/ responded ok Simulator DR redir sim https on https://localhost:3909/ responded ok Simulator MR sim https on https://localhost:2223/ responded ok Simulator FTPES server 0 on localhost:1032 responded ok Simulator FTPES server 1 on localhost:1033 responded ok Simulator FTPES server 2 on localhost:1034 responded ok Simulator FTPES server 3 on localhost:1035 responded ok Simulator FTPES server 4 on localhost:1036 responded ok Simulator SFTP server 0 on localhost:1022 responded ok Simulator SFTP server 1 on localhost:1023 responded ok Simulator SFTP server 2 on localhost:1024 responded ok Simulator SFTP server 3 on localhost:1025 responded ok Simulator SFTP server 4 on localhost:1026 responded ok Simulator HTTP basic auth server 0 on localhost: 81 responded ok Simulator HTTP basic auth server 1 on localhost: 82 responded ok Simulator HTTP basic auth server 2 on localhost: 83 responded ok Simulator HTTP basic auth server 3 on localhost: 84 responded ok Simulator HTTP basic auth server 4 on localhost: 85 responded ok Simulator HTTP JWT server 0 on localhost:32001 responded ok Simulator HTTP JWT server 1 on localhost:32002 responded ok Simulator HTTP JWT server 2 on localhost:32003 responded ok Simulator HTTP JWT server 3 on localhost:32004 responded ok Simulator HTTP JWT server 4 on localhost:32005 responded ok Simulator HTTPS basic auth server 0 on localhost: 444 responded ok Simulator HTTPS basic auth server 1 on localhost: 445 responded ok Simulator HTTPS basic auth server 2 on localhost: 446 responded ok Simulator HTTPS basic auth server 3 on localhost: 447 responded ok Simulator HTTPS basic auth server 4 on localhost: 448 responded ok Simulator HTTPS client certificate authentication server 0 on localhost:444 - no response Simulator HTTPS client certificate authentication server 1 on localhost:445 - no response Simulator HTTPS client certificate authentication server 2 on localhost:446 - no response Simulator HTTPS client certificate authentication server 3 on localhost:447 - no response Simulator HTTPS client certificate authentication server 4 on localhost:448 - no response Simulator HTTPS no auth server 0 on localhost:8081 responded ok Simulator HTTPS no auth server 1 on localhost:8082 responded ok Simulator HTTPS no auth server 2 on localhost:8083 responded ok Simulator HTTPS no auth server 3 on localhost:8084 responded ok Simulator HTTPS no auth server 4 on localhost:8085 responded ok Simulator HTTPS JWT server 0 on localhost:32101 responded ok Simulator HTTPS JWT server 1 on localhost:32102 responded ok Simulator HTTPS JWT server 2 on localhost:32103 responded ok Simulator HTTPS JWT server 3 on localhost:32104 responded ok Simulator HTTPS JWT server 4 on localhost:32105 responded ok Creating files for SFTP server, may take time.... Running ftp file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in ftp servers with index 0 Creating files for HTTP server, may take time.... Running http file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in http servers with index 0 Done: All simulators started and configured + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Creating dfc_sftp-server0 ... Creating dfc_dr-redir-sim ... Creating dfc_http-https-server3 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_http-https-server4 ... Creating dfc_sftp-server1 ... Creating dfc_http-https-server2 ... Creating dfc_sftp-server4 ... Creating dfc_mr-sim ... Creating dfc_http-https-server0 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_http-https-server1 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_sftp-server2 ... Creating dfc_sftp-server3 ... Creating dfc_dr-sim ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_ftpes-server-vsftpd3 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server1 ... done Creating dfc_dr-redir-sim ... done Creating dfc_http-https-server0 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_sftp-server3 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_http-https-server4 ... done Creating dfc_sftp-server2 ... done Creating dfc_http-https-server2 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_http-https-server3 ... done Creating dfc_mr-sim ... done Creating dfc_http-https-server1 ... done Creating dfc_sftp-server0 ... done Creating dfc_dr-sim ... done Creating dfc_sftp-server4 ... done Creating dfc_ftpes-server-vsftpd2 ... done ++ id -u ++ id -g + sudo chown 1001:1001 dfc_configs + declare -a SFTP_SIM + declare -a FTPES_SIM + declare -a HTTP_SIM ++ docker ps -q --filter=name=dfc_dr-sim + DR_SIM=dcee09c380d0 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=8d1117298140 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=c0e593f5e3f0 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=eb492bba8da3 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=72b456715a77 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=126d902f26b8 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=50ca418fee0b ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=35bd70efa2ea ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=d8340a1816bb ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=0d28485862ed ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=2d13ccdbaf96 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=56871aca1646 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=0448ac960341 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=afa83322eef5 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=b682ca2ace81 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=4f5b4c46f9d3 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=fffbaaf519cb ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=dc3737d889bc + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' dcee09c380d0 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8d1117298140 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c0e593f5e3f0 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' eb492bba8da3 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 72b456715a77 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 126d902f26b8 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 50ca418fee0b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 35bd70efa2ea + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d8340a1816bb + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 0d28485862ed + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2d13ccdbaf96 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 56871aca1646 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 0448ac960341 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' afa83322eef5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b682ca2ace81 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4f5b4c46f9d3 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' fffbaaf519cb + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' dc3737d889bc + '[' true ']' + echo 'All simulators Started' + break + '[' -z '' ']' + BASIC_AUTH_LOGIN=demo + '[' -z '' ']' + BASIC_AUTH_PASSWORD='demo123456!' + server_check 'DR sim ' 3906 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3906/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim ' on localhost:3906/ responded ok' + return + server_check 'DR redir sim ' 3908 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3908/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim ' on localhost:3908/ responded ok' + return + server_check 'MR sim ' 2222 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:2222/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim ' on localhost:2222/ responded ok' + return + server_check_https 'DR sim https ' 3907 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3907/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim https ' on https://localhost:3907/ responded ok' + return + server_check_https 'DR redir sim https' 3909 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3909/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim https ' on https://localhost:3909/ responded ok' + return + server_check_https 'MR sim https ' 2223 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:2223/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim https ' on https://localhost:2223/ responded ok' + return + ftpes_server_check 'FTPES server 0' 1032 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1032 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 0 ' on localhost:1032 responded ok' + return + ftpes_server_check 'FTPES server 1' 1033 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1033 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 1 ' on localhost:1033 responded ok' + return + ftpes_server_check 'FTPES server 2' 1034 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1034 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 2 ' on localhost:1034 responded ok' + return + ftpes_server_check 'FTPES server 3' 1035 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1035 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 3 ' on localhost:1035 responded ok' + return + ftpes_server_check 'FTPES server 4' 1036 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1036 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 4 ' on localhost:1036 responded ok' + return + sftp_server_check 'SFTP server 0' 1022 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1022 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 0 ' on localhost:1022 responded ok' + return + sftp_server_check 'SFTP server 1' 1023 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1023 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 1 ' on localhost:1023 responded ok' + return + sftp_server_check 'SFTP server 2' 1024 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1024 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 2 ' on localhost:1024 responded ok' + return + sftp_server_check 'SFTP server 3' 1025 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1025 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 3 ' on localhost:1025 responded ok' + return + sftp_server_check 'SFTP server 4' 1026 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1026 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 4 ' on localhost:1026 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 0' 81 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:81' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 0' ' on localhost: 81 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 1' 82 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:82' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 1' ' on localhost: 82 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 2' 83 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:83' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 2' ' on localhost: 83 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 3' 84 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:84' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 3' ' on localhost: 84 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 4' 85 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:85' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 4' ' on localhost: 85 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 0' 32001 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32001 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 0 ' on localhost:32001 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 1' 32002 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32002 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 1 ' on localhost:32002 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 2' 32003 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32003 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 2 ' on localhost:32003 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 3' 32004 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32004 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 3 ' on localhost:32004 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 4' 32005 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32005 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 4 ' on localhost:32005 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 0' 444 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:444' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 0' ' on localhost: 444 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 1' 445 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:445' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 1' ' on localhost: 445 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 2' 446 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:446' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 2' ' on localhost: 446 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 3' 447 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:447' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 3' ' on localhost: 447 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 4' 448 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:448' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 4' ' on localhost: 448 responded ok' + return + http_https_server_check 'HTTPS client certificate authentication server 0' 444 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 0 ' on localhost:444 - no response' + http_https_server_check 'HTTPS client certificate authentication server 1' 445 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 1 ' on localhost:445 - no response' + http_https_server_check 'HTTPS client certificate authentication server 2' 446 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 2 ' on localhost:446 - no response' + http_https_server_check 'HTTPS client certificate authentication server 3' 447 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 3 ' on localhost:447 - no response' + http_https_server_check 'HTTPS client certificate authentication server 4' 448 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 4 ' on localhost:448 - no response' + http_https_server_check 'HTTPS no auth server 0' 8081 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8081 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 0 ' on localhost:8081 responded ok' + return + http_https_server_check 'HTTPS no auth server 1' 8082 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8082 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 1 ' on localhost:8082 responded ok' + return + http_https_server_check 'HTTPS no auth server 2' 8083 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8083 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 2 ' on localhost:8083 responded ok' + return + http_https_server_check 'HTTPS no auth server 3' 8084 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8084 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 3 ' on localhost:8084 responded ok' + return + http_https_server_check 'HTTPS no auth server 4' 8085 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8085 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 4 ' on localhost:8085 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 0' 32101 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32101 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 0 ' on localhost:32101 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 1' 32102 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32102 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 1 ' on localhost:32102 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 2' 32103 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32103 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 2 ' on localhost:32103 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 3' 32104 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32104 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 3 ' on localhost:32104 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 4' 32105 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32105 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 4 ' on localhost:32105 responded ok' + return + echo '' + '[' -z 1 ']' + '[' -z 1 ']' + '[' -z 1MB ']' + '[' -z SFTP ']' + '[' -z A ']' + '[' SFTP = ALL ']' + '[' SFTP = SFTP ']' + echo 'Creating files for SFTP server, may take time....' + p=0 + '[' 0 -lt 1 ']' + docker cp setup-ftp-files-for-image.sh eb492bba8da3:/tmp/ + docker exec -w //home/onap/ eb492bba8da3 //tmp/setup-ftp-files-for-image.sh 1 1 1MB A 1 0 + let p=p+1 + '[' 1 -lt 1 ']' + '[' SFTP = ALL ']' + '[' SFTP = FTPES ']' + '[' -z 1 ']' + '[' -z HTTP ']' + '[' -z A ']' + '[' HTTP = ALL ']' + '[' HTTP = HTTP ']' + echo 'Creating files for HTTP server, may take time....' + p=0 + '[' 0 -lt 1 ']' + docker cp setup-http-files-for-image.sh afa83322eef5:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs afa83322eef5 //tmp/setup-http-files-for-image.sh 1 1 1MB A 1 0 + let p=p+1 + '[' 1 -lt 1 ']' + echo 'Done: All simulators started and configured' APP configuration: dmaap.certificateConfig.keyCert: /opt/app/datafile/etc/cert/cert.p12 dmaap.certificateConfig.keyPasswordPath: /opt/app/datafile/etc/cert/p12.pass dmaap.certificateConfig.trustedCa: /opt/app/datafile/etc/cert/trust.jks dmaap.certificateConfig.trustedCaPasswordPath: /opt/app/datafile/etc/cert/trust.pass dmaap.certificateConfig.httpsHostnameVerify: false dmaap.security.trustStorePath: /opt/app/datafile/etc/cert/trust.jks dmaap.security.trustStorePasswordPath: /opt/app/datafile/etc/cert/trust.pass dmaap.security.keyStorePath: /opt/app/datafile/etc/cert/cert.jks dmaap.security.keyStorePasswordPath: /opt/app/datafile/etc/cert/jks.pass dmaap.security.enableDmaapCertAuth: "false" dmaap.dmaapConsumerConfiguration.consumerGroup: OpenDcae-c12 dmaap.dmaapConsumerConfiguration.consumerId: C12 dmaap.dmaapConsumerConfiguration.timeoutMs: -1 sftp.security.strictHostKeyChecking: "true" streams_publishes: PM_MEAS_FILES: type: data_router dmaap_info: username: user log_url: https://drsim:3907/feedlog/2 publish_url: https://drsim:3907/publish/2 location: loc00 password: password publisher_id: 972.360gm streams_subscribes: dmaap_subscriber: dmaap_info: topic_url: http://mrsim:2222/events/unauthenticated.VES_NOTIFICATION_OUTPUT type: message_router Dfc-start: Creating docker network dfcnet, if needed sleep 1 sleep 2 sleep 3 sleep 4 sleep 5 sleep 6 sleep 7 sleep 8 sleep 9 sleep 10 + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + docker-compose up -d Pulling dfc (nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest)... manifest for nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest not found: manifest unknown: manifest unknown ++ docker ps -q --filter=name=dfc_app0 + DFC_APP= + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 1 + sleep 1 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 2 + sleep 2 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 3 + sleep 3 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 4 + sleep 4 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 5 + sleep 5 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 6 + sleep 6 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 7 + sleep 7 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 8 + sleep 8 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 9 + sleep 9 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 10 + sleep 10 Configured sftp sims: sftp-server0:22 Configured ftpes sims: ftpes-server-vsftpd0:21 Configured http sims: http-https-server0:80 Configured http JWT sims: http-https-server0:32000 Configured https sims: http-https-server0:443 Configured https with no authorization sims: http-https-server0:8080 Configured https JWT sims: http-https-server0:32100 Configured number of ftp servers: 1 Configured number of http/https/https with no auth/JWT servers: 1 each Groups detected: OpenDcae-c12:PM_MEAS_FILES Configured groups: OpenDcae-c12:PM_MEAS_FILES Configured changeid to file prefix mapping: PM_MEAS_FILES:A TC num: TC# 300 Using sftp-server0:22 for sftp server with index 0 for sftp server address and port in file urls. Using ftpes-server-vsftpd0:21 for ftpes server with index 0 for ftpes server address and port in file urls. Using http-https-server0:80 for http server with index 0 for http server address and port in file urls. Using http-https-server0:32000 for http jwt server with index 0 for http jwt server address and port in file urls. Using http-https-server0:443 for https server with index 0 for https server address and port in file urls. Using http-https-server0:8080 for https server with no authentication with index 0 for https server address and port in file urls. Using http-https-server0:32100 for https jwt server with index 0 for https jwt server address and port in file urls. Using up to 1 ftp servers, for each protocol for PNFs. Using up to 1 http/https/https with no auth/jwt servers, for each protocol for PNFs. * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off Killing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 Removing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 done * Running on http://0.0.0.0:2222/ (Press CTRL+C to quit) * Running on https://0.0.0.0:2223/ (Press CTRL+C to quit) 172.17.0.1 - - [16/Nov/2023 17:04:53] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:04:53] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:05:46] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:06:42] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:06:52] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:07:02] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:07:12] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:07:22] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:07:32] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:07:42] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ Verify single event with single 5MB HTTP file. From event poll to ... Simulator-start: Creating docker network dfcnet, if needed All simulators Started Simulator DR sim on localhost:3906/ responded ok Simulator DR redir sim on localhost:3908/ responded ok Simulator MR sim on localhost:2222/ responded ok Simulator DR sim https on https://localhost:3907/ responded ok Simulator DR redir sim https on https://localhost:3909/ responded ok Simulator MR sim https on https://localhost:2223/ responded ok Simulator FTPES server 0 on localhost:1032 responded ok Simulator FTPES server 1 on localhost:1033 responded ok Simulator FTPES server 2 on localhost:1034 responded ok Simulator FTPES server 3 on localhost:1035 responded ok Simulator FTPES server 4 on localhost:1036 responded ok Simulator SFTP server 0 on localhost:1022 responded ok Simulator SFTP server 1 on localhost:1023 responded ok Simulator SFTP server 2 on localhost:1024 responded ok Simulator SFTP server 3 on localhost:1025 responded ok Simulator SFTP server 4 on localhost:1026 responded ok Simulator HTTP basic auth server 0 on localhost: 81 responded ok Simulator HTTP basic auth server 1 on localhost: 82 responded ok Simulator HTTP basic auth server 2 on localhost: 83 responded ok Simulator HTTP basic auth server 3 on localhost: 84 responded ok Simulator HTTP basic auth server 4 on localhost: 85 responded ok Simulator HTTP JWT server 0 on localhost:32001 responded ok Simulator HTTP JWT server 1 on localhost:32002 responded ok Simulator HTTP JWT server 2 on localhost:32003 responded ok Simulator HTTP JWT server 3 on localhost:32004 responded ok Simulator HTTP JWT server 4 on localhost:32005 responded ok Simulator HTTPS basic auth server 0 on localhost: 444 responded ok Simulator HTTPS basic auth server 1 on localhost: 445 responded ok Simulator HTTPS basic auth server 2 on localhost: 446 responded ok Simulator HTTPS basic auth server 3 on localhost: 447 responded ok Simulator HTTPS basic auth server 4 on localhost: 448 responded ok Simulator HTTPS client certificate authentication server 0 on localhost:444 - no response Simulator HTTPS client certificate authentication server 1 on localhost:445 - no response Simulator HTTPS client certificate authentication server 2 on localhost:446 - no response Simulator HTTPS client certificate authentication server 3 on localhost:447 - no response Simulator HTTPS client certificate authentication server 4 on localhost:448 - no response Simulator HTTPS no auth server 0 on localhost:8081 responded ok Simulator HTTPS no auth server 1 on localhost:8082 responded ok Simulator HTTPS no auth server 2 on localhost:8083 responded ok Simulator HTTPS no auth server 3 on localhost:8084 responded ok Simulator HTTPS no auth server 4 on localhost:8085 responded ok Simulator HTTPS JWT server 0 on localhost:32101 responded ok Simulator HTTPS JWT server 1 on localhost:32102 responded ok Simulator HTTPS JWT server 2 on localhost:32103 responded ok Simulator HTTPS JWT server 3 on localhost:32104 responded ok Simulator HTTPS JWT server 4 on localhost:32105 responded ok Creating files for SFTP server, may take time.... Running ftp file creations. 1 PNFs and 1 files for each PNF with file size(s) 5MB and file prefixe(s) A in ftp servers with index 0 Creating files for HTTP server, may take time.... Running http file creations. 1 PNFs and 1 files for each PNF with file size(s) 5MB and file prefixe(s) A in http servers with index 0 Done: All simulators started and configured + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Starting dfc_cmpv2-postprocessor ... Creating dfc_http-https-server0 ... Creating dfc_http-https-server3 ... Creating dfc_sftp-server1 ... Creating dfc_sftp-server2 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_http-https-server2 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_sftp-server3 ... Creating dfc_dr-sim ... Creating dfc_sftp-server4 ... Creating dfc_mr-sim ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_http-https-server1 ... Creating dfc_dr-redir-sim ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_sftp-server0 ... Creating dfc_http-https-server4 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server2 ... done Creating dfc_http-https-server3 ... done Creating dfc_sftp-server1 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_dr-sim ... done Creating dfc_sftp-server3 ... done Creating dfc_sftp-server4 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_http-https-server2 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_sftp-server0 ... done Creating dfc_http-https-server4 ... done Creating dfc_mr-sim ... done Creating dfc_dr-redir-sim ... done Creating dfc_http-https-server1 ... done Creating dfc_http-https-server0 ... done ++ id -u ++ id -g + sudo chown 1001:1001 dfc_configs + declare -a SFTP_SIM + declare -a FTPES_SIM + declare -a HTTP_SIM ++ docker ps -q --filter=name=dfc_dr-sim + DR_SIM=db4a81e72663 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=5fef46bb9f6b ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=6f72c78a8bc4 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=f18eca8773de ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=fb777c42d3c8 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=0efb1eee1ecd ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=2b61c8f5f886 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=9df6ce3e8197 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=2b8f371480cd ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=c8eb7affe455 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=277da1dbd53f ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=7095211cfcc0 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=712f78dd5b44 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=9b7a1e035935 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=652fe8d4c8d9 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=91b64d3d4278 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=5584c02b4336 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=b4b44b32c60f + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' db4a81e72663 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5fef46bb9f6b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6f72c78a8bc4 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f18eca8773de + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' fb777c42d3c8 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 0efb1eee1ecd + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2b61c8f5f886 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9df6ce3e8197 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2b8f371480cd + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c8eb7affe455 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 277da1dbd53f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7095211cfcc0 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 712f78dd5b44 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9b7a1e035935 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 652fe8d4c8d9 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 91b64d3d4278 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5584c02b4336 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b4b44b32c60f + '[' true ']' + echo 'All simulators Started' + break + '[' -z '' ']' + BASIC_AUTH_LOGIN=demo + '[' -z '' ']' + BASIC_AUTH_PASSWORD='demo123456!' + server_check 'DR sim ' 3906 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3906/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim ' on localhost:3906/ responded ok' + return + server_check 'DR redir sim ' 3908 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3908/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim ' on localhost:3908/ responded ok' + return + server_check 'MR sim ' 2222 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:2222/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim ' on localhost:2222/ responded ok' + return + server_check_https 'DR sim https ' 3907 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3907/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim https ' on https://localhost:3907/ responded ok' + return + server_check_https 'DR redir sim https' 3909 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3909/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim https ' on https://localhost:3909/ responded ok' + return + server_check_https 'MR sim https ' 2223 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:2223/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim https ' on https://localhost:2223/ responded ok' + return + ftpes_server_check 'FTPES server 0' 1032 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1032 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 0 ' on localhost:1032 responded ok' + return + ftpes_server_check 'FTPES server 1' 1033 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1033 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 1 ' on localhost:1033 responded ok' + return + ftpes_server_check 'FTPES server 2' 1034 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1034 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 2 ' on localhost:1034 responded ok' + return + ftpes_server_check 'FTPES server 3' 1035 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1035 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 3 ' on localhost:1035 responded ok' + return + ftpes_server_check 'FTPES server 4' 1036 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1036 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 4 ' on localhost:1036 responded ok' + return + sftp_server_check 'SFTP server 0' 1022 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1022 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 0 ' on localhost:1022 responded ok' + return + sftp_server_check 'SFTP server 1' 1023 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1023 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 1 ' on localhost:1023 responded ok' + return + sftp_server_check 'SFTP server 2' 1024 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1024 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 2 ' on localhost:1024 responded ok' + return + sftp_server_check 'SFTP server 3' 1025 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1025 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 3 ' on localhost:1025 responded ok' + return + sftp_server_check 'SFTP server 4' 1026 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1026 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 4 ' on localhost:1026 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 0' 81 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:81' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 0' ' on localhost: 81 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 1' 82 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:82' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 1' ' on localhost: 82 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 2' 83 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:83' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 2' ' on localhost: 83 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 3' 84 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:84' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 3' ' on localhost: 84 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 4' 85 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:85' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 4' ' on localhost: 85 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 0' 32001 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32001 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 0 ' on localhost:32001 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 1' 32002 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32002 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 1 ' on localhost:32002 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 2' 32003 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32003 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 2 ' on localhost:32003 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 3' 32004 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32004 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 3 ' on localhost:32004 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 4' 32005 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32005 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 4 ' on localhost:32005 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 0' 444 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:444' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 0' ' on localhost: 444 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 1' 445 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:445' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 1' ' on localhost: 445 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 2' 446 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:446' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 2' ' on localhost: 446 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 3' 447 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:447' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 3' ' on localhost: 447 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 4' 448 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:448' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 4' ' on localhost: 448 responded ok' + return + http_https_server_check 'HTTPS client certificate authentication server 0' 444 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 0 ' on localhost:444 - no response' + http_https_server_check 'HTTPS client certificate authentication server 1' 445 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 1 ' on localhost:445 - no response' + http_https_server_check 'HTTPS client certificate authentication server 2' 446 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 2 ' on localhost:446 - no response' + http_https_server_check 'HTTPS client certificate authentication server 3' 447 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 3 ' on localhost:447 - no response' + http_https_server_check 'HTTPS client certificate authentication server 4' 448 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 4 ' on localhost:448 - no response' + http_https_server_check 'HTTPS no auth server 0' 8081 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8081 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 0 ' on localhost:8081 responded ok' + return + http_https_server_check 'HTTPS no auth server 1' 8082 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8082 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 1 ' on localhost:8082 responded ok' + return + http_https_server_check 'HTTPS no auth server 2' 8083 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8083 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 2 ' on localhost:8083 responded ok' + return + http_https_server_check 'HTTPS no auth server 3' 8084 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8084 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 3 ' on localhost:8084 responded ok' + return + http_https_server_check 'HTTPS no auth server 4' 8085 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8085 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 4 ' on localhost:8085 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 0' 32101 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32101 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 0 ' on localhost:32101 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 1' 32102 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32102 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 1 ' on localhost:32102 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 2' 32103 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32103 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 2 ' on localhost:32103 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 3' 32104 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32104 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 3 ' on localhost:32104 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 4' 32105 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32105 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 4 ' on localhost:32105 responded ok' + return + echo '' + '[' -z 1 ']' + '[' -z 1 ']' + '[' -z 5MB ']' + '[' -z SFTP ']' + '[' -z A ']' + '[' SFTP = ALL ']' + '[' SFTP = SFTP ']' + echo 'Creating files for SFTP server, may take time....' + p=0 + '[' 0 -lt 1 ']' + docker cp setup-ftp-files-for-image.sh f18eca8773de:/tmp/ + docker exec -w //home/onap/ f18eca8773de //tmp/setup-ftp-files-for-image.sh 1 1 5MB A 1 0 + let p=p+1 + '[' 1 -lt 1 ']' + '[' SFTP = ALL ']' + '[' SFTP = FTPES ']' + '[' -z 1 ']' + '[' -z HTTP ']' + '[' -z A ']' + '[' HTTP = ALL ']' + '[' HTTP = HTTP ']' + echo 'Creating files for HTTP server, may take time....' + p=0 + '[' 0 -lt 1 ']' + docker cp setup-http-files-for-image.sh 9b7a1e035935:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 9b7a1e035935 //tmp/setup-http-files-for-image.sh 1 1 5MB A 1 0 + let p=p+1 + '[' 1 -lt 1 ']' + echo 'Done: All simulators started and configured' APP configuration: dmaap.certificateConfig.keyCert: /opt/app/datafile/etc/cert/cert.p12 dmaap.certificateConfig.keyPasswordPath: /opt/app/datafile/etc/cert/p12.pass dmaap.certificateConfig.trustedCa: /opt/app/datafile/etc/cert/trust.jks dmaap.certificateConfig.trustedCaPasswordPath: /opt/app/datafile/etc/cert/trust.pass dmaap.certificateConfig.httpsHostnameVerify: false dmaap.security.trustStorePath: /opt/app/datafile/etc/cert/trust.jks dmaap.security.trustStorePasswordPath: /opt/app/datafile/etc/cert/trust.pass dmaap.security.keyStorePath: /opt/app/datafile/etc/cert/cert.jks dmaap.security.keyStorePasswordPath: /opt/app/datafile/etc/cert/jks.pass dmaap.security.enableDmaapCertAuth: "false" dmaap.dmaapConsumerConfiguration.consumerGroup: OpenDcae-c12 dmaap.dmaapConsumerConfiguration.consumerId: C12 dmaap.dmaapConsumerConfiguration.timeoutMs: -1 sftp.security.strictHostKeyChecking: "true" streams_publishes: PM_MEAS_FILES: type: data_router dmaap_info: username: user log_url: https://drsim:3907/feedlog/2 publish_url: https://drsim:3907/publish/2 location: loc00 password: password publisher_id: 972.360gm streams_subscribes: dmaap_subscriber: dmaap_info: topic_url: http://mrsim:2222/events/unauthenticated.VES_NOTIFICATION_OUTPUT type: message_router Dfc-start: Creating docker network dfcnet, if needed sleep 1 sleep 2 sleep 3 sleep 4 sleep 5 sleep 6 sleep 7 sleep 8 sleep 9 sleep 10 + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + docker-compose up -d Pulling dfc (nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest)... manifest for nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest not found: manifest unknown: manifest unknown ++ docker ps -q --filter=name=dfc_app0 + DFC_APP= + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 1 + sleep 1 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 2 + sleep 2 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 3 + sleep 3 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 4 + sleep 4 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 5 + sleep 5 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 6 + sleep 6 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 7 + sleep 7 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 8 + sleep 8 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 9 + sleep 9 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 10 + sleep 10 Configured sftp sims: sftp-server0:22 Configured ftpes sims: ftpes-server-vsftpd0:21 Configured http sims: http-https-server0:80 Configured http JWT sims: http-https-server0:32000 Configured https sims: http-https-server0:443 Configured https with no authorization sims: http-https-server0:8080 Configured https JWT sims: http-https-server0:32100 Configured number of ftp servers: 1 Configured number of http/https/https with no auth/JWT servers: 1 each Groups detected: OpenDcae-c12:PM_MEAS_FILES Configured groups: OpenDcae-c12:PM_MEAS_FILES Configured changeid to file prefix mapping: PM_MEAS_FILES:A TC num: TC# 301 Using sftp-server0:22 for sftp server with index 0 for sftp server address and port in file urls. Using ftpes-server-vsftpd0:21 for ftpes server with index 0 for ftpes server address and port in file urls. Using http-https-server0:80 for http server with index 0 for http server address and port in file urls. Using http-https-server0:32000 for http jwt server with index 0 for http jwt server address and port in file urls. Using http-https-server0:443 for https server with index 0 for https server address and port in file urls. Using http-https-server0:8080 for https server with no authentication with index 0 for https server address and port in file urls. Using http-https-server0:32100 for https jwt server with index 0 for https jwt server address and port in file urls. Using up to 1 ftp servers, for each protocol for PNFs. Using up to 1 http/https/https with no auth/jwt servers, for each protocol for PNFs. * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off Killing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 Removing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 done * Running on http://0.0.0.0:2222/ (Press CTRL+C to quit) * Running on https://0.0.0.0:2223/ (Press CTRL+C to quit) 172.17.0.1 - - [16/Nov/2023 17:08:08] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:08:08] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:09:02] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:09:58] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:10:08] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:10:18] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:10:28] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:10:38] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:10:48] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:10:58] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ Verify single event with single 50MB HTTP file. From event poll to... Simulator-start: Creating docker network dfcnet, if needed All simulators Started Simulator DR sim on localhost:3906/ responded ok Simulator DR redir sim on localhost:3908/ responded ok Simulator MR sim on localhost:2222/ responded ok Simulator DR sim https on https://localhost:3907/ responded ok Simulator DR redir sim https on https://localhost:3909/ responded ok Simulator MR sim https on https://localhost:2223/ responded ok Simulator FTPES server 0 on localhost:1032 responded ok Simulator FTPES server 1 on localhost:1033 responded ok Simulator FTPES server 2 on localhost:1034 responded ok Simulator FTPES server 3 on localhost:1035 responded ok Simulator FTPES server 4 on localhost:1036 responded ok Simulator SFTP server 0 on localhost:1022 responded ok Simulator SFTP server 1 on localhost:1023 responded ok Simulator SFTP server 2 on localhost:1024 responded ok Simulator SFTP server 3 on localhost:1025 responded ok Simulator SFTP server 4 on localhost:1026 responded ok Simulator HTTP basic auth server 0 on localhost: 81 responded ok Simulator HTTP basic auth server 1 on localhost: 82 responded ok Simulator HTTP basic auth server 2 on localhost: 83 responded ok Simulator HTTP basic auth server 3 on localhost: 84 responded ok Simulator HTTP basic auth server 4 on localhost: 85 responded ok Simulator HTTP JWT server 0 on localhost:32001 responded ok Simulator HTTP JWT server 1 on localhost:32002 responded ok Simulator HTTP JWT server 2 on localhost:32003 responded ok Simulator HTTP JWT server 3 on localhost:32004 responded ok Simulator HTTP JWT server 4 on localhost:32005 responded ok Simulator HTTPS basic auth server 0 on localhost: 444 responded ok Simulator HTTPS basic auth server 1 on localhost: 445 responded ok Simulator HTTPS basic auth server 2 on localhost: 446 responded ok Simulator HTTPS basic auth server 3 on localhost: 447 responded ok Simulator HTTPS basic auth server 4 on localhost: 448 responded ok Simulator HTTPS client certificate authentication server 0 on localhost:444 - no response Simulator HTTPS client certificate authentication server 1 on localhost:445 - no response Simulator HTTPS client certificate authentication server 2 on localhost:446 - no response Simulator HTTPS client certificate authentication server 3 on localhost:447 - no response Simulator HTTPS client certificate authentication server 4 on localhost:448 - no response Simulator HTTPS no auth server 0 on localhost:8081 responded ok Simulator HTTPS no auth server 1 on localhost:8082 responded ok Simulator HTTPS no auth server 2 on localhost:8083 responded ok Simulator HTTPS no auth server 3 on localhost:8084 responded ok Simulator HTTPS no auth server 4 on localhost:8085 responded ok Simulator HTTPS JWT server 0 on localhost:32101 responded ok Simulator HTTPS JWT server 1 on localhost:32102 responded ok Simulator HTTPS JWT server 2 on localhost:32103 responded ok Simulator HTTPS JWT server 3 on localhost:32104 responded ok Simulator HTTPS JWT server 4 on localhost:32105 responded ok Creating files for SFTP server, may take time.... Running ftp file creations. 1 PNFs and 1 files for each PNF with file size(s) 50MB and file prefixe(s) A in ftp servers with index 0 Creating files for HTTP server, may take time.... Running http file creations. 1 PNFs and 1 files for each PNF with file size(s) 50MB and file prefixe(s) A in http servers with index 0 Done: All simulators started and configured + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Creating dfc_http-https-server3 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_dr-sim ... Creating dfc_http-https-server1 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_sftp-server1 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_mr-sim ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_http-https-server0 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_dr-redir-sim ... Creating dfc_http-https-server2 ... Creating dfc_http-https-server4 ... Creating dfc_sftp-server4 ... Creating dfc_sftp-server0 ... Creating dfc_sftp-server3 ... Creating dfc_sftp-server2 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_sftp-server1 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_sftp-server3 ... done Creating dfc_sftp-server4 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_http-https-server3 ... done Creating dfc_dr-sim ... done Creating dfc_sftp-server2 ... done Creating dfc_dr-redir-sim ... done Creating dfc_sftp-server0 ... done Creating dfc_http-https-server1 ... done Creating dfc_mr-sim ... done Creating dfc_http-https-server2 ... done Creating dfc_http-https-server0 ... done Creating dfc_http-https-server4 ... done ++ id -u ++ id -g + sudo chown 1001:1001 dfc_configs + declare -a SFTP_SIM + declare -a FTPES_SIM + declare -a HTTP_SIM ++ docker ps -q --filter=name=dfc_dr-sim + DR_SIM=61e3d1a42ef5 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=d09a4fc26665 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=cde0efa0c078 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=d29d7ed359d5 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=0994bbb29202 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=f3acd136a246 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=6b51032dc023 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=dc8860fc7c8d ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=e0da21650427 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=4e2934def73d ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=58f30de77d38 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=20c7444bde3d ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=3c2c559f552a ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=6882d3644638 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=8921fdeb721a ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=0f1332aecab7 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=d2328086d938 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=fb09d00f6b48 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 61e3d1a42ef5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d09a4fc26665 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' cde0efa0c078 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d29d7ed359d5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 0994bbb29202 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f3acd136a246 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6b51032dc023 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' dc8860fc7c8d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e0da21650427 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4e2934def73d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 58f30de77d38 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 20c7444bde3d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 3c2c559f552a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6882d3644638 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8921fdeb721a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 0f1332aecab7 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d2328086d938 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' fb09d00f6b48 + '[' true ']' + echo 'All simulators Started' + break + '[' -z '' ']' + BASIC_AUTH_LOGIN=demo + '[' -z '' ']' + BASIC_AUTH_PASSWORD='demo123456!' + server_check 'DR sim ' 3906 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3906/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim ' on localhost:3906/ responded ok' + return + server_check 'DR redir sim ' 3908 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3908/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim ' on localhost:3908/ responded ok' + return + server_check 'MR sim ' 2222 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:2222/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim ' on localhost:2222/ responded ok' + return + server_check_https 'DR sim https ' 3907 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3907/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim https ' on https://localhost:3907/ responded ok' + return + server_check_https 'DR redir sim https' 3909 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3909/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim https ' on https://localhost:3909/ responded ok' + return + server_check_https 'MR sim https ' 2223 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:2223/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim https ' on https://localhost:2223/ responded ok' + return + ftpes_server_check 'FTPES server 0' 1032 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1032 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 0 ' on localhost:1032 responded ok' + return + ftpes_server_check 'FTPES server 1' 1033 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1033 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 1 ' on localhost:1033 responded ok' + return + ftpes_server_check 'FTPES server 2' 1034 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1034 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 2 ' on localhost:1034 responded ok' + return + ftpes_server_check 'FTPES server 3' 1035 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1035 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 3 ' on localhost:1035 responded ok' + return + ftpes_server_check 'FTPES server 4' 1036 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1036 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 4 ' on localhost:1036 responded ok' + return + sftp_server_check 'SFTP server 0' 1022 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1022 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 0 ' on localhost:1022 responded ok' + return + sftp_server_check 'SFTP server 1' 1023 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1023 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 1 ' on localhost:1023 responded ok' + return + sftp_server_check 'SFTP server 2' 1024 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1024 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 2 ' on localhost:1024 responded ok' + return + sftp_server_check 'SFTP server 3' 1025 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1025 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 3 ' on localhost:1025 responded ok' + return + sftp_server_check 'SFTP server 4' 1026 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1026 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 4 ' on localhost:1026 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 0' 81 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:81' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 0' ' on localhost: 81 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 1' 82 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:82' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 1' ' on localhost: 82 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 2' 83 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:83' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 2' ' on localhost: 83 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 3' 84 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:84' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 3' ' on localhost: 84 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 4' 85 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:85' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 4' ' on localhost: 85 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 0' 32001 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32001 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 0 ' on localhost:32001 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 1' 32002 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32002 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 1 ' on localhost:32002 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 2' 32003 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32003 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 2 ' on localhost:32003 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 3' 32004 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32004 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 3 ' on localhost:32004 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 4' 32005 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32005 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 4 ' on localhost:32005 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 0' 444 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:444' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 0' ' on localhost: 444 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 1' 445 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:445' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 1' ' on localhost: 445 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 2' 446 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:446' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 2' ' on localhost: 446 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 3' 447 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:447' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 3' ' on localhost: 447 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 4' 448 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:448' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 4' ' on localhost: 448 responded ok' + return + http_https_server_check 'HTTPS client certificate authentication server 0' 444 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 0 ' on localhost:444 - no response' + http_https_server_check 'HTTPS client certificate authentication server 1' 445 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 1 ' on localhost:445 - no response' + http_https_server_check 'HTTPS client certificate authentication server 2' 446 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 2 ' on localhost:446 - no response' + http_https_server_check 'HTTPS client certificate authentication server 3' 447 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 3 ' on localhost:447 - no response' + http_https_server_check 'HTTPS client certificate authentication server 4' 448 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 4 ' on localhost:448 - no response' + http_https_server_check 'HTTPS no auth server 0' 8081 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8081 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 0 ' on localhost:8081 responded ok' + return + http_https_server_check 'HTTPS no auth server 1' 8082 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8082 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 1 ' on localhost:8082 responded ok' + return + http_https_server_check 'HTTPS no auth server 2' 8083 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8083 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 2 ' on localhost:8083 responded ok' + return + http_https_server_check 'HTTPS no auth server 3' 8084 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8084 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 3 ' on localhost:8084 responded ok' + return + http_https_server_check 'HTTPS no auth server 4' 8085 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8085 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 4 ' on localhost:8085 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 0' 32101 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32101 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 0 ' on localhost:32101 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 1' 32102 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32102 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 1 ' on localhost:32102 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 2' 32103 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32103 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 2 ' on localhost:32103 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 3' 32104 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32104 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 3 ' on localhost:32104 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 4' 32105 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32105 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 4 ' on localhost:32105 responded ok' + return + echo '' + '[' -z 1 ']' + '[' -z 1 ']' + '[' -z 50MB ']' + '[' -z SFTP ']' + '[' -z A ']' + '[' SFTP = ALL ']' + '[' SFTP = SFTP ']' + echo 'Creating files for SFTP server, may take time....' + p=0 + '[' 0 -lt 1 ']' + docker cp setup-ftp-files-for-image.sh d29d7ed359d5:/tmp/ + docker exec -w //home/onap/ d29d7ed359d5 //tmp/setup-ftp-files-for-image.sh 1 1 50MB A 1 0 + let p=p+1 + '[' 1 -lt 1 ']' + '[' SFTP = ALL ']' + '[' SFTP = FTPES ']' + '[' -z 1 ']' + '[' -z HTTP ']' + '[' -z A ']' + '[' HTTP = ALL ']' + '[' HTTP = HTTP ']' + echo 'Creating files for HTTP server, may take time....' + p=0 + '[' 0 -lt 1 ']' + docker cp setup-http-files-for-image.sh 6882d3644638:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 6882d3644638 //tmp/setup-http-files-for-image.sh 1 1 50MB A 1 0 + let p=p+1 + '[' 1 -lt 1 ']' + echo 'Done: All simulators started and configured' APP configuration: dmaap.certificateConfig.keyCert: /opt/app/datafile/etc/cert/cert.p12 dmaap.certificateConfig.keyPasswordPath: /opt/app/datafile/etc/cert/p12.pass dmaap.certificateConfig.trustedCa: /opt/app/datafile/etc/cert/trust.jks dmaap.certificateConfig.trustedCaPasswordPath: /opt/app/datafile/etc/cert/trust.pass dmaap.certificateConfig.httpsHostnameVerify: false dmaap.security.trustStorePath: /opt/app/datafile/etc/cert/trust.jks dmaap.security.trustStorePasswordPath: /opt/app/datafile/etc/cert/trust.pass dmaap.security.keyStorePath: /opt/app/datafile/etc/cert/cert.jks dmaap.security.keyStorePasswordPath: /opt/app/datafile/etc/cert/jks.pass dmaap.security.enableDmaapCertAuth: "false" dmaap.dmaapConsumerConfiguration.consumerGroup: OpenDcae-c12 dmaap.dmaapConsumerConfiguration.consumerId: C12 dmaap.dmaapConsumerConfiguration.timeoutMs: -1 sftp.security.strictHostKeyChecking: "true" streams_publishes: PM_MEAS_FILES: type: data_router dmaap_info: username: user log_url: https://drsim:3907/feedlog/2 publish_url: https://drsim:3907/publish/2 location: loc00 password: password publisher_id: 972.360gm streams_subscribes: dmaap_subscriber: dmaap_info: topic_url: http://mrsim:2222/events/unauthenticated.VES_NOTIFICATION_OUTPUT type: message_router Dfc-start: Creating docker network dfcnet, if needed sleep 1 sleep 2 sleep 3 sleep 4 sleep 5 sleep 6 sleep 7 sleep 8 sleep 9 sleep 10 + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + docker-compose up -d Pulling dfc (nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest)... manifest for nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest not found: manifest unknown: manifest unknown ++ docker ps -q --filter=name=dfc_app0 + DFC_APP= + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 1 + sleep 1 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 2 + sleep 2 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 3 + sleep 3 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 4 + sleep 4 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 5 + sleep 5 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 6 + sleep 6 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 7 + sleep 7 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 8 + sleep 8 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 9 + sleep 9 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 10 + sleep 10 Configured sftp sims: sftp-server0:22 Configured ftpes sims: ftpes-server-vsftpd0:21 Configured http sims: http-https-server0:80 Configured http JWT sims: http-https-server0:32000 Configured https sims: http-https-server0:443 Configured https with no authorization sims: http-https-server0:8080 Configured https JWT sims: http-https-server0:32100 Configured number of ftp servers: 1 Configured number of http/https/https with no auth/JWT servers: 1 each Groups detected: OpenDcae-c12:PM_MEAS_FILES Configured groups: OpenDcae-c12:PM_MEAS_FILES Configured changeid to file prefix mapping: PM_MEAS_FILES:A TC num: TC# 302 Using sftp-server0:22 for sftp server with index 0 for sftp server address and port in file urls. Using ftpes-server-vsftpd0:21 for ftpes server with index 0 for ftpes server address and port in file urls. Using http-https-server0:80 for http server with index 0 for http server address and port in file urls. Using http-https-server0:32000 for http jwt server with index 0 for http jwt server address and port in file urls. Using http-https-server0:443 for https server with index 0 for https server address and port in file urls. Using http-https-server0:8080 for https server with no authentication with index 0 for https server address and port in file urls. Using http-https-server0:32100 for https jwt server with index 0 for https jwt server address and port in file urls. Using up to 1 ftp servers, for each protocol for PNFs. Using up to 1 http/https/https with no auth/jwt servers, for each protocol for PNFs. * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off Killing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 Removing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 done * Running on http://0.0.0.0:2222/ (Press CTRL+C to quit) * Running on https://0.0.0.0:2223/ (Press CTRL+C to quit) 172.17.0.1 - - [16/Nov/2023 17:11:28] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:11:28] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:12:21] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:13:17] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:13:27] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:13:37] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:13:47] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:13:57] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:14:08] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:14:18] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ Verify single event with single 1MB HTTPS (basic authentication) f... Simulator-start: Creating docker network dfcnet, if needed All simulators Started Simulator DR sim on localhost:3906/ responded ok Simulator DR redir sim on localhost:3908/ responded ok Simulator MR sim on localhost:2222/ responded ok Simulator DR sim https on https://localhost:3907/ responded ok Simulator DR redir sim https on https://localhost:3909/ responded ok Simulator MR sim https on https://localhost:2223/ responded ok Simulator FTPES server 0 on localhost:1032 responded ok Simulator FTPES server 1 on localhost:1033 responded ok Simulator FTPES server 2 on localhost:1034 responded ok Simulator FTPES server 3 on localhost:1035 responded ok Simulator FTPES server 4 on localhost:1036 responded ok Simulator SFTP server 0 on localhost:1022 responded ok Simulator SFTP server 1 on localhost:1023 responded ok Simulator SFTP server 2 on localhost:1024 responded ok Simulator SFTP server 3 on localhost:1025 responded ok Simulator SFTP server 4 on localhost:1026 responded ok Simulator HTTP basic auth server 0 on localhost: 81 responded ok Simulator HTTP basic auth server 1 on localhost: 82 responded ok Simulator HTTP basic auth server 2 on localhost: 83 responded ok Simulator HTTP basic auth server 3 on localhost: 84 responded ok Simulator HTTP basic auth server 4 on localhost: 85 responded ok Simulator HTTP JWT server 0 on localhost:32001 responded ok Simulator HTTP JWT server 1 on localhost:32002 responded ok Simulator HTTP JWT server 2 on localhost:32003 responded ok Simulator HTTP JWT server 3 on localhost:32004 responded ok Simulator HTTP JWT server 4 on localhost:32005 responded ok Simulator HTTPS basic auth server 0 on localhost: 444 responded ok Simulator HTTPS basic auth server 1 on localhost: 445 responded ok Simulator HTTPS basic auth server 2 on localhost: 446 responded ok Simulator HTTPS basic auth server 3 on localhost: 447 responded ok Simulator HTTPS basic auth server 4 on localhost: 448 responded ok Simulator HTTPS client certificate authentication server 0 on localhost:444 - no response Simulator HTTPS client certificate authentication server 1 on localhost:445 - no response Simulator HTTPS client certificate authentication server 2 on localhost:446 - no response Simulator HTTPS client certificate authentication server 3 on localhost:447 - no response Simulator HTTPS client certificate authentication server 4 on localhost:448 - no response Simulator HTTPS no auth server 0 on localhost:8081 responded ok Simulator HTTPS no auth server 1 on localhost:8082 responded ok Simulator HTTPS no auth server 2 on localhost:8083 responded ok Simulator HTTPS no auth server 3 on localhost:8084 responded ok Simulator HTTPS no auth server 4 on localhost:8085 responded ok Simulator HTTPS JWT server 0 on localhost:32101 responded ok Simulator HTTPS JWT server 1 on localhost:32102 responded ok Simulator HTTPS JWT server 2 on localhost:32103 responded ok Simulator HTTPS JWT server 3 on localhost:32104 responded ok Simulator HTTPS JWT server 4 on localhost:32105 responded ok Creating files for SFTP server, may take time.... Running ftp file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in ftp servers with index 0 Creating files for HTTP server, may take time.... Running http file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in http servers with index 0 Done: All simulators started and configured + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_dr-redir-sim ... Creating dfc_sftp-server4 ... Creating dfc_http-https-server2 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_ftpes-server-vsftpd1 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_sftp-server1 ... Creating dfc_sftp-server3 ... Creating dfc_sftp-server0 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_http-https-server4 ... Creating dfc_dr-sim ... Creating dfc_sftp-server2 ... Creating dfc_http-https-server0 ... Creating dfc_http-https-server3 ... Creating dfc_mr-sim ... Creating dfc_http-https-server1 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server1 ... done Creating dfc_sftp-server4 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_sftp-server0 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_dr-sim ... done Creating dfc_sftp-server3 ... done Creating dfc_sftp-server2 ... done Creating dfc_dr-redir-sim ... done Creating dfc_mr-sim ... done Creating dfc_http-https-server2 ... done Creating dfc_http-https-server1 ... done Creating dfc_http-https-server4 ... done Creating dfc_http-https-server0 ... done Creating dfc_http-https-server3 ... done ++ id -u ++ id -g + sudo chown 1001:1001 dfc_configs + declare -a SFTP_SIM + declare -a FTPES_SIM + declare -a HTTP_SIM ++ docker ps -q --filter=name=dfc_dr-sim + DR_SIM=d245213550f5 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=37ac6675320d ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=6434206dc113 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=a8378ab68ae9 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=7f6e47ee05a3 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=4f85f2d477c3 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=e0b2f4860ca7 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=485e628655c2 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=e4b8bec1811d ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=d377a7a31082 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=ebcb340e578e ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=1573651512ab ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=d65285bbc5cb ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=21cfdaa26975 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=e14cf5e8327d ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=5be518f62326 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=d5699db85de1 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=62e9a963185e + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' d245213550f5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 37ac6675320d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6434206dc113 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a8378ab68ae9 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7f6e47ee05a3 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4f85f2d477c3 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e0b2f4860ca7 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 485e628655c2 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e4b8bec1811d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d377a7a31082 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ebcb340e578e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1573651512ab + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d65285bbc5cb + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 21cfdaa26975 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e14cf5e8327d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5be518f62326 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d5699db85de1 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 62e9a963185e + '[' true ']' + echo 'All simulators Started' + break + '[' -z '' ']' + BASIC_AUTH_LOGIN=demo + '[' -z '' ']' + BASIC_AUTH_PASSWORD='demo123456!' + server_check 'DR sim ' 3906 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3906/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim ' on localhost:3906/ responded ok' + return + server_check 'DR redir sim ' 3908 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3908/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim ' on localhost:3908/ responded ok' + return + server_check 'MR sim ' 2222 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:2222/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim ' on localhost:2222/ responded ok' + return + server_check_https 'DR sim https ' 3907 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3907/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim https ' on https://localhost:3907/ responded ok' + return + server_check_https 'DR redir sim https' 3909 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3909/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim https ' on https://localhost:3909/ responded ok' + return + server_check_https 'MR sim https ' 2223 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:2223/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim https ' on https://localhost:2223/ responded ok' + return + ftpes_server_check 'FTPES server 0' 1032 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1032 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 0 ' on localhost:1032 responded ok' + return + ftpes_server_check 'FTPES server 1' 1033 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1033 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 1 ' on localhost:1033 responded ok' + return + ftpes_server_check 'FTPES server 2' 1034 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1034 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 2 ' on localhost:1034 responded ok' + return + ftpes_server_check 'FTPES server 3' 1035 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1035 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 3 ' on localhost:1035 responded ok' + return + ftpes_server_check 'FTPES server 4' 1036 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1036 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 4 ' on localhost:1036 responded ok' + return + sftp_server_check 'SFTP server 0' 1022 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1022 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 0 ' on localhost:1022 responded ok' + return + sftp_server_check 'SFTP server 1' 1023 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1023 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 1 ' on localhost:1023 responded ok' + return + sftp_server_check 'SFTP server 2' 1024 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1024 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 2 ' on localhost:1024 responded ok' + return + sftp_server_check 'SFTP server 3' 1025 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1025 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 3 ' on localhost:1025 responded ok' + return + sftp_server_check 'SFTP server 4' 1026 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1026 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 4 ' on localhost:1026 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 0' 81 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:81' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 0' ' on localhost: 81 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 1' 82 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:82' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 1' ' on localhost: 82 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 2' 83 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:83' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 2' ' on localhost: 83 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 3' 84 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:84' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 3' ' on localhost: 84 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 4' 85 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:85' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 4' ' on localhost: 85 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 0' 32001 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32001 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 0 ' on localhost:32001 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 1' 32002 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32002 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 1 ' on localhost:32002 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 2' 32003 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32003 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 2 ' on localhost:32003 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 3' 32004 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32004 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 3 ' on localhost:32004 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 4' 32005 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32005 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 4 ' on localhost:32005 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 0' 444 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:444' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 0' ' on localhost: 444 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 1' 445 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:445' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 1' ' on localhost: 445 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 2' 446 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:446' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 2' ' on localhost: 446 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 3' 447 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:447' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 3' ' on localhost: 447 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 4' 448 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:448' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 4' ' on localhost: 448 responded ok' + return + http_https_server_check 'HTTPS client certificate authentication server 0' 444 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 0 ' on localhost:444 - no response' + http_https_server_check 'HTTPS client certificate authentication server 1' 445 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 1 ' on localhost:445 - no response' + http_https_server_check 'HTTPS client certificate authentication server 2' 446 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 2 ' on localhost:446 - no response' + http_https_server_check 'HTTPS client certificate authentication server 3' 447 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 3 ' on localhost:447 - no response' + http_https_server_check 'HTTPS client certificate authentication server 4' 448 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 4 ' on localhost:448 - no response' + http_https_server_check 'HTTPS no auth server 0' 8081 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8081 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 0 ' on localhost:8081 responded ok' + return + http_https_server_check 'HTTPS no auth server 1' 8082 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8082 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 1 ' on localhost:8082 responded ok' + return + http_https_server_check 'HTTPS no auth server 2' 8083 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8083 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 2 ' on localhost:8083 responded ok' + return + http_https_server_check 'HTTPS no auth server 3' 8084 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8084 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 3 ' on localhost:8084 responded ok' + return + http_https_server_check 'HTTPS no auth server 4' 8085 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8085 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 4 ' on localhost:8085 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 0' 32101 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32101 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 0 ' on localhost:32101 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 1' 32102 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32102 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 1 ' on localhost:32102 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 2' 32103 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32103 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 2 ' on localhost:32103 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 3' 32104 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32104 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 3 ' on localhost:32104 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 4' 32105 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32105 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 4 ' on localhost:32105 responded ok' + return + echo '' + '[' -z 1 ']' + '[' -z 1 ']' + '[' -z 1MB ']' + '[' -z SFTP ']' + '[' -z A ']' + '[' SFTP = ALL ']' + '[' SFTP = SFTP ']' + echo 'Creating files for SFTP server, may take time....' + p=0 + '[' 0 -lt 1 ']' + docker cp setup-ftp-files-for-image.sh a8378ab68ae9:/tmp/ + docker exec -w //home/onap/ a8378ab68ae9 //tmp/setup-ftp-files-for-image.sh 1 1 1MB A 1 0 + let p=p+1 + '[' 1 -lt 1 ']' + '[' SFTP = ALL ']' + '[' SFTP = FTPES ']' + '[' -z 1 ']' + '[' -z HTTPS ']' + '[' -z A ']' + '[' HTTPS = ALL ']' + '[' HTTPS = HTTP ']' + '[' HTTPS = HTTPS ']' + echo 'Creating files for HTTP server, may take time....' + p=0 + '[' 0 -lt 1 ']' + docker cp setup-http-files-for-image.sh 21cfdaa26975:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 21cfdaa26975 //tmp/setup-http-files-for-image.sh 1 1 1MB A 1 0 + let p=p+1 + '[' 1 -lt 1 ']' + echo 'Done: All simulators started and configured' APP configuration: dmaap.certificateConfig.keyCert: /opt/app/datafile/etc/cert/cert.p12 dmaap.certificateConfig.keyPasswordPath: /opt/app/datafile/etc/cert/p12.pass dmaap.certificateConfig.trustedCa: /opt/app/datafile/etc/cert/trust.jks dmaap.certificateConfig.trustedCaPasswordPath: /opt/app/datafile/etc/cert/trust.pass dmaap.certificateConfig.httpsHostnameVerify: false dmaap.security.trustStorePath: /opt/app/datafile/etc/cert/trust.jks dmaap.security.trustStorePasswordPath: /opt/app/datafile/etc/cert/trust.pass dmaap.security.keyStorePath: /opt/app/datafile/etc/cert/cert.jks dmaap.security.keyStorePasswordPath: /opt/app/datafile/etc/cert/jks.pass dmaap.security.enableDmaapCertAuth: "false" dmaap.dmaapConsumerConfiguration.consumerGroup: OpenDcae-c12 dmaap.dmaapConsumerConfiguration.consumerId: C12 dmaap.dmaapConsumerConfiguration.timeoutMs: -1 sftp.security.strictHostKeyChecking: "true" streams_publishes: PM_MEAS_FILES: type: data_router dmaap_info: username: user log_url: https://drsim:3907/feedlog/2 publish_url: https://drsim:3907/publish/2 location: loc00 password: password publisher_id: 972.360gm streams_subscribes: dmaap_subscriber: dmaap_info: topic_url: http://mrsim:2222/events/unauthenticated.VES_NOTIFICATION_OUTPUT type: message_router Dfc-start: Creating docker network dfcnet, if needed sleep 1 sleep 2 sleep 3 sleep 4 sleep 5 sleep 6 sleep 7 sleep 8 sleep 9 sleep 10 + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + docker-compose up -d Pulling dfc (nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest)... manifest for nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest not found: manifest unknown: manifest unknown ++ docker ps -q --filter=name=dfc_app0 + DFC_APP= + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 1 + sleep 1 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 2 + sleep 2 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 3 + sleep 3 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 4 + sleep 4 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 5 + sleep 5 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 6 + sleep 6 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 7 + sleep 7 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 8 + sleep 8 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 9 + sleep 9 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 10 + sleep 10 Configured sftp sims: sftp-server0:22 Configured ftpes sims: ftpes-server-vsftpd0:21 Configured http sims: http-https-server0:80 Configured http JWT sims: http-https-server0:32000 Configured https sims: http-https-server0:443 Configured https with no authorization sims: http-https-server0:8080 Configured https JWT sims: http-https-server0:32100 Configured number of ftp servers: 1 Configured number of http/https/https with no auth/JWT servers: 1 each Groups detected: OpenDcae-c12:PM_MEAS_FILES Configured groups: OpenDcae-c12:PM_MEAS_FILES Configured changeid to file prefix mapping: PM_MEAS_FILES:A TC num: TC# 400 Using sftp-server0:22 for sftp server with index 0 for sftp server address and port in file urls. Using ftpes-server-vsftpd0:21 for ftpes server with index 0 for ftpes server address and port in file urls. Using http-https-server0:80 for http server with index 0 for http server address and port in file urls. Using http-https-server0:32000 for http jwt server with index 0 for http jwt server address and port in file urls. Using http-https-server0:443 for https server with index 0 for https server address and port in file urls. Using http-https-server0:8080 for https server with no authentication with index 0 for https server address and port in file urls. Using http-https-server0:32100 for https jwt server with index 0 for https jwt server address and port in file urls. Using up to 1 ftp servers, for each protocol for PNFs. Using up to 1 http/https/https with no auth/jwt servers, for each protocol for PNFs. * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off Killing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 Removing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 done * Running on http://0.0.0.0:2222/ (Press CTRL+C to quit) * Running on https://0.0.0.0:2223/ (Press CTRL+C to quit) 172.17.0.1 - - [16/Nov/2023 17:14:45] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:14:45] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:15:39] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:16:35] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:16:45] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:16:55] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:17:05] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:17:15] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:17:25] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:17:35] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: oom-certservice-post-processor Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ Verify single event with single 5MB HTTPS (basic authentication) f... Simulator-start: Creating docker network dfcnet, if needed All simulators Started Simulator DR sim on localhost:3906/ responded ok Simulator DR redir sim on localhost:3908/ responded ok Simulator MR sim on localhost:2222/ responded ok Simulator DR sim https on https://localhost:3907/ responded ok Simulator DR redir sim https on https://localhost:3909/ responded ok Simulator MR sim https on https://localhost:2223/ responded ok Simulator FTPES server 0 on localhost:1032 responded ok Simulator FTPES server 1 on localhost:1033 responded ok Simulator FTPES server 2 on localhost:1034 responded ok Simulator FTPES server 3 on localhost:1035 responded ok Simulator FTPES server 4 on localhost:1036 responded ok Simulator SFTP server 0 on localhost:1022 responded ok Simulator SFTP server 1 on localhost:1023 responded ok Simulator SFTP server 2 on localhost:1024 responded ok Simulator SFTP server 3 on localhost:1025 responded ok Simulator SFTP server 4 on localhost:1026 responded ok Simulator HTTP basic auth server 0 on localhost: 81 responded ok Simulator HTTP basic auth server 1 on localhost: 82 responded ok Simulator HTTP basic auth server 2 on localhost: 83 responded ok Simulator HTTP basic auth server 3 on localhost: 84 responded ok Simulator HTTP basic auth server 4 on localhost: 85 responded ok Simulator HTTP JWT server 0 on localhost:32001 responded ok Simulator HTTP JWT server 1 on localhost:32002 responded ok Simulator HTTP JWT server 2 on localhost:32003 responded ok Simulator HTTP JWT server 3 on localhost:32004 responded ok Simulator HTTP JWT server 4 on localhost:32005 responded ok Simulator HTTPS basic auth server 0 on localhost: 444 responded ok Simulator HTTPS basic auth server 1 on localhost: 445 responded ok Simulator HTTPS basic auth server 2 on localhost: 446 responded ok Simulator HTTPS basic auth server 3 on localhost: 447 responded ok Simulator HTTPS basic auth server 4 on localhost: 448 responded ok Simulator HTTPS client certificate authentication server 0 on localhost:444 - no response Simulator HTTPS client certificate authentication server 1 on localhost:445 - no response Simulator HTTPS client certificate authentication server 2 on localhost:446 - no response Simulator HTTPS client certificate authentication server 3 on localhost:447 - no response Simulator HTTPS client certificate authentication server 4 on localhost:448 - no response Simulator HTTPS no auth server 0 on localhost:8081 responded ok Simulator HTTPS no auth server 1 on localhost:8082 responded ok Simulator HTTPS no auth server 2 on localhost:8083 responded ok Simulator HTTPS no auth server 3 on localhost:8084 responded ok Simulator HTTPS no auth server 4 on localhost:8085 responded ok Simulator HTTPS JWT server 0 on localhost:32101 responded ok Simulator HTTPS JWT server 1 on localhost:32102 responded ok Simulator HTTPS JWT server 2 on localhost:32103 responded ok Simulator HTTPS JWT server 3 on localhost:32104 responded ok Simulator HTTPS JWT server 4 on localhost:32105 responded ok Creating files for SFTP server, may take time.... Running ftp file creations. 1 PNFs and 1 files for each PNF with file size(s) 5MB and file prefixe(s) A in ftp servers with index 0 Creating files for HTTP server, may take time.... Running http file creations. 1 PNFs and 1 files for each PNF with file size(s) 5MB and file prefixe(s) A in http servers with index 0 Done: All simulators started and configured + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Starting dfc_cmpv2-postprocessor ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_sftp-server1 ... Creating dfc_sftp-server3 ... Creating dfc_dr-redir-sim ... Creating dfc_sftp-server0 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_dr-sim ... Creating dfc_http-https-server4 ... Creating dfc_sftp-server4 ... Creating dfc_http-https-server3 ... Creating dfc_sftp-server2 ... Creating dfc_http-https-server2 ... Creating dfc_http-https-server0 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_http-https-server1 ... Creating dfc_mr-sim ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_sftp-server2 ... done Creating dfc_dr-redir-sim ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_sftp-server0 ... done Creating dfc_sftp-server1 ... done Creating dfc_sftp-server4 ... done Creating dfc_http-https-server0 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_http-https-server2 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_sftp-server3 ... done Creating dfc_http-https-server4 ... done Creating dfc_dr-sim ... done Creating dfc_mr-sim ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_http-https-server3 ... done Creating dfc_http-https-server1 ... done ++ id -u ++ id -g + sudo chown 1001:1001 dfc_configs + declare -a SFTP_SIM + declare -a FTPES_SIM + declare -a HTTP_SIM ++ docker ps -q --filter=name=dfc_dr-sim + DR_SIM=c7a9d68ad8ed ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=f608c7931fc5 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=a45eb27be17a ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=49a2ef6c5ed4 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=0d8927ba8c83 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=acc93f3136ed ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=9585d4e1b958 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=7a69ccd36811 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=9db9dc846e29 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=8e9aeb23cf2c ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=6aba1b86085b ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=f729f2900ffc ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=8d0a6bb2a05f ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=14b827c8577c ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=929037480dd5 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=213a7ff3e446 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=fd3de10b5c4a ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=e1b9195fbd0e + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' c7a9d68ad8ed + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f608c7931fc5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a45eb27be17a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 49a2ef6c5ed4 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 0d8927ba8c83 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' acc93f3136ed + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9585d4e1b958 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7a69ccd36811 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9db9dc846e29 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8e9aeb23cf2c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6aba1b86085b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f729f2900ffc + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8d0a6bb2a05f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 14b827c8577c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 929037480dd5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 213a7ff3e446 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' fd3de10b5c4a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e1b9195fbd0e + '[' true ']' + echo 'All simulators Started' + break + '[' -z '' ']' + BASIC_AUTH_LOGIN=demo + '[' -z '' ']' + BASIC_AUTH_PASSWORD='demo123456!' + server_check 'DR sim ' 3906 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3906/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim ' on localhost:3906/ responded ok' + return + server_check 'DR redir sim ' 3908 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3908/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim ' on localhost:3908/ responded ok' + return + server_check 'MR sim ' 2222 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:2222/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim ' on localhost:2222/ responded ok' + return + server_check_https 'DR sim https ' 3907 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3907/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim https ' on https://localhost:3907/ responded ok' + return + server_check_https 'DR redir sim https' 3909 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3909/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim https ' on https://localhost:3909/ responded ok' + return + server_check_https 'MR sim https ' 2223 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:2223/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim https ' on https://localhost:2223/ responded ok' + return + ftpes_server_check 'FTPES server 0' 1032 + for i in {1..10} ++ grep vsFTPd ++ curl --silent --max-time 3 ftp://localhost:1032 --ftp-ssl -v -k + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 0 ' on localhost:1032 responded ok' + return + ftpes_server_check 'FTPES server 1' 1033 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1033 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 1 ' on localhost:1033 responded ok' + return + ftpes_server_check 'FTPES server 2' 1034 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1034 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 2 ' on localhost:1034 responded ok' + return + ftpes_server_check 'FTPES server 3' 1035 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1035 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 3 ' on localhost:1035 responded ok' + return + ftpes_server_check 'FTPES server 4' 1036 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1036 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 4 ' on localhost:1036 responded ok' + return + sftp_server_check 'SFTP server 0' 1022 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1022 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 0 ' on localhost:1022 responded ok' + return + sftp_server_check 'SFTP server 1' 1023 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1023 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 1 ' on localhost:1023 responded ok' + return + sftp_server_check 'SFTP server 2' 1024 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1024 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 2 ' on localhost:1024 responded ok' + return + sftp_server_check 'SFTP server 3' 1025 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1025 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 3 ' on localhost:1025 responded ok' + return + sftp_server_check 'SFTP server 4' 1026 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1026 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 4 ' on localhost:1026 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 0' 81 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:81' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 0' ' on localhost: 81 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 1' 82 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:82' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 1' ' on localhost: 82 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 2' 83 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:83' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 2' ' on localhost: 83 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 3' 84 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:84' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 3' ' on localhost: 84 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 4' 85 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:85' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 4' ' on localhost: 85 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 0' 32001 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32001 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 0 ' on localhost:32001 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 1' 32002 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32002 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 1 ' on localhost:32002 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 2' 32003 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32003 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 2 ' on localhost:32003 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 3' 32004 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32004 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 3 ' on localhost:32004 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 4' 32005 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32005 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 4 ' on localhost:32005 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 0' 444 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:444' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 0' ' on localhost: 444 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 1' 445 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:445' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 1' ' on localhost: 445 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 2' 446 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:446' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 2' ' on localhost: 446 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 3' 447 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:447' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 3' ' on localhost: 447 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 4' 448 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:448' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 4' ' on localhost: 448 responded ok' + return + http_https_server_check 'HTTPS client certificate authentication server 0' 444 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 0 ' on localhost:444 - no response' + http_https_server_check 'HTTPS client certificate authentication server 1' 445 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 1 ' on localhost:445 - no response' + http_https_server_check 'HTTPS client certificate authentication server 2' 446 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 2 ' on localhost:446 - no response' + http_https_server_check 'HTTPS client certificate authentication server 3' 447 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 3 ' on localhost:447 - no response' + http_https_server_check 'HTTPS client certificate authentication server 4' 448 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 4 ' on localhost:448 - no response' + http_https_server_check 'HTTPS no auth server 0' 8081 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8081 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 0 ' on localhost:8081 responded ok' + return + http_https_server_check 'HTTPS no auth server 1' 8082 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8082 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 1 ' on localhost:8082 responded ok' + return + http_https_server_check 'HTTPS no auth server 2' 8083 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8083 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 2 ' on localhost:8083 responded ok' + return + http_https_server_check 'HTTPS no auth server 3' 8084 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8084 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 3 ' on localhost:8084 responded ok' + return + http_https_server_check 'HTTPS no auth server 4' 8085 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8085 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 4 ' on localhost:8085 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 0' 32101 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32101 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 0 ' on localhost:32101 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 1' 32102 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32102 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 1 ' on localhost:32102 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 2' 32103 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32103 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 2 ' on localhost:32103 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 3' 32104 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32104 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 3 ' on localhost:32104 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 4' 32105 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32105 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 4 ' on localhost:32105 responded ok' + return + echo '' + '[' -z 1 ']' + '[' -z 1 ']' + '[' -z 5MB ']' + '[' -z SFTP ']' + '[' -z A ']' + '[' SFTP = ALL ']' + '[' SFTP = SFTP ']' + echo 'Creating files for SFTP server, may take time....' + p=0 + '[' 0 -lt 1 ']' + docker cp setup-ftp-files-for-image.sh 49a2ef6c5ed4:/tmp/ + docker exec -w //home/onap/ 49a2ef6c5ed4 //tmp/setup-ftp-files-for-image.sh 1 1 5MB A 1 0 + let p=p+1 + '[' 1 -lt 1 ']' + '[' SFTP = ALL ']' + '[' SFTP = FTPES ']' + '[' -z 1 ']' + '[' -z HTTPS ']' + '[' -z A ']' + '[' HTTPS = ALL ']' + '[' HTTPS = HTTP ']' + '[' HTTPS = HTTPS ']' + echo 'Creating files for HTTP server, may take time....' + p=0 + '[' 0 -lt 1 ']' + docker cp setup-http-files-for-image.sh 14b827c8577c:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 14b827c8577c //tmp/setup-http-files-for-image.sh 1 1 5MB A 1 0 + let p=p+1 + '[' 1 -lt 1 ']' + echo 'Done: All simulators started and configured' APP configuration: dmaap.certificateConfig.keyCert: /opt/app/datafile/etc/cert/cert.p12 dmaap.certificateConfig.keyPasswordPath: /opt/app/datafile/etc/cert/p12.pass dmaap.certificateConfig.trustedCa: /opt/app/datafile/etc/cert/trust.jks dmaap.certificateConfig.trustedCaPasswordPath: /opt/app/datafile/etc/cert/trust.pass dmaap.certificateConfig.httpsHostnameVerify: false dmaap.security.trustStorePath: /opt/app/datafile/etc/cert/trust.jks dmaap.security.trustStorePasswordPath: /opt/app/datafile/etc/cert/trust.pass dmaap.security.keyStorePath: /opt/app/datafile/etc/cert/cert.jks dmaap.security.keyStorePasswordPath: /opt/app/datafile/etc/cert/jks.pass dmaap.security.enableDmaapCertAuth: "false" dmaap.dmaapConsumerConfiguration.consumerGroup: OpenDcae-c12 dmaap.dmaapConsumerConfiguration.consumerId: C12 dmaap.dmaapConsumerConfiguration.timeoutMs: -1 sftp.security.strictHostKeyChecking: "true" streams_publishes: PM_MEAS_FILES: type: data_router dmaap_info: username: user log_url: https://drsim:3907/feedlog/2 publish_url: https://drsim:3907/publish/2 location: loc00 password: password publisher_id: 972.360gm streams_subscribes: dmaap_subscriber: dmaap_info: topic_url: http://mrsim:2222/events/unauthenticated.VES_NOTIFICATION_OUTPUT type: message_router Dfc-start: Creating docker network dfcnet, if needed sleep 1 sleep 2 sleep 3 sleep 4 sleep 5 sleep 6 sleep 7 sleep 8 sleep 9 sleep 10 + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + docker-compose up -d Pulling dfc (nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest)... manifest for nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest not found: manifest unknown: manifest unknown ++ docker ps -q --filter=name=dfc_app0 + DFC_APP= + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 1 + sleep 1 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 2 + sleep 2 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 3 + sleep 3 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 4 + sleep 4 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 5 + sleep 5 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 6 + sleep 6 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 7 + sleep 7 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 8 + sleep 8 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 9 + sleep 9 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 10 + sleep 10 Configured sftp sims: sftp-server0:22 Configured ftpes sims: ftpes-server-vsftpd0:21 Configured http sims: http-https-server0:80 Configured http JWT sims: http-https-server0:32000 Configured https sims: http-https-server0:443 Configured https with no authorization sims: http-https-server0:8080 Configured https JWT sims: http-https-server0:32100 Configured number of ftp servers: 1 Configured number of http/https/https with no auth/JWT servers: 1 each Groups detected: OpenDcae-c12:PM_MEAS_FILES Configured groups: OpenDcae-c12:PM_MEAS_FILES Configured changeid to file prefix mapping: PM_MEAS_FILES:A TC num: TC# 401 Using sftp-server0:22 for sftp server with index 0 for sftp server address and port in file urls. Using ftpes-server-vsftpd0:21 for ftpes server with index 0 for ftpes server address and port in file urls. Using http-https-server0:80 for http server with index 0 for http server address and port in file urls. Using http-https-server0:32000 for http jwt server with index 0 for http jwt server address and port in file urls. Using http-https-server0:443 for https server with index 0 for https server address and port in file urls. Using http-https-server0:8080 for https server with no authentication with index 0 for https server address and port in file urls. Using http-https-server0:32100 for https jwt server with index 0 for https jwt server address and port in file urls. Using up to 1 ftp servers, for each protocol for PNFs. Using up to 1 http/https/https with no auth/jwt servers, for each protocol for PNFs. * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off Killing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 Removing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 done * Running on http://0.0.0.0:2222/ (Press CTRL+C to quit) * Running on https://0.0.0.0:2223/ (Press CTRL+C to quit) 172.17.0.1 - - [16/Nov/2023 17:18:00] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:18:00] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:18:53] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:19:49] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:19:59] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:20:09] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:20:19] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:20:29] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:20:39] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:20:49] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: oom-certservice-post-processor Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ Verify single event with single 50MB HTTPS (basic authentication) ... Simulator-start: Creating docker network dfcnet, if needed All simulators Started Simulator DR sim on localhost:3906/ responded ok Simulator DR redir sim on localhost:3908/ responded ok Simulator MR sim on localhost:2222/ responded ok Simulator DR sim https on https://localhost:3907/ responded ok Simulator DR redir sim https on https://localhost:3909/ responded ok Simulator MR sim https on https://localhost:2223/ responded ok Simulator FTPES server 0 on localhost:1032 responded ok Simulator FTPES server 1 on localhost:1033 responded ok Simulator FTPES server 2 on localhost:1034 responded ok Simulator FTPES server 3 on localhost:1035 responded ok Simulator FTPES server 4 on localhost:1036 responded ok Simulator SFTP server 0 on localhost:1022 responded ok Simulator SFTP server 1 on localhost:1023 responded ok Simulator SFTP server 2 on localhost:1024 responded ok Simulator SFTP server 3 on localhost:1025 responded ok Simulator SFTP server 4 on localhost:1026 responded ok Simulator HTTP basic auth server 0 on localhost: 81 responded ok Simulator HTTP basic auth server 1 on localhost: 82 responded ok Simulator HTTP basic auth server 2 on localhost: 83 responded ok Simulator HTTP basic auth server 3 on localhost: 84 responded ok Simulator HTTP basic auth server 4 on localhost: 85 responded ok Simulator HTTP JWT server 0 on localhost:32001 responded ok Simulator HTTP JWT server 1 on localhost:32002 responded ok Simulator HTTP JWT server 2 on localhost:32003 responded ok Simulator HTTP JWT server 3 on localhost:32004 responded ok Simulator HTTP JWT server 4 on localhost:32005 responded ok Simulator HTTPS basic auth server 0 on localhost: 444 responded ok Simulator HTTPS basic auth server 1 on localhost: 445 responded ok Simulator HTTPS basic auth server 2 on localhost: 446 responded ok Simulator HTTPS basic auth server 3 on localhost: 447 responded ok Simulator HTTPS basic auth server 4 on localhost: 448 responded ok Simulator HTTPS client certificate authentication server 0 on localhost:444 - no response Simulator HTTPS client certificate authentication server 1 on localhost:445 - no response Simulator HTTPS client certificate authentication server 2 on localhost:446 - no response Simulator HTTPS client certificate authentication server 3 on localhost:447 - no response Simulator HTTPS client certificate authentication server 4 on localhost:448 - no response Simulator HTTPS no auth server 0 on localhost:8081 responded ok Simulator HTTPS no auth server 1 on localhost:8082 responded ok Simulator HTTPS no auth server 2 on localhost:8083 responded ok Simulator HTTPS no auth server 3 on localhost:8084 responded ok Simulator HTTPS no auth server 4 on localhost:8085 responded ok Simulator HTTPS JWT server 0 on localhost:32101 responded ok Simulator HTTPS JWT server 1 on localhost:32102 responded ok Simulator HTTPS JWT server 2 on localhost:32103 responded ok Simulator HTTPS JWT server 3 on localhost:32104 responded ok Simulator HTTPS JWT server 4 on localhost:32105 responded ok Creating files for SFTP server, may take time.... Running ftp file creations. 1 PNFs and 1 files for each PNF with file size(s) 50MB and file prefixe(s) A in ftp servers with index 0 Creating files for HTTP server, may take time.... Running http file creations. 1 PNFs and 1 files for each PNF with file size(s) 50MB and file prefixe(s) A in http servers with index 0 Done: All simulators started and configured + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Creating dfc_http-https-server3 ... Creating dfc_http-https-server4 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_sftp-server4 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_dr-redir-sim ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_dr-sim ... Creating dfc_mr-sim ... Creating dfc_http-https-server0 ... Creating dfc_http-https-server2 ... Creating dfc_http-https-server1 ... Creating dfc_sftp-server1 ... Creating dfc_sftp-server3 ... Creating dfc_sftp-server2 ... Creating dfc_sftp-server0 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server4 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_sftp-server1 ... done Creating dfc_sftp-server2 ... done Creating dfc_sftp-server0 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_sftp-server3 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_mr-sim ... done Creating dfc_dr-redir-sim ... done Creating dfc_dr-sim ... done Creating dfc_http-https-server3 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_http-https-server2 ... done Creating dfc_http-https-server1 ... done Creating dfc_http-https-server0 ... done Creating dfc_http-https-server4 ... done ++ id -u ++ id -g + sudo chown 1001:1001 dfc_configs + declare -a SFTP_SIM + declare -a FTPES_SIM + declare -a HTTP_SIM ++ docker ps -q --filter=name=dfc_dr-sim + DR_SIM=f73a93813855 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=a84992dbac39 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=c508ac49d100 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=bf8c71d10ac5 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=2f02399806c4 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=8dab52a52d86 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=6068520fefe2 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=a5b50587029f ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=0ecc00005273 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=e29c21255456 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=17f9d632b0de ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=8ae59ba039b3 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=ccc188059777 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=df58cfadf0a4 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=8a364b853120 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=3a7f158306dc ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=55582ba64ede ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=5b5930e55cd7 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' f73a93813855 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a84992dbac39 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c508ac49d100 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' bf8c71d10ac5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2f02399806c4 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8dab52a52d86 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6068520fefe2 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a5b50587029f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 0ecc00005273 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e29c21255456 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 17f9d632b0de + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8ae59ba039b3 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ccc188059777 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' df58cfadf0a4 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8a364b853120 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 3a7f158306dc + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 55582ba64ede + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5b5930e55cd7 + '[' true ']' + echo 'All simulators Started' + break + '[' -z '' ']' + BASIC_AUTH_LOGIN=demo + '[' -z '' ']' + BASIC_AUTH_PASSWORD='demo123456!' + server_check 'DR sim ' 3906 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3906/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim ' on localhost:3906/ responded ok' + return + server_check 'DR redir sim ' 3908 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3908/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim ' on localhost:3908/ responded ok' + return + server_check 'MR sim ' 2222 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:2222/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim ' on localhost:2222/ responded ok' + return + server_check_https 'DR sim https ' 3907 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3907/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim https ' on https://localhost:3907/ responded ok' + return + server_check_https 'DR redir sim https' 3909 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3909/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim https ' on https://localhost:3909/ responded ok' + return + server_check_https 'MR sim https ' 2223 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:2223/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim https ' on https://localhost:2223/ responded ok' + return + ftpes_server_check 'FTPES server 0' 1032 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1032 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 0 ' on localhost:1032 responded ok' + return + ftpes_server_check 'FTPES server 1' 1033 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1033 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 1 ' on localhost:1033 responded ok' + return + ftpes_server_check 'FTPES server 2' 1034 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1034 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 2 ' on localhost:1034 responded ok' + return + ftpes_server_check 'FTPES server 3' 1035 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1035 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 3 ' on localhost:1035 responded ok' + return + ftpes_server_check 'FTPES server 4' 1036 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1036 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 4 ' on localhost:1036 responded ok' + return + sftp_server_check 'SFTP server 0' 1022 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1022 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 0 ' on localhost:1022 responded ok' + return + sftp_server_check 'SFTP server 1' 1023 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1023 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 1 ' on localhost:1023 responded ok' + return + sftp_server_check 'SFTP server 2' 1024 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1024 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 2 ' on localhost:1024 responded ok' + return + sftp_server_check 'SFTP server 3' 1025 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1025 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 3 ' on localhost:1025 responded ok' + return + sftp_server_check 'SFTP server 4' 1026 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1026 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 4 ' on localhost:1026 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 0' 81 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:81' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 0' ' on localhost: 81 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 1' 82 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:82' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 1' ' on localhost: 82 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 2' 83 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:83' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 2' ' on localhost: 83 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 3' 84 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:84' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 3' ' on localhost: 84 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 4' 85 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:85' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 4' ' on localhost: 85 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 0' 32001 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32001 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 0 ' on localhost:32001 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 1' 32002 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32002 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 1 ' on localhost:32002 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 2' 32003 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32003 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 2 ' on localhost:32003 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 3' 32004 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32004 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 3 ' on localhost:32004 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 4' 32005 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32005 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 4 ' on localhost:32005 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 0' 444 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:444' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 0' ' on localhost: 444 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 1' 445 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:445' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 1' ' on localhost: 445 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 2' 446 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:446' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 2' ' on localhost: 446 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 3' 447 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:447' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 3' ' on localhost: 447 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 4' 448 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:448' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 4' ' on localhost: 448 responded ok' + return + http_https_server_check 'HTTPS client certificate authentication server 0' 444 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 0 ' on localhost:444 - no response' + http_https_server_check 'HTTPS client certificate authentication server 1' 445 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 1 ' on localhost:445 - no response' + http_https_server_check 'HTTPS client certificate authentication server 2' 446 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 2 ' on localhost:446 - no response' + http_https_server_check 'HTTPS client certificate authentication server 3' 447 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 3 ' on localhost:447 - no response' + http_https_server_check 'HTTPS client certificate authentication server 4' 448 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 4 ' on localhost:448 - no response' + http_https_server_check 'HTTPS no auth server 0' 8081 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8081 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 0 ' on localhost:8081 responded ok' + return + http_https_server_check 'HTTPS no auth server 1' 8082 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8082 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 1 ' on localhost:8082 responded ok' + return + http_https_server_check 'HTTPS no auth server 2' 8083 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8083 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 2 ' on localhost:8083 responded ok' + return + http_https_server_check 'HTTPS no auth server 3' 8084 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8084 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 3 ' on localhost:8084 responded ok' + return + http_https_server_check 'HTTPS no auth server 4' 8085 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8085 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 4 ' on localhost:8085 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 0' 32101 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32101 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 0 ' on localhost:32101 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 1' 32102 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32102 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 1 ' on localhost:32102 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 2' 32103 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32103 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 2 ' on localhost:32103 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 3' 32104 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32104 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 3 ' on localhost:32104 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 4' 32105 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32105 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 4 ' on localhost:32105 responded ok' + return + echo '' + '[' -z 1 ']' + '[' -z 1 ']' + '[' -z 50MB ']' + '[' -z SFTP ']' + '[' -z A ']' + '[' SFTP = ALL ']' + '[' SFTP = SFTP ']' + echo 'Creating files for SFTP server, may take time....' + p=0 + '[' 0 -lt 1 ']' + docker cp setup-ftp-files-for-image.sh bf8c71d10ac5:/tmp/ + docker exec -w //home/onap/ bf8c71d10ac5 //tmp/setup-ftp-files-for-image.sh 1 1 50MB A 1 0 + let p=p+1 + '[' 1 -lt 1 ']' + '[' SFTP = ALL ']' + '[' SFTP = FTPES ']' + '[' -z 1 ']' + '[' -z HTTPS ']' + '[' -z A ']' + '[' HTTPS = ALL ']' + '[' HTTPS = HTTP ']' + '[' HTTPS = HTTPS ']' + echo 'Creating files for HTTP server, may take time....' + p=0 + '[' 0 -lt 1 ']' + docker cp setup-http-files-for-image.sh df58cfadf0a4:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs df58cfadf0a4 //tmp/setup-http-files-for-image.sh 1 1 50MB A 1 0 + let p=p+1 + '[' 1 -lt 1 ']' + echo 'Done: All simulators started and configured' APP configuration: dmaap.certificateConfig.keyCert: /opt/app/datafile/etc/cert/cert.p12 dmaap.certificateConfig.keyPasswordPath: /opt/app/datafile/etc/cert/p12.pass dmaap.certificateConfig.trustedCa: /opt/app/datafile/etc/cert/trust.jks dmaap.certificateConfig.trustedCaPasswordPath: /opt/app/datafile/etc/cert/trust.pass dmaap.certificateConfig.httpsHostnameVerify: false dmaap.security.trustStorePath: /opt/app/datafile/etc/cert/trust.jks dmaap.security.trustStorePasswordPath: /opt/app/datafile/etc/cert/trust.pass dmaap.security.keyStorePath: /opt/app/datafile/etc/cert/cert.jks dmaap.security.keyStorePasswordPath: /opt/app/datafile/etc/cert/jks.pass dmaap.security.enableDmaapCertAuth: "false" dmaap.dmaapConsumerConfiguration.consumerGroup: OpenDcae-c12 dmaap.dmaapConsumerConfiguration.consumerId: C12 dmaap.dmaapConsumerConfiguration.timeoutMs: -1 sftp.security.strictHostKeyChecking: "true" streams_publishes: PM_MEAS_FILES: type: data_router dmaap_info: username: user log_url: https://drsim:3907/feedlog/2 publish_url: https://drsim:3907/publish/2 location: loc00 password: password publisher_id: 972.360gm streams_subscribes: dmaap_subscriber: dmaap_info: topic_url: http://mrsim:2222/events/unauthenticated.VES_NOTIFICATION_OUTPUT type: message_router Dfc-start: Creating docker network dfcnet, if needed sleep 1 sleep 2 sleep 3 sleep 4 sleep 5 sleep 6 sleep 7 sleep 8 sleep 9 sleep 10 + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + docker-compose up -d Pulling dfc (nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest)... manifest for nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest not found: manifest unknown: manifest unknown ++ docker ps -q --filter=name=dfc_app0 + DFC_APP= + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 1 + sleep 1 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 2 + sleep 2 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 3 + sleep 3 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 4 + sleep 4 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 5 + sleep 5 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 6 + sleep 6 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 7 + sleep 7 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 8 + sleep 8 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 9 + sleep 9 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 10 + sleep 10 Configured sftp sims: sftp-server0:22 Configured ftpes sims: ftpes-server-vsftpd0:21 Configured http sims: http-https-server0:80 Configured http JWT sims: http-https-server0:32000 Configured https sims: http-https-server0:443 Configured https with no authorization sims: http-https-server0:8080 Configured https JWT sims: http-https-server0:32100 Configured number of ftp servers: 1 Configured number of http/https/https with no auth/JWT servers: 1 each Groups detected: OpenDcae-c12:PM_MEAS_FILES Configured groups: OpenDcae-c12:PM_MEAS_FILES Configured changeid to file prefix mapping: PM_MEAS_FILES:A TC num: TC# 402 Using sftp-server0:22 for sftp server with index 0 for sftp server address and port in file urls. Using ftpes-server-vsftpd0:21 for ftpes server with index 0 for ftpes server address and port in file urls. Using http-https-server0:80 for http server with index 0 for http server address and port in file urls. Using http-https-server0:32000 for http jwt server with index 0 for http jwt server address and port in file urls. Using http-https-server0:443 for https server with index 0 for https server address and port in file urls. Using http-https-server0:8080 for https server with no authentication with index 0 for https server address and port in file urls. Using http-https-server0:32100 for https jwt server with index 0 for https jwt server address and port in file urls. Using up to 1 ftp servers, for each protocol for PNFs. Using up to 1 http/https/https with no auth/jwt servers, for each protocol for PNFs. * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off Killing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 Removing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 done * Running on http://0.0.0.0:2222/ (Press CTRL+C to quit) * Running on https://0.0.0.0:2223/ (Press CTRL+C to quit) 172.17.0.1 - - [16/Nov/2023 17:21:16] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:21:17] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:22:10] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:23:06] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:23:16] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:23:26] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:23:36] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:23:46] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:23:56] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:24:06] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: oom-certservice-post-processor Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ plans/dcaegen2-collectors-datafile/Functional-suite.Functional-Sin... | FAIL | 6 tests, 0 passed, 6 failed ============================================================================== plans/dcaegen2-collectors-datafile/Functional-suite.Functional-Sin... | FAIL | 6 tests, 0 passed, 6 failed ============================================================================== plans/dcaegen2-collectors-datafile/Functional-suite.Strict-Host-Checking-su... ============================================================================== plans/dcaegen2-collectors-datafile/Functional-suite.Strict-Host-Checking-su... ============================================================================== Verify single event with SFTP file, when host known and strict hos... Simulator-start: Creating docker network dfcnet, if needed All simulators Started Simulator DR sim on localhost:3906/ responded ok Simulator DR redir sim on localhost:3908/ responded ok Simulator MR sim on localhost:2222/ responded ok Simulator DR sim https on https://localhost:3907/ responded ok Simulator DR redir sim https on https://localhost:3909/ responded ok Simulator MR sim https on https://localhost:2223/ responded ok Simulator FTPES server 0 on localhost:1032 responded ok Simulator FTPES server 1 on localhost:1033 responded ok Simulator FTPES server 2 on localhost:1034 responded ok Simulator FTPES server 3 on localhost:1035 responded ok Simulator FTPES server 4 on localhost:1036 responded ok Simulator SFTP server 0 on localhost:1022 responded ok Simulator SFTP server 1 on localhost:1023 responded ok Simulator SFTP server 2 on localhost:1024 responded ok Simulator SFTP server 3 on localhost:1025 responded ok Simulator SFTP server 4 on localhost:1026 responded ok Simulator HTTP basic auth server 0 on localhost: 81 responded ok Simulator HTTP basic auth server 1 on localhost: 82 responded ok Simulator HTTP basic auth server 2 on localhost: 83 responded ok Simulator HTTP basic auth server 3 on localhost: 84 responded ok Simulator HTTP basic auth server 4 on localhost: 85 responded ok Simulator HTTP JWT server 0 on localhost:32001 responded ok Simulator HTTP JWT server 1 on localhost:32002 responded ok Simulator HTTP JWT server 2 on localhost:32003 responded ok Simulator HTTP JWT server 3 on localhost:32004 responded ok Simulator HTTP JWT server 4 on localhost:32005 responded ok Simulator HTTPS basic auth server 0 on localhost: 444 responded ok Simulator HTTPS basic auth server 1 on localhost: 445 responded ok Simulator HTTPS basic auth server 2 on localhost: 446 responded ok Simulator HTTPS basic auth server 3 on localhost: 447 responded ok Simulator HTTPS basic auth server 4 on localhost: 448 responded ok Simulator HTTPS client certificate authentication server 0 on localhost:444 - no response Simulator HTTPS client certificate authentication server 1 on localhost:445 - no response Simulator HTTPS client certificate authentication server 2 on localhost:446 - no response Simulator HTTPS client certificate authentication server 3 on localhost:447 - no response Simulator HTTPS client certificate authentication server 4 on localhost:448 - no response Simulator HTTPS no auth server 0 on localhost:8081 responded ok Simulator HTTPS no auth server 1 on localhost:8082 responded ok Simulator HTTPS no auth server 2 on localhost:8083 responded ok Simulator HTTPS no auth server 3 on localhost:8084 responded ok Simulator HTTPS no auth server 4 on localhost:8085 responded ok Simulator HTTPS JWT server 0 on localhost:32101 responded ok Simulator HTTPS JWT server 1 on localhost:32102 responded ok Simulator HTTPS JWT server 2 on localhost:32103 responded ok Simulator HTTPS JWT server 3 on localhost:32104 responded ok Simulator HTTPS JWT server 4 on localhost:32105 responded ok Creating files for SFTP server, may take time.... Running ftp file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in ftp servers with index 0 Creating files for HTTP server, may take time.... Running http file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in http servers with index 0 Done: All simulators started and configured + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + grep dfcnet + docker network ls + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_http-https-server3 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_dr-sim ... Creating dfc_dr-redir-sim ... Creating dfc_http-https-server2 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_sftp-server4 ... Creating dfc_mr-sim ... Creating dfc_http-https-server0 ... Creating dfc_sftp-server3 ... Creating dfc_http-https-server4 ... Creating dfc_sftp-server1 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_sftp-server2 ... Creating dfc_http-https-server1 ... Creating dfc_sftp-server0 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server0 ... done Creating dfc_sftp-server1 ... done Creating dfc_sftp-server2 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_sftp-server3 ... done Creating dfc_mr-sim ... done Creating dfc_dr-sim ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_dr-redir-sim ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_sftp-server4 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_http-https-server4 ... done Creating dfc_http-https-server2 ... done Creating dfc_http-https-server0 ... done Creating dfc_http-https-server1 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_http-https-server3 ... done ++ id -u ++ id -g + sudo chown 1001:1001 dfc_configs + declare -a SFTP_SIM + declare -a FTPES_SIM + declare -a HTTP_SIM ++ docker ps -q --filter=name=dfc_dr-sim + DR_SIM=6c64a50a00ee ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=a073b2956c61 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=1951c15051e7 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=c8d36ec69e41 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=2ea04ec4d129 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=81f00c39678a ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=14bef10eb80c ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=22b4dc4e3d9f ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=023b6a7b4d21 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=59e3e8f45e40 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=0aa947eb9662 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=b48aae623022 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=5ce4ec00d0f6 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=038f35880b78 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=b71dae547c6b ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=ebb911d8040d ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=140c57db8d3d ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=4ff8d22ea393 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 6c64a50a00ee + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a073b2956c61 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1951c15051e7 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c8d36ec69e41 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2ea04ec4d129 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 81f00c39678a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 14bef10eb80c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 22b4dc4e3d9f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 023b6a7b4d21 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 59e3e8f45e40 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 0aa947eb9662 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b48aae623022 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5ce4ec00d0f6 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 038f35880b78 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b71dae547c6b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ebb911d8040d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 140c57db8d3d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4ff8d22ea393 + '[' true ']' + echo 'All simulators Started' + break + '[' -z '' ']' + BASIC_AUTH_LOGIN=demo + '[' -z '' ']' + BASIC_AUTH_PASSWORD='demo123456!' + server_check 'DR sim ' 3906 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3906/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim ' on localhost:3906/ responded ok' + return + server_check 'DR redir sim ' 3908 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3908/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim ' on localhost:3908/ responded ok' + return + server_check 'MR sim ' 2222 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:2222/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim ' on localhost:2222/ responded ok' + return + server_check_https 'DR sim https ' 3907 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3907/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim https ' on https://localhost:3907/ responded ok' + return + server_check_https 'DR redir sim https' 3909 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3909/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim https ' on https://localhost:3909/ responded ok' + return + server_check_https 'MR sim https ' 2223 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:2223/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim https ' on https://localhost:2223/ responded ok' + return + ftpes_server_check 'FTPES server 0' 1032 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1032 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 0 ' on localhost:1032 responded ok' + return + ftpes_server_check 'FTPES server 1' 1033 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1033 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 1 ' on localhost:1033 responded ok' + return + ftpes_server_check 'FTPES server 2' 1034 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1034 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 2 ' on localhost:1034 responded ok' + return + ftpes_server_check 'FTPES server 3' 1035 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1035 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 3 ' on localhost:1035 responded ok' + return + ftpes_server_check 'FTPES server 4' 1036 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1036 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 4 ' on localhost:1036 responded ok' + return + sftp_server_check 'SFTP server 0' 1022 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1022 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 0 ' on localhost:1022 responded ok' + return + sftp_server_check 'SFTP server 1' 1023 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1023 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 1 ' on localhost:1023 responded ok' + return + sftp_server_check 'SFTP server 2' 1024 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1024 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 2 ' on localhost:1024 responded ok' + return + sftp_server_check 'SFTP server 3' 1025 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1025 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 3 ' on localhost:1025 responded ok' + return + sftp_server_check 'SFTP server 4' 1026 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1026 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 4 ' on localhost:1026 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 0' 81 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:81' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 0' ' on localhost: 81 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 1' 82 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:82' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 1' ' on localhost: 82 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 2' 83 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:83' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 2' ' on localhost: 83 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 3' 84 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:84' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 3' ' on localhost: 84 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 4' 85 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:85' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 4' ' on localhost: 85 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 0' 32001 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32001 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 0 ' on localhost:32001 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 1' 32002 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32002 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 1 ' on localhost:32002 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 2' 32003 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32003 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 2 ' on localhost:32003 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 3' 32004 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32004 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 3 ' on localhost:32004 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 4' 32005 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32005 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 4 ' on localhost:32005 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 0' 444 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:444' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 0' ' on localhost: 444 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 1' 445 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:445' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 1' ' on localhost: 445 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 2' 446 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:446' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 2' ' on localhost: 446 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 3' 447 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:447' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 3' ' on localhost: 447 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 4' 448 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:448' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 4' ' on localhost: 448 responded ok' + return + http_https_server_check 'HTTPS client certificate authentication server 0' 444 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 0 ' on localhost:444 - no response' + http_https_server_check 'HTTPS client certificate authentication server 1' 445 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 1 ' on localhost:445 - no response' + http_https_server_check 'HTTPS client certificate authentication server 2' 446 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 2 ' on localhost:446 - no response' + http_https_server_check 'HTTPS client certificate authentication server 3' 447 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 3 ' on localhost:447 - no response' + http_https_server_check 'HTTPS client certificate authentication server 4' 448 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 4 ' on localhost:448 - no response' + http_https_server_check 'HTTPS no auth server 0' 8081 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8081 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 0 ' on localhost:8081 responded ok' + return + http_https_server_check 'HTTPS no auth server 1' 8082 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8082 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 1 ' on localhost:8082 responded ok' + return + http_https_server_check 'HTTPS no auth server 2' 8083 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8083 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 2 ' on localhost:8083 responded ok' + return + http_https_server_check 'HTTPS no auth server 3' 8084 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8084 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 3 ' on localhost:8084 responded ok' + return + http_https_server_check 'HTTPS no auth server 4' 8085 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8085 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 4 ' on localhost:8085 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 0' 32101 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32101 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 0 ' on localhost:32101 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 1' 32102 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32102 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 1 ' on localhost:32102 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 2' 32103 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32103 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 2 ' on localhost:32103 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 3' 32104 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32104 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 3 ' on localhost:32104 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 4' 32105 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32105 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 4 ' on localhost:32105 responded ok' + return + echo '' + '[' -z 1 ']' + '[' -z 1 ']' + '[' -z 1MB ']' + '[' -z SFTP ']' + '[' -z A ']' + '[' SFTP = ALL ']' + '[' SFTP = SFTP ']' + echo 'Creating files for SFTP server, may take time....' + p=0 + '[' 0 -lt 1 ']' + docker cp setup-ftp-files-for-image.sh c8d36ec69e41:/tmp/ + docker exec -w //home/onap/ c8d36ec69e41 //tmp/setup-ftp-files-for-image.sh 1 1 1MB A 1 0 + let p=p+1 + '[' 1 -lt 1 ']' + '[' SFTP = ALL ']' + '[' SFTP = FTPES ']' + '[' -z 1 ']' + '[' -z HTTP ']' + '[' -z A ']' + '[' HTTP = ALL ']' + '[' HTTP = HTTP ']' + echo 'Creating files for HTTP server, may take time....' + p=0 + '[' 0 -lt 1 ']' + docker cp setup-http-files-for-image.sh 038f35880b78:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 038f35880b78 //tmp/setup-http-files-for-image.sh 1 1 1MB A 1 0 + let p=p+1 + '[' 1 -lt 1 ']' + echo 'Done: All simulators started and configured' APP configuration: dmaap.certificateConfig.keyCert: /opt/app/datafile/etc/cert/cert.jks dmaap.certificateConfig.keyPasswordPath: /opt/app/datafile/etc/cert/jks.pass dmaap.certificateConfig.trustedCa: /opt/app/datafile/etc/cert/trust.jks dmaap.certificateConfig.trustedCaPasswordPath: /opt/app/datafile/etc/cert/trust.pass dmaap.security.trustStorePath: /opt/app/datafile/etc/cert/trust.jks dmaap.security.trustStorePasswordPath: /opt/app/datafile/etc/cert/trust.pass dmaap.security.keyStorePath: /opt/app/datafile/etc/cert/cert.jks dmaap.security.keyStorePasswordPath: /opt/app/datafile/etc/cert/jks.pass dmaap.security.enableDmaapCertAuth: "false" dmaap.dmaapConsumerConfiguration.consumerGroup: OpenDcae-c12 dmaap.dmaapConsumerConfiguration.consumerId: C12 dmaap.dmaapConsumerConfiguration.timeoutMs: -1 sftp.security.strictHostKeyChecking: "true" streams_publishes: PM_MEAS_FILES: type: data_router dmaap_info: username: user log_url: https://drsim:3907/feedlog/2 publish_url: https://drsim:3907/publish/2 location: loc00 password: password publisher_id: 972.360gm streams_subscribes: dmaap_subscriber: dmaap_info: topic_url: http://mrsim:2222/events/unauthenticated.VES_NOTIFICATION_OUTPUT type: message_router Dfc-start: Creating docker network dfcnet, if needed sleep 1 sleep 2 sleep 3 sleep 4 sleep 5 sleep 6 sleep 7 sleep 8 sleep 9 sleep 10 + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + docker-compose up -d Pulling dfc (nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest)... manifest for nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest not found: manifest unknown: manifest unknown ++ docker ps -q --filter=name=dfc_app0 + DFC_APP= + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 1 + sleep 1 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 2 + sleep 2 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 3 + sleep 3 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 4 + sleep 4 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 5 + sleep 5 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 6 + sleep 6 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 7 + sleep 7 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 8 + sleep 8 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 9 + sleep 9 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 10 + sleep 10 Configured sftp sims: sftp-server0:22 Configured ftpes sims: ftpes-server-vsftpd0:21 Configured http sims: http-https-server0:80 Configured http JWT sims: http-https-server0:32000 Configured https sims: http-https-server0:443 Configured https with no authorization sims: http-https-server0:8080 Configured https JWT sims: http-https-server0:32100 Configured number of ftp servers: 1 Configured number of http/https/https with no auth/JWT servers: 1 each Groups detected: OpenDcae-c12:PM_MEAS_FILES Configured groups: OpenDcae-c12:PM_MEAS_FILES Configured changeid to file prefix mapping: PM_MEAS_FILES:A TC num: TC# 100 Using sftp-server0:22 for sftp server with index 0 for sftp server address and port in file urls. Using ftpes-server-vsftpd0:21 for ftpes server with index 0 for ftpes server address and port in file urls. Using http-https-server0:80 for http server with index 0 for http server address and port in file urls. Using http-https-server0:32000 for http jwt server with index 0 for http jwt server address and port in file urls. Using http-https-server0:443 for https server with index 0 for https server address and port in file urls. Using http-https-server0:8080 for https server with no authentication with index 0 for https server address and port in file urls. Using http-https-server0:32100 for https jwt server with index 0 for https jwt server address and port in file urls. Using up to 1 ftp servers, for each protocol for PNFs. Using up to 1 http/https/https with no auth/jwt servers, for each protocol for PNFs. * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off Killing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 Removing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 done * Running on http://0.0.0.0:2222/ (Press CTRL+C to quit) * Running on https://0.0.0.0:2223/ (Press CTRL+C to quit) 172.17.0.1 - - [16/Nov/2023 17:24:34] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:24:34] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:25:28] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:26:24] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:26:34] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:26:44] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:26:54] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:27:04] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:27:14] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:27:24] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ Verify single event with SFTP file, when host unknown and strict h... Simulator-start: Creating docker network dfcnet, if needed All simulators Started Simulator DR sim on localhost:3906/ responded ok Simulator DR redir sim on localhost:3908/ responded ok Simulator MR sim on localhost:2222/ responded ok Simulator DR sim https on https://localhost:3907/ responded ok Simulator DR redir sim https on https://localhost:3909/ responded ok Simulator MR sim https on https://localhost:2223/ responded ok Simulator FTPES server 0 on localhost:1032 responded ok Simulator FTPES server 1 on localhost:1033 responded ok Simulator FTPES server 2 on localhost:1034 responded ok Simulator FTPES server 3 on localhost:1035 responded ok Simulator FTPES server 4 on localhost:1036 responded ok Simulator SFTP server 0 on localhost:1022 responded ok Simulator SFTP server 1 on localhost:1023 responded ok Simulator SFTP server 2 on localhost:1024 responded ok Simulator SFTP server 3 on localhost:1025 responded ok Simulator SFTP server 4 on localhost:1026 responded ok Simulator HTTP basic auth server 0 on localhost: 81 responded ok Simulator HTTP basic auth server 1 on localhost: 82 responded ok Simulator HTTP basic auth server 2 on localhost: 83 responded ok Simulator HTTP basic auth server 3 on localhost: 84 responded ok Simulator HTTP basic auth server 4 on localhost: 85 responded ok Simulator HTTP JWT server 0 on localhost:32001 responded ok Simulator HTTP JWT server 1 on localhost:32002 responded ok Simulator HTTP JWT server 2 on localhost:32003 responded ok Simulator HTTP JWT server 3 on localhost:32004 responded ok Simulator HTTP JWT server 4 on localhost:32005 responded ok Simulator HTTPS basic auth server 0 on localhost: 444 responded ok Simulator HTTPS basic auth server 1 on localhost: 445 responded ok Simulator HTTPS basic auth server 2 on localhost: 446 responded ok Simulator HTTPS basic auth server 3 on localhost: 447 responded ok Simulator HTTPS basic auth server 4 on localhost: 448 responded ok Simulator HTTPS client certificate authentication server 0 on localhost:444 - no response Simulator HTTPS client certificate authentication server 1 on localhost:445 - no response Simulator HTTPS client certificate authentication server 2 on localhost:446 - no response Simulator HTTPS client certificate authentication server 3 on localhost:447 - no response Simulator HTTPS client certificate authentication server 4 on localhost:448 - no response Simulator HTTPS no auth server 0 on localhost:8081 responded ok Simulator HTTPS no auth server 1 on localhost:8082 responded ok Simulator HTTPS no auth server 2 on localhost:8083 responded ok Simulator HTTPS no auth server 3 on localhost:8084 responded ok Simulator HTTPS no auth server 4 on localhost:8085 responded ok Simulator HTTPS JWT server 0 on localhost:32101 responded ok Simulator HTTPS JWT server 1 on localhost:32102 responded ok Simulator HTTPS JWT server 2 on localhost:32103 responded ok Simulator HTTPS JWT server 3 on localhost:32104 responded ok Simulator HTTPS JWT server 4 on localhost:32105 responded ok Creating files for SFTP server, may take time.... Running ftp file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in ftp servers with index 0 Creating files for HTTP server, may take time.... Running http file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in http servers with index 0 Done: All simulators started and configured + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Creating dfc_sftp-server2 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_http-https-server2 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_mr-sim ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_http-https-server4 ... Creating dfc_sftp-server1 ... Creating dfc_sftp-server4 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_http-https-server1 ... Creating dfc_dr-sim ... Creating dfc_sftp-server0 ... Creating dfc_dr-redir-sim ... Creating dfc_http-https-server0 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_sftp-server3 ... Creating dfc_http-https-server3 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_mr-sim ... done Creating dfc_sftp-server2 ... done Creating dfc_sftp-server4 ... done Creating dfc_sftp-server0 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_sftp-server1 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_dr-sim ... done Creating dfc_http-https-server2 ... done Creating dfc_http-https-server1 ... done Creating dfc_sftp-server3 ... done Creating dfc_http-https-server3 ... done Creating dfc_http-https-server0 ... done Creating dfc_dr-redir-sim ... done Creating dfc_http-https-server4 ... done ++ id -u ++ id -g + sudo chown 1001:1001 dfc_configs + declare -a SFTP_SIM + declare -a FTPES_SIM + declare -a HTTP_SIM ++ docker ps -q --filter=name=dfc_dr-sim + DR_SIM=0c998c87d566 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=843b4714ad32 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=d6eaf7757d51 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=aa2b02ad0013 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=b4ca4adec225 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=818a41c39ab6 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=0617f788daf7 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=56eac32a1e81 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=7e8b51c2ed1e ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=bce0919427b2 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=905e4a725871 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=e24e54697634 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=51e63dfe821a ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=22d64aa2a7a7 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=65a7365a65a0 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=62ee99a7d035 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=64b20fb5bca4 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=6772d61f0ffd + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 0c998c87d566 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 843b4714ad32 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d6eaf7757d51 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' aa2b02ad0013 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b4ca4adec225 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 818a41c39ab6 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 0617f788daf7 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 56eac32a1e81 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7e8b51c2ed1e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' bce0919427b2 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 905e4a725871 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e24e54697634 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 51e63dfe821a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 22d64aa2a7a7 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 65a7365a65a0 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 62ee99a7d035 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 64b20fb5bca4 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6772d61f0ffd + '[' true ']' + echo 'All simulators Started' + break + '[' -z '' ']' + BASIC_AUTH_LOGIN=demo + '[' -z '' ']' + BASIC_AUTH_PASSWORD='demo123456!' + server_check 'DR sim ' 3906 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3906/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim ' on localhost:3906/ responded ok' + return + server_check 'DR redir sim ' 3908 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3908/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim ' on localhost:3908/ responded ok' + return + server_check 'MR sim ' 2222 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:2222/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim ' on localhost:2222/ responded ok' + return + server_check_https 'DR sim https ' 3907 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3907/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim https ' on https://localhost:3907/ responded ok' + return + server_check_https 'DR redir sim https' 3909 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3909/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim https ' on https://localhost:3909/ responded ok' + return + server_check_https 'MR sim https ' 2223 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:2223/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim https ' on https://localhost:2223/ responded ok' + return + ftpes_server_check 'FTPES server 0' 1032 + for i in {1..10} ++ grep vsFTPd ++ curl --silent --max-time 3 ftp://localhost:1032 --ftp-ssl -v -k + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 0 ' on localhost:1032 responded ok' + return + ftpes_server_check 'FTPES server 1' 1033 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1033 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 1 ' on localhost:1033 responded ok' + return + ftpes_server_check 'FTPES server 2' 1034 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1034 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 2 ' on localhost:1034 responded ok' + return + ftpes_server_check 'FTPES server 3' 1035 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1035 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 3 ' on localhost:1035 responded ok' + return + ftpes_server_check 'FTPES server 4' 1036 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1036 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 4 ' on localhost:1036 responded ok' + return + sftp_server_check 'SFTP server 0' 1022 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1022 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 0 ' on localhost:1022 responded ok' + return + sftp_server_check 'SFTP server 1' 1023 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1023 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 1 ' on localhost:1023 responded ok' + return + sftp_server_check 'SFTP server 2' 1024 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1024 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 2 ' on localhost:1024 responded ok' + return + sftp_server_check 'SFTP server 3' 1025 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1025 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 3 ' on localhost:1025 responded ok' + return + sftp_server_check 'SFTP server 4' 1026 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1026 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 4 ' on localhost:1026 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 0' 81 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:81' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 0' ' on localhost: 81 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 1' 82 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:82' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 1' ' on localhost: 82 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 2' 83 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:83' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 2' ' on localhost: 83 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 3' 84 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:84' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 3' ' on localhost: 84 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 4' 85 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:85' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 4' ' on localhost: 85 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 0' 32001 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32001 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 0 ' on localhost:32001 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 1' 32002 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32002 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 1 ' on localhost:32002 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 2' 32003 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32003 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 2 ' on localhost:32003 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 3' 32004 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32004 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 3 ' on localhost:32004 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 4' 32005 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32005 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 4 ' on localhost:32005 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 0' 444 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:444' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 0' ' on localhost: 444 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 1' 445 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:445' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 1' ' on localhost: 445 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 2' 446 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:446' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 2' ' on localhost: 446 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 3' 447 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:447' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 3' ' on localhost: 447 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 4' 448 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:448' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 4' ' on localhost: 448 responded ok' + return + http_https_server_check 'HTTPS client certificate authentication server 0' 444 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 0 ' on localhost:444 - no response' + http_https_server_check 'HTTPS client certificate authentication server 1' 445 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 1 ' on localhost:445 - no response' + http_https_server_check 'HTTPS client certificate authentication server 2' 446 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 2 ' on localhost:446 - no response' + http_https_server_check 'HTTPS client certificate authentication server 3' 447 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 3 ' on localhost:447 - no response' + http_https_server_check 'HTTPS client certificate authentication server 4' 448 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 4 ' on localhost:448 - no response' + http_https_server_check 'HTTPS no auth server 0' 8081 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8081 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 0 ' on localhost:8081 responded ok' + return + http_https_server_check 'HTTPS no auth server 1' 8082 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8082 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 1 ' on localhost:8082 responded ok' + return + http_https_server_check 'HTTPS no auth server 2' 8083 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8083 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 2 ' on localhost:8083 responded ok' + return + http_https_server_check 'HTTPS no auth server 3' 8084 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8084 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 3 ' on localhost:8084 responded ok' + return + http_https_server_check 'HTTPS no auth server 4' 8085 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8085 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 4 ' on localhost:8085 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 0' 32101 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32101 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 0 ' on localhost:32101 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 1' 32102 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32102 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 1 ' on localhost:32102 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 2' 32103 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32103 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 2 ' on localhost:32103 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 3' 32104 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32104 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 3 ' on localhost:32104 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 4' 32105 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32105 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 4 ' on localhost:32105 responded ok' + return + echo '' + '[' -z 1 ']' + '[' -z 1 ']' + '[' -z 1MB ']' + '[' -z SFTP ']' + '[' -z A ']' + '[' SFTP = ALL ']' + '[' SFTP = SFTP ']' + echo 'Creating files for SFTP server, may take time....' + p=0 + '[' 0 -lt 1 ']' + docker cp setup-ftp-files-for-image.sh aa2b02ad0013:/tmp/ + docker exec -w //home/onap/ aa2b02ad0013 //tmp/setup-ftp-files-for-image.sh 1 1 1MB A 1 0 + let p=p+1 + '[' 1 -lt 1 ']' + '[' SFTP = ALL ']' + '[' SFTP = FTPES ']' + '[' -z 1 ']' + '[' -z HTTP ']' + '[' -z A ']' + '[' HTTP = ALL ']' + '[' HTTP = HTTP ']' + echo 'Creating files for HTTP server, may take time....' + p=0 + '[' 0 -lt 1 ']' + docker cp setup-http-files-for-image.sh 22d64aa2a7a7:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 22d64aa2a7a7 //tmp/setup-http-files-for-image.sh 1 1 1MB A 1 0 + let p=p+1 + '[' 1 -lt 1 ']' + echo 'Done: All simulators started and configured' APP configuration: dmaap.certificateConfig.keyCert: /opt/app/datafile/etc/cert/cert.jks dmaap.certificateConfig.keyPasswordPath: /opt/app/datafile/etc/cert/jks.pass dmaap.certificateConfig.trustedCa: /opt/app/datafile/etc/cert/trust.jks dmaap.certificateConfig.trustedCaPasswordPath: /opt/app/datafile/etc/cert/trust.pass dmaap.security.trustStorePath: /opt/app/datafile/etc/cert/trust.jks dmaap.security.trustStorePasswordPath: /opt/app/datafile/etc/cert/trust.pass dmaap.security.keyStorePath: /opt/app/datafile/etc/cert/cert.jks dmaap.security.keyStorePasswordPath: /opt/app/datafile/etc/cert/jks.pass dmaap.security.enableDmaapCertAuth: "false" dmaap.dmaapConsumerConfiguration.consumerGroup: OpenDcae-c12 dmaap.dmaapConsumerConfiguration.consumerId: C12 dmaap.dmaapConsumerConfiguration.timeoutMs: -1 sftp.security.strictHostKeyChecking: "false" streams_publishes: PM_MEAS_FILES: type: data_router dmaap_info: username: user log_url: https://drsim:3907/feedlog/2 publish_url: https://drsim:3907/publish/2 location: loc00 password: password publisher_id: 972.360gm streams_subscribes: dmaap_subscriber: dmaap_info: topic_url: http://mrsim:2222/events/unauthenticated.VES_NOTIFICATION_OUTPUT type: message_router Dfc-start: Creating docker network dfcnet, if needed sleep 1 sleep 2 sleep 3 sleep 4 sleep 5 sleep 6 sleep 7 sleep 8 sleep 9 sleep 10 + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + docker-compose up -d Pulling dfc (nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest)... manifest for nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest not found: manifest unknown: manifest unknown ++ docker ps -q --filter=name=dfc_app0 + DFC_APP= + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 1 + sleep 1 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 2 + sleep 2 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 3 + sleep 3 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 4 + sleep 4 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 5 + sleep 5 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 6 + sleep 6 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 7 + sleep 7 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 8 + sleep 8 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 9 + sleep 9 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 10 + sleep 10 Configured sftp sims: sftp-server0:22 Configured ftpes sims: ftpes-server-vsftpd0:21 Configured http sims: http-https-server0:80 Configured http JWT sims: http-https-server0:32000 Configured https sims: http-https-server0:443 Configured https with no authorization sims: http-https-server0:8080 Configured https JWT sims: http-https-server0:32100 Configured number of ftp servers: 1 Configured number of http/https/https with no auth/JWT servers: 1 each Groups detected: OpenDcae-c12:PM_MEAS_FILES Configured groups: OpenDcae-c12:PM_MEAS_FILES Configured changeid to file prefix mapping: PM_MEAS_FILES:A TC num: TC# 100 Using sftp-server0:22 for sftp server with index 0 for sftp server address and port in file urls. Using ftpes-server-vsftpd0:21 for ftpes server with index 0 for ftpes server address and port in file urls. Using http-https-server0:80 for http server with index 0 for http server address and port in file urls. Using http-https-server0:32000 for http jwt server with index 0 for http jwt server address and port in file urls. Using http-https-server0:443 for https server with index 0 for https server address and port in file urls. Using http-https-server0:8080 for https server with no authentication with index 0 for https server address and port in file urls. Using http-https-server0:32100 for https jwt server with index 0 for https jwt server address and port in file urls. Using up to 1 ftp servers, for each protocol for PNFs. Using up to 1 http/https/https with no auth/jwt servers, for each protocol for PNFs. * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off Killing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 Removing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 done * Running on http://0.0.0.0:2222/ (Press CTRL+C to quit) * Running on https://0.0.0.0:2223/ (Press CTRL+C to quit) 172.17.0.1 - - [16/Nov/2023 17:27:52] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:27:52] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:28:46] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:29:42] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:29:52] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:30:02] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:30:12] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:30:22] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:30:32] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:30:42] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ Verify single event with SFTP file, when no known hosts file and s... Simulator-start: Creating docker network dfcnet, if needed All simulators Started Simulator DR sim on localhost:3906/ responded ok Simulator DR redir sim on localhost:3908/ responded ok Simulator MR sim on localhost:2222/ responded ok Simulator DR sim https on https://localhost:3907/ responded ok Simulator DR redir sim https on https://localhost:3909/ responded ok Simulator MR sim https on https://localhost:2223/ responded ok Simulator FTPES server 0 on localhost:1032 responded ok Simulator FTPES server 1 on localhost:1033 responded ok Simulator FTPES server 2 on localhost:1034 responded ok Simulator FTPES server 3 on localhost:1035 responded ok Simulator FTPES server 4 on localhost:1036 responded ok Simulator SFTP server 0 on localhost:1022 responded ok Simulator SFTP server 1 on localhost:1023 responded ok Simulator SFTP server 2 on localhost:1024 responded ok Simulator SFTP server 3 on localhost:1025 responded ok Simulator SFTP server 4 on localhost:1026 responded ok Simulator HTTP basic auth server 0 on localhost: 81 responded ok Simulator HTTP basic auth server 1 on localhost: 82 responded ok Simulator HTTP basic auth server 2 on localhost: 83 responded ok Simulator HTTP basic auth server 3 on localhost: 84 responded ok Simulator HTTP basic auth server 4 on localhost: 85 responded ok Simulator HTTP JWT server 0 on localhost:32001 responded ok Simulator HTTP JWT server 1 on localhost:32002 responded ok Simulator HTTP JWT server 2 on localhost:32003 responded ok Simulator HTTP JWT server 3 on localhost:32004 responded ok Simulator HTTP JWT server 4 on localhost:32005 responded ok Simulator HTTPS basic auth server 0 on localhost: 444 responded ok Simulator HTTPS basic auth server 1 on localhost: 445 responded ok Simulator HTTPS basic auth server 2 on localhost: 446 responded ok Simulator HTTPS basic auth server 3 on localhost: 447 responded ok Simulator HTTPS basic auth server 4 on localhost: 448 responded ok Simulator HTTPS client certificate authentication server 0 on localhost:444 - no response Simulator HTTPS client certificate authentication server 1 on localhost:445 - no response Simulator HTTPS client certificate authentication server 2 on localhost:446 - no response Simulator HTTPS client certificate authentication server 3 on localhost:447 - no response Simulator HTTPS client certificate authentication server 4 on localhost:448 - no response Simulator HTTPS no auth server 0 on localhost:8081 responded ok Simulator HTTPS no auth server 1 on localhost:8082 responded ok Simulator HTTPS no auth server 2 on localhost:8083 responded ok Simulator HTTPS no auth server 3 on localhost:8084 responded ok Simulator HTTPS no auth server 4 on localhost:8085 responded ok Simulator HTTPS JWT server 0 on localhost:32101 responded ok Simulator HTTPS JWT server 1 on localhost:32102 responded ok Simulator HTTPS JWT server 2 on localhost:32103 responded ok Simulator HTTPS JWT server 3 on localhost:32104 responded ok Simulator HTTPS JWT server 4 on localhost:32105 responded ok Creating files for SFTP server, may take time.... Running ftp file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in ftp servers with index 0 Creating files for HTTP server, may take time.... Running http file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in http servers with index 0 Done: All simulators started and configured + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Starting dfc_cmpv2-postprocessor ... Creating dfc_http-https-server1 ... Creating dfc_http-https-server2 ... Creating dfc_http-https-server0 ... Creating dfc_http-https-server3 ... Creating dfc_sftp-server4 ... Creating dfc_mr-sim ... Creating dfc_sftp-server3 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_dr-sim ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_http-https-server4 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_dr-redir-sim ... Creating dfc_sftp-server2 ... Creating dfc_sftp-server1 ... Creating dfc_sftp-server0 ... Creating dfc_ftpes-server-vsftpd4 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server1 ... done Creating dfc_sftp-server3 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_sftp-server4 ... done Creating dfc_http-https-server3 ... done Creating dfc_http-https-server2 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_dr-redir-sim ... done Creating dfc_sftp-server0 ... done Creating dfc_sftp-server2 ... done Creating dfc_http-https-server0 ... done Creating dfc_http-https-server4 ... done Creating dfc_http-https-server1 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_dr-sim ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_mr-sim ... done Creating dfc_ftpes-server-vsftpd1 ... done ++ id -u ++ id -g + sudo chown 1001:1001 dfc_configs + declare -a SFTP_SIM + declare -a FTPES_SIM + declare -a HTTP_SIM ++ docker ps -q --filter=name=dfc_dr-sim + DR_SIM=f20393ce5c84 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=4fbd42189816 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=bc7b5a3d0f27 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=67a60f5bf248 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=2c8d3caec5e8 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=885f0fdd393a ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=e5908cc9a539 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=4b00cd4d0df7 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=c6101d8754d9 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=dd61050cc171 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=f5eeca1f23e6 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=53ef2992a663 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=61f1a450f53b ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=2e5ddd7b7bd1 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=7990c30895a0 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=bd91bf43b965 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=1dd75dc440f2 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=9b5c87f9cf32 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' f20393ce5c84 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4fbd42189816 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' bc7b5a3d0f27 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 67a60f5bf248 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2c8d3caec5e8 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 885f0fdd393a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e5908cc9a539 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4b00cd4d0df7 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c6101d8754d9 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' dd61050cc171 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f5eeca1f23e6 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 53ef2992a663 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 61f1a450f53b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2e5ddd7b7bd1 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7990c30895a0 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' bd91bf43b965 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1dd75dc440f2 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9b5c87f9cf32 + '[' true ']' + echo 'All simulators Started' + break + '[' -z '' ']' + BASIC_AUTH_LOGIN=demo + '[' -z '' ']' + BASIC_AUTH_PASSWORD='demo123456!' + server_check 'DR sim ' 3906 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3906/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim ' on localhost:3906/ responded ok' + return + server_check 'DR redir sim ' 3908 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3908/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim ' on localhost:3908/ responded ok' + return + server_check 'MR sim ' 2222 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:2222/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim ' on localhost:2222/ responded ok' + return + server_check_https 'DR sim https ' 3907 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3907/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim https ' on https://localhost:3907/ responded ok' + return + server_check_https 'DR redir sim https' 3909 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3909/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim https ' on https://localhost:3909/ responded ok' + return + server_check_https 'MR sim https ' 2223 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:2223/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim https ' on https://localhost:2223/ responded ok' + return + ftpes_server_check 'FTPES server 0' 1032 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1032 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 0 ' on localhost:1032 responded ok' + return + ftpes_server_check 'FTPES server 1' 1033 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1033 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 1 ' on localhost:1033 responded ok' + return + ftpes_server_check 'FTPES server 2' 1034 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1034 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 2 ' on localhost:1034 responded ok' + return + ftpes_server_check 'FTPES server 3' 1035 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1035 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 3 ' on localhost:1035 responded ok' + return + ftpes_server_check 'FTPES server 4' 1036 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1036 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 4 ' on localhost:1036 responded ok' + return + sftp_server_check 'SFTP server 0' 1022 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1022 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 0 ' on localhost:1022 responded ok' + return + sftp_server_check 'SFTP server 1' 1023 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1023 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 1 ' on localhost:1023 responded ok' + return + sftp_server_check 'SFTP server 2' 1024 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1024 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 2 ' on localhost:1024 responded ok' + return + sftp_server_check 'SFTP server 3' 1025 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1025 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 3 ' on localhost:1025 responded ok' + return + sftp_server_check 'SFTP server 4' 1026 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1026 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 4 ' on localhost:1026 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 0' 81 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:81' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 0' ' on localhost: 81 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 1' 82 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:82' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 1' ' on localhost: 82 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 2' 83 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:83' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 2' ' on localhost: 83 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 3' 84 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:84' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 3' ' on localhost: 84 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 4' 85 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:85' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 4' ' on localhost: 85 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 0' 32001 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32001 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 0 ' on localhost:32001 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 1' 32002 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32002 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 1 ' on localhost:32002 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 2' 32003 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32003 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 2 ' on localhost:32003 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 3' 32004 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32004 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 3 ' on localhost:32004 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 4' 32005 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32005 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 4 ' on localhost:32005 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 0' 444 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:444' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 0' ' on localhost: 444 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 1' 445 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:445' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 1' ' on localhost: 445 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 2' 446 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:446' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 2' ' on localhost: 446 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 3' 447 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:447' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 3' ' on localhost: 447 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 4' 448 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:448' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 4' ' on localhost: 448 responded ok' + return + http_https_server_check 'HTTPS client certificate authentication server 0' 444 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 0 ' on localhost:444 - no response' + http_https_server_check 'HTTPS client certificate authentication server 1' 445 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 1 ' on localhost:445 - no response' + http_https_server_check 'HTTPS client certificate authentication server 2' 446 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 2 ' on localhost:446 - no response' + http_https_server_check 'HTTPS client certificate authentication server 3' 447 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 3 ' on localhost:447 - no response' + http_https_server_check 'HTTPS client certificate authentication server 4' 448 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 4 ' on localhost:448 - no response' + http_https_server_check 'HTTPS no auth server 0' 8081 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8081 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 0 ' on localhost:8081 responded ok' + return + http_https_server_check 'HTTPS no auth server 1' 8082 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8082 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 1 ' on localhost:8082 responded ok' + return + http_https_server_check 'HTTPS no auth server 2' 8083 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8083 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 2 ' on localhost:8083 responded ok' + return + http_https_server_check 'HTTPS no auth server 3' 8084 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8084 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 3 ' on localhost:8084 responded ok' + return + http_https_server_check 'HTTPS no auth server 4' 8085 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8085 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 4 ' on localhost:8085 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 0' 32101 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32101 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 0 ' on localhost:32101 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 1' 32102 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32102 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 1 ' on localhost:32102 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 2' 32103 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32103 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 2 ' on localhost:32103 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 3' 32104 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32104 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 3 ' on localhost:32104 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 4' 32105 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32105 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 4 ' on localhost:32105 responded ok' + return + echo '' + '[' -z 1 ']' + '[' -z 1 ']' + '[' -z 1MB ']' + '[' -z SFTP ']' + '[' -z A ']' + '[' SFTP = ALL ']' + '[' SFTP = SFTP ']' + echo 'Creating files for SFTP server, may take time....' + p=0 + '[' 0 -lt 1 ']' + docker cp setup-ftp-files-for-image.sh 67a60f5bf248:/tmp/ + docker exec -w //home/onap/ 67a60f5bf248 //tmp/setup-ftp-files-for-image.sh 1 1 1MB A 1 0 + let p=p+1 + '[' 1 -lt 1 ']' + '[' SFTP = ALL ']' + '[' SFTP = FTPES ']' + '[' -z 1 ']' + '[' -z HTTP ']' + '[' -z A ']' + '[' HTTP = ALL ']' + '[' HTTP = HTTP ']' + echo 'Creating files for HTTP server, may take time....' + p=0 + '[' 0 -lt 1 ']' + docker cp setup-http-files-for-image.sh 2e5ddd7b7bd1:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 2e5ddd7b7bd1 //tmp/setup-http-files-for-image.sh 1 1 1MB A 1 0 + let p=p+1 + '[' 1 -lt 1 ']' + echo 'Done: All simulators started and configured' APP configuration: dmaap.certificateConfig.keyCert: /opt/app/datafile/etc/cert/cert.jks dmaap.certificateConfig.keyPasswordPath: /opt/app/datafile/etc/cert/jks.pass dmaap.certificateConfig.trustedCa: /opt/app/datafile/etc/cert/trust.jks dmaap.certificateConfig.trustedCaPasswordPath: /opt/app/datafile/etc/cert/trust.pass dmaap.security.trustStorePath: /opt/app/datafile/etc/cert/trust.jks dmaap.security.trustStorePasswordPath: /opt/app/datafile/etc/cert/trust.pass dmaap.security.keyStorePath: /opt/app/datafile/etc/cert/cert.jks dmaap.security.keyStorePasswordPath: /opt/app/datafile/etc/cert/jks.pass dmaap.security.enableDmaapCertAuth: "false" dmaap.dmaapConsumerConfiguration.consumerGroup: OpenDcae-c12 dmaap.dmaapConsumerConfiguration.consumerId: C12 dmaap.dmaapConsumerConfiguration.timeoutMs: -1 sftp.security.strictHostKeyChecking: "true" streams_publishes: PM_MEAS_FILES: type: data_router dmaap_info: username: user log_url: https://drsim:3907/feedlog/2 publish_url: https://drsim:3907/publish/2 location: loc00 password: password publisher_id: 972.360gm streams_subscribes: dmaap_subscriber: dmaap_info: topic_url: http://mrsim:2222/events/unauthenticated.VES_NOTIFICATION_OUTPUT type: message_router Dfc-start: Creating docker network dfcnet, if needed sleep 1 sleep 2 sleep 3 sleep 4 sleep 5 sleep 6 sleep 7 sleep 8 sleep 9 sleep 10 + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + docker-compose up -d Pulling dfc (nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest)... manifest for nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest not found: manifest unknown: manifest unknown ++ docker ps -q --filter=name=dfc_app0 + DFC_APP= + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 1 + sleep 1 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 2 + sleep 2 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 3 + sleep 3 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 4 + sleep 4 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 5 + sleep 5 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 6 + sleep 6 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 7 + sleep 7 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 8 + sleep 8 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 9 + sleep 9 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 10 + sleep 10 Configured sftp sims: sftp-server0:22 Configured ftpes sims: ftpes-server-vsftpd0:21 Configured http sims: http-https-server0:80 Configured http JWT sims: http-https-server0:32000 Configured https sims: http-https-server0:443 Configured https with no authorization sims: http-https-server0:8080 Configured https JWT sims: http-https-server0:32100 Configured number of ftp servers: 1 Configured number of http/https/https with no auth/JWT servers: 1 each Groups detected: OpenDcae-c12:PM_MEAS_FILES Configured groups: OpenDcae-c12:PM_MEAS_FILES Configured changeid to file prefix mapping: PM_MEAS_FILES:A TC num: TC# 100 Using sftp-server0:22 for sftp server with index 0 for sftp server address and port in file urls. Using ftpes-server-vsftpd0:21 for ftpes server with index 0 for ftpes server address and port in file urls. Using http-https-server0:80 for http server with index 0 for http server address and port in file urls. Using http-https-server0:32000 for http jwt server with index 0 for http jwt server address and port in file urls. Using http-https-server0:443 for https server with index 0 for https server address and port in file urls. Using http-https-server0:8080 for https server with no authentication with index 0 for https server address and port in file urls. Using http-https-server0:32100 for https jwt server with index 0 for https jwt server address and port in file urls. Using up to 1 ftp servers, for each protocol for PNFs. Using up to 1 http/https/https with no auth/jwt servers, for each protocol for PNFs. * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off Killing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 Removing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 done * Running on http://0.0.0.0:2222/ (Press CTRL+C to quit) * Running on https://0.0.0.0:2223/ (Press CTRL+C to quit) 172.17.0.1 - - [16/Nov/2023 17:31:09] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:31:09] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:32:02] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:32:59] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:33:09] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:33:19] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:33:29] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:33:39] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:33:49] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:33:59] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ Verify single event with SFTP file, when host unknown and strict h... Simulator-start: Creating docker network dfcnet, if needed All simulators Started Simulator DR sim on localhost:3906/ responded ok Simulator DR redir sim on localhost:3908/ responded ok Simulator MR sim on localhost:2222/ responded ok Simulator DR sim https on https://localhost:3907/ responded ok Simulator DR redir sim https on https://localhost:3909/ responded ok Simulator MR sim https on https://localhost:2223/ responded ok Simulator FTPES server 0 on localhost:1032 responded ok Simulator FTPES server 1 on localhost:1033 responded ok Simulator FTPES server 2 on localhost:1034 responded ok Simulator FTPES server 3 on localhost:1035 responded ok Simulator FTPES server 4 on localhost:1036 responded ok Simulator SFTP server 0 on localhost:1022 responded ok Simulator SFTP server 1 on localhost:1023 responded ok Simulator SFTP server 2 on localhost:1024 responded ok Simulator SFTP server 3 on localhost:1025 responded ok Simulator SFTP server 4 on localhost:1026 responded ok Simulator HTTP basic auth server 0 on localhost: 81 responded ok Simulator HTTP basic auth server 1 on localhost: 82 responded ok Simulator HTTP basic auth server 2 on localhost: 83 responded ok Simulator HTTP basic auth server 3 on localhost: 84 responded ok Simulator HTTP basic auth server 4 on localhost: 85 responded ok Simulator HTTP JWT server 0 on localhost:32001 responded ok Simulator HTTP JWT server 1 on localhost:32002 responded ok Simulator HTTP JWT server 2 on localhost:32003 responded ok Simulator HTTP JWT server 3 on localhost:32004 responded ok Simulator HTTP JWT server 4 on localhost:32005 responded ok Simulator HTTPS basic auth server 0 on localhost: 444 responded ok Simulator HTTPS basic auth server 1 on localhost: 445 responded ok Simulator HTTPS basic auth server 2 on localhost: 446 responded ok Simulator HTTPS basic auth server 3 on localhost: 447 responded ok Simulator HTTPS basic auth server 4 on localhost: 448 responded ok Simulator HTTPS client certificate authentication server 0 on localhost:444 - no response Simulator HTTPS client certificate authentication server 1 on localhost:445 - no response Simulator HTTPS client certificate authentication server 2 on localhost:446 - no response Simulator HTTPS client certificate authentication server 3 on localhost:447 - no response Simulator HTTPS client certificate authentication server 4 on localhost:448 - no response Simulator HTTPS no auth server 0 on localhost:8081 responded ok Simulator HTTPS no auth server 1 on localhost:8082 responded ok Simulator HTTPS no auth server 2 on localhost:8083 responded ok Simulator HTTPS no auth server 3 on localhost:8084 responded ok Simulator HTTPS no auth server 4 on localhost:8085 responded ok Simulator HTTPS JWT server 0 on localhost:32101 responded ok Simulator HTTPS JWT server 1 on localhost:32102 responded ok Simulator HTTPS JWT server 2 on localhost:32103 responded ok Simulator HTTPS JWT server 3 on localhost:32104 responded ok Simulator HTTPS JWT server 4 on localhost:32105 responded ok Creating files for SFTP server, may take time.... Running ftp file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in ftp servers with index 0 Creating files for HTTP server, may take time.... Running http file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in http servers with index 0 Done: All simulators started and configured + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Creating dfc_http-https-server2 ... Creating dfc_http-https-server3 ... Creating dfc_sftp-server1 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_sftp-server0 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_sftp-server4 ... Creating dfc_dr-redir-sim ... Creating dfc_mr-sim ... Creating dfc_sftp-server3 ... Creating dfc_dr-sim ... Creating dfc_sftp-server2 ... Creating dfc_http-https-server1 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_http-https-server4 ... Creating dfc_http-https-server0 ... Creating dfc_ftpes-server-vsftpd0 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_http-https-server4 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_sftp-server3 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_http-https-server2 ... done Creating dfc_mr-sim ... done Creating dfc_sftp-server4 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_http-https-server1 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_dr-sim ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_sftp-server2 ... done Creating dfc_dr-redir-sim ... done Creating dfc_http-https-server0 ... done Creating dfc_http-https-server3 ... done Creating dfc_sftp-server0 ... done Creating dfc_sftp-server1 ... done ++ id -u ++ id -g + sudo chown 1001:1001 dfc_configs + declare -a SFTP_SIM + declare -a FTPES_SIM + declare -a HTTP_SIM ++ docker ps -q --filter=name=dfc_dr-sim + DR_SIM=f085cdac5036 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=f6b092bcea0e ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=c9631b7a28ee ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=0d435fa5ca9b ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=6dc012cbc896 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=a2b621251292 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=7b853bed48d2 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=47df112aeba9 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=f66adf33bcbe ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=55fb3ebac60a ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=6e05077b047e ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=97c62a220dc6 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=b520e754ca23 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=cae6d875e6cc ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=e0dc12b1c57b ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=5e1fc8455d65 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=9d1c4ebf8f59 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=2bfafc2f95b4 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' f085cdac5036 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f6b092bcea0e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c9631b7a28ee + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 0d435fa5ca9b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6dc012cbc896 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a2b621251292 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7b853bed48d2 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 47df112aeba9 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f66adf33bcbe + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 55fb3ebac60a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6e05077b047e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 97c62a220dc6 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b520e754ca23 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' cae6d875e6cc + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e0dc12b1c57b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5e1fc8455d65 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9d1c4ebf8f59 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2bfafc2f95b4 + '[' true ']' + echo 'All simulators Started' + break + '[' -z '' ']' + BASIC_AUTH_LOGIN=demo + '[' -z '' ']' + BASIC_AUTH_PASSWORD='demo123456!' + server_check 'DR sim ' 3906 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3906/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim ' on localhost:3906/ responded ok' + return + server_check 'DR redir sim ' 3908 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3908/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim ' on localhost:3908/ responded ok' + return + server_check 'MR sim ' 2222 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:2222/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim ' on localhost:2222/ responded ok' + return + server_check_https 'DR sim https ' 3907 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3907/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim https ' on https://localhost:3907/ responded ok' + return + server_check_https 'DR redir sim https' 3909 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3909/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim https ' on https://localhost:3909/ responded ok' + return + server_check_https 'MR sim https ' 2223 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:2223/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim https ' on https://localhost:2223/ responded ok' + return + ftpes_server_check 'FTPES server 0' 1032 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1032 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 0 ' on localhost:1032 responded ok' + return + ftpes_server_check 'FTPES server 1' 1033 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1033 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 1 ' on localhost:1033 responded ok' + return + ftpes_server_check 'FTPES server 2' 1034 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1034 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 2 ' on localhost:1034 responded ok' + return + ftpes_server_check 'FTPES server 3' 1035 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1035 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 3 ' on localhost:1035 responded ok' + return + ftpes_server_check 'FTPES server 4' 1036 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1036 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 4 ' on localhost:1036 responded ok' + return + sftp_server_check 'SFTP server 0' 1022 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1022 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 0 ' on localhost:1022 responded ok' + return + sftp_server_check 'SFTP server 1' 1023 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1023 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 1 ' on localhost:1023 responded ok' + return + sftp_server_check 'SFTP server 2' 1024 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1024 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 2 ' on localhost:1024 responded ok' + return + sftp_server_check 'SFTP server 3' 1025 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1025 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 3 ' on localhost:1025 responded ok' + return + sftp_server_check 'SFTP server 4' 1026 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1026 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 4 ' on localhost:1026 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 0' 81 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:81' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 0' ' on localhost: 81 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 1' 82 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:82' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 1' ' on localhost: 82 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 2' 83 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:83' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 2' ' on localhost: 83 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 3' 84 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:84' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 3' ' on localhost: 84 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 4' 85 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:85' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 4' ' on localhost: 85 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 0' 32001 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32001 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 0 ' on localhost:32001 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 1' 32002 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32002 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 1 ' on localhost:32002 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 2' 32003 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32003 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 2 ' on localhost:32003 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 3' 32004 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32004 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 3 ' on localhost:32004 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 4' 32005 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32005 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 4 ' on localhost:32005 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 0' 444 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:444' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 0' ' on localhost: 444 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 1' 445 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:445' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 1' ' on localhost: 445 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 2' 446 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:446' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 2' ' on localhost: 446 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 3' 447 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:447' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 3' ' on localhost: 447 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 4' 448 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:448' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 4' ' on localhost: 448 responded ok' + return + http_https_server_check 'HTTPS client certificate authentication server 0' 444 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 0 ' on localhost:444 - no response' + http_https_server_check 'HTTPS client certificate authentication server 1' 445 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 1 ' on localhost:445 - no response' + http_https_server_check 'HTTPS client certificate authentication server 2' 446 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 2 ' on localhost:446 - no response' + http_https_server_check 'HTTPS client certificate authentication server 3' 447 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 3 ' on localhost:447 - no response' + http_https_server_check 'HTTPS client certificate authentication server 4' 448 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 4 ' on localhost:448 - no response' + http_https_server_check 'HTTPS no auth server 0' 8081 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8081 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 0 ' on localhost:8081 responded ok' + return + http_https_server_check 'HTTPS no auth server 1' 8082 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8082 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 1 ' on localhost:8082 responded ok' + return + http_https_server_check 'HTTPS no auth server 2' 8083 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8083 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 2 ' on localhost:8083 responded ok' + return + http_https_server_check 'HTTPS no auth server 3' 8084 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8084 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 3 ' on localhost:8084 responded ok' + return + http_https_server_check 'HTTPS no auth server 4' 8085 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8085 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 4 ' on localhost:8085 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 0' 32101 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32101 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 0 ' on localhost:32101 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 1' 32102 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32102 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 1 ' on localhost:32102 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 2' 32103 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32103 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 2 ' on localhost:32103 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 3' 32104 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32104 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 3 ' on localhost:32104 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 4' 32105 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32105 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 4 ' on localhost:32105 responded ok' + return + echo '' + '[' -z 1 ']' + '[' -z 1 ']' + '[' -z 1MB ']' + '[' -z SFTP ']' + '[' -z A ']' + '[' SFTP = ALL ']' + '[' SFTP = SFTP ']' + echo 'Creating files for SFTP server, may take time....' + p=0 + '[' 0 -lt 1 ']' + docker cp setup-ftp-files-for-image.sh 0d435fa5ca9b:/tmp/ + docker exec -w //home/onap/ 0d435fa5ca9b //tmp/setup-ftp-files-for-image.sh 1 1 1MB A 1 0 + let p=p+1 + '[' 1 -lt 1 ']' + '[' SFTP = ALL ']' + '[' SFTP = FTPES ']' + '[' -z 1 ']' + '[' -z HTTP ']' + '[' -z A ']' + '[' HTTP = ALL ']' + '[' HTTP = HTTP ']' + echo 'Creating files for HTTP server, may take time....' + p=0 + '[' 0 -lt 1 ']' + docker cp setup-http-files-for-image.sh cae6d875e6cc:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs cae6d875e6cc //tmp/setup-http-files-for-image.sh 1 1 1MB A 1 0 + let p=p+1 + '[' 1 -lt 1 ']' + echo 'Done: All simulators started and configured' APP configuration: dmaap.certificateConfig.keyCert: /opt/app/datafile/etc/cert/cert.jks dmaap.certificateConfig.keyPasswordPath: /opt/app/datafile/etc/cert/jks.pass dmaap.certificateConfig.trustedCa: /opt/app/datafile/etc/cert/trust.jks dmaap.certificateConfig.trustedCaPasswordPath: /opt/app/datafile/etc/cert/trust.pass dmaap.security.trustStorePath: /opt/app/datafile/etc/cert/trust.jks dmaap.security.trustStorePasswordPath: /opt/app/datafile/etc/cert/trust.pass dmaap.security.keyStorePath: /opt/app/datafile/etc/cert/cert.jks dmaap.security.keyStorePasswordPath: /opt/app/datafile/etc/cert/jks.pass dmaap.security.enableDmaapCertAuth: "false" dmaap.dmaapConsumerConfiguration.consumerGroup: OpenDcae-c12 dmaap.dmaapConsumerConfiguration.consumerId: C12 dmaap.dmaapConsumerConfiguration.timeoutMs: -1 sftp.security.strictHostKeyChecking: "true" streams_publishes: PM_MEAS_FILES: type: data_router dmaap_info: username: user log_url: https://drsim:3907/feedlog/2 publish_url: https://drsim:3907/publish/2 location: loc00 password: password publisher_id: 972.360gm streams_subscribes: dmaap_subscriber: dmaap_info: topic_url: http://mrsim:2222/events/unauthenticated.VES_NOTIFICATION_OUTPUT type: message_router Dfc-start: Creating docker network dfcnet, if needed sleep 1 sleep 2 sleep 3 sleep 4 sleep 5 sleep 6 sleep 7 sleep 8 sleep 9 sleep 10 + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + docker-compose up -d Pulling dfc (nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest)... manifest for nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest not found: manifest unknown: manifest unknown ++ docker ps -q --filter=name=dfc_app0 + DFC_APP= + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 1 + sleep 1 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 2 + sleep 2 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 3 + sleep 3 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 4 + sleep 4 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 5 + sleep 5 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 6 + sleep 6 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 7 + sleep 7 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 8 + sleep 8 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 9 + sleep 9 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 10 + sleep 10 Configured sftp sims: sftp-server0:22 Configured ftpes sims: ftpes-server-vsftpd0:21 Configured http sims: http-https-server0:80 Configured http JWT sims: http-https-server0:32000 Configured https sims: http-https-server0:443 Configured https with no authorization sims: http-https-server0:8080 Configured https JWT sims: http-https-server0:32100 Configured number of ftp servers: 1 Configured number of http/https/https with no auth/JWT servers: 1 each Groups detected: OpenDcae-c12:PM_MEAS_FILES Configured groups: OpenDcae-c12:PM_MEAS_FILES Configured changeid to file prefix mapping: PM_MEAS_FILES:A TC num: TC# 100 Using sftp-server0:22 for sftp server with index 0 for sftp server address and port in file urls. Using ftpes-server-vsftpd0:21 for ftpes server with index 0 for ftpes server address and port in file urls. Using http-https-server0:80 for http server with index 0 for http server address and port in file urls. Using http-https-server0:32000 for http jwt server with index 0 for http jwt server address and port in file urls. Using http-https-server0:443 for https server with index 0 for https server address and port in file urls. Using http-https-server0:8080 for https server with no authentication with index 0 for https server address and port in file urls. Using http-https-server0:32100 for https jwt server with index 0 for https jwt server address and port in file urls. Using up to 1 ftp servers, for each protocol for PNFs. Using up to 1 http/https/https with no auth/jwt servers, for each protocol for PNFs. * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off Killing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 Removing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 done * Running on http://0.0.0.0:2222/ (Press CTRL+C to quit) * Running on https://0.0.0.0:2223/ (Press CTRL+C to quit) 172.17.0.1 - - [16/Nov/2023 17:34:24] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:34:24] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:35:17] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:36:13] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:36:23] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:36:34] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:36:44] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:36:54] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:37:04] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:37:14] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ plans/dcaegen2-collectors-datafile/Functional-suite.Strict-Host-Ch... | FAIL | 4 tests, 0 passed, 4 failed ============================================================================== plans/dcaegen2-collectors-datafile/Functional-suite.Strict-Host-Ch... | FAIL | 4 tests, 0 passed, 4 failed ============================================================================== plans/dcaegen2-collectors-datafile/Functional-suite.HTTP-Various-Connection... ============================================================================== plans/dcaegen2-collectors-datafile/Functional-suite.HTTP-Various-Connection... ============================================================================== Verify single event with single 1MB file with HTTPS connection (ba... Simulator-start: Creating docker network dfcnet, if needed All simulators Started Simulator DR sim on localhost:3906/ responded ok Simulator DR redir sim on localhost:3908/ responded ok Simulator MR sim on localhost:2222/ responded ok Simulator DR sim https on https://localhost:3907/ responded ok Simulator DR redir sim https on https://localhost:3909/ responded ok Simulator MR sim https on https://localhost:2223/ responded ok Simulator FTPES server 0 on localhost:1032 responded ok Simulator FTPES server 1 on localhost:1033 responded ok Simulator FTPES server 2 on localhost:1034 responded ok Simulator FTPES server 3 on localhost:1035 responded ok Simulator FTPES server 4 on localhost:1036 responded ok Simulator SFTP server 0 on localhost:1022 responded ok Simulator SFTP server 1 on localhost:1023 responded ok Simulator SFTP server 2 on localhost:1024 responded ok Simulator SFTP server 3 on localhost:1025 responded ok Simulator SFTP server 4 on localhost:1026 responded ok Simulator HTTP basic auth server 0 on localhost: 81 responded ok Simulator HTTP basic auth server 1 on localhost: 82 responded ok Simulator HTTP basic auth server 2 on localhost: 83 responded ok Simulator HTTP basic auth server 3 on localhost: 84 responded ok Simulator HTTP basic auth server 4 on localhost: 85 responded ok Simulator HTTP JWT server 0 on localhost:32001 responded ok Simulator HTTP JWT server 1 on localhost:32002 responded ok Simulator HTTP JWT server 2 on localhost:32003 responded ok Simulator HTTP JWT server 3 on localhost:32004 responded ok Simulator HTTP JWT server 4 on localhost:32005 responded ok Simulator HTTPS basic auth server 0 on localhost: 444 responded ok Simulator HTTPS basic auth server 1 on localhost: 445 responded ok Simulator HTTPS basic auth server 2 on localhost: 446 responded ok Simulator HTTPS basic auth server 3 on localhost: 447 responded ok Simulator HTTPS basic auth server 4 on localhost: 448 responded ok Simulator HTTPS client certificate authentication server 0 on localhost:444 - no response Simulator HTTPS client certificate authentication server 1 on localhost:445 - no response Simulator HTTPS client certificate authentication server 2 on localhost:446 - no response Simulator HTTPS client certificate authentication server 3 on localhost:447 - no response Simulator HTTPS client certificate authentication server 4 on localhost:448 - no response Simulator HTTPS no auth server 0 on localhost:8081 responded ok Simulator HTTPS no auth server 1 on localhost:8082 responded ok Simulator HTTPS no auth server 2 on localhost:8083 responded ok Simulator HTTPS no auth server 3 on localhost:8084 responded ok Simulator HTTPS no auth server 4 on localhost:8085 responded ok Simulator HTTPS JWT server 0 on localhost:32101 responded ok Simulator HTTPS JWT server 1 on localhost:32102 responded ok Simulator HTTPS JWT server 2 on localhost:32103 responded ok Simulator HTTPS JWT server 3 on localhost:32104 responded ok Simulator HTTPS JWT server 4 on localhost:32105 responded ok Creating files for SFTP server, may take time.... Running ftp file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in ftp servers with index 0 Creating files for HTTP server, may take time.... Running http file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in http servers with index 0 Done: All simulators started and configured + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Starting dfc_cmpv2-postprocessor ... Creating dfc_http-https-server4 ... Creating dfc_sftp-server0 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_dr-redir-sim ... Creating dfc_http-https-server2 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_sftp-server3 ... Creating dfc_http-https-server3 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_dr-sim ... Creating dfc_http-https-server1 ... Creating dfc_http-https-server0 ... Creating dfc_sftp-server1 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_sftp-server2 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_mr-sim ... Creating dfc_sftp-server4 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server0 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_sftp-server2 ... done Creating dfc_sftp-server1 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_sftp-server4 ... done Creating dfc_sftp-server3 ... done Creating dfc_dr-redir-sim ... done Creating dfc_mr-sim ... done Creating dfc_dr-sim ... done Creating dfc_http-https-server0 ... done Creating dfc_http-https-server3 ... done Creating dfc_http-https-server2 ... done Creating dfc_http-https-server4 ... done Creating dfc_http-https-server1 ... done ++ id -u ++ id -g + sudo chown 1001:1001 dfc_configs + declare -a SFTP_SIM + declare -a FTPES_SIM + declare -a HTTP_SIM ++ docker ps -q --filter=name=dfc_dr-sim + DR_SIM=42e7a31dd96e ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=6906654c68ce ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=1a5e558dba1e ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=d9b4a8105751 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=4e11b4dfdff9 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=89a662ac70bc ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=b4581cf3189e ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=5adc76326160 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=adc94c830fdd ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=2512105f48a7 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=6ced6e598dad ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=8b814d6be0bf ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=3727044cba3c ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=08e54cd513c8 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=1e7cc79e2569 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=c2fa3720020d ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=323f8781c5e6 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=69c2d6dfee1b + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 42e7a31dd96e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6906654c68ce + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1a5e558dba1e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d9b4a8105751 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4e11b4dfdff9 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 89a662ac70bc + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b4581cf3189e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5adc76326160 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' adc94c830fdd + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2512105f48a7 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6ced6e598dad + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8b814d6be0bf + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 3727044cba3c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 08e54cd513c8 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1e7cc79e2569 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c2fa3720020d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 323f8781c5e6 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 69c2d6dfee1b + '[' true ']' + echo 'All simulators Started' + break + '[' -z '' ']' + BASIC_AUTH_LOGIN=demo + '[' -z '' ']' + BASIC_AUTH_PASSWORD='demo123456!' + server_check 'DR sim ' 3906 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3906/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim ' on localhost:3906/ responded ok' + return + server_check 'DR redir sim ' 3908 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3908/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim ' on localhost:3908/ responded ok' + return + server_check 'MR sim ' 2222 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:2222/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim ' on localhost:2222/ responded ok' + return + server_check_https 'DR sim https ' 3907 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3907/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim https ' on https://localhost:3907/ responded ok' + return + server_check_https 'DR redir sim https' 3909 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3909/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim https ' on https://localhost:3909/ responded ok' + return + server_check_https 'MR sim https ' 2223 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:2223/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim https ' on https://localhost:2223/ responded ok' + return + ftpes_server_check 'FTPES server 0' 1032 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1032 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 0 ' on localhost:1032 responded ok' + return + ftpes_server_check 'FTPES server 1' 1033 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1033 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 1 ' on localhost:1033 responded ok' + return + ftpes_server_check 'FTPES server 2' 1034 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1034 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 2 ' on localhost:1034 responded ok' + return + ftpes_server_check 'FTPES server 3' 1035 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1035 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 3 ' on localhost:1035 responded ok' + return + ftpes_server_check 'FTPES server 4' 1036 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1036 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 4 ' on localhost:1036 responded ok' + return + sftp_server_check 'SFTP server 0' 1022 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1022 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 0 ' on localhost:1022 responded ok' + return + sftp_server_check 'SFTP server 1' 1023 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1023 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 1 ' on localhost:1023 responded ok' + return + sftp_server_check 'SFTP server 2' 1024 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1024 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 2 ' on localhost:1024 responded ok' + return + sftp_server_check 'SFTP server 3' 1025 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1025 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 3 ' on localhost:1025 responded ok' + return + sftp_server_check 'SFTP server 4' 1026 + for i in {1..10} ++ grep OpenSSH ++ curl --silent --max-time 3 localhost:1026 + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 4 ' on localhost:1026 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 0' 81 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:81' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 0' ' on localhost: 81 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 1' 82 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:82' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 1' ' on localhost: 82 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 2' 83 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:83' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 2' ' on localhost: 83 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 3' 84 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:84' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 3' ' on localhost: 84 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 4' 85 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:85' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 4' ' on localhost: 85 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 0' 32001 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32001 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 0 ' on localhost:32001 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 1' 32002 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32002 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 1 ' on localhost:32002 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 2' 32003 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32003 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 2 ' on localhost:32003 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 3' 32004 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32004 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 3 ' on localhost:32004 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 4' 32005 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32005 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 4 ' on localhost:32005 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 0' 444 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:444' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 0' ' on localhost: 444 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 1' 445 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:445' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 1' ' on localhost: 445 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 2' 446 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:446' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 2' ' on localhost: 446 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 3' 447 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:447' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 3' ' on localhost: 447 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 4' 448 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:448' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 4' ' on localhost: 448 responded ok' + return + http_https_server_check 'HTTPS client certificate authentication server 0' 444 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 0 ' on localhost:444 - no response' + http_https_server_check 'HTTPS client certificate authentication server 1' 445 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 1 ' on localhost:445 - no response' + http_https_server_check 'HTTPS client certificate authentication server 2' 446 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 2 ' on localhost:446 - no response' + http_https_server_check 'HTTPS client certificate authentication server 3' 447 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 3 ' on localhost:447 - no response' + http_https_server_check 'HTTPS client certificate authentication server 4' 448 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 4 ' on localhost:448 - no response' + http_https_server_check 'HTTPS no auth server 0' 8081 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8081 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 0 ' on localhost:8081 responded ok' + return + http_https_server_check 'HTTPS no auth server 1' 8082 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8082 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 1 ' on localhost:8082 responded ok' + return + http_https_server_check 'HTTPS no auth server 2' 8083 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8083 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 2 ' on localhost:8083 responded ok' + return + http_https_server_check 'HTTPS no auth server 3' 8084 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8084 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 3 ' on localhost:8084 responded ok' + return + http_https_server_check 'HTTPS no auth server 4' 8085 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8085 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 4 ' on localhost:8085 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 0' 32101 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32101 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 0 ' on localhost:32101 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 1' 32102 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32102 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 1 ' on localhost:32102 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 2' 32103 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32103 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 2 ' on localhost:32103 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 3' 32104 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32104 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 3 ' on localhost:32104 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 4' 32105 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32105 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 4 ' on localhost:32105 responded ok' + return + echo '' + '[' -z 1 ']' + '[' -z 1 ']' + '[' -z 1MB ']' + '[' -z SFTP ']' + '[' -z A ']' + '[' SFTP = ALL ']' + '[' SFTP = SFTP ']' + echo 'Creating files for SFTP server, may take time....' + p=0 + '[' 0 -lt 1 ']' + docker cp setup-ftp-files-for-image.sh d9b4a8105751:/tmp/ + docker exec -w //home/onap/ d9b4a8105751 //tmp/setup-ftp-files-for-image.sh 1 1 1MB A 1 0 + let p=p+1 + '[' 1 -lt 1 ']' + '[' SFTP = ALL ']' + '[' SFTP = FTPES ']' + '[' -z 1 ']' + '[' -z HTTPS ']' + '[' -z A ']' + '[' HTTPS = ALL ']' + '[' HTTPS = HTTP ']' + '[' HTTPS = HTTPS ']' + echo 'Creating files for HTTP server, may take time....' + p=0 + '[' 0 -lt 1 ']' + docker cp setup-http-files-for-image.sh 08e54cd513c8:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 08e54cd513c8 //tmp/setup-http-files-for-image.sh 1 1 1MB A 1 0 + let p=p+1 + '[' 1 -lt 1 ']' + echo 'Done: All simulators started and configured' APP configuration: dmaap.certificateConfig.keyCert: /opt/app/datafile/etc/cert/cert.p12 dmaap.certificateConfig.keyPasswordPath: /opt/app/datafile/etc/cert/p12.pass dmaap.certificateConfig.trustedCa: /opt/app/datafile/etc/cert/trust.jks dmaap.certificateConfig.trustedCaPasswordPath: /opt/app/datafile/etc/cert/trust.pass dmaap.certificateConfig.httpsHostnameVerify: false dmaap.security.trustStorePath: /opt/app/datafile/etc/cert/trust.jks dmaap.security.trustStorePasswordPath: /opt/app/datafile/etc/cert/trust.pass dmaap.security.keyStorePath: /opt/app/datafile/etc/cert/cert.jks dmaap.security.keyStorePasswordPath: /opt/app/datafile/etc/cert/jks.pass dmaap.security.enableDmaapCertAuth: "false" dmaap.dmaapConsumerConfiguration.consumerGroup: OpenDcae-c12 dmaap.dmaapConsumerConfiguration.consumerId: C12 dmaap.dmaapConsumerConfiguration.timeoutMs: -1 sftp.security.strictHostKeyChecking: "true" streams_publishes: PM_MEAS_FILES: type: data_router dmaap_info: username: user log_url: https://drsim:3907/feedlog/2 publish_url: https://drsim:3907/publish/2 location: loc00 password: password publisher_id: 972.360gm streams_subscribes: dmaap_subscriber: dmaap_info: topic_url: http://mrsim:2222/events/unauthenticated.VES_NOTIFICATION_OUTPUT type: message_router Dfc-start: Creating docker network dfcnet, if needed sleep 1 sleep 2 sleep 3 sleep 4 sleep 5 sleep 6 sleep 7 sleep 8 sleep 9 sleep 10 + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + docker-compose up -d Pulling dfc (nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest)... manifest for nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest not found: manifest unknown: manifest unknown ++ docker ps -q --filter=name=dfc_app0 + DFC_APP= + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 1 + sleep 1 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 2 + sleep 2 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 3 + sleep 3 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 4 + sleep 4 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 5 + sleep 5 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 6 + sleep 6 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 7 + sleep 7 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 8 + sleep 8 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 9 + sleep 9 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 10 + sleep 10 Configured sftp sims: sftp-server0:22 Configured ftpes sims: ftpes-server-vsftpd0:21 Configured http sims: http-https-server0:80 Configured http JWT sims: http-https-server0:32000 Configured https sims: http-https-server0:443 Configured https with no authorization sims: http-https-server0:8080 Configured https JWT sims: http-https-server0:32100 Configured number of ftp servers: 1 Configured number of http/https/https with no auth/JWT servers: 1 each Groups detected: OpenDcae-c12:PM_MEAS_FILES Configured groups: OpenDcae-c12:PM_MEAS_FILES Configured changeid to file prefix mapping: PM_MEAS_FILES:A TC num: TC# 400 Using sftp-server0:22 for sftp server with index 0 for sftp server address and port in file urls. Using ftpes-server-vsftpd0:21 for ftpes server with index 0 for ftpes server address and port in file urls. Using http-https-server0:80 for http server with index 0 for http server address and port in file urls. Using http-https-server0:32000 for http jwt server with index 0 for http jwt server address and port in file urls. Using http-https-server0:443 for https server with index 0 for https server address and port in file urls. Using http-https-server0:8080 for https server with no authentication with index 0 for https server address and port in file urls. Using http-https-server0:32100 for https jwt server with index 0 for https jwt server address and port in file urls. Using up to 1 ftp servers, for each protocol for PNFs. Using up to 1 http/https/https with no auth/jwt servers, for each protocol for PNFs. * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off Killing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 Removing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 done * Running on http://0.0.0.0:2222/ (Press CTRL+C to quit) * Running on https://0.0.0.0:2223/ (Press CTRL+C to quit) 172.17.0.1 - - [16/Nov/2023 17:37:41] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:37:42] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:38:35] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:39:31] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:39:41] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:39:51] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:40:01] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:40:11] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:40:21] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:40:31] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: oom-certservice-post-processor Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ Verify single event with single 1MB file HTTPS connection (client ... Simulator-start: Creating docker network dfcnet, if needed All simulators Started Simulator DR sim on localhost:3906/ responded ok Simulator DR redir sim on localhost:3908/ responded ok Simulator MR sim on localhost:2222/ responded ok Simulator DR sim https on https://localhost:3907/ responded ok Simulator DR redir sim https on https://localhost:3909/ responded ok Simulator MR sim https on https://localhost:2223/ responded ok Simulator FTPES server 0 on localhost:1032 responded ok Simulator FTPES server 1 on localhost:1033 responded ok Simulator FTPES server 2 on localhost:1034 responded ok Simulator FTPES server 3 on localhost:1035 responded ok Simulator FTPES server 4 on localhost:1036 responded ok Simulator SFTP server 0 on localhost:1022 responded ok Simulator SFTP server 1 on localhost:1023 responded ok Simulator SFTP server 2 on localhost:1024 responded ok Simulator SFTP server 3 on localhost:1025 responded ok Simulator SFTP server 4 on localhost:1026 responded ok Simulator HTTP basic auth server 0 on localhost: 81 responded ok Simulator HTTP basic auth server 1 on localhost: 82 responded ok Simulator HTTP basic auth server 2 on localhost: 83 responded ok Simulator HTTP basic auth server 3 on localhost: 84 responded ok Simulator HTTP basic auth server 4 on localhost: 85 responded ok Simulator HTTP JWT server 0 on localhost:32001 responded ok Simulator HTTP JWT server 1 on localhost:32002 responded ok Simulator HTTP JWT server 2 on localhost:32003 responded ok Simulator HTTP JWT server 3 on localhost:32004 responded ok Simulator HTTP JWT server 4 on localhost:32005 responded ok Simulator HTTPS basic auth server 0 on localhost: 444 responded ok Simulator HTTPS basic auth server 1 on localhost: 445 responded ok Simulator HTTPS basic auth server 2 on localhost: 446 responded ok Simulator HTTPS basic auth server 3 on localhost: 447 responded ok Simulator HTTPS basic auth server 4 on localhost: 448 responded ok Simulator HTTPS client certificate authentication server 0 on localhost:444 - no response Simulator HTTPS client certificate authentication server 1 on localhost:445 - no response Simulator HTTPS client certificate authentication server 2 on localhost:446 - no response Simulator HTTPS client certificate authentication server 3 on localhost:447 - no response Simulator HTTPS client certificate authentication server 4 on localhost:448 - no response Simulator HTTPS no auth server 0 on localhost:8081 responded ok Simulator HTTPS no auth server 1 on localhost:8082 responded ok Simulator HTTPS no auth server 2 on localhost:8083 responded ok Simulator HTTPS no auth server 3 on localhost:8084 responded ok Simulator HTTPS no auth server 4 on localhost:8085 responded ok Simulator HTTPS JWT server 0 on localhost:32101 responded ok Simulator HTTPS JWT server 1 on localhost:32102 responded ok Simulator HTTPS JWT server 2 on localhost:32103 responded ok Simulator HTTPS JWT server 3 on localhost:32104 responded ok Simulator HTTPS JWT server 4 on localhost:32105 responded ok Creating files for SFTP server, may take time.... Running ftp file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in ftp servers with index 0 Creating files for HTTP server, may take time.... Running http file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in http servers with index 0 Done: All simulators started and configured + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Creating dfc_mr-sim ... Creating dfc_http-https-server1 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_sftp-server2 ... Creating dfc_sftp-server1 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_sftp-server0 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_http-https-server2 ... Creating dfc_dr-sim ... Creating dfc_sftp-server4 ... Creating dfc_http-https-server0 ... Creating dfc_sftp-server3 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_http-https-server3 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_http-https-server4 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_dr-redir-sim ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server2 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_sftp-server3 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_sftp-server1 ... done Creating dfc_sftp-server0 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_dr-redir-sim ... done Creating dfc_mr-sim ... done Creating dfc_http-https-server4 ... done Creating dfc_sftp-server4 ... done Creating dfc_dr-sim ... done Creating dfc_http-https-server1 ... done Creating dfc_http-https-server2 ... done Creating dfc_http-https-server3 ... done Creating dfc_http-https-server0 ... done ++ id -u ++ id -g + sudo chown 1001:1001 dfc_configs + declare -a SFTP_SIM + declare -a FTPES_SIM + declare -a HTTP_SIM ++ docker ps -q --filter=name=dfc_dr-sim + DR_SIM=bf1ec2d93725 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=832b914084ea ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=6ac4dddb0ab1 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=195346d8098c ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=2f472ebc3974 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=403fa7a71f12 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=2aba6605060e ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=552e09a246d2 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=c60c1da8965b ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=a5c9f8da84b0 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=fd2d2ee32f7b ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=c51a29ad7985 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=54504dfd2525 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=b14df3cf2971 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=e8032eecd200 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=c0c505b5a745 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=d7e966e748d0 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=b1aabe448274 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' bf1ec2d93725 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 832b914084ea + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6ac4dddb0ab1 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 195346d8098c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2f472ebc3974 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 403fa7a71f12 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2aba6605060e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 552e09a246d2 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c60c1da8965b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a5c9f8da84b0 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' fd2d2ee32f7b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c51a29ad7985 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 54504dfd2525 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b14df3cf2971 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e8032eecd200 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c0c505b5a745 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d7e966e748d0 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b1aabe448274 + '[' true ']' + echo 'All simulators Started' + break + '[' -z '' ']' + BASIC_AUTH_LOGIN=demo + '[' -z '' ']' + BASIC_AUTH_PASSWORD='demo123456!' + server_check 'DR sim ' 3906 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3906/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim ' on localhost:3906/ responded ok' + return + server_check 'DR redir sim ' 3908 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3908/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim ' on localhost:3908/ responded ok' + return + server_check 'MR sim ' 2222 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:2222/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim ' on localhost:2222/ responded ok' + return + server_check_https 'DR sim https ' 3907 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3907/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim https ' on https://localhost:3907/ responded ok' + return + server_check_https 'DR redir sim https' 3909 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3909/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim https ' on https://localhost:3909/ responded ok' + return + server_check_https 'MR sim https ' 2223 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:2223/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim https ' on https://localhost:2223/ responded ok' + return + ftpes_server_check 'FTPES server 0' 1032 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1032 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 0 ' on localhost:1032 responded ok' + return + ftpes_server_check 'FTPES server 1' 1033 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1033 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 1 ' on localhost:1033 responded ok' + return + ftpes_server_check 'FTPES server 2' 1034 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1034 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 2 ' on localhost:1034 responded ok' + return + ftpes_server_check 'FTPES server 3' 1035 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1035 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 3 ' on localhost:1035 responded ok' + return + ftpes_server_check 'FTPES server 4' 1036 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1036 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 4 ' on localhost:1036 responded ok' + return + sftp_server_check 'SFTP server 0' 1022 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1022 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 0 ' on localhost:1022 responded ok' + return + sftp_server_check 'SFTP server 1' 1023 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1023 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 1 ' on localhost:1023 responded ok' + return + sftp_server_check 'SFTP server 2' 1024 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1024 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 2 ' on localhost:1024 responded ok' + return + sftp_server_check 'SFTP server 3' 1025 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1025 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 3 ' on localhost:1025 responded ok' + return + sftp_server_check 'SFTP server 4' 1026 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1026 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 4 ' on localhost:1026 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 0' 81 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:81' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 0' ' on localhost: 81 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 1' 82 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:82' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 1' ' on localhost: 82 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 2' 83 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:83' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 2' ' on localhost: 83 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 3' 84 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:84' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 3' ' on localhost: 84 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 4' 85 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:85' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 4' ' on localhost: 85 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 0' 32001 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32001 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 0 ' on localhost:32001 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 1' 32002 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32002 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 1 ' on localhost:32002 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 2' 32003 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32003 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 2 ' on localhost:32003 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 3' 32004 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32004 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 3 ' on localhost:32004 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 4' 32005 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32005 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 4 ' on localhost:32005 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 0' 444 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:444' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 0' ' on localhost: 444 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 1' 445 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:445' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 1' ' on localhost: 445 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 2' 446 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:446' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 2' ' on localhost: 446 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 3' 447 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:447' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 3' ' on localhost: 447 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 4' 448 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:448' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 4' ' on localhost: 448 responded ok' + return + http_https_server_check 'HTTPS client certificate authentication server 0' 444 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 0 ' on localhost:444 - no response' + http_https_server_check 'HTTPS client certificate authentication server 1' 445 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 1 ' on localhost:445 - no response' + http_https_server_check 'HTTPS client certificate authentication server 2' 446 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 2 ' on localhost:446 - no response' + http_https_server_check 'HTTPS client certificate authentication server 3' 447 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 3 ' on localhost:447 - no response' + http_https_server_check 'HTTPS client certificate authentication server 4' 448 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 4 ' on localhost:448 - no response' + http_https_server_check 'HTTPS no auth server 0' 8081 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8081 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 0 ' on localhost:8081 responded ok' + return + http_https_server_check 'HTTPS no auth server 1' 8082 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8082 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 1 ' on localhost:8082 responded ok' + return + http_https_server_check 'HTTPS no auth server 2' 8083 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8083 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 2 ' on localhost:8083 responded ok' + return + http_https_server_check 'HTTPS no auth server 3' 8084 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8084 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 3 ' on localhost:8084 responded ok' + return + http_https_server_check 'HTTPS no auth server 4' 8085 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8085 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 4 ' on localhost:8085 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 0' 32101 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32101 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 0 ' on localhost:32101 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 1' 32102 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32102 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 1 ' on localhost:32102 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 2' 32103 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32103 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 2 ' on localhost:32103 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 3' 32104 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32104 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 3 ' on localhost:32104 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 4' 32105 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32105 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 4 ' on localhost:32105 responded ok' + return + echo '' + '[' -z 1 ']' + '[' -z 1 ']' + '[' -z 1MB ']' + '[' -z SFTP ']' + '[' -z A ']' + '[' SFTP = ALL ']' + '[' SFTP = SFTP ']' + echo 'Creating files for SFTP server, may take time....' + p=0 + '[' 0 -lt 1 ']' + docker cp setup-ftp-files-for-image.sh 195346d8098c:/tmp/ + docker exec -w //home/onap/ 195346d8098c //tmp/setup-ftp-files-for-image.sh 1 1 1MB A 1 0 + let p=p+1 + '[' 1 -lt 1 ']' + '[' SFTP = ALL ']' + '[' SFTP = FTPES ']' + '[' -z 1 ']' + '[' -z HTTPS ']' + '[' -z A ']' + '[' HTTPS = ALL ']' + '[' HTTPS = HTTP ']' + '[' HTTPS = HTTPS ']' + echo 'Creating files for HTTP server, may take time....' + p=0 + '[' 0 -lt 1 ']' + docker cp setup-http-files-for-image.sh b14df3cf2971:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs b14df3cf2971 //tmp/setup-http-files-for-image.sh 1 1 1MB A 1 0 + let p=p+1 + '[' 1 -lt 1 ']' + echo 'Done: All simulators started and configured' APP configuration: dmaap.certificateConfig.keyCert: /opt/app/datafile/etc/cert/cert.p12 dmaap.certificateConfig.keyPasswordPath: /opt/app/datafile/etc/cert/p12.pass dmaap.certificateConfig.trustedCa: /opt/app/datafile/etc/cert/trust.jks dmaap.certificateConfig.trustedCaPasswordPath: /opt/app/datafile/etc/cert/trust.pass dmaap.certificateConfig.httpsHostnameVerify: false dmaap.security.trustStorePath: /opt/app/datafile/etc/cert/trust.jks dmaap.security.trustStorePasswordPath: /opt/app/datafile/etc/cert/trust.pass dmaap.security.keyStorePath: /opt/app/datafile/etc/cert/cert.jks dmaap.security.keyStorePasswordPath: /opt/app/datafile/etc/cert/jks.pass dmaap.security.enableDmaapCertAuth: "false" dmaap.dmaapConsumerConfiguration.consumerGroup: OpenDcae-c12 dmaap.dmaapConsumerConfiguration.consumerId: C12 dmaap.dmaapConsumerConfiguration.timeoutMs: -1 sftp.security.strictHostKeyChecking: "true" streams_publishes: PM_MEAS_FILES: type: data_router dmaap_info: username: user log_url: https://drsim:3907/feedlog/2 publish_url: https://drsim:3907/publish/2 location: loc00 password: password publisher_id: 972.360gm streams_subscribes: dmaap_subscriber: dmaap_info: topic_url: http://mrsim:2222/events/unauthenticated.VES_NOTIFICATION_OUTPUT type: message_router Dfc-start: Creating docker network dfcnet, if needed sleep 1 sleep 2 sleep 3 sleep 4 sleep 5 sleep 6 sleep 7 sleep 8 sleep 9 sleep 10 + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + docker-compose up -d Pulling dfc (nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest)... manifest for nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest not found: manifest unknown: manifest unknown ++ docker ps -q --filter=name=dfc_app0 + DFC_APP= + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 1 + sleep 1 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 2 + sleep 2 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 3 + sleep 3 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 4 + sleep 4 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 5 + sleep 5 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 6 + sleep 6 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 7 + sleep 7 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 8 + sleep 8 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 9 + sleep 9 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 10 + sleep 10 Configured sftp sims: sftp-server0:22 Configured ftpes sims: ftpes-server-vsftpd0:21 Configured http sims: http-https-server0:80 Configured http JWT sims: http-https-server0:32000 Configured https sims: http-https-server0:443 Configured https with no authorization sims: http-https-server0:8080 Configured https JWT sims: http-https-server0:32100 Configured number of ftp servers: 1 Configured number of http/https/https with no auth/JWT servers: 1 each Groups detected: OpenDcae-c12:PM_MEAS_FILES Configured groups: OpenDcae-c12:PM_MEAS_FILES Configured changeid to file prefix mapping: PM_MEAS_FILES:A TC num: TC# 403 Using sftp-server0:22 for sftp server with index 0 for sftp server address and port in file urls. Using ftpes-server-vsftpd0:21 for ftpes server with index 0 for ftpes server address and port in file urls. Using http-https-server0:80 for http server with index 0 for http server address and port in file urls. Using http-https-server0:32000 for http jwt server with index 0 for http jwt server address and port in file urls. Using http-https-server0:443 for https server with index 0 for https server address and port in file urls. Using http-https-server0:8080 for https server with no authentication with index 0 for https server address and port in file urls. Using http-https-server0:32100 for https jwt server with index 0 for https jwt server address and port in file urls. Using up to 1 ftp servers, for each protocol for PNFs. Using up to 1 http/https/https with no auth/jwt servers, for each protocol for PNFs. * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off Killing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 Removing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 done * Running on http://0.0.0.0:2222/ (Press CTRL+C to quit) * Running on https://0.0.0.0:2223/ (Press CTRL+C to quit) 172.17.0.1 - - [16/Nov/2023 17:41:00] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:41:00] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:41:53] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:42:49] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:42:59] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:43:09] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:43:19] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:43:29] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:43:39] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:43:49] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: oom-certservice-post-processor Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ Verify single event with single 1MB file HTTPS (no authentication)... Simulator-start: Creating docker network dfcnet, if needed All simulators Started Simulator DR sim on localhost:3906/ responded ok Simulator DR redir sim on localhost:3908/ responded ok Simulator MR sim on localhost:2222/ responded ok Simulator DR sim https on https://localhost:3907/ responded ok Simulator DR redir sim https on https://localhost:3909/ responded ok Simulator MR sim https on https://localhost:2223/ responded ok Simulator FTPES server 0 on localhost:1032 responded ok Simulator FTPES server 1 on localhost:1033 responded ok Simulator FTPES server 2 on localhost:1034 responded ok Simulator FTPES server 3 on localhost:1035 responded ok Simulator FTPES server 4 on localhost:1036 responded ok Simulator SFTP server 0 on localhost:1022 responded ok Simulator SFTP server 1 on localhost:1023 responded ok Simulator SFTP server 2 on localhost:1024 responded ok Simulator SFTP server 3 on localhost:1025 responded ok Simulator SFTP server 4 on localhost:1026 responded ok Simulator HTTP basic auth server 0 on localhost: 81 responded ok Simulator HTTP basic auth server 1 on localhost: 82 responded ok Simulator HTTP basic auth server 2 on localhost: 83 responded ok Simulator HTTP basic auth server 3 on localhost: 84 responded ok Simulator HTTP basic auth server 4 on localhost: 85 responded ok Simulator HTTP JWT server 0 on localhost:32001 responded ok Simulator HTTP JWT server 1 on localhost:32002 responded ok Simulator HTTP JWT server 2 on localhost:32003 responded ok Simulator HTTP JWT server 3 on localhost:32004 responded ok Simulator HTTP JWT server 4 on localhost:32005 responded ok Simulator HTTPS basic auth server 0 on localhost: 444 responded ok Simulator HTTPS basic auth server 1 on localhost: 445 responded ok Simulator HTTPS basic auth server 2 on localhost: 446 responded ok Simulator HTTPS basic auth server 3 on localhost: 447 responded ok Simulator HTTPS basic auth server 4 on localhost: 448 responded ok Simulator HTTPS client certificate authentication server 0 on localhost:444 - no response Simulator HTTPS client certificate authentication server 1 on localhost:445 - no response Simulator HTTPS client certificate authentication server 2 on localhost:446 - no response Simulator HTTPS client certificate authentication server 3 on localhost:447 - no response Simulator HTTPS client certificate authentication server 4 on localhost:448 - no response Simulator HTTPS no auth server 0 on localhost:8081 responded ok Simulator HTTPS no auth server 1 on localhost:8082 responded ok Simulator HTTPS no auth server 2 on localhost:8083 responded ok Simulator HTTPS no auth server 3 on localhost:8084 responded ok Simulator HTTPS no auth server 4 on localhost:8085 responded ok Simulator HTTPS JWT server 0 on localhost:32101 responded ok Simulator HTTPS JWT server 1 on localhost:32102 responded ok Simulator HTTPS JWT server 2 on localhost:32103 responded ok Simulator HTTPS JWT server 3 on localhost:32104 responded ok Simulator HTTPS JWT server 4 on localhost:32105 responded ok Creating files for SFTP server, may take time.... Running ftp file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in ftp servers with index 0 Creating files for HTTP server, may take time.... Running http file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in http servers with index 0 Done: All simulators started and configured + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Creating dfc_mr-sim ... Creating dfc_sftp-server4 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_ftpes-server-vsftpd1 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_http-https-server3 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_http-https-server2 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_http-https-server0 ... Creating dfc_sftp-server1 ... Creating dfc_http-https-server4 ... Creating dfc_sftp-server2 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_dr-sim ... Creating dfc_dr-redir-sim ... Creating dfc_http-https-server1 ... Creating dfc_sftp-server3 ... Creating dfc_sftp-server0 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server3 ... done Creating dfc_dr-sim ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_sftp-server0 ... done Creating dfc_mr-sim ... done Creating dfc_sftp-server1 ... done Creating dfc_dr-redir-sim ... done Creating dfc_sftp-server2 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_sftp-server4 ... done Creating dfc_http-https-server0 ... done Creating dfc_http-https-server2 ... done Creating dfc_http-https-server3 ... done Creating dfc_http-https-server1 ... done Creating dfc_http-https-server4 ... done ++ id -u ++ id -g + sudo chown 1001:1001 dfc_configs + declare -a SFTP_SIM + declare -a FTPES_SIM + declare -a HTTP_SIM ++ docker ps -q --filter=name=dfc_dr-sim + DR_SIM=aee6934891b1 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=9e047715611e ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=1081f794cba9 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=1fb58fbb16d1 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=5c9f3e4c015b ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=9afb3e697802 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=deae5372fe2b ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=45db47e2e446 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=a77361d6ab13 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=057aeabd44e4 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=f40ac6d95163 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=307011eca3da ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=6c61a1ab8766 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=ec42220facc6 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=98cad014bd84 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=7472cd272d5c ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=383bb59fffc3 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=e60cc9941d50 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' aee6934891b1 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9e047715611e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1081f794cba9 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1fb58fbb16d1 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5c9f3e4c015b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9afb3e697802 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' deae5372fe2b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 45db47e2e446 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a77361d6ab13 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 057aeabd44e4 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f40ac6d95163 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 307011eca3da + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6c61a1ab8766 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ec42220facc6 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 98cad014bd84 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7472cd272d5c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 383bb59fffc3 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e60cc9941d50 + '[' true ']' + echo 'All simulators Started' + break + '[' -z '' ']' + BASIC_AUTH_LOGIN=demo + '[' -z '' ']' + BASIC_AUTH_PASSWORD='demo123456!' + server_check 'DR sim ' 3906 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3906/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim ' on localhost:3906/ responded ok' + return + server_check 'DR redir sim ' 3908 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3908/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim ' on localhost:3908/ responded ok' + return + server_check 'MR sim ' 2222 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:2222/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim ' on localhost:2222/ responded ok' + return + server_check_https 'DR sim https ' 3907 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3907/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim https ' on https://localhost:3907/ responded ok' + return + server_check_https 'DR redir sim https' 3909 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3909/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim https ' on https://localhost:3909/ responded ok' + return + server_check_https 'MR sim https ' 2223 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:2223/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim https ' on https://localhost:2223/ responded ok' + return + ftpes_server_check 'FTPES server 0' 1032 + for i in {1..10} ++ grep vsFTPd ++ curl --silent --max-time 3 ftp://localhost:1032 --ftp-ssl -v -k + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 0 ' on localhost:1032 responded ok' + return + ftpes_server_check 'FTPES server 1' 1033 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1033 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 1 ' on localhost:1033 responded ok' + return + ftpes_server_check 'FTPES server 2' 1034 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1034 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 2 ' on localhost:1034 responded ok' + return + ftpes_server_check 'FTPES server 3' 1035 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1035 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 3 ' on localhost:1035 responded ok' + return + ftpes_server_check 'FTPES server 4' 1036 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1036 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 4 ' on localhost:1036 responded ok' + return + sftp_server_check 'SFTP server 0' 1022 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1022 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 0 ' on localhost:1022 responded ok' + return + sftp_server_check 'SFTP server 1' 1023 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1023 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 1 ' on localhost:1023 responded ok' + return + sftp_server_check 'SFTP server 2' 1024 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1024 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 2 ' on localhost:1024 responded ok' + return + sftp_server_check 'SFTP server 3' 1025 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1025 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 3 ' on localhost:1025 responded ok' + return + sftp_server_check 'SFTP server 4' 1026 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1026 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 4 ' on localhost:1026 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 0' 81 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:81' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 0' ' on localhost: 81 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 1' 82 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:82' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 1' ' on localhost: 82 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 2' 83 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:83' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 2' ' on localhost: 83 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 3' 84 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:84' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 3' ' on localhost: 84 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 4' 85 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:85' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 4' ' on localhost: 85 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 0' 32001 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32001 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 0 ' on localhost:32001 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 1' 32002 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32002 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 1 ' on localhost:32002 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 2' 32003 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32003 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 2 ' on localhost:32003 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 3' 32004 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32004 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 3 ' on localhost:32004 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 4' 32005 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32005 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 4 ' on localhost:32005 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 0' 444 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:444' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 0' ' on localhost: 444 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 1' 445 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:445' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 1' ' on localhost: 445 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 2' 446 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:446' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 2' ' on localhost: 446 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 3' 447 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:447' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 3' ' on localhost: 447 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 4' 448 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:448' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 4' ' on localhost: 448 responded ok' + return + http_https_server_check 'HTTPS client certificate authentication server 0' 444 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 0 ' on localhost:444 - no response' + http_https_server_check 'HTTPS client certificate authentication server 1' 445 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 1 ' on localhost:445 - no response' + http_https_server_check 'HTTPS client certificate authentication server 2' 446 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 2 ' on localhost:446 - no response' + http_https_server_check 'HTTPS client certificate authentication server 3' 447 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 3 ' on localhost:447 - no response' + http_https_server_check 'HTTPS client certificate authentication server 4' 448 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 4 ' on localhost:448 - no response' + http_https_server_check 'HTTPS no auth server 0' 8081 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8081 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 0 ' on localhost:8081 responded ok' + return + http_https_server_check 'HTTPS no auth server 1' 8082 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8082 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 1 ' on localhost:8082 responded ok' + return + http_https_server_check 'HTTPS no auth server 2' 8083 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8083 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 2 ' on localhost:8083 responded ok' + return + http_https_server_check 'HTTPS no auth server 3' 8084 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8084 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 3 ' on localhost:8084 responded ok' + return + http_https_server_check 'HTTPS no auth server 4' 8085 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8085 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 4 ' on localhost:8085 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 0' 32101 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32101 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 0 ' on localhost:32101 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 1' 32102 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32102 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 1 ' on localhost:32102 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 2' 32103 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32103 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 2 ' on localhost:32103 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 3' 32104 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32104 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 3 ' on localhost:32104 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 4' 32105 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32105 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 4 ' on localhost:32105 responded ok' + return + echo '' + '[' -z 1 ']' + '[' -z 1 ']' + '[' -z 1MB ']' + '[' -z SFTP ']' + '[' -z A ']' + '[' SFTP = ALL ']' + '[' SFTP = SFTP ']' + echo 'Creating files for SFTP server, may take time....' + p=0 + '[' 0 -lt 1 ']' + docker cp setup-ftp-files-for-image.sh 1fb58fbb16d1:/tmp/ + docker exec -w //home/onap/ 1fb58fbb16d1 //tmp/setup-ftp-files-for-image.sh 1 1 1MB A 1 0 + let p=p+1 + '[' 1 -lt 1 ']' + '[' SFTP = ALL ']' + '[' SFTP = FTPES ']' + '[' -z 1 ']' + '[' -z HTTPS ']' + '[' -z A ']' + '[' HTTPS = ALL ']' + '[' HTTPS = HTTP ']' + '[' HTTPS = HTTPS ']' + echo 'Creating files for HTTP server, may take time....' + p=0 + '[' 0 -lt 1 ']' + docker cp setup-http-files-for-image.sh ec42220facc6:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs ec42220facc6 //tmp/setup-http-files-for-image.sh 1 1 1MB A 1 0 + let p=p+1 + '[' 1 -lt 1 ']' + echo 'Done: All simulators started and configured' APP configuration: dmaap.certificateConfig.keyCert: /opt/app/datafile/etc/cert/cert.p12 dmaap.certificateConfig.keyPasswordPath: /opt/app/datafile/etc/cert/p12.pass dmaap.certificateConfig.trustedCa: /opt/app/datafile/etc/cert/trust.jks dmaap.certificateConfig.trustedCaPasswordPath: /opt/app/datafile/etc/cert/trust.pass dmaap.certificateConfig.httpsHostnameVerify: false dmaap.security.trustStorePath: /opt/app/datafile/etc/cert/trust.jks dmaap.security.trustStorePasswordPath: /opt/app/datafile/etc/cert/trust.pass dmaap.security.keyStorePath: /opt/app/datafile/etc/cert/cert.jks dmaap.security.keyStorePasswordPath: /opt/app/datafile/etc/cert/jks.pass dmaap.security.enableDmaapCertAuth: "false" dmaap.dmaapConsumerConfiguration.consumerGroup: OpenDcae-c12 dmaap.dmaapConsumerConfiguration.consumerId: C12 dmaap.dmaapConsumerConfiguration.timeoutMs: -1 sftp.security.strictHostKeyChecking: "true" streams_publishes: PM_MEAS_FILES: type: data_router dmaap_info: username: user log_url: https://drsim:3907/feedlog/2 publish_url: https://drsim:3907/publish/2 location: loc00 password: password publisher_id: 972.360gm streams_subscribes: dmaap_subscriber: dmaap_info: topic_url: http://mrsim:2222/events/unauthenticated.VES_NOTIFICATION_OUTPUT type: message_router Dfc-start: Creating docker network dfcnet, if needed sleep 1 sleep 2 sleep 3 sleep 4 sleep 5 sleep 6 sleep 7 sleep 8 sleep 9 sleep 10 + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + docker-compose up -d Pulling dfc (nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest)... manifest for nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest not found: manifest unknown: manifest unknown ++ docker ps -q --filter=name=dfc_app0 + DFC_APP= + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 1 + sleep 1 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 2 + sleep 2 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 3 + sleep 3 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 4 + sleep 4 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 5 + sleep 5 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 6 + sleep 6 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 7 + sleep 7 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 8 + sleep 8 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 9 + sleep 9 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 10 + sleep 10 Configured sftp sims: sftp-server0:22 Configured ftpes sims: ftpes-server-vsftpd0:21 Configured http sims: http-https-server0:80 Configured http JWT sims: http-https-server0:32000 Configured https sims: http-https-server0:443 Configured https with no authorization sims: http-https-server0:8080 Configured https JWT sims: http-https-server0:32100 Configured number of ftp servers: 1 Configured number of http/https/https with no auth/JWT servers: 1 each Groups detected: OpenDcae-c12:PM_MEAS_FILES Configured groups: OpenDcae-c12:PM_MEAS_FILES Configured changeid to file prefix mapping: PM_MEAS_FILES:A TC num: TC# 404 Using sftp-server0:22 for sftp server with index 0 for sftp server address and port in file urls. Using ftpes-server-vsftpd0:21 for ftpes server with index 0 for ftpes server address and port in file urls. Using http-https-server0:80 for http server with index 0 for http server address and port in file urls. Using http-https-server0:32000 for http jwt server with index 0 for http jwt server address and port in file urls. Using http-https-server0:443 for https server with index 0 for https server address and port in file urls. Using http-https-server0:8080 for https server with no authentication with index 0 for https server address and port in file urls. Using http-https-server0:32100 for https jwt server with index 0 for https jwt server address and port in file urls. Using up to 1 ftp servers, for each protocol for PNFs. Using up to 1 http/https/https with no auth/jwt servers, for each protocol for PNFs. * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off Killing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 Removing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 done * Running on http://0.0.0.0:2222/ (Press CTRL+C to quit) * Running on https://0.0.0.0:2223/ (Press CTRL+C to quit) 172.17.0.1 - - [16/Nov/2023 17:44:17] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:44:17] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:45:10] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:46:06] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:46:16] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:46:26] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:46:36] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:46:46] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:46:56] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:47:06] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: oom-certservice-post-processor Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ Verify single event with single 1MB file with HTTP JWT. From event... Simulator-start: Creating docker network dfcnet, if needed All simulators Started Simulator DR sim on localhost:3906/ responded ok Simulator DR redir sim on localhost:3908/ responded ok Simulator MR sim on localhost:2222/ responded ok Simulator DR sim https on https://localhost:3907/ responded ok Simulator DR redir sim https on https://localhost:3909/ responded ok Simulator MR sim https on https://localhost:2223/ responded ok Simulator FTPES server 0 on localhost:1032 responded ok Simulator FTPES server 1 on localhost:1033 responded ok Simulator FTPES server 2 on localhost:1034 responded ok Simulator FTPES server 3 on localhost:1035 responded ok Simulator FTPES server 4 on localhost:1036 responded ok Simulator SFTP server 0 on localhost:1022 responded ok Simulator SFTP server 1 on localhost:1023 responded ok Simulator SFTP server 2 on localhost:1024 responded ok Simulator SFTP server 3 on localhost:1025 responded ok Simulator SFTP server 4 on localhost:1026 responded ok Simulator HTTP basic auth server 0 on localhost: 81 responded ok Simulator HTTP basic auth server 1 on localhost: 82 responded ok Simulator HTTP basic auth server 2 on localhost: 83 responded ok Simulator HTTP basic auth server 3 on localhost: 84 responded ok Simulator HTTP basic auth server 4 on localhost: 85 responded ok Simulator HTTP JWT server 0 on localhost:32001 responded ok Simulator HTTP JWT server 1 on localhost:32002 responded ok Simulator HTTP JWT server 2 on localhost:32003 responded ok Simulator HTTP JWT server 3 on localhost:32004 responded ok Simulator HTTP JWT server 4 on localhost:32005 responded ok Simulator HTTPS basic auth server 0 on localhost: 444 responded ok Simulator HTTPS basic auth server 1 on localhost: 445 responded ok Simulator HTTPS basic auth server 2 on localhost: 446 responded ok Simulator HTTPS basic auth server 3 on localhost: 447 responded ok Simulator HTTPS basic auth server 4 on localhost: 448 responded ok Simulator HTTPS client certificate authentication server 0 on localhost:444 - no response Simulator HTTPS client certificate authentication server 1 on localhost:445 - no response Simulator HTTPS client certificate authentication server 2 on localhost:446 - no response Simulator HTTPS client certificate authentication server 3 on localhost:447 - no response Simulator HTTPS client certificate authentication server 4 on localhost:448 - no response Simulator HTTPS no auth server 0 on localhost:8081 responded ok Simulator HTTPS no auth server 1 on localhost:8082 responded ok Simulator HTTPS no auth server 2 on localhost:8083 responded ok Simulator HTTPS no auth server 3 on localhost:8084 responded ok Simulator HTTPS no auth server 4 on localhost:8085 responded ok Simulator HTTPS JWT server 0 on localhost:32101 responded ok Simulator HTTPS JWT server 1 on localhost:32102 responded ok Simulator HTTPS JWT server 2 on localhost:32103 responded ok Simulator HTTPS JWT server 3 on localhost:32104 responded ok Simulator HTTPS JWT server 4 on localhost:32105 responded ok Creating files for SFTP server, may take time.... Running ftp file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in ftp servers with index 0 Creating files for HTTP server, may take time.... Running http file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in http servers with index 0 Done: All simulators started and configured + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Creating dfc_dr-redir-sim ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_mr-sim ... Creating dfc_sftp-server4 ... Creating dfc_ftpes-server-vsftpd2 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_sftp-server2 ... Creating dfc_http-https-server4 ... Creating dfc_sftp-server1 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_http-https-server0 ... Creating dfc_http-https-server2 ... Creating dfc_http-https-server3 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_sftp-server0 ... Creating dfc_dr-sim ... Creating dfc_sftp-server3 ... Creating dfc_http-https-server1 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server0 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_dr-redir-sim ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_sftp-server1 ... done Creating dfc_sftp-server4 ... done Creating dfc_http-https-server0 ... done Creating dfc_sftp-server2 ... done Creating dfc_dr-sim ... done Creating dfc_http-https-server1 ... done Creating dfc_sftp-server3 ... done Creating dfc_http-https-server4 ... done Creating dfc_mr-sim ... done Creating dfc_http-https-server2 ... done Creating dfc_http-https-server3 ... done ++ id -u ++ id -g + sudo chown 1001:1001 dfc_configs + declare -a SFTP_SIM + declare -a FTPES_SIM + declare -a HTTP_SIM ++ docker ps -q --filter=name=dfc_dr-sim + DR_SIM=575d6f3385bd ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=bfd15a2ca3da ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=68df4440c799 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=08d32fc1912d ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=1795dbf97d3c ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=936c02c39c66 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=543d03f7b520 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=7b7edabfe68a ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=915a971aed03 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=04de73807309 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=54e89e54d596 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=05d5f6970c82 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=f765191f3e47 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=834ba3770438 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=04ec3165bb68 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=b392b0903491 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=4d6bc817b307 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=1e7e5d61a701 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 575d6f3385bd + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' bfd15a2ca3da + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 68df4440c799 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 08d32fc1912d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1795dbf97d3c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 936c02c39c66 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 543d03f7b520 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7b7edabfe68a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 915a971aed03 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 04de73807309 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 54e89e54d596 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 05d5f6970c82 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f765191f3e47 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 834ba3770438 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 04ec3165bb68 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b392b0903491 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4d6bc817b307 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1e7e5d61a701 + '[' true ']' + echo 'All simulators Started' + break + '[' -z '' ']' + BASIC_AUTH_LOGIN=demo + '[' -z '' ']' + BASIC_AUTH_PASSWORD='demo123456!' + server_check 'DR sim ' 3906 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3906/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim ' on localhost:3906/ responded ok' + return + server_check 'DR redir sim ' 3908 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3908/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim ' on localhost:3908/ responded ok' + return + server_check 'MR sim ' 2222 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:2222/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim ' on localhost:2222/ responded ok' + return + server_check_https 'DR sim https ' 3907 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3907/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim https ' on https://localhost:3907/ responded ok' + return + server_check_https 'DR redir sim https' 3909 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3909/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim https ' on https://localhost:3909/ responded ok' + return + server_check_https 'MR sim https ' 2223 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:2223/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim https ' on https://localhost:2223/ responded ok' + return + ftpes_server_check 'FTPES server 0' 1032 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1032 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 0 ' on localhost:1032 responded ok' + return + ftpes_server_check 'FTPES server 1' 1033 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1033 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 1 ' on localhost:1033 responded ok' + return + ftpes_server_check 'FTPES server 2' 1034 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1034 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 2 ' on localhost:1034 responded ok' + return + ftpes_server_check 'FTPES server 3' 1035 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1035 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 3 ' on localhost:1035 responded ok' + return + ftpes_server_check 'FTPES server 4' 1036 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1036 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 4 ' on localhost:1036 responded ok' + return + sftp_server_check 'SFTP server 0' 1022 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1022 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 0 ' on localhost:1022 responded ok' + return + sftp_server_check 'SFTP server 1' 1023 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1023 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 1 ' on localhost:1023 responded ok' + return + sftp_server_check 'SFTP server 2' 1024 + for i in {1..10} ++ grep OpenSSH ++ curl --silent --max-time 3 localhost:1024 + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 2 ' on localhost:1024 responded ok' + return + sftp_server_check 'SFTP server 3' 1025 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1025 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 3 ' on localhost:1025 responded ok' + return + sftp_server_check 'SFTP server 4' 1026 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1026 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 4 ' on localhost:1026 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 0' 81 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:81' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 0' ' on localhost: 81 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 1' 82 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:82' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 1' ' on localhost: 82 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 2' 83 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:83' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 2' ' on localhost: 83 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 3' 84 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:84' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 3' ' on localhost: 84 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 4' 85 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:85' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 4' ' on localhost: 85 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 0' 32001 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32001 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 0 ' on localhost:32001 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 1' 32002 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32002 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 1 ' on localhost:32002 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 2' 32003 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32003 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 2 ' on localhost:32003 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 3' 32004 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32004 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 3 ' on localhost:32004 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 4' 32005 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32005 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 4 ' on localhost:32005 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 0' 444 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:444' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 0' ' on localhost: 444 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 1' 445 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:445' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 1' ' on localhost: 445 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 2' 446 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:446' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 2' ' on localhost: 446 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 3' 447 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:447' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 3' ' on localhost: 447 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 4' 448 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:448' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 4' ' on localhost: 448 responded ok' + return + http_https_server_check 'HTTPS client certificate authentication server 0' 444 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 0 ' on localhost:444 - no response' + http_https_server_check 'HTTPS client certificate authentication server 1' 445 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 1 ' on localhost:445 - no response' + http_https_server_check 'HTTPS client certificate authentication server 2' 446 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 2 ' on localhost:446 - no response' + http_https_server_check 'HTTPS client certificate authentication server 3' 447 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 3 ' on localhost:447 - no response' + http_https_server_check 'HTTPS client certificate authentication server 4' 448 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 4 ' on localhost:448 - no response' + http_https_server_check 'HTTPS no auth server 0' 8081 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8081 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 0 ' on localhost:8081 responded ok' + return + http_https_server_check 'HTTPS no auth server 1' 8082 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8082 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 1 ' on localhost:8082 responded ok' + return + http_https_server_check 'HTTPS no auth server 2' 8083 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8083 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 2 ' on localhost:8083 responded ok' + return + http_https_server_check 'HTTPS no auth server 3' 8084 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8084 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 3 ' on localhost:8084 responded ok' + return + http_https_server_check 'HTTPS no auth server 4' 8085 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8085 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 4 ' on localhost:8085 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 0' 32101 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32101 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 0 ' on localhost:32101 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 1' 32102 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32102 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 1 ' on localhost:32102 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 2' 32103 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32103 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 2 ' on localhost:32103 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 3' 32104 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32104 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 3 ' on localhost:32104 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 4' 32105 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32105 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 4 ' on localhost:32105 responded ok' + return + echo '' + '[' -z 1 ']' + '[' -z 1 ']' + '[' -z 1MB ']' + '[' -z SFTP ']' + '[' -z A ']' + '[' SFTP = ALL ']' + '[' SFTP = SFTP ']' + echo 'Creating files for SFTP server, may take time....' + p=0 + '[' 0 -lt 1 ']' + docker cp setup-ftp-files-for-image.sh 08d32fc1912d:/tmp/ + docker exec -w //home/onap/ 08d32fc1912d //tmp/setup-ftp-files-for-image.sh 1 1 1MB A 1 0 + let p=p+1 + '[' 1 -lt 1 ']' + '[' SFTP = ALL ']' + '[' SFTP = FTPES ']' + '[' -z 1 ']' + '[' -z HTTP ']' + '[' -z A ']' + '[' HTTP = ALL ']' + '[' HTTP = HTTP ']' + echo 'Creating files for HTTP server, may take time....' + p=0 + '[' 0 -lt 1 ']' + docker cp setup-http-files-for-image.sh 834ba3770438:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 834ba3770438 //tmp/setup-http-files-for-image.sh 1 1 1MB A 1 0 + let p=p+1 + '[' 1 -lt 1 ']' + echo 'Done: All simulators started and configured' APP configuration: dmaap.certificateConfig.keyCert: /opt/app/datafile/etc/cert/cert.p12 dmaap.certificateConfig.keyPasswordPath: /opt/app/datafile/etc/cert/p12.pass dmaap.certificateConfig.trustedCa: /opt/app/datafile/etc/cert/trust.jks dmaap.certificateConfig.trustedCaPasswordPath: /opt/app/datafile/etc/cert/trust.pass dmaap.certificateConfig.httpsHostnameVerify: false dmaap.security.trustStorePath: /opt/app/datafile/etc/cert/trust.jks dmaap.security.trustStorePasswordPath: /opt/app/datafile/etc/cert/trust.pass dmaap.security.keyStorePath: /opt/app/datafile/etc/cert/cert.jks dmaap.security.keyStorePasswordPath: /opt/app/datafile/etc/cert/jks.pass dmaap.security.enableDmaapCertAuth: "false" dmaap.dmaapConsumerConfiguration.consumerGroup: OpenDcae-c12 dmaap.dmaapConsumerConfiguration.consumerId: C12 dmaap.dmaapConsumerConfiguration.timeoutMs: -1 sftp.security.strictHostKeyChecking: "true" streams_publishes: PM_MEAS_FILES: type: data_router dmaap_info: username: user log_url: https://drsim:3907/feedlog/2 publish_url: https://drsim:3907/publish/2 location: loc00 password: password publisher_id: 972.360gm streams_subscribes: dmaap_subscriber: dmaap_info: topic_url: http://mrsim:2222/events/unauthenticated.VES_NOTIFICATION_OUTPUT type: message_router Dfc-start: Creating docker network dfcnet, if needed sleep 1 sleep 2 sleep 3 sleep 4 sleep 5 sleep 6 sleep 7 sleep 8 sleep 9 sleep 10 + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + docker-compose up -d Pulling dfc (nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest)... manifest for nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest not found: manifest unknown: manifest unknown ++ docker ps -q --filter=name=dfc_app0 + DFC_APP= + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 1 + sleep 1 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 2 + sleep 2 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 3 + sleep 3 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 4 + sleep 4 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 5 + sleep 5 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 6 + sleep 6 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 7 + sleep 7 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 8 + sleep 8 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 9 + sleep 9 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 10 + sleep 10 Configured sftp sims: sftp-server0:22 Configured ftpes sims: ftpes-server-vsftpd0:21 Configured http sims: http-https-server0:80 Configured http JWT sims: http-https-server0:32000 Configured https sims: http-https-server0:443 Configured https with no authorization sims: http-https-server0:8080 Configured https JWT sims: http-https-server0:32100 Configured number of ftp servers: 1 Configured number of http/https/https with no auth/JWT servers: 1 each Groups detected: OpenDcae-c12:PM_MEAS_FILES Configured groups: OpenDcae-c12:PM_MEAS_FILES Configured changeid to file prefix mapping: PM_MEAS_FILES:A TC num: TC# 303 Using sftp-server0:22 for sftp server with index 0 for sftp server address and port in file urls. Using ftpes-server-vsftpd0:21 for ftpes server with index 0 for ftpes server address and port in file urls. Using http-https-server0:80 for http server with index 0 for http server address and port in file urls. Using http-https-server0:32000 for http jwt server with index 0 for http jwt server address and port in file urls. Using http-https-server0:443 for https server with index 0 for https server address and port in file urls. Using http-https-server0:8080 for https server with no authentication with index 0 for https server address and port in file urls. Using http-https-server0:32100 for https jwt server with index 0 for https jwt server address and port in file urls. Using up to 1 ftp servers, for each protocol for PNFs. Using up to 1 http/https/https with no auth/jwt servers, for each protocol for PNFs. * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off Killing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 Removing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 done * Running on http://0.0.0.0:2222/ (Press CTRL+C to quit) * Running on https://0.0.0.0:2223/ (Press CTRL+C to quit) 172.17.0.1 - - [16/Nov/2023 17:47:33] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:47:33] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:48:26] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:49:22] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:49:32] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:49:42] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:49:52] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:50:02] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:50:12] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:50:22] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ Verify single event with single 1MB file with HTTPS JWT. From even... Simulator-start: Creating docker network dfcnet, if needed All simulators Started Simulator DR sim on localhost:3906/ responded ok Simulator DR redir sim on localhost:3908/ responded ok Simulator MR sim on localhost:2222/ responded ok Simulator DR sim https on https://localhost:3907/ responded ok Simulator DR redir sim https on https://localhost:3909/ responded ok Simulator MR sim https on https://localhost:2223/ responded ok Simulator FTPES server 0 on localhost:1032 responded ok Simulator FTPES server 1 on localhost:1033 responded ok Simulator FTPES server 2 on localhost:1034 responded ok Simulator FTPES server 3 on localhost:1035 responded ok Simulator FTPES server 4 on localhost:1036 responded ok Simulator SFTP server 0 on localhost:1022 responded ok Simulator SFTP server 1 on localhost:1023 responded ok Simulator SFTP server 2 on localhost:1024 responded ok Simulator SFTP server 3 on localhost:1025 responded ok Simulator SFTP server 4 on localhost:1026 responded ok Simulator HTTP basic auth server 0 on localhost: 81 responded ok Simulator HTTP basic auth server 1 on localhost: 82 responded ok Simulator HTTP basic auth server 2 on localhost: 83 responded ok Simulator HTTP basic auth server 3 on localhost: 84 responded ok Simulator HTTP basic auth server 4 on localhost: 85 responded ok Simulator HTTP JWT server 0 on localhost:32001 responded ok Simulator HTTP JWT server 1 on localhost:32002 responded ok Simulator HTTP JWT server 2 on localhost:32003 responded ok Simulator HTTP JWT server 3 on localhost:32004 responded ok Simulator HTTP JWT server 4 on localhost:32005 responded ok Simulator HTTPS basic auth server 0 on localhost: 444 responded ok Simulator HTTPS basic auth server 1 on localhost: 445 responded ok Simulator HTTPS basic auth server 2 on localhost: 446 responded ok Simulator HTTPS basic auth server 3 on localhost: 447 responded ok Simulator HTTPS basic auth server 4 on localhost: 448 responded ok Simulator HTTPS client certificate authentication server 0 on localhost:444 - no response Simulator HTTPS client certificate authentication server 1 on localhost:445 - no response Simulator HTTPS client certificate authentication server 2 on localhost:446 - no response Simulator HTTPS client certificate authentication server 3 on localhost:447 - no response Simulator HTTPS client certificate authentication server 4 on localhost:448 - no response Simulator HTTPS no auth server 0 on localhost:8081 responded ok Simulator HTTPS no auth server 1 on localhost:8082 responded ok Simulator HTTPS no auth server 2 on localhost:8083 responded ok Simulator HTTPS no auth server 3 on localhost:8084 responded ok Simulator HTTPS no auth server 4 on localhost:8085 responded ok Simulator HTTPS JWT server 0 on localhost:32101 responded ok Simulator HTTPS JWT server 1 on localhost:32102 responded ok Simulator HTTPS JWT server 2 on localhost:32103 responded ok Simulator HTTPS JWT server 3 on localhost:32104 responded ok Simulator HTTPS JWT server 4 on localhost:32105 responded ok Creating files for SFTP server, may take time.... Running ftp file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in ftp servers with index 0 Creating files for HTTP server, may take time.... Running http file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in http servers with index 0 Done: All simulators started and configured + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Creating dfc_sftp-server0 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_sftp-server4 ... Creating dfc_mr-sim ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_http-https-server4 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_dr-sim ... Creating dfc_sftp-server3 ... Creating dfc_dr-redir-sim ... Creating dfc_sftp-server1 ... Creating dfc_http-https-server0 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_sftp-server2 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_http-https-server2 ... Creating dfc_http-https-server3 ... Creating dfc_http-https-server1 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_sftp-server0 ... done Creating dfc_sftp-server4 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_dr-redir-sim ... done Creating dfc_dr-sim ... done Creating dfc_sftp-server3 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_mr-sim ... done Creating dfc_sftp-server2 ... done Creating dfc_http-https-server2 ... done Creating dfc_sftp-server1 ... done Creating dfc_http-https-server0 ... done Creating dfc_http-https-server3 ... done Creating dfc_http-https-server1 ... done Creating dfc_http-https-server4 ... done ++ id -u ++ id -g + sudo chown 1001:1001 dfc_configs + declare -a SFTP_SIM + declare -a FTPES_SIM + declare -a HTTP_SIM ++ docker ps -q --filter=name=dfc_dr-sim + DR_SIM=aaa5096eb55a ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=ab3da6a76a61 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=8553329f894e ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=ad577007c7c1 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=d3941a3a6add ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=4f4a90a36c55 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=8c65e0c60ace ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=c39bde6da5c8 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=d1a74881420d ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=7f0242ce65ec ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=06dd4e3d6058 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=39afea9cc3e8 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=e54d50ef0456 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=53d56383c53f ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=2bd34d3ce871 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=e8e1c22900ef ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=8e3bdd57782e ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=2cd7bdd13fd4 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' aaa5096eb55a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ab3da6a76a61 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8553329f894e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ad577007c7c1 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d3941a3a6add + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4f4a90a36c55 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8c65e0c60ace + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c39bde6da5c8 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d1a74881420d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7f0242ce65ec + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 06dd4e3d6058 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 39afea9cc3e8 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e54d50ef0456 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 53d56383c53f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2bd34d3ce871 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e8e1c22900ef + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8e3bdd57782e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2cd7bdd13fd4 + '[' true ']' + echo 'All simulators Started' + break + '[' -z '' ']' + BASIC_AUTH_LOGIN=demo + '[' -z '' ']' + BASIC_AUTH_PASSWORD='demo123456!' + server_check 'DR sim ' 3906 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3906/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim ' on localhost:3906/ responded ok' + return + server_check 'DR redir sim ' 3908 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3908/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim ' on localhost:3908/ responded ok' + return + server_check 'MR sim ' 2222 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:2222/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim ' on localhost:2222/ responded ok' + return + server_check_https 'DR sim https ' 3907 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3907/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim https ' on https://localhost:3907/ responded ok' + return + server_check_https 'DR redir sim https' 3909 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3909/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim https ' on https://localhost:3909/ responded ok' + return + server_check_https 'MR sim https ' 2223 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:2223/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim https ' on https://localhost:2223/ responded ok' + return + ftpes_server_check 'FTPES server 0' 1032 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1032 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 0 ' on localhost:1032 responded ok' + return + ftpes_server_check 'FTPES server 1' 1033 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1033 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 1 ' on localhost:1033 responded ok' + return + ftpes_server_check 'FTPES server 2' 1034 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1034 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 2 ' on localhost:1034 responded ok' + return + ftpes_server_check 'FTPES server 3' 1035 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1035 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 3 ' on localhost:1035 responded ok' + return + ftpes_server_check 'FTPES server 4' 1036 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1036 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 4 ' on localhost:1036 responded ok' + return + sftp_server_check 'SFTP server 0' 1022 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1022 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 0 ' on localhost:1022 responded ok' + return + sftp_server_check 'SFTP server 1' 1023 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1023 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 1 ' on localhost:1023 responded ok' + return + sftp_server_check 'SFTP server 2' 1024 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1024 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 2 ' on localhost:1024 responded ok' + return + sftp_server_check 'SFTP server 3' 1025 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1025 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 3 ' on localhost:1025 responded ok' + return + sftp_server_check 'SFTP server 4' 1026 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1026 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 4 ' on localhost:1026 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 0' 81 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:81' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 0' ' on localhost: 81 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 1' 82 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:82' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 1' ' on localhost: 82 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 2' 83 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:83' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 2' ' on localhost: 83 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 3' 84 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:84' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 3' ' on localhost: 84 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 4' 85 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:85' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 4' ' on localhost: 85 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 0' 32001 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32001 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 0 ' on localhost:32001 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 1' 32002 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32002 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 1 ' on localhost:32002 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 2' 32003 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32003 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 2 ' on localhost:32003 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 3' 32004 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32004 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 3 ' on localhost:32004 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 4' 32005 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32005 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 4 ' on localhost:32005 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 0' 444 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:444' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 0' ' on localhost: 444 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 1' 445 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:445' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 1' ' on localhost: 445 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 2' 446 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:446' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 2' ' on localhost: 446 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 3' 447 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:447' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 3' ' on localhost: 447 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 4' 448 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:448' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 4' ' on localhost: 448 responded ok' + return + http_https_server_check 'HTTPS client certificate authentication server 0' 444 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 0 ' on localhost:444 - no response' + http_https_server_check 'HTTPS client certificate authentication server 1' 445 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 1 ' on localhost:445 - no response' + http_https_server_check 'HTTPS client certificate authentication server 2' 446 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 2 ' on localhost:446 - no response' + http_https_server_check 'HTTPS client certificate authentication server 3' 447 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 3 ' on localhost:447 - no response' + http_https_server_check 'HTTPS client certificate authentication server 4' 448 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 4 ' on localhost:448 - no response' + http_https_server_check 'HTTPS no auth server 0' 8081 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8081 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 0 ' on localhost:8081 responded ok' + return + http_https_server_check 'HTTPS no auth server 1' 8082 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8082 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 1 ' on localhost:8082 responded ok' + return + http_https_server_check 'HTTPS no auth server 2' 8083 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8083 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 2 ' on localhost:8083 responded ok' + return + http_https_server_check 'HTTPS no auth server 3' 8084 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8084 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 3 ' on localhost:8084 responded ok' + return + http_https_server_check 'HTTPS no auth server 4' 8085 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8085 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 4 ' on localhost:8085 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 0' 32101 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32101 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 0 ' on localhost:32101 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 1' 32102 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32102 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 1 ' on localhost:32102 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 2' 32103 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32103 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 2 ' on localhost:32103 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 3' 32104 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32104 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 3 ' on localhost:32104 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 4' 32105 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32105 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 4 ' on localhost:32105 responded ok' + return + echo '' + '[' -z 1 ']' + '[' -z 1 ']' + '[' -z 1MB ']' + '[' -z SFTP ']' + '[' -z A ']' + '[' SFTP = ALL ']' + '[' SFTP = SFTP ']' + echo 'Creating files for SFTP server, may take time....' + p=0 + '[' 0 -lt 1 ']' + docker cp setup-ftp-files-for-image.sh ad577007c7c1:/tmp/ + docker exec -w //home/onap/ ad577007c7c1 //tmp/setup-ftp-files-for-image.sh 1 1 1MB A 1 0 + let p=p+1 + '[' 1 -lt 1 ']' + '[' SFTP = ALL ']' + '[' SFTP = FTPES ']' + '[' -z 1 ']' + '[' -z HTTPS ']' + '[' -z A ']' + '[' HTTPS = ALL ']' + '[' HTTPS = HTTP ']' + '[' HTTPS = HTTPS ']' + echo 'Creating files for HTTP server, may take time....' + p=0 + '[' 0 -lt 1 ']' + docker cp setup-http-files-for-image.sh 53d56383c53f:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 53d56383c53f //tmp/setup-http-files-for-image.sh 1 1 1MB A 1 0 + let p=p+1 + '[' 1 -lt 1 ']' + echo 'Done: All simulators started and configured' APP configuration: dmaap.certificateConfig.keyCert: /opt/app/datafile/etc/cert/cert.p12 dmaap.certificateConfig.keyPasswordPath: /opt/app/datafile/etc/cert/p12.pass dmaap.certificateConfig.trustedCa: /opt/app/datafile/etc/cert/trust.jks dmaap.certificateConfig.trustedCaPasswordPath: /opt/app/datafile/etc/cert/trust.pass dmaap.certificateConfig.httpsHostnameVerify: false dmaap.security.trustStorePath: /opt/app/datafile/etc/cert/trust.jks dmaap.security.trustStorePasswordPath: /opt/app/datafile/etc/cert/trust.pass dmaap.security.keyStorePath: /opt/app/datafile/etc/cert/cert.jks dmaap.security.keyStorePasswordPath: /opt/app/datafile/etc/cert/jks.pass dmaap.security.enableDmaapCertAuth: "false" dmaap.dmaapConsumerConfiguration.consumerGroup: OpenDcae-c12 dmaap.dmaapConsumerConfiguration.consumerId: C12 dmaap.dmaapConsumerConfiguration.timeoutMs: -1 sftp.security.strictHostKeyChecking: "true" streams_publishes: PM_MEAS_FILES: type: data_router dmaap_info: username: user log_url: https://drsim:3907/feedlog/2 publish_url: https://drsim:3907/publish/2 location: loc00 password: password publisher_id: 972.360gm streams_subscribes: dmaap_subscriber: dmaap_info: topic_url: http://mrsim:2222/events/unauthenticated.VES_NOTIFICATION_OUTPUT type: message_router Dfc-start: Creating docker network dfcnet, if needed sleep 1 sleep 2 sleep 3 sleep 4 sleep 5 sleep 6 sleep 7 sleep 8 sleep 9 sleep 10 + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + docker-compose up -d Pulling dfc (nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest)... manifest for nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest not found: manifest unknown: manifest unknown ++ docker ps -q --filter=name=dfc_app0 + DFC_APP= + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 1 + sleep 1 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 2 + sleep 2 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 3 + sleep 3 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 4 + sleep 4 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 5 + sleep 5 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 6 + sleep 6 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 7 + sleep 7 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 8 + sleep 8 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 9 + sleep 9 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 10 + sleep 10 Configured sftp sims: sftp-server0:22 Configured ftpes sims: ftpes-server-vsftpd0:21 Configured http sims: http-https-server0:80 Configured http JWT sims: http-https-server0:32000 Configured https sims: http-https-server0:443 Configured https with no authorization sims: http-https-server0:8080 Configured https JWT sims: http-https-server0:32100 Configured number of ftp servers: 1 Configured number of http/https/https with no auth/JWT servers: 1 each Groups detected: OpenDcae-c12:PM_MEAS_FILES Configured groups: OpenDcae-c12:PM_MEAS_FILES Configured changeid to file prefix mapping: PM_MEAS_FILES:A TC num: TC# 405 Using sftp-server0:22 for sftp server with index 0 for sftp server address and port in file urls. Using ftpes-server-vsftpd0:21 for ftpes server with index 0 for ftpes server address and port in file urls. Using http-https-server0:80 for http server with index 0 for http server address and port in file urls. Using http-https-server0:32000 for http jwt server with index 0 for http jwt server address and port in file urls. Using http-https-server0:443 for https server with index 0 for https server address and port in file urls. Using http-https-server0:8080 for https server with no authentication with index 0 for https server address and port in file urls. Using http-https-server0:32100 for https jwt server with index 0 for https jwt server address and port in file urls. Using up to 1 ftp servers, for each protocol for PNFs. Using up to 1 http/https/https with no auth/jwt servers, for each protocol for PNFs. * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off Killing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 Removing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 done * Running on http://0.0.0.0:2222/ (Press CTRL+C to quit) * Running on https://0.0.0.0:2223/ (Press CTRL+C to quit) 172.17.0.1 - - [16/Nov/2023 17:50:50] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:50:50] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:51:44] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:52:40] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:52:50] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:53:00] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:53:10] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:53:20] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:53:30] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [16/Nov/2023 17:53:40] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: oom-certservice-post-processor Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ plans/dcaegen2-collectors-datafile/Functional-suite.HTTP-Various-C... | FAIL | 5 tests, 0 passed, 5 failed ============================================================================== plans/dcaegen2-collectors-datafile/Functional-suite.HTTP-Various-C... | FAIL | 5 tests, 0 passed, 5 failed ============================================================================== plans/dcaegen2-collectors-datafile/Functional-suite | FAIL | 21 tests, 0 passed, 21 failed ============================================================================== Debug: /tmp/tmp.ZJS7Nx3MVm-robot-workdir/debug.log Output: /tmp/tmp.ZJS7Nx3MVm-robot-workdir/output.xml Log: /tmp/tmp.ZJS7Nx3MVm-robot-workdir/log.html Report: /tmp/tmp.ZJS7Nx3MVm-robot-workdir/report.html + RESULT=21 + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "$SHELLOPTS" | tr ':' ' ') + set +o braceexpand + for i in $(echo "$SHELLOPTS" | tr ':' ' ') + set +o hashall + for i in $(echo "$SHELLOPTS" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "$SHELLOPTS" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 21' RESULT: 21 + exit 21 + on_exit + rc=21 + [[ -n /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite ]] + [[ -n /tmp/tmp.ZJS7Nx3MVm-robot-workdir ]] + rsync -av /tmp/tmp.ZJS7Nx3MVm-robot-workdir/ /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/plans/dcaegen2-collectors-datafile/Functional-suite sending incremental file list ./ debug.log log.html output.xml report.html testplan.txt sent 2,059,294 bytes received 114 bytes 4,118,816.00 bytes/sec total size is 2,058,413 speedup is 1.00 + docker ps --format '{{.Image}}' + docker_stats + tee /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/plans/dcaegen2-collectors-datafile/Functional-suite/_sysinfo-2-after-robot.txt + echo '> top -bn1 | head -3' + top -bn1 + head -3 > top -bn1 | head -3 top - 17:53:47 up 1:12, 0 users, load average: 0.27, 0.21, 0.25 Tasks: 160 total, 1 running, 82 sleeping, 0 stopped, 0 zombie %Cpu(s): 1.8 us, 0.7 sy, 0.0 ni, 97.0 id, 0.5 wa, 0.0 hi, 0.0 si, 0.0 st + echo + echo '> free -h' + free -h > free -h total used free shared buff/cache available Mem: 31G 892M 26G 724K 4.3G 30G Swap: 1.0G 0B 1.0G + echo + echo '> docker ps' + docker ps > docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES + echo + echo '> docker stats --no-stream' > docker stats --no-stream + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS + echo + cd /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/plans/dcaegen2-collectors-datafile/Functional-suite + TEARDOWN=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/plans/dcaegen2-collectors-datafile/Functional-suite/teardown.sh + '[' -f /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/plans/dcaegen2-collectors-datafile/Functional-suite/teardown.sh ']' + echo 'Running teardown script /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/plans/dcaegen2-collectors-datafile/Functional-suite/teardown.sh' Running teardown script /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/plans/dcaegen2-collectors-datafile/Functional-suite/teardown.sh + source_safely /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/plans/dcaegen2-collectors-datafile/Functional-suite/teardown.sh + '[' -z /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/plans/dcaegen2-collectors-datafile/Functional-suite/teardown.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/plans/dcaegen2-collectors-datafile/Functional-suite/teardown.sh +++ docker ps --filter name=dfc_ -qa ++ running_containers=78c90653f590 +++ docker images -q ++ running_images='dd645c754dc2 aa6eebd2c259 52a4a984d6cd 1d12470fa662 cab7d4ddb83a f77990a9b766 4753d5a74f10 7f6e6b759f88 1d208ca2d7f7' ++ docker exec dfc_app0 cat /var/log/ONAP/application.log Error: No such container: dfc_app0 ++ docker logs dfc_mr-sim Error: No such container: dfc_mr-sim ++ rm -rf /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group/dfc_config_volume ++ '[' -z 78c90653f590 ']' ++ echo 'Stopping and removing containers' Stopping and removing containers ++ docker stop 78c90653f590 78c90653f590 ++ docker rm 78c90653f590 78c90653f590 ++ docker rmi dd645c754dc2 aa6eebd2c259 52a4a984d6cd 1d12470fa662 cab7d4ddb83a f77990a9b766 4753d5a74f10 7f6e6b759f88 1d208ca2d7f7 Untagged: ftpes_vsftpd:latest Deleted: sha256:dd645c754dc2997b9870debc0ed649dcbbf77820c565c54608b509afc78660a2 Deleted: sha256:ed07177fc35434542706c880a9c9857552f2d10d2f047392e5b40736dd0e7c8d Deleted: sha256:b275323a5d28c731d9a2a993b25cda5e208cebca6c8b929119c21ad92ffb3dae Deleted: sha256:963164f8e5508c912055c5727fe4d0bea5eafc91d4fe82c8643865d6857c1c20 Deleted: sha256:835bab78ead0f8e81bb8e0ac92f8ec33b2de86c0badd238a278e087efdf980c2 Deleted: sha256:de5e2e83e2f38bca77a62aa26b4dbe772bcfdb9d75aceebb441458a5ac654e0e Untagged: drsim_common:latest Deleted: sha256:aa6eebd2c25928da317f9ec5a994e4d0171437cb161265a3c0aa9f231a942c50 Deleted: sha256:c0cd72aeddb9936b106af7d180bece6dd4645f872e63ad0b6e799789c5b10be3 Deleted: sha256:9560dc3d39b0707025a410673482c1198af504e4a685afee7722bd189d53677a Deleted: sha256:3c0857110b038566bd2be1d976f95e76b53d71717c68c6cf74d775ac66e0fc37 Deleted: sha256:77065a1bc8773809d1e9f2e21b85de7f62604c6274ce2580221f9bd6e4a31923 Deleted: sha256:c52ed148d9644d745d51e9023993879b8e51abfe4777fcbbe08fac6a1ab77c77 Deleted: sha256:10abd97174a8a63e07a9b2162f1144ddde8cbf1e386873d818d0af4e2e078bd8 Deleted: sha256:891cf870682da0608438eb413cc9bcba16b26bba77380ca2ecb67501a2e2446f Deleted: sha256:789450c0deb0175882990a10eecd62dbd671626efd2e0aa612fb60d06b27c238 Deleted: sha256:7b4ff7cc7e871ba1e720588743e4b11cac6f0cda70b87ccc2c5faea4b4c2294e Deleted: sha256:572d844c0f51fcb451eabe80b9e1cb1bdefabcd07bcb2bde48c44d678841537e Deleted: sha256:7b872f932cceab2c048e78b628186096d9cabe764ce937c85cd25c0fecc6e183 Untagged: mrsim:latest Deleted: sha256:52a4a984d6cdc762ed43a79d2b8b2fd67301c5a4b8930a8e00c460fc3ded0bb3 Deleted: sha256:f2b6f432c4d52e7909496f55db3e55257b192ba2cfe13cecf388052dea0221e5 Deleted: sha256:e81636fca8c96fd2e3eb4c6869795ef1fcf1cfe817f2281ccbcc3eeffc0e0e70 Deleted: sha256:07ccaebe131648637032250d348fe4cea6b0e1613f975d5d7cb164f8b9afbfe0 Deleted: sha256:e4953a18d8e33b503068f43b0a3c10c5de6937a2ee6dbbb330564e3379509acf Deleted: sha256:35f2482d0c054dc8b6e9be2c55699990eea182e9a8b147b682d63c396b103930 Untagged: node:14 Untagged: node@sha256:a158d3b9b4e3fa813fa6c8c590b8f0a860e015ad4e59bbce5744d2f6fd8461aa Deleted: sha256:1d12470fa662a2a5cb50378dcdc8ea228c1735747db410bbefb8e2d9144b5452 Deleted: sha256:d7f4fb376c48badb9879c97df87580480be3f4dcad2e2f33425792d164933fa3 Deleted: sha256:71fe964a0bdce3b1795d90eb1f8a501dd719e8612faeb40783706c962339c75c Deleted: sha256:559303f34408584d79e77eab1ec15eb80d04d753a87a38c8da31542440c0a64a Deleted: sha256:483ca60b49ed28025355f381d9e2b759e67e66b9dfb266c66f57acf0cb47033e Deleted: sha256:f1edb12649962bbc5048b132c2201e98d474b9f99e6936d41633b43d6e7bd91d Deleted: sha256:9f9d995a1674f94b553c90e4eb3502db04a8220403f3add46486659752a3a108 Deleted: sha256:a61e818f0b1f7522e3a27211026f564f1fd98ae2034229d1233623e92a6a7961 Deleted: sha256:16c88c4e67dd8ed4c67c0e9c1dae7df697f4607eab4c3d2f12b1b18206a6a6e4 Deleted: sha256:b2dba74777543b60e1a5be6da44e67659f51b8df1e96922205a5dde6b92dda3c Untagged: panubo/vsftpd:latest Untagged: panubo/vsftpd@sha256:da1bc81b1d4c62c919109316de50150159a4d38bbc6a21cf2d09f31222e88fef Deleted: sha256:cab7d4ddb83a2ae899d0ae6f5c9ee2a58c7f686536148a3eaba716eefd3e30d0 Deleted: sha256:f27643cf26a10ab952f468dba09acb29379fa8a69874f3b5bdc7a0deaa676361 Deleted: sha256:b21123430448f63b84c29762c92534c8ef18ae92ea8613cb16a8169a7f4dd27c Deleted: sha256:0e31430dcd0457c0ff0fe1155867be666de882396c713eca65d60ae78fc00043 Deleted: sha256:09101087ce304e49631eee497a47ccae5455e6ee0318724387c352df4bf48513 Deleted: sha256:a5be95ddddb66ad59580cfc541fd02b6e2bcb7889f6cf917cd8f6988d359861b Deleted: sha256:9434d2f3ceed8af0fc5a8090eb014c016c8a06ebd3c57712af77f40a7c19bf6e Deleted: sha256:f52e05ae36a391714a4ee9c6ae55720fba5d1c72a74b94782ec330412849a73e Untagged: nexus3.onap.org:10001/onap/org.onap.integration.nfsimulator.pmhttpsserver:1.0.0 Untagged: nexus3.onap.org:10001/onap/org.onap.integration.nfsimulator.pmhttpsserver@sha256:0802f3b71559381dbecb430745b9cc5d06178710cb694d781834bd916726b109 Deleted: sha256:f77990a9b76675c18f4e78f9a0a68845ea0144b63369dd9d7cf5d21746b5f762 Deleted: sha256:263744b18374c4abc2229f5bc60afe3960ea41a1189748ac47b6384a3ce9183f Deleted: sha256:0099919c6b54594d412121822fa3be24f459c8e45004b8a3633a7b2029a18710 Deleted: sha256:b56aa8d4f39a27a201965b366e43818ab7ef73ef2edbba638221129083de776b Deleted: sha256:e17aadc253a0acb6bf750200310a53e3d915f2e0f6c3165638ae83621df1e781 Deleted: sha256:8b124fd3a4f92691806fd0da2ca0dcd15927ec6254adb1e01e40dbc7d2cf6fe7 Deleted: sha256:5b1495a1625f70de0bb3c2a01012034d918327f2f07a2d8d93b507b03614d057 Deleted: sha256:51bf1606ce5d812143fbbbdf43ada57c7f1e62f8deb3cc8f359f4e55d3c9f61f Deleted: sha256:903af4269ca5774c681ce68692454cc9157c275633e7e2e0f9b2f0cd1d3e3abd Deleted: sha256:f5301822312be538c5ef94bf6fc7b505e1537fe7648ea288907acd2be0bc2b37 Deleted: sha256:979082781886af83d4ca4d82a530aa1d63f74b7b502ecd6dbbb88cc2f1000d8b Deleted: sha256:a22b922424de2483cc4fa028df59aea2ea8d5e0f3b80a5866bb9ec6622ce41a7 Deleted: sha256:3f8ce108707699c22fcbb90a074fae3be1f1fa8a18d53c68972bca399d55e5da Deleted: sha256:0f4dc907a033f73228d81e0ba85e9ac0da386f40d0d99a6055968bc9d13b64c6 Deleted: sha256:fc9d4bfd06fb073dca1f1d0db1ebc6ddd27b60d03ef1d9143876b7926f03bb6e Deleted: sha256:14a1ca976738392ffa2ae4e54934ba28ab9cb756e924ad9297a4795a4adbfdf6 Untagged: nexus3.onap.org:10001/onap/org.onap.oom.platform.cert-service.oom-certservice-post-processor:2.3.3 Untagged: nexus3.onap.org:10001/onap/org.onap.oom.platform.cert-service.oom-certservice-post-processor@sha256:30dbdb0c20bef02a4bd0b4cec5d1fe6190032ec022feb0bb33e48ca46c2ec4dd Deleted: sha256:4753d5a74f105e6ac171561824ab556de28b1fc2dc84a8486fe64e93794d1981 Deleted: sha256:7f514c032b59a0b22049631ec51e8baf2becf169d99b608ab741f11ba861835e Deleted: sha256:4fc2e0cd42bc95996cfa5c13cc231b0aaea0290b47e5dd6b8252bcd908ff3c62 Deleted: sha256:fec5a20c3b668735399bdfa883d22e4d8c34c737ad50b9b7b6b62d03823c78e7 Deleted: sha256:11f9e84ad2357d0474f1c3ee34c80f237875fd4ea65573faaed4b84fe2051e0c Deleted: sha256:c27d6e24611a34970c4bd6836994a64f91a023d7bf703dcb4f9a897b4b775cbe Deleted: sha256:e09a23bb8d0c8ba9b5cf479ec4d9ccb0a5797e71cd3d4912f11acc2f57027190 Deleted: sha256:cb42413394c4059335228c137fe884ff3ab8946a014014309676c25e3ac86864 Untagged: nexus3.onap.org:10001/onap/integration-python:8.0.0 Untagged: nexus3.onap.org:10001/onap/integration-python@sha256:571815a49714bb54144ae07975177598c146357caa979cade22f3b635df2d1ba Deleted: sha256:7f6e6b759f885900d20adb10b39b75c04251bf0723aaaeacdb9e34eb971a2fc7 Deleted: sha256:4c6b631231b92a57c9d45f43b6d19eb01b31611eabb2a440fc8014d03bd2e6be Deleted: sha256:66604bb690d7ccdba67800376f20617e4821baf9c716534a399288bd9845be12 Deleted: sha256:49c9ddedef77ac89647c786c3bd53c7c6bb9db897a0465087e1847afeb5c9eba Deleted: sha256:2d87c3c42dcce905c4f0aafd9657cc0247a9a79c461f0e8abf81a2c8523dacfb Deleted: sha256:25370907defafe1eacf55dd1df121dd16890773e4a3d0637629de56ed6c69198 Deleted: sha256:f4666769fca7a1db532e3de298ca87f7e3124f74d17e1937d1127cb17058fead Untagged: atmoz/sftp:alpine-3.7 Untagged: atmoz/sftp@sha256:f4e6e8bc2f2c30c3f0ca935d991f21f5b2e52be440551de94f89fa5c945303e4 Deleted: sha256:1d208ca2d7f7fe0b4a8278cdc4e0026cff68fe6591c047cb539574428ac08152 Deleted: sha256:b9e75843530a2b7def62317491403c5b7bad255e73ca6906bdaf87172243fd0c Deleted: sha256:33b0af64210b47da00b5c8a96da2ccbb0f958b57edb6449d2459c6c6b0c1bdda Deleted: sha256:5b8a222c4e8b01cf311dc13292d1781894900c6e842b984dc5ac641d9b818e95 Deleted: sha256:d6da3c54c8f3a43215d51cc0d43eff9759624996e40aaf11e4be5a555c038c32 + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "$SHELLOPTS" | tr ':' ' ') + set +o braceexpand + for i in $(echo "$SHELLOPTS" | tr ':' ' ') + set +o hashall + for i in $(echo "$SHELLOPTS" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "$SHELLOPTS" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + exit 21 Build step 'Execute shell' marked build as failure $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 2155 killed; [ssh-agent] Stopped. Robot results publisher started... -Parsing output xml: Done! WARNING! Could not find file: **/log.html WARNING! Could not find file: **/report.html -Copying log files to build dir: Done! -Assigning results to build: Done! -Checking thresholds: Done! Done publishing Robot results. [PostBuildScript] - [INFO] Executing post build scripts. [dcaegen2-collectors-datafile-master-csit-Functional-suite] $ /bin/bash /tmp/jenkins17389930034501331403.sh ---> sysstat.sh [dcaegen2-collectors-datafile-master-csit-Functional-suite] $ /bin/bash /tmp/jenkins4213159572141584886.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite + START_PACKAGES=/tmp/packages_start.txt + END_PACKAGES=/tmp/packages_end.txt + DIFF_PACKAGES=/tmp/packages_diff.txt + PACKAGES=/tmp/packages_start.txt + '[' /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + dpkg -l + grep '^ii' + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite ']' + mkdir -p /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/ [dcaegen2-collectors-datafile-master-csit-Functional-suite] $ /bin/bash /tmp/jenkins14569439517377375005.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-VWof from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-VWof/bin to PATH INFO: Running in OpenStack, capturing instance metadata [dcaegen2-collectors-datafile-master-csit-Functional-suite] $ /bin/bash /tmp/jenkins16243264062582208418.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite@tmp/config14745852838937565817tmp Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] Run condition [Regular expression match] preventing perform for step [Provide Configuration files] [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SERVER_ID=logs [EnvInject] - Variables injected successfully. [dcaegen2-collectors-datafile-master-csit-Functional-suite] $ /bin/bash /tmp/jenkins1410658316997651242.sh ---> create-netrc.sh [dcaegen2-collectors-datafile-master-csit-Functional-suite] $ /bin/bash /tmp/jenkins9614754518600331301.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-VWof from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-VWof/bin to PATH [dcaegen2-collectors-datafile-master-csit-Functional-suite] $ /bin/bash /tmp/jenkins2675273479636645706.sh ---> sudo-logs.sh Archiving 'sudo' log.. [dcaegen2-collectors-datafile-master-csit-Functional-suite] $ /bin/bash /tmp/jenkins15005480450438056011.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-VWof from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible. virtualenv 20.24.6 requires platformdirs<4,>=3.9.1, but you have platformdirs 4.0.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-VWof/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-8 INFO: Archiving Costs [dcaegen2-collectors-datafile-master-csit-Functional-suite] $ /bin/bash -l /tmp/jenkins457546657103718753.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-VWof from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-VWof/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/dcaegen2-collectors-datafile-master-csit-Functional-suite/1720 INFO: archiving workspace using pattern(s): -p **/target/surefire-reports/*-output.txt Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-ubuntu1804-docker-8c-8g-362 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 8 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2799.998 BogoMIPS: 5599.99 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 8 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 724K 3.2G 1% /run /dev/vda1 155G 11G 145G 7% / tmpfs 16G 0 16G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 3.2G 0 3.2G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 32167 955 28564 0 2647 30762 Swap: 1023 0 1023 ---> ip addr: 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: mtu 1458 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:24:58:d0 brd ff:ff:ff:ff:ff:ff inet 10.30.107.104/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 82002sec preferred_lft 82002sec inet6 fe80::f816:3eff:fe24:58d0/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:ee:42:6e:f5 brd ff:ff:ff:ff:ff:ff inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 valid_lft forever preferred_lft forever inet6 fe80::42:eeff:fe42:6ef5/64 scope link valid_lft forever preferred_lft forever 14: br-a05095524f5e: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:e3:9e:b3:0a brd ff:ff:ff:ff:ff:ff inet 172.17.0.1/16 brd 172.17.255.255 scope global br-a05095524f5e valid_lft forever preferred_lft forever inet6 fe80::42:e3ff:fe9e:b30a/64 scope link valid_lft forever preferred_lft forever 15: br-95f6a049f55e: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:9d:ec:3f:93 brd ff:ff:ff:ff:ff:ff inet 172.18.0.1/16 brd 172.18.255.255 scope global br-95f6a049f55e valid_lft forever preferred_lft forever inet6 fe80::42:9dff:feec:3f93/64 scope link valid_lft forever preferred_lft forever ---> sar -b -r -n DEV: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-362) 11/16/23 _x86_64_ (8 CPU) 16:41:30 LINUX RESTART (8 CPU) 16:42:01 tps rtps wtps bread/s bwrtn/s 16:43:01 115.61 39.73 75.88 1841.08 26904.95 16:44:01 200.00 15.35 184.65 1630.00 42267.36 16:45:01 278.00 4.13 273.87 556.04 79257.06 16:46:01 26.11 0.20 25.91 28.80 19804.97 16:47:01 15.30 0.05 15.25 12.53 19531.41 16:48:01 14.36 0.00 14.36 0.00 19379.70 16:49:01 134.36 0.17 134.19 29.86 22226.99 16:50:01 7.65 0.02 7.63 3.33 6467.46 16:51:01 1.10 0.00 1.10 0.00 14.26 16:52:01 111.36 0.07 111.30 9.60 2784.34 16:53:01 4.48 0.02 4.47 2.93 74.39 16:54:01 1.83 0.00 1.83 0.00 21.33 16:55:01 113.66 0.05 113.61 6.53 2865.92 16:56:01 8.13 0.02 8.12 2.67 162.11 16:57:01 6.60 3.53 3.07 30.66 43.32 16:58:01 58.37 0.03 58.34 8.00 891.72 16:59:01 61.71 0.03 61.67 1.07 2082.99 17:00:01 2.20 0.00 2.20 0.00 38.39 17:01:01 1.58 0.00 1.58 0.00 19.73 17:02:01 121.75 0.05 121.70 6.93 2990.17 17:03:01 2.83 0.00 2.83 0.00 45.55 17:04:01 1.33 0.00 1.33 0.00 17.06 17:05:01 113.90 0.08 113.81 11.33 2746.21 17:06:01 9.60 0.00 9.60 0.00 169.17 17:07:01 1.57 0.00 1.57 0.00 19.20 17:08:01 126.46 0.00 126.46 0.00 2942.18 17:09:01 10.33 0.02 10.31 0.93 208.10 17:10:01 3.90 0.97 2.93 20.66 45.99 17:11:01 31.73 0.00 31.73 0.00 389.67 17:12:01 110.81 0.00 110.81 0.00 2777.87 17:13:01 2.37 0.00 2.37 0.00 40.39 17:14:01 1.33 0.00 1.33 0.00 16.93 17:15:01 130.87 0.02 130.86 0.80 2962.35 17:16:01 3.87 0.00 3.87 0.00 532.84 17:17:01 0.95 0.02 0.93 0.13 12.00 17:18:01 125.61 0.02 125.60 2.67 2864.19 17:19:01 7.15 0.00 7.15 0.00 132.49 17:20:01 2.18 0.00 2.18 0.00 26.40 17:21:01 111.66 0.00 111.66 0.00 2526.91 17:22:01 19.48 0.02 19.46 0.27 417.53 17:23:01 2.95 0.00 2.95 0.00 43.99 17:24:01 2.03 0.00 2.03 0.00 25.46 17:25:01 129.96 0.03 129.93 2.27 2898.05 17:26:01 3.03 0.00 3.03 0.00 48.10 17:27:01 1.38 0.00 1.38 0.00 17.06 17:28:01 132.86 0.02 132.84 3.20 2851.92 17:29:01 3.15 0.00 3.15 0.00 62.12 17:30:01 2.13 0.00 2.13 0.00 29.60 17:31:01 121.03 0.00 121.03 0.00 2686.97 17:32:01 11.83 0.00 11.83 0.00 228.50 17:33:01 2.20 0.00 2.20 0.00 33.33 17:34:01 24.78 0.00 24.78 0.00 283.55 17:35:01 107.45 0.02 107.43 0.13 2610.10 17:36:01 2.78 0.02 2.77 1.07 41.46 17:37:01 1.53 0.00 1.53 0.00 18.66 17:38:01 132.73 0.00 132.73 0.00 2981.77 17:39:01 2.50 0.00 2.50 0.00 40.12 17:40:01 2.25 0.00 2.25 0.00 26.53 17:41:01 131.73 0.00 131.73 0.00 2945.38 17:42:01 11.88 0.65 11.23 18.93 171.94 17:43:01 1.27 0.00 1.27 0.00 16.00 17:44:01 119.25 0.02 119.23 4.27 2585.84 17:45:01 19.55 0.00 19.55 0.00 415.40 17:46:01 3.45 0.00 3.45 0.00 48.78 17:47:01 1.10 0.00 1.10 0.00 14.80 17:48:01 139.35 0.03 139.32 6.66 2955.95 17:49:01 2.57 0.00 2.57 0.00 39.59 17:50:01 1.25 0.00 1.25 0.00 17.06 17:51:01 147.61 0.03 147.58 1.33 3073.35 17:52:01 5.08 0.00 5.08 0.00 697.75 17:53:01 1.90 0.00 1.90 0.00 23.73 17:54:01 79.34 0.68 78.65 37.33 1915.28 Average: 47.98 0.92 47.07 59.49 4120.03 16:42:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 16:43:01 30091092 31717680 2848128 8.65 72964 1862232 1430944 4.21 869332 1694200 184792 16:44:01 29587240 31695148 3351980 10.18 98340 2292764 1585704 4.67 989832 2020928 864 16:45:01 27161540 31100532 5777680 17.54 155792 3929672 11438432 33.65 1643516 3566300 900 16:46:01 27417360 31340776 5521860 16.76 156604 3919312 11470036 33.75 1375704 3539128 136 16:47:01 27409192 31333720 5530028 16.79 156708 3919748 11457008 33.71 1382644 3538324 28 16:48:01 27408120 31332760 5531100 16.79 156752 3919768 11458496 33.71 1383496 3538344 28 16:49:01 27405468 31337824 5533752 16.80 159264 3921668 11509784 33.86 1424472 3491864 204 16:50:01 27391080 31324460 5548140 16.84 159328 3921856 11457732 33.71 1437588 3491648 24 16:51:01 27389012 31322484 5550208 16.85 159384 3921876 11478652 33.77 1439644 3491668 68 16:52:01 27391208 31330772 5548012 16.84 161356 3923092 11548352 33.98 1430592 3491292 928 16:53:01 27374672 31315160 5564548 16.89 161412 3923320 11515648 33.88 1445056 3491396 16 16:54:01 27373560 31314100 5565660 16.90 161456 3923332 11529664 33.92 1445960 3491376 196 16:55:01 27252864 31223528 5686356 17.26 163504 3945012 12336168 36.30 1547384 3511916 2736 16:56:01 27364984 31312084 5574236 16.92 163588 3924812 11619944 34.19 1448068 3491968 524 16:57:01 27361092 31309248 5578128 16.93 164460 3924892 11643440 34.26 1451172 3492024 48 16:58:01 27635920 31599664 5303300 16.10 165388 3935272 1723032 5.07 1251324 3502992 26596 16:59:01 27364524 31318364 5574696 16.92 166744 3926088 11478828 33.77 1442696 3492524 52 17:00:01 27353108 31307508 5586112 16.96 166772 3926156 11397772 33.53 1453292 3492528 336 17:01:01 27357132 31311604 5582088 16.95 166788 3926176 11423252 33.61 1449404 3492548 220 17:02:01 27356196 31315940 5583024 16.95 168920 3927244 11619788 34.19 1443964 3492980 60 17:03:01 27339936 31300452 5599284 17.00 168964 3927360 11585456 34.09 1458244 3493084 80 17:04:01 27337488 31298068 5601732 17.01 168968 3927380 11624264 34.20 1460192 3493100 88 17:05:01 27348148 31313584 5591072 16.97 170508 3928844 11584880 34.09 1445756 3493756 3864 17:06:01 27329312 31295440 5609908 17.03 170564 3928988 11597688 34.12 1461872 3493888 296 17:07:01 27332796 31298952 5606424 17.02 170592 3928996 11595148 34.12 1458012 3493892 44 17:08:01 27159588 31152020 5779632 17.55 172300 3947236 12673516 37.29 1626448 3511644 2192 17:09:01 27326384 31297440 5612836 17.04 172508 3929896 11692332 34.40 1460208 3494488 140 17:10:01 27318480 31290912 5620740 17.06 172564 3930568 11631688 34.22 1465836 3494944 176 17:11:01 27445416 31414536 5493804 16.68 172832 3930016 8928736 26.27 1366400 3494808 0 17:12:01 27323784 31301456 5615436 17.05 174624 3931684 11512428 33.87 1455692 3495736 68 17:13:01 27310700 31289004 5628520 17.09 174652 3931772 11483412 33.79 1467384 3495768 120 17:14:01 27312448 31290816 5626772 17.08 174692 3931792 11454248 33.70 1465504 3495788 284 17:15:01 27314500 31297552 5624720 17.08 176204 3933104 11572840 34.05 1457420 3496692 24 17:16:01 27299904 31283600 5639316 17.12 176220 3933248 11495560 33.82 1470524 3496824 16 17:17:01 27303704 31287448 5635516 17.11 176236 3933260 11521036 33.90 1466092 3496836 68 17:18:01 27305132 31293280 5634088 17.10 177796 3934484 11548184 33.98 1461700 3497976 2180 17:19:01 27290776 31279600 5648444 17.15 177840 3934648 11508744 33.86 1473292 3498120 244 17:20:01 27295088 31283960 5644132 17.13 177868 3934652 11528364 33.92 1467768 3498124 36 17:21:01 27324100 31332144 5615120 17.05 178840 3946716 5900296 17.36 1488224 3510364 516 17:22:01 27289760 31282664 5649460 17.15 179272 3935560 11541580 33.96 1469088 3498716 136 17:23:01 27280680 31274080 5658540 17.18 179288 3935604 11441044 33.66 1476636 3498724 36 17:24:01 27284776 31278220 5654444 17.17 179312 3935632 11461876 33.72 1472328 3498744 16 17:25:01 27286340 31283884 5652880 17.16 180656 3936440 11539312 33.95 1466556 3499428 32 17:26:01 27274036 31272112 5665184 17.20 180680 3936552 11501988 33.84 1477744 3499532 280 17:27:01 27275904 31274008 5663316 17.19 180696 3936568 11486876 33.80 1475644 3499548 48 17:28:01 27281336 31283952 5657884 17.18 181988 3937568 11624144 34.20 1462444 3500512 1048 17:29:01 27263060 31266184 5676160 17.23 182020 3937712 11559868 34.01 1479404 3500536 468 17:30:01 27260376 31263540 5678844 17.24 182044 3937716 11564452 34.03 1482216 3500540 204 17:31:01 26931888 30960236 6007332 18.24 183032 3956032 15134940 44.53 1795456 3518492 2300 17:32:01 27259972 31267064 5679248 17.24 183192 3938712 11558480 34.01 1476200 3501316 52 17:33:01 27254344 31261960 5684876 17.26 183204 3938764 11499412 33.83 1481004 3501360 32 17:34:01 27357436 31362564 5581784 16.95 183352 3938476 9297140 27.35 1398640 3501384 776 17:35:01 27252328 31263628 5686892 17.26 184332 3939424 11442884 33.67 1477576 3501864 56 17:36:01 27243392 31255180 5695828 17.29 184348 3939548 11417404 33.59 1486948 3501984 244 17:37:01 27247256 31259076 5691964 17.28 184356 3939564 11405536 33.56 1482820 3502000 60 17:38:01 27250852 31265972 5688368 17.27 185496 3940528 11597472 34.12 1475884 3502744 32 17:39:01 27234716 31250452 5704504 17.32 185508 3940632 11554552 34.00 1490136 3502844 248 17:40:01 27239188 31254944 5700032 17.30 185516 3940644 11568332 34.04 1485060 3502856 16 17:41:01 27240200 31260728 5699020 17.30 186624 3941640 11637212 34.24 1480216 3503840 3152 17:42:01 27210596 31235392 5728624 17.39 186684 3942376 11598120 34.12 1503340 3503860 20 17:43:01 27211320 31236140 5727900 17.39 186700 3942384 11617036 34.18 1502060 3503868 44 17:44:01 27093920 31136688 5845300 17.75 187364 3954800 8527080 25.09 1661344 3516512 548 17:45:01 27201440 31228612 5737780 17.42 187576 3943648 11630500 34.22 1509204 3505028 76 17:46:01 27193176 31220756 5746044 17.44 187588 3943712 11595612 34.12 1516480 3505080 184 17:47:01 27196868 31224484 5742352 17.43 187604 3943732 11605460 34.15 1512732 3505100 52 17:48:01 27197204 31228840 5742016 17.43 188548 3944528 11601500 34.13 1506744 3505912 72 17:49:01 27184676 31216836 5754544 17.47 188576 3944632 11540464 33.95 1517804 3506004 120 17:50:01 27185356 31217632 5753864 17.47 188588 3944716 11528796 33.92 1516460 3506088 236 17:51:01 27192100 31229152 5747120 17.45 189684 3946416 11589640 34.10 1503588 3507708 1396 17:52:01 27174152 31211748 5765068 17.50 189724 3946560 11540720 33.96 1519592 3507828 528 17:53:01 27177832 31215448 5761388 17.49 189736 3946568 11581436 34.08 1515324 3507840 44 17:54:01 29209040 31466704 3730180 11.32 190300 2301684 1799472 5.29 1241200 1983332 37860 Average: 27387480 31291285 5551740 16.85 173526 3860667 10877109 32.00 1457633 3435596 3883 16:42:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 16:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:43:01 ens3 181.01 117.91 1227.89 33.62 0.00 0.00 0.00 0.00 16:43:01 lo 1.47 1.47 0.16 0.16 0.00 0.00 0.00 0.00 16:44:01 docker0 1.05 1.32 0.17 7.41 0.00 0.00 0.00 0.00 16:44:01 veth717565d 1.05 1.42 0.19 7.42 0.00 0.00 0.00 0.00 16:44:01 ens3 99.07 66.37 1301.84 12.73 0.00 0.00 0.00 0.00 16:44:01 lo 2.00 2.00 0.19 0.19 0.00 0.00 0.00 0.00 16:45:01 vethdb8219a 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:45:01 vethbca4ff1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:45:01 vethb989006 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:45:01 veth61eabf4 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:46:01 veth61eabf4 2.03 2.53 1.22 0.61 0.00 0.00 0.00 0.00 16:46:01 veth320ebba 0.22 0.62 0.09 0.05 0.00 0.00 0.00 0.00 16:46:01 vethf4849f1 0.22 0.72 0.11 0.05 0.00 0.00 0.00 0.00 16:46:01 veth6063904 1.17 1.72 0.68 0.35 0.00 0.00 0.00 0.00 16:47:01 veth61eabf4 0.27 0.28 0.12 0.05 0.00 0.00 0.00 0.00 16:47:01 veth320ebba 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:47:01 vethf4849f1 0.10 0.15 0.01 0.01 0.00 0.00 0.00 0.00 16:47:01 veth6063904 1.10 1.12 0.66 0.31 0.00 0.00 0.00 0.00 16:48:01 veth61eabf4 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:48:01 veth320ebba 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:48:01 vethf4849f1 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:48:01 veth6063904 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:49:01 veth5b88ab9 0.12 0.83 0.01 0.05 0.00 0.00 0.00 0.00 16:49:01 veth12b63f5 0.12 0.87 0.01 0.05 0.00 0.00 0.00 0.00 16:49:01 docker0 9.85 13.28 1.79 50.55 0.00 0.00 0.00 0.00 16:49:01 veth76b51eb 2.03 2.80 1.22 0.63 0.00 0.00 0.00 0.00 16:50:01 veth5b88ab9 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:50:01 veth12b63f5 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:50:01 veth76b51eb 0.28 0.30 0.12 0.05 0.00 0.00 0.00 0.00 16:51:01 veth5b88ab9 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:51:01 veth12b63f5 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:51:01 veth76b51eb 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:52:01 vethf0997ce 0.22 0.90 0.09 0.07 0.00 0.00 0.00 0.00 16:52:01 veth03eefe0 0.23 1.02 0.11 0.08 0.00 0.00 0.00 0.00 16:52:01 vethdf2dc74 0.33 1.12 0.13 0.10 0.00 0.00 0.00 0.00 16:52:01 veth2e869e6 0.22 0.90 0.09 0.07 0.00 0.00 0.00 0.00 16:53:01 vethf0997ce 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 16:53:01 veth03eefe0 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 16:53:01 vethdf2dc74 1.95 1.97 1.21 0.58 0.00 0.00 0.00 0.00 16:53:01 veth2e869e6 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 16:54:01 vethf0997ce 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:54:01 veth03eefe0 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:54:01 vethdf2dc74 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:54:01 veth2e869e6 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:55:01 vethfbe1f0b 0.00 0.12 0.00 0.01 0.00 0.00 0.00 0.00 16:55:01 veth0bfca24 0.00 0.13 0.00 0.01 0.00 0.00 0.00 0.00 16:55:01 veth57d3426 0.00 0.10 0.00 0.01 0.00 0.00 0.00 0.00 16:55:01 veth52eaef9 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:56:01 vethfbe1f0b 0.22 0.82 0.09 0.06 0.00 0.00 0.00 0.00 16:56:01 veth0bfca24 0.22 0.78 0.09 0.06 0.00 0.00 0.00 0.00 16:56:01 veth57d3426 0.28 1.00 0.11 0.07 0.00 0.00 0.00 0.00 16:56:01 veth0e15782 2.28 3.12 1.34 0.68 0.00 0.00 0.00 0.00 16:57:01 vethfbe1f0b 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:57:01 veth0bfca24 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:57:01 veth57d3426 0.03 0.05 0.00 0.00 0.00 0.00 0.00 0.00 16:57:01 veth0e15782 0.02 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:58:01 docker0 9.85 13.28 1.79 50.55 0.00 0.00 0.00 0.00 16:58:01 br-a05095524f5e 59.61 61.91 29.58 14.02 0.00 0.00 0.00 0.00 16:58:01 br-95f6a049f55e 0.00 0.15 0.00 0.01 0.00 0.00 0.00 0.00 16:58:01 ens3 1011.76 618.70 12463.63 108.21 0.00 0.00 0.00 0.00 16:59:01 veth099ecf9 0.13 0.83 0.01 0.05 0.00 0.00 0.00 0.00 16:59:01 veth8970237 1.98 2.82 1.22 0.63 0.00 0.00 0.00 0.00 16:59:01 veth941c967 0.12 0.83 0.01 0.05 0.00 0.00 0.00 0.00 16:59:01 veth4d593d3 0.22 0.90 0.09 0.07 0.00 0.00 0.00 0.00 17:00:01 veth099ecf9 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:00:01 veth8970237 0.28 0.30 0.12 0.05 0.00 0.00 0.00 0.00 17:00:01 veth941c967 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:00:01 veth4d593d3 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:01:01 veth099ecf9 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:01:01 veth8970237 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:01:01 veth941c967 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:01:01 veth4d593d3 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:02:01 veth75ca88e 0.22 0.90 0.09 0.07 0.00 0.00 0.00 0.00 17:02:01 vethbcab557 0.27 1.00 0.10 0.08 0.00 0.00 0.00 0.00 17:02:01 docker0 9.85 13.28 1.79 50.55 0.00 0.00 0.00 0.00 17:02:01 veth7bec83d 0.33 1.12 0.13 0.10 0.00 0.00 0.00 0.00 17:03:01 veth75ca88e 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:03:01 vethbcab557 0.15 0.19 0.01 0.01 0.00 0.00 0.00 0.00 17:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:03:01 veth7bec83d 1.97 2.00 1.22 0.59 0.00 0.00 0.00 0.00 17:04:01 veth75ca88e 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:04:01 vethbcab557 0.50 0.52 0.04 0.04 0.00 0.00 0.00 0.00 17:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:04:01 veth7bec83d 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:05:01 vethc13ba4c 0.22 0.85 0.09 0.06 0.00 0.00 0.00 0.00 17:05:01 vethef7cccd 0.27 0.97 0.10 0.07 0.00 0.00 0.00 0.00 17:05:01 veth823bf42 0.23 0.98 0.11 0.07 0.00 0.00 0.00 0.00 17:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:06:01 vethc13ba4c 0.00 0.05 0.00 0.00 0.00 0.00 0.00 0.00 17:06:01 vethef7cccd 0.15 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:06:01 veth823bf42 0.10 0.18 0.01 0.01 0.00 0.00 0.00 0.00 17:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:07:01 vethc13ba4c 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:07:01 vethef7cccd 0.27 0.28 0.02 0.02 0.00 0.00 0.00 0.00 17:07:01 veth823bf42 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:08:01 veth6efeff4 0.00 0.10 0.00 0.01 0.00 0.00 0.00 0.00 17:08:01 vethd766b3c 0.00 0.12 0.00 0.01 0.00 0.00 0.00 0.00 17:08:01 veth771a001 0.00 0.15 0.00 0.01 0.00 0.00 0.00 0.00 17:08:01 vethfd81f10 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:09:01 veth6efeff4 0.22 0.80 0.09 0.06 0.00 0.00 0.00 0.00 17:09:01 vethd766b3c 0.12 0.73 0.01 0.04 0.00 0.00 0.00 0.00 17:09:01 veth771a001 0.12 0.73 0.01 0.04 0.00 0.00 0.00 0.00 17:09:01 vethfd81f10 0.27 1.00 0.10 0.08 0.00 0.00 0.00 0.00 17:10:01 veth6efeff4 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:10:01 vethd766b3c 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:10:01 veth771a001 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:10:01 vethfd81f10 0.27 0.28 0.02 0.02 0.00 0.00 0.00 0.00 17:11:01 docker0 9.85 13.28 1.79 50.55 0.00 0.00 0.00 0.00 17:11:01 vethe547047 2.30 3.15 1.34 0.68 0.00 0.00 0.00 0.00 17:11:01 br-a05095524f5e 118.93 123.56 59.15 28.03 0.00 0.00 0.00 0.00 17:11:01 veth3f7d573 2.25 3.13 1.34 0.68 0.00 0.00 0.00 0.00 17:12:01 veth69f07de 2.00 2.82 1.22 0.63 0.00 0.00 0.00 0.00 17:12:01 veth71ae565 2.00 2.80 1.22 0.63 0.00 0.00 0.00 0.00 17:12:01 vethb93e14c 0.22 0.90 0.09 0.07 0.00 0.00 0.00 0.00 17:12:01 vethc63b912 0.12 0.83 0.01 0.05 0.00 0.00 0.00 0.00 17:13:01 veth69f07de 0.27 0.28 0.12 0.05 0.00 0.00 0.00 0.00 17:13:01 veth71ae565 0.27 0.28 0.12 0.05 0.00 0.00 0.00 0.00 17:13:01 vethb93e14c 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:13:01 vethc63b912 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:14:01 veth69f07de 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:14:01 veth71ae565 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:14:01 vethb93e14c 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:14:01 vethc63b912 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:15:01 vethcee4bfa 1.18 1.97 0.68 0.36 0.00 0.00 0.00 0.00 17:15:01 veth4bd15b1 0.23 0.97 0.11 0.07 0.00 0.00 0.00 0.00 17:15:01 docker0 9.85 13.28 1.79 50.55 0.00 0.00 0.00 0.00 17:15:01 veth1c9d195 2.00 2.78 1.22 0.63 0.00 0.00 0.00 0.00 17:16:01 vethcee4bfa 1.12 1.13 0.66 0.31 0.00 0.00 0.00 0.00 17:16:01 veth4bd15b1 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:16:01 veth1c9d195 0.27 0.30 0.12 0.05 0.00 0.00 0.00 0.00 17:17:01 vethcee4bfa 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:17:01 veth4bd15b1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:17:01 veth1c9d195 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:18:01 veth6918316 0.20 0.83 0.09 0.06 0.00 0.00 0.00 0.00 17:18:01 veth5ace0a5 0.50 1.27 0.24 0.15 0.00 0.00 0.00 0.00 17:18:01 vethbc58798 0.10 0.78 0.01 0.05 0.00 0.00 0.00 0.00 17:18:01 vethd1ba0ee 0.33 1.10 0.13 0.10 0.00 0.00 0.00 0.00 17:19:01 veth6918316 0.02 0.07 0.00 0.00 0.00 0.00 0.00 0.00 17:19:01 veth5ace0a5 1.82 1.85 1.10 0.53 0.00 0.00 0.00 0.00 17:19:01 vethbc58798 0.02 0.05 0.00 0.00 0.00 0.00 0.00 0.00 17:19:01 vethd1ba0ee 2.02 2.03 1.21 0.58 0.00 0.00 0.00 0.00 17:20:01 veth6918316 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:20:01 veth5ace0a5 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:20:01 vethbc58798 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:20:01 vethd1ba0ee 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:21:01 veth0afefba 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:21:01 vethe3cae56 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:21:01 veth427e04d 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:21:01 vetha538605 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:22:01 veth0afefba 0.23 1.02 0.11 0.08 0.00 0.00 0.00 0.00 17:22:01 vetha538605 2.05 2.82 1.22 0.63 0.00 0.00 0.00 0.00 17:22:01 docker0 9.85 13.28 1.79 50.55 0.00 0.00 0.00 0.00 17:22:01 veth41636b4 0.12 0.83 0.01 0.05 0.00 0.00 0.00 0.00 17:23:01 veth0afefba 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:23:01 vetha538605 0.28 0.30 0.12 0.05 0.00 0.00 0.00 0.00 17:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:23:01 veth41636b4 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:24:01 veth0afefba 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:24:01 vetha538605 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:24:01 veth41636b4 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:25:01 veth85e037e 0.22 0.92 0.09 0.07 0.00 0.00 0.00 0.00 17:25:01 vetha38209a 0.22 0.90 0.09 0.07 0.00 0.00 0.00 0.00 17:25:01 veth5c5b973 0.22 0.92 0.09 0.07 0.00 0.00 0.00 0.00 17:25:01 vethed7ba52 1.17 1.97 0.68 0.36 0.00 0.00 0.00 0.00 17:26:01 veth85e037e 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:26:01 vetha38209a 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:26:01 veth5c5b973 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:26:01 vethed7ba52 1.10 1.12 0.66 0.31 0.00 0.00 0.00 0.00 17:27:01 veth85e037e 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:27:01 vetha38209a 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:27:01 veth5c5b973 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:27:01 vethed7ba52 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:28:01 vethf214802 0.12 0.82 0.01 0.05 0.00 0.00 0.00 0.00 17:28:01 veth1c493df 0.22 0.92 0.09 0.07 0.00 0.00 0.00 0.00 17:28:01 veth9a48df5 0.22 0.90 0.09 0.07 0.00 0.00 0.00 0.00 17:28:01 docker0 9.85 13.28 1.79 50.55 0.00 0.00 0.00 0.00 17:29:01 vethf214802 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:29:01 veth1c493df 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:29:01 veth9a48df5 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:30:01 vethf214802 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:30:01 veth1c493df 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:30:01 veth9a48df5 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:31:01 veth2cd0b3a 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:31:01 veth399bfbb 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:31:01 veth0d9c6ef 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:32:01 veth2cd0b3a 2.00 2.80 1.22 0.63 0.00 0.00 0.00 0.00 17:32:01 veth399bfbb 0.22 0.90 0.09 0.07 0.00 0.00 0.00 0.00 17:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:32:01 vethc2bf6c0 0.12 0.83 0.01 0.05 0.00 0.00 0.00 0.00 17:33:01 veth2cd0b3a 0.28 0.30 0.12 0.05 0.00 0.00 0.00 0.00 17:33:01 veth399bfbb 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:33:01 vethc2bf6c0 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:34:01 veth2cd0b3a 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:34:01 veth399bfbb 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:34:01 vethc2bf6c0 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:35:01 vethb1224a9 0.12 0.83 0.01 0.05 0.00 0.00 0.00 0.00 17:35:01 vethbe83b95 0.35 1.18 0.13 0.10 0.00 0.00 0.00 0.00 17:35:01 veth96d878c 0.22 0.88 0.09 0.06 0.00 0.00 0.00 0.00 17:35:01 veth4542c73 2.02 2.80 1.22 0.63 0.00 0.00 0.00 0.00 17:36:01 vethb1224a9 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:36:01 vethbe83b95 1.93 1.97 1.20 0.58 0.00 0.00 0.00 0.00 17:36:01 veth96d878c 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:36:01 veth4542c73 0.27 0.28 0.12 0.05 0.00 0.00 0.00 0.00 17:37:01 vethb1224a9 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:37:01 vethbe83b95 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:37:01 veth96d878c 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:37:01 veth4542c73 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:38:01 veth0df1ce5 0.12 0.82 0.01 0.05 0.00 0.00 0.00 0.00 17:38:01 veth4f39b00 0.22 0.92 0.09 0.07 0.00 0.00 0.00 0.00 17:38:01 veth61dfaaf 0.33 1.12 0.13 0.10 0.00 0.00 0.00 0.00 17:38:01 docker0 9.85 13.28 1.79 50.55 0.00 0.00 0.00 0.00 17:39:01 veth0df1ce5 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:39:01 veth4f39b00 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:39:01 veth61dfaaf 1.93 1.97 1.20 0.58 0.00 0.00 0.00 0.00 17:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:40:01 veth0df1ce5 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:40:01 veth4f39b00 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:40:01 veth61dfaaf 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:41:01 veth0c98405 0.20 0.85 0.09 0.06 0.00 0.00 0.00 0.00 17:41:01 veth31af92e 0.20 0.88 0.09 0.07 0.00 0.00 0.00 0.00 17:41:01 veth83a0124 0.25 0.98 0.10 0.07 0.00 0.00 0.00 0.00 17:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:42:01 veth0c98405 0.02 0.07 0.00 0.00 0.00 0.00 0.00 0.00 17:42:01 veth31af92e 0.02 0.05 0.00 0.00 0.00 0.00 0.00 0.00 17:42:01 veth83a0124 0.15 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:43:01 veth0c98405 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:43:01 veth31af92e 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:43:01 veth83a0124 0.27 0.27 0.02 0.02 0.00 0.00 0.00 0.00 17:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:44:01 veth0aacb13 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:44:01 veth7e22659 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:44:01 vethc85ef66 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:44:01 vethf3efdce 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:45:01 veth0aacb13 0.22 0.90 0.09 0.07 0.00 0.00 0.00 0.00 17:45:01 docker0 9.85 13.28 1.79 50.55 0.00 0.00 0.00 0.00 17:45:01 veth7a0fc05 0.22 0.90 0.09 0.07 0.00 0.00 0.00 0.00 17:45:01 veth6e5fe7f 2.00 2.80 1.22 0.63 0.00 0.00 0.00 0.00 17:46:01 veth0aacb13 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:46:01 veth7a0fc05 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:46:01 veth6e5fe7f 0.30 0.32 0.12 0.05 0.00 0.00 0.00 0.00 17:47:01 veth0aacb13 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:47:01 veth7a0fc05 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:47:01 veth6e5fe7f 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:48:01 vetheded130 1.52 2.30 0.89 0.47 0.00 0.00 0.00 0.00 17:48:01 veth3f58125 0.33 1.12 0.13 0.10 0.00 0.00 0.00 0.00 17:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:48:01 veth61a8acb 0.23 0.92 0.09 0.07 0.00 0.00 0.00 0.00 17:49:01 vetheded130 0.77 0.78 0.45 0.21 0.00 0.00 0.00 0.00 17:49:01 veth3f58125 1.95 1.97 1.21 0.58 0.00 0.00 0.00 0.00 17:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:49:01 veth61a8acb 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:50:01 vetheded130 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:50:01 veth3f58125 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:50:01 veth61a8acb 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:51:01 veth425d614 0.33 1.12 0.13 0.10 0.00 0.00 0.00 0.00 17:51:01 vetheaefaed 0.12 0.82 0.01 0.05 0.00 0.00 0.00 0.00 17:51:01 vethb4fae8e 0.22 0.90 0.09 0.07 0.00 0.00 0.00 0.00 17:51:01 veth11046de 0.20 0.87 0.09 0.06 0.00 0.00 0.00 0.00 17:52:01 veth425d614 1.90 2.00 1.20 0.58 0.00 0.00 0.00 0.00 17:52:01 vetheaefaed 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:52:01 vethb4fae8e 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:52:01 veth11046de 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:53:01 veth425d614 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:53:01 vetheaefaed 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:53:01 vethb4fae8e 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:53:01 veth11046de 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:54:01 docker0 9.85 13.28 1.79 50.55 0.00 0.00 0.00 0.00 17:54:01 br-a05095524f5e 312.11 324.08 155.26 73.57 0.00 0.00 0.00 0.00 17:54:01 br-95f6a049f55e 0.00 0.72 0.00 0.06 0.00 0.00 0.00 0.00 17:54:01 ens3 1184.62 731.98 12554.51 203.69 0.00 0.00 0.00 0.00 Average: docker0 0.14 0.18 0.02 0.70 0.00 0.00 0.00 0.00 Average: br-a05095524f5e 4.34 4.50 2.16 1.02 0.00 0.00 0.00 0.00 Average: br-95f6a049f55e 0.00 0.01 0.00 0.00 0.00 0.00 0.00 0.00 Average: ens3 13.60 8.23 166.44 2.43 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-362) 11/16/23 _x86_64_ (8 CPU) 16:41:30 LINUX RESTART (8 CPU) 16:42:01 CPU %user %nice %system %iowait %steal %idle 16:43:01 all 10.83 0.00 0.81 2.21 0.04 86.11 16:43:01 0 27.04 0.00 1.32 1.15 0.05 70.45 16:43:01 1 10.14 0.00 0.63 0.47 0.07 88.69 16:43:01 2 1.63 0.00 0.47 7.66 0.02 90.22 16:43:01 3 5.82 0.00 0.70 0.37 0.03 93.07 16:43:01 4 4.75 0.00 0.73 0.20 0.02 94.30 16:43:01 5 2.23 0.00 0.15 0.13 0.02 97.47 16:43:01 6 30.07 0.00 1.77 1.75 0.07 66.34 16:43:01 7 4.91 0.00 0.74 5.98 0.03 88.33 16:44:01 all 9.14 0.00 1.06 3.40 0.04 86.37 16:44:01 0 24.45 0.00 1.96 2.30 0.07 71.22 16:44:01 1 2.24 0.00 0.65 0.20 0.07 96.84 16:44:01 2 1.55 0.00 0.80 6.66 0.02 90.97 16:44:01 3 8.18 0.00 1.01 0.30 0.03 90.48 16:44:01 4 1.77 0.00 0.47 0.03 0.02 97.72 16:44:01 5 13.55 0.00 1.12 3.02 0.03 82.28 16:44:01 6 6.39 0.00 0.62 3.96 0.02 89.02 16:44:01 7 15.09 0.00 1.84 10.73 0.05 72.28 16:45:01 all 10.68 0.00 4.07 5.23 0.07 79.95 16:45:01 0 8.30 0.00 4.35 15.87 0.08 71.39 16:45:01 1 11.26 0.00 4.84 7.98 0.08 75.83 16:45:01 2 12.61 0.00 4.03 0.85 0.07 82.45 16:45:01 3 11.55 0.00 4.21 1.67 0.07 82.49 16:45:01 4 12.74 0.00 3.76 0.56 0.07 82.87 16:45:01 5 9.41 0.00 3.00 5.43 0.07 82.10 16:45:01 6 9.87 0.00 3.56 0.69 0.07 85.81 16:45:01 7 9.73 0.00 4.75 8.76 0.08 76.68 16:46:01 all 1.41 0.00 0.64 1.02 0.02 96.91 16:46:01 0 0.73 0.00 0.60 0.03 0.02 98.62 16:46:01 1 0.84 0.00 0.68 7.73 0.03 90.71 16:46:01 2 1.81 0.00 0.81 0.00 0.03 97.34 16:46:01 3 1.29 0.00 0.70 0.22 0.02 97.78 16:46:01 4 1.40 0.00 0.58 0.03 0.02 97.96 16:46:01 5 2.29 0.00 0.48 0.00 0.03 97.19 16:46:01 6 1.82 0.00 0.70 0.10 0.02 97.36 16:46:01 7 1.07 0.00 0.57 0.02 0.02 98.33 16:47:01 all 0.33 0.00 0.15 1.01 0.01 98.50 16:47:01 0 0.18 0.00 0.13 0.00 0.00 99.68 16:47:01 1 0.08 0.00 0.07 7.97 0.02 91.87 16:47:01 2 0.83 0.00 0.18 0.07 0.02 98.90 16:47:01 3 0.38 0.00 0.10 0.00 0.02 99.50 16:47:01 4 0.18 0.00 0.17 0.02 0.00 99.63 16:47:01 5 0.20 0.00 0.07 0.00 0.00 99.73 16:47:01 6 0.52 0.00 0.30 0.00 0.00 99.18 16:47:01 7 0.30 0.00 0.18 0.00 0.02 99.50 16:48:01 all 0.06 0.00 0.04 1.10 0.02 98.78 16:48:01 0 0.02 0.00 0.02 0.00 0.00 99.97 16:48:01 1 0.03 0.00 0.05 8.81 0.02 91.09 16:48:01 2 0.05 0.00 0.02 0.00 0.02 99.92 16:48:01 3 0.20 0.00 0.13 0.00 0.08 99.58 16:48:01 4 0.03 0.00 0.02 0.00 0.00 99.95 16:48:01 5 0.05 0.00 0.03 0.00 0.02 99.90 16:48:01 6 0.05 0.00 0.03 0.00 0.02 99.90 16:48:01 7 0.05 0.00 0.02 0.00 0.02 99.92 16:49:01 all 3.62 0.00 1.92 1.74 0.04 92.68 16:49:01 0 2.77 0.00 2.02 1.07 0.03 94.11 16:49:01 1 3.35 0.00 1.76 9.68 0.05 85.17 16:49:01 2 4.63 0.00 2.07 0.87 0.05 92.38 16:49:01 3 3.22 0.00 1.96 0.39 0.05 94.38 16:49:01 4 5.06 0.00 2.01 0.32 0.05 92.57 16:49:01 5 2.73 0.00 1.98 0.40 0.03 94.85 16:49:01 6 4.80 0.00 1.76 0.24 0.03 93.17 16:49:01 7 2.37 0.00 1.75 0.99 0.03 94.86 16:50:01 all 0.55 0.00 0.16 0.35 0.01 98.93 16:50:01 0 0.90 0.00 0.18 0.03 0.00 98.88 16:50:01 1 1.33 0.00 0.17 1.99 0.03 96.49 16:50:01 2 0.33 0.00 0.10 0.00 0.00 99.57 16:50:01 3 0.63 0.00 0.22 0.07 0.00 99.08 16:50:01 4 0.25 0.00 0.15 0.00 0.02 99.58 16:50:01 5 0.35 0.00 0.17 0.00 0.02 99.47 16:50:01 6 0.22 0.00 0.15 0.00 0.00 99.63 16:50:01 7 0.38 0.00 0.17 0.67 0.02 98.77 16:51:01 all 0.15 0.00 0.05 0.05 0.02 99.74 16:51:01 0 0.07 0.00 0.05 0.00 0.00 99.88 16:51:01 1 0.47 0.00 0.07 0.00 0.00 99.47 16:51:01 2 0.13 0.00 0.03 0.00 0.03 99.80 16:51:01 3 0.02 0.00 0.03 0.32 0.02 99.62 16:51:01 4 0.12 0.00 0.07 0.00 0.02 99.80 16:51:01 5 0.15 0.00 0.02 0.00 0.02 99.82 16:51:01 6 0.08 0.00 0.03 0.00 0.00 99.88 16:51:01 7 0.17 0.00 0.07 0.08 0.05 99.63 16:52:01 all 3.70 0.00 1.82 2.10 0.06 92.32 16:52:01 0 3.69 0.00 1.74 0.88 0.05 93.64 16:52:01 1 2.81 0.00 2.26 1.61 0.05 93.27 16:52:01 2 4.39 0.00 2.08 1.49 0.10 91.94 16:52:01 3 2.09 0.00 1.69 5.67 0.05 90.50 16:52:01 4 3.81 0.00 1.68 1.79 0.07 92.65 16:52:01 5 3.48 0.00 1.78 1.80 0.07 92.88 16:52:01 6 5.52 0.00 1.79 1.68 0.05 90.96 16:52:01 7 3.84 0.00 1.56 1.85 0.07 92.69 16:53:01 all 0.47 0.00 0.19 0.02 0.01 99.30 16:53:01 0 0.48 0.00 0.25 0.00 0.02 99.25 16:53:01 1 0.25 0.00 0.27 0.00 0.02 99.47 16:53:01 2 0.57 0.00 0.20 0.00 0.00 99.23 16:53:01 3 0.50 0.00 0.17 0.00 0.00 99.33 16:53:01 4 0.30 0.00 0.20 0.03 0.02 99.45 16:53:01 5 0.85 0.00 0.15 0.02 0.00 98.98 16:53:01 6 0.33 0.00 0.15 0.00 0.02 99.50 16:53:01 7 0.50 0.00 0.17 0.10 0.02 99.22 16:53:01 CPU %user %nice %system %iowait %steal %idle 16:54:01 all 0.09 0.00 0.05 0.07 0.02 99.78 16:54:01 0 0.10 0.00 0.10 0.03 0.02 99.75 16:54:01 1 0.08 0.00 0.08 0.00 0.02 99.82 16:54:01 2 0.07 0.00 0.03 0.00 0.02 99.88 16:54:01 3 0.08 0.00 0.02 0.00 0.02 99.88 16:54:01 4 0.07 0.00 0.02 0.00 0.02 99.90 16:54:01 5 0.05 0.00 0.02 0.00 0.00 99.93 16:54:01 6 0.07 0.00 0.03 0.00 0.00 99.90 16:54:01 7 0.18 0.00 0.08 0.49 0.05 99.20 16:55:01 all 3.24 0.00 1.60 0.47 0.04 94.65 16:55:01 0 2.85 0.00 1.56 0.37 0.05 95.18 16:55:01 1 2.49 0.00 1.70 0.25 0.03 95.52 16:55:01 2 3.63 0.00 1.57 0.49 0.03 94.27 16:55:01 3 3.09 0.00 1.53 0.25 0.03 95.10 16:55:01 4 3.02 0.00 1.49 0.69 0.07 94.74 16:55:01 5 3.92 0.00 1.62 0.10 0.07 94.30 16:55:01 6 4.11 0.00 1.67 0.18 0.03 94.00 16:55:01 7 2.78 0.00 1.62 1.40 0.03 94.16 16:56:01 all 0.86 0.00 0.43 0.12 0.01 98.58 16:56:01 0 1.60 0.00 0.67 0.00 0.00 97.73 16:56:01 1 0.75 0.00 0.47 0.02 0.02 98.75 16:56:01 2 0.73 0.00 0.50 0.00 0.02 98.75 16:56:01 3 0.65 0.00 0.43 0.65 0.02 98.25 16:56:01 4 0.80 0.00 0.42 0.20 0.02 98.57 16:56:01 5 0.89 0.00 0.40 0.15 0.03 98.53 16:56:01 6 0.33 0.00 0.18 0.00 0.02 99.47 16:56:01 7 1.12 0.00 0.38 0.00 0.02 98.48 16:57:01 all 0.11 0.00 0.06 0.04 0.01 99.78 16:57:01 0 0.05 0.00 0.03 0.00 0.02 99.90 16:57:01 1 0.02 0.00 0.07 0.05 0.02 99.85 16:57:01 2 0.17 0.00 0.12 0.00 0.02 99.70 16:57:01 3 0.07 0.00 0.07 0.20 0.00 99.67 16:57:01 4 0.10 0.00 0.07 0.00 0.00 99.83 16:57:01 5 0.37 0.00 0.03 0.02 0.00 99.58 16:57:01 6 0.03 0.00 0.05 0.03 0.00 99.88 16:57:01 7 0.05 0.00 0.02 0.00 0.03 99.90 16:58:01 all 0.71 0.00 0.63 0.13 0.03 98.50 16:58:01 0 1.25 0.00 0.73 0.03 0.08 97.90 16:58:01 1 0.72 0.00 0.62 0.28 0.02 98.36 16:58:01 2 0.43 0.00 0.67 0.07 0.02 98.82 16:58:01 3 0.42 0.00 0.77 0.38 0.02 98.41 16:58:01 4 0.47 0.00 0.60 0.05 0.02 98.86 16:58:01 5 0.64 0.00 0.47 0.05 0.03 98.81 16:58:01 6 0.45 0.00 0.57 0.13 0.02 98.83 16:58:01 7 1.30 0.00 0.62 0.07 0.03 97.98 16:59:01 all 3.04 0.00 1.25 0.57 0.03 95.11 16:59:01 0 2.54 0.00 1.35 1.77 0.05 94.28 16:59:01 1 3.87 0.00 1.34 1.04 0.03 93.72 16:59:01 2 4.26 0.00 1.22 0.07 0.02 94.43 16:59:01 3 2.74 0.00 1.22 1.10 0.03 94.90 16:59:01 4 2.02 0.00 1.15 0.25 0.03 96.54 16:59:01 5 3.28 0.00 1.14 0.12 0.02 95.45 16:59:01 6 2.37 0.00 1.35 0.10 0.03 96.14 16:59:01 7 3.23 0.00 1.19 0.10 0.05 95.43 17:00:01 all 0.37 0.00 0.15 0.01 0.01 99.47 17:00:01 0 0.35 0.00 0.17 0.00 0.02 99.47 17:00:01 1 0.18 0.00 0.12 0.00 0.00 99.70 17:00:01 2 0.20 0.00 0.10 0.00 0.02 99.68 17:00:01 3 0.30 0.00 0.22 0.00 0.00 99.48 17:00:01 4 0.38 0.00 0.18 0.02 0.00 99.42 17:00:01 5 0.27 0.00 0.08 0.02 0.02 99.62 17:00:01 6 0.15 0.00 0.08 0.07 0.02 99.68 17:00:01 7 1.12 0.00 0.22 0.00 0.00 98.67 17:01:01 all 0.12 0.00 0.05 0.00 0.02 99.82 17:01:01 0 0.13 0.00 0.03 0.00 0.00 99.83 17:01:01 1 0.13 0.00 0.02 0.00 0.02 99.83 17:01:01 2 0.28 0.00 0.18 0.00 0.07 99.47 17:01:01 3 0.07 0.00 0.03 0.00 0.02 99.88 17:01:01 4 0.10 0.00 0.07 0.02 0.03 99.78 17:01:01 5 0.05 0.00 0.03 0.00 0.00 99.92 17:01:01 6 0.08 0.00 0.02 0.02 0.02 99.87 17:01:01 7 0.10 0.00 0.00 0.00 0.00 99.90 17:02:01 all 4.08 0.00 1.82 0.50 0.05 93.54 17:02:01 0 3.76 0.00 2.07 0.48 0.05 93.63 17:02:01 1 3.49 0.00 1.88 0.32 0.03 94.28 17:02:01 2 5.29 0.00 1.88 0.15 0.07 92.61 17:02:01 3 3.11 0.00 1.87 0.37 0.05 94.60 17:02:01 4 3.40 0.00 1.87 0.47 0.03 94.23 17:02:01 5 2.50 0.00 1.61 0.99 0.05 94.85 17:02:01 6 5.19 0.00 1.54 0.94 0.03 92.30 17:02:01 7 5.89 0.00 1.88 0.25 0.05 91.93 17:03:01 all 0.56 0.00 0.19 0.02 0.01 99.22 17:03:01 0 1.00 0.00 0.34 0.00 0.02 98.64 17:03:01 1 0.29 0.00 0.19 0.00 0.02 99.51 17:03:01 2 0.31 0.00 0.19 0.00 0.02 99.49 17:03:01 3 0.47 0.00 0.22 0.00 0.02 99.29 17:03:01 4 1.33 0.00 0.10 0.00 0.02 98.55 17:03:01 5 0.66 0.00 0.17 0.12 0.02 99.03 17:03:01 6 0.19 0.00 0.10 0.00 0.02 99.69 17:03:01 7 0.27 0.00 0.19 0.00 0.03 99.51 17:04:01 all 0.15 0.00 0.05 0.01 0.01 99.77 17:04:01 0 0.00 0.00 0.02 0.00 0.00 99.98 17:04:01 1 0.08 0.00 0.07 0.00 0.02 99.83 17:04:01 2 0.12 0.00 0.08 0.00 0.02 99.78 17:04:01 3 0.13 0.00 0.05 0.00 0.00 99.82 17:04:01 4 0.70 0.00 0.05 0.00 0.02 99.24 17:04:01 5 0.08 0.00 0.05 0.03 0.03 99.80 17:04:01 6 0.07 0.00 0.05 0.08 0.00 99.80 17:04:01 7 0.00 0.00 0.03 0.00 0.02 99.95 17:04:01 CPU %user %nice %system %iowait %steal %idle 17:05:01 all 3.98 0.00 1.94 1.79 0.06 92.23 17:05:01 0 3.12 0.00 2.20 1.92 0.05 92.72 17:05:01 1 3.44 0.00 1.96 1.95 0.10 92.55 17:05:01 2 3.85 0.00 1.89 3.88 0.07 90.31 17:05:01 3 6.16 0.00 1.91 0.45 0.05 91.42 17:05:01 4 3.37 0.00 1.90 1.01 0.07 93.65 17:05:01 5 4.35 0.00 1.96 2.42 0.05 91.22 17:05:01 6 3.44 0.00 2.06 1.43 0.08 92.99 17:05:01 7 4.09 0.00 1.61 1.29 0.05 92.96 17:06:01 all 0.55 0.00 0.20 0.04 0.02 99.20 17:06:01 0 0.90 0.00 0.22 0.00 0.02 98.87 17:06:01 1 0.77 0.00 0.18 0.00 0.03 99.02 17:06:01 2 0.43 0.00 0.27 0.00 0.00 99.30 17:06:01 3 0.42 0.00 0.23 0.12 0.02 99.22 17:06:01 4 0.33 0.00 0.18 0.00 0.00 99.48 17:06:01 5 0.32 0.00 0.13 0.00 0.02 99.53 17:06:01 6 1.00 0.00 0.17 0.13 0.02 98.68 17:06:01 7 0.25 0.00 0.18 0.03 0.00 99.53 17:07:01 all 0.13 0.00 0.04 0.01 0.01 99.80 17:07:01 0 0.33 0.00 0.05 0.00 0.02 99.60 17:07:01 1 0.20 0.00 0.08 0.00 0.02 99.70 17:07:01 2 0.13 0.00 0.07 0.00 0.03 99.77 17:07:01 3 0.07 0.00 0.05 0.05 0.02 99.82 17:07:01 4 0.07 0.00 0.03 0.02 0.02 99.87 17:07:01 5 0.05 0.00 0.03 0.00 0.00 99.92 17:07:01 6 0.07 0.00 0.05 0.00 0.02 99.87 17:07:01 7 0.12 0.00 0.00 0.00 0.02 99.87 17:08:01 all 3.26 0.00 1.34 0.25 0.04 95.11 17:08:01 0 2.11 0.00 1.46 0.25 0.02 96.16 17:08:01 1 5.86 0.00 1.14 0.10 0.03 92.87 17:08:01 2 3.17 0.00 1.40 0.12 0.10 95.21 17:08:01 3 4.76 0.00 1.52 0.82 0.05 92.85 17:08:01 4 2.02 0.00 1.32 0.20 0.02 96.44 17:08:01 5 4.32 0.00 1.36 0.12 0.02 94.19 17:08:01 6 2.04 0.00 1.17 0.35 0.05 96.38 17:08:01 7 1.76 0.00 1.31 0.08 0.03 96.81 17:09:01 all 1.22 0.00 0.48 0.02 0.04 98.24 17:09:01 0 0.48 0.00 0.42 0.00 0.02 99.08 17:09:01 1 0.52 0.00 0.38 0.00 0.03 99.07 17:09:01 2 2.51 0.00 0.36 0.00 0.03 97.09 17:09:01 3 1.40 0.00 0.70 0.00 0.02 97.88 17:09:01 4 1.94 0.00 0.43 0.02 0.03 97.58 17:09:01 5 0.57 0.00 0.47 0.00 0.03 98.93 17:09:01 6 1.63 0.00 0.68 0.00 0.12 97.57 17:09:01 7 0.70 0.00 0.43 0.13 0.02 98.71 17:10:01 all 0.41 0.00 0.17 0.03 0.02 99.38 17:10:01 0 0.45 0.00 0.15 0.03 0.02 99.35 17:10:01 1 0.37 0.00 0.12 0.00 0.02 99.50 17:10:01 2 1.30 0.00 0.32 0.00 0.03 98.35 17:10:01 3 0.23 0.00 0.12 0.00 0.02 99.63 17:10:01 4 0.13 0.00 0.10 0.17 0.00 99.60 17:10:01 5 0.18 0.00 0.12 0.00 0.00 99.70 17:10:01 6 0.48 0.00 0.27 0.00 0.02 99.23 17:10:01 7 0.10 0.00 0.12 0.00 0.00 99.78 17:11:01 all 0.24 0.00 0.28 0.04 0.02 99.42 17:11:01 0 0.18 0.00 0.23 0.03 0.00 99.55 17:11:01 1 0.23 0.00 0.25 0.02 0.02 99.48 17:11:01 2 0.17 0.00 0.25 0.05 0.02 99.51 17:11:01 3 0.22 0.00 0.27 0.05 0.02 99.45 17:11:01 4 0.23 0.00 0.25 0.03 0.02 99.47 17:11:01 5 0.33 0.00 0.33 0.02 0.10 99.22 17:11:01 6 0.27 0.00 0.30 0.03 0.02 99.38 17:11:01 7 0.25 0.00 0.40 0.10 0.02 99.23 17:12:01 all 3.68 0.00 1.86 0.27 0.04 94.15 17:12:01 0 2.46 0.00 1.84 0.28 0.05 95.36 17:12:01 1 3.62 0.00 1.87 0.48 0.03 93.99 17:12:01 2 3.21 0.00 1.56 0.10 0.03 95.10 17:12:01 3 4.98 0.00 1.79 0.45 0.03 92.74 17:12:01 4 4.41 0.00 2.23 0.12 0.03 93.21 17:12:01 5 3.71 0.00 1.76 0.39 0.05 94.09 17:12:01 6 3.27 0.00 2.01 0.17 0.05 94.50 17:12:01 7 3.77 0.00 1.84 0.13 0.03 94.22 17:13:01 all 0.40 0.00 0.20 0.01 0.01 99.37 17:13:01 0 0.28 0.00 0.22 0.02 0.03 99.45 17:13:01 1 0.25 0.00 0.15 0.03 0.02 99.55 17:13:01 2 0.43 0.00 0.22 0.00 0.00 99.35 17:13:01 3 0.78 0.00 0.28 0.02 0.02 98.90 17:13:01 4 0.30 0.00 0.15 0.00 0.02 99.53 17:13:01 5 0.38 0.00 0.28 0.00 0.00 99.33 17:13:01 6 0.52 0.00 0.22 0.02 0.00 99.25 17:13:01 7 0.27 0.00 0.13 0.00 0.02 99.58 17:14:01 all 0.11 0.00 0.05 0.00 0.02 99.83 17:14:01 0 0.18 0.00 0.07 0.02 0.03 99.70 17:14:01 1 0.08 0.00 0.05 0.02 0.00 99.85 17:14:01 2 0.03 0.00 0.02 0.00 0.02 99.93 17:14:01 3 0.08 0.00 0.03 0.00 0.02 99.87 17:14:01 4 0.13 0.00 0.02 0.00 0.02 99.83 17:14:01 5 0.20 0.00 0.05 0.00 0.05 99.70 17:14:01 6 0.08 0.00 0.05 0.00 0.03 99.83 17:14:01 7 0.07 0.00 0.05 0.00 0.00 99.88 17:15:01 all 4.73 0.00 1.98 0.41 0.05 92.83 17:15:01 0 3.10 0.00 1.94 0.60 0.07 94.29 17:15:01 1 3.29 0.00 2.25 0.83 0.05 93.58 17:15:01 2 3.22 0.00 2.08 0.10 0.03 94.57 17:15:01 3 2.95 0.00 1.73 0.10 0.03 95.19 17:15:01 4 11.41 0.00 1.91 0.07 0.05 86.56 17:15:01 5 6.06 0.00 1.90 0.83 0.05 91.16 17:15:01 6 4.17 0.00 2.04 0.59 0.07 93.13 17:15:01 7 3.62 0.00 2.04 0.13 0.05 94.16 17:15:01 CPU %user %nice %system %iowait %steal %idle 17:16:01 all 0.64 0.00 0.21 0.03 0.02 99.10 17:16:01 0 0.40 0.00 0.18 0.00 0.02 99.40 17:16:01 1 0.23 0.00 0.15 0.00 0.00 99.62 17:16:01 2 0.98 0.00 0.40 0.00 0.00 98.62 17:16:01 3 0.38 0.00 0.18 0.00 0.02 99.42 17:16:01 4 0.85 0.00 0.12 0.03 0.02 98.98 17:16:01 5 1.23 0.00 0.17 0.20 0.03 98.38 17:16:01 6 0.45 0.00 0.27 0.00 0.00 99.28 17:16:01 7 0.60 0.00 0.22 0.00 0.00 99.18 17:17:01 all 0.18 0.00 0.05 0.00 0.01 99.76 17:17:01 0 0.13 0.00 0.07 0.00 0.03 99.77 17:17:01 1 0.12 0.00 0.02 0.00 0.02 99.85 17:17:01 2 0.05 0.00 0.02 0.00 0.00 99.93 17:17:01 3 0.12 0.00 0.05 0.00 0.02 99.82 17:17:01 4 0.10 0.00 0.03 0.00 0.02 99.85 17:17:01 5 0.55 0.00 0.07 0.02 0.03 99.33 17:17:01 6 0.13 0.00 0.07 0.00 0.02 99.78 17:17:01 7 0.18 0.00 0.08 0.00 0.03 99.70 17:18:01 all 3.98 0.00 1.76 0.28 0.04 93.94 17:18:01 0 2.63 0.00 1.81 0.37 0.02 95.18 17:18:01 1 6.24 0.00 1.91 0.33 0.03 91.48 17:18:01 2 3.09 0.00 1.64 0.30 0.05 94.91 17:18:01 3 3.91 0.00 1.79 0.17 0.03 94.10 17:18:01 4 2.66 0.00 1.89 0.08 0.05 95.31 17:18:01 5 2.50 0.00 1.73 0.47 0.03 95.26 17:18:01 6 5.46 0.00 1.54 0.37 0.03 92.60 17:18:01 7 5.31 0.00 1.79 0.15 0.03 92.72 17:19:01 all 0.51 0.00 0.20 0.03 0.02 99.24 17:19:01 0 0.98 0.00 0.37 0.00 0.02 98.63 17:19:01 1 0.48 0.00 0.27 0.00 0.00 99.25 17:19:01 2 0.77 0.00 0.13 0.05 0.02 99.03 17:19:01 3 0.27 0.00 0.15 0.17 0.02 99.40 17:19:01 4 0.30 0.00 0.17 0.00 0.00 99.53 17:19:01 5 0.32 0.00 0.13 0.00 0.05 99.50 17:19:01 6 0.27 0.00 0.18 0.00 0.02 99.53 17:19:01 7 0.65 0.00 0.20 0.02 0.05 99.08 17:20:01 all 0.23 0.00 0.05 0.02 0.01 99.69 17:20:01 0 0.12 0.00 0.05 0.00 0.02 99.82 17:20:01 1 0.12 0.00 0.05 0.00 0.02 99.82 17:20:01 2 0.13 0.00 0.05 0.05 0.00 99.77 17:20:01 3 0.08 0.00 0.03 0.02 0.00 99.87 17:20:01 4 0.12 0.00 0.05 0.00 0.02 99.82 17:20:01 5 0.07 0.00 0.07 0.13 0.02 99.72 17:20:01 6 0.05 0.00 0.03 0.00 0.02 99.90 17:20:01 7 1.16 0.00 0.03 0.00 0.00 98.81 17:21:01 all 1.96 0.00 1.08 0.47 0.04 96.45 17:21:01 0 3.23 0.00 1.00 0.37 0.03 95.37 17:21:01 1 2.06 0.00 1.24 0.58 0.03 96.09 17:21:01 2 1.64 0.00 0.97 0.12 0.05 97.22 17:21:01 3 2.21 0.00 1.20 0.42 0.05 96.12 17:21:01 4 1.52 0.00 1.07 0.17 0.02 97.23 17:21:01 5 1.57 0.00 1.10 1.49 0.05 95.79 17:21:01 6 1.84 0.00 0.95 0.22 0.03 96.96 17:21:01 7 1.61 0.00 1.12 0.42 0.05 96.81 17:22:01 all 1.96 0.00 0.85 0.15 0.03 97.02 17:22:01 0 1.65 0.00 0.92 0.27 0.02 97.15 17:22:01 1 1.57 0.00 1.04 0.02 0.02 97.36 17:22:01 2 2.36 0.00 0.74 0.07 0.03 96.80 17:22:01 3 2.93 0.00 0.91 0.07 0.03 96.06 17:22:01 4 2.75 0.00 0.78 0.02 0.03 96.41 17:22:01 5 1.84 0.00 0.75 0.07 0.02 97.32 17:22:01 6 1.39 0.00 0.65 0.67 0.02 97.28 17:22:01 7 1.14 0.00 0.99 0.02 0.03 97.83 17:23:01 all 0.32 0.00 0.15 0.01 0.01 99.51 17:23:01 0 0.83 0.00 0.15 0.00 0.02 99.00 17:23:01 1 0.17 0.00 0.12 0.00 0.00 99.72 17:23:01 2 0.22 0.00 0.07 0.00 0.02 99.70 17:23:01 3 0.23 0.00 0.13 0.05 0.02 99.57 17:23:01 4 0.25 0.00 0.18 0.00 0.02 99.55 17:23:01 5 0.18 0.00 0.12 0.00 0.02 99.68 17:23:01 6 0.32 0.00 0.20 0.00 0.02 99.47 17:23:01 7 0.37 0.00 0.22 0.02 0.02 99.38 17:24:01 all 0.08 0.00 0.05 0.01 0.02 99.85 17:24:01 0 0.03 0.00 0.02 0.00 0.00 99.95 17:24:01 1 0.07 0.00 0.02 0.00 0.02 99.90 17:24:01 2 0.13 0.00 0.05 0.02 0.03 99.77 17:24:01 3 0.00 0.00 0.02 0.03 0.02 99.93 17:24:01 4 0.00 0.00 0.02 0.00 0.00 99.98 17:24:01 5 0.23 0.00 0.12 0.00 0.08 99.57 17:24:01 6 0.03 0.00 0.07 0.00 0.00 99.90 17:24:01 7 0.12 0.00 0.08 0.00 0.00 99.80 17:25:01 all 3.94 0.00 1.84 1.28 0.05 92.89 17:25:01 0 2.43 0.00 1.99 1.89 0.03 93.65 17:25:01 1 4.44 0.00 1.91 1.05 0.03 92.57 17:25:01 2 2.18 0.00 1.98 0.90 0.05 94.89 17:25:01 3 3.76 0.00 1.58 2.70 0.05 91.91 17:25:01 4 2.40 0.00 1.76 0.90 0.05 94.89 17:25:01 5 5.47 0.00 1.72 0.73 0.05 92.02 17:25:01 6 5.99 0.00 1.88 1.21 0.05 90.88 17:25:01 7 4.86 0.00 1.89 0.84 0.05 92.36 17:26:01 all 0.47 0.00 0.16 0.02 0.01 99.33 17:26:01 0 0.10 0.00 0.12 0.00 0.03 99.75 17:26:01 1 0.25 0.00 0.12 0.00 0.02 99.62 17:26:01 2 0.85 0.00 0.22 0.02 0.02 98.90 17:26:01 3 0.22 0.00 0.08 0.08 0.00 99.62 17:26:01 4 0.22 0.00 0.18 0.00 0.00 99.60 17:26:01 5 0.72 0.00 0.15 0.08 0.02 99.03 17:26:01 6 0.97 0.00 0.23 0.00 0.00 98.80 17:26:01 7 0.45 0.00 0.23 0.00 0.00 99.32 17:26:01 CPU %user %nice %system %iowait %steal %idle 17:27:01 all 0.21 0.00 0.04 0.04 0.01 99.70 17:27:01 0 0.12 0.00 0.02 0.00 0.00 99.87 17:27:01 1 0.12 0.00 0.02 0.00 0.02 99.85 17:27:01 2 0.07 0.00 0.07 0.18 0.02 99.67 17:27:01 3 0.02 0.00 0.05 0.00 0.02 99.92 17:27:01 4 0.07 0.00 0.03 0.00 0.02 99.88 17:27:01 5 1.19 0.00 0.05 0.15 0.03 98.58 17:27:01 6 0.05 0.00 0.02 0.00 0.02 99.92 17:27:01 7 0.05 0.00 0.05 0.00 0.02 99.88 17:28:01 all 4.06 0.00 1.83 0.50 0.05 93.55 17:28:01 0 4.67 0.00 1.91 0.32 0.05 93.06 17:28:01 1 2.55 0.00 1.90 0.96 0.08 94.50 17:28:01 2 3.00 0.00 1.86 0.74 0.07 94.34 17:28:01 3 3.43 0.00 1.74 0.50 0.05 94.28 17:28:01 4 2.88 0.00 1.88 0.39 0.05 94.80 17:28:01 5 2.33 0.00 1.71 0.64 0.07 95.25 17:28:01 6 8.96 0.00 1.87 0.25 0.05 88.86 17:28:01 7 4.63 0.00 1.74 0.20 0.05 93.38 17:29:01 all 0.50 0.00 0.19 0.04 0.02 99.25 17:29:01 0 0.28 0.00 0.12 0.00 0.03 99.57 17:29:01 1 0.27 0.00 0.13 0.02 0.03 99.55 17:29:01 2 0.32 0.00 0.18 0.30 0.02 99.18 17:29:01 3 0.88 0.00 0.27 0.00 0.02 98.83 17:29:01 4 1.03 0.00 0.33 0.00 0.02 98.62 17:29:01 5 0.65 0.00 0.22 0.02 0.00 99.12 17:29:01 6 0.40 0.00 0.13 0.00 0.02 99.45 17:29:01 7 0.20 0.00 0.10 0.00 0.02 99.68 17:30:01 all 0.06 0.00 0.04 0.00 0.01 99.89 17:30:01 0 0.07 0.00 0.02 0.00 0.00 99.92 17:30:01 1 0.10 0.00 0.03 0.02 0.03 99.82 17:30:01 2 0.03 0.00 0.07 0.03 0.02 99.85 17:30:01 3 0.12 0.00 0.10 0.00 0.02 99.77 17:30:01 4 0.05 0.00 0.02 0.00 0.00 99.93 17:30:01 5 0.03 0.00 0.02 0.00 0.02 99.93 17:30:01 6 0.05 0.00 0.02 0.00 0.02 99.92 17:30:01 7 0.03 0.00 0.03 0.00 0.00 99.93 17:31:01 all 2.96 0.00 1.40 0.46 0.04 95.14 17:31:01 0 2.16 0.00 1.47 0.47 0.03 95.87 17:31:01 1 2.13 0.00 1.39 0.27 0.07 96.14 17:31:01 2 2.45 0.00 1.53 1.04 0.05 94.92 17:31:01 3 6.26 0.00 1.24 0.35 0.03 92.12 17:31:01 4 2.63 0.00 1.43 0.49 0.03 95.42 17:31:01 5 2.61 0.00 1.47 0.22 0.03 95.66 17:31:01 6 2.26 0.00 1.31 0.20 0.03 96.20 17:31:01 7 3.13 0.00 1.36 0.64 0.03 94.84 17:32:01 all 0.94 0.00 0.44 0.11 0.03 98.49 17:32:01 0 1.60 0.00 0.45 0.00 0.02 97.93 17:32:01 1 1.80 0.00 0.68 0.03 0.03 97.45 17:32:01 2 0.69 0.00 0.30 0.39 0.03 98.59 17:32:01 3 0.55 0.00 0.38 0.02 0.05 99.00 17:32:01 4 0.70 0.00 0.45 0.02 0.02 98.82 17:32:01 5 0.63 0.00 0.43 0.02 0.02 98.90 17:32:01 6 0.63 0.00 0.40 0.02 0.03 98.92 17:32:01 7 0.88 0.00 0.47 0.42 0.02 98.22 17:33:01 all 0.34 0.00 0.13 0.04 0.01 99.47 17:33:01 0 0.67 0.00 0.18 0.00 0.02 99.13 17:33:01 1 0.43 0.00 0.15 0.00 0.03 99.38 17:33:01 2 0.35 0.00 0.12 0.13 0.00 99.40 17:33:01 3 0.32 0.00 0.10 0.12 0.02 99.45 17:33:01 4 0.17 0.00 0.12 0.00 0.02 99.70 17:33:01 5 0.28 0.00 0.20 0.08 0.00 99.43 17:33:01 6 0.32 0.00 0.13 0.00 0.00 99.55 17:33:01 7 0.18 0.00 0.08 0.00 0.00 99.73 17:34:01 all 0.24 0.00 0.20 0.11 0.02 99.42 17:34:01 0 0.22 0.00 0.25 0.02 0.02 99.50 17:34:01 1 0.49 0.00 0.23 0.02 0.02 99.25 17:34:01 2 0.20 0.00 0.20 0.38 0.00 99.22 17:34:01 3 0.10 0.00 0.17 0.30 0.02 99.42 17:34:01 4 0.17 0.00 0.13 0.00 0.00 99.70 17:34:01 5 0.37 0.00 0.27 0.03 0.05 99.28 17:34:01 6 0.27 0.00 0.20 0.03 0.03 99.47 17:34:01 7 0.17 0.00 0.20 0.08 0.02 99.53 17:35:01 all 3.76 0.00 1.69 1.90 0.05 92.59 17:35:01 0 5.03 0.00 1.82 1.49 0.03 91.63 17:35:01 1 3.73 0.00 1.61 1.26 0.05 93.35 17:35:01 2 3.38 0.00 1.84 2.38 0.03 92.37 17:35:01 3 5.47 0.00 1.61 1.11 0.03 91.78 17:35:01 4 2.65 0.00 1.69 0.70 0.05 94.91 17:35:01 5 2.75 0.00 1.78 1.26 0.07 94.14 17:35:01 6 3.37 0.00 1.58 1.31 0.07 93.68 17:35:01 7 3.69 0.00 1.59 5.71 0.05 88.96 17:36:01 all 0.39 0.00 0.15 0.01 0.02 99.43 17:36:01 0 0.27 0.00 0.10 0.00 0.00 99.63 17:36:01 1 0.27 0.00 0.10 0.00 0.02 99.61 17:36:01 2 0.32 0.00 0.17 0.00 0.02 99.50 17:36:01 3 0.97 0.00 0.20 0.00 0.02 98.82 17:36:01 4 0.30 0.00 0.20 0.02 0.02 99.47 17:36:01 5 0.20 0.00 0.12 0.02 0.02 99.65 17:36:01 6 0.57 0.00 0.15 0.00 0.03 99.25 17:36:01 7 0.30 0.00 0.17 0.08 0.00 99.45 17:37:01 all 0.08 0.00 0.04 0.02 0.02 99.84 17:37:01 0 0.05 0.00 0.07 0.00 0.02 99.87 17:37:01 1 0.02 0.00 0.00 0.00 0.00 99.98 17:37:01 2 0.05 0.00 0.03 0.00 0.02 99.90 17:37:01 3 0.10 0.00 0.07 0.00 0.05 99.78 17:37:01 4 0.07 0.00 0.03 0.00 0.02 99.88 17:37:01 5 0.10 0.00 0.02 0.00 0.02 99.87 17:37:01 6 0.15 0.00 0.07 0.15 0.03 99.60 17:37:01 7 0.07 0.00 0.02 0.02 0.02 99.88 17:37:01 CPU %user %nice %system %iowait %steal %idle 17:38:01 all 4.23 0.00 1.86 0.57 0.06 93.28 17:38:01 0 5.81 0.00 1.94 0.70 0.05 91.50 17:38:01 1 6.66 0.00 1.79 0.23 0.08 91.24 17:38:01 2 2.96 0.00 1.79 0.70 0.07 94.47 17:38:01 3 4.23 0.00 1.80 0.49 0.05 93.44 17:38:01 4 4.10 0.00 1.89 0.12 0.05 93.84 17:38:01 5 3.11 0.00 2.07 0.18 0.03 94.60 17:38:01 6 3.20 0.00 1.84 0.67 0.05 94.24 17:38:01 7 3.80 0.00 1.79 1.41 0.08 92.92 17:39:01 all 0.56 0.00 0.18 0.01 0.02 99.23 17:39:01 0 0.18 0.00 0.07 0.00 0.00 99.75 17:39:01 1 0.78 0.00 0.20 0.00 0.02 99.00 17:39:01 2 0.38 0.00 0.20 0.03 0.03 99.35 17:39:01 3 0.53 0.00 0.15 0.00 0.08 99.24 17:39:01 4 0.27 0.00 0.18 0.00 0.02 99.53 17:39:01 5 1.17 0.00 0.37 0.00 0.02 98.45 17:39:01 6 0.38 0.00 0.18 0.00 0.02 99.42 17:39:01 7 0.73 0.00 0.13 0.02 0.00 99.12 17:40:01 all 0.08 0.00 0.04 0.01 0.01 99.86 17:40:01 0 0.10 0.00 0.07 0.00 0.02 99.82 17:40:01 1 0.13 0.00 0.05 0.00 0.02 99.80 17:40:01 2 0.10 0.00 0.03 0.03 0.03 99.80 17:40:01 3 0.07 0.00 0.03 0.00 0.00 99.90 17:40:01 4 0.10 0.00 0.03 0.02 0.02 99.83 17:40:01 5 0.07 0.00 0.03 0.00 0.00 99.90 17:40:01 6 0.07 0.00 0.03 0.00 0.00 99.90 17:40:01 7 0.03 0.00 0.00 0.00 0.00 99.97 17:41:01 all 3.74 0.00 1.80 0.35 0.05 94.07 17:41:01 0 2.19 0.00 1.79 0.18 0.03 95.80 17:41:01 1 4.21 0.00 1.66 0.17 0.08 93.88 17:41:01 2 3.03 0.00 1.88 0.27 0.05 94.77 17:41:01 3 2.81 0.00 1.62 0.59 0.05 94.93 17:41:01 4 2.36 0.00 2.21 0.07 0.05 95.31 17:41:01 5 5.72 0.00 1.53 0.30 0.05 92.41 17:41:01 6 4.75 0.00 1.82 0.47 0.05 92.91 17:41:01 7 4.83 0.00 1.86 0.72 0.05 92.54 17:42:01 all 0.82 0.00 0.22 0.03 0.02 98.91 17:42:01 0 0.85 0.00 0.20 0.12 0.02 98.82 17:42:01 1 0.28 0.00 0.15 0.00 0.00 99.57 17:42:01 2 0.30 0.00 0.12 0.03 0.02 99.53 17:42:01 3 1.02 0.00 0.13 0.02 0.02 98.82 17:42:01 4 0.52 0.00 0.18 0.02 0.03 99.25 17:42:01 5 1.62 0.00 0.40 0.00 0.02 97.97 17:42:01 6 1.23 0.00 0.35 0.05 0.03 98.33 17:42:01 7 0.77 0.00 0.27 0.00 0.03 98.93 17:43:01 all 0.09 0.00 0.04 0.01 0.01 99.85 17:43:01 0 0.08 0.00 0.05 0.02 0.00 99.85 17:43:01 1 0.12 0.00 0.03 0.00 0.02 99.83 17:43:01 2 0.05 0.00 0.03 0.00 0.00 99.92 17:43:01 3 0.20 0.00 0.05 0.00 0.02 99.73 17:43:01 4 0.08 0.00 0.03 0.02 0.00 99.87 17:43:01 5 0.02 0.00 0.02 0.00 0.00 99.97 17:43:01 6 0.13 0.00 0.05 0.00 0.00 99.82 17:43:01 7 0.07 0.00 0.08 0.00 0.02 99.83 17:44:01 all 2.17 0.00 1.06 0.39 0.03 96.35 17:44:01 0 1.55 0.00 1.23 0.65 0.03 96.53 17:44:01 1 2.64 0.00 1.12 0.10 0.07 96.07 17:44:01 2 1.88 0.00 0.89 0.89 0.03 96.32 17:44:01 3 3.16 0.00 1.00 0.20 0.03 95.60 17:44:01 4 1.60 0.00 1.10 0.12 0.02 97.16 17:44:01 5 1.87 0.00 1.07 0.13 0.02 96.91 17:44:01 6 1.39 0.00 0.90 0.80 0.02 96.88 17:44:01 7 3.23 0.00 1.15 0.22 0.05 95.35 17:45:01 all 2.12 0.00 0.80 0.06 0.03 97.00 17:45:01 0 2.54 0.00 0.82 0.10 0.03 96.51 17:45:01 1 3.59 0.00 1.10 0.03 0.02 95.26 17:45:01 2 1.77 0.00 0.80 0.15 0.03 97.24 17:45:01 3 1.33 0.00 0.77 0.02 0.05 97.83 17:45:01 4 1.74 0.00 0.84 0.02 0.03 97.37 17:45:01 5 1.69 0.00 0.73 0.00 0.02 97.56 17:45:01 6 3.19 0.00 0.75 0.13 0.03 95.89 17:45:01 7 1.09 0.00 0.62 0.02 0.02 98.26 17:46:01 all 0.35 0.00 0.15 0.01 0.01 99.48 17:46:01 0 0.22 0.00 0.17 0.00 0.02 99.60 17:46:01 1 0.43 0.00 0.13 0.00 0.02 99.42 17:46:01 2 0.35 0.00 0.18 0.02 0.02 99.43 17:46:01 3 0.18 0.00 0.10 0.00 0.00 99.72 17:46:01 4 0.18 0.00 0.12 0.00 0.02 99.68 17:46:01 5 0.87 0.00 0.27 0.02 0.02 98.83 17:46:01 6 0.22 0.00 0.13 0.00 0.00 99.65 17:46:01 7 0.33 0.00 0.12 0.00 0.00 99.55 17:47:01 all 0.11 0.00 0.04 0.00 0.02 99.82 17:47:01 0 0.05 0.00 0.05 0.02 0.00 99.88 17:47:01 1 0.12 0.00 0.07 0.00 0.02 99.80 17:47:01 2 0.13 0.00 0.05 0.00 0.02 99.80 17:47:01 3 0.13 0.00 0.03 0.00 0.02 99.82 17:47:01 4 0.07 0.00 0.03 0.00 0.00 99.90 17:47:01 5 0.23 0.00 0.08 0.00 0.05 99.63 17:47:01 6 0.08 0.00 0.02 0.00 0.00 99.90 17:47:01 7 0.07 0.00 0.03 0.00 0.00 99.90 17:48:01 all 3.83 0.00 1.86 0.46 0.04 93.81 17:48:01 0 3.67 0.00 2.17 1.40 0.03 92.72 17:48:01 1 3.32 0.00 1.84 0.32 0.03 94.49 17:48:01 2 3.42 0.00 1.86 0.84 0.05 93.83 17:48:01 3 5.99 0.00 1.97 0.17 0.05 91.82 17:48:01 4 3.09 0.00 1.91 0.17 0.03 94.80 17:48:01 5 4.70 0.00 1.64 0.35 0.05 93.25 17:48:01 6 3.27 0.00 1.79 0.29 0.03 94.62 17:48:01 7 3.15 0.00 1.61 0.20 0.05 94.99 17:48:01 CPU %user %nice %system %iowait %steal %idle 17:49:01 all 0.41 0.00 0.16 0.00 0.01 99.42 17:49:01 0 0.23 0.00 0.12 0.00 0.00 99.65 17:49:01 1 0.32 0.00 0.15 0.02 0.02 99.50 17:49:01 2 0.33 0.00 0.20 0.00 0.00 99.47 17:49:01 3 1.20 0.00 0.20 0.00 0.02 98.58 17:49:01 4 0.28 0.00 0.15 0.00 0.02 99.55 17:49:01 5 0.18 0.00 0.15 0.02 0.02 99.63 17:49:01 6 0.43 0.00 0.10 0.00 0.02 99.45 17:49:01 7 0.28 0.00 0.18 0.00 0.00 99.53 17:50:01 all 0.08 0.00 0.05 0.00 0.01 99.86 17:50:01 0 0.05 0.00 0.05 0.00 0.02 99.88 17:50:01 1 0.10 0.00 0.03 0.00 0.00 99.87 17:50:01 2 0.12 0.00 0.03 0.00 0.00 99.85 17:50:01 3 0.05 0.00 0.03 0.00 0.02 99.90 17:50:01 4 0.03 0.00 0.00 0.00 0.00 99.97 17:50:01 5 0.12 0.00 0.08 0.03 0.03 99.73 17:50:01 6 0.03 0.00 0.02 0.00 0.02 99.93 17:50:01 7 0.18 0.00 0.10 0.00 0.05 99.67 17:51:01 all 3.73 0.00 1.78 0.28 0.05 94.16 17:51:01 0 3.22 0.00 1.83 0.35 0.03 94.57 17:51:01 1 4.36 0.00 1.89 0.08 0.05 93.61 17:51:01 2 3.91 0.00 1.63 0.49 0.05 93.93 17:51:01 3 2.73 0.00 1.78 0.13 0.07 95.29 17:51:01 4 3.25 0.00 1.98 0.39 0.03 94.36 17:51:01 5 5.49 0.00 1.90 0.54 0.07 92.01 17:51:01 6 3.68 0.00 1.57 0.10 0.03 94.62 17:51:01 7 3.18 0.00 1.76 0.18 0.03 94.85 17:52:01 all 0.48 0.00 0.20 0.08 0.01 99.22 17:52:01 0 0.83 0.00 0.17 0.12 0.02 98.87 17:52:01 1 0.25 0.00 0.13 0.00 0.02 99.60 17:52:01 2 0.27 0.00 0.15 0.00 0.00 99.58 17:52:01 3 1.22 0.00 0.38 0.00 0.02 98.38 17:52:01 4 0.32 0.00 0.18 0.07 0.02 99.42 17:52:01 5 0.32 0.00 0.17 0.43 0.02 99.07 17:52:01 6 0.23 0.00 0.22 0.00 0.02 99.53 17:52:01 7 0.47 0.00 0.17 0.02 0.02 99.33 17:53:01 all 0.09 0.00 0.05 0.00 0.01 99.85 17:53:01 0 0.03 0.00 0.03 0.00 0.02 99.92 17:53:01 1 0.07 0.00 0.03 0.00 0.02 99.88 17:53:01 2 0.07 0.00 0.00 0.00 0.02 99.92 17:53:01 3 0.12 0.00 0.08 0.00 0.00 99.80 17:53:01 4 0.17 0.00 0.08 0.02 0.02 99.72 17:53:01 5 0.05 0.00 0.03 0.02 0.00 99.90 17:53:01 6 0.10 0.00 0.08 0.00 0.02 99.80 17:53:01 7 0.08 0.00 0.08 0.00 0.03 99.80 17:54:01 all 3.02 0.00 1.23 0.23 0.03 95.50 17:54:01 0 1.37 0.00 0.99 0.05 0.02 97.58 17:54:01 1 1.20 0.00 1.07 0.10 0.03 97.59 17:54:01 2 0.87 0.00 0.95 0.10 0.02 98.06 17:54:01 3 2.99 0.00 1.22 0.10 0.03 95.66 17:54:01 4 2.41 0.00 2.18 1.24 0.07 94.10 17:54:01 5 0.62 0.00 1.00 0.02 0.02 98.35 17:54:01 6 1.46 0.00 0.94 0.05 0.02 97.54 17:54:01 7 13.24 0.00 1.44 0.15 0.03 85.14 Average: all 1.76 0.00 0.69 0.43 0.03 97.10 Average: 0 2.03 0.00 0.74 0.50 0.02 96.71 Average: 1 1.66 0.00 0.71 0.80 0.03 96.81 Average: 2 1.46 0.00 0.68 0.46 0.03 97.37 Average: 3 1.76 0.00 0.68 0.30 0.03 97.22 Average: 4 1.52 0.00 0.69 0.16 0.02 97.61 Average: 5 1.69 0.00 0.65 0.33 0.03 97.30 Average: 6 2.04 0.00 0.67 0.27 0.03 96.99 Average: 7 1.87 0.00 0.70 0.62 0.03 96.79