Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-76233 (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-Ey2ACAlEIQe0/agent.2175 SSH_AGENT_PID=2177 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite@tmp/private_key_506570735475447570.key (/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite@tmp/private_key_506570735475447570.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/jenkins16917861561777016044.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-3m5a 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-3m5a/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.1 from /tmp/venv-3m5a/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.0 botocore==1.32.0 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.12.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/jenkins728132286406154849.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/jenkins16624833278069592470.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 ++ sed '/^[^0-9]/d' ++ '[' 2 -gt 0 ']' ++ 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 ++ 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-o0HX + 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 ++ sed 's/^[ *]* //' ++ local command ++ command=versions ++ awk '{ print $1 }' ++ '[' 1 -gt 0 ']' ++ shift ++ case "$command" in ++ command pyenv versions ++ pyenv versions ++ grep -E '^[0-9.]*[0-9]$' ++ [[ ! -s /tmp/.pyenv_versions ]] +++ grep '^3' /tmp/.pyenv_versions +++ sort -V +++ tail -n 1 ++ 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-o0HX + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-o0HX' lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-o0HX + echo /tmp/venv-o0HX + 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-o0HX/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-o0HX/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager setuptools pip wheel + type python3 + true + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-o0HX/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-o0HX/bin to PATH + PATH=/tmp/venv-o0HX/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 5.4 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 23.7 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 14.2 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 1.6 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 39.6 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 16.1 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 6.8 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 4.3 MB/s eta 0:00:00 Collecting protobuf (from -r requirements.txt (line 37)) Downloading protobuf-4.25.0-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 1.4 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 3.3 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 6.4 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 8.6 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 5.5 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 16.6 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 22.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 5.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 15.3 MB/s eta 0:00:00 Downloading odltools-0.1.32-py2.py3-none-any.whl (201 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 201.4/201.4 kB 5.0 MB/s eta 0:00:00 Downloading odltools-0.1.31-py2.py3-none-any.whl (201 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 201.2/201.2 kB 33.3 MB/s eta 0:00:00 Downloading odltools-0.1.30-py2.py3-none-any.whl (201 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 201.1/201.1 kB 28.1 MB/s eta 0:00:00 Downloading odltools-0.1.29-py2.py3-none-any.whl (207 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 207.5/207.5 kB 33.9 MB/s eta 0:00:00 Downloading odltools-0.1.28-py2.py3-none-any.whl (204 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 205.0/205.0 kB 33.4 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 18.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 7.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 3.3 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.0 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 19.9 MB/s eta 0:00:00 Downloading pyangbind-0.8.4.post1-py3-none-any.whl (52 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 52.8/52.8 kB 6.1 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 13.1 MB/s eta 0:00:00 Using cached dnspython-2.4.2-py3-none-any.whl (300 kB) Downloading protobuf-4.25.0-cp37-abi3-manylinux2014_x86_64.whl (294 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 294.4/294.4 kB 32.1 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 6.7 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 2.4 MB/s eta 0:00:00 Downloading trio-0.23.1-py3-none-any.whl (448 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 448.3/448.3 kB 22.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 21.1 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 15.9 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=35bece08e8f8bdd6ee94b914f9c7f76fd9a3619f7515f0da18e7de08e15c20f9 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=0cb2f7695d55217461dc7d47a04de2dd10573ec7ce3f8709b9f18f36a586e5eb 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=641305fb1688975d68dc646a596c76a65d8bf2485ae85c29a56f7a595830647d 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=4e355375cc6fecc1c56d54d89a72a3a49aa02236088b3bd0ced885bdc1fcd35b 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=3d969e08926b20b5c6017242bfe3d112b66046108bdc11ea3f1c08df5d058af3 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=73b33fcebf23505b4624d2a4b0ae89afa4d71cc2c0f6066931900c8d41748d19 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=b0537a5cb261d3a711c438fffdf8deb6a693ec2961dbe739b2041a6472cf5269 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=ae229d9f1f94e8a390fa84af9d6b0717f1dbb331de094de3eaaee8bee5ea5239 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.0 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-o0HX + echo ROBOT3_VENV=/tmp/venv-o0HX + 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.0 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/jenkins16596071669627660011.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 +++ sed '/^[^0-9]/d' +++ sort -V +++ pyenv versions --bare +++ local command +++ command=versions +++ '[' 2 -gt 0 ']' +++ shift +++ case "$command" in +++ command pyenv versions --bare +++ pyenv versions --bare +++ 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-o0HX ++ [[ -f /tmp/venv-o0HX/bin/activate ]] ++ source /tmp/venv-o0HX/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-o0HX +++ 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-o0HX/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-o0HX) ' +++ export PS1 +++ VIRTUAL_ENV_PROMPT='(venv-o0HX) ' +++ export VIRTUAL_ENV_PROMPT +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r ++ mkdir -p /tmp/venv-o0HX/src/onap ++ rm -rf /tmp/venv-o0HX/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 2.5 MB/s eta 0:00:00 Requirement already satisfied: pbr in /tmp/venv-o0HX/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (6.0.0) Requirement already satisfied: deepdiff in /tmp/venv-o0HX/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (6.7.1) Requirement already satisfied: dnspython in /tmp/venv-o0HX/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (2.4.2) Requirement already satisfied: future in /tmp/venv-o0HX/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (0.18.3) Requirement already satisfied: jinja2 in /tmp/venv-o0HX/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (3.1.2) Requirement already satisfied: jsonpath-rw in /tmp/venv-o0HX/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (1.4.0) Requirement already satisfied: kafka-python in /tmp/venv-o0HX/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (2.0.2) Requirement already satisfied: paramiko in /tmp/venv-o0HX/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (3.3.1) Requirement already satisfied: protobuf in /tmp/venv-o0HX/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (4.25.0) Requirement already satisfied: pyyaml in /tmp/venv-o0HX/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (6.0.1) Requirement already satisfied: requests in /tmp/venv-o0HX/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-o0HX/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (0.9.3) Requirement already satisfied: robotlibcore-temp in /tmp/venv-o0HX/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (1.0.2) Requirement already satisfied: six in /tmp/venv-o0HX/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (1.16.0) Requirement already satisfied: urllib3 in /tmp/venv-o0HX/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (1.26.18) Requirement already satisfied: more-itertools in /tmp/venv-o0HX/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (10.1.0) Requirement already satisfied: robotframework in /tmp/venv-o0HX/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-o0HX/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-o0HX/lib/python3.10/site-packages (from jinja2->robotframework-onap==11.0.0.dev17) (2.1.3) Requirement already satisfied: ply in /tmp/venv-o0HX/lib/python3.10/site-packages (from jsonpath-rw->robotframework-onap==11.0.0.dev17) (3.11) Requirement already satisfied: decorator in /tmp/venv-o0HX/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-o0HX/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-o0HX/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-o0HX/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-o0HX/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-o0HX/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-o0HX/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-o0HX/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-o0HX/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.0 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-o0HX/bin/activate + '[' -z /tmp/venv-o0HX/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/venv-o0HX/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-o0HX ++ 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-o0HX/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-o0HX) ' ++ PS1='(venv-o0HX) (venv-o0HX) ' ++ export PS1 ++ VIRTUAL_ENV_PROMPT='(venv-o0HX) ' ++ 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.0gFWARG8AY-robot-workdir + cd /tmp/tmp.0gFWARG8AY-robot-workdir + export PATH=/tmp/venv-o0HX/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-o0HX/bin + PATH=/tmp/venv-o0HX/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-o0HX/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 4c86f8625acc: Verifying Checksum 4c86f8625acc: Download complete 05e7bc50f07f: Verifying Checksum 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 ---> 892937116953 Step 3/5 : WORKDIR /app ---> Running in 4762e159e38a Removing intermediate container 4762e159e38a ---> e4e3e9aaa173 Step 4/5 : RUN pip install --no-cache-dir -r requirements.txt ---> Running in 31b45b9ba61c 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=f1d5732f7647bcf08aabd014ca99c0a5c4918cf6da7d8768014d5808aa6e141a Stored in directory: /tmp/pip-ephem-wheel-cache-nynv4ltw/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 31b45b9ba61c ---> 8da3f3972bed Step 5/5 : EXPOSE 2222 2223 ---> Running in 4a51f65e070e Removing intermediate container 4a51f65e070e ---> 5d7abb5945d9 Successfully built 5d7abb5945d9 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 5f32ed3c3f27: Waiting 6f51ee005dea: Waiting 0c8cc2f24a4d: Waiting 0d27a8e86132: Waiting d9a8df589451: Waiting b253aeafeaa7: Verifying Checksum b253aeafeaa7: Download complete 3d2201bd995c: Verifying Checksum 3d2201bd995c: Download complete 2ff1d7c41c74: Verifying Checksum 2ff1d7c41c74: Download complete 6f51ee005dea: Verifying Checksum 6f51ee005dea: Download complete 1de76e268b10: Verifying Checksum 1de76e268b10: Download complete 0c8cc2f24a4d: Verifying Checksum 0c8cc2f24a4d: Download complete 5f32ed3c3f27: Verifying Checksum 5f32ed3c3f27: Download complete 0d27a8e86132: Download complete 2ff1d7c41c74: Pull complete b253aeafeaa7: Pull complete d9a8df589451: Verifying Checksum d9a8df589451: Download 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 7a1d8cf3292f Removing intermediate container 7a1d8cf3292f ---> 5014edd60b3b Step 3/7 : COPY dmaapDR.js ./ ---> 10e3124668b6 Step 4/7 : COPY dmaapDR_redir.js ./ ---> 4234b5992c60 Step 5/7 : COPY package*.json ./ ---> 24f9acfa4d9d Step 6/7 : RUN npm install express ---> Running in eedf6f22d20b 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.616s 11 packages are looking for funding run `npm fund` for details found 0 vulnerabilities Removing intermediate container eedf6f22d20b ---> 1081bb7598ef Step 7/7 : RUN npm install argparse ---> Running in a50eea3f4119 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.709s 11 packages are looking for funding run `npm fund` for details found 0 vulnerabilities Removing intermediate container a50eea3f4119 ---> 4e3a54bc2644 Successfully built 4e3a54bc2644 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 0fb6f74fda2e: Waiting 87e5cf803a9c: Download complete 1c7827cf61b2: Verifying Checksum 1c7827cf61b2: Download complete 0fb6f74fda2e: Verifying Checksum 0fb6f74fda2e: Download complete dbe06f2b48d4: Download complete c0fad266edcb: Verifying Checksum d3d4e1d44a24: Verifying Checksum d3d4e1d44a24: Download complete 95ea16876fa0: Verifying Checksum 95ea16876fa0: 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 ---> abb13e1b0d09 Step 3/4 : RUN chmod 644 /etc/vsftpd_ssl.conf ---> Running in d9c4d7da223d Removing intermediate container d9c4d7da223d ---> 0471914d18a7 Step 4/4 : RUN chown root:root /etc/vsftpd_ssl.conf ---> Running in 17f59571c113 Removing intermediate container 17f59571c113 ---> 13b80fdb4577 Successfully built 13b80fdb4577 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 + tee /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/plans/dcaegen2-collectors-datafile/Functional-suite/_sysinfo-1-after-setup.txt + echo '> top -bn1 | head -3' + top -bn1 + head -3 > top -bn1 | head -3 top - 16:47:21 up 4 min, 0 users, load average: 1.76, 0.84, 0.34 Tasks: 157 total, 1 running, 83 sleeping, 0 stopped, 0 zombie %Cpu(s): 7.4 us, 1.5 sy, 0.0 ni, 85.3 id, 5.7 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 749M 27G 708K 3.7G 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.0gFWARG8AY-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.0 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 38dee3820346ca03d7eaa37bc86dad71821e8d31d2fc4f5e1da5270f834a96c6 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-server3 ... Creating dfc_cmpv2-postprocessor ... Creating dfc_sftp-server4 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_sftp-server1 ... Creating dfc_http-https-server1 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_mr-sim ... Creating dfc_http-https-server4 ... Creating dfc_dr-sim ... Creating dfc_http-https-server2 ... Creating dfc_sftp-server2 ... Creating dfc_http-https-server3 ... Creating dfc_sftp-server0 ... Creating dfc_http-https-server0 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_dr-redir-sim ... Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_cmpv2-postprocessor ... done Creating dfc_dr-sim ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_sftp-server2 ... done Creating dfc_sftp-server4 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_http-https-server3 ... done Creating dfc_dr-redir-sim ... done Creating dfc_sftp-server1 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_sftp-server3 ... done Creating dfc_http-https-server2 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_http-https-server1 ... done Creating dfc_http-https-server0 ... done Creating dfc_mr-sim ... done Creating dfc_sftp-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=a4c4b240e933 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=cf44e77f5878 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=c0272139fdf2 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=9f922c751a08 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=ad3ade541ae7 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=b5b0f432fb24 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=bd502359b35e ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=60852b379623 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=c3d075469832 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=e0f43ec53cea ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=03bd81852bb1 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=6dacf8fd4475 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=1aa7f05d9e32 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=e4d78357a025 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=536ce6cd5b25 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=e67f144163f1 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=57b47e70147f ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=f5ee131cf21b + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' a4c4b240e933 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' cf44e77f5878 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c0272139fdf2 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9f922c751a08 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ad3ade541ae7 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b5b0f432fb24 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' bd502359b35e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 60852b379623 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c3d075469832 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e0f43ec53cea + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 03bd81852bb1 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6dacf8fd4475 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1aa7f05d9e32 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e4d78357a025 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 536ce6cd5b25 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e67f144163f1 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 57b47e70147f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f5ee131cf21b + '[' 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 9f922c751a08:/tmp/ + docker exec -w //home/onap/ 9f922c751a08 //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 e4d78357a025:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs e4d78357a025 //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 - - [15/Nov/2023 16:48:01] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 16:48:02] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 16:48:55] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 16:49:51] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 16:50:02] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 16:50:12] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 16:50:22] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 16:50:32] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 16:50:42] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 16:50:52] "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-server2 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_dr-redir-sim ... Creating dfc_sftp-server1 ... Creating dfc_sftp-server3 ... Creating dfc_http-https-server4 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_sftp-server0 ... Creating dfc_http-https-server2 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_dr-sim ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_http-https-server1 ... Creating dfc_mr-sim ... Creating dfc_http-https-server3 ... Creating dfc_http-https-server0 ... Creating dfc_sftp-server4 ... Creating dfc_ftpes-server-vsftpd0 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_sftp-server3 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_sftp-server0 ... done Creating dfc_sftp-server1 ... done Creating dfc_dr-redir-sim ... done Creating dfc_mr-sim ... done Creating dfc_sftp-server2 ... done Creating dfc_http-https-server1 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_dr-sim ... done Creating dfc_sftp-server4 ... done Creating dfc_http-https-server0 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_http-https-server3 ... done Creating dfc_http-https-server2 ... 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=31fa7f1183e6 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=739cece4cbf2 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=06f3abf92da5 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=b42667c7e20e ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=d5c0632b0af4 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=4e10930a0d43 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=c1c7ac95a626 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=373c3f454b66 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=f7645a0a09ee ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=68390dfd3b3c ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=67b0f9c03232 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=9e0200b5f931 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=40d00cf86c52 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=ca4105d9b3bf ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=fbe2ee8bfff1 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=d0e7517fa609 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=73e981b5d4eb ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=e07afa1972af + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 31fa7f1183e6 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 739cece4cbf2 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 06f3abf92da5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b42667c7e20e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d5c0632b0af4 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4e10930a0d43 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c1c7ac95a626 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 373c3f454b66 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f7645a0a09ee + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 68390dfd3b3c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 67b0f9c03232 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9e0200b5f931 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 40d00cf86c52 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ca4105d9b3bf + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' fbe2ee8bfff1 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d0e7517fa609 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 73e981b5d4eb + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e07afa1972af + '[' 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 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 b42667c7e20e:/tmp/ + docker exec -w //home/onap/ b42667c7e20e //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 ca4105d9b3bf:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs ca4105d9b3bf //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 - - [15/Nov/2023 16:51:18] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 16:51:18] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 16:52:12] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 16:53:08] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 16:53:18] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 16:53:28] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 16:53:38] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 16:53:48] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 16:53:58] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 16:54:08] "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 Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_mr-sim ... Starting dfc_cmpv2-postprocessor ... Creating dfc_http-https-server1 ... Creating dfc_dr-sim ... Creating dfc_sftp-server3 ... Creating dfc_http-https-server3 ... Creating dfc_http-https-server0 ... Creating dfc_sftp-server1 ... Creating dfc_sftp-server2 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_http-https-server2 ... Creating dfc_dr-redir-sim ... Creating dfc_sftp-server4 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_http-https-server4 ... Creating dfc_sftp-server0 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_sftp-server3 ... done Creating dfc_sftp-server4 ... done Creating dfc_sftp-server1 ... done Creating dfc_sftp-server0 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_mr-sim ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_dr-sim ... done Creating dfc_sftp-server2 ... done Creating dfc_dr-redir-sim ... done Creating dfc_http-https-server1 ... done Creating dfc_http-https-server0 ... done Creating dfc_http-https-server4 ... 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=1d8c5e0ae111 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=ddffacece2ce ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=f79a67f89ee9 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=05105acdc4db ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=c9a4fe033558 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=366e20d6b524 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=aaf7803e9c30 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=566edaea8e21 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=8968cede0679 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=645cea9a11bc ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=b86029607885 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=014c2a291606 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=298e6e2020c0 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=9b0f02e909e3 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=1ffcd9620e6b ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=0404d60cdd43 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=1e1167a7f578 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=928f1532046c + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 1d8c5e0ae111 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ddffacece2ce + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f79a67f89ee9 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 05105acdc4db + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c9a4fe033558 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 366e20d6b524 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' aaf7803e9c30 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 566edaea8e21 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8968cede0679 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 645cea9a11bc + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b86029607885 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 014c2a291606 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 298e6e2020c0 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9b0f02e909e3 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1ffcd9620e6b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 0404d60cdd43 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1e1167a7f578 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 928f1532046c + '[' 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 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 05105acdc4db:/tmp/ + docker exec -w //home/onap/ 05105acdc4db //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 9b0f02e909e3:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 9b0f02e909e3 //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 - - [15/Nov/2023 16:54:36] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 16:54:36] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 16:55:29] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 16:56:25] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 16:56:35] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 16:56:45] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 16:56:55] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 16:57:05] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 16:57:16] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 16:57:26] "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_ftpes-server-vsftpd1 ... Creating dfc_http-https-server4 ... Creating dfc_sftp-server0 ... Creating dfc_sftp-server4 ... Creating dfc_dr-redir-sim ... Starting dfc_cmpv2-postprocessor ... Creating dfc_sftp-server1 ... Creating dfc_http-https-server0 ... Creating dfc_http-https-server1 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_http-https-server3 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_mr-sim ... Creating dfc_dr-sim ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_http-https-server2 ... Creating dfc_sftp-server2 ... Creating dfc_sftp-server3 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_sftp-server0 ... done Creating dfc_sftp-server1 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_mr-sim ... done Creating dfc_sftp-server4 ... done Creating dfc_sftp-server3 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_http-https-server0 ... done Creating dfc_sftp-server2 ... done Creating dfc_dr-redir-sim ... done Creating dfc_http-https-server3 ... done Creating dfc_dr-sim ... 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=83ee66ef317b ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=52c8fb582647 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=d6e4f4434366 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=a81e4d9e8d82 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=831e348c1289 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=c5ad9f1d3343 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=453400776ee2 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=1f1776ff1a7f ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=3eabc1b98348 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=83102339efc6 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=551789ca4f79 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=a5b7a57073d3 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=a45d67618676 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=e26367dfb3b6 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=b9a377571a87 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=7122ba25df3e ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=de26e6325ba2 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=492380f777b5 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 83ee66ef317b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 52c8fb582647 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d6e4f4434366 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a81e4d9e8d82 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 831e348c1289 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c5ad9f1d3343 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 453400776ee2 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1f1776ff1a7f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 3eabc1b98348 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 83102339efc6 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 551789ca4f79 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a5b7a57073d3 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a45d67618676 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e26367dfb3b6 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b9a377571a87 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7122ba25df3e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' de26e6325ba2 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 492380f777b5 + '[' 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 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 3eabc1b98348:/tmp/setup-ftp-files-for-image.sh + docker exec -w //srv 3eabc1b98348 //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 e26367dfb3b6:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs e26367dfb3b6 //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 https://0.0.0.0:2223/ (Press CTRL+C to quit) * Running on http://0.0.0.0:2222/ (Press CTRL+C to quit) 172.17.0.1 - - [15/Nov/2023 16:57:51] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 16:57:52] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 16:58:45] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 16:59:41] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 16:59:51] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:00:01] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:00:11] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:00:21] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:00:31] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:00:41] "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_mr-sim ... Creating dfc_sftp-server2 ... Creating dfc_dr-redir-sim ... Creating dfc_http-https-server3 ... Creating dfc_http-https-server4 ... Creating dfc_http-https-server1 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_dr-sim ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_sftp-server1 ... Creating dfc_http-https-server2 ... Creating dfc_sftp-server3 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_http-https-server0 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_sftp-server0 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_sftp-server4 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server2 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_sftp-server0 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_sftp-server3 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_sftp-server1 ... done Creating dfc_sftp-server4 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_dr-redir-sim ... done Creating dfc_dr-sim ... done Creating dfc_http-https-server2 ... done Creating dfc_mr-sim ... done Creating dfc_http-https-server1 ... done Creating dfc_http-https-server3 ... done Creating dfc_http-https-server4 ... 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=1fcbffc446af ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=d92ffed20413 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=b84f42b5c3a1 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=c4e3a6d09252 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=dd70329eb13b ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=718b3d76c024 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=7f6ac318c50a ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=bc25cca81a33 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=89cf82de9dd8 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=ed52d2904f58 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=f4de2ad82733 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=38efff359202 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=9334cc0947a6 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=2ef35f38c00b ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=901d5a137724 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=3a0037d3a51d ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=1516d7023862 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=7ee7bb7eec7e + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 1fcbffc446af + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d92ffed20413 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b84f42b5c3a1 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c4e3a6d09252 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' dd70329eb13b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 718b3d76c024 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7f6ac318c50a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' bc25cca81a33 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 89cf82de9dd8 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ed52d2904f58 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f4de2ad82733 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 38efff359202 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9334cc0947a6 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2ef35f38c00b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 901d5a137724 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 3a0037d3a51d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1516d7023862 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7ee7bb7eec7e + '[' 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} ++ grep OpenSSH ++ curl --silent --max-time 3 localhost:1023 + 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 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 89cf82de9dd8:/tmp/setup-ftp-files-for-image.sh + docker exec -w //srv 89cf82de9dd8 //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 2ef35f38c00b:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 2ef35f38c00b //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 - - [15/Nov/2023 17:01:09] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:01:09] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:02:02] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:02:58] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:03:09] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:03:19] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:03:29] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:03:39] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:03:49] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:03: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 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-server2 ... Creating dfc_http-https-server2 ... Creating dfc_dr-sim ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_ftpes-server-vsftpd4 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_http-https-server4 ... Creating dfc_mr-sim ... Creating dfc_sftp-server1 ... Creating dfc_http-https-server0 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_sftp-server4 ... Creating dfc_sftp-server3 ... Creating dfc_http-https-server1 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_sftp-server0 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_http-https-server3 ... Creating dfc_dr-redir-sim ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server1 ... done Creating dfc_sftp-server4 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_sftp-server0 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_mr-sim ... done Creating dfc_sftp-server2 ... done Creating dfc_dr-sim ... done Creating dfc_sftp-server3 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_dr-redir-sim ... done Creating dfc_http-https-server1 ... done Creating dfc_http-https-server0 ... done Creating dfc_http-https-server2 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_http-https-server3 ... 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=688f0e63b1ba ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=bd7b6ff0db7a ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=7227be40d9d6 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=43d25c35e66b ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=5812dda9a31b ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=8efd479a8a46 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=a18123a1a620 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=39e36d4cdb4d ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=9befb663b253 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=453f3b4c60b5 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=328d28855d40 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=e71921c2c473 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=4e196e7100b2 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=73d71e3a8790 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=a76f1753cda5 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=c83a940d04ab ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=d1859a3a3d83 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=fa37f2a5fce7 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 688f0e63b1ba + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' bd7b6ff0db7a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7227be40d9d6 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 43d25c35e66b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5812dda9a31b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8efd479a8a46 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a18123a1a620 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 39e36d4cdb4d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9befb663b253 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 453f3b4c60b5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 328d28855d40 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e71921c2c473 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4e196e7100b2 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 73d71e3a8790 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a76f1753cda5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c83a940d04ab + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d1859a3a3d83 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' fa37f2a5fce7 + '[' 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 9befb663b253:/tmp/setup-ftp-files-for-image.sh + docker exec -w //srv 9befb663b253 //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 73d71e3a8790:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 73d71e3a8790 //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 - - [15/Nov/2023 17:04:27] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:04:27] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:05:20] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:06:16] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:06:26] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:06:36] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:06:46] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:06:56] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:07:06] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:07:16] "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 Starting dfc_cmpv2-postprocessor ... Creating dfc_sftp-server1 ... Creating dfc_http-https-server2 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_dr-redir-sim ... Creating dfc_sftp-server0 ... Creating dfc_http-https-server1 ... Creating dfc_sftp-server2 ... Creating dfc_sftp-server4 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_sftp-server3 ... Creating dfc_http-https-server3 ... Creating dfc_http-https-server4 ... Creating dfc_http-https-server0 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_dr-sim ... Creating dfc_mr-sim ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server0 ... done Creating dfc_sftp-server1 ... done Creating dfc_mr-sim ... done Creating dfc_dr-sim ... done Creating dfc_http-https-server2 ... done Creating dfc_sftp-server4 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_dr-redir-sim ... done Creating dfc_sftp-server3 ... done Creating dfc_sftp-server2 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_http-https-server1 ... done Creating dfc_http-https-server3 ... done Creating dfc_http-https-server4 ... 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=d245873b7dfd ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=6e9313a77b0d ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=109bef075c17 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=f787d8145431 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=1a440b13df3a ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=cbfefab10a9d ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=411c7895f9e5 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=a60af1bc61d1 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=8a867b12d03c ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=d013e8826f03 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=dbe8585ee1c4 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=0d88e8eeda6e ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=9d1f7f63eb3a ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=4b074cdecefa ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=6ed748969ae5 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=fc4ac8cb03d0 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=02a67b56e08e ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=f991b73d2efa + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' d245873b7dfd + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6e9313a77b0d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 109bef075c17 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f787d8145431 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1a440b13df3a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' cbfefab10a9d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 411c7895f9e5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a60af1bc61d1 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8a867b12d03c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d013e8826f03 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' dbe8585ee1c4 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 0d88e8eeda6e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9d1f7f63eb3a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4b074cdecefa + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6ed748969ae5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' fc4ac8cb03d0 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 02a67b56e08e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f991b73d2efa + '[' 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 f787d8145431:/tmp/ + docker exec -w //home/onap/ f787d8145431 //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 4b074cdecefa:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 4b074cdecefa //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 - - [15/Nov/2023 17:07:52] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:07:52] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:08:45] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:09:42] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:09:52] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:10:02] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:10:12] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:10:22] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:10:32] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:10: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 Creating dfc_http-https-server2 ... Creating dfc_sftp-server0 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_http-https-server3 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_http-https-server1 ... Creating dfc_http-https-server4 ... Creating dfc_sftp-server3 ... Creating dfc_sftp-server4 ... Creating dfc_sftp-server2 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_mr-sim ... Creating dfc_dr-redir-sim ... Creating dfc_sftp-server1 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_http-https-server0 ... Creating dfc_dr-sim ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server1 ... done Creating dfc_sftp-server0 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_sftp-server2 ... done Creating dfc_mr-sim ... done Creating dfc_sftp-server4 ... done Creating dfc_dr-sim ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_sftp-server3 ... done Creating dfc_dr-redir-sim ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_http-https-server2 ... done Creating dfc_http-https-server1 ... done Creating dfc_http-https-server0 ... done Creating dfc_http-https-server3 ... 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=7738ee8b95ab ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=7aa01945ae2f ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=be000489b727 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=a5de98e0eac5 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=12696acb6ede ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=87c91e0bb5dc ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=0c3ba14f7292 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=53bda3b89237 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=f7c06d196181 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=2f7cefbb6d66 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=14167fdbb9dd ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=ad7acca156d2 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=920b7edcf3ff ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=bb889bf18943 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=cd7fe61b9ba6 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=8528405ac17a ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=f153f8ce7395 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=28b65b06661d + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 7738ee8b95ab + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7aa01945ae2f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' be000489b727 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a5de98e0eac5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 12696acb6ede + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 87c91e0bb5dc + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 0c3ba14f7292 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 53bda3b89237 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f7c06d196181 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2f7cefbb6d66 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 14167fdbb9dd + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ad7acca156d2 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 920b7edcf3ff + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' bb889bf18943 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' cd7fe61b9ba6 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8528405ac17a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f153f8ce7395 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 28b65b06661d + '[' 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 a5de98e0eac5:/tmp/ + docker exec -w //home/onap/ a5de98e0eac5 //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 bb889bf18943:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs bb889bf18943 //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 - - [15/Nov/2023 17:11:10] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:11:10] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:12:04] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:13:00] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:13:10] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:13:20] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:13:30] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:13:40] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:13:50] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:14:00] "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-server0 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_http-https-server4 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_http-https-server3 ... Creating dfc_sftp-server3 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_dr-sim ... Creating dfc_sftp-server1 ... Creating dfc_sftp-server4 ... Creating dfc_mr-sim ... Creating dfc_http-https-server2 ... Creating dfc_dr-redir-sim ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_sftp-server0 ... Creating dfc_sftp-server2 ... Creating dfc_http-https-server1 ... Creating dfc_ftpes-server-vsftpd2 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server3 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_sftp-server2 ... done Creating dfc_sftp-server4 ... done Creating dfc_sftp-server0 ... done Creating dfc_mr-sim ... done Creating dfc_sftp-server1 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_dr-redir-sim ... done Creating dfc_dr-sim ... done Creating dfc_http-https-server4 ... done Creating dfc_http-https-server0 ... done Creating dfc_http-https-server3 ... done Creating dfc_http-https-server2 ... 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=4c05340347f3 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=1bff146ba755 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=96eeb25d1042 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=53319dd4401a ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=7f7825a57afd ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=40a4c4fab78f ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=b615f2fe8c53 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=a05df0414a90 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=feb8757d0342 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=15e65bcaa061 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=108a0db2ab34 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=7908b37d8de3 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=52013f788118 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=29e1db7a9be2 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=a82f9b339ce8 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=35d135faede3 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=85d83f691cbd ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=ec799c989533 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 4c05340347f3 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1bff146ba755 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 96eeb25d1042 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 53319dd4401a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7f7825a57afd + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 40a4c4fab78f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b615f2fe8c53 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a05df0414a90 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' feb8757d0342 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 15e65bcaa061 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 108a0db2ab34 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7908b37d8de3 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 52013f788118 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 29e1db7a9be2 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a82f9b339ce8 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 35d135faede3 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 85d83f691cbd + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ec799c989533 + '[' 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 53319dd4401a:/tmp/ + docker exec -w //home/onap/ 53319dd4401a //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 29e1db7a9be2:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 29e1db7a9be2 //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 - - [15/Nov/2023 17:14:28] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:14:29] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:15:22] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:16:18] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:16:28] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:16:38] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:16:48] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:16:58] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:17:08] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:17: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_http-https-server4 ... Creating dfc_http-https-server3 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_sftp-server1 ... Creating dfc_sftp-server3 ... Creating dfc_sftp-server0 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_http-https-server1 ... Creating dfc_sftp-server4 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_http-https-server0 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_dr-sim ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_mr-sim ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_sftp-server2 ... Creating dfc_http-https-server2 ... Creating dfc_dr-redir-sim ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_sftp-server4 ... done Creating dfc_sftp-server0 ... done Creating dfc_sftp-server1 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_sftp-server2 ... done Creating dfc_sftp-server3 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_dr-sim ... done Creating dfc_dr-redir-sim ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_http-https-server4 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_http-https-server1 ... done Creating dfc_mr-sim ... done Creating dfc_http-https-server3 ... done Creating dfc_http-https-server0 ... 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=023dd5d2f4ba ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=4faf2c7fc4ce ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=3107ea82d9ec ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=d9b71b53e192 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=a244e5046782 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=009268cf3157 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=e9d09dd8b9b4 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=f340a7b45b26 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=6654c7833272 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=941df8871795 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=be6858b6f43b ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=975a361e1666 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=1a5552dc01f5 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=3d9f2b2a51af ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=9c8cd60f65df ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=43ebdcf18e19 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=d0db3d3b2f13 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=b3a23353c396 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 023dd5d2f4ba + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4faf2c7fc4ce + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 3107ea82d9ec + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d9b71b53e192 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a244e5046782 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 009268cf3157 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e9d09dd8b9b4 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f340a7b45b26 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6654c7833272 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 941df8871795 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' be6858b6f43b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 975a361e1666 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1a5552dc01f5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 3d9f2b2a51af + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9c8cd60f65df + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 43ebdcf18e19 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d0db3d3b2f13 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b3a23353c396 + '[' 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 d9b71b53e192:/tmp/ + docker exec -w //home/onap/ d9b71b53e192 //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 3d9f2b2a51af:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 3d9f2b2a51af //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 - - [15/Nov/2023 17:17:47] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:17:47] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:18:40] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:19:36] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:19:46] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:19:56] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:20:06] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:20:16] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:20:26] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:20:36] "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 Creating dfc_dr-redir-sim ... Creating dfc_http-https-server2 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_http-https-server0 ... Creating dfc_http-https-server4 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_dr-sim ... Creating dfc_sftp-server0 ... Creating dfc_sftp-server3 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_sftp-server1 ... Creating dfc_sftp-server4 ... Creating dfc_sftp-server2 ... Creating dfc_http-https-server3 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_mr-sim ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_http-https-server1 ... Creating dfc_ftpes-server-vsftpd2 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server0 ... done Creating dfc_sftp-server3 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_sftp-server2 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_dr-redir-sim ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_mr-sim ... done Creating dfc_sftp-server4 ... done Creating dfc_sftp-server1 ... done Creating dfc_dr-sim ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_http-https-server2 ... done Creating dfc_http-https-server4 ... done Creating dfc_http-https-server0 ... 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=2a98781e03df ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=368657d3aaf0 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=e51fe5166688 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=78f966caac20 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=7a7d4b051f5e ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=0131422775e8 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=529247c9cd5e ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=fa8dc4d78331 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=39c59a3e6779 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=1403db58b138 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=13907e4b90df ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=c884cd9e3b59 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=ef3f3538c8d8 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=ccbac2128edb ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=0aa8bb7696a5 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=80d9e8fc7ce9 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=e6ae2a9e1a15 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=9df5c9139610 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 2a98781e03df + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 368657d3aaf0 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e51fe5166688 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 78f966caac20 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7a7d4b051f5e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 0131422775e8 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 529247c9cd5e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' fa8dc4d78331 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 39c59a3e6779 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1403db58b138 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 13907e4b90df + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c884cd9e3b59 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ef3f3538c8d8 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ccbac2128edb + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 0aa8bb7696a5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 80d9e8fc7ce9 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e6ae2a9e1a15 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9df5c9139610 + '[' 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} ++ grep OpenSSH ++ curl --silent --max-time 3 localhost:1022 + 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 78f966caac20:/tmp/ + docker exec -w //home/onap/ 78f966caac20 //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 ccbac2128edb:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs ccbac2128edb //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 - - [15/Nov/2023 17:21:06] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:21:06] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:21:59] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:22:55] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:23:05] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:23:15] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:23:25] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:23:35] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:23:45] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:23:55] "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_sftp-server1 ... Creating dfc_http-https-server1 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_http-https-server3 ... Creating dfc_sftp-server4 ... Creating dfc_ftpes-server-vsftpd1 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_http-https-server2 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_sftp-server2 ... Creating dfc_http-https-server0 ... Creating dfc_sftp-server3 ... Creating dfc_dr-redir-sim ... Creating dfc_http-https-server4 ... Creating dfc_dr-sim ... Creating dfc_mr-sim ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_sftp-server0 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_sftp-server0 ... done Creating dfc_mr-sim ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_dr-redir-sim ... done Creating dfc_sftp-server1 ... done Creating dfc_sftp-server3 ... done Creating dfc_dr-sim ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_sftp-server2 ... done Creating dfc_http-https-server2 ... done Creating dfc_http-https-server0 ... done Creating dfc_sftp-server4 ... done Creating dfc_http-https-server1 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_http-https-server3 ... 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=1332a87a42bc ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=3f07b58f3797 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=e02cb25b09d7 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=785ac94d935e ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=0358650109c0 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=9b1443b6d1d5 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=a10fbc44d1b1 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=3b51982edd1d ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=ab89802fbdff ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=a08dc07dc658 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=1b8812e48229 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=528386e0a008 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=eda755034d8f ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=ec55f318c222 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=bc9ddc498dc6 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=76bcf7857c90 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=31f34aec873f ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=82a4a2713b2a + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 1332a87a42bc + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 3f07b58f3797 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e02cb25b09d7 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 785ac94d935e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 0358650109c0 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9b1443b6d1d5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a10fbc44d1b1 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 3b51982edd1d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ab89802fbdff + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a08dc07dc658 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1b8812e48229 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 528386e0a008 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' eda755034d8f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ec55f318c222 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' bc9ddc498dc6 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 76bcf7857c90 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 31f34aec873f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 82a4a2713b2a + '[' 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} ++ grep vsFTPd ++ curl --silent --max-time 3 ftp://localhost:1034 --ftp-ssl -v -k + 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 785ac94d935e:/tmp/ + docker exec -w //home/onap/ 785ac94d935e //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 ec55f318c222:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs ec55f318c222 //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 - - [15/Nov/2023 17:24:19] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:24:20] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:25:13] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:26:09] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:26:19] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:26:29] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:26:39] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:26:49] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:26:59] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:27:09] "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' + 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_sftp-server3 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_http-https-server0 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_dr-sim ... Starting dfc_cmpv2-postprocessor ... Creating dfc_dr-redir-sim ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_mr-sim ... Creating dfc_http-https-server3 ... Creating dfc_sftp-server1 ... Creating dfc_sftp-server2 ... Creating dfc_http-https-server1 ... Creating dfc_http-https-server2 ... Creating dfc_sftp-server4 ... Creating dfc_http-https-server4 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server4 ... done Creating dfc_sftp-server0 ... done Creating dfc_sftp-server3 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_sftp-server2 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_dr-sim ... done Creating dfc_mr-sim ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_sftp-server1 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_dr-redir-sim ... done Creating dfc_http-https-server0 ... done Creating dfc_http-https-server3 ... done Creating dfc_http-https-server1 ... done Creating dfc_http-https-server2 ... 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=ee98b9958ca0 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=ec45a1c5ffc4 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=2d0e47d5619e ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=d69fe429eb61 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=b75556490fce ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=002718c40c49 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=f1e14bbbcd34 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=588983c3cc4a ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=b7613a4a9913 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=a25fd90072d6 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=cd5efb3f6904 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=18b112e813be ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=44b57fe43d88 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=140f984fe65e ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=aee0ed6dfae6 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=7db28da58c26 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=3272e3bfcd1a ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=36f171a30a7f + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' ee98b9958ca0 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ec45a1c5ffc4 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2d0e47d5619e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d69fe429eb61 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b75556490fce + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 002718c40c49 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f1e14bbbcd34 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 588983c3cc4a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b7613a4a9913 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a25fd90072d6 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' cd5efb3f6904 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 18b112e813be + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 44b57fe43d88 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 140f984fe65e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' aee0ed6dfae6 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7db28da58c26 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 3272e3bfcd1a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 36f171a30a7f + '[' 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} ++ 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} ++ grep vsFTPd ++ curl --silent --max-time 3 ftp://localhost:1036 --ftp-ssl -v -k + 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 d69fe429eb61:/tmp/ + docker exec -w //home/onap/ d69fe429eb61 //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 140f984fe65e:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 140f984fe65e //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 - - [15/Nov/2023 17:27:39] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:27:39] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:28:33] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:29:29] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:29:39] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:29:49] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:29:59] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:30:09] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:30:19] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:30: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 ------------------------------------------------------------------------------ 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-server1 ... Creating dfc_http-https-server3 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_http-https-server0 ... Creating dfc_sftp-server0 ... Creating dfc_http-https-server2 ... Creating dfc_mr-sim ... Starting dfc_cmpv2-postprocessor ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_sftp-server3 ... Creating dfc_sftp-server4 ... Creating dfc_sftp-server2 ... Creating dfc_dr-sim ... Creating dfc_dr-redir-sim ... Creating dfc_http-https-server4 ... Creating dfc_sftp-server1 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_ftpes-server-vsftpd4 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_sftp-server2 ... done Creating dfc_mr-sim ... done Creating dfc_http-https-server3 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_sftp-server0 ... done Creating dfc_sftp-server4 ... done Creating dfc_sftp-server1 ... done Creating dfc_dr-redir-sim ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_sftp-server3 ... 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_dr-sim ... 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=0556e547765d ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=2df55cf7ecbb ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=e8c6e2090969 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=56742a98f020 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=30ad3d49c5f0 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=5e7400063ad2 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=1aec59c7e47a ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=d3ad9d091061 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=3bff06b3c102 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=2d9c211acc77 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=69703b5da9a4 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=3ae283222761 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=c8e3ba975f9c ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=86cf682e75cc ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=e39097b36d8b ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=d7cab2c12b8a ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=7ee4bb0f7218 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=df8ab049226c + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 0556e547765d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2df55cf7ecbb + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e8c6e2090969 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 56742a98f020 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 30ad3d49c5f0 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5e7400063ad2 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1aec59c7e47a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d3ad9d091061 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 3bff06b3c102 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2d9c211acc77 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 69703b5da9a4 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 3ae283222761 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c8e3ba975f9c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 86cf682e75cc + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e39097b36d8b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d7cab2c12b8a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7ee4bb0f7218 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' df8ab049226c + '[' 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} ++ 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 56742a98f020:/tmp/ + docker exec -w //home/onap/ 56742a98f020 //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 86cf682e75cc:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 86cf682e75cc //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 - - [15/Nov/2023 17:30:57] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:30:57] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:31:50] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:32:46] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:32:56] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:33:06] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:33:16] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:33:26] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:33:36] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:33:46] "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 Creating dfc_http-https-server3 ... Creating dfc_dr-sim ... Starting dfc_cmpv2-postprocessor ... Creating dfc_mr-sim ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_sftp-server4 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_sftp-server3 ... Creating dfc_sftp-server0 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_http-https-server0 ... Creating dfc_sftp-server1 ... Creating dfc_sftp-server2 ... Creating dfc_http-https-server2 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_dr-redir-sim ... Creating dfc_http-https-server4 ... Creating dfc_http-https-server1 ... Creating dfc_ftpes-server-vsftpd0 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_sftp-server0 ... done Creating dfc_sftp-server4 ... done Creating dfc_sftp-server3 ... done Creating dfc_dr-redir-sim ... done Creating dfc_sftp-server2 ... done Creating dfc_mr-sim ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_http-https-server4 ... done Creating dfc_dr-sim ... done Creating dfc_sftp-server1 ... done Creating dfc_http-https-server3 ... done Creating dfc_http-https-server0 ... done Creating dfc_http-https-server2 ... 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=6aabffd26075 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=fc117edd2f31 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=afdf884e2eb7 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=a329aa297a56 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=e9bb9786c280 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=dc60b9bbcc38 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=cf54eaf9dc70 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=545b98a8f6ed ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=da4ca82c2283 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=2c3f198cbaef ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=ec796b74f492 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=4d8842ed2de8 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=80d4c4df3dae ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=f345eab7e355 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=b808162cd618 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=8f2323be989b ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=53d3b752fe6d ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=676a4823d573 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 6aabffd26075 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' fc117edd2f31 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' afdf884e2eb7 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a329aa297a56 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e9bb9786c280 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' dc60b9bbcc38 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' cf54eaf9dc70 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 545b98a8f6ed + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' da4ca82c2283 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2c3f198cbaef + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ec796b74f492 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4d8842ed2de8 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 80d4c4df3dae + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f345eab7e355 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b808162cd618 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8f2323be989b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 53d3b752fe6d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 676a4823d573 + '[' 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 a329aa297a56:/tmp/ + docker exec -w //home/onap/ a329aa297a56 //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 f345eab7e355:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs f345eab7e355 //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 - - [15/Nov/2023 17:34:13] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:34:13] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:35:07] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:36:03] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:36:13] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:36:23] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:36:33] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:36:43] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:36:53] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:37:03] "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_sftp-server1 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_sftp-server2 ... Creating dfc_sftp-server4 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_http-https-server1 ... Creating dfc_mr-sim ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_http-https-server4 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_dr-redir-sim ... Creating dfc_dr-sim ... Creating dfc_http-https-server3 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_sftp-server0 ... Creating dfc_http-https-server0 ... Creating dfc_sftp-server3 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server1 ... done Creating dfc_sftp-server2 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_mr-sim ... done Creating dfc_dr-redir-sim ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_sftp-server3 ... done Creating dfc_dr-sim ... done Creating dfc_sftp-server4 ... done Creating dfc_sftp-server0 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_http-https-server3 ... done Creating dfc_http-https-server0 ... done Creating dfc_http-https-server2 ... 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=3d5de5777cf0 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=b905b20a95ad ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=71c7d086ae80 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=b796d131273b ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=c9acf252613f ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=29ff3fd763ae ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=67f8aed3b990 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=2ade7156fe39 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=b53eaceacd0d ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=e13c27e33669 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=27df279c616c ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=87ac05a14729 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=45a32a18c665 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=8c41e21f6fe6 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=e4047115f242 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=81913f6d9a2e ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=bf1f26233b05 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=8c3d50842dc0 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 3d5de5777cf0 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b905b20a95ad + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 71c7d086ae80 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b796d131273b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c9acf252613f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 29ff3fd763ae + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 67f8aed3b990 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2ade7156fe39 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b53eaceacd0d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e13c27e33669 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 27df279c616c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 87ac05a14729 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 45a32a18c665 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8c41e21f6fe6 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e4047115f242 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 81913f6d9a2e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' bf1f26233b05 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8c3d50842dc0 + '[' 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 b796d131273b:/tmp/ + docker exec -w //home/onap/ b796d131273b //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 8c41e21f6fe6:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 8c41e21f6fe6 //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 - - [15/Nov/2023 17:37:31] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:37:31] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:38:24] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:39:20] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:39:30] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:39:40] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:39:51] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:40:01] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:40:11] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:40: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 ------------------------------------------------------------------------------ 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 Creating dfc_http-https-server0 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_mr-sim ... Creating dfc_http-https-server1 ... Creating dfc_http-https-server4 ... Creating dfc_sftp-server1 ... Creating dfc_sftp-server0 ... Creating dfc_dr-sim ... Creating dfc_http-https-server2 ... Creating dfc_sftp-server2 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_sftp-server3 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_sftp-server4 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_http-https-server3 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_dr-redir-sim ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server2 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_sftp-server0 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_sftp-server1 ... done Creating dfc_sftp-server4 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_dr-sim ... done Creating dfc_mr-sim ... done Creating dfc_sftp-server3 ... done Creating dfc_http-https-server0 ... done Creating dfc_http-https-server1 ... done Creating dfc_http-https-server2 ... done Creating dfc_http-https-server3 ... 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=2b7522cbd55d ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=aed49ad51fcc ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=5cc7c5c9158b ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=c82e56a3ea19 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=edf4e762b1c7 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=fade2ec96876 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=d919246686dd ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=79d91d75f1ed ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=1b138d29d304 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=2bb38b491176 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=b0a2b0fca02b ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=416f7085e2f7 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=ba1d031a6021 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=dc3522e7e2ab ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=e402d011c09f ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=a5c78ba35847 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=37d79def13f3 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=8dfb04b5a74c + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 2b7522cbd55d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' aed49ad51fcc + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5cc7c5c9158b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c82e56a3ea19 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' edf4e762b1c7 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' fade2ec96876 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d919246686dd + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 79d91d75f1ed + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1b138d29d304 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2bb38b491176 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b0a2b0fca02b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 416f7085e2f7 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ba1d031a6021 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' dc3522e7e2ab + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e402d011c09f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a5c78ba35847 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 37d79def13f3 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8dfb04b5a74c + '[' 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 c82e56a3ea19:/tmp/ + docker exec -w //home/onap/ c82e56a3ea19 //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 dc3522e7e2ab:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs dc3522e7e2ab //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 - - [15/Nov/2023 17:40:48] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:40:49] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:41:42] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:42:38] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:42:48] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:42:58] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:43:08] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:43:18] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:43:28] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:43:38] "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_ftpes-server-vsftpd1 ... Creating dfc_http-https-server0 ... Creating dfc_http-https-server3 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_sftp-server0 ... Creating dfc_sftp-server3 ... Creating dfc_sftp-server2 ... Creating dfc_http-https-server1 ... Creating dfc_sftp-server4 ... Creating dfc_sftp-server1 ... Creating dfc_http-https-server4 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_mr-sim ... Creating dfc_dr-sim ... Creating dfc_dr-redir-sim ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_http-https-server2 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server2 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_sftp-server0 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_sftp-server3 ... done Creating dfc_sftp-server1 ... done Creating dfc_dr-redir-sim ... done Creating dfc_sftp-server4 ... done Creating dfc_dr-sim ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_http-https-server0 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_mr-sim ... done Creating dfc_http-https-server4 ... done Creating dfc_http-https-server3 ... done Creating dfc_http-https-server2 ... 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=7a598aeb8d5d ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=169d10088b7b ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=b3f98baa8063 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=3d151e3c41c8 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=48abf868984b ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=675932b60425 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=e79b2288798a ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=d9a13b8e18cd ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=8e1bf6d60a08 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=834251f857e1 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=39612494339a ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=2249a1f4aec5 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=15c3148d3c46 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=d16d6b5b7ea0 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=1cbfa57fb8d6 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=04981c7233b7 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=6df1bb7a2817 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=738a22584e26 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 7a598aeb8d5d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 169d10088b7b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b3f98baa8063 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 3d151e3c41c8 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 48abf868984b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 675932b60425 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e79b2288798a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d9a13b8e18cd + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8e1bf6d60a08 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 834251f857e1 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 39612494339a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2249a1f4aec5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 15c3148d3c46 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d16d6b5b7ea0 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1cbfa57fb8d6 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 04981c7233b7 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6df1bb7a2817 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 738a22584e26 + '[' 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 3d151e3c41c8:/tmp/ + docker exec -w //home/onap/ 3d151e3c41c8 //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 d16d6b5b7ea0:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs d16d6b5b7ea0 //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 - - [15/Nov/2023 17:44:06] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:44:06] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:44:59] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:45:55] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:46:05] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:46:15] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:46:25] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:46:35] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:46:46] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:46:56] "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_http-https-server4 ... Creating dfc_http-https-server3 ... Creating dfc_ftpes-server-vsftpd4 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_http-https-server2 ... Creating dfc_sftp-server1 ... Creating dfc_sftp-server0 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_sftp-server4 ... Creating dfc_dr-redir-sim ... Creating dfc_sftp-server3 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_http-https-server0 ... Creating dfc_http-https-server1 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_dr-sim ... Creating dfc_mr-sim ... Creating dfc_sftp-server2 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server1 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_sftp-server0 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_mr-sim ... done Creating dfc_sftp-server2 ... done Creating dfc_sftp-server3 ... done Creating dfc_http-https-server1 ... done Creating dfc_sftp-server4 ... done Creating dfc_dr-sim ... done Creating dfc_dr-redir-sim ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_http-https-server4 ... done Creating dfc_http-https-server2 ... 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=7c6ad949a948 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=dcdf5166454d ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=4186ea4d2aab ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=f6ede11a69b8 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=d6219b09ba42 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=4ac3d2f30b47 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=8ff88b3eb370 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=ac3648d2cf44 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=718d39e94485 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=506fd6e5561e ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=a746b3a42d42 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=7aea16d13bb8 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=1513cd54e035 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=6819017c0218 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=1f8c63c9a842 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=74f9cc030144 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=dd6c9799f985 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=70bdaac96c08 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 7c6ad949a948 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' dcdf5166454d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4186ea4d2aab + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f6ede11a69b8 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d6219b09ba42 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4ac3d2f30b47 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8ff88b3eb370 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ac3648d2cf44 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 718d39e94485 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 506fd6e5561e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a746b3a42d42 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7aea16d13bb8 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1513cd54e035 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6819017c0218 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1f8c63c9a842 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 74f9cc030144 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' dd6c9799f985 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 70bdaac96c08 + '[' 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 f6ede11a69b8:/tmp/ + docker exec -w //home/onap/ f6ede11a69b8 //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 6819017c0218:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 6819017c0218 //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 - - [15/Nov/2023 17:47:25] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:47:25] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:48:18] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:49:14] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:49:25] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:49:35] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:49:45] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:49:55] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:50:05] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:50:15] "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 Starting dfc_cmpv2-postprocessor ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_http-https-server4 ... Creating dfc_sftp-server3 ... Creating dfc_http-https-server3 ... Creating dfc_http-https-server0 ... Creating dfc_mr-sim ... Creating dfc_dr-redir-sim ... Creating dfc_http-https-server2 ... Creating dfc_sftp-server4 ... Creating dfc_sftp-server2 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_http-https-server1 ... Creating dfc_sftp-server1 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_dr-sim ... Creating dfc_sftp-server0 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server3 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_sftp-server4 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_sftp-server0 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_dr-sim ... done Creating dfc_mr-sim ... done Creating dfc_dr-redir-sim ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_sftp-server2 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_sftp-server1 ... done Creating dfc_http-https-server2 ... done Creating dfc_http-https-server4 ... done Creating dfc_http-https-server1 ... 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=d0274b374da6 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=050a1f9ef950 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=21ea00f5a85f ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=7f8007aa38a4 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=16d98b8c9b33 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=69c4187237e9 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=556f348b4ff4 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=4565995b00e9 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=7e69e91f9af9 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=9d2be27f0639 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=c627e3817c2f ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=878908350ac3 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=c9ef3a406b7e ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=ec3045f4d121 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=9eeef855944a ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=db521b513054 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=6a39ca923699 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=67992679c34f + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' d0274b374da6 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 050a1f9ef950 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 21ea00f5a85f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7f8007aa38a4 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 16d98b8c9b33 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 69c4187237e9 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 556f348b4ff4 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4565995b00e9 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7e69e91f9af9 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9d2be27f0639 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c627e3817c2f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 878908350ac3 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c9ef3a406b7e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ec3045f4d121 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9eeef855944a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' db521b513054 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6a39ca923699 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 67992679c34f + '[' 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 7f8007aa38a4:/tmp/ + docker exec -w //home/onap/ 7f8007aa38a4 //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 ec3045f4d121:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs ec3045f4d121 //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 - - [15/Nov/2023 17:50:42] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:50:42] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:51:35] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:52:31] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:52:41] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:52:51] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:53:01] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:53:11] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:53:21] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:53:31] "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 Starting dfc_cmpv2-postprocessor ... Creating dfc_http-https-server0 ... Creating dfc_http-https-server2 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_http-https-server3 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_dr-sim ... Creating dfc_sftp-server2 ... Creating dfc_dr-redir-sim ... Creating dfc_sftp-server3 ... Creating dfc_http-https-server1 ... Creating dfc_sftp-server0 ... Creating dfc_sftp-server1 ... Creating dfc_sftp-server4 ... Creating dfc_mr-sim ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_http-https-server4 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_ftpes-server-vsftpd2 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server4 ... done Creating dfc_http-https-server0 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_sftp-server2 ... done Creating dfc_sftp-server1 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_http-https-server4 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_mr-sim ... done Creating dfc_dr-sim ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_dr-redir-sim ... done Creating dfc_sftp-server0 ... done Creating dfc_sftp-server3 ... done Creating dfc_http-https-server1 ... 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=32531b41e7de ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=b0b330419504 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=415d7f6db8da ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=1d9f47217afc ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=eb84443bec66 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=2211be73eb3d ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=8f3a9145cf0d ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=02dc29a73c04 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=f7ad4ffc0a05 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=96405f84e5eb ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=14dc92def696 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=8d66d4cacd85 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=fcb36bd9aea7 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=e8f4400346be ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=daa662313063 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=c4aa7aa8d7f8 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=bea1c376bd4d ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=fb406ce4eb25 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 32531b41e7de + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b0b330419504 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 415d7f6db8da + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1d9f47217afc + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' eb84443bec66 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2211be73eb3d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8f3a9145cf0d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 02dc29a73c04 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f7ad4ffc0a05 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 96405f84e5eb + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 14dc92def696 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8d66d4cacd85 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' fcb36bd9aea7 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e8f4400346be + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' daa662313063 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c4aa7aa8d7f8 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' bea1c376bd4d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' fb406ce4eb25 + '[' 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 1d9f47217afc:/tmp/ + docker exec -w //home/onap/ 1d9f47217afc //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 e8f4400346be:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs e8f4400346be //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 - - [15/Nov/2023 17:53:59] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:53:59] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:54:52] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:55:48] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:55:58] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:56:08] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:56:18] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:56:28] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:56:38] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [15/Nov/2023 17:56:48] "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.0gFWARG8AY-robot-workdir/debug.log Output: /tmp/tmp.0gFWARG8AY-robot-workdir/output.xml Log: /tmp/tmp.0gFWARG8AY-robot-workdir/log.html Report: /tmp/tmp.0gFWARG8AY-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 ++ sed 's/./& /g' ++ echo hxB + 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.0gFWARG8AY-robot-workdir ]] + rsync -av /tmp/tmp.0gFWARG8AY-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,057,542 bytes received 114 bytes 4,115,312.00 bytes/sec total size is 2,056,660 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' + head -3 + top -bn1 > top -bn1 | head -3 top - 17:56:55 up 1:13, 0 users, load average: 0.21, 0.38, 0.38 Tasks: 161 total, 1 running, 82 sleeping, 0 stopped, 0 zombie %Cpu(s): 1.7 us, 0.7 sy, 0.0 ni, 96.9 id, 0.6 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 893M 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=7e4ad406e8aa +++ docker images -q ++ running_images='13b80fdb4577 4e3a54bc2644 5d7abb5945d9 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 7e4ad406e8aa ']' ++ echo 'Stopping and removing containers' Stopping and removing containers ++ docker stop 7e4ad406e8aa 7e4ad406e8aa ++ docker rm 7e4ad406e8aa 7e4ad406e8aa ++ docker rmi 13b80fdb4577 4e3a54bc2644 5d7abb5945d9 1d12470fa662 cab7d4ddb83a f77990a9b766 4753d5a74f10 7f6e6b759f88 1d208ca2d7f7 Untagged: ftpes_vsftpd:latest Deleted: sha256:13b80fdb457736be164077cffd5c3830d2b89f1e5e6d30267b06158dabcc3163 Deleted: sha256:34a28146e3c924fbc3b849dacd7f37be6830c7da5c3fb7fd5cb52102177db2cf Deleted: sha256:0471914d18a78e54532cd1612838293483e04c327dd90369c8c3a0069a26f8ed Deleted: sha256:0152f9c3d8ca3ece9c0d9fa62a784d04ce3658657bdab2a9def45138bdbd1cfd Deleted: sha256:abb13e1b0d09d750e40598814502e4e0de51c9a93640ef1ed9b1168102f901f5 Deleted: sha256:383848fc5689ef22fc174c748919251e0ae0855e4ab13535100af4286bd34e18 Untagged: drsim_common:latest Deleted: sha256:4e3a54bc2644d084eb6c7d207fed33ed23d27b06dce736cbb9f8429d98202c61 Deleted: sha256:3bc9ef0294c186586d883362ab16bbd6efc6ad6404fb521406af877538c8d4c0 Deleted: sha256:1081bb7598ef6ff5c18e0d7cc98fbbbd8d3a5e7deeff59f9b3f144962aca1e6b Deleted: sha256:d6943e8d4dade869e139ada71ac9587adcb124efd16b9fa813b3b234f2b3ea7d Deleted: sha256:24f9acfa4d9dceec0174d1b496cc5ad88e5cecdf598c0a99efe71c95a05d980c Deleted: sha256:93142ab7d4d719c39bb279f9d621ce5eb60a4e39aa5fc3332ffd132b036fb84d Deleted: sha256:4234b5992c60367253b70ee0d15fa67136464bacd4349def95852de6398fc054 Deleted: sha256:ca69a500ebb8b07629b590be92a6ee3731511bbb46a6ac16c3fef8d66cc4364d Deleted: sha256:10e3124668b6ada8a1e3e3e3de8ee497d32159c1e7bd590281d252d94c1dacd7 Deleted: sha256:3bc0c5aaa7a613b5e1a04f16eca8d6e0e4c0fda9962029362510ac113ad991ab Deleted: sha256:5014edd60b3b1af3c84792186f4dd8751907f243a34b9b926d8fceec8eda4230 Deleted: sha256:0198f17ae6ea01491e69ecb6f59bb551c9586f064bfebf572dd51834ed116973 Untagged: mrsim:latest Deleted: sha256:5d7abb5945d988f82fba23cd3a3f434688877b9140c7f4ce5f194229d778ae98 Deleted: sha256:8da3f3972bed2c87544da397026d07b597e777f28970000957283729cafd9d3f Deleted: sha256:132cfce376b0a51a726c5cbd2c79ece32d71891b2ef02810d40323c24c6d78db Deleted: sha256:e4e3e9aaa173003e7ff4391d4168a301f8ba548cd5a796ffee4e128b195b8f16 Deleted: sha256:892937116953a4ae949ea855b118be99511b3b3462da63eb620e86e980eed681 Deleted: sha256:76d07c0a5cd0fd2571e9b1d3d1ddd7d26656e74898828870e3a837f659525e17 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 2177 killed; [ssh-agent] Stopped. Robot results publisher started... -Parsing output xml: Done! -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/jenkins6071720879576789205.sh ---> sysstat.sh [dcaegen2-collectors-datafile-master-csit-Functional-suite] $ /bin/bash /tmp/jenkins11664835532329289663.sh ---> package-listing.sh ++ tr '[:upper:]' '[:lower:]' ++ facter osfamily + 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/jenkins7134899943393455947.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-3m5a from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-3m5a/bin to PATH INFO: Running in OpenStack, capturing instance metadata [dcaegen2-collectors-datafile-master-csit-Functional-suite] $ /bin/bash /tmp/jenkins9516201939400401176.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite@tmp/config16474456332586631746tmp 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/jenkins3338983648282202448.sh ---> create-netrc.sh [dcaegen2-collectors-datafile-master-csit-Functional-suite] $ /bin/bash /tmp/jenkins8617056724392451150.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-3m5a from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-3m5a/bin to PATH [dcaegen2-collectors-datafile-master-csit-Functional-suite] $ /bin/bash /tmp/jenkins16926848328137114574.sh ---> sudo-logs.sh Archiving 'sudo' log.. [dcaegen2-collectors-datafile-master-csit-Functional-suite] $ /bin/bash /tmp/jenkins3955359473464255051.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-3m5a 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-3m5a/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/jenkins4372221737644586283.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-3m5a from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-3m5a/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/dcaegen2-collectors-datafile-master-csit-Functional-suite/1719 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-76233 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 28509 0 2702 30761 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:41:17:44 brd ff:ff:ff:ff:ff:ff inet 10.30.107.187/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 81922sec preferred_lft 81922sec inet6 fe80::f816:3eff:fe41:1744/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:b0:8f:00:cf 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:b0ff:fe8f:cf/64 scope link valid_lft forever preferred_lft forever 14: br-38dee3820346: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:d4:87:82:73 brd ff:ff:ff:ff:ff:ff inet 172.17.0.1/16 brd 172.17.255.255 scope global br-38dee3820346 valid_lft forever preferred_lft forever inet6 fe80::42:d4ff:fe87:8273/64 scope link valid_lft forever preferred_lft forever 15: br-b1c590d9dba4: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:1f:6d:37:7d brd ff:ff:ff:ff:ff:ff inet 172.18.0.1/16 brd 172.18.255.255 scope global br-b1c590d9dba4 valid_lft forever preferred_lft forever inet6 fe80::42:1fff:fe6d:377d/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-76233) 11/15/23 _x86_64_ (8 CPU) 16:43:25 LINUX RESTART (8 CPU) 16:44:01 tps rtps wtps bread/s bwrtn/s 16:45:01 106.55 39.69 66.86 1841.29 25624.26 16:46:01 84.90 7.30 77.60 87.85 30405.07 16:47:01 224.93 8.43 216.50 1595.60 55807.50 16:48:01 204.02 4.13 199.88 569.01 59616.13 16:49:01 21.36 0.08 21.28 8.93 20981.01 16:50:01 15.21 0.00 15.21 0.00 20985.54 16:51:02 90.15 0.08 90.07 10.00 22590.90 16:52:01 35.62 0.12 35.50 17.35 2590.88 16:53:01 2.35 0.00 2.35 0.00 37.19 16:54:01 1.65 0.00 1.65 0.00 20.66 16:55:01 122.88 0.05 122.83 4.13 3074.82 16:56:01 3.52 0.00 3.52 0.00 613.63 16:57:01 1.10 0.00 1.10 0.00 14.00 16:58:01 111.91 0.02 111.90 2.80 2817.66 16:59:01 13.75 3.52 10.23 28.13 174.64 17:00:01 1.77 0.02 1.75 4.27 19.73 17:01:01 109.45 0.03 109.42 3.73 2730.61 17:02:01 12.09 0.02 12.08 4.26 233.08 17:03:01 3.48 0.02 3.47 1.47 395.27 17:04:01 22.21 0.00 22.21 0.00 282.75 17:05:01 105.65 0.07 105.58 10.00 2741.14 17:06:01 3.73 0.05 3.68 6.13 307.15 17:07:01 1.18 0.00 1.18 0.00 14.13 17:08:01 114.08 0.03 114.05 2.53 2747.01 17:09:01 9.68 0.00 9.68 0.00 157.84 17:10:01 1.07 0.00 1.07 0.00 13.73 17:11:01 116.10 0.05 116.05 6.13 2690.35 17:12:01 13.28 0.00 13.28 0.00 257.96 17:13:01 3.47 0.02 3.45 1.33 525.11 17:14:01 8.83 0.00 8.83 0.00 106.12 17:15:01 131.14 0.03 131.11 2.80 2961.11 17:16:01 2.85 0.00 2.85 0.00 48.78 17:17:01 1.43 0.02 1.42 0.13 17.33 17:18:01 132.13 0.03 132.09 6.80 2935.11 17:19:01 2.90 0.00 2.90 0.00 45.98 17:20:01 1.52 0.00 1.52 0.00 18.53 17:21:01 128.76 0.02 128.75 1.33 2888.72 17:22:01 9.60 0.00 9.60 0.00 170.90 17:23:01 2.95 0.63 2.32 18.80 38.93 17:24:01 60.11 0.00 60.11 0.00 680.69 17:25:01 76.62 0.02 76.61 1.20 2313.50 17:26:01 2.68 0.00 2.68 0.00 43.46 17:27:01 1.33 0.00 1.33 0.00 16.93 17:28:01 135.24 0.00 135.24 0.00 2976.97 17:29:01 3.12 0.00 3.12 0.00 48.79 17:30:01 1.42 0.00 1.42 0.00 17.86 17:31:01 126.91 0.00 126.91 0.00 2842.06 17:32:01 10.30 0.00 10.30 0.00 647.36 17:33:01 3.78 0.97 2.82 20.66 37.33 17:34:01 129.16 0.00 129.16 0.00 2801.13 17:35:01 14.40 0.00 14.40 0.00 296.35 17:36:01 2.52 0.00 2.52 0.00 41.33 17:37:01 1.68 0.00 1.68 0.00 21.46 17:38:01 134.84 0.02 134.83 2.13 2954.57 17:39:01 3.77 0.00 3.77 0.00 662.29 17:40:01 1.18 0.00 1.18 0.00 16.00 17:41:01 134.39 0.02 134.38 1.47 2938.58 17:42:01 5.22 0.00 5.22 0.00 341.14 17:43:01 1.03 0.02 1.02 3.47 12.00 17:44:01 126.80 0.02 126.78 0.40 2799.80 17:45:01 10.26 0.00 10.26 0.00 166.91 17:46:01 1.68 0.00 1.68 0.00 29.73 17:47:01 66.11 0.00 66.11 0.00 718.68 17:48:01 68.63 0.00 68.63 0.00 2168.08 17:49:01 3.65 0.00 3.65 0.00 302.75 17:50:01 1.88 0.00 1.88 0.00 23.33 17:51:01 143.49 0.00 143.49 0.00 3020.43 17:52:01 3.10 0.02 3.08 1.60 47.99 17:53:01 1.27 0.00 1.27 0.00 14.53 17:54:01 133.76 0.02 133.74 1.47 2861.98 17:55:01 8.45 0.00 8.45 0.00 138.78 17:56:01 2.00 0.00 2.00 0.00 25.60 17:57:01 77.55 0.45 77.10 25.33 1559.21 Average: 47.64 0.90 46.74 58.81 4127.72 16:44:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 16:45:01 30079904 31680148 2859316 8.68 63884 1849060 1491188 4.39 923560 1653240 167432 16:46:01 29886488 31717656 3052732 9.27 82376 2047212 1466668 4.32 874204 1866720 171080 16:47:01 28474348 31697036 4464872 13.55 126628 3311044 1539524 4.53 1012264 3018212 412392 16:48:01 27372732 31353332 5566488 16.90 156632 3974696 11425028 33.62 1358264 3598528 2672 16:49:01 27342940 31325868 5596280 16.99 156792 3975224 11509728 33.86 1384628 3594084 140 16:50:01 27341276 31324264 5597944 16.99 156844 3975232 11515032 33.88 1386568 3593848 44 16:51:02 27585812 31587572 5353408 16.25 158160 3987204 2748988 8.09 1231564 3586548 2152 16:52:01 27336776 31326936 5602444 17.01 158960 3977344 11617684 34.18 1429216 3547416 76 16:53:01 27324716 31315396 5614504 17.05 158996 3977424 11548924 33.98 1440384 3547124 20 16:54:01 27326812 31317540 5612408 17.04 159044 3977436 11559900 34.01 1439248 3547148 100 16:55:01 27327096 31323976 5612124 17.04 161444 3978712 11580980 34.07 1432736 3546944 36 16:56:01 27315868 31313740 5623352 17.07 161496 3978840 11500004 33.84 1442404 3547008 148 16:57:01 27313788 31311708 5625432 17.08 161524 3978864 11523388 33.90 1444256 3547024 220 16:58:01 27318636 31322036 5620584 17.06 163476 3979916 11472744 33.76 1433992 3546848 3308 16:59:01 27301892 31307228 5637328 17.11 164420 3980044 11439416 33.66 1447860 3546932 72 17:00:01 27301368 31306880 5637852 17.12 164456 3980184 11431024 33.63 1449128 3547068 156 17:01:01 27189012 31219484 5750208 17.46 166180 3992972 12069812 35.51 1570532 3559120 2148 17:02:01 27294864 31305592 5644356 17.14 166332 3981432 11598388 34.13 1449964 3547516 180 17:03:01 27287612 31298960 5651608 17.16 166364 3981520 11577004 34.06 1456052 3547476 24 17:04:01 27394600 31403568 5544620 16.83 166596 3981076 9353252 27.52 1369024 3547420 396 17:05:01 27290936 31307772 5648284 17.15 168260 3982900 11584312 34.08 1445656 3548352 100 17:06:01 27278516 31296140 5660704 17.19 168304 3983168 11572364 34.05 1457324 3548580 28 17:07:01 27277816 31295484 5661404 17.19 168332 3983188 11580516 34.07 1457248 3548600 52 17:08:01 27292340 31315208 5646880 17.14 170168 3984156 11456208 33.71 1439640 3549156 3272 17:09:01 27272848 31296400 5666372 17.20 170260 3984288 11428756 33.63 1456196 3549256 56 17:10:01 27272376 31295972 5666844 17.20 170292 3984296 11463188 33.73 1456524 3549260 88 17:11:01 27158488 31207272 5780732 17.55 171632 3997428 10824048 31.85 1585060 3562120 1968 17:12:01 27263444 31292324 5675776 17.23 171848 3985616 11596260 34.12 1457432 3550288 176 17:13:01 27257512 31286804 5681708 17.25 171860 3985708 11592548 34.11 1463280 3550320 60 17:14:01 27318388 31346912 5620832 17.06 171952 3985624 10728352 31.57 1408776 3550344 292 17:15:01 27261888 31295832 5677332 17.24 173692 3986912 11674292 34.35 1453188 3551340 208 17:16:01 27250556 31285144 5688664 17.27 173712 3986992 11620204 34.19 1465096 3551416 184 17:17:01 27247704 31282348 5691516 17.28 173736 3987008 11624016 34.20 1466676 3551436 32 17:18:01 27256736 31296188 5682484 17.25 175312 3988300 11548572 33.98 1453704 3552352 264 17:19:01 27239292 31279280 5699928 17.30 175352 3988444 11489268 33.80 1468404 3552460 88 17:20:01 27241452 31281540 5697768 17.30 175384 3988472 11495592 33.82 1466480 3552480 260 17:21:01 27051772 31119920 5887448 17.87 176944 4004556 12879572 37.89 1644752 3568144 2740 17:22:01 27228300 31273660 5710920 17.34 177024 3989724 11534644 33.94 1471556 3553616 288 17:23:01 27215432 31264368 5723788 17.38 177052 3990296 11516408 33.88 1482948 3553552 64 17:24:01 27481796 31523532 5457424 16.57 177452 3981560 4266060 12.55 1292224 3545584 68 17:25:01 27217196 31269024 5722024 17.37 178644 3991120 11646444 34.27 1475748 3554048 72 17:26:01 27204960 31257148 5734260 17.41 178668 3991188 11588136 34.09 1487340 3554116 140 17:27:01 27202596 31254816 5736624 17.42 178676 3991208 11607944 34.15 1489572 3554120 68 17:28:01 27214596 31271004 5724624 17.38 180092 3992024 11582684 34.08 1474512 3554784 168 17:29:01 27199180 31256192 5740040 17.43 180112 3992136 11524168 33.91 1487576 3554884 96 17:30:01 27201588 31258644 5737632 17.42 180136 3992156 11529144 33.92 1485960 3554904 88 17:31:01 27203008 31264236 5736212 17.41 181468 3993192 11443144 33.67 1479604 3555836 3300 17:32:01 27189308 31251288 5749912 17.46 181488 3993484 11416684 33.59 1490168 3556120 416 17:33:01 27191768 31254740 5747452 17.45 181548 3994108 11439520 33.66 1486256 3556512 40 17:34:01 27021404 31105904 5917816 17.97 182640 4006408 10686616 31.44 1679276 3568884 812 17:35:01 27184600 31251744 5754620 17.47 182880 3994912 11626268 34.21 1487076 3557224 60 17:36:01 27177684 31245196 5761536 17.49 182916 3994968 11577912 34.06 1493556 3557256 148 17:37:01 27181668 31249220 5757552 17.48 182940 3994988 11585512 34.09 1489688 3557276 24 17:38:01 27179836 31251008 5759384 17.48 184128 3995848 11563372 34.02 1486420 3558028 64 17:39:01 27171132 31242744 5768088 17.51 184152 3995952 11540596 33.96 1495116 3558136 20 17:40:01 27168672 31240308 5770548 17.52 184156 3995972 11555708 34.00 1496460 3558152 268 17:41:01 27177808 31253344 5761412 17.49 185176 3996708 11587668 34.09 1483572 3558756 1160 17:42:01 27160404 31236688 5778816 17.54 185212 3996972 11537848 33.95 1498888 3559016 184 17:43:01 27162120 31238532 5777100 17.54 185220 3997092 11537688 33.95 1496812 3559084 236 17:44:01 27087100 31190080 5852120 17.77 186364 4013072 11509784 33.86 1568952 3574824 1128 17:45:01 27143548 31224468 5795672 17.60 186432 3998200 11640000 34.25 1507676 3560208 160 17:46:01 27142396 31223356 5796824 17.60 186444 3998208 11618760 34.19 1509504 3560216 184 17:47:01 27445852 31519680 5493368 16.68 186764 3983992 2761932 8.13 1294444 3547136 80 17:48:01 27143196 31227928 5796024 17.60 187428 3999144 11572564 34.05 1502480 3560996 88 17:49:01 27130100 31215356 5809120 17.64 187448 3999208 11500560 33.84 1513616 3561068 196 17:50:01 27134632 31219936 5804588 17.62 187468 3999236 11542492 33.96 1508880 3561084 204 17:51:01 27141372 31230284 5797848 17.60 188516 3999960 11573296 34.05 1499008 3561788 204 17:52:01 27126532 31215888 5812688 17.65 188524 4000124 11509588 33.86 1512316 3561944 256 17:53:01 27131036 31220436 5808184 17.63 188536 4000140 11512752 33.87 1507948 3561960 220 17:54:01 27132396 31226176 5806824 17.63 189564 4001808 11692656 34.40 1500588 3563444 2348 17:55:01 27113008 31207436 5826212 17.69 189592 4001960 11670952 34.34 1517056 3563588 12 17:56:01 27118040 31212492 5821180 17.67 189600 4001976 11653084 34.29 1512024 3563604 224 17:57:01 29265464 31571544 3673756 11.15 190040 2347700 1772620 5.22 1123488 2038056 20256 Average: 27355320 31300793 5583900 16.95 172221 3902181 10623999 31.26 1442597 3479479 11041 16:44:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 16:45:01 lo 0.87 0.87 0.09 0.09 0.00 0.00 0.00 0.00 16:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:45:01 ens3 126.15 98.47 982.94 30.62 0.00 0.00 0.00 0.00 16:46:01 lo 1.20 1.20 0.12 0.12 0.00 0.00 0.00 0.00 16:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:46:01 ens3 49.59 37.04 560.52 9.32 0.00 0.00 0.00 0.00 16:47:01 lo 2.93 2.93 0.31 0.31 0.00 0.00 0.00 0.00 16:47:01 docker0 1.82 2.22 0.24 13.21 0.00 0.00 0.00 0.00 16:47:01 ens3 407.52 184.50 6712.28 18.63 0.00 0.00 0.00 0.00 16:48:01 vetha7925b7 0.00 0.18 0.00 0.01 0.00 0.00 0.00 0.00 16:48:01 lo 4.85 4.85 0.57 0.57 0.00 0.00 0.00 0.00 16:48:01 veth5b67353 0.08 0.27 0.01 0.02 0.00 0.00 0.00 0.00 16:48:01 vethfa74d5e 0.00 0.17 0.00 0.01 0.00 0.00 0.00 0.00 16:49:01 vetha7925b7 0.20 0.42 0.09 0.03 0.00 0.00 0.00 0.00 16:49:01 lo 24.71 24.71 10.31 10.31 0.00 0.00 0.00 0.00 16:49:01 veth5b67353 0.13 0.47 0.10 0.04 0.00 0.00 0.00 0.00 16:49:01 vethfa74d5e 0.27 0.45 0.10 0.03 0.00 0.00 0.00 0.00 16:50:01 vetha7925b7 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:50:01 lo 0.43 0.43 0.03 0.03 0.00 0.00 0.00 0.00 16:50:01 veth5b67353 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:50:01 vethfa74d5e 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:51:02 vethb8e744a 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:51:02 veth0bee384 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:51:02 lo 1.33 1.33 0.09 0.09 0.00 0.00 0.00 0.00 16:51:02 vetha92c941 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:52:01 veth0bee384 0.12 0.85 0.01 0.05 0.00 0.00 0.00 0.00 16:52:01 lo 20.01 20.01 8.36 8.36 0.00 0.00 0.00 0.00 16:52:01 vetha92c941 0.24 1.03 0.11 0.08 0.00 0.00 0.00 0.00 16:52:01 vethabe402e 0.12 0.85 0.01 0.05 0.00 0.00 0.00 0.00 16:53:01 veth0bee384 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:53:01 lo 6.07 6.07 2.26 2.26 0.00 0.00 0.00 0.00 16:53:01 vetha92c941 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:53:01 vethabe402e 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:54:01 veth0bee384 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:54:01 lo 1.53 1.53 0.11 0.11 0.00 0.00 0.00 0.00 16:54:01 vetha92c941 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:54:01 vethabe402e 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:55:01 lo 14.50 14.50 5.57 5.57 0.00 0.00 0.00 0.00 16:55:01 veth5cfbb40 0.33 1.12 0.13 0.10 0.00 0.00 0.00 0.00 16:55:01 veth56f910e 0.12 0.83 0.01 0.05 0.00 0.00 0.00 0.00 16:55:01 veth53e7f5d 0.23 1.02 0.11 0.08 0.00 0.00 0.00 0.00 16:56:01 lo 11.38 11.38 4.91 4.91 0.00 0.00 0.00 0.00 16:56:01 veth5cfbb40 1.93 1.97 1.20 0.58 0.00 0.00 0.00 0.00 16:56:01 veth56f910e 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:56:01 veth53e7f5d 0.10 0.15 0.01 0.01 0.00 0.00 0.00 0.00 16:57:01 lo 0.92 0.92 0.06 0.06 0.00 0.00 0.00 0.00 16:57:01 veth5cfbb40 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:57:01 veth56f910e 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:57:01 veth53e7f5d 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:58:01 lo 10.76 10.76 3.29 3.29 0.00 0.00 0.00 0.00 16:58:01 veth853c8e5 0.20 0.87 0.09 0.06 0.00 0.00 0.00 0.00 16:58:01 vethfbaafa7 0.22 0.88 0.09 0.06 0.00 0.00 0.00 0.00 16:58:01 veth7745506 0.22 0.98 0.11 0.07 0.00 0.00 0.00 0.00 16:59:01 lo 15.66 15.66 7.23 7.23 0.00 0.00 0.00 0.00 16:59:01 veth853c8e5 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 16:59:01 vethfbaafa7 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 16:59:01 veth7745506 0.10 0.17 0.01 0.01 0.00 0.00 0.00 0.00 17:00:01 lo 0.68 0.68 0.05 0.05 0.00 0.00 0.00 0.00 17:00:01 veth853c8e5 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:00:01 vethfbaafa7 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:00:01 veth7745506 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:01:01 veth309ab03 0.00 0.08 0.00 0.01 0.00 0.00 0.00 0.00 17:01:01 lo 1.10 1.10 0.08 0.08 0.00 0.00 0.00 0.00 17:01:01 vethede764e 0.00 0.10 0.00 0.01 0.00 0.00 0.00 0.00 17:01:01 veth8971ab6 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:02:01 veth309ab03 0.12 0.77 0.01 0.05 0.00 0.00 0.00 0.00 17:02:01 lo 22.42 22.42 9.61 9.61 0.00 0.00 0.00 0.00 17:02:01 vethede764e 0.22 0.80 0.09 0.06 0.00 0.00 0.00 0.00 17:02:01 vethd84137c 0.22 0.93 0.09 0.07 0.00 0.00 0.00 0.00 17:03:01 veth309ab03 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:03:01 lo 3.57 3.57 0.87 0.87 0.00 0.00 0.00 0.00 17:03:01 vethede764e 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:03:01 vethd84137c 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:04:01 lo 1.55 1.55 0.11 0.11 0.00 0.00 0.00 0.00 17:04:01 vethede764e 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:04:01 vethd84137c 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:04:01 veth43a50c8 0.22 0.93 0.09 0.07 0.00 0.00 0.00 0.00 17:05:01 veth28399c0 0.22 1.00 0.11 0.08 0.00 0.00 0.00 0.00 17:05:01 lo 17.06 17.06 6.96 6.96 0.00 0.00 0.00 0.00 17:05:01 veth30d5b53 0.27 1.00 0.10 0.08 0.00 0.00 0.00 0.00 17:05:01 veth142484d 0.22 0.92 0.09 0.07 0.00 0.00 0.00 0.00 17:06:01 veth28399c0 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:06:01 lo 8.67 8.67 3.51 3.51 0.00 0.00 0.00 0.00 17:06:01 veth30d5b53 0.15 0.17 0.01 0.01 0.00 0.00 0.00 0.00 17:06:01 veth142484d 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:07:01 veth28399c0 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:07:01 lo 1.13 1.13 0.08 0.08 0.00 0.00 0.00 0.00 17:07:01 veth30d5b53 0.62 0.63 0.05 0.05 0.00 0.00 0.00 0.00 17:07:01 veth142484d 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:08:01 lo 10.30 10.30 3.12 3.12 0.00 0.00 0.00 0.00 17:08:01 veth4e52bad 0.22 0.90 0.09 0.07 0.00 0.00 0.00 0.00 17:08:01 vetha41909e 0.12 0.82 0.01 0.05 0.00 0.00 0.00 0.00 17:08:01 veth85cef1d 0.23 1.00 0.11 0.07 0.00 0.00 0.00 0.00 17:09:01 lo 15.96 15.96 7.38 7.38 0.00 0.00 0.00 0.00 17:09:01 veth4e52bad 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:09:01 vetha41909e 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:09:01 veth85cef1d 0.10 0.17 0.01 0.01 0.00 0.00 0.00 0.00 17:10:01 lo 0.62 0.62 0.04 0.04 0.00 0.00 0.00 0.00 17:10:01 veth4e52bad 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:10:01 vetha41909e 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:10:01 veth85cef1d 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:11:01 veth55b1f61 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:11:01 lo 1.12 1.12 0.08 0.08 0.00 0.00 0.00 0.00 17:11:01 veth703cf2f 0.00 0.10 0.00 0.01 0.00 0.00 0.00 0.00 17:11:01 vethf8ba37c 0.00 0.12 0.00 0.01 0.00 0.00 0.00 0.00 17:12:01 lo 22.13 22.13 9.46 9.46 0.00 0.00 0.00 0.00 17:12:01 veth703cf2f 0.22 0.82 0.09 0.06 0.00 0.00 0.00 0.00 17:12:01 vethf8ba37c 0.22 0.78 0.09 0.06 0.00 0.00 0.00 0.00 17:12:01 veth89e2793 2.00 2.82 1.22 0.63 0.00 0.00 0.00 0.00 17:13:01 lo 3.88 3.88 1.03 1.03 0.00 0.00 0.00 0.00 17:13:01 veth703cf2f 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:13:01 vethf8ba37c 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:13:01 veth89e2793 0.27 0.28 0.12 0.05 0.00 0.00 0.00 0.00 17:14:01 lo 1.52 1.52 0.11 0.11 0.00 0.00 0.00 0.00 17:14:01 veth703cf2f 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:14:01 vethf8ba37c 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:14:01 veth89e2793 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:15:01 lo 16.61 16.61 6.66 6.66 0.00 0.00 0.00 0.00 17:15:01 veth40c8ba3 0.28 1.02 0.10 0.08 0.00 0.00 0.00 0.00 17:15:01 vethd5a7428 0.10 0.82 0.01 0.05 0.00 0.00 0.00 0.00 17:15:01 veth0e414b8 0.22 0.90 0.09 0.07 0.00 0.00 0.00 0.00 17:16:01 lo 9.28 9.28 3.82 3.82 0.00 0.00 0.00 0.00 17:16:01 veth40c8ba3 0.15 0.17 0.01 0.01 0.00 0.00 0.00 0.00 17:16:01 vethd5a7428 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:16:01 veth0e414b8 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:17:01 lo 1.15 1.15 0.08 0.08 0.00 0.00 0.00 0.00 17:17:01 veth40c8ba3 0.62 0.63 0.05 0.05 0.00 0.00 0.00 0.00 17:17:01 vethd5a7428 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:17:01 veth0e414b8 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:18:01 lo 11.65 11.65 3.89 3.89 0.00 0.00 0.00 0.00 17:18:01 veth2546c42 0.22 0.87 0.09 0.06 0.00 0.00 0.00 0.00 17:18:01 veth10e0f2c 0.12 0.82 0.01 0.05 0.00 0.00 0.00 0.00 17:18:01 vetha6573fa 0.35 1.13 0.13 0.10 0.00 0.00 0.00 0.00 17:19:01 lo 14.46 14.46 6.61 6.61 0.00 0.00 0.00 0.00 17:19:01 veth2546c42 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:19:01 veth10e0f2c 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:19:01 vetha6573fa 1.92 1.98 1.20 0.58 0.00 0.00 0.00 0.00 17:20:01 lo 0.83 0.83 0.06 0.06 0.00 0.00 0.00 0.00 17:20:01 veth2546c42 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:20:01 veth10e0f2c 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:20:01 vetha6573fa 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:21:01 lo 0.77 0.77 0.06 0.06 0.00 0.00 0.00 0.00 17:21:01 vethdc9d392 0.00 0.10 0.00 0.01 0.00 0.00 0.00 0.00 17:21:01 vethfa08f51 0.00 0.12 0.00 0.01 0.00 0.00 0.00 0.00 17:21:01 veth5aadd61 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:22:01 lo 25.68 25.68 10.47 10.47 0.00 0.00 0.00 0.00 17:22:01 vethdc9d392 0.12 0.75 0.01 0.04 0.00 0.00 0.00 0.00 17:22:01 vethfa08f51 0.22 0.80 0.09 0.06 0.00 0.00 0.00 0.00 17:22:01 veth6e4ef01 0.22 0.92 0.09 0.07 0.00 0.00 0.00 0.00 17:23:01 lo 0.23 0.23 0.02 0.02 0.00 0.00 0.00 0.00 17:23:01 vethdc9d392 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:23:01 vethfa08f51 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:23:01 veth6e4ef01 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:24:01 lo 1.58 1.58 0.11 0.11 0.00 0.00 0.00 0.00 17:24:01 veth46e6c59 2.32 3.12 1.34 0.68 0.00 0.00 0.00 0.00 17:24:01 veth56bbc50 2.27 3.12 1.34 0.68 0.00 0.00 0.00 0.00 17:24:01 docker0 10.63 13.23 1.83 50.59 0.00 0.00 0.00 0.00 17:25:01 veth4b8dedf 0.22 1.00 0.11 0.08 0.00 0.00 0.00 0.00 17:25:01 lo 19.13 19.13 8.04 8.04 0.00 0.00 0.00 0.00 17:25:01 veth59a8f9d 0.12 0.83 0.01 0.05 0.00 0.00 0.00 0.00 17:25:01 veth0a86218 0.22 0.92 0.09 0.07 0.00 0.00 0.00 0.00 17:26:01 veth4b8dedf 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:26:01 lo 6.58 6.58 2.43 2.43 0.00 0.00 0.00 0.00 17:26:01 veth59a8f9d 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:26:01 veth0a86218 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:27:01 veth4b8dedf 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:27:01 lo 1.33 1.33 0.09 0.09 0.00 0.00 0.00 0.00 17:27:01 veth59a8f9d 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:27:01 veth0a86218 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:28:01 lo 13.90 13.90 5.12 5.12 0.00 0.00 0.00 0.00 17:28:01 veth569de0a 2.03 2.78 1.22 0.63 0.00 0.00 0.00 0.00 17:28:01 vethf69372b 0.12 0.83 0.01 0.05 0.00 0.00 0.00 0.00 17:28:01 vethdeb759b 0.20 1.02 0.11 0.08 0.00 0.00 0.00 0.00 17:29:01 lo 12.03 12.03 5.36 5.36 0.00 0.00 0.00 0.00 17:29:01 veth569de0a 0.27 0.30 0.12 0.05 0.00 0.00 0.00 0.00 17:29:01 vethf69372b 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:29:01 vethdeb759b 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:30:01 lo 1.13 1.13 0.08 0.08 0.00 0.00 0.00 0.00 17:30:01 veth569de0a 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:30:01 vethf69372b 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:30:01 vethdeb759b 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:31:01 vetha289d2a 0.20 0.87 0.09 0.06 0.00 0.00 0.00 0.00 17:31:01 lo 9.13 9.13 2.50 2.50 0.00 0.00 0.00 0.00 17:31:01 vethb7ec2cd 0.20 0.90 0.09 0.07 0.00 0.00 0.00 0.00 17:31:01 veth406016b 0.22 0.95 0.11 0.07 0.00 0.00 0.00 0.00 17:32:01 vetha289d2a 0.02 0.05 0.00 0.00 0.00 0.00 0.00 0.00 17:32:01 lo 17.33 17.33 8.02 8.02 0.00 0.00 0.00 0.00 17:32:01 vethb7ec2cd 0.02 0.05 0.00 0.00 0.00 0.00 0.00 0.00 17:32:01 veth406016b 0.10 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:33:01 vetha289d2a 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:33:01 lo 0.43 0.43 0.03 0.03 0.00 0.00 0.00 0.00 17:33:01 vethb7ec2cd 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:33:01 veth406016b 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:34:01 lo 1.35 1.35 0.09 0.09 0.00 0.00 0.00 0.00 17:34:01 veth5622f57 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:34:01 veth05242e7 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:34:01 veth07e3e6a 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:35:01 lo 20.98 20.98 8.98 8.98 0.00 0.00 0.00 0.00 17:35:01 veth05242e7 0.27 1.00 0.10 0.08 0.00 0.00 0.00 0.00 17:35:01 veth07e3e6a 0.22 0.92 0.09 0.07 0.00 0.00 0.00 0.00 17:35:01 veth495991b 0.20 0.97 0.11 0.07 0.00 0.00 0.00 0.00 17:36:01 lo 4.73 4.73 1.49 1.49 0.00 0.00 0.00 0.00 17:36:01 veth05242e7 0.15 0.18 0.01 0.01 0.00 0.00 0.00 0.00 17:36:01 veth07e3e6a 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:36:01 veth495991b 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:37:01 lo 1.35 1.35 0.09 0.09 0.00 0.00 0.00 0.00 17:37:01 veth05242e7 0.73 0.73 0.06 0.06 0.00 0.00 0.00 0.00 17:37:01 veth07e3e6a 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:37:01 veth495991b 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:38:01 veth48c5e60 0.12 0.87 0.01 0.05 0.00 0.00 0.00 0.00 17:38:01 lo 16.31 16.31 6.37 6.37 0.00 0.00 0.00 0.00 17:38:01 veth6f74a35 0.27 1.00 0.10 0.08 0.00 0.00 0.00 0.00 17:38:01 veth3c17844 0.23 1.02 0.11 0.08 0.00 0.00 0.00 0.00 17:39:01 veth48c5e60 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:39:01 lo 9.63 9.63 4.12 4.12 0.00 0.00 0.00 0.00 17:39:01 veth6f74a35 0.15 0.17 0.01 0.01 0.00 0.00 0.00 0.00 17:39:01 veth3c17844 0.10 0.15 0.01 0.01 0.00 0.00 0.00 0.00 17:40:01 veth48c5e60 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:40:01 lo 1.27 1.27 0.09 0.09 0.00 0.00 0.00 0.00 17:40:01 veth6f74a35 0.62 0.63 0.05 0.05 0.00 0.00 0.00 0.00 17:40:01 veth3c17844 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:41:01 veth5b2e57a 0.33 1.12 0.13 0.10 0.00 0.00 0.00 0.00 17:41:01 lo 11.35 11.35 3.73 3.73 0.00 0.00 0.00 0.00 17:41:01 veth935fc7f 0.22 0.92 0.09 0.07 0.00 0.00 0.00 0.00 17:41:01 veth8b493e1 0.23 1.00 0.11 0.07 0.00 0.00 0.00 0.00 17:42:01 veth5b2e57a 1.92 2.00 1.20 0.58 0.00 0.00 0.00 0.00 17:42:01 lo 14.96 14.96 6.78 6.78 0.00 0.00 0.00 0.00 17:42:01 veth935fc7f 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:42:01 veth8b493e1 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:43:01 veth5b2e57a 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:43:01 lo 0.63 0.63 0.05 0.05 0.00 0.00 0.00 0.00 17:43:01 veth935fc7f 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:43:01 veth8b493e1 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:44:01 vetha8392d1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:44:01 lo 1.10 1.10 0.08 0.08 0.00 0.00 0.00 0.00 17:44:01 vetha1c13c3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:44:01 vethd2d6547 0.00 0.05 0.00 0.00 0.00 0.00 0.00 0.00 17:45:01 lo 25.61 25.61 10.46 10.46 0.00 0.00 0.00 0.00 17:45:01 vethd2d6547 0.22 0.85 0.09 0.06 0.00 0.00 0.00 0.00 17:45:01 veth9f0da06 0.12 0.83 0.01 0.05 0.00 0.00 0.00 0.00 17:45:01 veth948ed99 0.28 1.12 0.11 0.08 0.00 0.00 0.00 0.00 17:46:01 lo 0.43 0.43 0.03 0.03 0.00 0.00 0.00 0.00 17:46:01 vethd2d6547 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:46:01 veth9f0da06 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:46:01 veth948ed99 0.03 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:47:01 lo 1.37 1.37 0.10 0.10 0.00 0.00 0.00 0.00 17:47:01 docker0 10.63 13.23 1.83 50.59 0.00 0.00 0.00 0.00 17:47:01 ens3 1043.71 649.29 12478.40 179.68 0.00 0.00 0.00 0.00 17:47:01 br-38dee3820346 267.21 278.04 133.07 63.09 0.00 0.00 0.00 0.00 17:48:01 lo 17.84 17.84 7.28 7.28 0.00 0.00 0.00 0.00 17:48:01 veth32008f7 0.33 1.13 0.13 0.10 0.00 0.00 0.00 0.00 17:48:01 vethada6379 1.18 1.97 0.68 0.36 0.00 0.00 0.00 0.00 17:48:01 veth34a69df 0.12 0.83 0.01 0.05 0.00 0.00 0.00 0.00 17:49:01 lo 7.87 7.87 3.19 3.19 0.00 0.00 0.00 0.00 17:49:01 veth32008f7 1.93 1.95 1.20 0.58 0.00 0.00 0.00 0.00 17:49:01 vethada6379 1.10 1.12 0.66 0.31 0.00 0.00 0.00 0.00 17:49:01 veth34a69df 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:50:01 lo 1.38 1.38 0.09 0.09 0.00 0.00 0.00 0.00 17:50:01 veth32008f7 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:50:01 vethada6379 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:50:01 veth34a69df 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:51:01 lo 13.30 13.30 4.81 4.81 0.00 0.00 0.00 0.00 17:51:01 veth3f50a52 0.33 1.12 0.13 0.10 0.00 0.00 0.00 0.00 17:51:01 veth6709e0d 0.22 0.98 0.11 0.07 0.00 0.00 0.00 0.00 17:51:01 veth60ae269 0.22 0.88 0.09 0.06 0.00 0.00 0.00 0.00 17:52:01 lo 12.86 12.86 5.69 5.69 0.00 0.00 0.00 0.00 17:52:01 veth3f50a52 1.93 1.98 1.20 0.58 0.00 0.00 0.00 0.00 17:52:01 veth6709e0d 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:52:01 veth60ae269 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:53:01 lo 0.65 0.65 0.05 0.05 0.00 0.00 0.00 0.00 17:53:01 veth3f50a52 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:53:01 veth6709e0d 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:53:01 veth60ae269 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:54:01 veth07da2c1 0.10 0.80 0.01 0.05 0.00 0.00 0.00 0.00 17:54:01 lo 8.81 8.81 2.22 2.22 0.00 0.00 0.00 0.00 17:54:01 vetha8d4faf 0.10 0.80 0.01 0.05 0.00 0.00 0.00 0.00 17:54:01 vethb91e4d7 0.10 0.78 0.01 0.05 0.00 0.00 0.00 0.00 17:55:01 veth07da2c1 0.02 0.05 0.00 0.00 0.00 0.00 0.00 0.00 17:55:01 lo 17.76 17.76 8.32 8.32 0.00 0.00 0.00 0.00 17:55:01 vetha8d4faf 0.02 0.05 0.00 0.00 0.00 0.00 0.00 0.00 17:55:01 vethb91e4d7 0.02 0.07 0.00 0.00 0.00 0.00 0.00 0.00 17:56:01 veth07da2c1 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:56:01 lo 0.63 0.63 0.04 0.04 0.00 0.00 0.00 0.00 17:56:01 vetha8d4faf 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:56:01 vethb91e4d7 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:57:01 lo 1.12 1.12 0.08 0.08 0.00 0.00 0.00 0.00 17:57:01 docker0 10.63 13.23 1.83 50.59 0.00 0.00 0.00 0.00 17:57:01 ens3 1070.80 670.24 12494.95 191.61 0.00 0.00 0.00 0.00 17:57:01 br-38dee3820346 311.73 324.06 155.25 73.58 0.00 0.00 0.00 0.00 Average: lo 8.02 8.02 3.06 3.06 0.00 0.00 0.00 0.00 Average: docker0 0.15 0.18 0.03 0.69 0.00 0.00 0.00 0.00 Average: ens3 12.03 7.29 163.42 2.23 0.00 0.00 0.00 0.00 Average: br-38dee3820346 4.27 4.44 2.13 1.01 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-76233) 11/15/23 _x86_64_ (8 CPU) 16:43:25 LINUX RESTART (8 CPU) 16:44:01 CPU %user %nice %system %iowait %steal %idle 16:45:01 all 7.58 0.00 0.65 5.99 0.03 85.75 16:45:01 0 3.07 0.00 0.47 0.12 0.02 96.33 16:45:01 1 3.87 0.00 0.53 0.23 0.02 95.34 16:45:01 2 1.90 0.00 0.48 8.53 0.02 89.07 16:45:01 3 3.48 0.00 0.55 31.25 0.02 64.70 16:45:01 4 6.95 0.00 0.62 3.36 0.03 89.04 16:45:01 5 9.08 0.00 0.81 1.31 0.05 88.75 16:45:01 6 25.00 0.00 1.25 2.86 0.05 70.84 16:45:01 7 7.32 0.00 0.47 0.20 0.05 91.96 16:46:01 all 8.90 0.00 0.63 4.46 0.03 85.97 16:46:01 0 7.20 0.00 0.47 0.05 0.03 92.25 16:46:01 1 16.20 0.00 0.85 2.94 0.05 79.96 16:46:01 2 0.90 0.00 0.49 15.97 0.03 82.61 16:46:01 3 12.32 0.00 0.87 3.69 0.03 83.09 16:46:01 4 15.23 0.00 1.00 9.93 0.03 73.80 16:46:01 5 11.13 0.00 0.60 2.06 0.07 86.14 16:46:01 6 7.33 0.00 0.55 1.05 0.03 91.04 16:46:01 7 0.90 0.00 0.23 0.05 0.02 98.80 16:47:01 all 8.85 0.00 2.38 5.74 0.06 82.98 16:47:01 0 8.07 0.00 1.97 1.83 0.07 88.07 16:47:01 1 16.72 0.00 3.51 1.36 0.07 78.34 16:47:01 2 11.12 0.00 2.49 27.06 0.05 59.28 16:47:01 3 10.95 0.00 2.22 0.77 0.05 86.00 16:47:01 4 7.57 0.00 2.56 10.48 0.03 79.35 16:47:01 5 6.19 0.00 2.56 0.89 0.12 90.24 16:47:01 6 5.64 0.00 2.13 3.51 0.02 88.71 16:47:01 7 4.51 0.00 1.55 0.07 0.03 93.84 16:48:01 all 7.69 0.00 2.88 4.86 0.07 84.50 16:48:01 0 9.36 0.00 2.86 3.18 0.08 84.52 16:48:01 1 8.04 0.00 3.06 0.37 0.07 88.46 16:48:01 2 8.48 0.00 3.30 16.25 0.07 71.90 16:48:01 3 5.46 0.00 2.82 0.50 0.07 91.14 16:48:01 4 6.43 0.00 2.79 9.67 0.08 81.02 16:48:01 5 6.46 0.00 2.33 3.26 0.07 87.89 16:48:01 6 9.47 0.00 3.04 4.77 0.08 82.63 16:48:01 7 7.78 0.00 2.85 0.86 0.05 88.46 16:49:01 all 0.79 0.00 0.26 1.16 0.02 97.76 16:49:01 0 0.22 0.00 0.23 0.13 0.02 99.40 16:49:01 1 0.75 0.00 0.28 0.00 0.02 98.95 16:49:01 2 0.32 0.00 0.15 0.07 0.03 99.43 16:49:01 3 0.53 0.00 0.25 0.00 0.02 99.20 16:49:01 4 0.65 0.00 0.22 9.12 0.02 89.99 16:49:01 5 2.52 0.00 0.40 0.00 0.00 97.08 16:49:01 6 0.78 0.00 0.30 0.00 0.02 98.90 16:49:01 7 0.53 0.00 0.32 0.02 0.03 99.10 16:50:01 all 0.06 0.00 0.04 1.11 0.01 98.78 16:50:01 0 0.05 0.00 0.02 0.08 0.00 99.85 16:50:01 1 0.05 0.00 0.03 0.00 0.00 99.92 16:50:01 2 0.05 0.00 0.03 0.00 0.03 99.88 16:50:01 3 0.03 0.00 0.02 0.00 0.00 99.95 16:50:01 4 0.02 0.00 0.02 8.72 0.00 91.24 16:50:01 5 0.05 0.00 0.02 0.00 0.02 99.92 16:50:01 6 0.10 0.00 0.03 0.00 0.02 99.85 16:50:01 7 0.12 0.00 0.12 0.05 0.02 99.70 16:51:02 all 1.08 0.00 0.81 1.84 0.04 96.22 16:51:02 0 0.75 0.00 0.72 0.57 0.02 97.95 16:51:02 1 0.82 0.00 0.70 0.28 0.02 98.18 16:51:02 2 1.05 0.00 0.99 0.64 0.10 97.22 16:51:02 3 0.65 0.00 0.65 0.02 0.03 98.65 16:51:02 4 0.98 0.00 0.95 11.57 0.03 86.46 16:51:02 5 2.05 0.00 0.84 0.17 0.03 96.91 16:51:02 6 1.61 0.00 0.82 0.70 0.03 96.84 16:51:02 7 0.80 0.00 0.85 0.79 0.02 97.54 16:52:01 all 2.88 0.00 1.02 0.39 0.03 95.68 16:52:01 0 2.70 0.00 0.97 0.14 0.05 96.14 16:52:01 1 1.84 0.00 1.02 0.17 0.05 96.92 16:52:01 2 2.21 0.00 0.93 0.17 0.02 96.67 16:52:01 3 4.25 0.00 1.24 0.12 0.03 94.36 16:52:01 4 4.13 0.00 0.99 0.87 0.02 94.00 16:52:01 5 4.05 0.00 0.89 0.69 0.03 94.34 16:52:01 6 1.66 0.00 1.10 0.87 0.03 96.33 16:52:01 7 2.18 0.00 0.95 0.12 0.03 96.72 16:53:01 all 0.36 0.00 0.13 0.01 0.01 99.49 16:53:01 0 0.12 0.00 0.12 0.00 0.00 99.77 16:53:01 1 0.17 0.00 0.07 0.00 0.00 99.77 16:53:01 2 0.20 0.00 0.10 0.03 0.02 99.65 16:53:01 3 0.73 0.00 0.13 0.00 0.00 99.13 16:53:01 4 0.42 0.00 0.17 0.00 0.02 99.40 16:53:01 5 0.50 0.00 0.12 0.02 0.02 99.35 16:53:01 6 0.57 0.00 0.23 0.00 0.00 99.20 16:53:01 7 0.23 0.00 0.08 0.00 0.02 99.67 16:54:01 all 0.08 0.00 0.04 0.01 0.02 99.86 16:54:01 0 0.05 0.00 0.02 0.00 0.00 99.93 16:54:01 1 0.13 0.00 0.08 0.00 0.07 99.72 16:54:01 2 0.17 0.00 0.07 0.02 0.07 99.68 16:54:01 3 0.03 0.00 0.05 0.00 0.02 99.90 16:54:01 4 0.07 0.00 0.07 0.00 0.00 99.87 16:54:01 5 0.08 0.00 0.03 0.02 0.02 99.85 16:54:01 6 0.03 0.00 0.02 0.02 0.02 99.92 16:54:01 7 0.03 0.00 0.00 0.00 0.02 99.95 16:55:01 all 3.87 0.00 1.74 0.34 0.05 94.01 16:55:01 0 2.85 0.00 1.93 0.59 0.05 94.59 16:55:01 1 5.72 0.00 1.59 0.12 0.03 92.54 16:55:01 2 3.29 0.00 1.66 0.65 0.05 94.35 16:55:01 3 3.33 0.00 1.73 0.39 0.07 94.49 16:55:01 4 2.89 0.00 1.80 0.24 0.05 95.03 16:55:01 5 3.95 0.00 1.67 0.24 0.03 94.11 16:55:01 6 5.83 0.00 1.88 0.44 0.03 91.82 16:55:01 7 3.10 0.00 1.68 0.07 0.03 95.12 16:55:01 CPU %user %nice %system %iowait %steal %idle 16:56:01 all 0.42 0.00 0.15 0.04 0.01 99.37 16:56:01 0 0.33 0.00 0.17 0.07 0.02 99.42 16:56:01 1 0.42 0.00 0.18 0.00 0.02 99.38 16:56:01 2 0.35 0.00 0.12 0.00 0.02 99.52 16:56:01 3 0.35 0.00 0.18 0.17 0.02 99.28 16:56:01 4 0.42 0.00 0.15 0.02 0.02 99.40 16:56:01 5 0.95 0.00 0.17 0.12 0.02 98.75 16:56:01 6 0.20 0.00 0.10 0.00 0.02 99.68 16:56:01 7 0.38 0.00 0.17 0.00 0.00 99.45 16:57:01 all 0.07 0.00 0.04 0.00 0.01 99.87 16:57:01 0 0.12 0.00 0.07 0.02 0.05 99.75 16:57:01 1 0.05 0.00 0.03 0.00 0.00 99.92 16:57:01 2 0.12 0.00 0.08 0.00 0.02 99.78 16:57:01 3 0.03 0.00 0.05 0.00 0.02 99.90 16:57:01 4 0.03 0.00 0.02 0.00 0.00 99.95 16:57:01 5 0.03 0.00 0.02 0.00 0.02 99.93 16:57:01 6 0.05 0.00 0.02 0.00 0.00 99.93 16:57:01 7 0.08 0.00 0.00 0.00 0.02 99.90 16:58:01 all 3.98 0.00 1.78 0.37 0.05 93.81 16:58:01 0 7.12 0.00 1.91 0.87 0.07 90.04 16:58:01 1 3.35 0.00 1.61 0.10 0.05 94.89 16:58:01 2 3.62 0.00 1.84 0.17 0.07 94.31 16:58:01 3 3.56 0.00 1.70 0.70 0.05 93.99 16:58:01 4 2.53 0.00 1.95 0.35 0.05 95.12 16:58:01 5 4.72 0.00 1.84 0.54 0.05 92.86 16:58:01 6 3.68 0.00 1.76 0.13 0.03 94.40 16:58:01 7 3.25 0.00 1.71 0.10 0.03 94.91 16:59:01 all 0.48 0.00 0.17 0.02 0.01 99.32 16:59:01 0 0.32 0.00 0.17 0.02 0.02 99.48 16:59:01 1 0.48 0.00 0.22 0.03 0.03 99.23 16:59:01 2 0.38 0.00 0.13 0.05 0.02 99.42 16:59:01 3 0.58 0.00 0.17 0.02 0.02 99.22 16:59:01 4 0.85 0.00 0.18 0.05 0.02 98.90 16:59:01 5 0.28 0.00 0.10 0.00 0.00 99.62 16:59:01 6 0.27 0.00 0.17 0.00 0.02 99.55 16:59:01 7 0.70 0.00 0.20 0.00 0.02 99.08 17:00:01 all 0.09 0.00 0.03 0.00 0.01 99.87 17:00:01 0 0.07 0.00 0.02 0.00 0.00 99.92 17:00:01 1 0.00 0.00 0.02 0.02 0.00 99.97 17:00:01 2 0.18 0.00 0.02 0.00 0.03 99.77 17:00:01 3 0.07 0.00 0.03 0.02 0.00 99.88 17:00:01 4 0.15 0.00 0.03 0.00 0.00 99.82 17:00:01 5 0.05 0.00 0.03 0.00 0.00 99.92 17:00:01 6 0.10 0.00 0.02 0.00 0.00 99.88 17:00:01 7 0.07 0.00 0.03 0.00 0.00 99.90 17:01:01 all 3.20 0.00 1.44 0.33 0.04 94.99 17:01:01 0 2.17 0.00 1.81 0.08 0.05 95.89 17:01:01 1 5.41 0.00 1.16 0.79 0.03 92.62 17:01:01 2 2.03 0.00 1.51 0.42 0.08 95.96 17:01:01 3 3.63 0.00 1.34 0.45 0.03 94.54 17:01:01 4 2.68 0.00 1.64 0.10 0.03 95.55 17:01:01 5 3.84 0.00 1.27 0.10 0.03 94.76 17:01:01 6 3.24 0.00 1.39 0.27 0.03 95.07 17:01:01 7 2.61 0.00 1.46 0.49 0.03 95.42 17:02:01 all 1.11 0.00 0.51 0.02 0.02 98.34 17:02:01 0 2.34 0.00 0.82 0.00 0.02 96.82 17:02:01 1 1.25 0.00 0.55 0.02 0.02 98.17 17:02:01 2 0.57 0.00 0.40 0.08 0.00 98.95 17:02:01 3 0.87 0.00 0.48 0.05 0.03 98.56 17:02:01 4 1.42 0.00 0.42 0.00 0.02 98.15 17:02:01 5 1.28 0.00 0.40 0.00 0.02 98.30 17:02:01 6 0.53 0.00 0.52 0.00 0.02 98.93 17:02:01 7 0.60 0.00 0.45 0.00 0.03 98.91 17:03:01 all 0.30 0.00 0.12 0.03 0.01 99.55 17:03:01 0 0.83 0.00 0.13 0.00 0.02 99.02 17:03:01 1 0.20 0.00 0.10 0.00 0.02 99.68 17:03:01 2 0.13 0.00 0.03 0.02 0.02 99.80 17:03:01 3 0.18 0.00 0.10 0.03 0.02 99.66 17:03:01 4 0.47 0.00 0.23 0.02 0.00 99.28 17:03:01 5 0.20 0.00 0.08 0.00 0.00 99.72 17:03:01 6 0.25 0.00 0.15 0.17 0.03 99.40 17:03:01 7 0.15 0.00 0.07 0.00 0.02 99.77 17:04:01 all 0.21 0.00 0.20 0.03 0.02 99.54 17:04:01 0 0.13 0.00 0.15 0.00 0.00 99.72 17:04:01 1 0.15 0.00 0.22 0.02 0.00 99.62 17:04:01 2 0.15 0.00 0.22 0.00 0.00 99.63 17:04:01 3 0.22 0.00 0.18 0.03 0.02 99.55 17:04:01 4 0.23 0.00 0.18 0.02 0.02 99.55 17:04:01 5 0.43 0.00 0.27 0.03 0.08 99.18 17:04:01 6 0.22 0.00 0.20 0.10 0.02 99.47 17:04:01 7 0.15 0.00 0.20 0.02 0.00 99.63 17:05:01 all 3.80 0.00 1.63 0.29 0.04 94.24 17:05:01 0 2.85 0.00 1.65 0.08 0.03 95.38 17:05:01 1 5.41 0.00 1.49 0.15 0.03 92.91 17:05:01 2 4.32 0.00 1.82 0.10 0.05 93.71 17:05:01 3 3.00 0.00 1.76 0.74 0.05 94.45 17:05:01 4 3.41 0.00 1.89 0.10 0.03 94.57 17:05:01 5 3.14 0.00 1.58 0.10 0.05 95.13 17:05:01 6 4.86 0.00 1.36 1.01 0.03 92.74 17:05:01 7 3.42 0.00 1.46 0.07 0.03 95.03 17:06:01 all 0.56 0.00 0.14 0.05 0.01 99.24 17:06:01 0 0.13 0.00 0.10 0.00 0.02 99.75 17:06:01 1 0.15 0.00 0.08 0.00 0.02 99.75 17:06:01 2 1.27 0.00 0.25 0.03 0.00 98.45 17:06:01 3 0.25 0.00 0.20 0.02 0.00 99.53 17:06:01 4 0.22 0.00 0.13 0.00 0.02 99.63 17:06:01 5 1.73 0.00 0.12 0.25 0.02 97.89 17:06:01 6 0.48 0.00 0.17 0.05 0.03 99.27 17:06:01 7 0.20 0.00 0.12 0.00 0.02 99.67 17:06:01 CPU %user %nice %system %iowait %steal %idle 17:07:01 all 0.10 0.00 0.04 0.00 0.02 99.84 17:07:01 0 0.03 0.00 0.02 0.00 0.00 99.95 17:07:01 1 0.03 0.00 0.02 0.00 0.00 99.95 17:07:01 2 0.03 0.00 0.02 0.00 0.02 99.93 17:07:01 3 0.00 0.00 0.00 0.02 0.02 99.97 17:07:01 4 0.18 0.00 0.07 0.00 0.05 99.70 17:07:01 5 0.35 0.00 0.08 0.02 0.05 99.50 17:07:01 6 0.08 0.00 0.07 0.00 0.02 99.83 17:07:01 7 0.08 0.00 0.02 0.00 0.00 99.90 17:08:01 all 3.81 0.00 1.74 2.41 0.07 91.97 17:08:01 0 3.69 0.00 1.79 1.16 0.07 93.29 17:08:01 1 3.19 0.00 1.90 1.46 0.05 93.40 17:08:01 2 2.53 0.00 1.78 3.32 0.05 92.32 17:08:01 3 3.27 0.00 2.03 1.74 0.08 92.87 17:08:01 4 3.06 0.00 1.73 0.69 0.08 94.44 17:08:01 5 3.30 0.00 1.42 7.56 0.07 87.66 17:08:01 6 6.78 0.00 1.53 1.65 0.07 89.98 17:08:01 7 4.66 0.00 1.73 1.68 0.07 91.87 17:09:01 all 0.47 0.00 0.19 0.27 0.01 99.06 17:09:01 0 0.13 0.00 0.10 0.33 0.00 99.43 17:09:01 1 0.30 0.00 0.15 1.20 0.02 98.33 17:09:01 2 0.87 0.00 0.30 0.53 0.02 98.28 17:09:01 3 0.82 0.00 0.27 0.00 0.02 98.90 17:09:01 4 1.05 0.00 0.30 0.00 0.02 98.63 17:09:01 5 0.22 0.00 0.12 0.00 0.02 99.65 17:09:01 6 0.18 0.00 0.12 0.02 0.02 99.67 17:09:01 7 0.18 0.00 0.15 0.10 0.02 99.55 17:10:01 all 0.22 0.00 0.04 0.05 0.01 99.68 17:10:01 0 0.15 0.00 0.12 0.00 0.00 99.73 17:10:01 1 1.27 0.00 0.03 0.17 0.02 98.51 17:10:01 2 0.05 0.00 0.05 0.00 0.02 99.88 17:10:01 3 0.05 0.00 0.02 0.00 0.00 99.93 17:10:01 4 0.05 0.00 0.02 0.00 0.02 99.92 17:10:01 5 0.12 0.00 0.05 0.00 0.02 99.82 17:10:01 6 0.02 0.00 0.02 0.00 0.00 99.97 17:10:01 7 0.07 0.00 0.05 0.22 0.02 99.65 17:11:01 all 3.01 0.00 1.42 0.45 0.05 95.07 17:11:01 0 2.43 0.00 1.66 0.20 0.08 95.63 17:11:01 1 2.77 0.00 1.47 0.83 0.03 94.90 17:11:01 2 2.27 0.00 1.52 1.12 0.03 95.06 17:11:01 3 3.68 0.00 1.34 0.30 0.03 94.65 17:11:01 4 3.53 0.00 1.37 0.18 0.05 94.87 17:11:01 5 4.76 0.00 1.30 0.63 0.03 93.27 17:11:01 6 2.70 0.00 1.22 0.15 0.03 95.89 17:11:01 7 1.94 0.00 1.46 0.23 0.12 96.25 17:12:01 all 1.13 0.00 0.61 0.04 0.02 98.21 17:12:01 0 1.30 0.00 0.93 0.05 0.00 97.72 17:12:01 1 0.97 0.00 0.58 0.13 0.02 98.30 17:12:01 2 2.04 0.00 0.65 0.05 0.02 97.24 17:12:01 3 1.19 0.00 0.65 0.00 0.03 98.13 17:12:01 4 0.75 0.00 0.57 0.02 0.02 98.65 17:12:01 5 0.63 0.00 0.45 0.00 0.02 98.90 17:12:01 6 1.35 0.00 0.52 0.00 0.03 98.10 17:12:01 7 0.78 0.00 0.50 0.02 0.00 98.70 17:13:01 all 0.30 0.00 0.18 0.07 0.01 99.44 17:13:01 0 0.30 0.00 0.22 0.00 0.02 99.47 17:13:01 1 0.13 0.00 0.18 0.35 0.02 99.32 17:13:01 2 0.20 0.00 0.15 0.00 0.02 99.63 17:13:01 3 0.17 0.00 0.18 0.00 0.00 99.65 17:13:01 4 0.40 0.00 0.18 0.00 0.03 99.38 17:13:01 5 0.20 0.00 0.10 0.00 0.00 99.70 17:13:01 6 0.75 0.00 0.17 0.00 0.02 99.07 17:13:01 7 0.25 0.00 0.22 0.18 0.02 99.33 17:14:01 all 0.14 0.00 0.12 0.01 0.02 99.71 17:14:01 0 0.42 0.00 0.22 0.02 0.03 99.31 17:14:01 1 0.07 0.00 0.15 0.03 0.00 99.75 17:14:01 2 0.13 0.00 0.13 0.00 0.00 99.73 17:14:01 3 0.10 0.00 0.07 0.00 0.02 99.82 17:14:01 4 0.12 0.00 0.08 0.05 0.00 99.75 17:14:01 5 0.12 0.00 0.08 0.00 0.00 99.80 17:14:01 6 0.10 0.00 0.13 0.02 0.03 99.72 17:14:01 7 0.10 0.00 0.15 0.00 0.00 99.75 17:15:01 all 3.93 0.00 1.95 2.14 0.06 91.93 17:15:01 0 2.96 0.00 1.82 1.56 0.07 93.59 17:15:01 1 4.35 0.00 1.93 1.74 0.07 91.91 17:15:01 2 2.89 0.00 1.99 1.79 0.05 93.28 17:15:01 3 4.59 0.00 1.92 1.35 0.07 92.08 17:15:01 4 3.88 0.00 2.17 2.91 0.05 90.99 17:15:01 5 5.88 0.00 1.98 1.66 0.07 90.41 17:15:01 6 3.69 0.00 1.79 0.72 0.07 93.73 17:15:01 7 3.10 0.00 1.96 5.38 0.07 89.49 17:16:01 all 0.49 0.00 0.18 0.08 0.01 99.24 17:16:01 0 0.25 0.00 0.12 0.00 0.02 99.62 17:16:01 1 0.53 0.00 0.25 0.00 0.02 99.20 17:16:01 2 0.32 0.00 0.12 0.02 0.02 99.53 17:16:01 3 0.15 0.00 0.12 0.07 0.02 99.65 17:16:01 4 1.00 0.00 0.17 0.07 0.02 98.75 17:16:01 5 1.05 0.00 0.30 0.20 0.02 98.43 17:16:01 6 0.23 0.00 0.12 0.00 0.00 99.65 17:16:01 7 0.42 0.00 0.23 0.30 0.02 99.03 17:17:01 all 0.09 0.00 0.03 0.01 0.01 99.86 17:17:01 0 0.08 0.00 0.02 0.00 0.00 99.90 17:17:01 1 0.17 0.00 0.03 0.00 0.02 99.78 17:17:01 2 0.03 0.00 0.02 0.00 0.00 99.95 17:17:01 3 0.18 0.00 0.08 0.00 0.05 99.68 17:17:01 4 0.08 0.00 0.03 0.00 0.02 99.87 17:17:01 5 0.12 0.00 0.03 0.00 0.00 99.85 17:17:01 6 0.03 0.00 0.00 0.00 0.00 99.97 17:17:01 7 0.03 0.00 0.02 0.07 0.00 99.88 17:17:01 CPU %user %nice %system %iowait %steal %idle 17:18:01 all 3.88 0.00 2.16 0.66 0.04 93.25 17:18:01 0 5.51 0.00 2.44 0.82 0.05 91.18 17:18:01 1 3.47 0.00 1.89 0.50 0.03 94.10 17:18:01 2 3.94 0.00 2.17 0.07 0.03 93.79 17:18:01 3 3.38 0.00 1.82 0.20 0.05 94.55 17:18:01 4 2.80 0.00 2.13 0.69 0.05 94.33 17:18:01 5 4.75 0.00 1.93 0.60 0.05 92.67 17:18:01 6 3.34 0.00 2.61 1.19 0.03 92.83 17:18:01 7 3.89 0.00 2.26 1.22 0.05 92.57 17:19:01 all 0.47 0.00 0.21 0.02 0.01 99.29 17:19:01 0 0.30 0.00 0.28 0.00 0.02 99.40 17:19:01 1 0.87 0.00 0.33 0.00 0.02 98.78 17:19:01 2 1.23 0.00 0.28 0.00 0.03 98.45 17:19:01 3 0.33 0.00 0.18 0.03 0.02 99.43 17:19:01 4 0.23 0.00 0.13 0.03 0.02 99.58 17:19:01 5 0.18 0.00 0.17 0.10 0.00 99.55 17:19:01 6 0.23 0.00 0.17 0.00 0.02 99.58 17:19:01 7 0.33 0.00 0.15 0.00 0.00 99.52 17:20:01 all 0.27 0.00 0.04 0.03 0.01 99.65 17:20:01 0 0.20 0.00 0.02 0.00 0.02 99.77 17:20:01 1 0.15 0.00 0.05 0.00 0.02 99.78 17:20:01 2 0.15 0.00 0.07 0.00 0.02 99.77 17:20:01 3 1.39 0.00 0.07 0.23 0.03 98.28 17:20:01 4 0.10 0.00 0.03 0.00 0.00 99.87 17:20:01 5 0.08 0.00 0.00 0.00 0.00 99.92 17:20:01 6 0.05 0.00 0.03 0.02 0.00 99.90 17:20:01 7 0.07 0.00 0.03 0.00 0.00 99.90 17:21:01 all 3.40 0.00 1.60 0.26 0.04 94.70 17:21:01 0 3.00 0.00 1.69 0.20 0.03 95.08 17:21:01 1 5.29 0.00 1.52 0.12 0.02 93.06 17:21:01 2 2.48 0.00 1.66 0.28 0.03 95.55 17:21:01 3 3.77 0.00 1.42 0.17 0.07 94.57 17:21:01 4 2.19 0.00 1.61 0.22 0.03 95.95 17:21:01 5 5.83 0.00 1.60 0.08 0.03 92.45 17:21:01 6 2.13 0.00 1.69 0.92 0.03 95.23 17:21:01 7 2.52 0.00 1.52 0.12 0.03 95.80 17:22:01 all 0.88 0.00 0.48 0.01 0.02 98.61 17:22:01 0 0.73 0.00 0.65 0.00 0.02 98.60 17:22:01 1 0.73 0.00 0.37 0.02 0.03 98.85 17:22:01 2 0.85 0.00 0.50 0.08 0.02 98.55 17:22:01 3 0.67 0.00 0.33 0.00 0.02 98.98 17:22:01 4 0.54 0.00 0.42 0.02 0.02 99.01 17:22:01 5 0.72 0.00 0.42 0.00 0.02 98.85 17:22:01 6 1.85 0.00 0.68 0.00 0.02 97.45 17:22:01 7 0.92 0.00 0.48 0.00 0.03 98.56 17:23:01 all 0.39 0.00 0.07 0.01 0.01 99.52 17:23:01 0 0.05 0.00 0.02 0.00 0.00 99.93 17:23:01 1 0.57 0.00 0.02 0.00 0.00 99.42 17:23:01 2 0.40 0.00 0.07 0.03 0.02 99.48 17:23:01 3 0.13 0.00 0.03 0.00 0.02 99.82 17:23:01 4 1.16 0.00 0.05 0.00 0.00 98.79 17:23:01 5 0.20 0.00 0.18 0.00 0.02 99.60 17:23:01 6 0.37 0.00 0.07 0.00 0.02 99.55 17:23:01 7 0.28 0.00 0.12 0.02 0.02 99.57 17:24:01 all 0.39 0.00 0.44 0.17 0.02 98.98 17:24:01 0 0.37 0.00 0.43 0.03 0.02 99.15 17:24:01 1 0.17 0.00 0.35 0.03 0.00 99.45 17:24:01 2 0.47 0.00 0.52 0.55 0.02 98.45 17:24:01 3 0.47 0.00 0.43 0.03 0.03 99.03 17:24:01 4 0.34 0.00 0.55 0.18 0.03 98.89 17:24:01 5 0.35 0.00 0.38 0.02 0.03 99.22 17:24:01 6 0.45 0.00 0.37 0.27 0.00 98.92 17:24:01 7 0.48 0.00 0.45 0.22 0.02 98.83 17:25:01 all 3.57 0.00 1.48 0.75 0.04 94.17 17:25:01 0 2.41 0.00 1.42 0.47 0.03 95.67 17:25:01 1 8.79 0.00 1.45 0.10 0.05 89.61 17:25:01 2 3.33 0.00 1.64 1.37 0.03 93.63 17:25:01 3 3.16 0.00 1.78 0.89 0.05 94.12 17:25:01 4 3.39 0.00 1.24 0.24 0.03 95.10 17:25:01 5 2.54 0.00 1.50 1.35 0.03 94.57 17:25:01 6 2.37 0.00 1.37 0.99 0.05 95.22 17:25:01 7 2.56 0.00 1.44 0.60 0.03 95.37 17:26:01 all 0.42 0.00 0.15 0.00 0.01 99.42 17:26:01 0 0.72 0.00 0.17 0.00 0.02 99.10 17:26:01 1 0.48 0.00 0.20 0.00 0.00 99.32 17:26:01 2 0.25 0.00 0.12 0.00 0.02 99.62 17:26:01 3 0.18 0.00 0.12 0.02 0.02 99.67 17:26:01 4 0.71 0.00 0.08 0.02 0.00 99.19 17:26:01 5 0.18 0.00 0.17 0.00 0.00 99.65 17:26:01 6 0.55 0.00 0.28 0.02 0.02 99.13 17:26:01 7 0.30 0.00 0.10 0.00 0.00 99.60 17:27:01 all 0.08 0.00 0.04 0.01 0.01 99.86 17:27:01 0 0.00 0.00 0.00 0.00 0.00 100.00 17:27:01 1 0.03 0.00 0.00 0.00 0.00 99.97 17:27:01 2 0.02 0.00 0.00 0.00 0.00 99.98 17:27:01 3 0.10 0.00 0.03 0.00 0.00 99.87 17:27:01 4 0.18 0.00 0.08 0.02 0.05 99.67 17:27:01 5 0.02 0.00 0.00 0.00 0.00 99.98 17:27:01 6 0.13 0.00 0.12 0.02 0.02 99.72 17:27:01 7 0.10 0.00 0.03 0.00 0.00 99.87 17:28:01 all 3.90 0.00 1.82 0.72 0.05 93.51 17:28:01 0 4.10 0.00 1.87 0.85 0.03 93.14 17:28:01 1 4.70 0.00 1.71 0.77 0.05 92.77 17:28:01 2 3.11 0.00 1.56 0.20 0.05 95.08 17:28:01 3 3.39 0.00 1.86 0.18 0.05 94.51 17:28:01 4 4.54 0.00 2.04 1.26 0.05 92.12 17:28:01 5 2.36 0.00 1.66 0.87 0.05 95.06 17:28:01 6 5.44 0.00 2.18 0.27 0.05 92.05 17:28:01 7 3.61 0.00 1.68 1.36 0.05 93.30 17:28:01 CPU %user %nice %system %iowait %steal %idle 17:29:01 all 0.42 0.00 0.17 0.01 0.01 99.40 17:29:01 0 0.20 0.00 0.13 0.00 0.02 99.65 17:29:01 1 0.85 0.00 0.32 0.00 0.00 98.83 17:29:01 2 0.33 0.00 0.17 0.00 0.00 99.50 17:29:01 3 0.23 0.00 0.20 0.00 0.02 99.55 17:29:01 4 0.43 0.00 0.17 0.02 0.02 99.37 17:29:01 5 0.27 0.00 0.10 0.00 0.00 99.63 17:29:01 6 0.84 0.00 0.17 0.00 0.00 99.00 17:29:01 7 0.20 0.00 0.12 0.02 0.02 99.65 17:30:01 all 0.31 0.00 0.05 0.00 0.01 99.63 17:30:01 0 0.05 0.00 0.07 0.00 0.02 99.87 17:30:01 1 0.05 0.00 0.02 0.00 0.00 99.93 17:30:01 2 0.07 0.00 0.03 0.00 0.02 99.88 17:30:01 3 0.07 0.00 0.07 0.00 0.00 99.87 17:30:01 4 0.17 0.00 0.07 0.00 0.02 99.75 17:30:01 5 0.00 0.00 0.02 0.00 0.00 99.98 17:30:01 6 1.92 0.00 0.05 0.00 0.03 98.00 17:30:01 7 0.10 0.00 0.05 0.02 0.02 99.82 17:31:01 all 4.28 0.00 1.73 0.40 0.05 93.54 17:31:01 0 2.46 0.00 1.71 0.85 0.05 94.93 17:31:01 1 3.58 0.00 2.01 0.47 0.05 93.90 17:31:01 2 5.32 0.00 1.82 0.10 0.03 92.72 17:31:01 3 2.93 0.00 1.68 0.10 0.07 95.22 17:31:01 4 7.00 0.00 1.47 0.12 0.05 91.36 17:31:01 5 3.45 0.00 1.62 0.72 0.05 94.16 17:31:01 6 5.28 0.00 1.70 0.10 0.07 92.85 17:31:01 7 4.19 0.00 1.84 0.72 0.05 93.19 17:32:01 all 0.62 0.00 0.21 0.06 0.01 99.09 17:32:01 0 0.97 0.00 0.22 0.18 0.02 98.62 17:32:01 1 0.45 0.00 0.22 0.00 0.02 99.32 17:32:01 2 0.32 0.00 0.18 0.15 0.02 99.33 17:32:01 3 0.37 0.00 0.22 0.00 0.02 99.40 17:32:01 4 0.72 0.00 0.28 0.00 0.02 98.98 17:32:01 5 0.30 0.00 0.22 0.18 0.02 99.28 17:32:01 6 1.36 0.00 0.15 0.02 0.03 98.44 17:32:01 7 0.48 0.00 0.25 0.00 0.02 99.25 17:33:01 all 0.26 0.00 0.06 0.01 0.01 99.65 17:33:01 0 0.20 0.00 0.17 0.00 0.03 99.60 17:33:01 1 0.05 0.00 0.02 0.00 0.00 99.93 17:33:01 2 0.08 0.00 0.05 0.02 0.00 99.85 17:33:01 3 0.03 0.00 0.02 0.00 0.00 99.95 17:33:01 4 0.07 0.00 0.05 0.02 0.00 99.87 17:33:01 5 0.08 0.00 0.03 0.02 0.02 99.85 17:33:01 6 1.29 0.00 0.07 0.00 0.00 98.64 17:33:01 7 0.28 0.00 0.10 0.02 0.00 99.60 17:34:01 all 2.47 0.00 1.20 0.20 0.04 96.09 17:34:01 0 2.16 0.00 1.27 0.17 0.03 96.37 17:34:01 1 3.59 0.00 1.22 0.10 0.02 95.07 17:34:01 2 2.37 0.00 1.10 0.08 0.03 96.41 17:34:01 3 1.69 0.00 1.35 0.22 0.03 96.71 17:34:01 4 3.54 0.00 1.05 0.08 0.03 95.29 17:34:01 5 1.72 0.00 1.17 0.74 0.05 96.32 17:34:01 6 2.97 0.00 1.15 0.10 0.08 95.69 17:34:01 7 1.72 0.00 1.32 0.13 0.05 96.77 17:35:01 all 1.41 0.00 0.61 0.04 0.03 97.92 17:35:01 0 0.72 0.00 0.57 0.02 0.03 98.66 17:35:01 1 0.67 0.00 0.57 0.23 0.03 98.50 17:35:01 2 0.80 0.00 0.60 0.00 0.03 98.56 17:35:01 3 1.97 0.00 0.79 0.02 0.03 97.19 17:35:01 4 2.45 0.00 0.62 0.00 0.02 96.91 17:35:01 5 1.73 0.00 0.59 0.00 0.03 97.65 17:35:01 6 1.59 0.00 0.47 0.00 0.02 97.93 17:35:01 7 1.30 0.00 0.60 0.05 0.02 98.03 17:36:01 all 0.39 0.00 0.13 0.00 0.01 99.46 17:36:01 0 0.35 0.00 0.12 0.00 0.00 99.53 17:36:01 1 0.13 0.00 0.08 0.00 0.00 99.78 17:36:01 2 0.12 0.00 0.08 0.02 0.03 99.75 17:36:01 3 0.87 0.00 0.15 0.00 0.02 98.97 17:36:01 4 0.28 0.00 0.12 0.00 0.00 99.60 17:36:01 5 0.77 0.00 0.22 0.00 0.02 99.00 17:36:01 6 0.42 0.00 0.22 0.00 0.02 99.35 17:36:01 7 0.20 0.00 0.07 0.02 0.02 99.70 17:37:01 all 0.08 0.00 0.04 0.00 0.02 99.85 17:37:01 0 0.13 0.00 0.05 0.00 0.02 99.80 17:37:01 1 0.02 0.00 0.02 0.03 0.00 99.93 17:37:01 2 0.05 0.00 0.02 0.02 0.02 99.90 17:37:01 3 0.08 0.00 0.05 0.00 0.02 99.85 17:37:01 4 0.02 0.00 0.02 0.00 0.00 99.97 17:37:01 5 0.08 0.00 0.03 0.00 0.02 99.87 17:37:01 6 0.25 0.00 0.12 0.00 0.08 99.55 17:37:01 7 0.05 0.00 0.03 0.00 0.00 99.92 17:38:01 all 3.69 0.00 1.89 0.37 0.05 94.00 17:38:01 0 2.61 0.00 2.09 0.28 0.03 94.98 17:38:01 1 4.66 0.00 1.71 0.95 0.05 92.63 17:38:01 2 3.94 0.00 1.87 0.50 0.05 93.63 17:38:01 3 2.36 0.00 1.84 0.10 0.03 95.66 17:38:01 4 3.28 0.00 1.84 0.15 0.05 94.67 17:38:01 5 2.39 0.00 1.83 0.10 0.07 95.61 17:38:01 6 5.80 0.00 1.93 0.55 0.05 91.68 17:38:01 7 4.51 0.00 1.94 0.30 0.05 93.20 17:39:01 all 0.40 0.00 0.17 0.03 0.01 99.40 17:39:01 0 0.47 0.00 0.17 0.00 0.02 99.35 17:39:01 1 0.28 0.00 0.22 0.17 0.00 99.33 17:39:01 2 0.22 0.00 0.13 0.00 0.02 99.63 17:39:01 3 0.65 0.00 0.28 0.00 0.03 99.03 17:39:01 4 0.23 0.00 0.13 0.00 0.00 99.63 17:39:01 5 0.74 0.00 0.13 0.02 0.00 99.11 17:39:01 6 0.42 0.00 0.13 0.00 0.02 99.43 17:39:01 7 0.18 0.00 0.13 0.03 0.00 99.65 17:39:01 CPU %user %nice %system %iowait %steal %idle 17:40:01 all 0.09 0.00 0.04 0.00 0.01 99.86 17:40:01 0 0.12 0.00 0.03 0.00 0.00 99.85 17:40:01 1 0.08 0.00 0.03 0.00 0.02 99.87 17:40:01 2 0.03 0.00 0.03 0.00 0.00 99.93 17:40:01 3 0.13 0.00 0.08 0.00 0.03 99.75 17:40:01 4 0.03 0.00 0.02 0.00 0.02 99.93 17:40:01 5 0.03 0.00 0.02 0.00 0.02 99.93 17:40:01 6 0.22 0.00 0.10 0.00 0.03 99.65 17:40:01 7 0.02 0.00 0.02 0.02 0.00 99.95 17:41:01 all 3.77 0.00 1.70 0.27 0.05 94.21 17:41:01 0 3.55 0.00 1.57 0.54 0.05 94.29 17:41:01 1 3.34 0.00 1.71 0.37 0.05 94.53 17:41:01 2 3.52 0.00 1.69 0.10 0.05 94.64 17:41:01 3 3.23 0.00 1.64 0.15 0.05 94.93 17:41:01 4 4.72 0.00 2.06 0.40 0.05 92.77 17:41:01 5 5.81 0.00 1.46 0.13 0.07 92.53 17:41:01 6 2.69 0.00 1.76 0.13 0.08 95.33 17:41:01 7 3.29 0.00 1.68 0.37 0.05 94.62 17:42:01 all 0.53 0.00 0.18 0.03 0.01 99.26 17:42:01 0 0.23 0.00 0.07 0.02 0.00 99.68 17:42:01 1 0.28 0.00 0.10 0.00 0.00 99.62 17:42:01 2 0.90 0.00 0.18 0.00 0.00 98.92 17:42:01 3 0.45 0.00 0.28 0.00 0.03 99.23 17:42:01 4 0.83 0.00 0.40 0.00 0.02 98.75 17:42:01 5 0.48 0.00 0.15 0.02 0.00 99.35 17:42:01 6 0.82 0.00 0.20 0.00 0.00 98.98 17:42:01 7 0.18 0.00 0.10 0.18 0.02 99.52 17:43:01 all 0.08 0.00 0.04 0.00 0.01 99.86 17:43:01 0 0.05 0.00 0.03 0.00 0.00 99.92 17:43:01 1 0.03 0.00 0.03 0.00 0.00 99.93 17:43:01 2 0.08 0.00 0.07 0.00 0.02 99.83 17:43:01 3 0.08 0.00 0.05 0.00 0.03 99.83 17:43:01 4 0.07 0.00 0.02 0.00 0.00 99.92 17:43:01 5 0.03 0.00 0.02 0.02 0.00 99.93 17:43:01 6 0.33 0.00 0.08 0.00 0.03 99.55 17:43:01 7 0.00 0.00 0.03 0.00 0.00 99.97 17:44:01 all 3.71 0.00 1.54 0.27 0.04 94.44 17:44:01 0 4.75 0.00 1.62 0.12 0.05 93.46 17:44:01 1 3.29 0.00 1.47 0.43 0.08 94.73 17:44:01 2 4.74 0.00 1.46 0.10 0.03 93.67 17:44:01 3 4.20 0.00 1.61 0.12 0.05 94.02 17:44:01 4 2.83 0.00 1.54 0.08 0.03 95.51 17:44:01 5 3.97 0.00 1.51 0.44 0.03 94.06 17:44:01 6 4.10 0.00 1.48 0.08 0.03 94.31 17:44:01 7 1.81 0.00 1.57 0.82 0.03 95.77 17:45:01 all 1.03 0.00 0.50 0.01 0.02 98.43 17:45:01 0 1.25 0.00 0.58 0.00 0.02 98.15 17:45:01 1 1.07 0.00 0.57 0.00 0.02 98.34 17:45:01 2 0.88 0.00 0.35 0.03 0.02 98.71 17:45:01 3 0.63 0.00 0.43 0.00 0.02 98.92 17:45:01 4 1.23 0.00 0.28 0.02 0.02 98.46 17:45:01 5 0.73 0.00 0.42 0.02 0.02 98.82 17:45:01 6 0.62 0.00 0.67 0.00 0.02 98.70 17:45:01 7 1.79 0.00 0.72 0.03 0.03 97.43 17:46:01 all 0.29 0.00 0.06 0.00 0.01 99.64 17:46:01 0 0.05 0.00 0.08 0.00 0.02 99.85 17:46:01 1 1.31 0.00 0.02 0.00 0.02 98.66 17:46:01 2 0.40 0.00 0.03 0.00 0.00 99.57 17:46:01 3 0.08 0.00 0.03 0.00 0.00 99.88 17:46:01 4 0.18 0.00 0.12 0.00 0.00 99.70 17:46:01 5 0.08 0.00 0.10 0.00 0.02 99.80 17:46:01 6 0.08 0.00 0.05 0.02 0.02 99.83 17:46:01 7 0.12 0.00 0.03 0.00 0.00 99.85 17:47:01 all 0.45 0.00 0.50 0.12 0.16 98.77 17:47:01 0 0.30 0.00 0.42 0.07 0.02 99.20 17:47:01 1 1.05 0.00 0.63 0.08 0.32 97.92 17:47:01 2 0.37 0.00 0.48 0.07 0.03 99.05 17:47:01 3 0.43 0.00 0.48 0.05 0.25 98.78 17:47:01 4 0.25 0.00 0.47 0.10 0.03 99.15 17:47:01 5 0.42 0.00 0.50 0.07 0.02 99.00 17:47:01 6 0.38 0.00 0.57 0.50 0.02 98.53 17:47:01 7 0.35 0.00 0.45 0.05 0.61 98.54 17:48:01 all 3.79 0.00 1.47 0.68 0.04 94.01 17:48:01 0 4.03 0.00 1.79 0.20 0.05 93.93 17:48:01 1 4.03 0.00 1.55 0.62 0.05 93.75 17:48:01 2 2.68 0.00 1.72 1.42 0.07 94.11 17:48:01 3 2.87 0.00 1.31 0.44 0.03 95.36 17:48:01 4 9.64 0.00 1.07 0.60 0.03 88.65 17:48:01 5 2.06 0.00 1.42 0.33 0.03 96.15 17:48:01 6 3.00 0.00 1.59 0.25 0.03 95.13 17:48:01 7 2.06 0.00 1.29 1.59 0.05 95.01 17:49:01 all 0.38 0.00 0.17 0.03 0.01 99.42 17:49:01 0 0.27 0.00 0.17 0.02 0.00 99.55 17:49:01 1 0.23 0.00 0.13 0.00 0.00 99.63 17:49:01 2 0.87 0.00 0.17 0.00 0.00 98.97 17:49:01 3 0.48 0.00 0.18 0.00 0.02 99.31 17:49:01 4 0.23 0.00 0.17 0.05 0.00 99.55 17:49:01 5 0.27 0.00 0.23 0.00 0.00 99.50 17:49:01 6 0.32 0.00 0.17 0.17 0.02 99.33 17:49:01 7 0.32 0.00 0.18 0.00 0.02 99.48 17:50:01 all 0.09 0.00 0.04 0.00 0.02 99.85 17:50:01 0 0.05 0.00 0.05 0.00 0.02 99.88 17:50:01 1 0.07 0.00 0.02 0.00 0.02 99.90 17:50:01 2 0.18 0.00 0.05 0.00 0.05 99.72 17:50:01 3 0.03 0.00 0.00 0.00 0.00 99.97 17:50:01 4 0.13 0.00 0.02 0.02 0.02 99.82 17:50:01 5 0.18 0.00 0.05 0.00 0.03 99.73 17:50:01 6 0.07 0.00 0.00 0.00 0.00 99.93 17:50:01 7 0.03 0.00 0.05 0.00 0.02 99.90 17:50:01 CPU %user %nice %system %iowait %steal %idle 17:51:01 all 3.68 0.00 1.80 0.31 0.05 94.16 17:51:01 0 3.15 0.00 1.86 0.10 0.03 94.85 17:51:01 1 2.84 0.00 1.89 0.37 0.03 94.87 17:51:01 2 4.91 0.00 1.81 0.08 0.07 93.13 17:51:01 3 5.49 0.00 1.94 0.12 0.07 92.38 17:51:01 4 3.35 0.00 1.71 0.77 0.03 94.14 17:51:01 5 3.97 0.00 1.84 0.13 0.03 94.02 17:51:01 6 3.42 0.00 1.64 0.72 0.07 94.15 17:51:01 7 2.28 0.00 1.78 0.20 0.05 95.69 17:52:01 all 0.60 0.00 0.17 0.01 0.01 99.20 17:52:01 0 1.31 0.00 0.15 0.00 0.00 98.54 17:52:01 1 0.15 0.00 0.17 0.00 0.02 99.67 17:52:01 2 0.92 0.00 0.27 0.00 0.00 98.82 17:52:01 3 0.28 0.00 0.17 0.00 0.02 99.53 17:52:01 4 0.88 0.00 0.18 0.02 0.02 98.90 17:52:01 5 0.43 0.00 0.22 0.02 0.03 99.30 17:52:01 6 0.63 0.00 0.13 0.02 0.02 99.20 17:52:01 7 0.20 0.00 0.12 0.02 0.00 99.67 17:53:01 all 0.14 0.00 0.04 0.00 0.01 99.81 17:53:01 0 0.08 0.00 0.02 0.00 0.02 99.88 17:53:01 1 0.03 0.00 0.02 0.00 0.00 99.95 17:53:01 2 0.08 0.00 0.05 0.00 0.05 99.82 17:53:01 3 0.05 0.00 0.03 0.00 0.00 99.92 17:53:01 4 0.18 0.00 0.08 0.00 0.00 99.73 17:53:01 5 0.07 0.00 0.05 0.02 0.02 99.85 17:53:01 6 0.58 0.00 0.02 0.00 0.02 99.38 17:53:01 7 0.07 0.00 0.03 0.02 0.02 99.87 17:54:01 all 3.75 0.00 1.77 0.47 0.04 93.97 17:54:01 0 2.52 0.00 1.89 0.57 0.03 94.99 17:54:01 1 6.84 0.00 1.54 0.37 0.05 91.20 17:54:01 2 2.94 0.00 1.65 0.22 0.05 95.14 17:54:01 3 3.79 0.00 1.78 0.25 0.05 94.13 17:54:01 4 2.49 0.00 1.88 0.52 0.03 95.08 17:54:01 5 3.77 0.00 1.83 0.57 0.03 93.80 17:54:01 6 4.87 0.00 1.71 0.23 0.05 93.14 17:54:01 7 2.81 0.00 1.89 0.95 0.03 94.30 17:55:01 all 0.55 0.00 0.24 0.01 0.01 99.20 17:55:01 0 0.62 0.00 0.32 0.00 0.02 99.05 17:55:01 1 0.43 0.00 0.27 0.00 0.02 99.28 17:55:01 2 0.60 0.00 0.22 0.03 0.00 99.15 17:55:01 3 0.30 0.00 0.18 0.00 0.00 99.52 17:55:01 4 0.53 0.00 0.30 0.00 0.02 99.15 17:55:01 5 0.90 0.00 0.25 0.03 0.00 98.82 17:55:01 6 0.65 0.00 0.23 0.00 0.02 99.10 17:55:01 7 0.35 0.00 0.13 0.00 0.02 99.50 17:56:01 all 0.12 0.00 0.04 0.00 0.01 99.82 17:56:01 0 0.30 0.00 0.05 0.00 0.00 99.65 17:56:01 1 0.07 0.00 0.03 0.00 0.00 99.90 17:56:01 2 0.10 0.00 0.03 0.02 0.02 99.83 17:56:01 3 0.12 0.00 0.07 0.00 0.02 99.80 17:56:01 4 0.08 0.00 0.03 0.00 0.00 99.88 17:56:01 5 0.12 0.00 0.07 0.00 0.03 99.78 17:56:01 6 0.12 0.00 0.03 0.00 0.00 99.85 17:56:01 7 0.08 0.00 0.05 0.00 0.00 99.87 17:57:01 all 0.73 0.00 1.03 0.13 0.03 98.08 17:57:01 0 0.57 0.00 1.10 0.03 0.02 98.28 17:57:01 1 0.47 0.00 0.78 0.03 0.02 98.70 17:57:01 2 1.07 0.00 0.92 0.69 0.02 97.30 17:57:01 3 0.97 0.00 0.77 0.05 0.05 98.16 17:57:01 4 0.62 0.00 0.95 0.05 0.03 98.35 17:57:01 5 0.67 0.00 0.90 0.08 0.03 98.31 17:57:01 6 0.67 0.00 1.69 0.07 0.03 97.54 17:57:01 7 0.82 0.00 1.09 0.03 0.05 98.01 Average: all 1.72 0.00 0.67 0.53 0.03 97.05 Average: 0 1.55 0.00 0.70 0.23 0.02 97.50 Average: 1 2.05 0.00 0.67 0.25 0.03 97.00 Average: 2 1.49 0.00 0.68 1.14 0.03 96.66 Average: 3 1.65 0.00 0.67 0.63 0.03 97.02 Average: 4 1.84 0.00 0.69 1.01 0.02 96.44 Average: 5 1.81 0.00 0.64 0.36 0.03 97.16 Average: 6 2.06 0.00 0.69 0.34 0.03 96.88 Average: 7 1.31 0.00 0.65 0.28 0.03 97.74