Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-3495 (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-YPwTj1AVi8Fb/agent.2147 SSH_AGENT_PID=2149 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite@tmp/private_key_7952403877375969010.key (/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite@tmp/private_key_7952403877375969010.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/jenkins6738312338680089927.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-VCSb 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-VCSb/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.1 from /tmp/venv-VCSb/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.6 botocore==1.32.6 bs4==0.0.1 cachetools==5.3.2 certifi==2023.11.17 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.32 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.20.0 jsonschema-specifications==2023.11.1 keystoneauth1==5.4.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==4.0.0 prettytable==3.9.0 pyasn1==0.5.1 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.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.0 python-swiftclient==4.4.0 pytz==2023.3.post1 PyYAML==6.0.1 referencing==0.31.0 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.13.1 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.7 wcwidth==0.2.12 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/jenkins14177455789737097372.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/jenkins17872024386244373925.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 ++ sed '/^[^0-9]/d' ++ local command ++ command=versions ++ '[' 2 -gt 0 ']' ++ shift ++ case "$command" in ++ command pyenv versions --bare ++ pyenv versions --bare ++ tail -n 1 ++ sort -V + 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-oc8G + local venv_file=/tmp/.os_lf_venv + local python=python3 + local options + local set_path=true + local install_args= ++ getopt -o np:v: -l no-path,system-site-packages,python:,venv-file: -n lf-activate-venv -- --python python3 --venv-file /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/.robot3_venv setuptools pip wheel + options=' --python '\''python3'\'' --venv-file '\''/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/.robot3_venv'\'' -- '\''setuptools'\'' '\''pip'\'' '\''wheel'\''' + eval set -- ' --python '\''python3'\'' --venv-file '\''/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/.robot3_venv'\'' -- '\''setuptools'\'' '\''pip'\'' '\''wheel'\''' ++ set -- --python python3 --venv-file /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/.robot3_venv -- setuptools pip wheel + true + case $1 in + python=python3 + shift 2 + true + case $1 in + venv_file=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/.robot3_venv + shift 2 + true + case $1 in + shift + break + case $python in + local pkg_list= + [[ -d /opt/pyenv ]] + echo 'Setup pyenv:' Setup pyenv: + export PYENV_ROOT=/opt/pyenv + PYENV_ROOT=/opt/pyenv + export PATH=/opt/pyenv/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + PATH=/opt/pyenv/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + pyenv versions + local command + command=versions + '[' 1 -gt 0 ']' + shift + case "$command" in + command pyenv versions + pyenv versions system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/.python-version) + command -v pyenv ++ pyenv init - --no-rehash ++ local command ++ command=init ++ '[' 3 -gt 0 ']' ++ shift ++ case "$command" in ++ command pyenv init - --no-rehash ++ pyenv init - --no-rehash + eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "'\''/opt/pyenv/shims'\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; fi; done; echo "${paths[*]}"'\'')" export PATH="/opt/pyenv/shims:${PATH}" export PYENV_SHELL=bash source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' pyenv() { local command command="${1:-}" if [ "$#" -gt 0 ]; then shift fi case "$command" in rehash|shell) eval "$(pyenv "sh-$command" "$@")" ;; *) command pyenv "$command" "$@" ;; esac }' +++ bash --norc -ec 'IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; fi; done; echo "${paths[*]}"' ++ PATH=/opt/pyenv/bin:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ export PATH=/opt/pyenv/shims:/opt/pyenv/bin:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ PATH=/opt/pyenv/shims:/opt/pyenv/bin:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin ++ export PYENV_SHELL=bash ++ PYENV_SHELL=bash ++ source /opt/pyenv/libexec/../completions/pyenv.bash +++ complete -F _pyenv pyenv ++ lf-pyver python3 ++ local py_version_xy=python3 ++ local py_version_xyz= ++ pyenv versions ++ local command ++ command=versions ++ '[' 1 -gt 0 ']' ++ shift ++ case "$command" in ++ command pyenv versions ++ pyenv versions ++ sed 's/^[ *]* //' ++ awk '{ print $1 }' ++ 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-oc8G + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-oc8G' lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-oc8G + echo /tmp/venv-oc8G + 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-oc8G/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-oc8G/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager setuptools pip wheel + type python3 + true + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-oc8G/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-oc8G/bin to PATH + PATH=/tmp/venv-oc8G/bin:/opt/pyenv/shims:/opt/pyenv/bin:/opt/pyenv/bin:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin + return 0 + python3 -m pip install -r requirements.txt Collecting paramiko (from -r requirements.txt (line 1)) Downloading paramiko-3.3.1-py3-none-any.whl.metadata (4.4 kB) Collecting six (from -r requirements.txt (line 2)) Using cached six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting urllib3 (from -r requirements.txt (line 3)) Downloading urllib3-2.1.0-py3-none-any.whl.metadata (6.4 kB) Collecting docker-py (from -r requirements.txt (line 4)) Downloading docker_py-1.10.6-py2.py3-none-any.whl (50 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 50.0/50.0 kB 4.6 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 16.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 20.9 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 5.7 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 30.9 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting jsonpath-rw (from -r requirements.txt (line 18)) Downloading jsonpath-rw-1.4.0.tar.gz (13 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting elasticsearch<8.0.0,>=7.0.0 (from -r requirements.txt (line 20)) Downloading elasticsearch-7.17.9-py2.py3-none-any.whl (385 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 386.0/386.0 kB 35.2 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 2.0 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 8.0 MB/s eta 0:00:00 Collecting protobuf (from -r requirements.txt (line 37)) Downloading protobuf-4.25.1-cp37-abi3-manylinux2014_x86_64.whl.metadata (541 bytes) Collecting pyyaml (from -r requirements.txt (line 38)) Using cached PyYAML-6.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB) Collecting robotlibcore-temp (from -r requirements.txt (line 39)) Downloading robotlibcore-temp-1.0.2.tar.gz (4.3 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting more-itertools (from -r requirements.txt (line 40)) Downloading more_itertools-10.1.0-py3-none-any.whl.metadata (33 kB) Collecting xvfbwrapper (from -r requirements.txt (line 41)) Downloading xvfbwrapper-0.2.9.tar.gz (5.6 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting PyVirtualDisplay (from -r requirements.txt (line 42)) Downloading PyVirtualDisplay-3.0-py3-none-any.whl (15 kB) Collecting odltools (from -r requirements.txt (line 48)) Downloading odltools-0.1.34-py2.py3-none-any.whl (215 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 215.1/215.1 kB 23.9 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 15.1 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.11.17-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 9.2 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 3.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 3.6 MB/s eta 0:00:00 Collecting enum34 (from pyangbind->-r requirements.txt (line 23)) Downloading enum34-1.1.10-py3-none-any.whl (11 kB) Collecting ordered-set<4.2.0,>=4.0.2 (from deepdiff->-r requirements.txt (line 31)) Downloading ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting MarkupSafe>=2.0 (from jinja2->-r requirements.txt (line 34)) Using cached MarkupSafe-2.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.0 kB) Collecting requests (from -r requirements.txt (line 9)) Downloading requests-2.19.1-py2.py3-none-any.whl (91 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 92.0/92.0 kB 9.4 MB/s eta 0:00:00 Collecting chardet<3.1.0,>=3.0.2 (from requests->-r requirements.txt (line 9)) Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.4/133.4 kB 17.7 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 7.3 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 22.4 MB/s eta 0:00:00 Downloading odltools-0.1.32-py2.py3-none-any.whl (201 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 201.4/201.4 kB 18.6 MB/s eta 0:00:00 Downloading odltools-0.1.31-py2.py3-none-any.whl (201 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 201.2/201.2 kB 20.0 MB/s eta 0:00:00 Downloading odltools-0.1.30-py2.py3-none-any.whl (201 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 201.1/201.1 kB 8.3 MB/s eta 0:00:00 Downloading odltools-0.1.29-py2.py3-none-any.whl (207 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 207.5/207.5 kB 27.6 MB/s eta 0:00:00 Downloading odltools-0.1.28-py2.py3-none-any.whl (204 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 205.0/205.0 kB 25.0 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.3.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.2.0-py3-none-any.whl.metadata (6.6 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 12.6 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 6.0 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 8.1 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 22.1 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 13.8 MB/s eta 0:00:00 Downloading pyangbind-0.8.4.post1-py3-none-any.whl (52 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 52.8/52.8 kB 8.0 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 8.0 MB/s eta 0:00:00 Using cached dnspython-2.4.2-py3-none-any.whl (300 kB) Downloading protobuf-4.25.1-cp37-abi3-manylinux2014_x86_64.whl (294 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 294.6/294.6 kB 30.7 MB/s eta 0:00:00 Using cached PyYAML-6.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (705 kB) Downloading more_itertools-10.1.0-py3-none-any.whl (55 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 55.8/55.8 kB 7.8 MB/s eta 0:00:00 Using cached certifi-2023.11.17-py3-none-any.whl (162 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 12.8 MB/s eta 0:00:00 Downloading trio-0.23.1-py3-none-any.whl (448 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 448.3/448.3 kB 15.6 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 58.5 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 71.5 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.2.0-py3-none-any.whl (16 kB) Downloading robotframework_pythonlibcore-4.3.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=68edcf12abda2ee42c7739491de017d0411603d4725b2a524bf6da89665fcaea 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=b5bd6c44995db86d9f90aa70a4af739c28e9365db2dfe4b4f286f74327336d45 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=dce4bccb21db689447aa938b572661903f016d0d3b9a163a2f6970368f9065b3 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=2d6ec6e10b3b1e58c80431fc83f647528fa465a26b90eb3faa4cd8449c4d3306 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=40c9c91d443ce715b75d6911da2af3cb399d04b555f371755435a2a636713b6f 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=cd745aae80cdd2f706886ed9a05319aab99225dc0ef18b98338dc7678af58b7c 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=5550c11b3817afafaaa9ff62c73e65da0016877baa61a28efd2fa74a2dcf5621 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=22a6817f756cb79c9f4c49149484185e5040f5fdb18d09b5b1aca2a64df2d162 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.11.17 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.2.0 future-0.18.3 h11-0.14.0 idna-3.4 ipaddr-2.2.0 isodate-0.6.1 jinja2-3.1.2 jmespath-1.0.1 jsonpatch-1.33 jsonpath-rw-1.4.0 jsonpointer-2.4 kafka-python-2.0.2 lxml-4.9.3 more-itertools-10.1.0 netaddr-0.9.0 netifaces-0.11.0 odltools-0.1.28 ordered-set-4.1.0 outcome-1.3.0.post0 paramiko-3.3.1 pbr-6.0.0 ply-3.11 protobuf-4.25.1 pyang-2.6.0 pyangbind-0.8.4.post1 pycparser-2.21 pyhocon-0.3.60 pynacl-1.5.0 pyparsing-3.1.1 python-dateutil-2.8.2 pyyaml-6.0.1 regex-2023.10.3 requests-2.31.0 robotframework-6.1.1 robotframework-httplibrary-0.4.2 robotframework-pythonlibcore-4.3.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-oc8G + echo ROBOT3_VENV=/tmp/venv-oc8G + python3 --version Python 3.10.6 + python3 -m pip freeze attrs==23.1.0 bcrypt==4.0.1 beautifulsoup4==4.12.2 certifi==2023.11.17 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.2.0 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==4.0.0 ply==3.11 protobuf==4.25.1 pyang==2.6.0 pyangbind==0.8.4.post1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 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.3.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.7 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/jenkins11295099231794699536.sh + git clone https://gerrit.onap.org/r/ci-management /tmp/ci-management Cloning into '/tmp/ci-management'... + cp /tmp/ci-management/jjb/integration/prepare-csit.sh /tmp/ci-management/jjb/integration/run-csit.sh /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite + /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/run-csit.sh plans/dcaegen2-collectors-datafile/Functional-suite + echo '---> run-csit.sh' ---> run-csit.sh + trap on_exit EXIT + harden_set + set -xeo pipefail + set +u + save_set + RUN_CSIT_SAVE_SET=ehxB + RUN_CSIT_SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:pipefail:xtrace + '[' 1 -eq 0 ']' + '[' -z /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite ']' + '[' -f /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/plans/dcaegen2-collectors-datafile/Functional-suite/testplan.txt ']' + export TESTPLAN=plans/dcaegen2-collectors-datafile/Functional-suite + TESTPLAN=plans/dcaegen2-collectors-datafile/Functional-suite + export TESTOPTIONS= + TESTOPTIONS= + rm -rf /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/plans/dcaegen2-collectors-datafile/Functional-suite + mkdir -p /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/plans/dcaegen2-collectors-datafile/Functional-suite + TESTPLANDIR=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/plans/dcaegen2-collectors-datafile/Functional-suite + source_safely /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/prepare-csit.sh + '[' -z /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/prepare-csit.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/prepare-csit.sh ++ echo '---> prepare-csit.sh' ---> prepare-csit.sh ++ set -exo pipefail ++ ROBOT_INSTALLER=include-raw-integration-install-robotframework-py3.sh +++ id -un ++ REQ_USER=jenkins ++ which git ++ [[ -z /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite ]] ++ TESTPLANDIR=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/plans/dcaegen2-collectors-datafile/Functional-suite ++ [[ -d /opt/pyenv ]] ++ echo 'Setup pyenv:' Setup pyenv: ++ export PYENV_ROOT=/opt/pyenv ++ PYENV_ROOT=/opt/pyenv ++ export PATH=/opt/pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin ++ PATH=/opt/pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin ++ pyenv versions system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/.python-version) ++ command -v pyenv +++ pyenv init - --no-rehash ++ eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "'\''/opt/pyenv/shims'\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; fi; done; echo "${paths[*]}"'\'')" export PATH="/opt/pyenv/shims:${PATH}" export PYENV_SHELL=bash source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' pyenv() { local command command="${1:-}" if [ "$#" -gt 0 ]; then shift fi case "$command" in rehash|shell) eval "$(pyenv "sh-$command" "$@")" ;; *) command pyenv "$command" "$@" ;; esac }' ++++ bash --norc -ec 'IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; fi; done; echo "${paths[*]}"' +++ PATH=/opt/pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin +++ export PATH=/opt/pyenv/shims:/opt/pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin +++ PATH=/opt/pyenv/shims:/opt/pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin +++ export PYENV_SHELL=bash +++ PYENV_SHELL=bash +++ source /opt/pyenv/libexec/../completions/pyenv.bash ++++ complete -F _pyenv pyenv +++ pyenv versions --bare +++ local command +++ command=versions +++ '[' 2 -gt 0 ']' +++ shift +++ case "$command" in +++ command pyenv versions --bare +++ pyenv versions --bare +++ sed '/^[^0-9]/d' +++ sort -V +++ tail -n 1 ++ version=3.10.6 ++ pyenv local 3.10.6 ++ local command ++ command=local ++ '[' 2 -gt 0 ']' ++ shift ++ case "$command" in ++ command pyenv local 3.10.6 ++ pyenv local 3.10.6 ++ [[ -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-oc8G ++ [[ -f /tmp/venv-oc8G/bin/activate ]] ++ source /tmp/venv-oc8G/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-oc8G +++ 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-oc8G/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-oc8G) ' +++ export PS1 +++ VIRTUAL_ENV_PROMPT='(venv-oc8G) ' +++ export VIRTUAL_ENV_PROMPT +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r ++ mkdir -p /tmp/venv-oc8G/src/onap ++ rm -rf /tmp/venv-oc8G/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 529.4 kB/s eta 0:00:00 Requirement already satisfied: pbr in /tmp/venv-oc8G/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (6.0.0) Requirement already satisfied: deepdiff in /tmp/venv-oc8G/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (6.7.1) Requirement already satisfied: dnspython in /tmp/venv-oc8G/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (2.4.2) Requirement already satisfied: future in /tmp/venv-oc8G/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (0.18.3) Requirement already satisfied: jinja2 in /tmp/venv-oc8G/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (3.1.2) Requirement already satisfied: jsonpath-rw in /tmp/venv-oc8G/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (1.4.0) Requirement already satisfied: kafka-python in /tmp/venv-oc8G/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (2.0.2) Requirement already satisfied: paramiko in /tmp/venv-oc8G/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (3.3.1) Requirement already satisfied: protobuf in /tmp/venv-oc8G/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (4.25.1) Requirement already satisfied: pyyaml in /tmp/venv-oc8G/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (6.0.1) Requirement already satisfied: requests in /tmp/venv-oc8G/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-oc8G/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (0.9.3) Requirement already satisfied: robotlibcore-temp in /tmp/venv-oc8G/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (1.0.2) Requirement already satisfied: six in /tmp/venv-oc8G/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (1.16.0) Requirement already satisfied: urllib3 in /tmp/venv-oc8G/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (1.26.18) Requirement already satisfied: more-itertools in /tmp/venv-oc8G/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (10.1.0) Requirement already satisfied: robotframework in /tmp/venv-oc8G/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-oc8G/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-oc8G/lib/python3.10/site-packages (from jinja2->robotframework-onap==11.0.0.dev17) (2.1.3) Requirement already satisfied: ply in /tmp/venv-oc8G/lib/python3.10/site-packages (from jsonpath-rw->robotframework-onap==11.0.0.dev17) (3.11) Requirement already satisfied: decorator in /tmp/venv-oc8G/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-oc8G/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-oc8G/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-oc8G/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-oc8G/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-oc8G/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-oc8G/lib/python3.10/site-packages (from requests->robotframework-onap==11.0.0.dev17) (2023.11.17) Requirement already satisfied: cffi>=1.12 in /tmp/venv-oc8G/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-oc8G/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.11.17 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.2.0 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==4.0.0 ply==3.11 protobuf==4.25.1 pyang==2.6.0 pyangbind==0.8.4.post1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 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.3.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.7 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-oc8G/bin/activate + '[' -z /tmp/venv-oc8G/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/venv-oc8G/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-oc8G ++ 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-oc8G/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-oc8G) ' ++ PS1='(venv-oc8G) (venv-oc8G) ' ++ export PS1 ++ VIRTUAL_ENV_PROMPT='(venv-oc8G) ' ++ 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.t4tXeJO2aj-robot-workdir + cd /tmp/tmp.t4tXeJO2aj-robot-workdir + export PATH=/tmp/venv-oc8G/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-oc8G/bin + PATH=/tmp/venv-oc8G/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-oc8G/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 2a8e2cb8a2db: Waiting ebfaf6ce8ea0: Waiting 4c86f8625acc: Waiting f5fc763800d1: Verifying Checksum f5fc763800d1: Download complete 4c86f8625acc: Verifying Checksum 4c86f8625acc: Download complete 05e7bc50f07f: Verifying Checksum 05e7bc50f07f: Download complete ebfaf6ce8ea0: 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 ---> 6f7d4666edc7 Step 3/5 : WORKDIR /app ---> Running in a3b8622b7e2a Removing intermediate container a3b8622b7e2a ---> acfc0ddbe8db Step 4/5 : RUN pip install --no-cache-dir -r requirements.txt ---> Running in d59dd8e2f319 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=9df4e21bd914fb72df047ed5da232bb1d6dedc6629375fca4c9fae5992cda834 Stored in directory: /tmp/pip-ephem-wheel-cache-uuqo48sp/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 d59dd8e2f319 ---> 8f62ac7af01a Step 5/5 : EXPOSE 2222 2223 ---> Running in 2fa2395c4f5a Removing intermediate container 2fa2395c4f5a ---> e0208b8cdcf5 Successfully built e0208b8cdcf5 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 d9a8df589451: Waiting 6f51ee005dea: Waiting 5f32ed3c3f27: Waiting 0c8cc2f24a4d: Waiting 0d27a8e86132: Waiting 1de76e268b10: 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 0d27a8e86132: Download complete 5f32ed3c3f27: Verifying Checksum 5f32ed3c3f27: Download complete 2ff1d7c41c74: Pull complete b253aeafeaa7: Pull complete 3d2201bd995c: Pull complete d9a8df589451: Verifying Checksum d9a8df589451: Download 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 1b323ec80785 Removing intermediate container 1b323ec80785 ---> 131af5326c79 Step 3/7 : COPY dmaapDR.js ./ ---> 961080e031ce Step 4/7 : COPY dmaapDR_redir.js ./ ---> 86fdd71fbe3a Step 5/7 : COPY package*.json ./ ---> 2be2aa7320da Step 6/7 : RUN npm install express ---> Running in 8eb6d694bf3f 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 2.798s 11 packages are looking for funding run `npm fund` for details found 0 vulnerabilities Removing intermediate container 8eb6d694bf3f ---> 14e8f4a7bc62 Step 7/7 : RUN npm install argparse ---> Running in 3cc6f34b4bbc 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.639s 11 packages are looking for funding run `npm fund` for details found 0 vulnerabilities Removing intermediate container 3cc6f34b4bbc ---> d2ce16a1ed23 Successfully built d2ce16a1ed23 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 0fb6f74fda2e: Waiting dbe06f2b48d4: Waiting c0fad266edcb: Waiting 95ea16876fa0: Waiting 87e5cf803a9c: Verifying Checksum 87e5cf803a9c: Download complete 1c7827cf61b2: Verifying Checksum 1c7827cf61b2: Download complete dbe06f2b48d4: Verifying Checksum dbe06f2b48d4: Download complete c0fad266edcb: Verifying Checksum c0fad266edcb: Download complete 95ea16876fa0: Verifying Checksum 95ea16876fa0: Download complete 0fb6f74fda2e: Verifying Checksum 0fb6f74fda2e: Download complete d3d4e1d44a24: Download complete d3d4e1d44a24: Pull complete 87e5cf803a9c: Pull complete 1c7827cf61b2: Pull complete 0fb6f74fda2e: Pull complete dbe06f2b48d4: Pull complete c0fad266edcb: Pull complete 95ea16876fa0: Pull complete Digest: sha256:da1bc81b1d4c62c919109316de50150159a4d38bbc6a21cf2d09f31222e88fef Status: Downloaded newer image for panubo/vsftpd:latest ---> cab7d4ddb83a Step 2/4 : COPY configuration/vsftpd_ssl.conf /etc/vsftpd_ssl.conf ---> d3f4b2305ca2 Step 3/4 : RUN chmod 644 /etc/vsftpd_ssl.conf ---> Running in a840fed7c002 Removing intermediate container a840fed7c002 ---> 55cd32ebf10c Step 4/4 : RUN chown root:root /etc/vsftpd_ssl.conf ---> Running in 4358b081a607 Removing intermediate container 4358b081a607 ---> 043bf5afec80 Successfully built 043bf5afec80 Successfully tagged ftpes_vsftpd:latest + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "$SHELLOPTS" | tr ':' ' ') + set +o braceexpand + for i in $(echo "$SHELLOPTS" | tr ':' ' ') + set +o hashall + for i in $(echo "$SHELLOPTS" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "$SHELLOPTS" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + docker_stats + echo '> top -bn1 | head -3' + tee /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/plans/dcaegen2-collectors-datafile/Functional-suite/_sysinfo-1-after-setup.txt + top -bn1 + head -3 > top -bn1 | head -3 top - 16:44:39 up 3 min, 0 users, load average: 1.85, 0.74, 0.29 Tasks: 160 total, 1 running, 83 sleeping, 0 stopped, 0 zombie %Cpu(s): 8.9 us, 1.9 sy, 0.0 ni, 85.5 id, 3.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 721M 27G 708K 3.6G 30G Swap: 1.0G 0B 1.0G + echo + echo '> docker ps' + docker ps > docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES + echo + echo '> docker stats --no-stream' > docker stats --no-stream + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS + echo + cd /tmp/tmp.t4tXeJO2aj-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.11.17 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.2.0 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==4.0.0 ply==3.11 protobuf==4.25.1 pyang==2.6.0 pyangbind==0.8.4.post1 pycparser==2.21 pyhocon==0.3.60 PyNaCl==1.5.0 pyparsing==3.1.1 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.3.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.7 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 c57d5778e8594a6b75e41999988183daa2843c1f0b2373c5cde68aa205c65582 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_http-https-server4 ... Creating dfc_http-https-server0 ... Creating dfc_cmpv2-postprocessor ... Creating dfc_dr-sim ... Creating dfc_http-https-server1 ... Creating dfc_sftp-server1 ... Creating dfc_sftp-server3 ... Creating dfc_http-https-server3 ... Creating dfc_sftp-server2 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_sftp-server4 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_dr-redir-sim ... Creating dfc_mr-sim ... Creating dfc_http-https-server2 ... Creating dfc_sftp-server0 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_cmpv2-postprocessor ... done Creating dfc_dr-redir-sim ... done Creating dfc_sftp-server2 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_mr-sim ... done Creating dfc_sftp-server4 ... done Creating dfc_sftp-server1 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_sftp-server3 ... done Creating dfc_http-https-server3 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_http-https-server4 ... done Creating dfc_sftp-server0 ... done Creating dfc_http-https-server1 ... done Creating dfc_http-https-server2 ... 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=2b7f1bbbc4f3 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=85c2e87fe6ac ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=ebcf835df48d ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=873678936c7b ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=b777c28ab3fb ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=25647c588587 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=bd4146b754bb ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=d327d9dee7df ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=8245484b2dfc ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=590a5710a939 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=96133201aa5b ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=3e5daf94c5ec ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=7b70bbbcc469 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=9cff95c5889d ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=6d14a7d9ca62 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=3191d2d31abe ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=e8d87f984f1b ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=b93c8adf602f + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 2b7f1bbbc4f3 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 85c2e87fe6ac + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ebcf835df48d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 873678936c7b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b777c28ab3fb + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 25647c588587 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' bd4146b754bb + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d327d9dee7df + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8245484b2dfc + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 590a5710a939 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 96133201aa5b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 3e5daf94c5ec + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7b70bbbcc469 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9cff95c5889d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6d14a7d9ca62 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 3191d2d31abe + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e8d87f984f1b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b93c8adf602f + '[' 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} ++ grep vsFTPd ++ curl --silent --max-time 3 ftp://localhost:1033 --ftp-ssl -v -k + 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 873678936c7b:/tmp/ + docker exec -w //home/onap/ 873678936c7b //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 9cff95c5889d:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 9cff95c5889d //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 - - [23/Nov/2023 16:45:14] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 16:45:14] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 16:46:08] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 16:47:04] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 16:47:14] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 16:47:24] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 16:47:34] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 16:47:44] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 16:47:54] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 16:48:04] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ Verify single event with single 5MB SFTP file. From event poll to ... Simulator-start: Creating docker network dfcnet, if needed All simulators Started Simulator DR sim on localhost:3906/ responded ok Simulator DR redir sim on localhost:3908/ responded ok Simulator MR sim on localhost:2222/ responded ok Simulator DR sim https on https://localhost:3907/ responded ok Simulator DR redir sim https on https://localhost:3909/ responded ok Simulator MR sim https on https://localhost:2223/ responded ok Simulator FTPES server 0 on localhost:1032 responded ok Simulator FTPES server 1 on localhost:1033 responded ok Simulator FTPES server 2 on localhost:1034 responded ok Simulator FTPES server 3 on localhost:1035 responded ok Simulator FTPES server 4 on localhost:1036 responded ok Simulator SFTP server 0 on localhost:1022 responded ok Simulator SFTP server 1 on localhost:1023 responded ok Simulator SFTP server 2 on localhost:1024 responded ok Simulator SFTP server 3 on localhost:1025 responded ok Simulator SFTP server 4 on localhost:1026 responded ok Simulator HTTP basic auth server 0 on localhost: 81 responded ok Simulator HTTP basic auth server 1 on localhost: 82 responded ok Simulator HTTP basic auth server 2 on localhost: 83 responded ok Simulator HTTP basic auth server 3 on localhost: 84 responded ok Simulator HTTP basic auth server 4 on localhost: 85 responded ok Simulator HTTP JWT server 0 on localhost:32001 responded ok Simulator HTTP JWT server 1 on localhost:32002 responded ok Simulator HTTP JWT server 2 on localhost:32003 responded ok Simulator HTTP JWT server 3 on localhost:32004 responded ok Simulator HTTP JWT server 4 on localhost:32005 responded ok Simulator HTTPS basic auth server 0 on localhost: 444 responded ok Simulator HTTPS basic auth server 1 on localhost: 445 responded ok Simulator HTTPS basic auth server 2 on localhost: 446 responded ok Simulator HTTPS basic auth server 3 on localhost: 447 responded ok Simulator HTTPS basic auth server 4 on localhost: 448 responded ok Simulator HTTPS client certificate authentication server 0 on localhost:444 - no response Simulator HTTPS client certificate authentication server 1 on localhost:445 - no response Simulator HTTPS client certificate authentication server 2 on localhost:446 - no response Simulator HTTPS client certificate authentication server 3 on localhost:447 - no response Simulator HTTPS client certificate authentication server 4 on localhost:448 - no response Simulator HTTPS no auth server 0 on localhost:8081 responded ok Simulator HTTPS no auth server 1 on localhost:8082 responded ok Simulator HTTPS no auth server 2 on localhost:8083 responded ok Simulator HTTPS no auth server 3 on localhost:8084 responded ok Simulator HTTPS no auth server 4 on localhost:8085 responded ok Simulator HTTPS JWT server 0 on localhost:32101 responded ok Simulator HTTPS JWT server 1 on localhost:32102 responded ok Simulator HTTPS JWT server 2 on localhost:32103 responded ok Simulator HTTPS JWT server 3 on localhost:32104 responded ok Simulator HTTPS JWT server 4 on localhost:32105 responded ok Creating files for SFTP server, may take time.... Running ftp file creations. 1 PNFs and 1 files for each PNF with file size(s) 5MB and file prefixe(s) A in ftp servers with index 0 Creating files for HTTP server, may take time.... Running http file creations. 1 PNFs and 1 files for each PNF with file size(s) 5MB and file prefixe(s) A in http servers with index 0 Done: All simulators started and configured + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Creating dfc_http-https-server3 ... Creating dfc_http-https-server4 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_sftp-server0 ... Creating dfc_sftp-server4 ... Creating dfc_http-https-server1 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_sftp-server1 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_sftp-server3 ... Creating dfc_mr-sim ... Creating dfc_dr-redir-sim ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_sftp-server2 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_http-https-server2 ... Creating dfc_http-https-server0 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_dr-sim ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server2 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_sftp-server0 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_dr-sim ... done Creating dfc_mr-sim ... done Creating dfc_sftp-server3 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_sftp-server1 ... done Creating dfc_http-https-server3 ... done Creating dfc_http-https-server1 ... done Creating dfc_http-https-server0 ... done Creating dfc_http-https-server2 ... done Creating dfc_dr-redir-sim ... done Creating dfc_sftp-server4 ... 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=25fc45684b4f ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=c0e8be7b8893 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=cdf76ea6296f ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=8559dcb4c66f ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=54ec25b51b86 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=b5b07d036eac ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=589431bad0ef ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=94d63f4d86a8 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=e77d5a6a6086 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=0f8785e9117e ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=77bf27cc4e97 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=18a6c247a46e ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=4b6c2a7366d6 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=fd279862d1b5 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=504b7770c01c ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=b7a3d9cd710f ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=7deae08ed0a3 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=f8449c1fe8d6 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 25fc45684b4f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c0e8be7b8893 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' cdf76ea6296f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8559dcb4c66f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 54ec25b51b86 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b5b07d036eac + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 589431bad0ef + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 94d63f4d86a8 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e77d5a6a6086 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 0f8785e9117e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 77bf27cc4e97 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 18a6c247a46e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4b6c2a7366d6 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' fd279862d1b5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 504b7770c01c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b7a3d9cd710f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7deae08ed0a3 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f8449c1fe8d6 + '[' 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 8559dcb4c66f:/tmp/ + docker exec -w //home/onap/ 8559dcb4c66f //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 fd279862d1b5:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs fd279862d1b5 //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 - - [23/Nov/2023 16:48:32] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 16:48:32] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 16:49:26] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 16:50:22] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 16:50:32] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 16:50:42] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 16:50:52] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 16:51:02] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 16:51:12] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 16:51:22] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ Verify single event with single 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_http-https-server2 ... Creating dfc_sftp-server4 ... Creating dfc_sftp-server1 ... Creating dfc_sftp-server2 ... Creating dfc_dr-sim ... Starting dfc_cmpv2-postprocessor ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_http-https-server1 ... Creating dfc_http-https-server0 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_mr-sim ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_http-https-server4 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_dr-redir-sim ... Creating dfc_http-https-server3 ... Creating dfc_sftp-server0 ... Creating dfc_sftp-server3 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_sftp-server1 ... done Creating dfc_sftp-server4 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_sftp-server3 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_dr-redir-sim ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_sftp-server2 ... done Creating dfc_sftp-server0 ... done Creating dfc_http-https-server1 ... done Creating dfc_mr-sim ... done Creating dfc_http-https-server0 ... done Creating dfc_http-https-server2 ... done Creating dfc_dr-sim ... done Creating dfc_http-https-server4 ... 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=6f6fb279ac93 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=870f9395ccb8 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=a5aa7346bce5 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=f14082504d21 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=3f5268a46e4f ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=341be9c3f124 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=c7de5baada4f ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=860aa4d8a777 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=415b373e0b14 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=0a04d76d8e9c ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=ea6f239c2b27 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=a8f407e2349f ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=5ed5d70060d2 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=df057fc2eb7b ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=38fe0c19ee87 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=af87a5e91316 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=8fa520cfdb5a ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=5e8be166c035 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 6f6fb279ac93 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 870f9395ccb8 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a5aa7346bce5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f14082504d21 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 3f5268a46e4f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 341be9c3f124 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c7de5baada4f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 860aa4d8a777 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 415b373e0b14 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 0a04d76d8e9c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ea6f239c2b27 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a8f407e2349f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5ed5d70060d2 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' df057fc2eb7b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 38fe0c19ee87 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' af87a5e91316 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8fa520cfdb5a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5e8be166c035 + '[' 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 f14082504d21:/tmp/ + docker exec -w //home/onap/ f14082504d21 //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 df057fc2eb7b:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs df057fc2eb7b //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 - - [23/Nov/2023 16:51:49] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 16:51:49] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 16:52:42] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 16:53:41] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 16:53:51] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 16:54:01] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 16:54:11] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 16:54:21] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 16:54:31] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 16:54: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 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_dr-redir-sim ... Creating dfc_sftp-server3 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_sftp-server2 ... Creating dfc_mr-sim ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_sftp-server4 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_http-https-server1 ... Creating dfc_http-https-server0 ... Creating dfc_http-https-server4 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_dr-sim ... Creating dfc_http-https-server2 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_http-https-server3 ... Creating dfc_sftp-server0 ... Creating dfc_sftp-server1 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server3 ... done Creating dfc_sftp-server2 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_sftp-server0 ... done Creating dfc_dr-sim ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_sftp-server4 ... done Creating dfc_mr-sim ... done Creating dfc_sftp-server1 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_dr-redir-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=3f15d61878fa ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=6dac33777d08 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=0f8b1c992502 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=758d2f723f0f ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=ba909bb4caa5 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=e96a2273e3ae ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=aaa1de567ab3 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=5947a2553dc9 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=bc2ec74f581a ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=71caabfd225c ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=9e2394ecc1d4 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=583c1c2de8ee ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=c1f8f496a753 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=db871e2bffcc ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=ab3cffbbcb19 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=2edbdc909165 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=7f7296c2764d ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=86e4a3aa980e + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 3f15d61878fa + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6dac33777d08 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 0f8b1c992502 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 758d2f723f0f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ba909bb4caa5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e96a2273e3ae + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' aaa1de567ab3 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5947a2553dc9 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' bc2ec74f581a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 71caabfd225c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9e2394ecc1d4 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 583c1c2de8ee + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c1f8f496a753 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' db871e2bffcc + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ab3cffbbcb19 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2edbdc909165 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7f7296c2764d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 86e4a3aa980e + '[' 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 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 bc2ec74f581a:/tmp/setup-ftp-files-for-image.sh + docker exec -w //srv bc2ec74f581a //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 db871e2bffcc:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs db871e2bffcc //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' + grep dfcnet + docker network ls + docker-compose up -d Pulling dfc (nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest)... manifest for nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest not found: manifest unknown: manifest unknown ++ docker ps -q --filter=name=dfc_app0 + DFC_APP= + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 1 + sleep 1 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 2 + sleep 2 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 3 + sleep 3 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 4 + sleep 4 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 5 + sleep 5 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 6 + sleep 6 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 7 + sleep 7 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 8 + sleep 8 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 9 + sleep 9 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 10 + sleep 10 Configured sftp sims: sftp-server0:22 Configured ftpes sims: ftpes-server-vsftpd0:21 Configured http sims: http-https-server0:80 Configured http JWT sims: http-https-server0:32000 Configured https sims: http-https-server0:443 Configured https with no authorization sims: http-https-server0:8080 Configured https JWT sims: http-https-server0:32100 Configured number of ftp servers: 1 Configured number of http/https/https with no auth/JWT servers: 1 each Groups detected: OpenDcae-c12:PM_MEAS_FILES Configured groups: OpenDcae-c12:PM_MEAS_FILES Configured changeid to file prefix mapping: PM_MEAS_FILES:A TC num: TC# 200 Using sftp-server0:22 for sftp server with index 0 for sftp server address and port in file urls. Using ftpes-server-vsftpd0:21 for ftpes server with index 0 for ftpes server address and port in file urls. Using http-https-server0:80 for http server with index 0 for http server address and port in file urls. Using http-https-server0:32000 for http jwt server with index 0 for http jwt server address and port in file urls. Using http-https-server0:443 for https server with index 0 for https server address and port in file urls. Using http-https-server0:8080 for https server with no authentication with index 0 for https server address and port in file urls. Using http-https-server0:32100 for https jwt server with index 0 for https jwt server address and port in file urls. Using up to 1 ftp servers, for each protocol for PNFs. Using up to 1 http/https/https with no auth/jwt servers, for each protocol for PNFs. * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off Killing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 Removing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 done * Running on http://0.0.0.0:2222/ (Press CTRL+C to quit) * Running on https://0.0.0.0:2223/ (Press CTRL+C to quit) 172.17.0.1 - - [23/Nov/2023 16:55:09] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 16:55:09] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 16:56:03] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 16:56:59] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 16:57:09] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 16:57:19] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 16:57:29] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 16:57:39] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 16:57:49] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 16:57: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 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_http-https-server0 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_sftp-server1 ... Creating dfc_mr-sim ... Starting dfc_cmpv2-postprocessor ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_sftp-server0 ... Creating dfc_http-https-server2 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_sftp-server3 ... Creating dfc_dr-sim ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_sftp-server2 ... Creating dfc_http-https-server1 ... Creating dfc_http-https-server3 ... Creating dfc_http-https-server4 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_dr-redir-sim ... Creating dfc_sftp-server4 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server2 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_sftp-server3 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_sftp-server0 ... done Creating dfc_sftp-server1 ... done Creating dfc_dr-sim ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_mr-sim ... done Creating dfc_sftp-server4 ... done Creating dfc_http-https-server1 ... done Creating dfc_dr-redir-sim ... done Creating dfc_http-https-server2 ... done Creating dfc_http-https-server3 ... done Creating dfc_http-https-server0 ... done Creating dfc_http-https-server4 ... done ++ id -u ++ id -g + sudo chown 1001:1001 dfc_configs + declare -a SFTP_SIM + declare -a FTPES_SIM + declare -a HTTP_SIM ++ docker ps -q --filter=name=dfc_dr-sim + DR_SIM=471748eb7dc2 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=ddac85a486af ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=59cfe95a76e0 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=6644aa499bb5 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=071e62a7a2ae ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=8ec37ddde5d3 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=17d93814846c ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=0776879c5683 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=95e3bd3b4c21 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=44d8ab98b035 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=f19a7b319eec ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=bf74956710c3 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=b27f09226c88 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=2d396374e17a ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=554114e5795f ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=e07bd1e1f529 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=5353ff7c2844 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=756e61f33618 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 471748eb7dc2 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ddac85a486af + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 59cfe95a76e0 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6644aa499bb5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 071e62a7a2ae + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8ec37ddde5d3 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 17d93814846c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 0776879c5683 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 95e3bd3b4c21 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 44d8ab98b035 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f19a7b319eec + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' bf74956710c3 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b27f09226c88 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2d396374e17a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 554114e5795f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e07bd1e1f529 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5353ff7c2844 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 756e61f33618 + '[' 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 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 95e3bd3b4c21:/tmp/setup-ftp-files-for-image.sh + docker exec -w //srv 95e3bd3b4c21 //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 2d396374e17a:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 2d396374e17a //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 - - [23/Nov/2023 16:58:28] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 16:58:29] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 16:59:22] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:00:18] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:00:28] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:00:38] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:00:48] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:00:58] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:01:08] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:01: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 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_ftpes-server-vsftpd1 ... Creating dfc_sftp-server4 ... Creating dfc_mr-sim ... Creating dfc_http-https-server4 ... Creating dfc_dr-sim ... Starting dfc_cmpv2-postprocessor ... Creating dfc_sftp-server1 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_http-https-server0 ... Creating dfc_sftp-server3 ... Creating dfc_http-https-server3 ... Creating dfc_sftp-server0 ... Creating dfc_sftp-server2 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_http-https-server1 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_http-https-server2 ... Creating dfc_dr-redir-sim ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_sftp-server3 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_sftp-server4 ... done Creating dfc_sftp-server0 ... done Creating dfc_sftp-server2 ... done Creating dfc_sftp-server1 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_dr-sim ... done Creating dfc_mr-sim ... done Creating dfc_dr-redir-sim ... done Creating dfc_http-https-server2 ... done Creating dfc_http-https-server0 ... done Creating dfc_http-https-server4 ... done Creating dfc_http-https-server3 ... done Creating dfc_http-https-server1 ... done ++ id -u ++ id -g + sudo chown 1001:1001 dfc_configs + declare -a SFTP_SIM + declare -a FTPES_SIM + declare -a HTTP_SIM ++ docker ps -q --filter=name=dfc_dr-sim + DR_SIM=c5c3a713b908 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=92aaaeb10e07 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=74dee593b581 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=48240eea5193 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=9ececc495488 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=101c8cb79259 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=f97c6c0798d3 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=6a84a62af228 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=ffb2f28bb894 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=4304fd999a78 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=10f33e17aa8c ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=47b0d1aa8d6b ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=9cbf37ab94e8 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=29ea102431f5 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=c56b37263970 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=3292c71ceeb4 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=9fb6d1ec7aa8 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=58898f726540 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' c5c3a713b908 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 92aaaeb10e07 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 74dee593b581 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 48240eea5193 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9ececc495488 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 101c8cb79259 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f97c6c0798d3 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6a84a62af228 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ffb2f28bb894 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4304fd999a78 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 10f33e17aa8c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 47b0d1aa8d6b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9cbf37ab94e8 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 29ea102431f5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c56b37263970 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 3292c71ceeb4 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9fb6d1ec7aa8 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 58898f726540 + '[' 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 ffb2f28bb894:/tmp/setup-ftp-files-for-image.sh + docker exec -w //srv ffb2f28bb894 //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 29ea102431f5:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 29ea102431f5 //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 - - [23/Nov/2023 17:01:47] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:01:48] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:02:41] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:03:37] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:03:47] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:03:57] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:04:07] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:04:17] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:04:27] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:04:37] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ plans/dcaegen2-collectors-datafile/Functional-suite.Functional-Sin... | FAIL | 6 tests, 0 passed, 6 failed ============================================================================== plans/dcaegen2-collectors-datafile/Functional-suite.Functional-Sin... | FAIL | 6 tests, 0 passed, 6 failed ============================================================================== plans/dcaegen2-collectors-datafile/Functional-suite.Functional-Single-File-... ============================================================================== plans/dcaegen2-collectors-datafile/Functional-suite.Functional-Single-File-... ============================================================================== Verify single event with single 1MB HTTP file. From event poll to ... Simulator-start: Creating docker network dfcnet, if needed All simulators Started Simulator DR sim on localhost:3906/ responded ok Simulator DR redir sim on localhost:3908/ responded ok Simulator MR sim on localhost:2222/ responded ok Simulator DR sim https on https://localhost:3907/ responded ok Simulator DR redir sim https on https://localhost:3909/ responded ok Simulator MR sim https on https://localhost:2223/ responded ok Simulator FTPES server 0 on localhost:1032 responded ok Simulator FTPES server 1 on localhost:1033 responded ok Simulator FTPES server 2 on localhost:1034 responded ok Simulator FTPES server 3 on localhost:1035 responded ok Simulator FTPES server 4 on localhost:1036 responded ok Simulator SFTP server 0 on localhost:1022 responded ok Simulator SFTP server 1 on localhost:1023 responded ok Simulator SFTP server 2 on localhost:1024 responded ok Simulator SFTP server 3 on localhost:1025 responded ok Simulator SFTP server 4 on localhost:1026 responded ok Simulator HTTP basic auth server 0 on localhost: 81 responded ok Simulator HTTP basic auth server 1 on localhost: 82 responded ok Simulator HTTP basic auth server 2 on localhost: 83 responded ok Simulator HTTP basic auth server 3 on localhost: 84 responded ok Simulator HTTP basic auth server 4 on localhost: 85 responded ok Simulator HTTP JWT server 0 on localhost:32001 responded ok Simulator HTTP JWT server 1 on localhost:32002 responded ok Simulator HTTP JWT server 2 on localhost:32003 responded ok Simulator HTTP JWT server 3 on localhost:32004 responded ok Simulator HTTP JWT server 4 on localhost:32005 responded ok Simulator HTTPS basic auth server 0 on localhost: 444 responded ok Simulator HTTPS basic auth server 1 on localhost: 445 responded ok Simulator HTTPS basic auth server 2 on localhost: 446 responded ok Simulator HTTPS basic auth server 3 on localhost: 447 responded ok Simulator HTTPS basic auth server 4 on localhost: 448 responded ok Simulator HTTPS client certificate authentication server 0 on localhost:444 - no response Simulator HTTPS client certificate authentication server 1 on localhost:445 - no response Simulator HTTPS client certificate authentication server 2 on localhost:446 - no response Simulator HTTPS client certificate authentication server 3 on localhost:447 - no response Simulator HTTPS client certificate authentication server 4 on localhost:448 - no response Simulator HTTPS no auth server 0 on localhost:8081 responded ok Simulator HTTPS no auth server 1 on localhost:8082 responded ok Simulator HTTPS no auth server 2 on localhost:8083 responded ok Simulator HTTPS no auth server 3 on localhost:8084 responded ok Simulator HTTPS no auth server 4 on localhost:8085 responded ok Simulator HTTPS JWT server 0 on localhost:32101 responded ok Simulator HTTPS JWT server 1 on localhost:32102 responded ok Simulator HTTPS JWT server 2 on localhost:32103 responded ok Simulator HTTPS JWT server 3 on localhost:32104 responded ok Simulator HTTPS JWT server 4 on localhost:32105 responded ok Creating files for SFTP server, may take time.... Running ftp file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in ftp servers with index 0 Creating files for HTTP server, may take time.... Running http file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in http servers with index 0 Done: All simulators started and configured + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Creating dfc_http-https-server1 ... Creating dfc_sftp-server2 ... Creating dfc_sftp-server3 ... Creating dfc_http-https-server0 ... Creating dfc_ftpes-server-vsftpd1 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_dr-sim ... Creating dfc_sftp-server1 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_dr-redir-sim ... Creating dfc_sftp-server0 ... Creating dfc_http-https-server2 ... Creating dfc_http-https-server3 ... Creating dfc_http-https-server4 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_mr-sim ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_sftp-server4 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server2 ... done Creating dfc_sftp-server3 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_mr-sim ... done Creating dfc_sftp-server1 ... done Creating dfc_dr-redir-sim ... done Creating dfc_dr-sim ... done Creating dfc_http-https-server2 ... done Creating dfc_http-https-server4 ... done Creating dfc_sftp-server0 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_http-https-server3 ... done Creating dfc_http-https-server0 ... done Creating dfc_sftp-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=04a78676d207 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=03e5abf09e3f ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=a44e15d1f917 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=f6c1bb4414d1 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=a55c33d3254a ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=4c391f3afc3f ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=29d4f78ef5a7 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=0dc375fa054b ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=469d010048c5 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=024f67275048 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=656c72885a1c ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=d642988bba20 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=61474866a20f ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=1417360763ba ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=4d6c788d4765 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=6875fdce916e ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=6f81cb237322 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=748206ce39ce + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 04a78676d207 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 03e5abf09e3f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a44e15d1f917 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f6c1bb4414d1 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a55c33d3254a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4c391f3afc3f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 29d4f78ef5a7 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 0dc375fa054b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 469d010048c5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 024f67275048 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 656c72885a1c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d642988bba20 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 61474866a20f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1417360763ba + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4d6c788d4765 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6875fdce916e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6f81cb237322 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 748206ce39ce + '[' 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 f6c1bb4414d1:/tmp/ + docker exec -w //home/onap/ f6c1bb4414d1 //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 1417360763ba:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 1417360763ba //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 - - [23/Nov/2023 17:05:09] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:05:09] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:06:02] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:06:58] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:07:08] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:07:18] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:07:28] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:07:38] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:07:48] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:07:58] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ Verify single event with single 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_ftpes-server-vsftpd4 ... Creating dfc_sftp-server1 ... Creating dfc_sftp-server2 ... Creating dfc_sftp-server0 ... Creating dfc_http-https-server2 ... Creating dfc_dr-sim ... Creating dfc_dr-redir-sim ... Starting dfc_cmpv2-postprocessor ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_sftp-server4 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_mr-sim ... Creating dfc_sftp-server3 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_http-https-server4 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_http-https-server1 ... Creating dfc_http-https-server3 ... Creating dfc_http-https-server0 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server2 ... done Creating dfc_sftp-server4 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_sftp-server1 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_dr-sim ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_sftp-server3 ... done Creating dfc_sftp-server0 ... done Creating dfc_dr-redir-sim ... done Creating dfc_http-https-server4 ... done Creating dfc_http-https-server0 ... done Creating dfc_http-https-server2 ... done Creating dfc_http-https-server3 ... done Creating dfc_mr-sim ... 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=ac434858995c ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=2f7c5835a9d8 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=752eb43edd90 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=5bc678518431 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=23d6e44684cf ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=6b66288341f3 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=7a5da32937e7 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=309ef180ec69 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=000c183d8adf ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=2dd443539730 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=9b59cd3aaa09 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=7bf3e2ea76cf ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=43fdda410715 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=7793386af2fc ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=e1e1de6e9678 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=562236e95d68 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=544bbb0257ca ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=f4567da8b9aa + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' ac434858995c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2f7c5835a9d8 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 752eb43edd90 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5bc678518431 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 23d6e44684cf + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6b66288341f3 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7a5da32937e7 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 309ef180ec69 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 000c183d8adf + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2dd443539730 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9b59cd3aaa09 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7bf3e2ea76cf + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 43fdda410715 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7793386af2fc + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e1e1de6e9678 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 562236e95d68 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 544bbb0257ca + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f4567da8b9aa + '[' 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 5bc678518431:/tmp/ + docker exec -w //home/onap/ 5bc678518431 //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 7793386af2fc:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 7793386af2fc //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 - - [23/Nov/2023 17:08:25] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:08:25] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:09:18] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:10:14] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:10:24] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:10:34] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:10:44] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:10:54] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:11:04] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:11:14] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ 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_ftpes-server-vsftpd3 ... Creating dfc_sftp-server3 ... Creating dfc_dr-redir-sim ... Creating dfc_sftp-server0 ... Creating dfc_http-https-server2 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_sftp-server4 ... Creating dfc_dr-sim ... Creating dfc_mr-sim ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_http-https-server4 ... Creating dfc_sftp-server1 ... Creating dfc_sftp-server2 ... Creating dfc_http-https-server1 ... Creating dfc_http-https-server0 ... Creating dfc_http-https-server3 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_ftpes-server-vsftpd2 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_dr-sim ... done Creating dfc_dr-redir-sim ... done Creating dfc_sftp-server3 ... done Creating dfc_sftp-server0 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_sftp-server1 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_mr-sim ... done Creating dfc_sftp-server2 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_sftp-server4 ... done Creating dfc_ftpes-server-vsftpd0 ... 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=df9c0a112cc9 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=9be2ab65338f ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=51269163d71e ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=54d02b6153d3 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=9f3e87dd9f08 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=1ee8fe98be75 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=f3397c97879e ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=c784f19c6939 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=0aa3cbf2c807 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=b1c452f78c06 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=85567111e525 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=037a7e902928 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=277fa42614e7 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=fac84ee73984 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=572d2fdc1b3e ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=9d45b23db648 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=b4ea37176ff9 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=c4a137c9430f + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' df9c0a112cc9 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9be2ab65338f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 51269163d71e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 54d02b6153d3 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9f3e87dd9f08 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1ee8fe98be75 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f3397c97879e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c784f19c6939 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 0aa3cbf2c807 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b1c452f78c06 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 85567111e525 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 037a7e902928 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 277fa42614e7 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' fac84ee73984 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 572d2fdc1b3e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9d45b23db648 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b4ea37176ff9 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c4a137c9430f + '[' 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} ++ grep vsFTPd ++ curl --silent --max-time 3 ftp://localhost:1033 --ftp-ssl -v -k + 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 54d02b6153d3:/tmp/ + docker exec -w //home/onap/ 54d02b6153d3 //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 fac84ee73984:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs fac84ee73984 //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 - - [23/Nov/2023 17:11:42] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:11:42] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:12:35] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:13:31] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:13:41] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:13:51] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:14:01] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:14:11] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:14:21] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:14: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 HTTPS (basic authentication) f... Simulator-start: Creating docker network dfcnet, if needed All simulators Started Simulator DR sim on localhost:3906/ responded ok Simulator DR redir sim on localhost:3908/ responded ok Simulator MR sim on localhost:2222/ responded ok Simulator DR sim https on https://localhost:3907/ responded ok Simulator DR redir sim https on https://localhost:3909/ responded ok Simulator MR sim https on https://localhost:2223/ responded ok Simulator FTPES server 0 on localhost:1032 responded ok Simulator FTPES server 1 on localhost:1033 responded ok Simulator FTPES server 2 on localhost:1034 responded ok Simulator FTPES server 3 on localhost:1035 responded ok Simulator FTPES server 4 on localhost:1036 responded ok Simulator SFTP server 0 on localhost:1022 responded ok Simulator SFTP server 1 on localhost:1023 responded ok Simulator SFTP server 2 on localhost:1024 responded ok Simulator SFTP server 3 on localhost:1025 responded ok Simulator SFTP server 4 on localhost:1026 responded ok Simulator HTTP basic auth server 0 on localhost: 81 responded ok Simulator HTTP basic auth server 1 on localhost: 82 responded ok Simulator HTTP basic auth server 2 on localhost: 83 responded ok Simulator HTTP basic auth server 3 on localhost: 84 responded ok Simulator HTTP basic auth server 4 on localhost: 85 responded ok Simulator HTTP JWT server 0 on localhost:32001 responded ok Simulator HTTP JWT server 1 on localhost:32002 responded ok Simulator HTTP JWT server 2 on localhost:32003 responded ok Simulator HTTP JWT server 3 on localhost:32004 responded ok Simulator HTTP JWT server 4 on localhost:32005 responded ok Simulator HTTPS basic auth server 0 on localhost: 444 responded ok Simulator HTTPS basic auth server 1 on localhost: 445 responded ok Simulator HTTPS basic auth server 2 on localhost: 446 responded ok Simulator HTTPS basic auth server 3 on localhost: 447 responded ok Simulator HTTPS basic auth server 4 on localhost: 448 responded ok Simulator HTTPS client certificate authentication server 0 on localhost:444 - no response Simulator HTTPS client certificate authentication server 1 on localhost:445 - no response Simulator HTTPS client certificate authentication server 2 on localhost:446 - no response Simulator HTTPS client certificate authentication server 3 on localhost:447 - no response Simulator HTTPS client certificate authentication server 4 on localhost:448 - no response Simulator HTTPS no auth server 0 on localhost:8081 responded ok Simulator HTTPS no auth server 1 on localhost:8082 responded ok Simulator HTTPS no auth server 2 on localhost:8083 responded ok Simulator HTTPS no auth server 3 on localhost:8084 responded ok Simulator HTTPS no auth server 4 on localhost:8085 responded ok Simulator HTTPS JWT server 0 on localhost:32101 responded ok Simulator HTTPS JWT server 1 on localhost:32102 responded ok Simulator HTTPS JWT server 2 on localhost:32103 responded ok Simulator HTTPS JWT server 3 on localhost:32104 responded ok Simulator HTTPS JWT server 4 on localhost:32105 responded ok Creating files for SFTP server, may take time.... Running ftp file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in ftp servers with index 0 Creating files for HTTP server, may take time.... Running http file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in http servers with index 0 Done: All simulators started and configured + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_dr-redir-sim ... Creating dfc_http-https-server1 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_sftp-server4 ... Creating dfc_dr-sim ... Creating dfc_sftp-server0 ... Creating dfc_http-https-server3 ... Creating dfc_http-https-server0 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_sftp-server1 ... Creating dfc_mr-sim ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_sftp-server2 ... Creating dfc_sftp-server3 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_http-https-server2 ... Creating dfc_http-https-server4 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_sftp-server0 ... done Creating dfc_sftp-server2 ... done Creating dfc_sftp-server4 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_dr-sim ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_sftp-server1 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_http-https-server1 ... done Creating dfc_dr-redir-sim ... done Creating dfc_sftp-server3 ... done Creating dfc_mr-sim ... done Creating dfc_http-https-server3 ... done Creating dfc_http-https-server4 ... 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=ebffbe5b7d1b ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=6c6c3f785432 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=51fda07a8837 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=a8224227fa50 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=167ebf840ced ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=7101d7a2a3a2 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=fa4dc23d76eb ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=9a181d780786 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=e07dc8fe2ede ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=dd6ea1237070 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=ffdf113383e8 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=5707bee16a56 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=e200fcf6622e ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=510cc93e971c ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=414b8e885e2c ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=5f28b74a6023 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=b9875238df77 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=5ec9450bcd98 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' ebffbe5b7d1b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6c6c3f785432 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 51fda07a8837 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a8224227fa50 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 167ebf840ced + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7101d7a2a3a2 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' fa4dc23d76eb + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9a181d780786 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e07dc8fe2ede + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' dd6ea1237070 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ffdf113383e8 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5707bee16a56 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e200fcf6622e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 510cc93e971c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 414b8e885e2c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5f28b74a6023 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b9875238df77 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5ec9450bcd98 + '[' 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 a8224227fa50:/tmp/ + docker exec -w //home/onap/ a8224227fa50 //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 510cc93e971c:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 510cc93e971c //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 - - [23/Nov/2023 17:15:03] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:15:03] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:15:56] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:16:55] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:17:05] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:17:15] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:17:25] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:17:35] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:17:45] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:17: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 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_http-https-server1 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_http-https-server0 ... Creating dfc_http-https-server3 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_sftp-server3 ... Creating dfc_sftp-server4 ... Creating dfc_http-https-server4 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_dr-redir-sim ... Creating dfc_sftp-server0 ... Creating dfc_dr-sim ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_mr-sim ... Creating dfc_sftp-server2 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_http-https-server2 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_sftp-server1 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_sftp-server4 ... done Creating dfc_sftp-server3 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_sftp-server1 ... done Creating dfc_sftp-server2 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_sftp-server0 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_http-https-server3 ... done Creating dfc_mr-sim ... done Creating dfc_dr-sim ... 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 ++ 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=31b2aa4d882b ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=3978727dbad6 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=3ea11b6a5bbb ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=36be552a2eda ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=29a74764cf41 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=9626cbd643c3 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=a793b58e0e0b ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=35f1cc3a85ec ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=fee7f3ff97ac ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=342bb4188832 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=ea7236b61498 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=578c57845116 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=86acaa8efb2c ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=b12318588bad ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=4afaf5bf12f8 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=d1e92df16f4a ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=ae15096f96e9 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=01b35e3b6108 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 31b2aa4d882b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 3978727dbad6 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 3ea11b6a5bbb + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 36be552a2eda + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 29a74764cf41 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9626cbd643c3 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a793b58e0e0b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 35f1cc3a85ec + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' fee7f3ff97ac + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 342bb4188832 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ea7236b61498 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 578c57845116 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 86acaa8efb2c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b12318588bad + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4afaf5bf12f8 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d1e92df16f4a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ae15096f96e9 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 01b35e3b6108 + '[' 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 36be552a2eda:/tmp/ + docker exec -w //home/onap/ 36be552a2eda //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 b12318588bad:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs b12318588bad //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 - - [23/Nov/2023 17:18:24] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:18:24] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:19:17] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:20:13] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:20:23] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:20:33] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:20:43] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:20:53] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:21:03] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:21:13] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: oom-certservice-post-processor Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ Verify single event with single 50MB HTTPS (basic authentication) ... Simulator-start: Creating docker network dfcnet, if needed All simulators Started Simulator DR sim on localhost:3906/ responded ok Simulator DR redir sim on localhost:3908/ responded ok Simulator MR sim on localhost:2222/ responded ok Simulator DR sim https on https://localhost:3907/ responded ok Simulator DR redir sim https on https://localhost:3909/ responded ok Simulator MR sim https on https://localhost:2223/ responded ok Simulator FTPES server 0 on localhost:1032 responded ok Simulator FTPES server 1 on localhost:1033 responded ok Simulator FTPES server 2 on localhost:1034 responded ok Simulator FTPES server 3 on localhost:1035 responded ok Simulator FTPES server 4 on localhost:1036 responded ok Simulator SFTP server 0 on localhost:1022 responded ok Simulator SFTP server 1 on localhost:1023 responded ok Simulator SFTP server 2 on localhost:1024 responded ok Simulator SFTP server 3 on localhost:1025 responded ok Simulator SFTP server 4 on localhost:1026 responded ok Simulator HTTP basic auth server 0 on localhost: 81 responded ok Simulator HTTP basic auth server 1 on localhost: 82 responded ok Simulator HTTP basic auth server 2 on localhost: 83 responded ok Simulator HTTP basic auth server 3 on localhost: 84 responded ok Simulator HTTP basic auth server 4 on localhost: 85 responded ok Simulator HTTP JWT server 0 on localhost:32001 responded ok Simulator HTTP JWT server 1 on localhost:32002 responded ok Simulator HTTP JWT server 2 on localhost:32003 responded ok Simulator HTTP JWT server 3 on localhost:32004 responded ok Simulator HTTP JWT server 4 on localhost:32005 responded ok Simulator HTTPS basic auth server 0 on localhost: 444 responded ok Simulator HTTPS basic auth server 1 on localhost: 445 responded ok Simulator HTTPS basic auth server 2 on localhost: 446 responded ok Simulator HTTPS basic auth server 3 on localhost: 447 responded ok Simulator HTTPS basic auth server 4 on localhost: 448 responded ok Simulator HTTPS client certificate authentication server 0 on localhost:444 - no response Simulator HTTPS client certificate authentication server 1 on localhost:445 - no response Simulator HTTPS client certificate authentication server 2 on localhost:446 - no response Simulator HTTPS client certificate authentication server 3 on localhost:447 - no response Simulator HTTPS client certificate authentication server 4 on localhost:448 - no response Simulator HTTPS no auth server 0 on localhost:8081 responded ok Simulator HTTPS no auth server 1 on localhost:8082 responded ok Simulator HTTPS no auth server 2 on localhost:8083 responded ok Simulator HTTPS no auth server 3 on localhost:8084 responded ok Simulator HTTPS no auth server 4 on localhost:8085 responded ok Simulator HTTPS JWT server 0 on localhost:32101 responded ok Simulator HTTPS JWT server 1 on localhost:32102 responded ok Simulator HTTPS JWT server 2 on localhost:32103 responded ok Simulator HTTPS JWT server 3 on localhost:32104 responded ok Simulator HTTPS JWT server 4 on localhost:32105 responded ok Creating files for SFTP server, may take time.... Running ftp file creations. 1 PNFs and 1 files for each PNF with file size(s) 50MB and file prefixe(s) A in ftp servers with index 0 Creating files for HTTP server, may take time.... Running http file creations. 1 PNFs and 1 files for each PNF with file size(s) 50MB and file prefixe(s) A in http servers with index 0 Done: All simulators started and configured + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Creating dfc_http-https-server3 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_http-https-server0 ... Creating dfc_dr-sim ... Creating dfc_sftp-server0 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_mr-sim ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_http-https-server2 ... Creating dfc_http-https-server4 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_dr-redir-sim ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_sftp-server4 ... Creating dfc_http-https-server1 ... Creating dfc_sftp-server2 ... Creating dfc_sftp-server3 ... Creating dfc_sftp-server1 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server3 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_sftp-server0 ... done Creating dfc_mr-sim ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_dr-sim ... done Creating dfc_sftp-server1 ... done Creating dfc_sftp-server4 ... done Creating dfc_sftp-server2 ... done Creating dfc_dr-redir-sim ... done Creating dfc_http-https-server1 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_http-https-server2 ... 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=bb4ec5daa9ec ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=da5fab648ce0 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=8243d3e45bb9 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=1bbac9953b55 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=d782ee7a639d ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=cf456b7ba012 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=f79ffd19b68a ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=f7ec7ccd55d0 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=1b9d15e5a806 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=c7054ead4d77 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=134571a06227 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=5a3218a2565a ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=7ac960bb4161 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=68724042df4d ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=b30dcb93892e ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=aeb1eeb3d270 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=4c571030374a ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=95e97b89b965 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' bb4ec5daa9ec + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' da5fab648ce0 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8243d3e45bb9 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1bbac9953b55 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d782ee7a639d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' cf456b7ba012 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f79ffd19b68a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f7ec7ccd55d0 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1b9d15e5a806 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c7054ead4d77 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 134571a06227 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5a3218a2565a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7ac960bb4161 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 68724042df4d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b30dcb93892e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' aeb1eeb3d270 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4c571030374a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 95e97b89b965 + '[' 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 1bbac9953b55:/tmp/ + docker exec -w //home/onap/ 1bbac9953b55 //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 68724042df4d:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 68724042df4d //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 - - [23/Nov/2023 17:21:43] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:21:43] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:22:36] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:23:32] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:23:42] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:23:52] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:24:02] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:24:12] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:24:22] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:24:32] "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_http-https-server4 ... Creating dfc_http-https-server3 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_sftp-server0 ... Creating dfc_dr-sim ... Creating dfc_http-https-server1 ... Creating dfc_sftp-server2 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_sftp-server4 ... Creating dfc_http-https-server0 ... Creating dfc_sftp-server3 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_http-https-server2 ... Creating dfc_dr-redir-sim ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_sftp-server1 ... Creating dfc_mr-sim ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_http-https-server0 ... done Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server1 ... done Creating dfc_sftp-server0 ... done Creating dfc_dr-sim ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_sftp-server3 ... done Creating dfc_http-https-server4 ... done Creating dfc_sftp-server4 ... done Creating dfc_http-https-server2 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_http-https-server1 ... done Creating dfc_mr-sim ... done Creating dfc_sftp-server2 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_dr-redir-sim ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_http-https-server3 ... done ++ id -u ++ id -g + sudo chown 1001:1001 dfc_configs + declare -a SFTP_SIM + declare -a FTPES_SIM + declare -a HTTP_SIM ++ docker ps -q --filter=name=dfc_dr-sim + DR_SIM=5820a8796c8e ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=21080749f93d ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=3f179d46d00c ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=5dbe4f803021 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=64ab8783c6d1 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=1af3c4d3466f ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=e60af5b002e8 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=3751ca481902 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=309f3fc176a9 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=a04b22f46eb5 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=b76648c41b0c ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=6763eb3efc10 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=a0b14e7fa828 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=fc7dedb5a886 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=a6b891264207 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=30c22f9238cc ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=7ed488a6b456 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=f04d71fe3c15 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 5820a8796c8e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 21080749f93d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 3f179d46d00c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5dbe4f803021 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 64ab8783c6d1 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1af3c4d3466f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e60af5b002e8 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 3751ca481902 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 309f3fc176a9 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a04b22f46eb5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b76648c41b0c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6763eb3efc10 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a0b14e7fa828 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' fc7dedb5a886 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a6b891264207 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 30c22f9238cc + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7ed488a6b456 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f04d71fe3c15 + '[' 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 5dbe4f803021:/tmp/ + docker exec -w //home/onap/ 5dbe4f803021 //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 fc7dedb5a886:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs fc7dedb5a886 //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 - - [23/Nov/2023 17:25:03] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:25:03] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:25:56] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:26:52] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:27:02] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:27:12] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:27:22] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:27:33] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:27:43] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:27:53] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ Verify single event with SFTP file, when host unknown and strict h... Simulator-start: Creating docker network dfcnet, if needed All simulators Started Simulator DR sim on localhost:3906/ responded ok Simulator DR redir sim on localhost:3908/ responded ok Simulator MR sim on localhost:2222/ responded ok Simulator DR sim https on https://localhost:3907/ responded ok Simulator DR redir sim https on https://localhost:3909/ responded ok Simulator MR sim https on https://localhost:2223/ responded ok Simulator FTPES server 0 on localhost:1032 responded ok Simulator FTPES server 1 on localhost:1033 responded ok Simulator FTPES server 2 on localhost:1034 responded ok Simulator FTPES server 3 on localhost:1035 responded ok Simulator FTPES server 4 on localhost:1036 responded ok Simulator SFTP server 0 on localhost:1022 responded ok Simulator SFTP server 1 on localhost:1023 responded ok Simulator SFTP server 2 on localhost:1024 responded ok Simulator SFTP server 3 on localhost:1025 responded ok Simulator SFTP server 4 on localhost:1026 responded ok Simulator HTTP basic auth server 0 on localhost: 81 responded ok Simulator HTTP basic auth server 1 on localhost: 82 responded ok Simulator HTTP basic auth server 2 on localhost: 83 responded ok Simulator HTTP basic auth server 3 on localhost: 84 responded ok Simulator HTTP basic auth server 4 on localhost: 85 responded ok Simulator HTTP JWT server 0 on localhost:32001 responded ok Simulator HTTP JWT server 1 on localhost:32002 responded ok Simulator HTTP JWT server 2 on localhost:32003 responded ok Simulator HTTP JWT server 3 on localhost:32004 responded ok Simulator HTTP JWT server 4 on localhost:32005 responded ok Simulator HTTPS basic auth server 0 on localhost: 444 responded ok Simulator HTTPS basic auth server 1 on localhost: 445 responded ok Simulator HTTPS basic auth server 2 on localhost: 446 responded ok Simulator HTTPS basic auth server 3 on localhost: 447 responded ok Simulator HTTPS basic auth server 4 on localhost: 448 responded ok Simulator HTTPS client certificate authentication server 0 on localhost:444 - no response Simulator HTTPS client certificate authentication server 1 on localhost:445 - no response Simulator HTTPS client certificate authentication server 2 on localhost:446 - no response Simulator HTTPS client certificate authentication server 3 on localhost:447 - no response Simulator HTTPS client certificate authentication server 4 on localhost:448 - no response Simulator HTTPS no auth server 0 on localhost:8081 responded ok Simulator HTTPS no auth server 1 on localhost:8082 responded ok Simulator HTTPS no auth server 2 on localhost:8083 responded ok Simulator HTTPS no auth server 3 on localhost:8084 responded ok Simulator HTTPS no auth server 4 on localhost:8085 responded ok Simulator HTTPS JWT server 0 on localhost:32101 responded ok Simulator HTTPS JWT server 1 on localhost:32102 responded ok Simulator HTTPS JWT server 2 on localhost:32103 responded ok Simulator HTTPS JWT server 3 on localhost:32104 responded ok Simulator HTTPS JWT server 4 on localhost:32105 responded ok Creating files for SFTP server, may take time.... Running ftp file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in ftp servers with index 0 Creating files for HTTP server, may take time.... Running http file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in http servers with index 0 Done: All simulators started and configured + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Creating dfc_sftp-server1 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_sftp-server0 ... Creating dfc_http-https-server3 ... Creating dfc_http-https-server1 ... Creating dfc_dr-redir-sim ... Creating dfc_sftp-server3 ... Creating dfc_http-https-server4 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_http-https-server0 ... Creating dfc_http-https-server2 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_sftp-server2 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_dr-sim ... Creating dfc_sftp-server4 ... Creating dfc_mr-sim ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server0 ... done Creating dfc_dr-sim ... done Creating dfc_sftp-server4 ... done Creating dfc_sftp-server2 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_mr-sim ... done Creating dfc_dr-redir-sim ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_sftp-server1 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_http-https-server3 ... done Creating dfc_http-https-server0 ... done Creating dfc_sftp-server3 ... done Creating dfc_http-https-server1 ... done Creating dfc_http-https-server2 ... done Creating dfc_http-https-server4 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_ftpes-server-vsftpd3 ... 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=5931bbb4d24c ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=4fda456d4605 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=acc609e99469 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=537816ae3445 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=55e71c046f2f ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=c627b326fb81 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=41ab3f1467cd ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=a91152463c29 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=af2f81b973ec ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=f9111a8390f4 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=602cf6e81294 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=63b55878c5a4 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=ecdfa9dbcde4 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=8a1541a6cbca ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=e1ef954ea152 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=768e9788ad46 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=ce6b2012ce9e ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=f4db5261e98e + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 5931bbb4d24c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4fda456d4605 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' acc609e99469 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 537816ae3445 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 55e71c046f2f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c627b326fb81 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 41ab3f1467cd + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a91152463c29 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' af2f81b973ec + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f9111a8390f4 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 602cf6e81294 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 63b55878c5a4 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ecdfa9dbcde4 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8a1541a6cbca + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e1ef954ea152 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 768e9788ad46 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ce6b2012ce9e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f4db5261e98e + '[' 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 537816ae3445:/tmp/ + docker exec -w //home/onap/ 537816ae3445 //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 8a1541a6cbca:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 8a1541a6cbca //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 - - [23/Nov/2023 17:28:22] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:28:22] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:29:15] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:30:12] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:30:22] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:30:32] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:30:42] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:30:52] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:31:02] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:31:12] "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' + grep dfcnet + docker network ls + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Creating dfc_ftpes-server-vsftpd0 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_sftp-server0 ... Creating dfc_dr-sim ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_sftp-server1 ... Creating dfc_dr-redir-sim ... Creating dfc_http-https-server3 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_sftp-server2 ... Creating dfc_mr-sim ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_sftp-server4 ... Creating dfc_http-https-server4 ... Creating dfc_http-https-server2 ... Creating dfc_http-https-server0 ... Creating dfc_sftp-server3 ... Creating dfc_http-https-server1 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_mr-sim ... done Creating dfc_http-https-server3 ... done Creating dfc_sftp-server0 ... done Creating dfc_sftp-server2 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_sftp-server1 ... done Creating dfc_dr-redir-sim ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_sftp-server4 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_sftp-server3 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_http-https-server2 ... done Creating dfc_dr-sim ... done Creating dfc_http-https-server1 ... done Creating dfc_http-https-server0 ... done Creating dfc_http-https-server4 ... done ++ id -u ++ id -g + sudo chown 1001:1001 dfc_configs + declare -a SFTP_SIM + declare -a FTPES_SIM + declare -a HTTP_SIM ++ docker ps -q --filter=name=dfc_dr-sim + DR_SIM=369e0f825e95 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=a4bbfed2aa32 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=99cf6552e542 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=571656b6026e ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=51ad53380a71 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=255e0bdd645c ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=b2ec8d94115c ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=aa3ff71b8eef ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=efcc6ad487a1 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=358a8dbfcdf7 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=c2a39f29910c ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=4db3e85383ae ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=ffc688c7ce4e ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=6d3fb8a23213 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=2761da21d94c ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=43e7791add04 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=6e6154ea6ac5 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=c9f07e1cd96c + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 369e0f825e95 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a4bbfed2aa32 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 99cf6552e542 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 571656b6026e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 51ad53380a71 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 255e0bdd645c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b2ec8d94115c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' aa3ff71b8eef + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' efcc6ad487a1 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 358a8dbfcdf7 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c2a39f29910c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4db3e85383ae + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ffc688c7ce4e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6d3fb8a23213 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2761da21d94c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 43e7791add04 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6e6154ea6ac5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c9f07e1cd96c + '[' 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 571656b6026e:/tmp/ + docker exec -w //home/onap/ 571656b6026e //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 6d3fb8a23213:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 6d3fb8a23213 //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 - - [23/Nov/2023 17:31:38] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:31:38] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:32:31] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:33:27] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:33:37] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:33:47] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:33:57] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:34:07] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:34:17] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:34:27] "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_ftpes-server-vsftpd2 ... Creating dfc_http-https-server2 ... Creating dfc_http-https-server4 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_sftp-server3 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_dr-sim ... Creating dfc_sftp-server0 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_mr-sim ... Creating dfc_dr-redir-sim ... Creating dfc_http-https-server3 ... Creating dfc_sftp-server1 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_sftp-server4 ... Creating dfc_http-https-server0 ... Creating dfc_sftp-server2 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_sftp-server1 ... done Creating dfc_sftp-server3 ... done Creating dfc_sftp-server2 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_sftp-server4 ... done Creating dfc_dr-sim ... done Creating dfc_dr-redir-sim ... done Creating dfc_sftp-server0 ... done Creating dfc_http-https-server4 ... done Creating dfc_http-https-server2 ... done Creating dfc_mr-sim ... done Creating dfc_http-https-server0 ... done Creating dfc_http-https-server3 ... done Creating dfc_http-https-server1 ... done Creating dfc_ftpes-server-vsftpd1 ... done ++ id -u ++ id -g + sudo chown 1001:1001 dfc_configs + declare -a SFTP_SIM + declare -a FTPES_SIM + declare -a HTTP_SIM ++ docker ps -q --filter=name=dfc_dr-sim + DR_SIM=dc29fcd8e8b2 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=cb7e67a1007e ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=ebe68802dbe1 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=5fdaee92e6b1 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=025ae5549d1e ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=d0dec26d29c1 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=be6d821a0769 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=31870f323d08 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=dd944ffe41c2 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=073d05badfe0 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=04717b589096 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=df82ca8a9aea ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=c1b8f3f290d8 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=56fb6e829dfc ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=577c2c3623db ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=7dff117393b6 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=5eb34035f91f ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=64beaa94c509 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' dc29fcd8e8b2 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' cb7e67a1007e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ebe68802dbe1 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5fdaee92e6b1 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 025ae5549d1e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d0dec26d29c1 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' be6d821a0769 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 31870f323d08 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' dd944ffe41c2 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 073d05badfe0 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 04717b589096 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' df82ca8a9aea + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c1b8f3f290d8 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 56fb6e829dfc + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 577c2c3623db + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7dff117393b6 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5eb34035f91f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 64beaa94c509 + '[' 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 5fdaee92e6b1:/tmp/ + docker exec -w //home/onap/ 5fdaee92e6b1 //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 56fb6e829dfc:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 56fb6e829dfc //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 - - [23/Nov/2023 17:34:55] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:34:55] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:35:48] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:36:44] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:36:54] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:37:04] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:37:14] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:37:24] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:37:34] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:37:44] "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-server3 ... Creating dfc_http-https-server0 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_http-https-server4 ... Creating dfc_http-https-server1 ... Creating dfc_sftp-server0 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_dr-sim ... Creating dfc_dr-redir-sim ... Creating dfc_sftp-server2 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_mr-sim ... Creating dfc_sftp-server1 ... Creating dfc_sftp-server3 ... Creating dfc_http-https-server2 ... Creating dfc_sftp-server4 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_ftpes-server-vsftpd3 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server0 ... done Creating dfc_mr-sim ... done Creating dfc_sftp-server1 ... done Creating dfc_sftp-server3 ... done Creating dfc_http-https-server1 ... done Creating dfc_http-https-server4 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_dr-sim ... done Creating dfc_http-https-server3 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_http-https-server0 ... done Creating dfc_sftp-server4 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_sftp-server2 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_dr-redir-sim ... 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=9ef254148281 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=23b6dea1df22 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=dcb8ff9627a8 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=cc00e31227a5 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=c3574caf3c77 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=8f29b9fcb2a7 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=e930071c6939 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=cd7a2db3a884 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=cb347e5e3a58 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=7c9c6ef145fc ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=5f86154e2784 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=2ff174e5eabc ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=ebe9b06ca466 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=b4226c797c91 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=44fc2be42680 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=640baa084cdc ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=56fbf1cd2eea ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=cc0e2b7caf5c + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 9ef254148281 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 23b6dea1df22 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' dcb8ff9627a8 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' cc00e31227a5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c3574caf3c77 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8f29b9fcb2a7 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e930071c6939 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' cd7a2db3a884 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' cb347e5e3a58 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7c9c6ef145fc + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5f86154e2784 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2ff174e5eabc + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ebe9b06ca466 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b4226c797c91 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 44fc2be42680 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 640baa084cdc + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 56fbf1cd2eea + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' cc0e2b7caf5c + '[' 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 cc00e31227a5:/tmp/ + docker exec -w //home/onap/ cc00e31227a5 //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 b4226c797c91:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs b4226c797c91 //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 - - [23/Nov/2023 17:38:09] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:38:09] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:39:02] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:39:58] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:40:08] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:40:18] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:40:28] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:40:39] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:40:49] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:40:59] "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-vsftpd0 ... Creating dfc_http-https-server3 ... Creating dfc_dr-sim ... Starting dfc_cmpv2-postprocessor ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_dr-redir-sim ... Creating dfc_sftp-server4 ... Creating dfc_sftp-server0 ... Creating dfc_mr-sim ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_http-https-server4 ... Creating dfc_sftp-server1 ... Creating dfc_sftp-server3 ... Creating dfc_sftp-server2 ... Creating dfc_http-https-server2 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_http-https-server1 ... Creating dfc_http-https-server0 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_sftp-server3 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_sftp-server4 ... done Creating dfc_dr-sim ... done Creating dfc_sftp-server2 ... done Creating dfc_sftp-server0 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_sftp-server1 ... done Creating dfc_dr-redir-sim ... done Creating dfc_http-https-server3 ... done Creating dfc_mr-sim ... done Creating dfc_http-https-server4 ... done Creating dfc_http-https-server2 ... done Creating dfc_http-https-server0 ... done Creating dfc_http-https-server1 ... done ++ 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=e569835fbece ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=e2414e88fa39 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=4786d17a4119 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=67b746167539 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=6c905bf86956 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=f1c796a1caa8 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=bd2ca73bfdfd ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=df8af6ce5575 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=1a414418ab80 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=a84cb9c72dea ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=66d89a16bcff ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=36d21f28e9b1 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=1498c2007582 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=c15e8fe21a21 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=2f769d4022f5 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=4a69b997af64 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=94fab5545ef3 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=b88a894faaf8 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' e569835fbece + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e2414e88fa39 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4786d17a4119 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 67b746167539 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6c905bf86956 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f1c796a1caa8 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' bd2ca73bfdfd + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' df8af6ce5575 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1a414418ab80 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a84cb9c72dea + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 66d89a16bcff + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 36d21f28e9b1 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1498c2007582 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c15e8fe21a21 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2f769d4022f5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4a69b997af64 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 94fab5545ef3 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b88a894faaf8 + '[' 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 67b746167539:/tmp/ + docker exec -w //home/onap/ 67b746167539 //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 c15e8fe21a21:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs c15e8fe21a21 //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 - - [23/Nov/2023 17:41:30] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:41:30] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:42:23] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:43:19] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:43:29] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:43:39] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:43:49] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:43:59] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:44:09] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:44:19] "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_sftp-server1 ... Creating dfc_dr-sim ... Creating dfc_mr-sim ... Creating dfc_sftp-server2 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_http-https-server0 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_sftp-server0 ... Creating dfc_sftp-server3 ... Creating dfc_sftp-server4 ... Creating dfc_http-https-server3 ... Creating dfc_dr-redir-sim ... Creating dfc_http-https-server1 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_http-https-server2 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_http-https-server4 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server0 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_sftp-server4 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_sftp-server3 ... done Creating dfc_sftp-server1 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_sftp-server2 ... done Creating dfc_http-https-server0 ... done Creating dfc_dr-sim ... done Creating dfc_mr-sim ... done Creating dfc_http-https-server2 ... done Creating dfc_dr-redir-sim ... done Creating dfc_http-https-server4 ... done Creating dfc_http-https-server3 ... done Creating dfc_http-https-server1 ... done ++ id -u ++ id -g + sudo chown 1001:1001 dfc_configs + declare -a SFTP_SIM + declare -a FTPES_SIM + declare -a HTTP_SIM ++ docker ps -q --filter=name=dfc_dr-sim + DR_SIM=cf90fa69cec5 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=751777643c81 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=094daedf6b31 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=216ee3957e72 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=dd1375bf2574 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=ef56baf254aa ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=db740ae5359e ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=49d6c5ed9bc5 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=de6833fb4f38 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=6413e35dd958 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=fa8f13e1770d ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=5f335ee72163 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=5ec252703838 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=e98468b15339 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=50f4341777a9 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=5e77e89cd6a6 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=240fbe2258b5 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=976603f04a2d + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' cf90fa69cec5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 751777643c81 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 094daedf6b31 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 216ee3957e72 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' dd1375bf2574 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ef56baf254aa + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' db740ae5359e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 49d6c5ed9bc5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' de6833fb4f38 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6413e35dd958 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' fa8f13e1770d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5f335ee72163 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5ec252703838 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e98468b15339 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 50f4341777a9 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5e77e89cd6a6 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 240fbe2258b5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 976603f04a2d + '[' 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 216ee3957e72:/tmp/ + docker exec -w //home/onap/ 216ee3957e72 //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 e98468b15339:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs e98468b15339 //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 - - [23/Nov/2023 17:44:47] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:44:47] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:45:41] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:46:37] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:46:47] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:46:57] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:47:07] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:47:17] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:47:27] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:47:37] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: oom-certservice-post-processor Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ Verify single event with single 1MB file with HTTP JWT. From event... Simulator-start: Creating docker network dfcnet, if needed All simulators Started Simulator DR sim on localhost:3906/ responded ok Simulator DR redir sim on localhost:3908/ responded ok Simulator MR sim on localhost:2222/ responded ok Simulator DR sim https on https://localhost:3907/ responded ok Simulator DR redir sim https on https://localhost:3909/ responded ok Simulator MR sim https on https://localhost:2223/ responded ok Simulator FTPES server 0 on localhost:1032 responded ok Simulator FTPES server 1 on localhost:1033 responded ok Simulator FTPES server 2 on localhost:1034 responded ok Simulator FTPES server 3 on localhost:1035 responded ok Simulator FTPES server 4 on localhost:1036 responded ok Simulator SFTP server 0 on localhost:1022 responded ok Simulator SFTP server 1 on localhost:1023 responded ok Simulator SFTP server 2 on localhost:1024 responded ok Simulator SFTP server 3 on localhost:1025 responded ok Simulator SFTP server 4 on localhost:1026 responded ok Simulator HTTP basic auth server 0 on localhost: 81 responded ok Simulator HTTP basic auth server 1 on localhost: 82 responded ok Simulator HTTP basic auth server 2 on localhost: 83 responded ok Simulator HTTP basic auth server 3 on localhost: 84 responded ok Simulator HTTP basic auth server 4 on localhost: 85 responded ok Simulator HTTP JWT server 0 on localhost:32001 responded ok Simulator HTTP JWT server 1 on localhost:32002 responded ok Simulator HTTP JWT server 2 on localhost:32003 responded ok Simulator HTTP JWT server 3 on localhost:32004 responded ok Simulator HTTP JWT server 4 on localhost:32005 responded ok Simulator HTTPS basic auth server 0 on localhost: 444 responded ok Simulator HTTPS basic auth server 1 on localhost: 445 responded ok Simulator HTTPS basic auth server 2 on localhost: 446 responded ok Simulator HTTPS basic auth server 3 on localhost: 447 responded ok Simulator HTTPS basic auth server 4 on localhost: 448 responded ok Simulator HTTPS client certificate authentication server 0 on localhost:444 - no response Simulator HTTPS client certificate authentication server 1 on localhost:445 - no response Simulator HTTPS client certificate authentication server 2 on localhost:446 - no response Simulator HTTPS client certificate authentication server 3 on localhost:447 - no response Simulator HTTPS client certificate authentication server 4 on localhost:448 - no response Simulator HTTPS no auth server 0 on localhost:8081 responded ok Simulator HTTPS no auth server 1 on localhost:8082 responded ok Simulator HTTPS no auth server 2 on localhost:8083 responded ok Simulator HTTPS no auth server 3 on localhost:8084 responded ok Simulator HTTPS no auth server 4 on localhost:8085 responded ok Simulator HTTPS JWT server 0 on localhost:32101 responded ok Simulator HTTPS JWT server 1 on localhost:32102 responded ok Simulator HTTPS JWT server 2 on localhost:32103 responded ok Simulator HTTPS JWT server 3 on localhost:32104 responded ok Simulator HTTPS JWT server 4 on localhost:32105 responded ok Creating files for SFTP server, may take time.... Running ftp file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in ftp servers with index 0 Creating files for HTTP server, may take time.... Running http file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in http servers with index 0 Done: All simulators started and configured + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Creating dfc_sftp-server4 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_sftp-server0 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_http-https-server0 ... Creating dfc_dr-redir-sim ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_http-https-server3 ... Creating dfc_http-https-server1 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_http-https-server2 ... Creating dfc_sftp-server1 ... Creating dfc_sftp-server3 ... Creating dfc_http-https-server4 ... Creating dfc_dr-sim ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_mr-sim ... Creating dfc_sftp-server2 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server4 ... done Creating dfc_sftp-server0 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_sftp-server2 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_dr-redir-sim ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_sftp-server1 ... done Creating dfc_sftp-server3 ... done Creating dfc_http-https-server2 ... done Creating dfc_dr-sim ... 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=2dfd3a6c726d ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=1056acdbb308 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=a47f4872ca38 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=290b91082b23 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=4391d1551789 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=425a802f5bbc ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=ef8e50788552 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=eb2c274ed165 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=193cdeb6b207 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=464dcee93f21 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=6c38c1f4235c ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=18ffe179127a ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=bffce5ffaaf5 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=6117fcafd614 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=044d30fcb0fd ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=6f7d9f9f909e ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=30da4c5e7950 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=4bf98d5d578b + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 2dfd3a6c726d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1056acdbb308 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a47f4872ca38 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 290b91082b23 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4391d1551789 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 425a802f5bbc + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ef8e50788552 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' eb2c274ed165 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 193cdeb6b207 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 464dcee93f21 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6c38c1f4235c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 18ffe179127a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' bffce5ffaaf5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6117fcafd614 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 044d30fcb0fd + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6f7d9f9f909e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 30da4c5e7950 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4bf98d5d578b + '[' 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} ++ 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 290b91082b23:/tmp/ + docker exec -w //home/onap/ 290b91082b23 //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 6117fcafd614:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 6117fcafd614 //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 - - [23/Nov/2023 17:48:10] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:48:10] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:49:04] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:50:00] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:50:10] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:50:20] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:50:30] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:50:40] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:50:50] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:51: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 1MB file with HTTPS JWT. From even... Simulator-start: Creating docker network dfcnet, if needed All simulators Started Simulator DR sim on localhost:3906/ responded ok Simulator DR redir sim on localhost:3908/ responded ok Simulator MR sim on localhost:2222/ responded ok Simulator DR sim https on https://localhost:3907/ responded ok Simulator DR redir sim https on https://localhost:3909/ responded ok Simulator MR sim https on https://localhost:2223/ responded ok Simulator FTPES server 0 on localhost:1032 responded ok Simulator FTPES server 1 on localhost:1033 responded ok Simulator FTPES server 2 on localhost:1034 responded ok Simulator FTPES server 3 on localhost:1035 responded ok Simulator FTPES server 4 on localhost:1036 responded ok Simulator SFTP server 0 on localhost:1022 responded ok Simulator SFTP server 1 on localhost:1023 responded ok Simulator SFTP server 2 on localhost:1024 responded ok Simulator SFTP server 3 on localhost:1025 responded ok Simulator SFTP server 4 on localhost:1026 responded ok Simulator HTTP basic auth server 0 on localhost: 81 responded ok Simulator HTTP basic auth server 1 on localhost: 82 responded ok Simulator HTTP basic auth server 2 on localhost: 83 responded ok Simulator HTTP basic auth server 3 on localhost: 84 responded ok Simulator HTTP basic auth server 4 on localhost: 85 responded ok Simulator HTTP JWT server 0 on localhost:32001 responded ok Simulator HTTP JWT server 1 on localhost:32002 responded ok Simulator HTTP JWT server 2 on localhost:32003 responded ok Simulator HTTP JWT server 3 on localhost:32004 responded ok Simulator HTTP JWT server 4 on localhost:32005 responded ok Simulator HTTPS basic auth server 0 on localhost: 444 responded ok Simulator HTTPS basic auth server 1 on localhost: 445 responded ok Simulator HTTPS basic auth server 2 on localhost: 446 responded ok Simulator HTTPS basic auth server 3 on localhost: 447 responded ok Simulator HTTPS basic auth server 4 on localhost: 448 responded ok Simulator HTTPS client certificate authentication server 0 on localhost:444 - no response Simulator HTTPS client certificate authentication server 1 on localhost:445 - no response Simulator HTTPS client certificate authentication server 2 on localhost:446 - no response Simulator HTTPS client certificate authentication server 3 on localhost:447 - no response Simulator HTTPS client certificate authentication server 4 on localhost:448 - no response Simulator HTTPS no auth server 0 on localhost:8081 responded ok Simulator HTTPS no auth server 1 on localhost:8082 responded ok Simulator HTTPS no auth server 2 on localhost:8083 responded ok Simulator HTTPS no auth server 3 on localhost:8084 responded ok Simulator HTTPS no auth server 4 on localhost:8085 responded ok Simulator HTTPS JWT server 0 on localhost:32101 responded ok Simulator HTTPS JWT server 1 on localhost:32102 responded ok Simulator HTTPS JWT server 2 on localhost:32103 responded ok Simulator HTTPS JWT server 3 on localhost:32104 responded ok Simulator HTTPS JWT server 4 on localhost:32105 responded ok Creating files for SFTP server, may take time.... Running ftp file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in ftp servers with index 0 Creating files for HTTP server, may take time.... Running http file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in http servers with index 0 Done: All simulators started and configured + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Creating dfc_mr-sim ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_dr-redir-sim ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_http-https-server0 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_http-https-server1 ... Creating dfc_http-https-server2 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_dr-sim ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_sftp-server3 ... Creating dfc_http-https-server4 ... Creating dfc_sftp-server0 ... Creating dfc_sftp-server1 ... Creating dfc_http-https-server3 ... Creating dfc_sftp-server2 ... Creating dfc_sftp-server4 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server1 ... done Creating dfc_sftp-server4 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_dr-sim ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_mr-sim ... done Creating dfc_sftp-server3 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_sftp-server2 ... done Creating dfc_dr-redir-sim ... done Creating dfc_http-https-server1 ... done Creating dfc_sftp-server0 ... done Creating dfc_http-https-server3 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_http-https-server0 ... done Creating dfc_http-https-server4 ... done Creating dfc_http-https-server2 ... done ++ id -u ++ id -g + sudo chown 1001:1001 dfc_configs + declare -a SFTP_SIM + declare -a FTPES_SIM + declare -a HTTP_SIM ++ docker ps -q --filter=name=dfc_dr-sim + DR_SIM=d4e66b87d2bc ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=85250e1c4ff6 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=cb2f8b7a2761 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=58f290238161 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=9b5261f91eb1 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=55f388416198 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=c617c8a2d351 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=36541858e540 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=b3a75355b3d9 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=904bfc873898 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=e800347106fc ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=70e0cbd97957 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=34643f0f2d1b ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=00477a0e22f5 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=b1500cea4b13 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=212f905ce469 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=2a6c2b78c757 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=1e4ff6723426 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' d4e66b87d2bc + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 85250e1c4ff6 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' cb2f8b7a2761 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 58f290238161 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9b5261f91eb1 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 55f388416198 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c617c8a2d351 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 36541858e540 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b3a75355b3d9 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 904bfc873898 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e800347106fc + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 70e0cbd97957 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 34643f0f2d1b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 00477a0e22f5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b1500cea4b13 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 212f905ce469 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2a6c2b78c757 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1e4ff6723426 + '[' 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 58f290238161:/tmp/ + docker exec -w //home/onap/ 58f290238161 //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 00477a0e22f5:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 00477a0e22f5 //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 - - [23/Nov/2023 17:51:27] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:51:27] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:52:21] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:53:17] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:53:27] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:53:37] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:53:47] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:53:57] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:54:07] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [23/Nov/2023 17:54:17] "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.t4tXeJO2aj-robot-workdir/debug.log Output: /tmp/tmp.t4tXeJO2aj-robot-workdir/output.xml Log: /tmp/tmp.t4tXeJO2aj-robot-workdir/log.html Report: /tmp/tmp.t4tXeJO2aj-robot-workdir/report.html + RESULT=21 + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "$SHELLOPTS" | tr ':' ' ') + set +o braceexpand + for i in $(echo "$SHELLOPTS" | tr ':' ' ') + set +o hashall + for i in $(echo "$SHELLOPTS" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "$SHELLOPTS" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + echo 'RESULT: 21' RESULT: 21 + exit 21 + on_exit + rc=21 + [[ -n /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite ]] + [[ -n /tmp/tmp.t4tXeJO2aj-robot-workdir ]] + rsync -av /tmp/tmp.t4tXeJO2aj-robot-workdir/ /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/plans/dcaegen2-collectors-datafile/Functional-suite sending incremental file list ./ debug.log log.html output.xml report.html testplan.txt sent 2,059,376 bytes received 114 bytes 4,118,980.00 bytes/sec total size is 2,058,495 speedup is 1.00 + docker ps --format '{{.Image}}' + docker_stats + tee /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/plans/dcaegen2-collectors-datafile/Functional-suite/_sysinfo-2-after-robot.txt + echo '> top -bn1 | head -3' + top -bn1 + head -3 > top -bn1 | head -3 top - 17:54:25 up 1:13, 0 users, load average: 0.23, 0.33, 0.32 Tasks: 158 total, 1 running, 82 sleeping, 0 stopped, 0 zombie %Cpu(s): 1.8 us, 0.6 sy, 0.0 ni, 97.0 id, 0.5 wa, 0.0 hi, 0.0 si, 0.0 st + echo + echo '> free -h' + free -h > free -h total used free shared buff/cache available Mem: 31G 884M 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=ea9553c47d3d +++ docker images -q ++ running_images='043bf5afec80 d2ce16a1ed23 e0208b8cdcf5 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 ea9553c47d3d ']' ++ echo 'Stopping and removing containers' Stopping and removing containers ++ docker stop ea9553c47d3d ea9553c47d3d ++ docker rm ea9553c47d3d ea9553c47d3d ++ docker rmi 043bf5afec80 d2ce16a1ed23 e0208b8cdcf5 1d12470fa662 cab7d4ddb83a f77990a9b766 4753d5a74f10 7f6e6b759f88 1d208ca2d7f7 Untagged: ftpes_vsftpd:latest Deleted: sha256:043bf5afec8016d4d487b2e604ed01ff35e8e6c79f265fe7029f2ba5ad28121e Deleted: sha256:c0cd0e0b055719d4af20966ba50123a791982f31fc93ca8dcaf123f396f5365a Deleted: sha256:55cd32ebf10ca90422a40428fe744f19f3534501b6b140dbe8af72ca9e7cd0dc Deleted: sha256:89946ac3a5c86c4fc4e03b4ecde40ac355459d59cdfc06c2511cb6b4b718f707 Deleted: sha256:d3f4b2305ca219189df930f7a82f1b48c325a2bff2c7f79a3401b7dd0532f52e Deleted: sha256:95d7bc288d4ca199b3743a55389f16a1de5fc0dc481bac8fcc0aafec5abff98a Untagged: drsim_common:latest Deleted: sha256:d2ce16a1ed23767902c74859ed211dab15d08f129cb86ea81d22301b50831787 Deleted: sha256:106714f03bfe09c153b43e914249ce70d9de11caa8fe653d8d1f749f7c4b8bfd Deleted: sha256:14e8f4a7bc622034c7d6d8ed525f9343910d255bdab4926a005fadf651f6a9e8 Deleted: sha256:90aca5db6dacf51911b631911cee06101f0ae9bf1e1ff182cfdce33a81f57846 Deleted: sha256:2be2aa7320dabc43b770546193bc4f69b551bca408a5eab12adbf4866dcab8a5 Deleted: sha256:a057ec6eb6fb38d5107c497e04aeab3878efa700af85f368683ba96b393da168 Deleted: sha256:86fdd71fbe3aa91f74e0ce38693bb57ccf899d71c97db8aae0b504d3c5591101 Deleted: sha256:3923d79ef46c4e5f776c061270de8bc0cea5fc795cf8144ab47937ddd7e0bd45 Deleted: sha256:961080e031ce946f0b71bc1c38e9a4e73616b96015bd963d6e567f18ebd4839e Deleted: sha256:e565473b19ba3d7d7d9a83c2ad35be2fad5b3f7bd0e3e0f1234a4fe02f90104e Deleted: sha256:131af5326c79acfb521a125e34852d0492f76539042e4ad45398de53c3d18597 Deleted: sha256:d409a9d87d86ec8a8cf1a0c655114e9ecc087b21310fa1b47929f1c5376420b8 Untagged: mrsim:latest Deleted: sha256:e0208b8cdcf59470d7055c36a6e393dbcca379981930fe9b98cd5359a32722d8 Deleted: sha256:8f62ac7af01ab402b6e8bf4d11e463d163555c8fb2b338168458bc4f63c1ee2f Deleted: sha256:adf872f219df6fd8d63a185af4fc57368d1a7feecb1d04b918627d84e1a53f90 Deleted: sha256:acfc0ddbe8dba96fab02419569da48b5e63c150b7d72fe25d553b7d443154d57 Deleted: sha256:6f7d4666edc798f07e1c0ed081f65dd1c7f5b273bfb63dfdc01c4852989dc510 Deleted: sha256:d024d5e8ea32442938f7021f6c5b444755b5810f63ab45cab8595957fbf72293 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 2149 killed; [ssh-agent] Stopped. Robot results publisher started... -Parsing output xml: Done! WARNING! Could not find file: **/log.html WARNING! Could not find file: **/report.html -Copying log files to build dir: Done! -Assigning results to build: Done! -Checking thresholds: Done! Done publishing Robot results. [PostBuildScript] - [INFO] Executing post build scripts. [dcaegen2-collectors-datafile-master-csit-Functional-suite] $ /bin/bash /tmp/jenkins9879729684710472268.sh ---> sysstat.sh [dcaegen2-collectors-datafile-master-csit-Functional-suite] $ /bin/bash /tmp/jenkins1856435542293907544.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite + START_PACKAGES=/tmp/packages_start.txt + END_PACKAGES=/tmp/packages_end.txt + DIFF_PACKAGES=/tmp/packages_diff.txt + PACKAGES=/tmp/packages_start.txt + '[' /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + dpkg -l + grep '^ii' + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite ']' + mkdir -p /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/ [dcaegen2-collectors-datafile-master-csit-Functional-suite] $ /bin/bash /tmp/jenkins16689005158244612845.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-VCSb from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-VCSb/bin to PATH INFO: Running in OpenStack, capturing instance metadata [dcaegen2-collectors-datafile-master-csit-Functional-suite] $ /bin/bash /tmp/jenkins14062372364227106882.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite@tmp/config2827637009561587574tmp 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/jenkins11147451266027628200.sh ---> create-netrc.sh [dcaegen2-collectors-datafile-master-csit-Functional-suite] $ /bin/bash /tmp/jenkins17975275097669293821.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-VCSb from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-VCSb/bin to PATH [dcaegen2-collectors-datafile-master-csit-Functional-suite] $ /bin/bash /tmp/jenkins5613743578158682602.sh ---> sudo-logs.sh Archiving 'sudo' log.. [dcaegen2-collectors-datafile-master-csit-Functional-suite] $ /bin/bash /tmp/jenkins3073012112512119465.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-VCSb 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. lf-activate-venv(): INFO: Adding /tmp/venv-VCSb/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/jenkins12140849419553328821.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-VCSb from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-VCSb/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/dcaegen2-collectors-datafile-master-csit-Functional-suite/1727 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-3495 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 945 28574 0 2646 30771 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:9e:55:dc brd ff:ff:ff:ff:ff:ff inet 10.30.106.35/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 81966sec preferred_lft 81966sec inet6 fe80::f816:3eff:fe9e:55dc/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:c4:f3:9a:72 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:c4ff:fef3:9a72/64 scope link valid_lft forever preferred_lft forever 14: br-c57d5778e859: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:5e:aa:9c:80 brd ff:ff:ff:ff:ff:ff inet 172.17.0.1/16 brd 172.17.255.255 scope global br-c57d5778e859 valid_lft forever preferred_lft forever inet6 fe80::42:5eff:feaa:9c80/64 scope link valid_lft forever preferred_lft forever 15: br-a485d87f4124: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:57:67:dd:72 brd ff:ff:ff:ff:ff:ff inet 172.18.0.1/16 brd 172.18.255.255 scope global br-a485d87f4124 valid_lft forever preferred_lft forever inet6 fe80::42:57ff:fe67:dd72/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-3495) 11/23/23 _x86_64_ (8 CPU) 16:41:30 LINUX RESTART (8 CPU) 16:42:01 tps rtps wtps bread/s bwrtn/s 16:43:01 124.61 45.64 78.97 2024.46 31553.81 16:44:01 195.23 15.41 179.82 1633.19 45881.29 16:45:01 281.80 4.05 277.75 548.31 82832.73 16:46:01 35.72 0.35 35.37 49.58 24119.14 16:47:01 17.58 0.03 17.55 4.27 23827.36 16:48:01 16.11 0.00 16.11 0.00 23501.02 16:49:01 110.93 0.12 110.81 21.20 2911.65 16:50:01 3.52 0.00 3.52 0.00 397.40 16:51:01 1.70 0.02 1.68 3.87 20.13 16:52:01 113.05 0.03 113.01 2.80 2880.59 16:53:01 4.63 0.00 4.63 0.00 921.31 16:54:01 1.77 0.02 1.75 0.13 22.53 16:55:01 108.05 0.07 107.98 5.60 2761.81 16:56:01 11.91 0.08 11.83 13.60 236.09 16:57:01 7.08 3.53 3.55 30.39 55.72 16:58:01 23.21 0.00 23.21 0.00 305.55 16:59:01 96.98 0.07 96.92 10.66 2661.16 17:00:01 3.88 0.97 2.92 20.66 50.38 17:01:01 1.55 0.00 1.55 0.00 18.93 17:02:01 121.18 0.02 121.16 2.40 2981.50 17:03:01 2.97 0.00 2.97 0.00 46.26 17:04:01 1.37 0.00 1.37 0.00 16.26 17:05:01 117.75 0.08 117.66 10.40 2793.80 17:06:01 9.63 0.00 9.63 0.00 206.63 17:07:01 2.53 0.02 2.52 1.07 38.26 17:08:01 28.35 0.02 28.33 0.80 359.41 17:09:01 106.28 0.03 106.25 5.33 2771.14 17:10:01 3.25 0.00 3.25 0.00 46.79 17:11:01 1.18 0.00 1.18 0.00 14.80 17:12:01 135.16 0.03 135.13 2.00 3081.62 17:13:01 2.93 0.02 2.92 4.27 44.13 17:14:01 1.38 0.00 1.38 0.00 16.80 17:15:01 123.33 0.05 123.28 3.73 2874.59 17:16:01 10.21 0.00 10.21 0.00 646.29 17:17:01 2.03 0.02 2.02 0.13 27.46 17:18:01 66.64 0.00 66.64 0.00 916.38 17:19:01 67.51 0.00 67.51 0.00 2140.71 17:20:01 3.37 0.02 3.35 2.13 49.86 17:21:01 1.20 0.00 1.20 0.00 14.80 17:22:01 128.47 0.02 128.46 0.67 2921.43 17:23:01 3.65 0.67 2.98 18.00 45.73 17:24:01 1.87 0.00 1.87 0.00 22.40 17:25:01 121.50 0.05 121.45 5.73 2817.93 17:26:02 8.35 0.02 8.33 4.27 149.04 17:27:01 2.24 0.00 2.24 0.00 28.74 17:28:01 68.34 0.00 68.34 0.00 930.51 17:29:01 63.99 0.02 63.97 2.67 2046.46 17:30:01 3.90 0.00 3.90 0.00 670.95 17:31:01 1.17 0.00 1.17 0.00 14.93 17:32:01 128.61 0.02 128.60 1.07 2948.58 17:33:01 2.88 0.00 2.88 0.00 46.39 17:34:01 1.42 0.00 1.42 0.00 18.80 17:35:01 125.33 0.00 125.33 0.00 2854.72 17:36:01 10.06 0.02 10.05 2.67 160.91 17:37:01 1.00 0.00 1.00 0.00 12.40 17:38:01 120.26 0.02 120.25 2.40 2676.75 17:39:01 12.01 0.00 12.01 0.00 237.29 17:40:01 2.55 0.02 2.53 1.60 40.79 17:41:01 20.25 0.00 20.25 0.00 233.96 17:42:01 127.80 0.00 127.80 0.00 2936.58 17:43:01 3.18 0.00 3.18 0.00 46.79 17:44:01 2.23 0.00 2.23 0.00 26.40 17:45:01 136.43 0.00 136.43 0.00 2972.57 17:46:01 3.90 0.00 3.90 0.00 306.43 17:47:01 0.97 0.00 0.97 0.00 12.13 17:48:01 130.81 0.00 130.81 0.00 2811.00 17:49:01 12.35 0.00 12.35 0.00 245.29 17:50:01 4.75 0.00 4.75 0.00 676.55 17:51:01 8.82 0.00 8.82 0.00 97.45 17:52:01 132.66 0.02 132.64 0.40 2916.71 17:53:01 3.00 0.00 3.00 0.00 45.46 17:54:01 1.08 0.00 1.08 0.00 14.80 17:55:01 105.27 1.53 103.73 107.45 4807.47 Average: 47.53 1.00 46.52 62.31 4122.09 16:42:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 16:43:01 30121532 31740084 2817680 8.55 72172 1855088 1422220 4.18 843624 1686780 176792 16:44:01 29617040 31724664 3322172 10.09 98412 2292036 1551484 4.56 955468 2020568 612 16:45:01 27579836 31514512 5359376 16.27 155332 3928604 4456608 13.11 1262244 3567988 452 16:46:01 27438288 31362296 5500924 16.70 156640 3919432 11432228 33.64 1349540 3538852 232 16:47:01 27428252 31353436 5510960 16.73 156728 3919616 11394712 33.53 1359320 3537876 12 16:48:01 27428920 31354244 5510292 16.73 156792 3919644 11414188 33.58 1357116 3537900 176 16:49:01 27423640 31355988 5515572 16.74 159172 3921148 11554276 34.00 1402588 3490536 52 16:50:01 27410384 31343360 5528828 16.78 159236 3921248 11468980 33.74 1414900 3490276 160 16:51:01 27408544 31341720 5530668 16.79 159308 3921384 11506556 33.85 1416620 3490408 56 16:52:01 27418480 31357312 5520732 16.76 161516 3922644 11508520 33.86 1402492 3490064 1168 16:53:01 27401724 31341396 5537488 16.81 161572 3922776 11484668 33.79 1417868 3489968 348 16:54:01 27406712 31346428 5532500 16.80 161600 3922792 11494172 33.82 1412392 3489972 140 16:55:01 27332692 31298296 5606520 17.02 163400 3935936 10167556 29.92 1500852 3501944 2052 16:56:01 27391324 31336972 5547888 16.84 163600 3924372 11615576 34.18 1419424 3490324 300 16:57:01 27385200 31332320 5554012 16.86 164484 3924484 11601620 34.13 1424596 3490344 8 16:58:01 27496260 31440936 5442952 16.52 164728 3923992 9250568 27.22 1334524 3490208 84 16:59:01 27386560 31339608 5552652 16.86 166468 3925676 11458948 33.71 1417468 3491000 60 17:00:01 27373568 31328176 5565644 16.90 166544 3926388 11421748 33.61 1428824 3491452 344 17:01:01 27370388 31325036 5568824 16.91 166564 3926408 11417104 33.59 1431368 3491468 64 17:02:01 27379656 31339236 5559556 16.88 168356 3927380 11555948 34.00 1417796 3492112 24 17:03:01 27362468 31322820 5576744 16.93 168420 3927512 11535320 33.94 1432436 3492224 60 17:04:01 27364160 31324560 5575052 16.93 168460 3927520 11557396 34.00 1430600 3492232 152 17:05:01 27024576 31013668 5914636 17.96 170384 3946272 14641112 43.08 1750568 3510404 1988 17:06:01 27347088 31314084 5592124 16.98 170596 3928992 11707192 34.45 1438796 3493228 172 17:07:01 27348964 31316564 5590248 16.97 170628 3929056 11624868 34.20 1435972 3493196 32 17:08:01 27469632 31433976 5469580 16.61 170920 3928488 8889292 26.15 1342768 3493132 592 17:09:01 27346804 31319352 5592408 16.98 172520 3930076 11674896 34.35 1433072 3493956 204 17:10:01 27334956 31307980 5604256 17.01 172536 3930160 11654000 34.29 1443824 3494028 8 17:11:01 27339412 31312488 5599800 17.00 172556 3930176 11657212 34.30 1440212 3494048 60 17:12:01 27342504 31320444 5596708 16.99 174620 3931212 11583360 34.08 1431824 3494724 24 17:13:01 27330572 31309304 5608640 17.03 174656 3931484 11580580 34.07 1441944 3494920 52 17:14:01 27328236 31307148 5610976 17.03 174672 3931636 11589008 34.10 1443836 3495072 164 17:15:01 27245884 31254616 5693328 17.28 176196 3955948 11996100 35.30 1503892 3518612 2996 17:16:01 27322232 31306492 5616980 17.05 176252 3933052 11671356 34.34 1443764 3496088 504 17:17:01 27319844 31304144 5619368 17.06 176276 3933048 11650484 34.28 1445452 3496096 48 17:18:01 27594188 31593636 5345024 16.23 176976 3943328 1779444 5.24 1247124 3507364 26564 17:19:01 27317720 31307076 5621492 17.07 178020 3934384 11597468 34.12 1440336 3497296 172 17:20:01 27306396 31296252 5632816 17.10 178048 3934532 11541672 33.96 1450300 3497408 48 17:21:01 27305216 31295116 5633996 17.10 178072 3934548 11520832 33.90 1452164 3497424 216 17:22:01 27314064 31307952 5625148 17.08 179348 3935336 11626760 34.21 1439420 3498108 80 17:23:01 27285264 31283300 5653948 17.16 179376 3935992 11615360 34.18 1463112 3498076 76 17:24:01 27286476 31284548 5652736 17.16 179388 3936016 11626532 34.21 1462324 3498100 124 17:25:01 27202512 31227916 5736700 17.42 180696 3959920 12078436 35.54 1523760 3521372 2720 17:26:02 27277304 31278516 5661908 17.19 180760 3937120 11696064 34.41 1465436 3498948 540 17:27:01 27275432 31276660 5663780 17.19 180776 3937124 11705392 34.44 1467120 3498904 196 17:28:01 27588972 31601588 5350240 16.24 181380 3944116 1762720 5.19 1234276 3507004 22988 17:29:01 27278188 31283876 5661024 17.19 181980 3938208 11702492 34.43 1460008 3499872 292 17:30:01 27264180 31270356 5675032 17.23 182008 3938300 11649112 34.27 1472240 3499956 44 17:31:01 27266284 31272488 5672928 17.22 182024 3938316 11648344 34.27 1470260 3499972 60 17:32:01 27269068 31279524 5670144 17.21 183216 3939256 11678344 34.36 1463620 3500852 184 17:33:01 27252340 31263312 5686872 17.26 183244 3939384 11657988 34.30 1477296 3500972 108 17:34:01 27251016 31262012 5688196 17.27 183248 3939400 11652376 34.28 1479104 3500992 296 17:35:01 27258308 31273112 5680904 17.25 184360 3940032 11564620 34.03 1467172 3501664 3364 17:36:01 27238348 31253996 5700864 17.31 184392 3940248 11516176 33.88 1484060 3501832 180 17:37:01 27228252 31243932 5710960 17.34 184400 3940252 11569196 34.04 1495372 3501836 212 17:38:01 27214216 31254704 5724996 17.38 185248 3963600 9757192 28.71 1508820 3524892 772 17:39:01 27220316 31239972 5718896 17.36 185412 3941180 11767904 34.62 1495312 3502532 236 17:40:01 27213708 31233716 5725504 17.38 185424 3941268 11720992 34.49 1501656 3502596 288 17:41:01 27312952 31330420 5626260 17.08 185564 3940928 9670852 28.45 1420712 3502604 640 17:42:01 27223844 31247724 5715368 17.35 186728 3942424 11658584 34.30 1489204 3503704 208 17:43:01 27209736 31234168 5729476 17.39 186760 3942516 11606712 34.15 1501216 3503788 308 17:44:01 27209280 31233772 5729932 17.40 186788 3942540 11581172 34.07 1501860 3503812 184 17:45:01 27215556 31243788 5723656 17.38 187732 3943260 11676972 34.36 1488132 3504580 32 17:46:01 27199924 31228824 5739288 17.42 187756 3943508 11645972 34.27 1501476 3504760 24 17:47:01 27199904 31228832 5739308 17.42 187776 3943524 11651148 34.28 1501016 3504776 56 17:48:01 27115708 31167160 5823504 17.68 188556 3956232 11178524 32.89 1599920 3517232 880 17:49:01 27199168 31231456 5740044 17.43 188688 3944444 11622844 34.20 1498480 3505576 44 17:50:01 27192668 31225340 5746544 17.45 188712 3944504 11583972 34.08 1504076 3505628 20 17:51:01 27223216 31255328 5715996 17.35 188748 3944392 10824324 31.85 1478776 3505584 0 17:52:01 27194948 31232176 5744264 17.44 189516 3945796 11574580 34.06 1497016 3506740 208 17:53:01 27181720 31219452 5757492 17.48 189536 3946004 11541168 33.96 1508264 3506940 184 17:54:01 27180532 31218128 5758680 17.48 189544 3946028 11571908 34.05 1510224 3506960 320 17:55:01 29268228 31533856 3670984 11.14 191388 2308616 1789780 5.27 1174112 1987736 31280 Average: 27409061 31315858 5530151 16.79 173615 3862223 10709641 31.51 1430449 3436307 3895 16:42:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 16:43:01 lo 1.40 1.40 0.15 0.15 0.00 0.00 0.00 0.00 16:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:43:01 ens3 356.52 249.89 1708.41 62.35 0.00 0.00 0.00 0.00 16:44:01 lo 2.13 2.13 0.20 0.20 0.00 0.00 0.00 0.00 16:44:01 docker0 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 16:44:01 ens3 97.50 67.41 1297.41 12.76 0.00 0.00 0.00 0.00 16:44:01 vethbd01f95 0.00 0.08 0.00 0.01 0.00 0.00 0.00 0.00 16:45:01 vethdaf36b5 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:45:01 lo 5.33 5.33 0.58 0.58 0.00 0.00 0.00 0.00 16:45:01 veth24bbb8e 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:45:01 veth2cb13b1 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 16:46:01 vethdaf36b5 0.22 0.63 0.09 0.05 0.00 0.00 0.00 0.00 16:46:01 lo 20.76 20.76 8.83 8.83 0.00 0.00 0.00 0.00 16:46:01 veth24bbb8e 0.22 0.62 0.09 0.05 0.00 0.00 0.00 0.00 16:46:01 veth2cb13b1 0.12 0.52 0.01 0.03 0.00 0.00 0.00 0.00 16:47:01 vethdaf36b5 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:47:01 lo 4.88 4.88 1.64 1.64 0.00 0.00 0.00 0.00 16:47:01 veth24bbb8e 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:47:01 veth2cb13b1 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:48:01 vethdaf36b5 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:48:01 lo 1.57 1.57 0.11 0.11 0.00 0.00 0.00 0.00 16:48:01 veth24bbb8e 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:48:01 veth2cb13b1 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:49:01 lo 15.83 15.83 6.20 6.20 0.00 0.00 0.00 0.00 16:49:01 vethfde09d4 0.10 0.82 0.01 0.05 0.00 0.00 0.00 0.00 16:49:01 br-a485d87f4124 0.00 0.08 0.00 0.01 0.00 0.00 0.00 0.00 16:49:01 veth1e87883 2.02 2.82 1.22 0.63 0.00 0.00 0.00 0.00 16:50:01 lo 10.16 10.16 4.29 4.29 0.00 0.00 0.00 0.00 16:50:01 vethfde09d4 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:50:01 br-a485d87f4124 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:50:01 veth1e87883 0.27 0.28 0.12 0.05 0.00 0.00 0.00 0.00 16:51:01 lo 0.80 0.80 0.06 0.06 0.00 0.00 0.00 0.00 16:51:01 vethfde09d4 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:51:01 br-a485d87f4124 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:51:01 veth1e87883 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:52:01 lo 11.31 11.31 3.60 3.60 0.00 0.00 0.00 0.00 16:52:01 br-a485d87f4124 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 16:52:01 veth99da263 1.98 2.80 1.22 0.63 0.00 0.00 0.00 0.00 16:52:01 vethf9190b8 0.33 1.12 0.13 0.10 0.00 0.00 0.00 0.00 16:53:01 lo 15.03 15.03 6.92 6.92 0.00 0.00 0.00 0.00 16:53:01 br-a485d87f4124 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:53:01 veth99da263 0.27 0.30 0.12 0.05 0.00 0.00 0.00 0.00 16:53:01 vethf9190b8 1.92 1.98 1.20 0.58 0.00 0.00 0.00 0.00 16:54:01 lo 0.92 0.92 0.06 0.06 0.00 0.00 0.00 0.00 16:54:01 br-a485d87f4124 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:54:01 veth99da263 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:54:01 vethf9190b8 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:55:01 lo 0.90 0.90 0.06 0.06 0.00 0.00 0.00 0.00 16:55:01 br-a485d87f4124 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 16:55:01 veth7208a70 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:55:01 vethdca718e 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:56:01 lo 22.33 22.33 9.61 9.61 0.00 0.00 0.00 0.00 16:56:01 br-a485d87f4124 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:56:01 veth7208a70 1.97 2.83 1.22 0.63 0.00 0.00 0.00 0.00 16:56:01 vethdca718e 2.02 2.80 1.22 0.63 0.00 0.00 0.00 0.00 16:57:01 lo 3.50 3.50 0.87 0.87 0.00 0.00 0.00 0.00 16:57:01 br-a485d87f4124 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:57:01 veth7208a70 0.27 0.30 0.12 0.05 0.00 0.00 0.00 0.00 16:57:01 vethdca718e 0.27 0.30 0.12 0.05 0.00 0.00 0.00 0.00 16:58:01 lo 1.52 1.52 0.11 0.11 0.00 0.00 0.00 0.00 16:58:01 br-a485d87f4124 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:58:01 veth7208a70 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:58:01 vethdca718e 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:59:01 vethe4c1d64 0.12 0.88 0.01 0.06 0.00 0.00 0.00 0.00 16:59:01 lo 16.81 16.81 6.81 6.81 0.00 0.00 0.00 0.00 16:59:01 vethf739a80 0.12 0.83 0.01 0.05 0.00 0.00 0.00 0.00 16:59:01 veth52c7f76 0.33 1.13 0.13 0.10 0.00 0.00 0.00 0.00 17:00:01 vethe4c1d64 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:00:01 lo 8.96 8.96 3.67 3.67 0.00 0.00 0.00 0.00 17:00:01 vethf739a80 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:00:01 veth52c7f76 1.92 1.97 1.20 0.58 0.00 0.00 0.00 0.00 17:01:01 vethe4c1d64 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:01:01 lo 1.15 1.15 0.08 0.08 0.00 0.00 0.00 0.00 17:01:01 vethf739a80 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:01:01 veth52c7f76 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:02:01 lo 11.83 11.83 3.90 3.90 0.00 0.00 0.00 0.00 17:02:01 br-a485d87f4124 0.00 0.22 0.00 0.02 0.00 0.00 0.00 0.00 17:02:01 veth2cb99bf 0.85 1.62 0.46 0.26 0.00 0.00 0.00 0.00 17:02:01 veth2cb69a7 0.33 1.12 0.13 0.10 0.00 0.00 0.00 0.00 17:03:01 lo 14.46 14.46 6.61 6.61 0.00 0.00 0.00 0.00 17:03:01 br-a485d87f4124 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:03:01 veth2cb99bf 1.42 1.48 0.88 0.42 0.00 0.00 0.00 0.00 17:03:01 veth2cb69a7 1.92 1.98 1.20 0.58 0.00 0.00 0.00 0.00 17:04:01 lo 0.90 0.90 0.06 0.06 0.00 0.00 0.00 0.00 17:04:01 br-a485d87f4124 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:04:01 veth2cb99bf 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:04:01 veth2cb69a7 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:05:01 vethdaaf6b3 0.00 0.12 0.00 0.01 0.00 0.00 0.00 0.00 17:05:01 veth17fedbc 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:05:01 lo 0.90 0.90 0.06 0.06 0.00 0.00 0.00 0.00 17:05:01 veth3dab1c5 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:06:01 vethdaaf6b3 0.22 0.80 0.09 0.06 0.00 0.00 0.00 0.00 17:06:01 lo 24.91 24.91 10.40 10.40 0.00 0.00 0.00 0.00 17:06:01 veth3dab1c5 0.12 0.83 0.01 0.05 0.00 0.00 0.00 0.00 17:06:01 br-a485d87f4124 0.00 0.25 0.00 0.02 0.00 0.00 0.00 0.00 17:07:01 vethdaaf6b3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:07:01 lo 1.12 1.12 0.09 0.09 0.00 0.00 0.00 0.00 17:07:01 veth3dab1c5 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:07:01 br-a485d87f4124 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:08:01 vethdaaf6b3 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:08:01 lo 1.50 1.50 0.11 0.11 0.00 0.00 0.00 0.00 17:08:01 br-a485d87f4124 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:08:01 veth6ed7993 2.27 3.10 1.34 0.68 0.00 0.00 0.00 0.00 17:09:01 lo 17.65 17.65 7.27 7.27 0.00 0.00 0.00 0.00 17:09:01 veth80b1fef 0.22 1.00 0.11 0.08 0.00 0.00 0.00 0.00 17:09:01 br-a485d87f4124 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:09:01 vethc17e8c3 2.00 2.80 1.22 0.63 0.00 0.00 0.00 0.00 17:10:01 lo 8.07 8.07 3.20 3.20 0.00 0.00 0.00 0.00 17:10:01 veth80b1fef 0.10 0.15 0.01 0.01 0.00 0.00 0.00 0.00 17:10:01 br-a485d87f4124 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:10:01 vethc17e8c3 0.27 0.28 0.12 0.05 0.00 0.00 0.00 0.00 17:11:01 lo 1.15 1.15 0.08 0.08 0.00 0.00 0.00 0.00 17:11:01 veth80b1fef 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:11:01 br-a485d87f4124 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:11:01 vethc17e8c3 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:12:01 lo 13.46 13.46 4.83 4.83 0.00 0.00 0.00 0.00 17:12:01 vethedc3c26 0.12 0.82 0.01 0.05 0.00 0.00 0.00 0.00 17:12:01 br-a485d87f4124 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:12:01 veth4adfab0 0.33 1.12 0.13 0.10 0.00 0.00 0.00 0.00 17:13:01 lo 12.68 12.68 5.68 5.68 0.00 0.00 0.00 0.00 17:13:01 vethedc3c26 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:13:01 br-a485d87f4124 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:13:01 veth4adfab0 1.97 1.98 1.21 0.58 0.00 0.00 0.00 0.00 17:14:01 lo 1.10 1.10 0.08 0.08 0.00 0.00 0.00 0.00 17:14:01 vethedc3c26 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:14:01 br-a485d87f4124 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:14:01 veth4adfab0 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:15:01 veth787f54e 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:15:01 lo 0.67 0.67 0.05 0.05 0.00 0.00 0.00 0.00 17:15:01 br-a485d87f4124 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:15:01 vethd9fffeb 0.00 0.13 0.00 0.01 0.00 0.00 0.00 0.00 17:16:01 lo 25.83 25.83 10.48 10.48 0.00 0.00 0.00 0.00 17:16:01 br-a485d87f4124 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:16:01 vethd9fffeb 0.12 0.72 0.01 0.04 0.00 0.00 0.00 0.00 17:16:01 vetha536238 0.23 1.02 0.11 0.08 0.00 0.00 0.00 0.00 17:17:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:17:01 br-a485d87f4124 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:17:01 vethd9fffeb 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:17:01 vetha536238 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:18:01 lo 1.65 1.65 0.11 0.11 0.00 0.00 0.00 0.00 17:18:01 br-a485d87f4124 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:18:01 docker0 10.20 13.66 1.81 50.62 0.00 0.00 0.00 0.00 17:18:01 br-c57d5778e859 148.38 154.59 73.92 35.05 0.00 0.00 0.00 0.00 17:19:01 lo 18.03 18.03 7.43 7.43 0.00 0.00 0.00 0.00 17:19:01 br-a485d87f4124 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:19:01 vethb3390bc 0.22 1.00 0.11 0.08 0.00 0.00 0.00 0.00 17:19:01 veth020763f 0.12 0.83 0.01 0.05 0.00 0.00 0.00 0.00 17:20:01 lo 7.77 7.77 3.05 3.05 0.00 0.00 0.00 0.00 17:20:01 br-a485d87f4124 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:20:01 vethb3390bc 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:20:01 veth020763f 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:21:01 lo 1.13 1.13 0.08 0.08 0.00 0.00 0.00 0.00 17:21:01 br-a485d87f4124 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:21:01 vethb3390bc 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:21:01 veth020763f 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:22:01 lo 13.25 13.25 4.67 4.67 0.00 0.00 0.00 0.00 17:22:01 veth8d16b17 0.23 1.00 0.11 0.07 0.00 0.00 0.00 0.00 17:22:01 br-a485d87f4124 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:22:01 veth84e4373 0.12 0.87 0.01 0.05 0.00 0.00 0.00 0.00 17:23:01 lo 12.96 12.96 5.83 5.83 0.00 0.00 0.00 0.00 17:23:01 veth8d16b17 0.10 0.17 0.01 0.01 0.00 0.00 0.00 0.00 17:23:01 br-a485d87f4124 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:23:01 veth84e4373 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:24:01 lo 0.87 0.87 0.06 0.06 0.00 0.00 0.00 0.00 17:24:01 veth8d16b17 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:24:01 br-a485d87f4124 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:24:01 veth84e4373 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:25:01 vetha2b622f 0.00 0.12 0.00 0.01 0.00 0.00 0.00 0.00 17:25:01 lo 0.93 0.93 0.06 0.06 0.00 0.00 0.00 0.00 17:25:01 br-a485d87f4124 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:25:01 veth049ef6d 0.00 0.10 0.00 0.01 0.00 0.00 0.00 0.00 17:26:02 vetha2b622f 0.12 0.73 0.01 0.04 0.00 0.00 0.00 0.00 17:26:02 lo 25.70 25.70 10.47 10.47 0.00 0.00 0.00 0.00 17:26:02 br-a485d87f4124 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:26:02 veth049ef6d 0.12 0.73 0.01 0.04 0.00 0.00 0.00 0.00 17:27:01 vetha2b622f 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:27:01 lo 0.24 0.24 0.02 0.02 0.00 0.00 0.00 0.00 17:27:01 br-a485d87f4124 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:27:01 veth049ef6d 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:28:01 lo 1.53 1.53 0.11 0.11 0.00 0.00 0.00 0.00 17:28:01 br-a485d87f4124 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:28:01 docker0 10.20 13.66 1.81 50.62 0.00 0.00 0.00 0.00 17:28:01 br-c57d5778e859 192.88 200.63 96.10 45.55 0.00 0.00 0.00 0.00 17:29:01 lo 18.30 18.30 7.58 7.58 0.00 0.00 0.00 0.00 17:29:01 br-a485d87f4124 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:29:01 vethbb9366b 0.12 0.85 0.01 0.05 0.00 0.00 0.00 0.00 17:29:01 veth89da8b6 0.12 0.83 0.01 0.05 0.00 0.00 0.00 0.00 17:30:01 lo 7.47 7.47 2.89 2.89 0.00 0.00 0.00 0.00 17:30:01 br-a485d87f4124 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:30:01 vethbb9366b 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:30:01 veth89da8b6 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:31:01 lo 1.10 1.10 0.08 0.08 0.00 0.00 0.00 0.00 17:31:01 br-a485d87f4124 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:31:01 vethbb9366b 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:31:01 veth89da8b6 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:32:01 lo 14.38 14.38 5.29 5.29 0.00 0.00 0.00 0.00 17:32:01 veth4d8d2a9 0.12 0.83 0.01 0.05 0.00 0.00 0.00 0.00 17:32:01 br-a485d87f4124 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:32:01 vethaba8e2f 0.33 1.12 0.13 0.10 0.00 0.00 0.00 0.00 17:33:01 lo 11.73 11.73 5.21 5.21 0.00 0.00 0.00 0.00 17:33:01 veth4d8d2a9 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:33:01 br-a485d87f4124 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:33:01 vethaba8e2f 1.97 1.97 1.21 0.58 0.00 0.00 0.00 0.00 17:34:01 lo 1.08 1.08 0.08 0.08 0.00 0.00 0.00 0.00 17:34:01 veth4d8d2a9 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:34:01 br-a485d87f4124 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:34:01 vethaba8e2f 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:35:01 veth1479799 1.33 2.10 0.78 0.42 0.00 0.00 0.00 0.00 17:35:01 lo 9.58 9.58 2.81 2.81 0.00 0.00 0.00 0.00 17:35:01 br-a485d87f4124 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:35:01 veth533f5bb 0.22 0.87 0.09 0.06 0.00 0.00 0.00 0.00 17:36:01 veth1479799 0.98 1.02 0.56 0.26 0.00 0.00 0.00 0.00 17:36:01 lo 16.76 16.76 7.71 7.71 0.00 0.00 0.00 0.00 17:36:01 br-a485d87f4124 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:36:01 veth533f5bb 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:37:01 veth1479799 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:37:01 lo 0.43 0.43 0.03 0.03 0.00 0.00 0.00 0.00 17:37:01 br-a485d87f4124 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:37:01 veth533f5bb 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:38:01 veth5f9dd6b 0.00 0.10 0.00 0.01 0.00 0.00 0.00 0.00 17:38:01 veth4a9e166 0.00 0.10 0.00 0.01 0.00 0.00 0.00 0.00 17:38:01 lo 1.38 1.38 0.09 0.09 0.00 0.00 0.00 0.00 17:38:01 vethf61916a 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:39:01 veth5f9dd6b 2.00 2.70 1.22 0.62 0.00 0.00 0.00 0.00 17:39:01 veth4a9e166 0.22 0.83 0.09 0.06 0.00 0.00 0.00 0.00 17:39:01 lo 22.31 22.31 9.61 9.61 0.00 0.00 0.00 0.00 17:39:01 vethfeebfd4 0.23 0.92 0.09 0.07 0.00 0.00 0.00 0.00 17:40:01 veth5f9dd6b 0.27 0.28 0.12 0.05 0.00 0.00 0.00 0.00 17:40:01 veth4a9e166 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:40:01 lo 3.73 3.73 0.88 0.88 0.00 0.00 0.00 0.00 17:40:01 vethfeebfd4 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:41:01 veth5f9dd6b 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:41:01 veth4a9e166 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:41:01 lo 1.35 1.35 0.09 0.09 0.00 0.00 0.00 0.00 17:41:01 vethfeebfd4 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:42:01 lo 16.36 16.36 6.51 6.51 0.00 0.00 0.00 0.00 17:42:01 br-a485d87f4124 0.00 0.62 0.00 0.05 0.00 0.00 0.00 0.00 17:42:01 veth33006a1 0.27 1.03 0.10 0.08 0.00 0.00 0.00 0.00 17:42:01 veth50caa54 2.02 2.82 1.22 0.63 0.00 0.00 0.00 0.00 17:43:01 lo 9.37 9.37 3.97 3.97 0.00 0.00 0.00 0.00 17:43:01 br-a485d87f4124 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:43:01 veth33006a1 0.15 0.17 0.01 0.01 0.00 0.00 0.00 0.00 17:43:01 veth50caa54 0.27 0.28 0.12 0.05 0.00 0.00 0.00 0.00 17:44:01 lo 1.37 1.37 0.09 0.09 0.00 0.00 0.00 0.00 17:44:01 br-a485d87f4124 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:44:01 veth33006a1 0.62 0.63 0.05 0.05 0.00 0.00 0.00 0.00 17:44:01 veth50caa54 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:45:01 lo 11.41 11.41 3.88 3.88 0.00 0.00 0.00 0.00 17:45:01 br-a485d87f4124 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:45:01 veth9ae7f4e 0.22 0.87 0.09 0.06 0.00 0.00 0.00 0.00 17:45:01 veth4e4cf1c 0.12 0.82 0.01 0.05 0.00 0.00 0.00 0.00 17:46:01 lo 14.68 14.68 6.62 6.62 0.00 0.00 0.00 0.00 17:46:01 br-a485d87f4124 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:46:01 veth9ae7f4e 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:46:01 veth4e4cf1c 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:47:01 lo 0.67 0.67 0.05 0.05 0.00 0.00 0.00 0.00 17:47:01 br-a485d87f4124 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:47:01 veth9ae7f4e 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:47:01 veth4e4cf1c 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:48:01 lo 1.10 1.10 0.08 0.08 0.00 0.00 0.00 0.00 17:48:01 br-a485d87f4124 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:48:01 veth245b492 0.00 0.12 0.00 0.01 0.00 0.00 0.00 0.00 17:48:01 veth0885d52 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:49:01 lo 21.96 21.96 9.45 9.45 0.00 0.00 0.00 0.00 17:49:01 br-a485d87f4124 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:49:01 veth245b492 0.12 0.72 0.01 0.04 0.00 0.00 0.00 0.00 17:49:01 veth0885d52 1.98 2.83 1.22 0.63 0.00 0.00 0.00 0.00 17:50:01 lo 4.07 4.07 1.04 1.04 0.00 0.00 0.00 0.00 17:50:01 br-a485d87f4124 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:50:01 veth245b492 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:50:01 veth0885d52 0.27 0.28 0.12 0.05 0.00 0.00 0.00 0.00 17:51:01 lo 1.32 1.32 0.09 0.09 0.00 0.00 0.00 0.00 17:51:01 br-a485d87f4124 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:51:01 veth245b492 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:51:01 veth0885d52 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:52:01 lo 16.96 16.96 6.82 6.82 0.00 0.00 0.00 0.00 17:52:01 veth1903374 0.23 0.90 0.09 0.07 0.00 0.00 0.00 0.00 17:52:01 br-a485d87f4124 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:52:01 veth47468b4 0.12 0.83 0.01 0.05 0.00 0.00 0.00 0.00 17:53:01 lo 8.77 8.77 3.66 3.66 0.00 0.00 0.00 0.00 17:53:01 veth1903374 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:53:01 br-a485d87f4124 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:53:01 veth47468b4 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:54:01 lo 1.32 1.32 0.09 0.09 0.00 0.00 0.00 0.00 17:54:01 veth1903374 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:54:01 br-a485d87f4124 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:54:01 veth47468b4 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:55:01 lo 1.08 1.08 0.10 0.10 0.00 0.00 0.00 0.00 17:55:01 br-a485d87f4124 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:55:01 docker0 10.20 13.66 1.81 50.62 0.00 0.00 0.00 0.00 17:55:01 br-c57d5778e859 311.66 324.03 155.25 73.57 0.00 0.00 0.00 0.00 Average: lo 8.03 8.03 3.06 3.06 0.00 0.00 0.00 0.00 Average: br-a485d87f4124 0.00 0.01 0.00 0.00 0.00 0.00 0.00 0.00 Average: docker0 0.14 0.19 0.02 0.69 0.00 0.00 0.00 0.00 Average: br-c57d5778e859 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-3495) 11/23/23 _x86_64_ (8 CPU) 16:41:30 LINUX RESTART (8 CPU) 16:42:01 CPU %user %nice %system %iowait %steal %idle 16:43:01 all 11.77 0.00 0.97 2.70 0.04 84.52 16:43:01 0 2.42 0.00 0.35 0.05 0.02 97.17 16:43:01 1 6.79 0.00 0.45 0.23 0.02 92.51 16:43:01 2 5.59 0.00 0.43 0.60 0.03 93.34 16:43:01 3 12.92 0.00 1.29 7.62 0.05 78.13 16:43:01 4 14.22 0.00 1.07 1.52 0.03 83.16 16:43:01 5 35.80 0.00 2.34 2.79 0.07 59.01 16:43:01 6 6.74 0.00 0.82 8.66 0.07 83.71 16:43:01 7 9.64 0.00 0.95 0.10 0.03 89.28 16:44:01 all 9.48 0.00 1.04 3.11 0.04 86.33 16:44:01 0 2.66 0.00 0.67 0.02 0.00 96.66 16:44:01 1 11.63 0.00 1.23 0.88 0.03 86.21 16:44:01 2 2.51 0.00 0.59 0.32 0.03 96.55 16:44:01 3 7.72 0.00 0.79 0.20 0.02 91.28 16:44:01 4 13.48 0.00 1.32 4.00 0.02 81.19 16:44:01 5 1.96 0.00 1.00 7.19 0.07 89.78 16:44:01 6 20.63 0.00 1.60 12.10 0.05 65.61 16:44:01 7 15.28 0.00 1.14 0.15 0.03 83.40 16:45:01 all 10.00 0.00 3.79 5.38 0.06 80.78 16:45:01 0 11.02 0.00 3.60 0.64 0.07 84.67 16:45:01 1 9.62 0.00 4.08 1.96 0.07 84.27 16:45:01 2 7.92 0.00 2.95 2.36 0.05 86.72 16:45:01 3 9.85 0.00 4.38 1.62 0.07 84.09 16:45:01 4 9.80 0.00 3.11 2.94 0.07 84.09 16:45:01 5 11.60 0.00 5.04 22.78 0.09 60.50 16:45:01 6 8.30 0.00 3.26 10.07 0.05 78.32 16:45:01 7 11.86 0.00 3.88 0.74 0.07 83.45 16:46:01 all 2.42 0.00 0.83 1.38 0.04 95.34 16:46:01 0 2.18 0.00 1.28 0.20 0.03 96.30 16:46:01 1 2.15 0.00 0.94 0.23 0.03 96.64 16:46:01 2 5.35 0.00 0.77 0.07 0.05 93.77 16:46:01 3 2.99 0.00 0.73 0.08 0.02 96.18 16:46:01 4 1.93 0.00 0.73 0.20 0.05 97.08 16:46:01 5 2.56 0.00 0.62 0.05 0.03 96.74 16:46:01 6 1.02 0.00 0.70 10.01 0.05 88.22 16:46:01 7 1.17 0.00 0.90 0.20 0.02 97.71 16:47:01 all 0.34 0.00 0.13 1.27 0.02 98.25 16:47:01 0 0.40 0.00 0.13 0.00 0.02 99.45 16:47:01 1 0.35 0.00 0.20 0.00 0.00 99.45 16:47:01 2 0.17 0.00 0.07 0.02 0.03 99.72 16:47:01 3 0.33 0.00 0.07 0.00 0.00 99.60 16:47:01 4 0.82 0.00 0.15 0.02 0.02 99.00 16:47:01 5 0.27 0.00 0.12 0.02 0.02 99.58 16:47:01 6 0.10 0.00 0.05 9.99 0.00 89.85 16:47:01 7 0.27 0.00 0.20 0.10 0.02 99.42 16:48:01 all 0.09 0.00 0.04 1.34 0.03 98.51 16:48:01 0 0.05 0.00 0.02 0.00 0.00 99.93 16:48:01 1 0.10 0.00 0.07 0.00 0.02 99.82 16:48:01 2 0.18 0.00 0.10 0.00 0.08 99.63 16:48:01 3 0.00 0.00 0.02 0.00 0.02 99.97 16:48:01 4 0.07 0.00 0.02 0.00 0.02 99.90 16:48:01 5 0.18 0.00 0.05 0.00 0.07 99.70 16:48:01 6 0.00 0.00 0.02 10.73 0.00 89.26 16:48:01 7 0.08 0.00 0.02 0.00 0.02 99.88 16:49:01 all 3.87 0.00 1.76 0.34 0.06 93.98 16:49:01 0 5.30 0.00 1.89 0.15 0.03 92.63 16:49:01 1 2.71 0.00 1.72 0.08 0.07 95.41 16:49:01 2 2.19 0.00 1.72 0.10 0.08 95.90 16:49:01 3 2.38 0.00 1.68 0.25 0.05 95.64 16:49:01 4 3.10 0.00 1.83 0.30 0.05 94.73 16:49:01 5 6.71 0.00 1.71 0.27 0.05 91.26 16:49:01 6 3.93 0.00 1.86 0.57 0.05 93.59 16:49:01 7 4.62 0.00 1.65 0.94 0.05 92.74 16:50:01 all 0.66 0.00 0.16 0.03 0.02 99.13 16:50:01 0 0.35 0.00 0.12 0.05 0.02 99.47 16:50:01 1 0.30 0.00 0.12 0.00 0.00 99.58 16:50:01 2 0.57 0.00 0.28 0.00 0.02 99.13 16:50:01 3 0.35 0.00 0.10 0.00 0.02 99.53 16:50:01 4 0.87 0.00 0.23 0.02 0.02 98.87 16:50:01 5 0.25 0.00 0.13 0.18 0.02 99.42 16:50:01 6 0.32 0.00 0.13 0.00 0.03 99.52 16:50:01 7 2.25 0.00 0.15 0.00 0.03 97.57 16:51:01 all 0.42 0.00 0.04 0.00 0.02 99.52 16:51:01 0 0.52 0.00 0.03 0.00 0.02 99.43 16:51:01 1 0.03 0.00 0.02 0.00 0.02 99.93 16:51:01 2 0.18 0.00 0.02 0.00 0.05 99.75 16:51:01 3 0.20 0.00 0.03 0.00 0.05 99.72 16:51:01 4 0.13 0.00 0.05 0.03 0.05 99.73 16:51:01 5 0.17 0.00 0.05 0.00 0.02 99.77 16:51:01 6 0.08 0.00 0.05 0.00 0.02 99.85 16:51:01 7 2.02 0.00 0.03 0.00 0.00 97.95 16:52:01 all 3.63 0.00 1.74 0.31 0.05 94.26 16:52:01 0 6.23 0.00 1.74 0.52 0.05 91.46 16:52:01 1 2.28 0.00 1.61 0.67 0.05 95.39 16:52:01 2 4.02 0.00 1.71 0.28 0.07 93.92 16:52:01 3 3.89 0.00 1.84 0.13 0.03 94.10 16:52:01 4 3.97 0.00 1.59 0.12 0.05 94.27 16:52:01 5 2.10 0.00 1.74 0.13 0.03 95.99 16:52:01 6 2.47 0.00 2.01 0.17 0.05 95.30 16:52:01 7 4.04 0.00 1.76 0.48 0.05 93.67 16:53:01 all 0.46 0.00 0.18 0.03 0.01 99.31 16:53:01 0 0.37 0.00 0.15 0.00 0.02 99.47 16:53:01 1 0.27 0.00 0.15 0.00 0.00 99.58 16:53:01 2 0.20 0.00 0.17 0.02 0.02 99.60 16:53:01 3 0.87 0.00 0.07 0.22 0.02 98.83 16:53:01 4 0.23 0.00 0.18 0.00 0.02 99.57 16:53:01 5 0.27 0.00 0.15 0.00 0.02 99.57 16:53:01 6 1.07 0.00 0.38 0.00 0.02 98.53 16:53:01 7 0.49 0.00 0.20 0.02 0.02 99.28 16:53:01 CPU %user %nice %system %iowait %steal %idle 16:54:01 all 0.10 0.00 0.04 0.01 0.02 99.83 16:54:01 0 0.08 0.00 0.05 0.00 0.02 99.85 16:54:01 1 0.03 0.00 0.03 0.00 0.02 99.92 16:54:01 2 0.05 0.00 0.00 0.00 0.00 99.95 16:54:01 3 0.10 0.00 0.08 0.00 0.02 99.80 16:54:01 4 0.10 0.00 0.08 0.02 0.00 99.80 16:54:01 5 0.10 0.00 0.05 0.00 0.05 99.80 16:54:01 6 0.08 0.00 0.03 0.07 0.02 99.80 16:54:01 7 0.17 0.00 0.02 0.00 0.02 99.80 16:55:01 all 3.35 0.00 1.39 0.57 0.04 94.65 16:55:01 0 2.38 0.00 1.49 0.27 0.05 95.81 16:55:01 1 2.76 0.00 1.47 0.22 0.03 95.51 16:55:01 2 2.39 0.00 1.35 0.95 0.05 95.26 16:55:01 3 2.60 0.00 1.19 0.54 0.03 95.64 16:55:01 4 4.10 0.00 1.51 0.17 0.03 94.20 16:55:01 5 2.78 0.00 1.29 0.47 0.05 95.41 16:55:01 6 2.09 0.00 1.44 1.41 0.05 95.01 16:55:01 7 7.73 0.00 1.36 0.50 0.03 90.38 16:56:01 all 1.02 0.00 0.51 0.12 0.02 98.33 16:56:01 0 0.75 0.00 0.67 0.03 0.03 98.52 16:56:01 1 0.65 0.00 0.45 0.05 0.02 98.83 16:56:01 2 0.67 0.00 0.42 0.02 0.02 98.88 16:56:01 3 0.52 0.00 0.43 0.75 0.02 98.28 16:56:01 4 0.85 0.00 0.37 0.00 0.02 98.77 16:56:01 5 0.75 0.00 0.42 0.00 0.03 98.80 16:56:01 6 2.05 0.00 0.78 0.00 0.03 97.13 16:56:01 7 1.95 0.00 0.58 0.13 0.02 97.31 16:57:01 all 0.55 0.00 0.15 0.04 0.01 99.25 16:57:01 0 0.33 0.00 0.13 0.00 0.00 99.53 16:57:01 1 0.48 0.00 0.25 0.00 0.00 99.27 16:57:01 2 0.90 0.00 0.13 0.02 0.03 98.92 16:57:01 3 0.10 0.00 0.13 0.08 0.00 99.68 16:57:01 4 1.83 0.00 0.10 0.00 0.02 98.06 16:57:01 5 0.20 0.00 0.13 0.17 0.02 99.48 16:57:01 6 0.25 0.00 0.15 0.00 0.03 99.57 16:57:01 7 0.25 0.00 0.15 0.03 0.02 99.55 16:58:01 all 0.31 0.00 0.22 0.05 0.03 99.39 16:58:01 0 0.15 0.00 0.23 0.05 0.02 99.55 16:58:01 1 0.20 0.00 0.15 0.00 0.02 99.63 16:58:01 2 0.13 0.00 0.20 0.10 0.00 99.57 16:58:01 3 0.22 0.00 0.20 0.17 0.00 99.42 16:58:01 4 1.15 0.00 0.22 0.02 0.07 98.55 16:58:01 5 0.23 0.00 0.30 0.03 0.03 99.40 16:58:01 6 0.27 0.00 0.25 0.03 0.07 99.38 16:58:01 7 0.18 0.00 0.22 0.02 0.02 99.57 16:59:01 all 4.01 0.00 1.56 0.38 0.05 94.01 16:59:01 0 4.06 0.00 1.69 0.15 0.05 94.05 16:59:01 1 4.42 0.00 1.49 0.80 0.05 93.23 16:59:01 2 3.56 0.00 1.41 0.55 0.05 94.42 16:59:01 3 4.18 0.00 1.52 0.64 0.05 93.61 16:59:01 4 2.78 0.00 1.56 0.20 0.07 95.39 16:59:01 5 5.13 0.00 1.44 0.23 0.05 93.15 16:59:01 6 4.11 0.00 1.68 0.25 0.07 93.90 16:59:01 7 3.78 0.00 1.64 0.18 0.05 94.34 17:00:01 all 0.42 0.00 0.20 0.02 0.01 99.34 17:00:01 0 0.25 0.00 0.15 0.00 0.02 99.58 17:00:01 1 0.22 0.00 0.23 0.07 0.03 99.45 17:00:01 2 0.42 0.00 0.20 0.00 0.02 99.36 17:00:01 3 0.53 0.00 0.15 0.07 0.00 99.25 17:00:01 4 0.33 0.00 0.22 0.02 0.02 99.42 17:00:01 5 0.15 0.00 0.12 0.00 0.02 99.72 17:00:01 6 0.99 0.00 0.30 0.00 0.00 98.71 17:00:01 7 0.50 0.00 0.25 0.00 0.02 99.23 17:01:01 all 0.19 0.00 0.05 0.02 0.02 99.73 17:01:01 0 0.08 0.00 0.05 0.00 0.00 99.87 17:01:01 1 0.08 0.00 0.07 0.10 0.02 99.73 17:01:01 2 0.93 0.00 0.03 0.00 0.02 99.02 17:01:01 3 0.05 0.00 0.05 0.00 0.02 99.88 17:01:01 4 0.08 0.00 0.02 0.08 0.00 99.82 17:01:01 5 0.18 0.00 0.07 0.00 0.03 99.72 17:01:01 6 0.02 0.00 0.02 0.00 0.00 99.97 17:01:01 7 0.10 0.00 0.07 0.00 0.05 99.78 17:02:01 all 4.07 0.00 1.71 0.39 0.05 93.78 17:02:01 0 4.53 0.00 1.88 0.57 0.07 92.96 17:02:01 1 3.43 0.00 1.84 0.65 0.07 94.01 17:02:01 2 7.82 0.00 1.80 0.12 0.05 90.21 17:02:01 3 3.23 0.00 1.61 0.15 0.05 94.96 17:02:01 4 2.79 0.00 1.66 0.70 0.07 94.78 17:02:01 5 4.87 0.00 1.76 0.62 0.05 92.70 17:02:01 6 3.35 0.00 1.63 0.18 0.05 94.79 17:02:01 7 2.45 0.00 1.49 0.13 0.05 95.87 17:03:01 all 0.71 0.00 0.16 0.01 0.02 99.10 17:03:01 0 2.12 0.00 0.10 0.00 0.02 97.77 17:03:01 1 0.40 0.00 0.18 0.05 0.00 99.37 17:03:01 2 0.87 0.00 0.15 0.00 0.03 98.95 17:03:01 3 0.22 0.00 0.15 0.00 0.02 99.62 17:03:01 4 1.02 0.00 0.27 0.00 0.03 98.68 17:03:01 5 0.50 0.00 0.22 0.03 0.00 99.25 17:03:01 6 0.32 0.00 0.13 0.00 0.02 99.53 17:03:01 7 0.25 0.00 0.12 0.00 0.02 99.62 17:04:01 all 0.07 0.00 0.04 0.03 0.01 99.84 17:04:01 0 0.05 0.00 0.02 0.00 0.00 99.93 17:04:01 1 0.05 0.00 0.02 0.18 0.00 99.75 17:04:01 2 0.07 0.00 0.07 0.08 0.03 99.75 17:04:01 3 0.05 0.00 0.03 0.00 0.00 99.92 17:04:01 4 0.08 0.00 0.05 0.00 0.00 99.87 17:04:01 5 0.08 0.00 0.05 0.00 0.03 99.83 17:04:01 6 0.10 0.00 0.07 0.00 0.00 99.83 17:04:01 7 0.07 0.00 0.03 0.00 0.00 99.90 17:04:01 CPU %user %nice %system %iowait %steal %idle 17:05:01 all 2.79 0.00 1.49 1.66 0.05 94.01 17:05:01 0 2.24 0.00 1.58 0.25 0.07 95.86 17:05:01 1 3.01 0.00 1.34 4.02 0.05 91.58 17:05:01 2 2.99 0.00 1.36 2.28 0.05 93.32 17:05:01 3 3.06 0.00 1.62 1.99 0.05 93.27 17:05:01 4 3.05 0.00 1.46 0.82 0.05 94.63 17:05:01 5 2.09 0.00 1.62 1.07 0.08 95.14 17:05:01 6 3.54 0.00 1.47 0.60 0.03 94.35 17:05:01 7 2.30 0.00 1.46 2.26 0.05 93.93 17:06:01 all 1.03 0.00 0.41 0.54 0.02 98.00 17:06:01 0 0.59 0.00 0.57 0.30 0.02 98.53 17:06:01 1 1.99 0.00 0.30 0.00 0.02 97.70 17:06:01 2 1.57 0.00 0.38 1.15 0.03 96.87 17:06:01 3 0.50 0.00 0.27 0.00 0.02 99.22 17:06:01 4 0.50 0.00 0.52 0.00 0.03 98.95 17:06:01 5 1.67 0.00 0.53 0.00 0.02 97.78 17:06:01 6 1.15 0.00 0.33 0.60 0.02 97.90 17:06:01 7 0.33 0.00 0.37 2.30 0.03 96.96 17:07:01 all 0.36 0.00 0.11 0.09 0.01 99.41 17:07:01 0 0.98 0.00 0.13 0.00 0.02 98.87 17:07:01 1 0.67 0.00 0.13 0.00 0.00 99.20 17:07:01 2 0.12 0.00 0.15 0.23 0.00 99.50 17:07:01 3 0.15 0.00 0.10 0.10 0.02 99.63 17:07:01 4 0.22 0.00 0.10 0.18 0.03 99.47 17:07:01 5 0.17 0.00 0.05 0.00 0.02 99.77 17:07:01 6 0.10 0.00 0.03 0.00 0.00 99.87 17:07:01 7 0.48 0.00 0.20 0.23 0.02 99.07 17:08:01 all 0.23 0.00 0.26 0.06 0.03 99.42 17:08:01 0 0.25 0.00 0.29 0.00 0.08 99.38 17:08:01 1 0.23 0.00 0.33 0.02 0.02 99.40 17:08:01 2 0.28 0.00 0.28 0.02 0.02 99.40 17:08:01 3 0.30 0.00 0.30 0.07 0.00 99.33 17:08:01 4 0.23 0.00 0.28 0.07 0.02 99.40 17:08:01 5 0.13 0.00 0.18 0.00 0.02 99.67 17:08:01 6 0.13 0.00 0.17 0.12 0.00 99.58 17:08:01 7 0.27 0.00 0.28 0.22 0.02 99.22 17:09:01 all 4.20 0.00 1.54 0.68 0.05 93.53 17:09:01 0 2.07 0.00 1.71 0.00 0.05 96.17 17:09:01 1 6.44 0.00 1.47 0.40 0.05 91.64 17:09:01 2 3.12 0.00 1.54 2.20 0.05 93.09 17:09:01 3 3.78 0.00 1.38 0.46 0.05 94.33 17:09:01 4 5.64 0.00 1.62 0.22 0.05 92.47 17:09:01 5 3.66 0.00 1.64 0.15 0.02 94.53 17:09:01 6 4.79 0.00 1.46 1.24 0.08 92.43 17:09:01 7 4.14 0.00 1.51 0.75 0.07 93.53 17:10:01 all 0.52 0.00 0.17 0.02 0.02 99.27 17:10:01 0 0.25 0.00 0.18 0.00 0.02 99.55 17:10:01 1 0.38 0.00 0.23 0.02 0.02 99.35 17:10:01 2 0.27 0.00 0.18 0.13 0.07 99.35 17:10:01 3 1.45 0.00 0.12 0.05 0.02 98.36 17:10:01 4 0.28 0.00 0.17 0.00 0.00 99.55 17:10:01 5 0.25 0.00 0.12 0.02 0.02 99.60 17:10:01 6 0.42 0.00 0.18 0.00 0.00 99.40 17:10:01 7 0.85 0.00 0.15 0.00 0.02 98.98 17:11:01 all 0.32 0.00 0.04 0.00 0.02 99.63 17:11:01 0 0.03 0.00 0.02 0.00 0.00 99.95 17:11:01 1 0.05 0.00 0.03 0.00 0.03 99.88 17:11:01 2 0.08 0.00 0.05 0.02 0.02 99.83 17:11:01 3 2.00 0.00 0.02 0.00 0.00 97.98 17:11:01 4 0.03 0.00 0.03 0.00 0.02 99.92 17:11:01 5 0.15 0.00 0.05 0.00 0.03 99.77 17:11:01 6 0.08 0.00 0.05 0.00 0.03 99.83 17:11:01 7 0.07 0.00 0.05 0.00 0.00 99.88 17:12:01 all 3.64 0.00 1.78 0.48 0.05 94.06 17:12:01 0 5.35 0.00 1.98 0.02 0.03 92.61 17:12:01 1 2.69 0.00 1.81 1.02 0.05 94.43 17:12:01 2 3.02 0.00 2.25 0.30 0.05 94.38 17:12:01 3 5.54 0.00 2.00 0.22 0.03 92.20 17:12:01 4 3.10 0.00 1.52 0.85 0.05 94.47 17:12:01 5 3.44 0.00 1.68 0.37 0.05 94.46 17:12:01 6 2.90 0.00 1.41 0.07 0.03 95.58 17:12:01 7 3.05 0.00 1.59 0.92 0.05 94.38 17:13:01 all 0.44 0.00 0.16 0.01 0.01 99.38 17:13:01 0 0.23 0.00 0.13 0.00 0.03 99.60 17:13:01 1 0.88 0.00 0.27 0.00 0.02 98.83 17:13:01 2 1.20 0.00 0.25 0.00 0.02 98.53 17:13:01 3 0.43 0.00 0.22 0.03 0.02 99.30 17:13:01 4 0.10 0.00 0.10 0.02 0.00 99.78 17:13:01 5 0.18 0.00 0.13 0.00 0.02 99.67 17:13:01 6 0.23 0.00 0.12 0.00 0.02 99.63 17:13:01 7 0.25 0.00 0.10 0.00 0.02 99.63 17:14:01 all 0.18 0.00 0.05 0.00 0.01 99.76 17:14:01 0 0.12 0.00 0.08 0.02 0.03 99.75 17:14:01 1 0.08 0.00 0.05 0.00 0.00 99.87 17:14:01 2 0.08 0.00 0.10 0.00 0.00 99.82 17:14:01 3 0.05 0.00 0.03 0.00 0.00 99.92 17:14:01 4 0.05 0.00 0.00 0.02 0.02 99.92 17:14:01 5 0.07 0.00 0.05 0.00 0.00 99.88 17:14:01 6 0.93 0.00 0.03 0.00 0.03 99.00 17:14:01 7 0.08 0.00 0.03 0.00 0.00 99.88 17:15:01 all 3.92 0.00 1.58 1.00 0.06 93.45 17:15:01 0 2.69 0.00 1.99 0.65 0.07 94.60 17:15:01 1 4.51 0.00 1.47 0.47 0.07 93.48 17:15:01 2 2.16 0.00 1.52 0.49 0.07 95.76 17:15:01 3 4.70 0.00 1.59 0.53 0.07 93.11 17:15:01 4 4.21 0.00 1.55 3.11 0.05 91.08 17:15:01 5 2.43 0.00 1.48 1.44 0.08 94.56 17:15:01 6 5.11 0.00 1.59 0.42 0.07 92.81 17:15:01 7 5.50 0.00 1.41 0.84 0.05 92.21 17:15:01 CPU %user %nice %system %iowait %steal %idle 17:16:01 all 0.85 0.00 0.36 0.04 0.02 98.73 17:16:01 0 0.52 0.00 0.33 0.02 0.00 99.13 17:16:01 1 0.42 0.00 0.23 0.00 0.02 99.33 17:16:01 2 1.08 0.00 0.25 0.02 0.02 98.63 17:16:01 3 0.63 0.00 0.45 0.35 0.02 98.55 17:16:01 4 1.82 0.00 0.65 0.00 0.02 97.51 17:16:01 5 0.65 0.00 0.35 0.00 0.03 98.97 17:16:01 6 1.11 0.00 0.23 0.00 0.02 98.64 17:16:01 7 0.58 0.00 0.35 0.00 0.00 99.07 17:17:01 all 0.29 0.00 0.04 0.01 0.01 99.65 17:17:01 0 0.15 0.00 0.08 0.00 0.02 99.75 17:17:01 1 0.08 0.00 0.05 0.00 0.00 99.87 17:17:01 2 0.12 0.00 0.05 0.00 0.02 99.82 17:17:01 3 0.08 0.00 0.02 0.05 0.02 99.83 17:17:01 4 0.07 0.00 0.02 0.00 0.00 99.92 17:17:01 5 0.07 0.00 0.05 0.00 0.00 99.88 17:17:01 6 1.60 0.00 0.03 0.00 0.02 98.35 17:17:01 7 0.12 0.00 0.03 0.00 0.03 99.82 17:18:01 all 0.69 0.00 0.57 0.07 0.03 98.63 17:18:01 0 0.50 0.00 0.57 0.03 0.00 98.90 17:18:01 1 0.75 0.00 0.52 0.03 0.12 98.58 17:18:01 2 0.40 0.00 0.53 0.05 0.02 99.00 17:18:01 3 0.67 0.00 0.60 0.32 0.02 98.40 17:18:01 4 0.40 0.00 0.52 0.05 0.00 99.03 17:18:01 5 0.43 0.00 0.60 0.00 0.02 98.95 17:18:01 6 1.48 0.00 0.51 0.05 0.02 97.94 17:18:01 7 0.92 0.00 0.67 0.03 0.03 98.35 17:19:01 all 3.69 0.00 1.15 0.19 0.04 94.93 17:19:01 0 2.39 0.00 1.17 0.08 0.05 96.31 17:19:01 1 2.72 0.00 1.30 0.07 0.03 95.87 17:19:01 2 3.12 0.00 1.47 0.30 0.03 95.07 17:19:01 3 6.07 0.00 1.17 0.15 0.03 92.57 17:19:01 4 5.49 0.00 0.99 0.07 0.03 93.43 17:19:01 5 4.68 0.00 1.05 0.05 0.03 94.18 17:19:01 6 1.94 0.00 1.06 0.67 0.03 96.30 17:19:01 7 3.09 0.00 1.02 0.17 0.03 95.69 17:20:01 all 0.37 0.00 0.16 0.01 0.01 99.44 17:20:01 0 0.28 0.00 0.13 0.07 0.02 99.50 17:20:01 1 0.50 0.00 0.18 0.00 0.00 99.32 17:20:01 2 0.27 0.00 0.13 0.00 0.02 99.58 17:20:01 3 0.43 0.00 0.18 0.00 0.02 99.37 17:20:01 4 0.33 0.00 0.13 0.03 0.02 99.48 17:20:01 5 0.12 0.00 0.07 0.02 0.00 99.80 17:20:01 6 0.23 0.00 0.13 0.00 0.02 99.62 17:20:01 7 0.82 0.00 0.28 0.00 0.03 98.87 17:21:01 all 0.07 0.00 0.04 0.01 0.02 99.86 17:21:01 0 0.05 0.00 0.03 0.07 0.02 99.83 17:21:01 1 0.03 0.00 0.02 0.00 0.02 99.93 17:21:01 2 0.12 0.00 0.03 0.00 0.03 99.82 17:21:01 3 0.07 0.00 0.05 0.00 0.00 99.88 17:21:01 4 0.05 0.00 0.03 0.00 0.00 99.92 17:21:01 5 0.05 0.00 0.02 0.00 0.03 99.90 17:21:01 6 0.10 0.00 0.07 0.00 0.03 99.80 17:21:01 7 0.08 0.00 0.05 0.00 0.03 99.83 17:22:01 all 3.81 0.00 1.67 0.71 0.05 93.76 17:22:01 0 3.17 0.00 1.84 1.32 0.07 93.61 17:22:01 1 3.43 0.00 1.61 0.94 0.03 93.99 17:22:01 2 5.76 0.00 1.76 0.87 0.05 91.55 17:22:01 3 3.57 0.00 1.66 0.28 0.05 94.44 17:22:01 4 2.95 0.00 1.73 0.87 0.05 94.40 17:22:01 5 2.61 0.00 1.69 0.55 0.03 95.12 17:22:01 6 6.17 0.00 1.56 0.42 0.05 91.80 17:22:01 7 2.83 0.00 1.56 0.45 0.05 95.11 17:23:01 all 0.72 0.00 0.19 0.01 0.02 99.06 17:23:01 0 0.58 0.00 0.20 0.02 0.05 99.15 17:23:01 1 0.50 0.00 0.20 0.03 0.02 99.25 17:23:01 2 1.63 0.00 0.15 0.00 0.02 98.20 17:23:01 3 0.38 0.00 0.17 0.00 0.00 99.45 17:23:01 4 0.90 0.00 0.18 0.00 0.02 98.90 17:23:01 5 0.53 0.00 0.25 0.03 0.02 99.17 17:23:01 6 0.95 0.00 0.18 0.00 0.02 98.85 17:23:01 7 0.27 0.00 0.15 0.02 0.02 99.55 17:24:01 all 0.08 0.00 0.06 0.01 0.01 99.84 17:24:01 0 0.08 0.00 0.03 0.10 0.02 99.77 17:24:01 1 0.05 0.00 0.05 0.00 0.00 99.90 17:24:01 2 0.10 0.00 0.07 0.00 0.02 99.82 17:24:01 3 0.07 0.00 0.07 0.00 0.02 99.85 17:24:01 4 0.08 0.00 0.05 0.02 0.02 99.83 17:24:01 5 0.05 0.00 0.02 0.00 0.00 99.93 17:24:01 6 0.13 0.00 0.10 0.00 0.03 99.73 17:24:01 7 0.07 0.00 0.05 0.00 0.00 99.88 17:25:01 all 3.83 0.00 1.63 1.76 0.06 92.72 17:25:01 0 2.96 0.00 1.84 4.27 0.03 90.90 17:25:01 1 4.19 0.00 1.43 1.49 0.05 92.84 17:25:01 2 4.66 0.00 1.47 1.62 0.03 92.21 17:25:01 3 4.43 0.00 1.56 1.34 0.05 92.62 17:25:01 4 5.78 0.00 1.76 1.62 0.07 90.77 17:25:01 5 3.30 0.00 1.64 0.59 0.03 94.43 17:25:01 6 3.45 0.00 1.73 2.32 0.10 92.40 17:25:01 7 1.91 0.00 1.62 0.77 0.03 95.66 17:26:02 all 0.81 0.00 0.40 0.06 0.02 98.70 17:26:02 0 0.52 0.00 0.32 0.00 0.02 99.15 17:26:02 1 0.43 0.00 0.27 0.03 0.03 99.23 17:26:02 2 0.35 0.00 0.28 0.18 0.02 99.17 17:26:02 3 1.19 0.00 0.42 0.00 0.02 98.38 17:26:02 4 1.88 0.00 0.77 0.00 0.03 97.31 17:26:02 5 1.15 0.00 0.45 0.27 0.02 98.12 17:26:02 6 0.48 0.00 0.30 0.03 0.02 99.17 17:26:02 7 0.50 0.00 0.45 0.00 0.02 99.03 17:26:02 CPU %user %nice %system %iowait %steal %idle 17:27:01 all 0.22 0.00 0.04 0.00 0.01 99.72 17:27:01 0 0.17 0.00 0.10 0.00 0.00 99.73 17:27:01 1 0.94 0.00 0.05 0.02 0.02 98.97 17:27:01 2 0.05 0.00 0.02 0.02 0.02 99.90 17:27:01 3 0.05 0.00 0.02 0.00 0.02 99.92 17:27:01 4 0.08 0.00 0.05 0.00 0.02 99.85 17:27:01 5 0.29 0.00 0.05 0.02 0.02 99.63 17:27:01 6 0.10 0.00 0.03 0.00 0.03 99.83 17:27:01 7 0.05 0.00 0.03 0.00 0.00 99.92 17:28:01 all 0.72 0.00 0.59 0.26 0.03 98.40 17:28:01 0 0.95 0.00 0.63 0.02 0.02 98.38 17:28:01 1 1.43 0.00 0.62 0.17 0.03 97.75 17:28:01 2 0.63 0.00 0.60 1.30 0.02 97.44 17:28:01 3 0.45 0.00 0.57 0.12 0.02 98.85 17:28:01 4 0.67 0.00 0.58 0.03 0.05 98.66 17:28:01 5 0.47 0.00 0.58 0.23 0.03 98.68 17:28:01 6 0.58 0.00 0.58 0.17 0.02 98.65 17:28:01 7 0.50 0.00 0.58 0.00 0.07 98.85 17:29:01 all 3.24 0.00 1.31 0.69 0.04 94.73 17:29:01 0 1.79 0.00 1.26 1.19 0.05 95.71 17:29:01 1 1.96 0.00 1.39 0.27 0.03 96.34 17:29:01 2 4.16 0.00 1.32 0.57 0.05 93.90 17:29:01 3 3.94 0.00 1.72 0.32 0.03 93.99 17:29:01 4 3.41 0.00 1.19 0.87 0.07 94.47 17:29:01 5 2.26 0.00 1.12 1.49 0.02 95.11 17:29:01 6 2.07 0.00 1.49 0.77 0.03 95.64 17:29:01 7 6.33 0.00 0.92 0.05 0.03 92.66 17:30:01 all 0.56 0.00 0.18 0.02 0.01 99.22 17:30:01 0 0.87 0.00 0.23 0.00 0.02 98.88 17:30:01 1 1.92 0.00 0.16 0.02 0.00 97.90 17:30:01 2 0.18 0.00 0.10 0.00 0.02 99.70 17:30:01 3 0.22 0.00 0.13 0.02 0.00 99.63 17:30:01 4 0.32 0.00 0.22 0.12 0.02 99.33 17:30:01 5 0.42 0.00 0.20 0.02 0.02 99.35 17:30:01 6 0.28 0.00 0.20 0.00 0.02 99.50 17:30:01 7 0.27 0.00 0.18 0.00 0.02 99.53 17:31:01 all 0.12 0.00 0.05 0.01 0.02 99.80 17:31:01 0 0.08 0.00 0.05 0.00 0.02 99.85 17:31:01 1 0.37 0.00 0.05 0.00 0.02 99.57 17:31:01 2 0.03 0.00 0.03 0.00 0.02 99.92 17:31:01 3 0.03 0.00 0.03 0.02 0.02 99.90 17:31:01 4 0.12 0.00 0.03 0.00 0.03 99.82 17:31:01 5 0.05 0.00 0.02 0.08 0.00 99.85 17:31:01 6 0.13 0.00 0.05 0.00 0.02 99.80 17:31:01 7 0.17 0.00 0.13 0.00 0.07 99.63 17:32:01 all 4.49 0.00 1.69 0.30 0.05 93.47 17:32:01 0 4.99 0.00 1.62 0.15 0.03 93.20 17:32:01 1 6.03 0.00 1.69 0.60 0.03 91.64 17:32:01 2 6.34 0.00 1.81 0.17 0.03 91.66 17:32:01 3 2.72 0.00 1.75 0.45 0.05 95.03 17:32:01 4 4.60 0.00 2.01 0.29 0.05 93.05 17:32:01 5 6.32 0.00 1.49 0.57 0.07 91.56 17:32:01 6 2.78 0.00 1.69 0.10 0.05 95.37 17:32:01 7 2.13 0.00 1.49 0.08 0.05 96.24 17:33:01 all 0.43 0.00 0.17 0.01 0.01 99.38 17:33:01 0 0.25 0.00 0.12 0.02 0.02 99.60 17:33:01 1 0.37 0.00 0.25 0.00 0.03 99.35 17:33:01 2 0.78 0.00 0.15 0.00 0.02 99.05 17:33:01 3 0.27 0.00 0.12 0.03 0.02 99.57 17:33:01 4 0.10 0.00 0.10 0.00 0.00 99.80 17:33:01 5 0.25 0.00 0.13 0.00 0.02 99.60 17:33:01 6 1.13 0.00 0.35 0.00 0.00 98.52 17:33:01 7 0.27 0.00 0.17 0.00 0.00 99.57 17:34:01 all 0.15 0.00 0.04 0.03 0.01 99.76 17:34:01 0 0.57 0.00 0.03 0.00 0.00 99.40 17:34:01 1 0.10 0.00 0.03 0.02 0.02 99.83 17:34:01 2 0.05 0.00 0.02 0.00 0.00 99.93 17:34:01 3 0.05 0.00 0.03 0.25 0.02 99.65 17:34:01 4 0.05 0.00 0.02 0.00 0.02 99.92 17:34:01 5 0.12 0.00 0.03 0.00 0.00 99.85 17:34:01 6 0.10 0.00 0.03 0.00 0.02 99.85 17:34:01 7 0.17 0.00 0.07 0.00 0.05 99.72 17:35:01 all 4.24 0.00 1.65 0.60 0.04 93.46 17:35:01 0 3.00 0.00 1.69 0.34 0.03 94.94 17:35:01 1 3.50 0.00 1.81 0.22 0.03 94.44 17:35:01 2 3.36 0.00 1.77 1.34 0.07 93.46 17:35:01 3 4.61 0.00 1.72 0.84 0.03 92.79 17:35:01 4 5.35 0.00 1.49 0.20 0.03 92.92 17:35:01 5 4.54 0.00 1.54 0.72 0.03 93.17 17:35:01 6 5.63 0.00 1.61 0.72 0.08 91.95 17:35:01 7 3.96 0.00 1.59 0.42 0.02 94.01 17:36:01 all 0.46 0.00 0.17 0.03 0.01 99.33 17:36:01 0 0.18 0.00 0.08 0.00 0.03 99.70 17:36:01 1 0.32 0.00 0.17 0.05 0.02 99.45 17:36:01 2 0.38 0.00 0.15 0.00 0.02 99.45 17:36:01 3 1.03 0.00 0.30 0.00 0.02 98.65 17:36:01 4 0.38 0.00 0.18 0.02 0.02 99.40 17:36:01 5 0.27 0.00 0.17 0.10 0.02 99.45 17:36:01 6 0.83 0.00 0.13 0.05 0.00 98.98 17:36:01 7 0.25 0.00 0.10 0.07 0.03 99.55 17:37:01 all 0.13 0.00 0.06 0.01 0.01 99.79 17:37:01 0 0.08 0.00 0.03 0.00 0.00 99.88 17:37:01 1 0.22 0.00 0.10 0.00 0.02 99.67 17:37:01 2 0.08 0.00 0.05 0.00 0.02 99.85 17:37:01 3 0.17 0.00 0.08 0.00 0.00 99.75 17:37:01 4 0.07 0.00 0.10 0.00 0.00 99.83 17:37:01 5 0.08 0.00 0.07 0.00 0.02 99.83 17:37:01 6 0.13 0.00 0.05 0.08 0.02 99.72 17:37:01 7 0.15 0.00 0.05 0.02 0.00 99.78 17:37:01 CPU %user %nice %system %iowait %steal %idle 17:38:01 all 3.02 0.00 1.32 1.30 0.05 94.30 17:38:01 0 1.92 0.00 1.37 1.05 0.03 95.62 17:38:01 1 3.08 0.00 1.36 1.71 0.10 93.76 17:38:01 2 2.86 0.00 1.29 0.92 0.03 94.90 17:38:01 3 3.79 0.00 1.25 1.20 0.03 93.72 17:38:01 4 3.57 0.00 1.32 1.64 0.03 93.43 17:38:01 5 3.26 0.00 1.40 0.85 0.03 94.46 17:38:01 6 3.41 0.00 1.26 0.80 0.07 94.46 17:38:01 7 2.31 0.00 1.34 2.26 0.05 94.04 17:39:01 all 1.50 0.00 0.48 0.10 0.02 97.91 17:39:01 0 0.50 0.00 0.47 0.28 0.02 98.73 17:39:01 1 1.37 0.00 0.33 0.00 0.02 98.28 17:39:01 2 1.02 0.00 0.38 0.00 0.02 98.58 17:39:01 3 4.21 0.00 0.42 0.00 0.03 95.34 17:39:01 4 0.78 0.00 0.38 0.02 0.02 98.80 17:39:01 5 0.93 0.00 0.52 0.03 0.02 98.50 17:39:01 6 2.32 0.00 0.68 0.08 0.03 96.88 17:39:01 7 0.87 0.00 0.58 0.35 0.02 98.18 17:40:01 all 0.34 0.00 0.14 0.01 0.01 99.50 17:40:01 0 0.47 0.00 0.25 0.00 0.00 99.28 17:40:01 1 0.85 0.00 0.22 0.00 0.03 98.90 17:40:01 2 0.50 0.00 0.13 0.00 0.02 99.35 17:40:01 3 0.18 0.00 0.12 0.00 0.00 99.70 17:40:01 4 0.17 0.00 0.10 0.02 0.02 99.70 17:40:01 5 0.13 0.00 0.08 0.00 0.00 99.78 17:40:01 6 0.23 0.00 0.07 0.00 0.00 99.70 17:40:01 7 0.22 0.00 0.13 0.05 0.02 99.58 17:41:01 all 0.17 0.00 0.20 0.14 0.02 99.47 17:41:01 0 0.08 0.00 0.13 0.10 0.02 99.67 17:41:01 1 0.30 0.00 0.30 0.28 0.08 99.03 17:41:01 2 0.18 0.00 0.23 0.12 0.02 99.45 17:41:01 3 0.18 0.00 0.32 0.50 0.02 98.98 17:41:01 4 0.18 0.00 0.17 0.02 0.02 99.62 17:41:01 5 0.12 0.00 0.17 0.00 0.02 99.70 17:41:01 6 0.20 0.00 0.13 0.00 0.02 99.65 17:41:01 7 0.07 0.00 0.15 0.10 0.00 99.68 17:42:01 all 3.89 0.00 1.62 0.76 0.04 93.69 17:42:01 0 2.94 0.00 1.67 0.20 0.02 95.17 17:42:01 1 2.16 0.00 1.74 0.84 0.02 95.25 17:42:01 2 3.71 0.00 1.67 0.17 0.03 94.42 17:42:01 3 4.39 0.00 1.39 3.54 0.05 90.63 17:42:01 4 3.48 0.00 1.67 0.23 0.03 94.58 17:42:01 5 3.78 0.00 1.46 0.39 0.05 94.32 17:42:01 6 7.05 0.00 1.61 0.15 0.03 91.16 17:42:01 7 3.62 0.00 1.78 0.59 0.03 93.98 17:43:01 all 0.38 0.00 0.15 0.01 0.01 99.44 17:43:01 0 0.28 0.00 0.12 0.00 0.02 99.58 17:43:01 1 0.25 0.00 0.12 0.00 0.02 99.62 17:43:01 2 0.67 0.00 0.15 0.00 0.03 99.15 17:43:01 3 0.33 0.00 0.22 0.00 0.02 99.43 17:43:01 4 0.37 0.00 0.15 0.08 0.02 99.38 17:43:01 5 0.47 0.00 0.20 0.00 0.02 99.32 17:43:01 6 0.25 0.00 0.08 0.02 0.02 99.63 17:43:01 7 0.43 0.00 0.15 0.00 0.02 99.40 17:44:01 all 0.08 0.00 0.04 0.01 0.02 99.86 17:44:01 0 0.03 0.00 0.02 0.00 0.00 99.95 17:44:01 1 0.02 0.00 0.02 0.00 0.02 99.95 17:44:01 2 0.03 0.00 0.05 0.00 0.03 99.88 17:44:01 3 0.18 0.00 0.12 0.00 0.08 99.62 17:44:01 4 0.08 0.00 0.03 0.02 0.00 99.87 17:44:01 5 0.12 0.00 0.08 0.02 0.02 99.77 17:44:01 6 0.07 0.00 0.03 0.00 0.02 99.88 17:44:01 7 0.07 0.00 0.00 0.00 0.00 99.93 17:45:01 all 3.56 0.00 1.79 0.96 0.08 93.61 17:45:01 0 3.72 0.00 1.86 0.75 0.05 93.62 17:45:01 1 3.13 0.00 1.99 0.69 0.07 94.13 17:45:01 2 5.89 0.00 1.61 0.82 0.07 91.62 17:45:01 3 3.27 0.00 1.64 0.82 0.08 94.18 17:45:01 4 2.92 0.00 1.73 3.79 0.07 91.49 17:45:01 5 3.28 0.00 1.88 0.42 0.12 94.30 17:45:01 6 2.95 0.00 1.68 0.10 0.08 95.19 17:45:01 7 3.35 0.00 1.93 0.32 0.07 94.34 17:46:01 all 0.44 0.00 0.19 0.33 0.02 99.02 17:46:01 0 1.15 0.00 0.40 0.00 0.05 98.40 17:46:01 1 0.32 0.00 0.18 0.00 0.02 99.48 17:46:01 2 0.27 0.00 0.18 0.32 0.02 99.21 17:46:01 3 0.87 0.00 0.18 0.00 0.02 98.93 17:46:01 4 0.20 0.00 0.15 1.80 0.02 97.83 17:46:01 5 0.33 0.00 0.15 0.00 0.03 99.48 17:46:01 6 0.30 0.00 0.15 0.47 0.02 99.07 17:46:01 7 0.13 0.00 0.07 0.00 0.02 99.78 17:47:01 all 0.26 0.00 0.05 0.01 0.01 99.67 17:47:01 0 0.10 0.00 0.07 0.00 0.03 99.80 17:47:01 1 0.02 0.00 0.03 0.00 0.00 99.95 17:47:01 2 1.55 0.00 0.07 0.00 0.02 98.37 17:47:01 3 0.02 0.00 0.07 0.00 0.00 99.92 17:47:01 4 0.08 0.00 0.02 0.08 0.02 99.80 17:47:01 5 0.13 0.00 0.07 0.00 0.00 99.80 17:47:01 6 0.08 0.00 0.03 0.02 0.02 99.85 17:47:01 7 0.05 0.00 0.03 0.00 0.00 99.92 17:48:01 all 2.92 0.00 1.37 1.50 0.05 94.17 17:48:01 0 4.25 0.00 1.64 0.77 0.07 93.28 17:48:01 1 2.14 0.00 1.39 3.89 0.05 92.54 17:48:01 2 3.22 0.00 1.10 1.16 0.05 94.47 17:48:01 3 1.66 0.00 1.42 0.40 0.05 96.47 17:48:01 4 1.51 0.00 1.42 2.18 0.05 94.85 17:48:01 5 2.95 0.00 1.24 0.72 0.05 95.05 17:48:01 6 3.99 0.00 1.32 1.60 0.05 93.03 17:48:01 7 3.61 0.00 1.45 1.25 0.05 93.63 17:48:01 CPU %user %nice %system %iowait %steal %idle 17:49:01 all 1.48 0.00 0.53 0.04 0.02 97.92 17:49:01 0 0.72 0.00 0.57 0.02 0.02 98.68 17:49:01 1 1.12 0.00 0.47 0.12 0.02 98.28 17:49:01 2 1.70 0.00 0.75 0.12 0.02 97.42 17:49:01 3 1.74 0.00 0.55 0.00 0.03 97.68 17:49:01 4 0.65 0.00 0.47 0.02 0.03 98.83 17:49:01 5 0.88 0.00 0.55 0.00 0.02 98.55 17:49:01 6 2.03 0.00 0.53 0.02 0.02 97.40 17:49:01 7 3.02 0.00 0.37 0.03 0.02 96.56 17:50:01 all 0.32 0.00 0.15 0.04 0.01 99.48 17:50:01 0 0.17 0.00 0.15 0.00 0.02 99.67 17:50:01 1 0.18 0.00 0.13 0.02 0.03 99.63 17:50:01 2 0.30 0.00 0.17 0.00 0.02 99.52 17:50:01 3 0.22 0.00 0.08 0.00 0.00 99.70 17:50:01 4 0.25 0.00 0.15 0.03 0.00 99.57 17:50:01 5 0.22 0.00 0.13 0.18 0.00 99.47 17:50:01 6 0.43 0.00 0.15 0.02 0.02 99.38 17:50:01 7 0.83 0.00 0.18 0.08 0.00 98.90 17:51:01 all 0.14 0.00 0.10 0.10 0.02 99.64 17:51:01 0 0.13 0.00 0.10 0.00 0.00 99.77 17:51:01 1 0.15 0.00 0.08 0.32 0.02 99.43 17:51:01 2 0.07 0.00 0.07 0.03 0.00 99.83 17:51:01 3 0.10 0.00 0.05 0.00 0.02 99.83 17:51:01 4 0.25 0.00 0.15 0.03 0.08 99.48 17:51:01 5 0.05 0.00 0.12 0.00 0.02 99.82 17:51:01 6 0.18 0.00 0.20 0.22 0.02 99.38 17:51:01 7 0.13 0.00 0.08 0.18 0.02 99.58 17:52:01 all 3.77 0.00 1.67 1.62 0.04 92.90 17:52:01 0 2.76 0.00 1.81 1.00 0.03 94.39 17:52:01 1 3.21 0.00 1.63 3.89 0.03 91.24 17:52:01 2 2.80 0.00 1.61 0.92 0.05 94.61 17:52:01 3 2.63 0.00 1.66 2.37 0.03 93.31 17:52:01 4 5.08 0.00 1.52 0.97 0.05 92.38 17:52:01 5 3.70 0.00 1.46 1.58 0.05 93.21 17:52:01 6 4.96 0.00 1.73 1.17 0.03 92.11 17:52:01 7 5.04 0.00 1.94 1.05 0.05 91.91 17:53:01 all 0.44 0.00 0.16 0.02 0.02 99.35 17:53:01 0 0.28 0.00 0.20 0.00 0.02 99.50 17:53:01 1 0.65 0.00 0.13 0.17 0.02 99.03 17:53:01 2 0.23 0.00 0.17 0.00 0.02 99.58 17:53:01 3 0.52 0.00 0.12 0.00 0.03 99.33 17:53:01 4 0.30 0.00 0.13 0.02 0.05 99.50 17:53:01 5 0.25 0.00 0.15 0.00 0.03 99.57 17:53:01 6 0.37 0.00 0.13 0.00 0.02 99.48 17:53:01 7 0.88 0.00 0.25 0.00 0.00 98.87 17:54:01 all 0.06 0.00 0.05 0.01 0.02 99.87 17:54:01 0 0.07 0.00 0.05 0.00 0.00 99.88 17:54:01 1 0.03 0.00 0.02 0.05 0.02 99.88 17:54:01 2 0.02 0.00 0.02 0.00 0.00 99.97 17:54:01 3 0.05 0.00 0.03 0.00 0.00 99.92 17:54:01 4 0.07 0.00 0.02 0.00 0.02 99.90 17:54:01 5 0.15 0.00 0.12 0.00 0.05 99.68 17:54:01 6 0.08 0.00 0.12 0.00 0.02 99.78 17:54:01 7 0.03 0.00 0.03 0.00 0.02 99.92 17:55:01 all 6.81 0.00 1.44 0.71 0.04 91.00 17:55:01 0 2.99 0.00 1.14 0.53 0.02 95.32 17:55:01 1 2.65 0.00 1.16 3.05 0.07 93.08 17:55:01 2 22.25 0.00 2.49 0.27 0.08 74.90 17:55:01 3 1.47 0.00 1.76 0.20 0.05 96.52 17:55:01 4 18.56 0.00 1.67 0.89 0.03 78.85 17:55:01 5 2.44 0.00 1.22 0.05 0.05 96.24 17:55:01 6 3.11 0.00 1.10 0.07 0.03 95.69 17:55:01 7 0.97 0.00 0.99 0.60 0.02 97.42 Average: all 1.85 0.00 0.66 0.47 0.03 97.00 Average: 0 1.47 0.00 0.68 0.22 0.03 97.60 Average: 1 1.67 0.00 0.65 0.43 0.03 97.23 Average: 2 1.95 0.00 0.64 0.32 0.03 97.05 Average: 3 1.81 0.00 0.66 0.40 0.02 97.10 Average: 4 2.11 0.00 0.65 0.43 0.03 96.77 Average: 5 1.95 0.00 0.67 0.64 0.03 96.71 Average: 6 1.93 0.00 0.65 1.06 0.03 96.33 Average: 7 1.88 0.00 0.64 0.28 0.03 97.17