Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-4394 (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-8oRxSWEPN1KF/agent.2121 SSH_AGENT_PID=2123 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite@tmp/private_key_5259953681933362972.key (/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite@tmp/private_key_5259953681933362972.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/jenkins3129381458743941743.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-esta 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-esta/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.1 from /tmp/venv-esta/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.6 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/jenkins11585081947289952780.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/jenkins2167367497220249468.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 ++ sort -V ++ tail -n 1 + version=3.10.6 + pyenv local 3.10.6 + local command + command=local + '[' 2 -gt 0 ']' + shift + case "$command" in + command pyenv local 3.10.6 + pyenv local 3.10.6 ++ python3 --version ++ awk '{print $2}' + PYTHON_VERSION=3.10.6 + ver_ge 3.10.6 3.7.0 ++ ver_cmp 3.10.6 3.7.0 ++ local IFS=. ++ V1=($1) ++ V2=($2) ++ local V1 V2 I ++ (( I=0 )) ++ (( I<3 || I<3 )) ++ [[ 3 -lt 3 ]] ++ [[ 3 -gt 3 ]] ++ (( I++ )) ++ (( I<3 || I<3 )) ++ [[ 10 -lt 7 ]] ++ [[ 10 -gt 7 ]] ++ echo 1 ++ return + [[ ! 1 -eq -1 ]] + python3 -m robot.run --version + cat + [[ -f /home/jenkins/lf-env.sh ]] + echo 'Installing robot-framework using LF common tooling' Installing robot-framework using LF common tooling + source /home/jenkins/lf-env.sh + lf-activate-venv --python python3 --venv-file /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/.robot3_venv setuptools pip wheel ++ mktemp -d /tmp/venv-XXXX + lf_venv=/tmp/venv-CbIM + 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-CbIM + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-CbIM' lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-CbIM + echo /tmp/venv-CbIM + 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-CbIM/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-CbIM/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager setuptools pip wheel + type python3 + true + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-CbIM/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-CbIM/bin to PATH + PATH=/tmp/venv-CbIM/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.5 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 13.0 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 16.8 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.6 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting scapy (from -r requirements.txt (line 16)) Downloading scapy-2.5.0.tar.gz (1.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 18.3 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 5.7 MB/s eta 0:00:00 Collecting elasticsearch-dsl (from -r requirements.txt (line 21)) Downloading elasticsearch_dsl-8.11.0-py3-none-any.whl.metadata (10 kB) Collecting pyangbind (from -r requirements.txt (line 23)) Downloading pyangbind-0.8.4.post1-py3-none-any.whl.metadata (4.2 kB) Collecting isodate (from -r requirements.txt (line 25)) Downloading isodate-0.6.1-py2.py3-none-any.whl (41 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.7/41.7 kB 4.6 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 21.8 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.6 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 33.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.6-py3-none-any.whl.metadata (9.9 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.2.0-py2.py3-none-any.whl.metadata (15 kB) Collecting scp>=0.13.0 (from robotframework-sshlibrary->-r requirements.txt (line 15)) Downloading scp-0.14.5-py2.py3-none-any.whl (8.7 kB) Collecting ply (from jsonpath-rw->-r requirements.txt (line 18)) Downloading ply-3.11-py2.py3-none-any.whl (49 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 49.6/49.6 kB 6.0 MB/s eta 0:00:00 Collecting decorator (from jsonpath-rw->-r requirements.txt (line 18)) Using cached decorator-5.1.1-py3-none-any.whl (9.1 kB) Collecting python-dateutil (from elasticsearch-dsl->-r requirements.txt (line 21)) Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB) INFO: pip is looking at multiple versions of elasticsearch-dsl to determine which version is compatible with other requirements. This could take a while. Collecting elasticsearch-dsl (from -r requirements.txt (line 21)) Downloading elasticsearch_dsl-8.9.0-py3-none-any.whl.metadata (10 kB) Downloading elasticsearch_dsl-7.4.1-py2.py3-none-any.whl (64 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 64.1/64.1 kB 1.4 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.5 MB/s eta 0:00:00 Collecting enum34 (from pyangbind->-r requirements.txt (line 23)) Downloading enum34-1.1.10-py3-none-any.whl (11 kB) Collecting ordered-set<4.2.0,>=4.0.2 (from deepdiff->-r requirements.txt (line 31)) Downloading ordered_set-4.1.0-py3-none-any.whl (7.6 kB) Collecting MarkupSafe>=2.0 (from jinja2->-r requirements.txt (line 34)) Using cached MarkupSafe-2.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.0 kB) Collecting requests (from -r requirements.txt (line 9)) Downloading requests-2.19.1-py2.py3-none-any.whl (91 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 92.0/92.0 kB 10.7 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 13.6 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.2 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 20.5 MB/s eta 0:00:00 Downloading odltools-0.1.32-py2.py3-none-any.whl (201 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 201.4/201.4 kB 20.7 MB/s eta 0:00:00 Downloading odltools-0.1.31-py2.py3-none-any.whl (201 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 201.2/201.2 kB 19.3 MB/s eta 0:00:00 Downloading odltools-0.1.30-py2.py3-none-any.whl (201 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 201.1/201.1 kB 22.0 MB/s eta 0:00:00 Downloading odltools-0.1.29-py2.py3-none-any.whl (207 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 207.5/207.5 kB 25.5 MB/s eta 0:00:00 Downloading odltools-0.1.28-py2.py3-none-any.whl (204 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 205.0/205.0 kB 24.8 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 2.8 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.6 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 6.8 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 21.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 14.2 MB/s eta 0:00:00 Downloading pyangbind-0.8.4.post1-py3-none-any.whl (52 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 52.8/52.8 kB 8.4 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.8 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 22.0 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 10.0 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 idna-3.6-py3-none-any.whl (61 kB) 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.2.0-py2.py3-none-any.whl (95 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 95.5/95.5 kB 8.6 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 37.8 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 46.4 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=dd5c21f17bcc1398ae1a2c3841543548fc7c0bbcf09f772d2f284156b442429c 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=546f4cf243d70fdea951c2b38dcd7eba76db478c3bbc0d97c6d41421cf0fe5fd 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=960038fb4ca6ed89e5ef0a80b3bc00fe62a479585ed55703234300be59a1051a 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=aec59cd5a06a21b7973586d2e071b23ffc3f12017152790a6e5713e815cdbc52 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=a9dc950fc178e20fb4e4b204205bd668a4b3dc086057fefe287fe76a53c086d1 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=74959fc810cb672a4f86d693a04ada820e214a8113aca0dd0091054e35880924 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=1daf72d04c8e8e0725faa24edabe892b872a149f6016ecbb7cab97ea273b9f31 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=027ad64db2b16aff612d3d37c6c8deea8c6de41610ee4f2242c27aab53af7d79 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.6 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.2.0 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-CbIM + echo ROBOT3_VENV=/tmp/venv-CbIM + 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.6 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.2.0 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/jenkins15286858827839144815.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-CbIM ++ [[ -f /tmp/venv-CbIM/bin/activate ]] ++ source /tmp/venv-CbIM/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-CbIM +++ 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-CbIM/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-CbIM) ' +++ export PS1 +++ VIRTUAL_ENV_PROMPT='(venv-CbIM) ' +++ export VIRTUAL_ENV_PROMPT +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r ++ mkdir -p /tmp/venv-CbIM/src/onap ++ rm -rf /tmp/venv-CbIM/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 690.6 kB/s eta 0:00:00 Requirement already satisfied: pbr in /tmp/venv-CbIM/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (6.0.0) Requirement already satisfied: deepdiff in /tmp/venv-CbIM/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (6.7.1) Requirement already satisfied: dnspython in /tmp/venv-CbIM/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (2.4.2) Requirement already satisfied: future in /tmp/venv-CbIM/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (0.18.3) Requirement already satisfied: jinja2 in /tmp/venv-CbIM/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (3.1.2) Requirement already satisfied: jsonpath-rw in /tmp/venv-CbIM/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (1.4.0) Requirement already satisfied: kafka-python in /tmp/venv-CbIM/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (2.0.2) Requirement already satisfied: paramiko in /tmp/venv-CbIM/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (3.3.1) Requirement already satisfied: protobuf in /tmp/venv-CbIM/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (4.25.1) Requirement already satisfied: pyyaml in /tmp/venv-CbIM/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (6.0.1) Requirement already satisfied: requests in /tmp/venv-CbIM/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-CbIM/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (0.9.3) Requirement already satisfied: robotlibcore-temp in /tmp/venv-CbIM/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (1.0.2) Requirement already satisfied: six in /tmp/venv-CbIM/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (1.16.0) Requirement already satisfied: urllib3 in /tmp/venv-CbIM/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (1.26.18) Requirement already satisfied: more-itertools in /tmp/venv-CbIM/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (10.1.0) Requirement already satisfied: robotframework in /tmp/venv-CbIM/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-CbIM/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-CbIM/lib/python3.10/site-packages (from jinja2->robotframework-onap==11.0.0.dev17) (2.1.3) Requirement already satisfied: ply in /tmp/venv-CbIM/lib/python3.10/site-packages (from jsonpath-rw->robotframework-onap==11.0.0.dev17) (3.11) Requirement already satisfied: decorator in /tmp/venv-CbIM/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-CbIM/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-CbIM/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-CbIM/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-CbIM/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-CbIM/lib/python3.10/site-packages (from requests->robotframework-onap==11.0.0.dev17) (3.6) Requirement already satisfied: certifi>=2017.4.17 in /tmp/venv-CbIM/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-CbIM/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-CbIM/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.6 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.2.0 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-CbIM/bin/activate + '[' -z /tmp/venv-CbIM/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/venv-CbIM/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-CbIM ++ 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-CbIM/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-CbIM) ' ++ PS1='(venv-CbIM) (venv-CbIM) ' ++ export PS1 ++ VIRTUAL_ENV_PROMPT='(venv-CbIM) ' ++ 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.OhhvHVP9U3-robot-workdir + cd /tmp/tmp.OhhvHVP9U3-robot-workdir + export PATH=/tmp/venv-CbIM/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-CbIM/bin + PATH=/tmp/venv-CbIM/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-CbIM/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 ---> 66579a0b7c09 Step 3/5 : WORKDIR /app ---> Running in a02ccf8e3ff4 Removing intermediate container a02ccf8e3ff4 ---> 62e1b285213a Step 4/5 : RUN pip install --no-cache-dir -r requirements.txt ---> Running in f229b8bda7ca 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=ebe46d00cfa8ff31bc4752505e530f223bdba66185a40046501cbe6c0b96064f Stored in directory: /tmp/pip-ephem-wheel-cache-m7v7h_c9/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 f229b8bda7ca ---> 50b27386499d Step 5/5 : EXPOSE 2222 2223 ---> Running in b55a6ddda560 Removing intermediate container b55a6ddda560 ---> c631ea68ce5b Successfully built c631ea68ce5b 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 0c8cc2f24a4d: Waiting 5f32ed3c3f27: Waiting 0d27a8e86132: Waiting 3d2201bd995c: Verifying Checksum 3d2201bd995c: Download complete b253aeafeaa7: Verifying Checksum b253aeafeaa7: Download complete 2ff1d7c41c74: Verifying Checksum 2ff1d7c41c74: Download complete 6f51ee005dea: Download complete 1de76e268b10: Verifying Checksum 1de76e268b10: Download complete 0c8cc2f24a4d: Verifying Checksum 0c8cc2f24a4d: Download complete 5f32ed3c3f27: Download complete 0d27a8e86132: Verifying Checksum 0d27a8e86132: Download complete 2ff1d7c41c74: Pull complete d9a8df589451: Verifying Checksum d9a8df589451: Download complete b253aeafeaa7: Pull complete 3d2201bd995c: Pull complete 1de76e268b10: Pull complete d9a8df589451: Pull complete 6f51ee005dea: Pull complete 5f32ed3c3f27: Pull complete 0c8cc2f24a4d: Pull complete 0d27a8e86132: Pull complete Digest: sha256:a158d3b9b4e3fa813fa6c8c590b8f0a860e015ad4e59bbce5744d2f6fd8461aa Status: Downloaded newer image for node:14 ---> 1d12470fa662 Step 2/7 : WORKDIR /app ---> Running in 97390e30c36b Removing intermediate container 97390e30c36b ---> 6331ecd6ab6f Step 3/7 : COPY dmaapDR.js ./ ---> b20ff766ebc9 Step 4/7 : COPY dmaapDR_redir.js ./ ---> 56eae47a3ba2 Step 5/7 : COPY package*.json ./ ---> dfb641f5b342 Step 6/7 : RUN npm install express ---> Running in 99d11502ae3e npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN app No description npm WARN app No repository field. npm WARN app No license field.  + express@4.18.2 added 62 packages from 41 contributors and audited 62 packages in 3.078s 11 packages are looking for funding run `npm fund` for details found 0 vulnerabilities Removing intermediate container 99d11502ae3e ---> fbac6701d5e1 Step 7/7 : RUN npm install argparse ---> Running in 718ce9aeaba2 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.633s 11 packages are looking for funding run `npm fund` for details found 0 vulnerabilities Removing intermediate container 718ce9aeaba2 ---> f377ed8fd07b Successfully built f377ed8fd07b 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 c0fad266edcb: Waiting 0fb6f74fda2e: Waiting 95ea16876fa0: Waiting dbe06f2b48d4: Waiting 87e5cf803a9c: Download complete 1c7827cf61b2: Verifying Checksum 1c7827cf61b2: Download complete 0fb6f74fda2e: Download complete c0fad266edcb: Verifying Checksum c0fad266edcb: Download complete 95ea16876fa0: Verifying Checksum dbe06f2b48d4: Verifying Checksum d3d4e1d44a24: Verifying Checksum d3d4e1d44a24: Download complete d3d4e1d44a24: Pull complete 87e5cf803a9c: Pull complete 1c7827cf61b2: Pull complete 0fb6f74fda2e: Pull complete dbe06f2b48d4: Pull complete c0fad266edcb: Pull complete 95ea16876fa0: Pull complete Digest: sha256:da1bc81b1d4c62c919109316de50150159a4d38bbc6a21cf2d09f31222e88fef Status: Downloaded newer image for panubo/vsftpd:latest ---> cab7d4ddb83a Step 2/4 : COPY configuration/vsftpd_ssl.conf /etc/vsftpd_ssl.conf ---> 39e9717ab26f Step 3/4 : RUN chmod 644 /etc/vsftpd_ssl.conf ---> Running in aa4b5ad4a08c Removing intermediate container aa4b5ad4a08c ---> b89a9c8ff08d Step 4/4 : RUN chown root:root /etc/vsftpd_ssl.conf ---> Running in acd0e8b57a76 Removing intermediate container acd0e8b57a76 ---> 4cc3ac7df05d Successfully built 4cc3ac7df05d 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:43 up 3 min, 0 users, load average: 2.04, 0.73, 0.28 Tasks: 159 total, 1 running, 83 sleeping, 0 stopped, 0 zombie %Cpu(s): 8.7 us, 1.8 sy, 0.0 ni, 85.9 id, 3.6 wa, 0.0 hi, 0.0 si, 0.0 st + echo + echo '> free -h' + free -h > free -h total used free shared buff/cache available Mem: 31G 748M 27G 740K 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.OhhvHVP9U3-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.6 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.2.0 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 ff27f4056b8071c690753ad6e3688508ecae0996cce1ae8308b9f0877bcace44 2.3.3: Pulling from onap/org.onap.oom.platform.cert-service.oom-certservice-post-processor Digest: sha256:30dbdb0c20bef02a4bd0b4cec5d1fe6190032ec022feb0bb33e48ca46c2ec4dd Status: Downloaded newer image for nexus3.onap.org:10001/onap/org.onap.oom.platform.cert-service.oom-certservice-post-processor:2.3.3 1.0.0: Pulling from onap/org.onap.integration.nfsimulator.pmhttpsserver Digest: sha256:0802f3b71559381dbecb430745b9cc5d06178710cb694d781834bd916726b109 Status: Downloaded newer image for nexus3.onap.org:10001/onap/org.onap.integration.nfsimulator.pmhttpsserver:1.0.0 alpine-3.7: Pulling from atmoz/sftp Digest: sha256:f4e6e8bc2f2c30c3f0ca935d991f21f5b2e52be440551de94f89fa5c945303e4 Status: Downloaded newer image for atmoz/sftp:alpine-3.7 All simulators Started Simulator DR sim on localhost:3906/ responded ok Simulator DR redir sim on localhost:3908/ responded ok Simulator MR sim on localhost:2222/ responded ok Simulator DR sim https on https://localhost:3907/ responded ok Simulator DR redir sim https on https://localhost:3909/ responded ok Simulator MR sim https on https://localhost:2223/ responded ok Simulator FTPES server 0 on localhost:1032 responded ok Simulator FTPES server 1 on localhost:1033 responded ok Simulator FTPES server 2 on localhost:1034 responded ok Simulator FTPES server 3 on localhost:1035 responded ok Simulator FTPES server 4 on localhost:1036 responded ok Simulator SFTP server 0 on localhost:1022 responded ok Simulator SFTP server 1 on localhost:1023 responded ok Simulator SFTP server 2 on localhost:1024 responded ok Simulator SFTP server 3 on localhost:1025 responded ok Simulator SFTP server 4 on localhost:1026 responded ok Simulator HTTP basic auth server 0 on localhost: 81 responded ok Simulator HTTP basic auth server 1 on localhost: 82 responded ok Simulator HTTP basic auth server 2 on localhost: 83 responded ok Simulator HTTP basic auth server 3 on localhost: 84 responded ok Simulator HTTP basic auth server 4 on localhost: 85 responded ok Simulator HTTP JWT server 0 on localhost:32001 responded ok Simulator HTTP JWT server 1 on localhost:32002 responded ok Simulator HTTP JWT server 2 on localhost:32003 responded ok Simulator HTTP JWT server 3 on localhost:32004 responded ok Simulator HTTP JWT server 4 on localhost:32005 responded ok Simulator HTTPS basic auth server 0 on localhost: 444 responded ok Simulator HTTPS basic auth server 1 on localhost: 445 responded ok Simulator HTTPS basic auth server 2 on localhost: 446 responded ok Simulator HTTPS basic auth server 3 on localhost: 447 responded ok Simulator HTTPS basic auth server 4 on localhost: 448 responded ok Simulator HTTPS client certificate authentication server 0 on localhost:444 - no response Simulator HTTPS client certificate authentication server 1 on localhost:445 - no response Simulator HTTPS client certificate authentication server 2 on localhost:446 - no response Simulator HTTPS client certificate authentication server 3 on localhost:447 - no response Simulator HTTPS client certificate authentication server 4 on localhost:448 - no response Simulator HTTPS no auth server 0 on localhost:8081 responded ok Simulator HTTPS no auth server 1 on localhost:8082 responded ok Simulator HTTPS no auth server 2 on localhost:8083 responded ok Simulator HTTPS no auth server 3 on localhost:8084 responded ok Simulator HTTPS no auth server 4 on localhost:8085 responded ok Simulator HTTPS JWT server 0 on localhost:32101 responded ok Simulator HTTPS JWT server 1 on localhost:32102 responded ok Simulator HTTPS JWT server 2 on localhost:32103 responded ok Simulator HTTPS JWT server 3 on localhost:32104 responded ok Simulator HTTPS JWT server 4 on localhost:32105 responded ok Creating files for SFTP server, may take time.... Running ftp file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in ftp servers with index 0 Creating files for HTTP server, may take time.... Running http file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in http servers with index 0 Done: All simulators started and configured + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + docker network create dfcnet + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Creating network "simulator-group_default" with the default driver Pulling cmpv2-postprocessor (nexus3.onap.org:10001/onap/org.onap.oom.platform.cert-service.oom-certservice-post-processor:2.3.3)... Pulling http-https-server0 (nexus3.onap.org:10001/onap/org.onap.integration.nfsimulator.pmhttpsserver:1.0.0)... Pulling sftp-server0 (atmoz/sftp:alpine-3.7)... Creating dfc_sftp-server2 ... Creating dfc_http-https-server2 ... Creating dfc_http-https-server4 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_cmpv2-postprocessor ... Creating dfc_mr-sim ... Creating dfc_sftp-server1 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_dr-sim ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_sftp-server4 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_sftp-server0 ... Creating dfc_http-https-server1 ... Creating dfc_dr-redir-sim ... Creating dfc_http-https-server0 ... Creating dfc_http-https-server3 ... Creating dfc_sftp-server3 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_sftp-server1 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_sftp-server3 ... done Creating dfc_mr-sim ... done Creating dfc_sftp-server0 ... done Creating dfc_dr-sim ... done Creating dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server2 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_sftp-server4 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_dr-redir-sim ... done Creating dfc_http-https-server1 ... done Creating dfc_http-https-server2 ... done Creating dfc_http-https-server3 ... done Creating dfc_http-https-server0 ... done 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=8fffe4fae8a8 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=e553b3f23ace ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=2e12bacbd4fd ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=3c7169bc2e95 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=ae4ef39d97e6 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=6f4bf4216a98 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=ce49fb57c7c4 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=8f8489250f1d ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=b972b8b47fd9 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=7fa77e40649f ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=49a322099e25 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=69cf9988304d ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=9703195aa391 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=e5bfbda92db6 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=8b06bc3aa191 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=3b92c8888ffe ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=b3961c710f38 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=01a1a4e3c01d + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 8fffe4fae8a8 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e553b3f23ace + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2e12bacbd4fd + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 3c7169bc2e95 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ae4ef39d97e6 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6f4bf4216a98 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ce49fb57c7c4 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8f8489250f1d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b972b8b47fd9 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7fa77e40649f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 49a322099e25 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 69cf9988304d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9703195aa391 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e5bfbda92db6 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8b06bc3aa191 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 3b92c8888ffe + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b3961c710f38 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 01a1a4e3c01d + '[' 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 3c7169bc2e95:/tmp/ + docker exec -w //home/onap/ 3c7169bc2e95 //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 e5bfbda92db6:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs e5bfbda92db6 //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 - - [25/Nov/2023 16:45:20] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 16:45:20] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 16:46:13] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 16:47:09] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 16:47:20] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 16:47:30] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 16:47:40] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 16:47:50] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 16:48:00] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 16:48:10] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ Verify single event with single 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_dr-sim ... Creating dfc_sftp-server4 ... Creating dfc_http-https-server3 ... Creating dfc_http-https-server1 ... Creating dfc_sftp-server0 ... Creating dfc_ftpes-server-vsftpd2 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_http-https-server0 ... Creating dfc_sftp-server2 ... Creating dfc_sftp-server3 ... Creating dfc_dr-redir-sim ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_http-https-server2 ... Creating dfc_sftp-server1 ... Creating dfc_http-https-server4 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_mr-sim ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_sftp-server4 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_sftp-server3 ... done Creating dfc_sftp-server2 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_sftp-server1 ... done Creating dfc_dr-sim ... done Creating dfc_sftp-server0 ... done Creating dfc_mr-sim ... done Creating dfc_http-https-server3 ... done Creating dfc_dr-redir-sim ... done Creating dfc_http-https-server2 ... done Creating dfc_http-https-server4 ... done Creating dfc_http-https-server1 ... done Creating dfc_http-https-server0 ... done ++ 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=441f2d203f51 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=53d854b17e2a ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=2cc451544fa9 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=1a4786a71a59 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=c983b720663c ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=70aff0b28ce9 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=7aff270ef2fa ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=9ca5f635805a ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=1c15dd31e3f1 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=ad22e7f4570d ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=2dcca8f1503b ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=6c87cd907d73 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=9f42692a03ad ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=1ae79a2f1210 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=916c1783bed4 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=a323a6d213af ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=af999fa81787 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=dc3d0e3a96ff + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 441f2d203f51 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 53d854b17e2a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2cc451544fa9 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1a4786a71a59 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c983b720663c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 70aff0b28ce9 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7aff270ef2fa + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9ca5f635805a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1c15dd31e3f1 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ad22e7f4570d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2dcca8f1503b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6c87cd907d73 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9f42692a03ad + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1ae79a2f1210 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 916c1783bed4 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a323a6d213af + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' af999fa81787 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' dc3d0e3a96ff + '[' 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 1a4786a71a59:/tmp/ + docker exec -w //home/onap/ 1a4786a71a59 //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 1ae79a2f1210:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 1ae79a2f1210 //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 - - [25/Nov/2023 16:48:37] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 16:48:37] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 16:49:30] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 16:50:26] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 16:50:36] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 16:50:46] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 16:50:56] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 16:51:06] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 16:51:17] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 16:51: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 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_sftp-server2 ... Creating dfc_mr-sim ... Creating dfc_http-https-server2 ... Creating dfc_http-https-server1 ... Creating dfc_sftp-server4 ... Creating dfc_sftp-server3 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_http-https-server4 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_http-https-server3 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_http-https-server0 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_dr-sim ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_sftp-server0 ... Creating dfc_dr-redir-sim ... Creating dfc_sftp-server1 ... Creating dfc_ftpes-server-vsftpd3 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_sftp-server2 ... done Creating dfc_sftp-server4 ... done Creating dfc_sftp-server3 ... done Creating dfc_dr-redir-sim ... done Creating dfc_mr-sim ... done Creating dfc_dr-sim ... done Creating dfc_sftp-server1 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_sftp-server0 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_http-https-server2 ... done Creating dfc_http-https-server0 ... done Creating dfc_http-https-server1 ... 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=2ba647f9c645 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=d1c51ca2fa24 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=3128cfca1056 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=898ac62d6124 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=330afaa4ce20 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=350883cee288 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=c44398e27867 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=66b45c8ac1db ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=555f1276f935 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=a4800632a29d ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=1883b983811c ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=69c52d93ce98 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=cc5ad8deea34 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=a42b4c388432 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=1d5925c2a380 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=b0548b6ce793 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=782075cc249d ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=cfd8eab08919 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 2ba647f9c645 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d1c51ca2fa24 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 3128cfca1056 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 898ac62d6124 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 330afaa4ce20 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 350883cee288 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c44398e27867 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 66b45c8ac1db + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 555f1276f935 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a4800632a29d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1883b983811c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 69c52d93ce98 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' cc5ad8deea34 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a42b4c388432 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1d5925c2a380 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b0548b6ce793 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 782075cc249d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' cfd8eab08919 + '[' 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 898ac62d6124:/tmp/ + docker exec -w //home/onap/ 898ac62d6124 //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 a42b4c388432:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs a42b4c388432 //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 - - [25/Nov/2023 16:51:54] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 16:51:54] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 16:52:47] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 16:53:43] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 16:53:53] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 16:54:03] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 16:54:13] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 16:54:24] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 16:54:34] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 16:54: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 ------------------------------------------------------------------------------ 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_http-https-server1 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_ftpes-server-vsftpd0 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_mr-sim ... Creating dfc_sftp-server2 ... Creating dfc_http-https-server2 ... Creating dfc_http-https-server3 ... Creating dfc_http-https-server0 ... Creating dfc_sftp-server1 ... Creating dfc_sftp-server4 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_dr-sim ... Creating dfc_http-https-server4 ... Creating dfc_sftp-server3 ... Creating dfc_sftp-server0 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_sftp-server3 ... done Creating dfc_sftp-server1 ... done Creating dfc_sftp-server0 ... done Creating dfc_sftp-server2 ... done Creating dfc_mr-sim ... done Creating dfc_http-https-server1 ... done Creating dfc_http-https-server2 ... done Creating dfc_dr-sim ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_sftp-server4 ... done Creating dfc_dr-redir-sim ... done Creating dfc_http-https-server3 ... done Creating dfc_http-https-server0 ... done Creating dfc_ftpes-server-vsftpd4 ... 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=9cb85ddf650b ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=897c93b6b045 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=3192556488c6 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=0d72c44c5eb7 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=889ac419417f ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=f7d8893da74b ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=c01ca313fc37 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=22f74bf46712 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=e531e87df0f8 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=a8e1e004bad5 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=a197475adb2f ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=54d678d702a5 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=af09284958c7 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=6ff6f45f57d3 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=f9c0db0921de ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=4919026df9c0 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=52eabead375e ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=b74249cfb608 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 9cb85ddf650b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 897c93b6b045 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 3192556488c6 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 0d72c44c5eb7 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 889ac419417f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f7d8893da74b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c01ca313fc37 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 22f74bf46712 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e531e87df0f8 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a8e1e004bad5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a197475adb2f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 54d678d702a5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' af09284958c7 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6ff6f45f57d3 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f9c0db0921de + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4919026df9c0 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 52eabead375e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b74249cfb608 + '[' 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 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 e531e87df0f8:/tmp/setup-ftp-files-for-image.sh + docker exec -w //srv e531e87df0f8 //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 6ff6f45f57d3:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 6ff6f45f57d3 //tmp/setup-http-files-for-image.sh 1 1 1MB A 1 0 + let p=p+1 + '[' 1 -lt 1 ']' + echo 'Done: All simulators started and configured' APP configuration: dmaap.certificateConfig.keyCert: /opt/app/datafile/etc/cert/cert.jks dmaap.certificateConfig.keyPasswordPath: /opt/app/datafile/etc/cert/jks.pass dmaap.certificateConfig.trustedCa: /opt/app/datafile/etc/cert/trust.jks dmaap.certificateConfig.trustedCaPasswordPath: /opt/app/datafile/etc/cert/trust.pass dmaap.security.trustStorePath: /opt/app/datafile/etc/cert/trust.jks dmaap.security.trustStorePasswordPath: /opt/app/datafile/etc/cert/trust.pass dmaap.security.keyStorePath: /opt/app/datafile/etc/cert/cert.jks dmaap.security.keyStorePasswordPath: /opt/app/datafile/etc/cert/jks.pass dmaap.security.enableDmaapCertAuth: "false" dmaap.dmaapConsumerConfiguration.consumerGroup: OpenDcae-c12 dmaap.dmaapConsumerConfiguration.consumerId: C12 dmaap.dmaapConsumerConfiguration.timeoutMs: -1 sftp.security.strictHostKeyChecking: "true" streams_publishes: PM_MEAS_FILES: type: data_router dmaap_info: username: user log_url: https://drsim:3907/feedlog/2 publish_url: https://drsim:3907/publish/2 location: loc00 password: password publisher_id: 972.360gm streams_subscribes: dmaap_subscriber: dmaap_info: topic_url: http://mrsim:2222/events/unauthenticated.VES_NOTIFICATION_OUTPUT type: message_router Dfc-start: Creating docker network dfcnet, if needed sleep 1 sleep 2 sleep 3 sleep 4 sleep 5 sleep 6 sleep 7 sleep 8 sleep 9 sleep 10 + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + docker-compose up -d Pulling dfc (nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest)... manifest for nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest not found: manifest unknown: manifest unknown ++ docker ps -q --filter=name=dfc_app0 + DFC_APP= + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 1 + sleep 1 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 2 + sleep 2 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 3 + sleep 3 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 4 + sleep 4 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 5 + sleep 5 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 6 + sleep 6 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 7 + sleep 7 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 8 + sleep 8 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 9 + sleep 9 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 10 + sleep 10 Configured sftp sims: sftp-server0:22 Configured ftpes sims: ftpes-server-vsftpd0:21 Configured http sims: http-https-server0:80 Configured http JWT sims: http-https-server0:32000 Configured https sims: http-https-server0:443 Configured https with no authorization sims: http-https-server0:8080 Configured https JWT sims: http-https-server0:32100 Configured number of ftp servers: 1 Configured number of http/https/https with no auth/JWT servers: 1 each Groups detected: OpenDcae-c12:PM_MEAS_FILES Configured groups: OpenDcae-c12:PM_MEAS_FILES Configured changeid to file prefix mapping: PM_MEAS_FILES:A TC num: TC# 200 Using sftp-server0:22 for sftp server with index 0 for sftp server address and port in file urls. Using ftpes-server-vsftpd0:21 for ftpes server with index 0 for ftpes server address and port in file urls. Using http-https-server0:80 for http server with index 0 for http server address and port in file urls. Using http-https-server0:32000 for http jwt server with index 0 for http jwt server address and port in file urls. Using http-https-server0:443 for https server with index 0 for https server address and port in file urls. Using http-https-server0:8080 for https server with no authentication with index 0 for https server address and port in file urls. Using http-https-server0:32100 for https jwt server with index 0 for https jwt server address and port in file urls. Using up to 1 ftp servers, for each protocol for PNFs. Using up to 1 http/https/https with no auth/jwt servers, for each protocol for PNFs. * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off Killing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 Removing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 done * Running on http://0.0.0.0:2222/ (Press CTRL+C to quit) * Running on https://0.0.0.0:2223/ (Press CTRL+C to quit) 172.17.0.1 - - [25/Nov/2023 16:55:09] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 16:55:10] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 16:56:03] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 16:57:00] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 16:57:10] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 16:57:20] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 16:57:30] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 16:57:40] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 16:57:50] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 16:58: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 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-server1 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_sftp-server0 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_http-https-server3 ... Creating dfc_http-https-server4 ... Creating dfc_sftp-server1 ... Creating dfc_dr-sim ... Creating dfc_sftp-server3 ... Creating dfc_sftp-server2 ... Creating dfc_mr-sim ... Creating dfc_sftp-server4 ... Creating dfc_http-https-server0 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_http-https-server2 ... Creating dfc_dr-redir-sim ... Creating dfc_ftpes-server-vsftpd2 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server1 ... done Creating dfc_sftp-server2 ... done Creating dfc_sftp-server0 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_sftp-server3 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_dr-sim ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_sftp-server4 ... done Creating dfc_http-https-server3 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_http-https-server1 ... done Creating dfc_mr-sim ... done Creating dfc_http-https-server4 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_http-https-server0 ... 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=6496bb20c326 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=23918ed952b8 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=dfb90257f0c5 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=be25fa1e544b ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=ef4e1931a04a ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=5bfb7ca30528 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=ad372485e2e5 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=d47279ded571 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=92f2ef3d9261 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=d428f714928c ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=2bc2c7a1e336 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=3138c4c5df20 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=9764e6d2dc95 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=8694261c0b0a ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=6826209f71f9 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=5341d11c4b17 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=657fef5aea6d ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=6293878ee996 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 6496bb20c326 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 23918ed952b8 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' dfb90257f0c5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' be25fa1e544b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ef4e1931a04a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5bfb7ca30528 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ad372485e2e5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d47279ded571 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 92f2ef3d9261 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d428f714928c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2bc2c7a1e336 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 3138c4c5df20 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9764e6d2dc95 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8694261c0b0a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6826209f71f9 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5341d11c4b17 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 657fef5aea6d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6293878ee996 + '[' 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 92f2ef3d9261:/tmp/setup-ftp-files-for-image.sh + docker exec -w //srv 92f2ef3d9261 //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 8694261c0b0a:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 8694261c0b0a //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 - - [25/Nov/2023 16:58:25] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 16:58:26] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 16:59:19] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:00:15] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:00:25] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:00:36] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:00:46] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:00:56] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:01:06] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:01:16] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ 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_http-https-server3 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_sftp-server2 ... Creating dfc_dr-redir-sim ... Creating dfc_sftp-server3 ... Creating dfc_http-https-server2 ... Creating dfc_sftp-server4 ... Creating dfc_sftp-server1 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_mr-sim ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_dr-sim ... Creating dfc_http-https-server4 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_http-https-server1 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_sftp-server0 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_http-https-server0 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server3 ... done Creating dfc_dr-redir-sim ... done Creating dfc_sftp-server2 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_http-https-server3 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_sftp-server4 ... done Creating dfc_sftp-server1 ... done Creating dfc_dr-sim ... done Creating dfc_sftp-server0 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_http-https-server2 ... done Creating dfc_http-https-server4 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_mr-sim ... done Creating dfc_http-https-server1 ... done Creating dfc_http-https-server0 ... done ++ id -u ++ id -g + sudo chown 1001:1001 dfc_configs + declare -a SFTP_SIM + declare -a FTPES_SIM + declare -a HTTP_SIM ++ docker ps -q --filter=name=dfc_dr-sim + DR_SIM=2338824a0389 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=cb5f0a9b1197 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=7fe3cfb30f7e ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=f15d7e4b2af4 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=4a02d25aa572 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=0b4fa83b4de1 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=a1aa85abf328 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=9f5c90837139 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=71cec9aaf0b7 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=4a903f1615eb ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=d37ae3f1e03a ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=1531f11c2ea3 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=79d1c384efe3 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=138d76be219d ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=c175a6d6ad4e ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=06bd3ecffa46 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=a17afa0710a4 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=f55f31c24fe4 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 2338824a0389 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' cb5f0a9b1197 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7fe3cfb30f7e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f15d7e4b2af4 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4a02d25aa572 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 0b4fa83b4de1 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a1aa85abf328 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9f5c90837139 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 71cec9aaf0b7 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4a903f1615eb + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d37ae3f1e03a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1531f11c2ea3 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 79d1c384efe3 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 138d76be219d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c175a6d6ad4e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 06bd3ecffa46 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a17afa0710a4 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f55f31c24fe4 + '[' 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 71cec9aaf0b7:/tmp/setup-ftp-files-for-image.sh + docker exec -w //srv 71cec9aaf0b7 //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 138d76be219d:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 138d76be219d //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 - - [25/Nov/2023 17:01:40] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:01:40] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:02:34] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:03:30] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:03:40] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:03:50] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:04:00] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:04:10] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:04:20] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:04:30] "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-server3 ... Creating dfc_http-https-server4 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_http-https-server1 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_dr-redir-sim ... Creating dfc_mr-sim ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_sftp-server0 ... Creating dfc_http-https-server0 ... Creating dfc_sftp-server3 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_sftp-server2 ... Creating dfc_sftp-server4 ... Creating dfc_http-https-server2 ... Creating dfc_dr-sim ... Creating dfc_sftp-server1 ... Creating dfc_ftpes-server-vsftpd1 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_dr-sim ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_sftp-server1 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_sftp-server0 ... done Creating dfc_http-https-server3 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_mr-sim ... done Creating dfc_sftp-server3 ... done Creating dfc_dr-redir-sim ... done Creating dfc_sftp-server2 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_sftp-server4 ... done Creating dfc_http-https-server4 ... done Creating dfc_http-https-server1 ... 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=392b5124777d ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=41539bd1182f ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=3afa2e705015 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=edcb63f2a159 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=190b16b0d466 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=b9874caabd8e ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=32843fa008cb ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=25355c256a8a ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=243a71a12f2e ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=1319ee78e7ca ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=5632f5506526 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=54352fcf6c75 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=eacd696e46e4 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=02c074a9a583 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=934446bee1b6 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=c657eeb0aa44 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=cba2ff27e547 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=eb4c5bb34fa2 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 392b5124777d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 41539bd1182f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 3afa2e705015 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' edcb63f2a159 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 190b16b0d466 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b9874caabd8e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 32843fa008cb + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 25355c256a8a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 243a71a12f2e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1319ee78e7ca + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5632f5506526 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 54352fcf6c75 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' eacd696e46e4 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 02c074a9a583 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 934446bee1b6 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c657eeb0aa44 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' cba2ff27e547 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' eb4c5bb34fa2 + '[' 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} ++ grep OpenSSH ++ curl --silent --max-time 3 localhost:1022 + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 0 ' on localhost:1022 responded ok' + return + sftp_server_check 'SFTP server 1' 1023 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1023 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 1 ' on localhost:1023 responded ok' + return + sftp_server_check 'SFTP server 2' 1024 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1024 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 2 ' on localhost:1024 responded ok' + return + sftp_server_check 'SFTP server 3' 1025 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1025 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 3 ' on localhost:1025 responded ok' + return + sftp_server_check 'SFTP server 4' 1026 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1026 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 4 ' on localhost:1026 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 0' 81 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:81' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 0' ' on localhost: 81 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 1' 82 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:82' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 1' ' on localhost: 82 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 2' 83 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:83' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 2' ' on localhost: 83 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 3' 84 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:84' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 3' ' on localhost: 84 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 4' 85 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:85' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 4' ' on localhost: 85 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 0' 32001 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32001 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 0 ' on localhost:32001 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 1' 32002 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32002 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 1 ' on localhost:32002 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 2' 32003 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32003 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 2 ' on localhost:32003 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 3' 32004 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32004 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 3 ' on localhost:32004 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 4' 32005 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32005 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 4 ' on localhost:32005 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 0' 444 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:444' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 0' ' on localhost: 444 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 1' 445 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:445' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 1' ' on localhost: 445 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 2' 446 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:446' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 2' ' on localhost: 446 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 3' 447 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:447' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 3' ' on localhost: 447 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 4' 448 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:448' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 4' ' on localhost: 448 responded ok' + return + http_https_server_check 'HTTPS client certificate authentication server 0' 444 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 0 ' on localhost:444 - no response' + http_https_server_check 'HTTPS client certificate authentication server 1' 445 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 1 ' on localhost:445 - no response' + http_https_server_check 'HTTPS client certificate authentication server 2' 446 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 2 ' on localhost:446 - no response' + http_https_server_check 'HTTPS client certificate authentication server 3' 447 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 3 ' on localhost:447 - no response' + http_https_server_check 'HTTPS client certificate authentication server 4' 448 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 4 ' on localhost:448 - no response' + http_https_server_check 'HTTPS no auth server 0' 8081 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8081 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 0 ' on localhost:8081 responded ok' + return + http_https_server_check 'HTTPS no auth server 1' 8082 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8082 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 1 ' on localhost:8082 responded ok' + return + http_https_server_check 'HTTPS no auth server 2' 8083 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8083 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 2 ' on localhost:8083 responded ok' + return + http_https_server_check 'HTTPS no auth server 3' 8084 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8084 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 3 ' on localhost:8084 responded ok' + return + http_https_server_check 'HTTPS no auth server 4' 8085 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8085 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 4 ' on localhost:8085 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 0' 32101 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32101 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 0 ' on localhost:32101 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 1' 32102 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32102 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 1 ' on localhost:32102 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 2' 32103 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32103 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 2 ' on localhost:32103 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 3' 32104 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32104 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 3 ' on localhost:32104 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 4' 32105 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32105 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 4 ' on localhost:32105 responded ok' + return + echo '' + '[' -z 1 ']' + '[' -z 1 ']' + '[' -z 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 edcb63f2a159:/tmp/ + docker exec -w //home/onap/ edcb63f2a159 //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 02c074a9a583:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 02c074a9a583 //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 - - [25/Nov/2023 17:04:57] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:04:58] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:05:51] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:06:47] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:06:57] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:07:07] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:07:17] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:07:27] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:07:37] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:07:47] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ Verify single event with single 5MB HTTP file. From event poll to ... Simulator-start: Creating docker network dfcnet, if needed All simulators Started Simulator DR sim on localhost:3906/ responded ok Simulator DR redir sim on localhost:3908/ responded ok Simulator MR sim on localhost:2222/ responded ok Simulator DR sim https on https://localhost:3907/ responded ok Simulator DR redir sim https on https://localhost:3909/ responded ok Simulator MR sim https on https://localhost:2223/ responded ok Simulator FTPES server 0 on localhost:1032 responded ok Simulator FTPES server 1 on localhost:1033 responded ok Simulator FTPES server 2 on localhost:1034 responded ok Simulator FTPES server 3 on localhost:1035 responded ok Simulator FTPES server 4 on localhost:1036 responded ok Simulator SFTP server 0 on localhost:1022 responded ok Simulator SFTP server 1 on localhost:1023 responded ok Simulator SFTP server 2 on localhost:1024 responded ok Simulator SFTP server 3 on localhost:1025 responded ok Simulator SFTP server 4 on localhost:1026 responded ok Simulator HTTP basic auth server 0 on localhost: 81 responded ok Simulator HTTP basic auth server 1 on localhost: 82 responded ok Simulator HTTP basic auth server 2 on localhost: 83 responded ok Simulator HTTP basic auth server 3 on localhost: 84 responded ok Simulator HTTP basic auth server 4 on localhost: 85 responded ok Simulator HTTP JWT server 0 on localhost:32001 responded ok Simulator HTTP JWT server 1 on localhost:32002 responded ok Simulator HTTP JWT server 2 on localhost:32003 responded ok Simulator HTTP JWT server 3 on localhost:32004 responded ok Simulator HTTP JWT server 4 on localhost:32005 responded ok Simulator HTTPS basic auth server 0 on localhost: 444 responded ok Simulator HTTPS basic auth server 1 on localhost: 445 responded ok Simulator HTTPS basic auth server 2 on localhost: 446 responded ok Simulator HTTPS basic auth server 3 on localhost: 447 responded ok Simulator HTTPS basic auth server 4 on localhost: 448 responded ok Simulator HTTPS client certificate authentication server 0 on localhost:444 - no response Simulator HTTPS client certificate authentication server 1 on localhost:445 - no response Simulator HTTPS client certificate authentication server 2 on localhost:446 - no response Simulator HTTPS client certificate authentication server 3 on localhost:447 - no response Simulator HTTPS client certificate authentication server 4 on localhost:448 - no response Simulator HTTPS no auth server 0 on localhost:8081 responded ok Simulator HTTPS no auth server 1 on localhost:8082 responded ok Simulator HTTPS no auth server 2 on localhost:8083 responded ok Simulator HTTPS no auth server 3 on localhost:8084 responded ok Simulator HTTPS no auth server 4 on localhost:8085 responded ok Simulator HTTPS JWT server 0 on localhost:32101 responded ok Simulator HTTPS JWT server 1 on localhost:32102 responded ok Simulator HTTPS JWT server 2 on localhost:32103 responded ok Simulator HTTPS JWT server 3 on localhost:32104 responded ok Simulator HTTPS JWT server 4 on localhost:32105 responded ok Creating files for SFTP server, may take time.... Running ftp file creations. 1 PNFs and 1 files for each PNF with file size(s) 5MB and file prefixe(s) A in ftp servers with index 0 Creating files for HTTP server, may take time.... Running http file creations. 1 PNFs and 1 files for each PNF with file size(s) 5MB and file prefixe(s) A in http servers with index 0 Done: All simulators started and configured + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Starting dfc_cmpv2-postprocessor ... Creating dfc_sftp-server3 ... Creating dfc_http-https-server2 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_http-https-server1 ... Creating dfc_http-https-server4 ... Creating dfc_dr-sim ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_sftp-server4 ... Creating dfc_mr-sim ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_http-https-server3 ... Creating dfc_sftp-server1 ... Creating dfc_http-https-server0 ... Creating dfc_dr-redir-sim ... Creating dfc_sftp-server2 ... Creating dfc_sftp-server0 ... Creating dfc_ftpes-server-vsftpd0 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server3 ... done Creating dfc_mr-sim ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_dr-sim ... done Creating dfc_sftp-server1 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_sftp-server2 ... done Creating dfc_sftp-server4 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_sftp-server0 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_dr-redir-sim ... done Creating dfc_ftpes-server-vsftpd2 ... 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=824e3374931b ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=aef2e8ad91be ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=32b5cfbce8a4 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=481672a2d1db ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=515c59b649fc ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=cf1a9d2a797f ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=2cd3af66401e ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=b47c4f68280c ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=d7a17e15321f ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=fb219ff9bd67 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=d6b69be44870 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=31b019cb2015 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=4c16c62945b9 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=ca2b6a8402c0 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=60db66725027 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=79eff6adc8e0 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=5a1ac23a79b8 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=c0dd4a6aa6df + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 824e3374931b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' aef2e8ad91be + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 32b5cfbce8a4 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 481672a2d1db + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 515c59b649fc + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' cf1a9d2a797f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2cd3af66401e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b47c4f68280c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d7a17e15321f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' fb219ff9bd67 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d6b69be44870 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 31b019cb2015 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4c16c62945b9 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ca2b6a8402c0 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 60db66725027 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 79eff6adc8e0 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5a1ac23a79b8 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c0dd4a6aa6df + '[' 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 481672a2d1db:/tmp/ + docker exec -w //home/onap/ 481672a2d1db //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 ca2b6a8402c0:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs ca2b6a8402c0 //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 - - [25/Nov/2023 17:08:16] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:08:17] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:09:10] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:10:06] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:10:16] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:10:26] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:10:36] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:10:46] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:10:56] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:11:06] "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-vsftpd1 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_ftpes-server-vsftpd4 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_sftp-server3 ... Creating dfc_dr-sim ... Creating dfc_http-https-server2 ... Creating dfc_sftp-server0 ... Creating dfc_http-https-server1 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_dr-redir-sim ... Creating dfc_http-https-server4 ... Creating dfc_mr-sim ... Creating dfc_sftp-server2 ... Creating dfc_http-https-server0 ... Creating dfc_sftp-server4 ... Creating dfc_http-https-server3 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_sftp-server1 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server4 ... done Creating dfc_sftp-server2 ... done Creating dfc_sftp-server1 ... done Creating dfc_sftp-server0 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_sftp-server3 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_dr-redir-sim ... done Creating dfc_dr-sim ... done Creating dfc_http-https-server2 ... done Creating dfc_mr-sim ... done Creating dfc_http-https-server0 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_http-https-server3 ... done Creating dfc_http-https-server1 ... done Creating dfc_http-https-server4 ... done ++ id -u ++ id -g + sudo chown 1001:1001 dfc_configs + declare -a SFTP_SIM + declare -a FTPES_SIM + declare -a HTTP_SIM ++ docker ps -q --filter=name=dfc_dr-sim + DR_SIM=fb6fe881db52 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=bd6c56371900 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=e495db33095a ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=34b84c236b50 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=c2a90e309a7a ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=58923b980a0e ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=0c1d834ffd51 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=63ec8450281d ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=15da9c92f8a0 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=4b16b2a4a799 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=01e2be1405f0 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=f245b6106561 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=23b60c8f339e ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=1b062327c127 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=a89a7872cfa3 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=f3ee6d5c0262 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=5ba738d8c857 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=ff899a0a1067 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' fb6fe881db52 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' bd6c56371900 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e495db33095a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 34b84c236b50 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c2a90e309a7a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 58923b980a0e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 0c1d834ffd51 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 63ec8450281d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 15da9c92f8a0 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4b16b2a4a799 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 01e2be1405f0 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f245b6106561 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 23b60c8f339e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1b062327c127 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a89a7872cfa3 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f3ee6d5c0262 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5ba738d8c857 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ff899a0a1067 + '[' 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 34b84c236b50:/tmp/ + docker exec -w //home/onap/ 34b84c236b50 //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 1b062327c127:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 1b062327c127 //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 - - [25/Nov/2023 17:11:34] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:11:34] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:12:27] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:13:23] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:13:33] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:13:43] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:13:53] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:14:03] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:14:14] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:14:24] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ Verify single event with 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 Starting dfc_cmpv2-postprocessor ... Creating dfc_sftp-server0 ... Creating dfc_http-https-server0 ... Creating dfc_sftp-server4 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_dr-sim ... Creating dfc_mr-sim ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_sftp-server3 ... Creating dfc_http-https-server4 ... Creating dfc_http-https-server1 ... Creating dfc_sftp-server2 ... Creating dfc_dr-redir-sim ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_http-https-server2 ... Creating dfc_sftp-server1 ... Creating dfc_http-https-server3 ... Creating dfc_ftpes-server-vsftpd2 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_http-https-server0 ... done Creating dfc_sftp-server4 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_http-https-server2 ... done Creating dfc_dr-sim ... done Creating dfc_sftp-server3 ... done Creating dfc_sftp-server0 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_mr-sim ... done Creating dfc_sftp-server1 ... done Creating dfc_http-https-server4 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_sftp-server2 ... done Creating dfc_http-https-server3 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_dr-redir-sim ... done Creating dfc_ftpes-server-vsftpd3 ... 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=38b85e2aa55c ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=c8b1bbd5aee2 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=ef44ee1190fd ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=57e864bae60c ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=2e4ce076dcb9 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=2e6f7e28c5cd ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=b38917227b81 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=c661b6459dfa ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=0c4e44c80178 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=2313496b69bf ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=a05fcd156b95 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=bfeec6829e19 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=37186676deb4 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=5ca90ae5250a ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=596a9dcd4fab ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=e78d26425dbd ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=e8c2ffcf0433 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=40926a46ba00 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 38b85e2aa55c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c8b1bbd5aee2 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ef44ee1190fd + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 57e864bae60c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2e4ce076dcb9 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2e6f7e28c5cd + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b38917227b81 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c661b6459dfa + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 0c4e44c80178 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2313496b69bf + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a05fcd156b95 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' bfeec6829e19 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 37186676deb4 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5ca90ae5250a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 596a9dcd4fab + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e78d26425dbd + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e8c2ffcf0433 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 40926a46ba00 + '[' 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 57e864bae60c:/tmp/ + docker exec -w //home/onap/ 57e864bae60c //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 5ca90ae5250a:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 5ca90ae5250a //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 - - [25/Nov/2023 17:14:49] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:14:49] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:15:43] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:16:39] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:16:49] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:16:59] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:17:09] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:17:19] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:17:29] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:17:39] "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_ftpes-server-vsftpd4 ... Creating dfc_http-https-server1 ... Creating dfc_sftp-server1 ... Creating dfc_sftp-server2 ... Creating dfc_http-https-server4 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_http-https-server3 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_sftp-server4 ... Creating dfc_http-https-server2 ... Creating dfc_dr-redir-sim ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_mr-sim ... Creating dfc_http-https-server0 ... Creating dfc_sftp-server0 ... Creating dfc_dr-sim ... Creating dfc_sftp-server3 ... Creating dfc_ftpes-server-vsftpd2 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_http-https-server1 ... done Creating dfc_http-https-server2 ... done Creating dfc_dr-redir-sim ... done Creating dfc_dr-sim ... done Creating dfc_sftp-server0 ... done Creating dfc_sftp-server2 ... done Creating dfc_sftp-server3 ... done Creating dfc_sftp-server4 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_sftp-server1 ... done Creating dfc_http-https-server4 ... done Creating dfc_mr-sim ... done Creating dfc_http-https-server3 ... done Creating dfc_http-https-server0 ... done ++ id -u ++ id -g + sudo chown 1001:1001 dfc_configs + declare -a SFTP_SIM + declare -a FTPES_SIM + declare -a HTTP_SIM ++ docker ps -q --filter=name=dfc_dr-sim + DR_SIM=7bb784a21120 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=f00d1d060682 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=286324b45255 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=14ff13c00318 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=8b8165d29522 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=1e5edb3c564a ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=4e0732ab4839 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=b4653a29bbb4 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=6b2a1612947c ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=2a1ba01857b6 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=f3239deb2fa9 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=2e9f7531219a ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=42025977e7e0 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=b3520800d8cf ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=0a4b7d4da104 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=5d4107daf917 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=f451a5de73e7 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=4411acdf38ac + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 7bb784a21120 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f00d1d060682 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 286324b45255 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 14ff13c00318 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8b8165d29522 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1e5edb3c564a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4e0732ab4839 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b4653a29bbb4 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6b2a1612947c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2a1ba01857b6 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f3239deb2fa9 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2e9f7531219a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 42025977e7e0 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b3520800d8cf + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 0a4b7d4da104 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5d4107daf917 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f451a5de73e7 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4411acdf38ac + '[' true ']' + echo 'All simulators Started' + break + '[' -z '' ']' + BASIC_AUTH_LOGIN=demo + '[' -z '' ']' + BASIC_AUTH_PASSWORD='demo123456!' + server_check 'DR sim ' 3906 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3906/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim ' on localhost:3906/ responded ok' + return + server_check 'DR redir sim ' 3908 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3908/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim ' on localhost:3908/ responded ok' + return + server_check 'MR sim ' 2222 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:2222/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim ' on localhost:2222/ responded ok' + return + server_check_https 'DR sim https ' 3907 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3907/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim https ' on https://localhost:3907/ responded ok' + return + server_check_https 'DR redir sim https' 3909 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3909/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim https ' on https://localhost:3909/ responded ok' + return + server_check_https 'MR sim https ' 2223 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:2223/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim https ' on https://localhost:2223/ responded ok' + return + ftpes_server_check 'FTPES server 0' 1032 + for i in {1..10} ++ grep vsFTPd ++ curl --silent --max-time 3 ftp://localhost:1032 --ftp-ssl -v -k + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 0 ' on localhost:1032 responded ok' + return + ftpes_server_check 'FTPES server 1' 1033 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1033 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 1 ' on localhost:1033 responded ok' + return + ftpes_server_check 'FTPES server 2' 1034 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1034 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 2 ' on localhost:1034 responded ok' + return + ftpes_server_check 'FTPES server 3' 1035 + for i in {1..10} ++ grep vsFTPd ++ curl --silent --max-time 3 ftp://localhost:1035 --ftp-ssl -v -k + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 3 ' on localhost:1035 responded ok' + return + ftpes_server_check 'FTPES server 4' 1036 + for i in {1..10} ++ 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 14ff13c00318:/tmp/ + docker exec -w //home/onap/ 14ff13c00318 //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 b3520800d8cf:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs b3520800d8cf //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 - - [25/Nov/2023 17:18:06] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:18:06] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:18:59] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:19:55] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:20:05] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:20:16] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:20:26] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:20:36] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:20:46] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:20:56] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: oom-certservice-post-processor Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ Verify single event with single 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 Starting dfc_cmpv2-postprocessor ... Creating dfc_http-https-server2 ... Creating dfc_http-https-server0 ... Creating dfc_sftp-server2 ... Creating dfc_mr-sim ... Creating dfc_http-https-server3 ... Creating dfc_sftp-server3 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_http-https-server1 ... Creating dfc_http-https-server4 ... Creating dfc_sftp-server1 ... Creating dfc_sftp-server0 ... Creating dfc_dr-redir-sim ... Creating dfc_dr-sim ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_sftp-server4 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_ftpes-server-vsftpd4 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server3 ... done Creating dfc_mr-sim ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_sftp-server1 ... done Creating dfc_sftp-server2 ... done Creating dfc_sftp-server4 ... done Creating dfc_http-https-server0 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_dr-redir-sim ... done Creating dfc_sftp-server0 ... done Creating dfc_http-https-server1 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_http-https-server4 ... done Creating dfc_dr-sim ... done Creating dfc_http-https-server3 ... 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=9cb47cae37de ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=4f20371bf9ef ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=ecc867b176da ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=342f33af5681 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=5ab311689f12 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=a74506858526 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=f7d171dc69fd ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=2e3604bb13ea ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=e438088b46b0 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=b532994589cc ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=14672da24443 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=19beda6a7163 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=25eb73fc48ea ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=528b1d0e497f ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=b41b15c4d294 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=ee2c534fd2ed ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=9efe00aca814 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=08bee0cd14bd + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 9cb47cae37de + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4f20371bf9ef + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ecc867b176da + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 342f33af5681 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5ab311689f12 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a74506858526 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f7d171dc69fd + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2e3604bb13ea + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e438088b46b0 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b532994589cc + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 14672da24443 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 19beda6a7163 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 25eb73fc48ea + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 528b1d0e497f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b41b15c4d294 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ee2c534fd2ed + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9efe00aca814 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 08bee0cd14bd + '[' 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 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 342f33af5681:/tmp/ + docker exec -w //home/onap/ 342f33af5681 //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 528b1d0e497f:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 528b1d0e497f //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 - - [25/Nov/2023 17:21:23] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:21:23] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:22:16] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:23:12] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:23:22] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:23:32] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:23:42] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:23:52] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:24:02] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:24:12] "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_mr-sim ... Creating dfc_http-https-server1 ... Creating dfc_ftpes-server-vsftpd4 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_dr-sim ... Creating dfc_sftp-server3 ... Creating dfc_http-https-server3 ... Creating dfc_http-https-server0 ... Creating dfc_sftp-server4 ... Creating dfc_http-https-server2 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_dr-redir-sim ... Creating dfc_sftp-server1 ... Creating dfc_sftp-server0 ... Creating dfc_sftp-server2 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_ftpes-server-vsftpd2 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_sftp-server2 ... done Creating dfc_sftp-server3 ... done Creating dfc_dr-sim ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_sftp-server1 ... done Creating dfc_sftp-server0 ... done Creating dfc_dr-redir-sim ... done Creating dfc_http-https-server1 ... done Creating dfc_sftp-server4 ... done Creating dfc_http-https-server4 ... done Creating dfc_http-https-server3 ... done Creating dfc_mr-sim ... 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=84ae3c9d80b4 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=96443b012876 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=91bb5832ecba ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=42c2d9b35283 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=8c1fb9fa197e ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=d6aa9ea22ae2 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=eb0d1bb5a178 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=3185d813feea ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=5f01c32285d8 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=d7c7023db4b6 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=6e885009629d ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=e418a296eab6 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=fc0d5b22862d ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=15fd5f30777d ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=6617db143b51 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=485b1ddf719d ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=579981bf92d8 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=7f2233e21d22 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 84ae3c9d80b4 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 96443b012876 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 91bb5832ecba + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 42c2d9b35283 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8c1fb9fa197e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d6aa9ea22ae2 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' eb0d1bb5a178 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 3185d813feea + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5f01c32285d8 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d7c7023db4b6 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6e885009629d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e418a296eab6 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' fc0d5b22862d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 15fd5f30777d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6617db143b51 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 485b1ddf719d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 579981bf92d8 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7f2233e21d22 + '[' 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} ++ grep OpenSSH ++ curl --silent --max-time 3 localhost:1022 + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 0 ' on localhost:1022 responded ok' + return + sftp_server_check 'SFTP server 1' 1023 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1023 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 1 ' on localhost:1023 responded ok' + return + sftp_server_check 'SFTP server 2' 1024 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1024 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 2 ' on localhost:1024 responded ok' + return + sftp_server_check 'SFTP server 3' 1025 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1025 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 3 ' on localhost:1025 responded ok' + return + sftp_server_check 'SFTP server 4' 1026 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1026 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 4 ' on localhost:1026 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 0' 81 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:81' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 0' ' on localhost: 81 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 1' 82 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:82' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 1' ' on localhost: 82 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 2' 83 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:83' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 2' ' on localhost: 83 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 3' 84 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:84' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 3' ' on localhost: 84 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 4' 85 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:85' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 4' ' on localhost: 85 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 0' 32001 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32001 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 0 ' on localhost:32001 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 1' 32002 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32002 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 1 ' on localhost:32002 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 2' 32003 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32003 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 2 ' on localhost:32003 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 3' 32004 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32004 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 3 ' on localhost:32004 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 4' 32005 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32005 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 4 ' on localhost:32005 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 0' 444 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:444' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 0' ' on localhost: 444 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 1' 445 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:445' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 1' ' on localhost: 445 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 2' 446 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:446' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 2' ' on localhost: 446 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 3' 447 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:447' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 3' ' on localhost: 447 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 4' 448 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:448' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 4' ' on localhost: 448 responded ok' + return + http_https_server_check 'HTTPS client certificate authentication server 0' 444 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 0 ' on localhost:444 - no response' + http_https_server_check 'HTTPS client certificate authentication server 1' 445 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 1 ' on localhost:445 - no response' + http_https_server_check 'HTTPS client certificate authentication server 2' 446 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 2 ' on localhost:446 - no response' + http_https_server_check 'HTTPS client certificate authentication server 3' 447 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 3 ' on localhost:447 - no response' + http_https_server_check 'HTTPS client certificate authentication server 4' 448 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 4 ' on localhost:448 - no response' + http_https_server_check 'HTTPS no auth server 0' 8081 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8081 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 0 ' on localhost:8081 responded ok' + return + http_https_server_check 'HTTPS no auth server 1' 8082 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8082 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 1 ' on localhost:8082 responded ok' + return + http_https_server_check 'HTTPS no auth server 2' 8083 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8083 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 2 ' on localhost:8083 responded ok' + return + http_https_server_check 'HTTPS no auth server 3' 8084 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8084 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 3 ' on localhost:8084 responded ok' + return + http_https_server_check 'HTTPS no auth server 4' 8085 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8085 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 4 ' on localhost:8085 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 0' 32101 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32101 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 0 ' on localhost:32101 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 1' 32102 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32102 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 1 ' on localhost:32102 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 2' 32103 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32103 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 2 ' on localhost:32103 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 3' 32104 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32104 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 3 ' on localhost:32104 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 4' 32105 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32105 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 4 ' on localhost:32105 responded ok' + return + echo '' + '[' -z 1 ']' + '[' -z 1 ']' + '[' -z 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 42c2d9b35283:/tmp/ + docker exec -w //home/onap/ 42c2d9b35283 //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 15fd5f30777d:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 15fd5f30777d //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 - - [25/Nov/2023 17:24:41] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:24:41] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:25:35] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:26:31] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:26:41] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:26:51] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:27:01] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:27:11] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:27:21] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:27: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 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 Starting dfc_cmpv2-postprocessor ... Creating dfc_http-https-server1 ... Creating dfc_sftp-server3 ... Creating dfc_http-https-server2 ... Creating dfc_dr-sim ... Creating dfc_http-https-server4 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_sftp-server0 ... Creating dfc_dr-redir-sim ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_sftp-server4 ... Creating dfc_sftp-server2 ... Creating dfc_sftp-server1 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_http-https-server3 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_http-https-server0 ... Creating dfc_mr-sim ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_sftp-server4 ... done Creating dfc_sftp-server1 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_sftp-server3 ... done Creating dfc_http-https-server1 ... done Creating dfc_mr-sim ... done Creating dfc_dr-sim ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_sftp-server2 ... done Creating dfc_http-https-server2 ... done Creating dfc_sftp-server0 ... done Creating dfc_dr-redir-sim ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_http-https-server0 ... done Creating dfc_http-https-server4 ... done Creating dfc_http-https-server3 ... done Creating dfc_ftpes-server-vsftpd0 ... 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=c638d4cfb739 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=49b80cc519a1 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=5c4e4b084577 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=d3612a642f8e ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=8ca687b71f6b ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=4c0d816e2a5b ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=438dc8120dae ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=6192eb5c7304 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=5497dde7d050 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=4979385233df ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=c39f4902339b ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=9098a03350c7 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=0a800aa7d41a ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=6c6f7abb59b4 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=340435af85da ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=4512f6e1bac0 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=8698d5182d6a ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=a708e502b038 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' c638d4cfb739 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 49b80cc519a1 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5c4e4b084577 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d3612a642f8e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8ca687b71f6b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4c0d816e2a5b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 438dc8120dae + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6192eb5c7304 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5497dde7d050 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4979385233df + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c39f4902339b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9098a03350c7 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 0a800aa7d41a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6c6f7abb59b4 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 340435af85da + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4512f6e1bac0 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8698d5182d6a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a708e502b038 + '[' 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 d3612a642f8e:/tmp/ + docker exec -w //home/onap/ d3612a642f8e //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 6c6f7abb59b4:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 6c6f7abb59b4 //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 - - [25/Nov/2023 17:27:58] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:27:58] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:28:52] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:29:48] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:29:58] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:30:08] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:30:18] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:30:28] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:30:38] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:30:48] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ Verify single event with SFTP file, when no known hosts file and s... Simulator-start: Creating docker network dfcnet, if needed All simulators Started Simulator DR sim on localhost:3906/ responded ok Simulator DR redir sim on localhost:3908/ responded ok Simulator MR sim on localhost:2222/ responded ok Simulator DR sim https on https://localhost:3907/ responded ok Simulator DR redir sim https on https://localhost:3909/ responded ok Simulator MR sim https on https://localhost:2223/ responded ok Simulator FTPES server 0 on localhost:1032 responded ok Simulator FTPES server 1 on localhost:1033 responded ok Simulator FTPES server 2 on localhost:1034 responded ok Simulator FTPES server 3 on localhost:1035 responded ok Simulator FTPES server 4 on localhost:1036 responded ok Simulator SFTP server 0 on localhost:1022 responded ok Simulator SFTP server 1 on localhost:1023 responded ok Simulator SFTP server 2 on localhost:1024 responded ok Simulator SFTP server 3 on localhost:1025 responded ok Simulator SFTP server 4 on localhost:1026 responded ok Simulator HTTP basic auth server 0 on localhost: 81 responded ok Simulator HTTP basic auth server 1 on localhost: 82 responded ok Simulator HTTP basic auth server 2 on localhost: 83 responded ok Simulator HTTP basic auth server 3 on localhost: 84 responded ok Simulator HTTP basic auth server 4 on localhost: 85 responded ok Simulator HTTP JWT server 0 on localhost:32001 responded ok Simulator HTTP JWT server 1 on localhost:32002 responded ok Simulator HTTP JWT server 2 on localhost:32003 responded ok Simulator HTTP JWT server 3 on localhost:32004 responded ok Simulator HTTP JWT server 4 on localhost:32005 responded ok Simulator HTTPS basic auth server 0 on localhost: 444 responded ok Simulator HTTPS basic auth server 1 on localhost: 445 responded ok Simulator HTTPS basic auth server 2 on localhost: 446 responded ok Simulator HTTPS basic auth server 3 on localhost: 447 responded ok Simulator HTTPS basic auth server 4 on localhost: 448 responded ok Simulator HTTPS client certificate authentication server 0 on localhost:444 - no response Simulator HTTPS client certificate authentication server 1 on localhost:445 - no response Simulator HTTPS client certificate authentication server 2 on localhost:446 - no response Simulator HTTPS client certificate authentication server 3 on localhost:447 - no response Simulator HTTPS client certificate authentication server 4 on localhost:448 - no response Simulator HTTPS no auth server 0 on localhost:8081 responded ok Simulator HTTPS no auth server 1 on localhost:8082 responded ok Simulator HTTPS no auth server 2 on localhost:8083 responded ok Simulator HTTPS no auth server 3 on localhost:8084 responded ok Simulator HTTPS no auth server 4 on localhost:8085 responded ok Simulator HTTPS JWT server 0 on localhost:32101 responded ok Simulator HTTPS JWT server 1 on localhost:32102 responded ok Simulator HTTPS JWT server 2 on localhost:32103 responded ok Simulator HTTPS JWT server 3 on localhost:32104 responded ok Simulator HTTPS JWT server 4 on localhost:32105 responded ok Creating files for SFTP server, may take time.... Running ftp file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in ftp servers with index 0 Creating files for HTTP server, may take time.... Running http file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in http servers with index 0 Done: All simulators started and configured + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_sftp-server2 ... Creating dfc_ftpes-server-vsftpd2 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_http-https-server0 ... Creating dfc_sftp-server3 ... Creating dfc_sftp-server0 ... Creating dfc_sftp-server1 ... Creating dfc_dr-redir-sim ... Creating dfc_sftp-server4 ... Creating dfc_http-https-server1 ... Creating dfc_http-https-server3 ... Creating dfc_mr-sim ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_http-https-server4 ... Creating dfc_http-https-server2 ... Creating dfc_dr-sim ... Creating dfc_ftpes-server-vsftpd0 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server0 ... done Creating dfc_sftp-server2 ... done Creating dfc_ftpes-server-vsftpd0 ... 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_dr-sim ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_sftp-server4 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_sftp-server1 ... done Creating dfc_http-https-server2 ... done Creating dfc_http-https-server0 ... done Creating dfc_mr-sim ... done Creating dfc_http-https-server1 ... 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=64c3f79beb51 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=ad295efb896d ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=950d67c15b5e ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=ec91379c0e3c ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=9ea12de04913 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=ea827109c150 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=be2722442c74 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=30a9d8cfd843 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=8a7d5fd2c680 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=67fde54501f7 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=58845e463709 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=756ae5e48309 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=d2465b4e372a ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=be307cb6d2ef ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=5e1457abbe89 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=946fe8ebadad ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=928c03409e95 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=0d94ac647e2b + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 64c3f79beb51 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ad295efb896d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 950d67c15b5e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ec91379c0e3c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9ea12de04913 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ea827109c150 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' be2722442c74 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 30a9d8cfd843 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8a7d5fd2c680 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 67fde54501f7 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 58845e463709 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 756ae5e48309 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d2465b4e372a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' be307cb6d2ef + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5e1457abbe89 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 946fe8ebadad + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 928c03409e95 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 0d94ac647e2b + '[' 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 ec91379c0e3c:/tmp/ + docker exec -w //home/onap/ ec91379c0e3c //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 be307cb6d2ef:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs be307cb6d2ef //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 - - [25/Nov/2023 17:31:15] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:31:15] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:32:08] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:33:04] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:33:14] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:33:24] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:33:34] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:33:44] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:33:54] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:34: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 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 Starting dfc_cmpv2-postprocessor ... Creating dfc_sftp-server3 ... Creating dfc_sftp-server4 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_http-https-server3 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_dr-sim ... Creating dfc_sftp-server2 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_http-https-server1 ... Creating dfc_sftp-server0 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_dr-redir-sim ... Creating dfc_http-https-server0 ... Creating dfc_sftp-server1 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_http-https-server4 ... Creating dfc_http-https-server2 ... Creating dfc_mr-sim ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_sftp-server3 ... done Creating dfc_sftp-server2 ... done Creating dfc_sftp-server1 ... done Creating dfc_dr-sim ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_sftp-server0 ... done Creating dfc_sftp-server4 ... done Creating dfc_dr-redir-sim ... done Creating dfc_mr-sim ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_http-https-server4 ... done Creating dfc_http-https-server2 ... done Creating dfc_http-https-server3 ... 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=020a7581c46d ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=6214804debb0 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=0bcaa7924891 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=674fbdb69ec6 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=fb23ef18c036 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=b82eeed2f670 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=a8d1675eb215 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=1cf0bca0c6c9 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=7046b345e2e5 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=c0eb4e888a13 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=5fe5c083a299 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=5423244477dd ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=141cb7bb5c35 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=31fd43e41be5 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=7bdf8bcb8817 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=8daece9526e4 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=7347d62a8f8e ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=595164d973f2 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 020a7581c46d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6214804debb0 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 0bcaa7924891 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 674fbdb69ec6 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' fb23ef18c036 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b82eeed2f670 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a8d1675eb215 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1cf0bca0c6c9 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7046b345e2e5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c0eb4e888a13 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5fe5c083a299 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5423244477dd + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 141cb7bb5c35 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 31fd43e41be5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7bdf8bcb8817 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8daece9526e4 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7347d62a8f8e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 595164d973f2 + '[' 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 674fbdb69ec6:/tmp/ + docker exec -w //home/onap/ 674fbdb69ec6 //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 31fd43e41be5:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 31fd43e41be5 //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 - - [25/Nov/2023 17:34:31] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:34:32] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:35:25] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:36:21] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:36:31] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:36:41] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:36:51] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:37:01] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:37:11] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:37:21] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ plans/dcaegen2-collectors-datafile/Functional-suite.Strict-Host-Ch... | FAIL | 4 tests, 0 passed, 4 failed ============================================================================== plans/dcaegen2-collectors-datafile/Functional-suite.Strict-Host-Ch... | FAIL | 4 tests, 0 passed, 4 failed ============================================================================== plans/dcaegen2-collectors-datafile/Functional-suite.HTTP-Various-Connection... ============================================================================== plans/dcaegen2-collectors-datafile/Functional-suite.HTTP-Various-Connection... ============================================================================== Verify single event with single 1MB file with HTTPS connection (ba... Simulator-start: Creating docker network dfcnet, if needed All simulators Started Simulator DR sim on localhost:3906/ responded ok Simulator DR redir sim on localhost:3908/ responded ok Simulator MR sim on localhost:2222/ responded ok Simulator DR sim https on https://localhost:3907/ responded ok Simulator DR redir sim https on https://localhost:3909/ responded ok Simulator MR sim https on https://localhost:2223/ responded ok Simulator FTPES server 0 on localhost:1032 responded ok Simulator FTPES server 1 on localhost:1033 responded ok Simulator FTPES server 2 on localhost:1034 responded ok Simulator FTPES server 3 on localhost:1035 responded ok Simulator FTPES server 4 on localhost:1036 responded ok Simulator SFTP server 0 on localhost:1022 responded ok Simulator SFTP server 1 on localhost:1023 responded ok Simulator SFTP server 2 on localhost:1024 responded ok Simulator SFTP server 3 on localhost:1025 responded ok Simulator SFTP server 4 on localhost:1026 responded ok Simulator HTTP basic auth server 0 on localhost: 81 responded ok Simulator HTTP basic auth server 1 on localhost: 82 responded ok Simulator HTTP basic auth server 2 on localhost: 83 responded ok Simulator HTTP basic auth server 3 on localhost: 84 responded ok Simulator HTTP basic auth server 4 on localhost: 85 responded ok Simulator HTTP JWT server 0 on localhost:32001 responded ok Simulator HTTP JWT server 1 on localhost:32002 responded ok Simulator HTTP JWT server 2 on localhost:32003 responded ok Simulator HTTP JWT server 3 on localhost:32004 responded ok Simulator HTTP JWT server 4 on localhost:32005 responded ok Simulator HTTPS basic auth server 0 on localhost: 444 responded ok Simulator HTTPS basic auth server 1 on localhost: 445 responded ok Simulator HTTPS basic auth server 2 on localhost: 446 responded ok Simulator HTTPS basic auth server 3 on localhost: 447 responded ok Simulator HTTPS basic auth server 4 on localhost: 448 responded ok Simulator HTTPS client certificate authentication server 0 on localhost:444 - no response Simulator HTTPS client certificate authentication server 1 on localhost:445 - no response Simulator HTTPS client certificate authentication server 2 on localhost:446 - no response Simulator HTTPS client certificate authentication server 3 on localhost:447 - no response Simulator HTTPS client certificate authentication server 4 on localhost:448 - no response Simulator HTTPS no auth server 0 on localhost:8081 responded ok Simulator HTTPS no auth server 1 on localhost:8082 responded ok Simulator HTTPS no auth server 2 on localhost:8083 responded ok Simulator HTTPS no auth server 3 on localhost:8084 responded ok Simulator HTTPS no auth server 4 on localhost:8085 responded ok Simulator HTTPS JWT server 0 on localhost:32101 responded ok Simulator HTTPS JWT server 1 on localhost:32102 responded ok Simulator HTTPS JWT server 2 on localhost:32103 responded ok Simulator HTTPS JWT server 3 on localhost:32104 responded ok Simulator HTTPS JWT server 4 on localhost:32105 responded ok Creating files for SFTP server, may take time.... Running ftp file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in ftp servers with index 0 Creating files for HTTP server, may take time.... Running http file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in http servers with index 0 Done: All simulators started and configured + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Creating dfc_sftp-server4 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_http-https-server2 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_dr-sim ... Creating dfc_http-https-server4 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_sftp-server0 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_mr-sim ... Creating dfc_http-https-server0 ... Creating dfc_http-https-server3 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_sftp-server3 ... Creating dfc_sftp-server2 ... Creating dfc_sftp-server1 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_dr-redir-sim ... Creating dfc_http-https-server1 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_dr-sim ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_http-https-server4 ... done Creating dfc_sftp-server4 ... done Creating dfc_sftp-server2 ... done Creating dfc_sftp-server1 ... done Creating dfc_sftp-server3 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_dr-redir-sim ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_mr-sim ... done Creating dfc_http-https-server3 ... done Creating dfc_sftp-server0 ... done Creating dfc_http-https-server1 ... 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=383f08a59a31 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=62f526f20ac5 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=7f983c31c520 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=1a11dea86e59 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=f9365d07fa01 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=522634ab7bb4 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=48bfffaed6a5 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=b5f8ea93553d ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=3b499ded4775 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=1f1ed89400da ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=11e315c7ad19 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=7bd787c0045b ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=1b067e3c8eab ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=29bba9bffeb0 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=17cd11ec4936 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=ed671a63d99a ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=202e5d846ddf ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=c2f4b8b53032 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 383f08a59a31 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 62f526f20ac5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7f983c31c520 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1a11dea86e59 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f9365d07fa01 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 522634ab7bb4 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 48bfffaed6a5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b5f8ea93553d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 3b499ded4775 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1f1ed89400da + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 11e315c7ad19 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7bd787c0045b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1b067e3c8eab + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 29bba9bffeb0 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 17cd11ec4936 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ed671a63d99a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 202e5d846ddf + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c2f4b8b53032 + '[' 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 1a11dea86e59:/tmp/ + docker exec -w //home/onap/ 1a11dea86e59 //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 29bba9bffeb0:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 29bba9bffeb0 //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 - - [25/Nov/2023 17:37:49] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:37:50] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:38:43] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:39:40] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:39:50] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:40:00] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:40:10] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:40:20] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:40:30] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:40:40] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: oom-certservice-post-processor Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ 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 Starting dfc_cmpv2-postprocessor ... Creating dfc_http-https-server1 ... Creating dfc_sftp-server1 ... Creating dfc_http-https-server2 ... Creating dfc_dr-sim ... Creating dfc_http-https-server3 ... Creating dfc_http-https-server4 ... Creating dfc_sftp-server4 ... Creating dfc_dr-redir-sim ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_mr-sim ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_sftp-server3 ... Creating dfc_sftp-server2 ... Creating dfc_http-https-server0 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_sftp-server0 ... Creating dfc_ftpes-server-vsftpd4 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_mr-sim ... done Creating dfc_http-https-server4 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_dr-sim ... done Creating dfc_dr-redir-sim ... done Creating dfc_sftp-server4 ... done Creating dfc_sftp-server0 ... done Creating dfc_http-https-server2 ... done Creating dfc_sftp-server2 ... done Creating dfc_http-https-server0 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_http-https-server3 ... done Creating dfc_sftp-server1 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_http-https-server1 ... done Creating dfc_sftp-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=d3f37f8c1ee1 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=ebfcd4e58ca2 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=7423b8efe61d ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=0b2f01d460a4 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=e9c0cf6c9bde ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=9ee652f1df02 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=543143e670ae ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=16cd4ec02e65 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=1b22e646b13f ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=4912da8b6acf ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=1787520f4d05 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=b50364aef19c ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=083597d85387 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=5205653d8260 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=6bf2dd58d2de ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=a868bb2bc18d ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=0d19aac8acf3 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=bbecc02cdc68 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' d3f37f8c1ee1 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ebfcd4e58ca2 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7423b8efe61d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 0b2f01d460a4 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e9c0cf6c9bde + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9ee652f1df02 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 543143e670ae + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 16cd4ec02e65 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1b22e646b13f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4912da8b6acf + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1787520f4d05 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b50364aef19c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 083597d85387 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5205653d8260 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6bf2dd58d2de + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a868bb2bc18d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 0d19aac8acf3 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' bbecc02cdc68 + '[' true ']' + echo 'All simulators Started' + break + '[' -z '' ']' + BASIC_AUTH_LOGIN=demo + '[' -z '' ']' + BASIC_AUTH_PASSWORD='demo123456!' + server_check 'DR sim ' 3906 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3906/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim ' on localhost:3906/ responded ok' + return + server_check 'DR redir sim ' 3908 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3908/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim ' on localhost:3908/ responded ok' + return + server_check 'MR sim ' 2222 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:2222/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim ' on localhost:2222/ responded ok' + return + server_check_https 'DR sim https ' 3907 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3907/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim https ' on https://localhost:3907/ responded ok' + return + server_check_https 'DR redir sim https' 3909 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3909/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim https ' on https://localhost:3909/ responded ok' + return + server_check_https 'MR sim https ' 2223 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:2223/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim https ' on https://localhost:2223/ responded ok' + return + ftpes_server_check 'FTPES server 0' 1032 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1032 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 0 ' on localhost:1032 responded ok' + return + ftpes_server_check 'FTPES server 1' 1033 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1033 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 1 ' on localhost:1033 responded ok' + return + ftpes_server_check 'FTPES server 2' 1034 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1034 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 2 ' on localhost:1034 responded ok' + return + ftpes_server_check 'FTPES server 3' 1035 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1035 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 3 ' on localhost:1035 responded ok' + return + ftpes_server_check 'FTPES server 4' 1036 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1036 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 4 ' on localhost:1036 responded ok' + return + sftp_server_check 'SFTP server 0' 1022 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1022 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 0 ' on localhost:1022 responded ok' + return + sftp_server_check 'SFTP server 1' 1023 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1023 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 1 ' on localhost:1023 responded ok' + return + sftp_server_check 'SFTP server 2' 1024 + for i in {1..10} ++ grep OpenSSH ++ curl --silent --max-time 3 localhost:1024 + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 2 ' on localhost:1024 responded ok' + return + sftp_server_check 'SFTP server 3' 1025 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1025 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 3 ' on localhost:1025 responded ok' + return + sftp_server_check 'SFTP server 4' 1026 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1026 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 4 ' on localhost:1026 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 0' 81 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:81' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 0' ' on localhost: 81 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 1' 82 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:82' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 1' ' on localhost: 82 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 2' 83 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:83' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 2' ' on localhost: 83 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 3' 84 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:84' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 3' ' on localhost: 84 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 4' 85 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:85' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 4' ' on localhost: 85 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 0' 32001 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32001 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 0 ' on localhost:32001 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 1' 32002 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32002 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 1 ' on localhost:32002 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 2' 32003 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32003 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 2 ' on localhost:32003 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 3' 32004 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32004 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 3 ' on localhost:32004 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 4' 32005 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32005 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 4 ' on localhost:32005 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 0' 444 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:444' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 0' ' on localhost: 444 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 1' 445 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:445' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 1' ' on localhost: 445 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 2' 446 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:446' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 2' ' on localhost: 446 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 3' 447 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:447' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 3' ' on localhost: 447 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 4' 448 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:448' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 4' ' on localhost: 448 responded ok' + return + http_https_server_check 'HTTPS client certificate authentication server 0' 444 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 0 ' on localhost:444 - no response' + http_https_server_check 'HTTPS client certificate authentication server 1' 445 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 1 ' on localhost:445 - no response' + http_https_server_check 'HTTPS client certificate authentication server 2' 446 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 2 ' on localhost:446 - no response' + http_https_server_check 'HTTPS client certificate authentication server 3' 447 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 3 ' on localhost:447 - no response' + http_https_server_check 'HTTPS client certificate authentication server 4' 448 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 4 ' on localhost:448 - no response' + http_https_server_check 'HTTPS no auth server 0' 8081 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8081 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 0 ' on localhost:8081 responded ok' + return + http_https_server_check 'HTTPS no auth server 1' 8082 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8082 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 1 ' on localhost:8082 responded ok' + return + http_https_server_check 'HTTPS no auth server 2' 8083 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8083 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 2 ' on localhost:8083 responded ok' + return + http_https_server_check 'HTTPS no auth server 3' 8084 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8084 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 3 ' on localhost:8084 responded ok' + return + http_https_server_check 'HTTPS no auth server 4' 8085 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8085 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 4 ' on localhost:8085 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 0' 32101 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32101 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 0 ' on localhost:32101 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 1' 32102 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32102 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 1 ' on localhost:32102 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 2' 32103 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32103 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 2 ' on localhost:32103 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 3' 32104 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32104 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 3 ' on localhost:32104 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 4' 32105 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32105 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 4 ' on localhost:32105 responded ok' + return + echo '' + '[' -z 1 ']' + '[' -z 1 ']' + '[' -z 1MB ']' + '[' -z SFTP ']' + '[' -z A ']' + '[' SFTP = ALL ']' + '[' SFTP = SFTP ']' + echo 'Creating files for SFTP server, may take time....' + p=0 + '[' 0 -lt 1 ']' + docker cp setup-ftp-files-for-image.sh 0b2f01d460a4:/tmp/ + docker exec -w //home/onap/ 0b2f01d460a4 //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 5205653d8260:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 5205653d8260 //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 https://0.0.0.0:2223/ (Press CTRL+C to quit) * Running on http://0.0.0.0:2222/ (Press CTRL+C to quit) 172.17.0.1 - - [25/Nov/2023 17:41:08] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:41:08] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:42:01] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:42:57] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:43:07] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:43:18] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:43:28] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:43:38] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:43:48] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:43:58] "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-server3 ... Creating dfc_http-https-server4 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_sftp-server4 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_http-https-server3 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_http-https-server0 ... Creating dfc_dr-sim ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_http-https-server2 ... Creating dfc_mr-sim ... Creating dfc_http-https-server1 ... Creating dfc_sftp-server1 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_sftp-server0 ... Creating dfc_sftp-server2 ... Creating dfc_dr-redir-sim ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server3 ... done Creating dfc_sftp-server0 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_sftp-server4 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_mr-sim ... done Creating dfc_sftp-server1 ... done Creating dfc_dr-redir-sim ... done Creating dfc_sftp-server2 ... done Creating dfc_dr-sim ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_http-https-server2 ... done Creating dfc_http-https-server4 ... done Creating dfc_http-https-server0 ... 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=091def19e90b ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=5c22b2657be3 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=04814c5509f1 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=566409b41d88 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=1488a3d4920c ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=447a764e9fff ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=f75c66b07c82 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=60ea55fdbaf1 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=fa38da2f5a55 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=d28bef2b727f ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=d0e3bc130e43 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=156f7173d2d9 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=d57cc6508ec3 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=3cea7ee8ca43 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=0d5201c14f6a ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=4c70c49e7938 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=703d15a339aa ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=7cd2000f48ab + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 091def19e90b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5c22b2657be3 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 04814c5509f1 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 566409b41d88 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1488a3d4920c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 447a764e9fff + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f75c66b07c82 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 60ea55fdbaf1 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' fa38da2f5a55 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d28bef2b727f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d0e3bc130e43 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 156f7173d2d9 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d57cc6508ec3 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 3cea7ee8ca43 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 0d5201c14f6a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4c70c49e7938 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 703d15a339aa + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7cd2000f48ab + '[' 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 566409b41d88:/tmp/ + docker exec -w //home/onap/ 566409b41d88 //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 3cea7ee8ca43:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 3cea7ee8ca43 //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' + 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# 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 https://0.0.0.0:2223/ (Press CTRL+C to quit) * Running on http://0.0.0.0:2222/ (Press CTRL+C to quit) 172.17.0.1 - - [25/Nov/2023 17:44:24] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:44:24] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:45:18] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:46:14] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:46:24] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:46:34] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:46:44] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:46:54] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:47:04] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:47:14] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: oom-certservice-post-processor Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ Verify single event with single 1MB file with HTTP JWT. From event... Simulator-start: Creating docker network dfcnet, if needed All simulators Started Simulator DR sim on localhost:3906/ responded ok Simulator DR redir sim on localhost:3908/ responded ok Simulator MR sim on localhost:2222/ responded ok Simulator DR sim https on https://localhost:3907/ responded ok Simulator DR redir sim https on https://localhost:3909/ responded ok Simulator MR sim https on https://localhost:2223/ responded ok Simulator FTPES server 0 on localhost:1032 responded ok Simulator FTPES server 1 on localhost:1033 responded ok Simulator FTPES server 2 on localhost:1034 responded ok Simulator FTPES server 3 on localhost:1035 responded ok Simulator FTPES server 4 on localhost:1036 responded ok Simulator SFTP server 0 on localhost:1022 responded ok Simulator SFTP server 1 on localhost:1023 responded ok Simulator SFTP server 2 on localhost:1024 responded ok Simulator SFTP server 3 on localhost:1025 responded ok Simulator SFTP server 4 on localhost:1026 responded ok Simulator HTTP basic auth server 0 on localhost: 81 responded ok Simulator HTTP basic auth server 1 on localhost: 82 responded ok Simulator HTTP basic auth server 2 on localhost: 83 responded ok Simulator HTTP basic auth server 3 on localhost: 84 responded ok Simulator HTTP basic auth server 4 on localhost: 85 responded ok Simulator HTTP JWT server 0 on localhost:32001 responded ok Simulator HTTP JWT server 1 on localhost:32002 responded ok Simulator HTTP JWT server 2 on localhost:32003 responded ok Simulator HTTP JWT server 3 on localhost:32004 responded ok Simulator HTTP JWT server 4 on localhost:32005 responded ok Simulator HTTPS basic auth server 0 on localhost: 444 responded ok Simulator HTTPS basic auth server 1 on localhost: 445 responded ok Simulator HTTPS basic auth server 2 on localhost: 446 responded ok Simulator HTTPS basic auth server 3 on localhost: 447 responded ok Simulator HTTPS basic auth server 4 on localhost: 448 responded ok Simulator HTTPS client certificate authentication server 0 on localhost:444 - no response Simulator HTTPS client certificate authentication server 1 on localhost:445 - no response Simulator HTTPS client certificate authentication server 2 on localhost:446 - no response Simulator HTTPS client certificate authentication server 3 on localhost:447 - no response Simulator HTTPS client certificate authentication server 4 on localhost:448 - no response Simulator HTTPS no auth server 0 on localhost:8081 responded ok Simulator HTTPS no auth server 1 on localhost:8082 responded ok Simulator HTTPS no auth server 2 on localhost:8083 responded ok Simulator HTTPS no auth server 3 on localhost:8084 responded ok Simulator HTTPS no auth server 4 on localhost:8085 responded ok Simulator HTTPS JWT server 0 on localhost:32101 responded ok Simulator HTTPS JWT server 1 on localhost:32102 responded ok Simulator HTTPS JWT server 2 on localhost:32103 responded ok Simulator HTTPS JWT server 3 on localhost:32104 responded ok Simulator HTTPS JWT server 4 on localhost:32105 responded ok Creating files for SFTP server, may take time.... Running ftp file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in ftp servers with index 0 Creating files for HTTP server, may take time.... Running http file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in http servers with index 0 Done: All simulators started and configured + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Starting dfc_cmpv2-postprocessor ... Creating dfc_dr-sim ... Creating dfc_mr-sim ... Creating dfc_http-https-server1 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_http-https-server3 ... Creating dfc_http-https-server0 ... Creating dfc_http-https-server2 ... Creating dfc_sftp-server0 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_sftp-server2 ... Creating dfc_sftp-server4 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_sftp-server3 ... Creating dfc_sftp-server1 ... Creating dfc_dr-redir-sim ... Creating dfc_http-https-server4 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_ftpes-server-vsftpd0 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_dr-sim ... done Creating dfc_sftp-server0 ... done Creating dfc_dr-redir-sim ... done Creating dfc_sftp-server3 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_sftp-server4 ... done Creating dfc_sftp-server1 ... done Creating dfc_http-https-server3 ... done Creating dfc_http-https-server0 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_sftp-server2 ... done Creating dfc_http-https-server4 ... done Creating dfc_mr-sim ... done Creating dfc_http-https-server1 ... 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=d98c50bcb2a3 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=d5a39b01e6d1 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=59801957afb7 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=77c9b0791e69 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=c9fa0f4e3335 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=cc9057d463cb ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=ab48064d0ded ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=edd9ddc38753 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=28f5c91af51d ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=08a96ece6321 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=f42f942d7b76 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=6c226f82f9e2 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=5c8c42a1dcd0 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=36ded40a2846 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=1b76aa9f4177 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=ad742264f09d ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=9e46ced2e976 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=70c5dc0236bd + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' d98c50bcb2a3 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d5a39b01e6d1 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 59801957afb7 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 77c9b0791e69 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c9fa0f4e3335 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' cc9057d463cb + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ab48064d0ded + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' edd9ddc38753 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 28f5c91af51d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 08a96ece6321 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f42f942d7b76 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6c226f82f9e2 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5c8c42a1dcd0 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 36ded40a2846 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1b76aa9f4177 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ad742264f09d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9e46ced2e976 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 70c5dc0236bd + '[' 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 77c9b0791e69:/tmp/ + docker exec -w //home/onap/ 77c9b0791e69 //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 36ded40a2846:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 36ded40a2846 //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 - - [25/Nov/2023 17:47:41] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:47:41] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:48:35] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:49:31] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:49:41] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:49:51] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:50:01] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:50:11] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:50:21] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:50:31] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ Verify single event with single 1MB file with HTTPS JWT. From even... Simulator-start: Creating docker network dfcnet, if needed All simulators Started Simulator DR sim on localhost:3906/ responded ok Simulator DR redir sim on localhost:3908/ responded ok Simulator MR sim on localhost:2222/ responded ok Simulator DR sim https on https://localhost:3907/ responded ok Simulator DR redir sim https on https://localhost:3909/ responded ok Simulator MR sim https on https://localhost:2223/ responded ok Simulator FTPES server 0 on localhost:1032 responded ok Simulator FTPES server 1 on localhost:1033 responded ok Simulator FTPES server 2 on localhost:1034 responded ok Simulator FTPES server 3 on localhost:1035 responded ok Simulator FTPES server 4 on localhost:1036 responded ok Simulator SFTP server 0 on localhost:1022 responded ok Simulator SFTP server 1 on localhost:1023 responded ok Simulator SFTP server 2 on localhost:1024 responded ok Simulator SFTP server 3 on localhost:1025 responded ok Simulator SFTP server 4 on localhost:1026 responded ok Simulator HTTP basic auth server 0 on localhost: 81 responded ok Simulator HTTP basic auth server 1 on localhost: 82 responded ok Simulator HTTP basic auth server 2 on localhost: 83 responded ok Simulator HTTP basic auth server 3 on localhost: 84 responded ok Simulator HTTP basic auth server 4 on localhost: 85 responded ok Simulator HTTP JWT server 0 on localhost:32001 responded ok Simulator HTTP JWT server 1 on localhost:32002 responded ok Simulator HTTP JWT server 2 on localhost:32003 responded ok Simulator HTTP JWT server 3 on localhost:32004 responded ok Simulator HTTP JWT server 4 on localhost:32005 responded ok Simulator HTTPS basic auth server 0 on localhost: 444 responded ok Simulator HTTPS basic auth server 1 on localhost: 445 responded ok Simulator HTTPS basic auth server 2 on localhost: 446 responded ok Simulator HTTPS basic auth server 3 on localhost: 447 responded ok Simulator HTTPS basic auth server 4 on localhost: 448 responded ok Simulator HTTPS client certificate authentication server 0 on localhost:444 - no response Simulator HTTPS client certificate authentication server 1 on localhost:445 - no response Simulator HTTPS client certificate authentication server 2 on localhost:446 - no response Simulator HTTPS client certificate authentication server 3 on localhost:447 - no response Simulator HTTPS client certificate authentication server 4 on localhost:448 - no response Simulator HTTPS no auth server 0 on localhost:8081 responded ok Simulator HTTPS no auth server 1 on localhost:8082 responded ok Simulator HTTPS no auth server 2 on localhost:8083 responded ok Simulator HTTPS no auth server 3 on localhost:8084 responded ok Simulator HTTPS no auth server 4 on localhost:8085 responded ok Simulator HTTPS JWT server 0 on localhost:32101 responded ok Simulator HTTPS JWT server 1 on localhost:32102 responded ok Simulator HTTPS JWT server 2 on localhost:32103 responded ok Simulator HTTPS JWT server 3 on localhost:32104 responded ok Simulator HTTPS JWT server 4 on localhost:32105 responded ok Creating files for SFTP server, may take time.... Running ftp file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in ftp servers with index 0 Creating files for HTTP server, may take time.... Running http file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in http servers with index 0 Done: All simulators started and configured + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Creating dfc_sftp-server1 ... Creating dfc_sftp-server2 ... Creating dfc_sftp-server3 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_sftp-server0 ... Creating dfc_http-https-server1 ... Creating dfc_dr-sim ... Starting dfc_cmpv2-postprocessor ... Creating dfc_sftp-server4 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_http-https-server0 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_http-https-server4 ... Creating dfc_http-https-server3 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_dr-redir-sim ... Creating dfc_http-https-server2 ... Creating dfc_mr-sim ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server2 ... done Creating dfc_sftp-server4 ... done Creating dfc_sftp-server1 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_sftp-server3 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_mr-sim ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_http-https-server0 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_http-https-server4 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_http-https-server1 ... done Creating dfc_dr-sim ... done Creating dfc_http-https-server3 ... done Creating dfc_dr-redir-sim ... done Creating dfc_http-https-server2 ... done Creating dfc_sftp-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=d30858e74d7e ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=9ad4c75b1ad0 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=21fc36facc80 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=a730d3eb92ae ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=41d296c1d585 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=fcc56689bfae ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=fa3b851f147a ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=eb7e5f362946 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=6e3d9cadcf38 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=b317483364d0 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=e4bc7e32d934 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=d8aa1f47df75 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=61be8277cf42 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=508d9dac2a32 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=38f4f64c6678 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=04edc7d98d3d ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=8834e09cc37c ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=ec1b9edfcba5 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' d30858e74d7e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9ad4c75b1ad0 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 21fc36facc80 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a730d3eb92ae + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 41d296c1d585 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' fcc56689bfae + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' fa3b851f147a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' eb7e5f362946 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6e3d9cadcf38 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b317483364d0 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e4bc7e32d934 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d8aa1f47df75 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 61be8277cf42 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 508d9dac2a32 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 38f4f64c6678 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 04edc7d98d3d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8834e09cc37c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ec1b9edfcba5 + '[' 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 a730d3eb92ae:/tmp/ + docker exec -w //home/onap/ a730d3eb92ae //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 508d9dac2a32:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 508d9dac2a32 //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 - - [25/Nov/2023 17:50:58] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:50:58] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:51:52] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:52:48] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:52:58] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:53:08] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:53:18] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:53:28] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:53:38] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [25/Nov/2023 17:53:48] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: oom-certservice-post-processor Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ plans/dcaegen2-collectors-datafile/Functional-suite.HTTP-Various-C... | FAIL | 5 tests, 0 passed, 5 failed ============================================================================== plans/dcaegen2-collectors-datafile/Functional-suite.HTTP-Various-C... | FAIL | 5 tests, 0 passed, 5 failed ============================================================================== plans/dcaegen2-collectors-datafile/Functional-suite | FAIL | 21 tests, 0 passed, 21 failed ============================================================================== Debug: /tmp/tmp.OhhvHVP9U3-robot-workdir/debug.log Output: /tmp/tmp.OhhvHVP9U3-robot-workdir/output.xml Log: /tmp/tmp.OhhvHVP9U3-robot-workdir/log.html Report: /tmp/tmp.OhhvHVP9U3-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.OhhvHVP9U3-robot-workdir ]] + rsync -av /tmp/tmp.OhhvHVP9U3-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,322 bytes received 114 bytes 4,118,872.00 bytes/sec total size is 2,058,442 speedup is 1.00 + docker ps --format '{{.Image}}' + 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-2-after-robot.txt + top -bn1 + head -3 > top -bn1 | head -3 top - 17:53:55 up 1:12, 0 users, load average: 0.22, 0.31, 0.35 Tasks: 159 total, 1 running, 82 sleeping, 0 stopped, 0 zombie %Cpu(s): 1.8 us, 0.7 sy, 0.0 ni, 97.0 id, 0.4 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 904M 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=1b76793bd53b +++ docker images -q ++ running_images='4cc3ac7df05d f377ed8fd07b c631ea68ce5b 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 1b76793bd53b ']' ++ echo 'Stopping and removing containers' Stopping and removing containers ++ docker stop 1b76793bd53b 1b76793bd53b ++ docker rm 1b76793bd53b 1b76793bd53b ++ docker rmi 4cc3ac7df05d f377ed8fd07b c631ea68ce5b 1d12470fa662 cab7d4ddb83a f77990a9b766 4753d5a74f10 7f6e6b759f88 1d208ca2d7f7 Untagged: ftpes_vsftpd:latest Deleted: sha256:4cc3ac7df05de5181e1fd06060799d70007853f78f74cf0cef47b5d8c2ed7357 Deleted: sha256:e190dcc0b73588e5337f9881c3e4f4852da8b77daf4852e94bd301b8b3aa3b03 Deleted: sha256:b89a9c8ff08d49c86ef15df4acf37f345f78a6003d6f8d3e740421f2c111fb21 Deleted: sha256:f964e61cc01cba06e977ca4ac86b09a82b8098e11b1087774f418a385aacdd9b Deleted: sha256:39e9717ab26fe3ef85da7b5b9f28dd653f8b86609b550aea8aba207164623a1a Deleted: sha256:6e80e982ca0726670837b21f60a429a8b4aa2e886b34b90c73917c9b066c092d Untagged: drsim_common:latest Deleted: sha256:f377ed8fd07b64462ffc3b6ae361658891265fc0dfbb5d935766cb827bb27af6 Deleted: sha256:76a568ba89d5e03d66a34a9294df82792aab7760ff1b1a527ece97d11a0eb912 Deleted: sha256:fbac6701d5e185699c9c2202d4f54170b569a5a96f4fdf0c7af28eced7a57a55 Deleted: sha256:7cc2de1070b156dd94b20a3abe887f02917ddc060dc34c4b13a6fca52a64103a Deleted: sha256:dfb641f5b342f939c94d560f637e45c9da5557ad58c2c459bc1b67e3c9046eed Deleted: sha256:ad1a329a69b5bccd717e51e03b416ad229f683c8d1bafb157f3cda5189ee949f Deleted: sha256:56eae47a3ba2cff79d3ea5f94d4e264bc12a3d6991f925cbac3e622a70a96ddf Deleted: sha256:789385538607214e8f10adee78a873e93e9f4c394611c469a02f4a6e72c14404 Deleted: sha256:b20ff766ebc9ab248d6a8dc374b1dd4bba5c664c9a0bbecfdc65e4cc22ed51d3 Deleted: sha256:391ea5b276b5cb1c9bef545d50c969064b21ea1d885a605a5f9380b1cc22dbb8 Deleted: sha256:6331ecd6ab6f8bd2ee51e6ff82a32fb0a940a6d804fc102eaac9d7dce457848d Deleted: sha256:fcaea16e1378e1bd5e79cd0e81196c9cab3ab90cf3a17c8cda1beef082ab176c Untagged: mrsim:latest Deleted: sha256:c631ea68ce5b54415d189b2140d99a28296b0ddf2e2a26785691a22406706fff Deleted: sha256:50b27386499dc62f8383fcf8cffec4be4937e2cb362d7e7848c75918cf57a5bf Deleted: sha256:80086f42ed4f2dde3064ec294de1234d6cc506aded0ac7ca96b37c47378b9c58 Deleted: sha256:62e1b285213acab511169d11ed48486eab45d4a998afd8c9d1da7d1fd91fb0be Deleted: sha256:66579a0b7c091bddd173da7586777540d27faad93409af8cc03868e6c19ec303 Deleted: sha256:2aac33b21bfe55c4351be75057df9e4157cd2e0fbe8370e641d1d5cda4f06de1 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 2123 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/jenkins664296767612944707.sh ---> sysstat.sh [dcaegen2-collectors-datafile-master-csit-Functional-suite] $ /bin/bash /tmp/jenkins5401656490964492161.sh ---> package-listing.sh ++ tr '[:upper:]' '[:lower:]' ++ facter osfamily + OS_FAMILY=debian + workspace=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite + START_PACKAGES=/tmp/packages_start.txt + END_PACKAGES=/tmp/packages_end.txt + DIFF_PACKAGES=/tmp/packages_diff.txt + PACKAGES=/tmp/packages_start.txt + '[' /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + dpkg -l + grep '^ii' + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite ']' + mkdir -p /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/ [dcaegen2-collectors-datafile-master-csit-Functional-suite] $ /bin/bash /tmp/jenkins5724124802211716059.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-esta from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-esta/bin to PATH INFO: Running in OpenStack, capturing instance metadata [dcaegen2-collectors-datafile-master-csit-Functional-suite] $ /bin/bash /tmp/jenkins10693157281571251031.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite@tmp/config1508340700136398833tmp 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/jenkins8566277080104675823.sh ---> create-netrc.sh [dcaegen2-collectors-datafile-master-csit-Functional-suite] $ /bin/bash /tmp/jenkins17299326621345962905.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-esta from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-esta/bin to PATH [dcaegen2-collectors-datafile-master-csit-Functional-suite] $ /bin/bash /tmp/jenkins12180503983600334518.sh ---> sudo-logs.sh Archiving 'sudo' log.. [dcaegen2-collectors-datafile-master-csit-Functional-suite] $ /bin/bash /tmp/jenkins12664496928456030792.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-esta 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-esta/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/jenkins3153892671400267195.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-esta from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-esta/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/dcaegen2-collectors-datafile-master-csit-Functional-suite/1729 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-4394 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 968 28548 0 2650 30749 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:92:1e:c0 brd ff:ff:ff:ff:ff:ff inet 10.30.106.199/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 81996sec preferred_lft 81996sec inet6 fe80::f816:3eff:fe92:1ec0/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:ee:3c:0f:55 brd ff:ff:ff:ff:ff:ff inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 valid_lft forever preferred_lft forever inet6 fe80::42:eeff:fe3c:f55/64 scope link valid_lft forever preferred_lft forever 14: br-ff27f4056b80: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:95:c7:7e:15 brd ff:ff:ff:ff:ff:ff inet 172.17.0.1/16 brd 172.17.255.255 scope global br-ff27f4056b80 valid_lft forever preferred_lft forever inet6 fe80::42:95ff:fec7:7e15/64 scope link valid_lft forever preferred_lft forever 15: br-250dc4dc06ed: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:03:b6:97:41 brd ff:ff:ff:ff:ff:ff inet 172.18.0.1/16 brd 172.18.255.255 scope global br-250dc4dc06ed valid_lft forever preferred_lft forever inet6 fe80::42:3ff:feb6:9741/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-4394) 11/25/23 _x86_64_ (8 CPU) 16:41:31 LINUX RESTART (8 CPU) 16:42:01 tps rtps wtps bread/s bwrtn/s 16:43:02 116.45 44.88 71.57 1995.27 27157.24 16:44:01 145.72 13.69 132.03 1333.33 35911.61 16:45:01 309.45 6.00 303.45 883.59 84723.75 16:46:01 50.78 0.38 50.40 50.92 19565.48 16:47:01 14.85 0.00 14.85 0.00 18994.70 16:48:01 12.90 0.00 12.90 0.00 18964.44 16:49:01 126.56 0.28 126.28 35.19 22178.17 16:50:01 8.82 0.00 8.82 0.00 10351.21 16:51:01 1.25 0.00 1.25 0.00 14.66 16:52:01 122.28 0.12 122.16 15.06 3054.85 16:53:01 5.25 0.02 5.23 2.13 96.52 16:54:01 1.23 0.00 1.23 0.00 15.46 16:55:01 114.28 0.00 114.28 0.00 2820.06 16:56:01 12.26 0.03 12.23 8.53 266.84 16:57:01 6.43 3.52 2.92 28.13 48.93 16:58:01 7.58 0.00 7.58 0.00 104.50 16:59:01 113.91 0.07 113.85 12.93 2919.25 17:00:01 2.38 0.00 2.38 0.00 39.85 17:01:01 1.35 0.00 1.35 0.00 16.66 17:02:01 127.57 0.02 127.56 2.40 3057.78 17:03:01 2.70 0.00 2.70 0.00 43.86 17:04:01 1.48 0.00 1.48 0.00 18.40 17:05:01 112.35 0.05 112.30 8.40 2782.27 17:06:01 9.38 0.00 9.38 0.00 164.51 17:07:01 1.27 0.00 1.27 0.00 16.93 17:08:01 114.13 0.02 114.11 0.40 2695.28 17:09:01 15.78 0.00 15.78 0.00 353.14 17:10:01 3.17 0.00 3.17 0.00 46.53 17:11:01 1.18 0.00 1.18 0.00 16.00 17:12:01 125.38 0.02 125.36 4.00 2912.58 17:13:01 2.48 0.00 2.48 0.00 38.79 17:14:01 2.75 0.97 1.78 20.66 26.00 17:15:01 124.13 0.00 124.13 0.00 2835.26 17:16:01 3.80 0.00 3.80 0.00 75.05 17:17:01 1.67 0.02 1.65 0.13 23.86 17:18:01 116.96 0.03 116.93 6.27 2763.01 17:19:01 9.57 0.00 9.57 0.00 184.24 17:20:01 2.60 0.00 2.60 0.00 40.93 17:21:01 53.42 0.00 53.42 0.00 615.63 17:22:01 74.98 0.00 74.98 0.00 2266.04 17:23:01 3.20 0.00 3.20 0.00 45.86 17:24:01 2.38 0.00 2.38 0.00 28.13 17:25:01 127.11 0.00 127.11 0.00 2830.86 17:26:01 5.00 0.00 5.00 0.00 88.79 17:27:01 1.23 0.00 1.23 0.00 15.73 17:28:01 120.38 0.00 120.38 0.00 2758.47 17:29:01 9.85 0.00 9.85 0.00 161.17 17:30:01 1.33 0.00 1.33 0.00 18.40 17:31:01 110.78 0.00 110.78 0.00 2569.17 17:32:01 18.46 0.00 18.46 0.00 368.74 17:33:01 2.85 0.00 2.85 0.00 42.92 17:34:01 1.83 0.00 1.83 0.00 23.20 17:35:01 130.36 0.57 129.80 16.53 2912.98 17:36:01 2.75 0.02 2.73 4.27 41.73 17:37:01 1.20 0.00 1.20 0.00 15.20 17:38:01 131.16 0.00 131.16 0.00 2968.04 17:39:01 4.68 0.00 4.68 0.00 692.70 17:40:01 2.12 0.00 2.12 0.00 25.73 17:41:01 121.78 0.00 121.78 0.00 2721.28 17:42:01 10.51 0.00 10.51 0.00 209.17 17:43:01 3.52 0.00 3.52 0.00 386.67 17:44:01 42.38 0.00 42.38 0.00 470.19 17:45:01 100.65 0.00 100.65 0.00 2627.96 17:46:01 2.83 0.00 2.83 0.00 42.79 17:47:01 1.25 0.00 1.25 0.00 16.40 17:48:01 136.76 0.02 136.74 2.80 2906.18 17:49:01 1.42 0.00 1.42 0.00 26.12 17:50:01 2.20 0.00 2.20 0.00 27.73 17:51:01 131.06 0.07 130.99 3.20 2870.78 17:52:01 9.55 0.00 9.55 0.00 152.24 17:53:01 1.73 0.00 1.73 0.00 22.79 17:54:01 75.72 0.70 75.02 40.39 1716.51 Average: 47.18 0.99 46.19 61.87 4131.97 16:42:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 16:43:02 30123012 31733224 2816200 8.55 71520 1848036 1420400 4.18 845820 1680656 170508 16:44:01 29631256 31731156 3307956 10.04 98096 2285548 1513252 4.45 948344 2015684 175780 16:45:01 27642032 31576840 5297180 16.08 154816 3930992 3213844 9.46 1205568 3578380 1424 16:46:01 27410968 31338640 5528244 16.78 156544 3923108 11571776 34.05 1372096 3542288 172 16:47:01 27400056 31328516 5539156 16.82 156656 3923180 11538068 33.95 1382164 3541084 52 16:48:01 27397876 31326544 5541336 16.82 156720 3923200 11571784 34.05 1384348 3541108 212 16:49:01 27395556 31331980 5543656 16.83 159160 3925124 11582164 34.08 1425412 3494512 48 16:50:01 27380188 31317364 5559024 16.88 159220 3925244 11564168 34.02 1439404 3494300 96 16:51:01 27381832 31319060 5557380 16.87 159260 3925264 11566648 34.03 1437188 3494320 160 16:52:01 27387684 31331784 5551528 16.85 161700 3926696 11547984 33.98 1425368 3493712 1556 16:53:01 27368828 31313668 5570384 16.91 161748 3926904 11497188 33.83 1441136 3493836 132 16:54:01 27367896 31312796 5571316 16.91 161776 3926920 11490936 33.81 1441724 3493824 212 16:55:01 27227384 31197544 5711828 17.34 163836 3939992 12135276 35.70 1595508 3506112 1952 16:56:01 27359272 31310456 5579940 16.94 164184 3928392 11684928 34.38 1445036 3494392 272 16:57:01 27350996 31303844 5588216 16.97 165084 3928460 11623964 34.20 1450976 3494388 352 16:58:01 27415356 31367520 5523856 16.77 165188 3928344 10790724 31.75 1392252 3494376 200 16:59:01 27354892 31313600 5584320 16.95 167280 3929752 11629168 34.22 1442644 3495096 188 17:00:01 27345056 31304208 5594156 16.98 167308 3929840 11579964 34.07 1450936 3495036 116 17:01:01 27342240 31301452 5596972 16.99 167340 3929860 11572984 34.05 1453972 3495056 68 17:02:01 27345468 31309768 5593744 16.98 169200 3930828 11645332 34.26 1445644 3495792 152 17:03:01 27328760 31293992 5610452 17.03 169248 3930964 11624076 34.20 1459908 3495896 228 17:04:01 27328316 31293584 5610896 17.03 169276 3930976 11636296 34.24 1459892 3495908 36 17:05:01 27338596 31308736 5600616 17.00 170960 3932000 11625084 34.20 1446168 3496320 3172 17:06:01 27322744 31293708 5616468 17.05 171036 3932184 11624908 34.20 1459260 3496464 4 17:07:01 27320672 31291676 5618540 17.06 171072 3932192 11600884 34.13 1461292 3496472 216 17:08:01 26958132 30951656 5981080 18.16 172420 3944820 14068076 41.39 1834548 3508916 1192 17:09:01 27316624 31292984 5622588 17.07 172876 3933368 11660632 34.31 1459716 3497364 36 17:10:01 27307920 31284756 5631292 17.10 172924 3933448 11592612 34.11 1466412 3497368 4 17:11:01 27305992 31282868 5633220 17.10 172940 3933472 11619428 34.19 1467960 3497392 184 17:12:01 27315368 31296312 5623844 17.07 174660 3934564 11536932 33.94 1455284 3498192 44 17:13:01 27301476 31282900 5637736 17.12 174696 3934672 11494824 33.82 1468164 3498288 176 17:14:01 27297292 31279848 5641920 17.13 174756 3935304 11493016 33.82 1471228 3498724 340 17:15:01 27307952 31295412 5631260 17.10 176196 3936600 11663260 34.32 1453184 3499540 1104 17:16:01 27290532 31278820 5648680 17.15 176232 3936736 11643324 34.26 1469048 3499668 336 17:17:01 27289740 31278072 5649472 17.15 176264 3936752 11654036 34.29 1469096 3499684 276 17:18:01 27104640 31120768 5834572 17.71 177772 3955796 13393716 39.41 1639484 3518268 2468 17:19:01 27281868 31275708 5657344 17.18 177836 3938428 11480056 33.78 1471680 3501264 352 17:20:01 27283848 31277496 5655364 17.17 177860 3938300 11505568 33.85 1470520 3501024 32 17:21:01 27506324 31494156 5432888 16.49 178236 3932124 5444560 16.02 1310868 3495628 64 17:22:01 27281936 31279824 5657276 17.17 179052 3939012 11602600 34.14 1464992 3501476 180 17:23:01 27268860 31267292 5670352 17.21 179080 3939096 11548376 33.98 1476184 3501560 148 17:24:01 27267584 31266080 5671628 17.22 179128 3939116 11570956 34.04 1476796 3501580 160 17:25:01 27270056 31272232 5669156 17.21 180488 3939960 11693712 34.41 1471156 3502468 1380 17:26:01 27257792 31260556 5681420 17.25 180520 3940088 11663956 34.32 1481388 3502592 84 17:27:01 27252916 31255704 5686296 17.26 180544 3940088 11666668 34.33 1484884 3502608 72 17:28:01 27268752 31275908 5670460 17.21 181760 3940936 11587928 34.09 1465636 3503280 3296 17:29:01 27246060 31253816 5693152 17.28 181776 3941084 11520624 33.90 1485264 3503416 4 17:30:01 27246216 31253988 5692996 17.28 181788 3941088 11512452 33.87 1486892 3503420 44 17:31:01 27304936 31332412 5634276 17.11 182648 3953412 6586876 19.38 1471804 3515864 816 17:32:01 27242536 31254368 5696676 17.29 182956 3942136 11711112 34.46 1484632 3504320 96 17:33:01 27232968 31245248 5706244 17.32 182988 3942216 11685344 34.38 1492688 3504388 164 17:34:01 27237336 31249668 5701876 17.31 183008 3942232 11667984 34.33 1488568 3504408 36 17:35:01 27226132 31245780 5713080 17.34 184140 3943452 11634996 34.23 1493164 3504800 148 17:36:01 27213076 31233372 5726136 17.38 184176 3943664 11556460 34.00 1504820 3504968 12 17:37:01 27217796 31238128 5721416 17.37 184200 3943676 11575196 34.06 1500208 3504984 40 17:38:01 27212528 31235708 5726684 17.39 185260 3944484 11463660 33.73 1501720 3505580 1392 17:39:01 27196580 31220244 5742632 17.43 185284 3944636 11435536 33.65 1515580 3505720 496 17:40:01 27199608 31223320 5739604 17.42 185316 3944648 11420284 33.60 1512164 3505708 96 17:41:01 26935180 30985640 6004032 18.23 186312 3965696 13820360 40.66 1754392 3526392 2344 17:42:01 27180108 31207888 5759104 17.48 186424 3945760 11608564 34.16 1521828 3506704 324 17:43:01 27185580 31213640 5753632 17.47 186432 3945788 11602644 34.14 1518556 3506724 20 17:44:01 27333420 31357168 5605792 17.02 186640 3945184 8173384 24.05 1407300 3506812 604 17:45:01 27185548 31217608 5753664 17.47 187520 3946928 11591216 34.10 1513572 3507740 192 17:46:01 27177000 31209600 5762212 17.49 187536 3947016 11497536 33.83 1520332 3507820 96 17:47:01 27175568 31208196 5763644 17.50 187548 3947036 11496984 33.83 1522632 3507840 244 17:48:01 27180408 31216896 5758804 17.48 188428 3947816 11699036 34.42 1512768 3508456 36 17:49:01 27164016 31201044 5775196 17.53 188460 3947924 11681268 34.37 1526752 3508564 520 17:50:01 27164944 31202016 5774268 17.53 188484 3947948 11629144 34.22 1525828 3508584 260 17:51:01 27166996 31207808 5772216 17.52 189304 3949184 11748924 34.57 1520764 3509576 3208 17:52:01 27156424 31197676 5782788 17.56 189328 3949332 11697884 34.42 1528680 3509716 312 17:53:01 27161824 31203096 5777388 17.54 189344 3949344 11670296 34.34 1523392 3509720 60 17:54:01 29250124 31506800 3689088 11.20 189820 2298996 1769868 5.21 1191284 1985468 22488 Average: 27377715 31285308 5561497 16.88 173466 3863297 10942968 32.20 1457859 3437772 5601 16:42:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 16:43:02 lo 1.40 1.40 0.15 0.15 0.00 0.00 0.00 0.00 16:43:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:43:02 ens3 262.98 192.31 1541.96 52.13 0.00 0.00 0.00 0.00 16:44:01 lo 2.17 2.17 0.20 0.20 0.00 0.00 0.00 0.00 16:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:44:01 ens3 102.10 68.62 1374.45 13.42 0.00 0.00 0.00 0.00 16:45:01 vethe81d6f5 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:45:01 br-250dc4dc06ed 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:45:01 lo 5.07 5.07 0.55 0.55 0.00 0.00 0.00 0.00 16:45:01 veth6243580 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:46:01 veth97eab55 0.33 0.85 0.13 0.08 0.00 0.00 0.00 0.00 16:46:01 vethc8c42cb 0.12 0.55 0.01 0.03 0.00 0.00 0.00 0.00 16:46:01 veth1a9ea27 0.22 0.62 0.09 0.05 0.00 0.00 0.00 0.00 16:46:01 br-250dc4dc06ed 0.00 0.08 0.00 0.01 0.00 0.00 0.00 0.00 16:47:01 veth97eab55 1.93 1.95 1.20 0.58 0.00 0.00 0.00 0.00 16:47:01 vethc8c42cb 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:47:01 veth1a9ea27 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:47:01 br-250dc4dc06ed 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:48:01 veth97eab55 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:48:01 vethc8c42cb 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:48:01 veth1a9ea27 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:48:01 br-250dc4dc06ed 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:49:01 vethbbb8243 0.83 1.62 0.46 0.26 0.00 0.00 0.00 0.00 16:49:01 vethf6b80cf 0.33 1.12 0.13 0.10 0.00 0.00 0.00 0.00 16:49:01 veth71bf73a 0.12 0.82 0.01 0.05 0.00 0.00 0.00 0.00 16:49:01 veth00cea8a 0.12 0.83 0.01 0.05 0.00 0.00 0.00 0.00 16:50:01 vethbbb8243 1.42 1.48 0.88 0.42 0.00 0.00 0.00 0.00 16:50:01 vethf6b80cf 1.95 1.97 1.21 0.58 0.00 0.00 0.00 0.00 16:50:01 veth71bf73a 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 16:50:01 veth00cea8a 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:51:01 vethbbb8243 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:51:01 vethf6b80cf 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:51:01 veth71bf73a 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:51:01 veth00cea8a 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:52:01 vethe33b4a7 0.12 0.82 0.01 0.05 0.00 0.00 0.00 0.00 16:52:01 veth2852e2e 0.23 1.00 0.11 0.07 0.00 0.00 0.00 0.00 16:52:01 vethc2ca594 0.22 0.90 0.09 0.07 0.00 0.00 0.00 0.00 16:52:01 br-250dc4dc06ed 0.00 0.15 0.00 0.01 0.00 0.00 0.00 0.00 16:53:01 vethe33b4a7 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 16:53:01 veth2852e2e 0.10 0.17 0.01 0.01 0.00 0.00 0.00 0.00 16:53:01 vethc2ca594 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 16:53:01 br-250dc4dc06ed 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:54:01 vethe33b4a7 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:54:01 veth2852e2e 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:54:01 vethc2ca594 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:54:01 br-250dc4dc06ed 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:55:01 vethbea95cf 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:55:01 vethc4e61f8 0.00 0.10 0.00 0.01 0.00 0.00 0.00 0.00 16:55:01 vetha797f8c 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:55:01 vethde22490 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:56:01 vethbea95cf 2.00 2.80 1.22 0.63 0.00 0.00 0.00 0.00 16:56:01 vethc4e61f8 0.12 0.75 0.01 0.04 0.00 0.00 0.00 0.00 16:56:01 veth8edf8bf 0.20 0.92 0.09 0.07 0.00 0.00 0.00 0.00 16:56:01 br-250dc4dc06ed 0.00 0.18 0.00 0.02 0.00 0.00 0.00 0.00 16:57:01 vethbea95cf 0.28 0.33 0.12 0.05 0.00 0.00 0.00 0.00 16:57:01 vethc4e61f8 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:57:01 veth8edf8bf 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:57:01 br-250dc4dc06ed 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:58:01 vethbea95cf 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:58:01 vethc4e61f8 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:58:01 veth8edf8bf 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:58:01 br-250dc4dc06ed 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:59:01 veth4b858d6 0.22 0.90 0.09 0.07 0.00 0.00 0.00 0.00 16:59:01 veth6487e32 2.02 2.80 1.22 0.63 0.00 0.00 0.00 0.00 16:59:01 veth632a2c5 0.12 0.83 0.01 0.05 0.00 0.00 0.00 0.00 16:59:01 br-250dc4dc06ed 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:00:01 veth4b858d6 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:00:01 veth6487e32 0.27 0.28 0.12 0.05 0.00 0.00 0.00 0.00 17:00:01 veth632a2c5 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:00:01 br-250dc4dc06ed 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:01:01 veth4b858d6 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:01:01 veth6487e32 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:01:01 veth632a2c5 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:01:01 br-250dc4dc06ed 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:02:01 vethfff17d5 2.00 2.78 1.22 0.63 0.00 0.00 0.00 0.00 17:02:01 veth011e179 0.12 0.83 0.01 0.05 0.00 0.00 0.00 0.00 17:02:01 veth4126fc0 0.33 1.13 0.13 0.10 0.00 0.00 0.00 0.00 17:02:01 br-250dc4dc06ed 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:03:01 vethfff17d5 0.30 0.33 0.12 0.05 0.00 0.00 0.00 0.00 17:03:01 veth011e179 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:03:01 veth4126fc0 1.93 1.95 1.20 0.58 0.00 0.00 0.00 0.00 17:03:01 br-250dc4dc06ed 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:04:01 vethfff17d5 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:04:01 veth011e179 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:04:01 veth4126fc0 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:04:01 br-250dc4dc06ed 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:05:01 vethc94e2bd 0.10 0.78 0.01 0.05 0.00 0.00 0.00 0.00 17:05:01 vethfae0e12 0.33 1.10 0.13 0.10 0.00 0.00 0.00 0.00 17:05:01 veth5f9372b 0.10 0.80 0.01 0.05 0.00 0.00 0.00 0.00 17:05:01 veth3d65756 0.82 1.60 0.46 0.26 0.00 0.00 0.00 0.00 17:06:01 vethc94e2bd 0.02 0.07 0.00 0.00 0.00 0.00 0.00 0.00 17:06:01 vethfae0e12 1.95 2.00 1.20 0.58 0.00 0.00 0.00 0.00 17:06:01 veth5f9372b 0.02 0.05 0.00 0.00 0.00 0.00 0.00 0.00 17:06:01 veth3d65756 1.47 1.53 0.88 0.42 0.00 0.00 0.00 0.00 17:07:01 vethc94e2bd 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:07:01 vethfae0e12 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:07:01 veth5f9372b 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:07:01 veth3d65756 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:08:01 vetheff82dd 0.00 0.13 0.00 0.01 0.00 0.00 0.00 0.00 17:08:01 veth8ca9777 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:08:01 vethdbd3dfb 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:08:01 vethbc224b2 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:09:01 vetheff82dd 0.12 0.75 0.01 0.04 0.00 0.00 0.00 0.00 17:09:01 vethbc224b2 2.00 2.82 1.22 0.63 0.00 0.00 0.00 0.00 17:09:01 br-250dc4dc06ed 0.00 0.32 0.00 0.03 0.00 0.00 0.00 0.00 17:09:01 lo 224.75 224.75 83.89 83.89 0.00 0.00 0.00 0.00 17:10:01 vetheff82dd 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:10:01 vethbc224b2 0.27 0.28 0.12 0.05 0.00 0.00 0.00 0.00 17:10:01 br-250dc4dc06ed 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:10:01 lo 5.63 5.63 1.96 1.96 0.00 0.00 0.00 0.00 17:11:01 vetheff82dd 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:11:01 vethbc224b2 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:11:01 br-250dc4dc06ed 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:11:01 lo 1.32 1.32 0.09 0.09 0.00 0.00 0.00 0.00 17:12:01 vethdb82f62 0.12 0.83 0.01 0.05 0.00 0.00 0.00 0.00 17:12:01 veth38e8d35 0.22 1.00 0.11 0.08 0.00 0.00 0.00 0.00 17:12:01 vethb4e9871 0.12 0.88 0.01 0.06 0.00 0.00 0.00 0.00 17:12:01 veth5b18f7e 0.12 0.83 0.01 0.05 0.00 0.00 0.00 0.00 17:13:01 vethdb82f62 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:13:01 veth38e8d35 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:13:01 vethb4e9871 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:13:01 veth5b18f7e 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:14:01 vethdb82f62 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:14:01 veth38e8d35 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:14:01 vethb4e9871 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:14:01 veth5b18f7e 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:15:01 veth1b92486 0.23 1.00 0.11 0.07 0.00 0.00 0.00 0.00 17:15:01 veth116b5af 0.22 0.88 0.09 0.06 0.00 0.00 0.00 0.00 17:15:01 vethdad3a31 0.33 1.12 0.13 0.10 0.00 0.00 0.00 0.00 17:15:01 vetha124701 2.02 2.83 1.22 0.63 0.00 0.00 0.00 0.00 17:16:01 veth1b92486 0.10 0.17 0.01 0.01 0.00 0.00 0.00 0.00 17:16:01 veth116b5af 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:16:01 vethdad3a31 1.90 2.00 1.20 0.58 0.00 0.00 0.00 0.00 17:16:01 vetha124701 0.30 0.33 0.12 0.05 0.00 0.00 0.00 0.00 17:17:01 veth1b92486 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:17:01 veth116b5af 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:17:01 vethdad3a31 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:17:01 vetha124701 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:18:01 vethcad5dc7 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:18:01 veth6d405ad 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:18:01 veth10ab0ba 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:18:01 br-250dc4dc06ed 0.00 0.42 0.00 0.04 0.00 0.00 0.00 0.00 17:19:01 vethcad5dc7 2.28 3.07 1.34 0.68 0.00 0.00 0.00 0.00 17:19:01 veth10ab0ba 2.27 3.07 1.34 0.68 0.00 0.00 0.00 0.00 17:19:01 br-250dc4dc06ed 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:19:01 lo 312.53 312.53 117.61 117.61 0.00 0.00 0.00 0.00 17:20:01 vethcad5dc7 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:20:01 veth10ab0ba 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:20:01 br-250dc4dc06ed 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:20:01 lo 0.43 0.43 0.03 0.03 0.00 0.00 0.00 0.00 17:21:01 vethcad5dc7 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:21:01 veth10ab0ba 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:21:01 br-250dc4dc06ed 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:21:01 lo 1.38 1.38 0.10 0.10 0.00 0.00 0.00 0.00 17:22:01 vethbfe402b 2.00 2.80 1.22 0.63 0.00 0.00 0.00 0.00 17:22:01 br-250dc4dc06ed 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:22:01 lo 18.36 18.36 7.59 7.59 0.00 0.00 0.00 0.00 17:22:01 veth3e8573a 0.12 0.83 0.01 0.05 0.00 0.00 0.00 0.00 17:23:01 vethbfe402b 0.27 0.28 0.12 0.05 0.00 0.00 0.00 0.00 17:23:01 br-250dc4dc06ed 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:23:01 lo 7.27 7.27 2.88 2.88 0.00 0.00 0.00 0.00 17:23:01 veth3e8573a 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:24:01 vethbfe402b 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:24:01 br-250dc4dc06ed 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:24:01 lo 1.32 1.32 0.09 0.09 0.00 0.00 0.00 0.00 17:24:01 veth3e8573a 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:25:01 veth908dcc9 0.33 1.12 0.13 0.10 0.00 0.00 0.00 0.00 17:25:01 veth56b9b0d 0.12 0.83 0.01 0.05 0.00 0.00 0.00 0.00 17:25:01 vethe7bfdcb 1.82 2.63 1.11 0.58 0.00 0.00 0.00 0.00 17:25:01 vetha8a7b88 0.28 1.00 0.10 0.08 0.00 0.00 0.00 0.00 17:26:01 veth908dcc9 1.92 1.98 1.20 0.58 0.00 0.00 0.00 0.00 17:26:01 veth56b9b0d 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:26:01 vethe7bfdcb 0.43 0.50 0.23 0.10 0.00 0.00 0.00 0.00 17:26:01 vetha8a7b88 0.15 0.18 0.01 0.01 0.00 0.00 0.00 0.00 17:27:01 veth908dcc9 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:27:01 veth56b9b0d 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:27:01 vethe7bfdcb 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:27:01 vetha8a7b88 0.50 0.52 0.04 0.04 0.00 0.00 0.00 0.00 17:28:01 veth1cc4517 0.33 1.08 0.13 0.09 0.00 0.00 0.00 0.00 17:28:01 veth85fe79d 0.22 0.97 0.11 0.07 0.00 0.00 0.00 0.00 17:28:01 veth26c5ac7 0.33 1.12 0.13 0.10 0.00 0.00 0.00 0.00 17:28:01 veth811f946 0.20 0.85 0.09 0.06 0.00 0.00 0.00 0.00 17:29:01 veth1cc4517 1.93 2.02 1.20 0.58 0.00 0.00 0.00 0.00 17:29:01 veth85fe79d 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:29:01 veth26c5ac7 1.93 1.97 1.20 0.58 0.00 0.00 0.00 0.00 17:29:01 veth811f946 0.02 0.08 0.00 0.01 0.00 0.00 0.00 0.00 17:30:01 veth1cc4517 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:30:01 veth85fe79d 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:30:01 veth26c5ac7 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:30:01 veth811f946 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:31:01 veth74b5117 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:31:01 veth4daca4b 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:31:01 veth621441e 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:31:01 vethcc09a81 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:32:01 veth74b5117 0.22 1.00 0.11 0.08 0.00 0.00 0.00 0.00 17:32:01 veth4daca4b 0.22 1.00 0.11 0.08 0.00 0.00 0.00 0.00 17:32:01 vethcc09a81 2.00 2.80 1.22 0.63 0.00 0.00 0.00 0.00 17:32:01 vethc8dbaa3 0.12 0.83 0.01 0.05 0.00 0.00 0.00 0.00 17:33:01 veth74b5117 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:33:01 veth4daca4b 0.10 0.15 0.01 0.01 0.00 0.00 0.00 0.00 17:33:01 vethcc09a81 0.30 0.32 0.12 0.05 0.00 0.00 0.00 0.00 17:33:01 vethc8dbaa3 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:34:01 veth74b5117 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:34:01 veth4daca4b 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:34:01 vethcc09a81 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:34:01 vethc8dbaa3 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:35:01 vethd2b5bd4 2.02 2.78 1.22 0.63 0.00 0.00 0.00 0.00 17:35:01 veth44f4508 0.12 0.83 0.01 0.05 0.00 0.00 0.00 0.00 17:35:01 br-250dc4dc06ed 0.00 0.58 0.00 0.05 0.00 0.00 0.00 0.00 17:35:01 lo 439.59 439.59 166.28 166.28 0.00 0.00 0.00 0.00 17:36:01 vethd2b5bd4 0.30 0.33 0.12 0.05 0.00 0.00 0.00 0.00 17:36:01 veth44f4508 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:36:01 br-250dc4dc06ed 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:36:01 lo 10.16 10.16 4.29 4.29 0.00 0.00 0.00 0.00 17:37:01 vethd2b5bd4 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:37:01 veth44f4508 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:37:01 br-250dc4dc06ed 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:37:01 lo 0.87 0.87 0.06 0.06 0.00 0.00 0.00 0.00 17:38:01 veth4aac3f5 0.50 1.28 0.24 0.15 0.00 0.00 0.00 0.00 17:38:01 veth98bcac9 0.22 0.90 0.09 0.07 0.00 0.00 0.00 0.00 17:38:01 br-250dc4dc06ed 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:38:01 lo 11.31 11.31 3.60 3.60 0.00 0.00 0.00 0.00 17:39:01 veth4aac3f5 1.82 1.83 1.10 0.53 0.00 0.00 0.00 0.00 17:39:01 veth98bcac9 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:39:01 br-250dc4dc06ed 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:39:01 lo 15.06 15.06 6.92 6.92 0.00 0.00 0.00 0.00 17:40:01 veth4aac3f5 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:40:01 veth98bcac9 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:40:01 br-250dc4dc06ed 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:40:01 lo 0.92 0.92 0.06 0.06 0.00 0.00 0.00 0.00 17:41:01 vethfe7f5de 0.00 0.12 0.00 0.01 0.00 0.00 0.00 0.00 17:41:01 veth884bf69 0.00 0.15 0.00 0.01 0.00 0.00 0.00 0.00 17:41:01 br-250dc4dc06ed 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:41:01 vethe692bb9 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:42:01 vethfe7f5de 0.13 0.72 0.01 0.04 0.00 0.00 0.00 0.00 17:42:01 veth884bf69 0.37 1.03 0.11 0.08 0.00 0.00 0.00 0.00 17:42:01 br-250dc4dc06ed 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:42:01 lo 504.08 504.08 191.70 191.70 0.00 0.00 0.00 0.00 17:43:01 vethfe7f5de 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:43:01 veth884bf69 0.15 0.17 0.01 0.01 0.00 0.00 0.00 0.00 17:43:01 br-250dc4dc06ed 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:43:01 lo 0.87 0.87 0.07 0.07 0.00 0.00 0.00 0.00 17:44:01 br-250dc4dc06ed 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:44:01 lo 1.43 1.43 0.10 0.10 0.00 0.00 0.00 0.00 17:44:01 vethfce2897 2.25 3.13 1.34 0.68 0.00 0.00 0.00 0.00 17:44:01 vethe4d7f78 2.25 3.12 1.34 0.68 0.00 0.00 0.00 0.00 17:45:01 vethe99b641 0.12 0.83 0.01 0.05 0.00 0.00 0.00 0.00 17:45:01 veth698cd26 0.12 0.88 0.01 0.06 0.00 0.00 0.00 0.00 17:45:01 vethd449c57 2.00 2.80 1.22 0.63 0.00 0.00 0.00 0.00 17:45:01 veth203ecdc 0.12 0.87 0.01 0.05 0.00 0.00 0.00 0.00 17:46:01 vethe99b641 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:46:01 veth698cd26 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:46:01 vethd449c57 0.27 0.28 0.12 0.05 0.00 0.00 0.00 0.00 17:46:01 veth203ecdc 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:47:01 vethe99b641 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:47:01 veth698cd26 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:47:01 vethd449c57 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:47:01 veth203ecdc 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:48:01 vethe265d41 0.33 1.12 0.13 0.10 0.00 0.00 0.00 0.00 17:48:01 vethf9a57a8 1.83 2.62 1.11 0.58 0.00 0.00 0.00 0.00 17:48:01 veth47471d7 0.12 0.82 0.01 0.05 0.00 0.00 0.00 0.00 17:48:01 vetha3714eb 0.22 0.90 0.09 0.07 0.00 0.00 0.00 0.00 17:49:01 vethe265d41 1.93 1.98 1.20 0.58 0.00 0.00 0.00 0.00 17:49:01 vethf9a57a8 0.45 0.47 0.23 0.10 0.00 0.00 0.00 0.00 17:49:01 veth47471d7 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:49:01 vetha3714eb 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:50:01 vethe265d41 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:50:01 vethf9a57a8 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:50:01 veth47471d7 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:50:01 vetha3714eb 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:51:01 veth735e799 0.10 0.78 0.01 0.05 0.00 0.00 0.00 0.00 17:51:01 vethf477448 0.20 0.87 0.09 0.06 0.00 0.00 0.00 0.00 17:51:01 br-250dc4dc06ed 0.00 0.75 0.00 0.07 0.00 0.00 0.00 0.00 17:51:01 lo 569.08 569.08 215.31 215.31 0.00 0.00 0.00 0.00 17:52:01 veth735e799 0.02 0.07 0.00 0.00 0.00 0.00 0.00 0.00 17:52:01 vethf477448 0.02 0.05 0.00 0.00 0.00 0.00 0.00 0.00 17:52:01 br-250dc4dc06ed 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:52:01 lo 17.66 17.66 8.17 8.17 0.00 0.00 0.00 0.00 17:53:01 veth735e799 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:53:01 vethf477448 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:53:01 br-250dc4dc06ed 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:53:01 lo 0.43 0.43 0.03 0.03 0.00 0.00 0.00 0.00 17:54:01 br-250dc4dc06ed 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:54:01 lo 1.47 1.47 0.11 0.11 0.00 0.00 0.00 0.00 17:54:01 docker0 10.35 13.86 1.82 50.64 0.00 0.00 0.00 0.00 17:54:01 br-ff27f4056b80 311.75 324.03 155.25 73.57 0.00 0.00 0.00 0.00 Average: br-250dc4dc06ed 0.00 0.01 0.00 0.00 0.00 0.00 0.00 0.00 Average: lo 8.12 8.12 3.10 3.10 0.00 0.00 0.00 0.00 Average: docker0 0.14 0.19 0.03 0.70 0.00 0.00 0.00 0.00 Average: br-ff27f4056b80 4.33 4.50 2.16 1.02 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-4394) 11/25/23 _x86_64_ (8 CPU) 16:41:31 LINUX RESTART (8 CPU) 16:42:01 CPU %user %nice %system %iowait %steal %idle 16:43:02 all 11.06 0.00 0.90 2.15 0.04 85.85 16:43:02 0 19.10 0.00 1.14 1.69 0.08 77.99 16:43:02 1 32.21 0.00 2.34 1.35 0.07 64.03 16:43:02 2 7.03 0.00 0.52 0.05 0.03 92.37 16:43:02 3 7.70 0.00 0.80 0.03 0.03 91.43 16:43:02 4 5.23 0.00 0.47 0.23 0.03 94.03 16:43:02 5 2.96 0.00 0.47 12.61 0.05 83.91 16:43:02 6 2.70 0.00 0.53 0.18 0.02 96.57 16:43:02 7 11.51 0.00 0.99 1.05 0.05 86.40 16:44:01 all 9.86 0.00 1.00 2.66 0.03 86.46 16:44:01 0 12.83 0.00 0.93 1.39 0.03 84.82 16:44:01 1 18.43 0.00 1.59 1.85 0.03 78.09 16:44:01 2 8.54 0.00 1.07 1.51 0.02 88.86 16:44:01 3 14.48 0.00 1.11 0.92 0.03 83.47 16:44:01 4 11.19 0.00 1.40 7.74 0.07 79.61 16:44:01 5 3.40 0.00 0.83 7.37 0.03 88.37 16:44:01 6 8.75 0.00 0.61 0.14 0.02 90.49 16:44:01 7 1.24 0.00 0.37 0.36 0.03 98.00 16:45:01 all 9.63 0.00 3.69 5.62 0.07 80.99 16:45:01 0 11.70 0.00 3.20 0.71 0.05 84.34 16:45:01 1 10.34 0.00 4.15 1.04 0.05 84.41 16:45:01 2 10.10 0.00 4.11 13.52 0.07 72.20 16:45:01 3 9.07 0.00 3.43 2.93 0.08 84.48 16:45:01 4 8.60 0.00 2.83 2.76 0.05 85.76 16:45:01 5 7.78 0.00 3.59 2.43 0.08 86.11 16:45:01 6 8.29 0.00 2.65 6.53 0.07 82.46 16:45:01 7 11.17 0.00 5.58 15.11 0.07 68.07 16:46:01 all 2.87 0.00 1.12 1.59 0.06 94.37 16:46:01 0 3.79 0.00 1.25 0.22 0.05 94.69 16:46:01 1 3.18 0.00 1.12 0.10 0.07 95.54 16:46:01 2 1.65 0.00 1.09 0.52 0.07 96.68 16:46:01 3 1.97 0.00 1.02 0.28 0.05 96.67 16:46:01 4 3.54 0.00 1.00 0.23 0.07 95.15 16:46:01 5 1.95 0.00 1.07 0.27 0.07 96.64 16:46:01 6 2.52 0.00 1.19 10.98 0.03 85.27 16:46:01 7 4.30 0.00 1.20 0.13 0.07 94.30 16:47:01 all 0.60 0.00 0.14 1.23 0.02 98.01 16:47:01 0 1.03 0.00 0.17 0.05 0.00 98.75 16:47:01 1 0.22 0.00 0.10 0.00 0.02 99.67 16:47:01 2 0.20 0.00 0.07 0.00 0.02 99.72 16:47:01 3 0.18 0.00 0.12 0.02 0.03 99.65 16:47:01 4 0.20 0.00 0.13 0.00 0.02 99.65 16:47:01 5 0.22 0.00 0.15 0.07 0.05 99.52 16:47:01 6 1.75 0.00 0.07 9.61 0.02 88.56 16:47:01 7 1.00 0.00 0.25 0.00 0.02 98.74 16:48:01 all 0.22 0.00 0.04 1.22 0.02 98.49 16:48:01 0 0.07 0.00 0.02 0.00 0.00 99.92 16:48:01 1 0.03 0.00 0.03 0.00 0.00 99.93 16:48:01 2 0.05 0.00 0.07 0.00 0.00 99.88 16:48:01 3 0.22 0.00 0.08 0.00 0.05 99.65 16:48:01 4 0.12 0.00 0.07 0.00 0.05 99.77 16:48:01 5 0.10 0.00 0.03 0.00 0.02 99.85 16:48:01 6 1.14 0.00 0.07 9.73 0.02 89.04 16:48:01 7 0.08 0.00 0.02 0.00 0.00 99.90 16:49:01 all 3.79 0.00 1.90 1.79 0.05 92.48 16:49:01 0 4.28 0.00 2.16 0.75 0.07 92.74 16:49:01 1 4.05 0.00 2.28 0.85 0.05 92.76 16:49:01 2 4.06 0.00 1.86 0.79 0.05 93.24 16:49:01 3 2.90 0.00 2.03 0.86 0.07 94.15 16:49:01 4 4.57 0.00 1.89 0.35 0.03 93.16 16:49:01 5 2.88 0.00 1.63 0.67 0.05 94.77 16:49:01 6 4.54 0.00 1.69 9.42 0.03 84.31 16:49:01 7 2.99 0.00 1.64 0.60 0.05 94.71 16:50:01 all 0.46 0.00 0.17 0.62 0.05 98.70 16:50:01 0 0.25 0.00 0.07 0.22 0.15 99.32 16:50:01 1 0.45 0.00 0.13 0.00 0.02 99.40 16:50:01 2 0.93 0.00 0.42 0.00 0.02 98.63 16:50:01 3 0.38 0.00 0.20 0.00 0.02 99.40 16:50:01 4 0.30 0.00 0.13 0.00 0.02 99.55 16:50:01 5 0.28 0.00 0.12 0.05 0.03 99.52 16:50:01 6 0.33 0.00 0.17 4.70 0.08 94.71 16:50:01 7 0.73 0.00 0.15 0.02 0.03 99.07 16:51:01 all 0.11 0.00 0.04 0.01 0.03 99.80 16:51:01 0 0.03 0.00 0.03 0.00 0.02 99.92 16:51:01 1 0.35 0.00 0.05 0.00 0.13 99.47 16:51:01 2 0.05 0.00 0.03 0.00 0.00 99.92 16:51:01 3 0.13 0.00 0.07 0.00 0.00 99.80 16:51:01 4 0.07 0.00 0.02 0.00 0.00 99.92 16:51:01 5 0.08 0.00 0.03 0.00 0.00 99.88 16:51:01 6 0.07 0.00 0.05 0.10 0.02 99.77 16:51:01 7 0.12 0.00 0.08 0.00 0.07 99.73 16:52:01 all 3.92 0.00 1.79 0.42 0.05 93.83 16:52:01 0 2.83 0.00 1.88 0.20 0.07 95.03 16:52:01 1 2.60 0.00 1.66 0.57 0.05 95.12 16:52:01 2 7.98 0.00 1.84 0.28 0.05 89.84 16:52:01 3 6.27 0.00 2.01 0.08 0.03 91.61 16:52:01 4 2.73 0.00 1.77 0.30 0.05 95.14 16:52:01 5 3.19 0.00 1.63 0.67 0.05 94.47 16:52:01 6 3.13 0.00 1.82 0.82 0.03 94.20 16:52:01 7 2.61 0.00 1.66 0.44 0.05 95.24 16:53:01 all 0.51 0.00 0.17 0.08 0.02 99.23 16:53:01 0 0.25 0.00 0.13 0.02 0.02 99.58 16:53:01 1 0.85 0.00 0.17 0.00 0.03 98.95 16:53:01 2 0.33 0.00 0.12 0.00 0.00 99.55 16:53:01 3 1.33 0.00 0.35 0.00 0.02 98.30 16:53:01 4 0.42 0.00 0.25 0.00 0.02 99.32 16:53:01 5 0.47 0.00 0.12 0.53 0.00 98.88 16:53:01 6 0.17 0.00 0.13 0.00 0.00 99.70 16:53:01 7 0.27 0.00 0.13 0.05 0.02 99.53 16:53:01 CPU %user %nice %system %iowait %steal %idle 16:54:01 all 0.08 0.00 0.04 0.01 0.02 99.84 16:54:01 0 0.13 0.00 0.05 0.00 0.03 99.78 16:54:01 1 0.03 0.00 0.02 0.00 0.00 99.95 16:54:01 2 0.07 0.00 0.02 0.00 0.02 99.90 16:54:01 3 0.08 0.00 0.07 0.00 0.00 99.85 16:54:01 4 0.10 0.00 0.03 0.00 0.02 99.85 16:54:01 5 0.05 0.00 0.03 0.02 0.02 99.88 16:54:01 6 0.10 0.00 0.05 0.00 0.02 99.83 16:54:01 7 0.10 0.00 0.10 0.10 0.03 99.67 16:55:01 all 2.78 0.00 1.41 0.24 0.04 95.53 16:55:01 0 4.33 0.00 1.24 0.13 0.05 94.25 16:55:01 1 2.41 0.00 1.62 0.12 0.03 95.82 16:55:01 2 2.16 0.00 1.48 0.32 0.02 96.03 16:55:01 3 2.91 0.00 1.37 0.10 0.03 95.59 16:55:01 4 3.55 0.00 1.46 0.27 0.03 94.69 16:55:01 5 2.48 0.00 1.42 0.03 0.10 95.96 16:55:01 6 2.63 0.00 1.22 0.25 0.02 95.88 16:55:01 7 1.79 0.00 1.41 0.67 0.05 96.08 16:56:01 all 1.14 0.00 0.54 0.03 0.02 98.27 16:56:01 0 0.88 0.00 0.60 0.02 0.02 98.48 16:56:01 1 0.77 0.00 0.50 0.02 0.02 98.69 16:56:01 2 0.85 0.00 0.48 0.02 0.02 98.63 16:56:01 3 0.82 0.00 0.58 0.00 0.05 98.55 16:56:01 4 1.22 0.00 0.40 0.03 0.02 98.33 16:56:01 5 2.32 0.00 0.38 0.00 0.02 97.28 16:56:01 6 0.60 0.00 0.60 0.00 0.02 98.78 16:56:01 7 1.64 0.00 0.70 0.10 0.03 97.53 16:57:01 all 0.32 0.00 0.17 0.01 0.01 99.48 16:57:01 0 0.13 0.00 0.12 0.02 0.00 99.73 16:57:01 1 0.82 0.00 0.22 0.02 0.02 98.93 16:57:01 2 0.33 0.00 0.23 0.03 0.02 99.38 16:57:01 3 0.20 0.00 0.22 0.00 0.02 99.57 16:57:01 4 0.23 0.00 0.10 0.02 0.00 99.65 16:57:01 5 0.38 0.00 0.22 0.00 0.02 99.38 16:57:01 6 0.20 0.00 0.12 0.00 0.03 99.65 16:57:01 7 0.28 0.00 0.20 0.00 0.02 99.50 16:58:01 all 0.24 0.00 0.16 0.01 0.01 99.57 16:58:01 0 0.05 0.00 0.13 0.05 0.00 99.77 16:58:01 1 0.38 0.00 0.22 0.02 0.03 99.35 16:58:01 2 0.10 0.00 0.13 0.00 0.00 99.77 16:58:01 3 0.25 0.00 0.18 0.02 0.00 99.55 16:58:01 4 0.18 0.00 0.18 0.02 0.02 99.60 16:58:01 5 0.30 0.00 0.18 0.00 0.00 99.52 16:58:01 6 0.33 0.00 0.15 0.02 0.02 99.48 16:58:01 7 0.33 0.00 0.10 0.00 0.00 99.57 16:59:01 all 4.07 0.00 2.06 0.40 0.05 93.41 16:59:01 0 3.94 0.00 2.23 0.84 0.05 92.94 16:59:01 1 5.39 0.00 2.40 0.15 0.05 92.01 16:59:01 2 4.12 0.00 2.05 0.50 0.03 93.29 16:59:01 3 5.21 0.00 1.66 0.08 0.05 92.99 16:59:01 4 3.86 0.00 2.00 0.65 0.05 93.44 16:59:01 5 3.50 0.00 2.16 0.27 0.05 94.02 16:59:01 6 3.04 0.00 2.03 0.15 0.03 94.75 16:59:01 7 3.51 0.00 2.00 0.59 0.07 93.84 17:00:01 all 0.44 0.00 0.19 0.00 0.01 99.35 17:00:01 0 0.28 0.00 0.20 0.00 0.02 99.50 17:00:01 1 0.32 0.00 0.20 0.00 0.02 99.47 17:00:01 2 0.18 0.00 0.17 0.00 0.02 99.63 17:00:01 3 0.45 0.00 0.10 0.00 0.00 99.45 17:00:01 4 0.42 0.00 0.20 0.00 0.02 99.37 17:00:01 5 0.68 0.00 0.38 0.02 0.00 98.92 17:00:01 6 0.32 0.00 0.08 0.00 0.02 99.58 17:00:01 7 0.90 0.00 0.15 0.02 0.03 98.90 17:01:01 all 0.30 0.00 0.05 0.01 0.02 99.62 17:01:01 0 0.07 0.00 0.02 0.00 0.00 99.92 17:01:01 1 0.67 0.00 0.05 0.02 0.03 99.23 17:01:01 2 0.25 0.00 0.08 0.00 0.05 99.62 17:01:01 3 0.18 0.00 0.05 0.00 0.02 99.75 17:01:01 4 0.17 0.00 0.02 0.00 0.00 99.82 17:01:01 5 0.08 0.00 0.10 0.00 0.02 99.80 17:01:01 6 0.32 0.00 0.05 0.00 0.00 99.63 17:01:01 7 0.63 0.00 0.03 0.03 0.02 99.28 17:02:01 all 3.62 0.00 1.94 0.22 0.04 94.18 17:02:01 0 2.84 0.00 2.36 0.22 0.05 94.54 17:02:01 1 3.98 0.00 1.81 0.29 0.03 93.89 17:02:01 2 3.08 0.00 1.83 0.08 0.07 94.94 17:02:01 3 3.86 0.00 1.86 0.23 0.03 94.01 17:02:01 4 2.78 0.00 1.94 0.10 0.03 95.14 17:02:01 5 4.47 0.00 1.81 0.05 0.03 93.64 17:02:01 6 3.92 0.00 1.89 0.12 0.05 94.01 17:02:01 7 4.02 0.00 2.06 0.67 0.03 93.21 17:03:01 all 0.46 0.00 0.20 0.08 0.01 99.25 17:03:01 0 0.40 0.00 0.23 0.02 0.02 99.33 17:03:01 1 0.33 0.00 0.22 0.00 0.02 99.43 17:03:01 2 0.38 0.00 0.22 0.02 0.00 99.38 17:03:01 3 0.83 0.00 0.17 0.00 0.02 98.98 17:03:01 4 0.38 0.00 0.17 0.00 0.02 99.43 17:03:01 5 0.42 0.00 0.25 0.00 0.00 99.33 17:03:01 6 0.65 0.00 0.10 0.00 0.02 99.23 17:03:01 7 0.30 0.00 0.18 0.62 0.02 98.88 17:04:01 all 0.08 0.00 0.05 0.03 0.01 99.83 17:04:01 0 0.07 0.00 0.02 0.03 0.02 99.87 17:04:01 1 0.07 0.00 0.07 0.00 0.02 99.85 17:04:01 2 0.17 0.00 0.08 0.00 0.05 99.70 17:04:01 3 0.05 0.00 0.05 0.00 0.02 99.88 17:04:01 4 0.07 0.00 0.00 0.00 0.00 99.93 17:04:01 5 0.13 0.00 0.08 0.00 0.02 99.77 17:04:01 6 0.08 0.00 0.03 0.00 0.02 99.87 17:04:01 7 0.03 0.00 0.02 0.18 0.02 99.75 17:04:01 CPU %user %nice %system %iowait %steal %idle 17:05:01 all 4.08 0.00 1.92 0.45 0.04 93.52 17:05:01 0 4.25 0.00 2.24 0.74 0.03 92.74 17:05:01 1 3.51 0.00 1.92 0.20 0.05 94.31 17:05:01 2 3.21 0.00 2.08 0.67 0.07 93.97 17:05:01 3 7.59 0.00 1.96 0.18 0.03 90.24 17:05:01 4 2.53 0.00 1.81 0.80 0.03 94.82 17:05:01 5 3.33 0.00 1.96 0.33 0.03 94.34 17:05:01 6 4.94 0.00 1.66 0.07 0.03 93.29 17:05:01 7 3.23 0.00 1.74 0.55 0.03 94.44 17:06:01 all 0.53 0.00 0.21 0.01 0.01 99.23 17:06:01 0 0.22 0.00 0.15 0.02 0.00 99.62 17:06:01 1 1.82 0.00 0.40 0.00 0.00 97.78 17:06:01 2 0.47 0.00 0.27 0.00 0.02 99.25 17:06:01 3 0.32 0.00 0.23 0.08 0.02 99.35 17:06:01 4 0.65 0.00 0.18 0.00 0.02 99.15 17:06:01 5 0.38 0.00 0.15 0.02 0.02 99.43 17:06:01 6 0.20 0.00 0.13 0.00 0.03 99.63 17:06:01 7 0.18 0.00 0.12 0.00 0.02 99.68 17:07:01 all 0.13 0.00 0.05 0.00 0.01 99.81 17:07:01 0 0.03 0.00 0.00 0.00 0.00 99.97 17:07:01 1 0.03 0.00 0.02 0.00 0.02 99.93 17:07:01 2 0.05 0.00 0.03 0.00 0.00 99.92 17:07:01 3 0.17 0.00 0.13 0.03 0.03 99.63 17:07:01 4 0.57 0.00 0.03 0.00 0.02 99.38 17:07:01 5 0.07 0.00 0.05 0.00 0.02 99.87 17:07:01 6 0.08 0.00 0.07 0.00 0.02 99.83 17:07:01 7 0.07 0.00 0.05 0.00 0.02 99.87 17:08:01 all 2.39 0.00 1.24 0.49 0.03 95.84 17:08:01 0 1.35 0.00 1.25 0.52 0.02 96.86 17:08:01 1 1.56 0.00 1.14 0.65 0.02 96.64 17:08:01 2 2.91 0.00 1.20 0.10 0.03 95.75 17:08:01 3 2.09 0.00 1.39 1.04 0.02 95.47 17:08:01 4 1.88 0.00 1.21 0.17 0.02 96.73 17:08:01 5 2.96 0.00 1.34 0.52 0.07 95.12 17:08:01 6 2.09 0.00 1.25 0.27 0.03 96.36 17:08:01 7 4.31 0.00 1.15 0.70 0.03 93.80 17:09:01 all 1.80 0.00 0.63 0.04 0.03 97.50 17:09:01 0 4.67 0.00 0.63 0.07 0.05 94.57 17:09:01 1 2.05 0.00 0.57 0.03 0.02 97.33 17:09:01 2 0.89 0.00 0.53 0.00 0.03 98.55 17:09:01 3 0.75 0.00 0.55 0.02 0.02 98.67 17:09:01 4 0.95 0.00 0.69 0.08 0.03 98.24 17:09:01 5 0.80 0.00 0.52 0.02 0.03 98.63 17:09:01 6 2.07 0.00 0.88 0.07 0.03 96.95 17:09:01 7 2.24 0.00 0.72 0.02 0.03 97.00 17:10:01 all 0.39 0.00 0.14 0.01 0.01 99.45 17:10:01 0 1.02 0.00 0.25 0.00 0.02 98.72 17:10:01 1 0.37 0.00 0.13 0.05 0.03 99.42 17:10:01 2 0.17 0.00 0.08 0.00 0.00 99.75 17:10:01 3 0.13 0.00 0.08 0.02 0.02 99.75 17:10:01 4 0.68 0.00 0.12 0.00 0.02 99.18 17:10:01 5 0.13 0.00 0.10 0.02 0.00 99.75 17:10:01 6 0.47 0.00 0.10 0.00 0.02 99.42 17:10:01 7 0.15 0.00 0.20 0.00 0.00 99.65 17:11:01 all 0.11 0.00 0.04 0.01 0.02 99.82 17:11:01 0 0.03 0.00 0.03 0.00 0.02 99.92 17:11:01 1 0.05 0.00 0.05 0.07 0.00 99.83 17:11:01 2 0.22 0.00 0.07 0.03 0.02 99.67 17:11:01 3 0.05 0.00 0.02 0.00 0.00 99.93 17:11:01 4 0.18 0.00 0.07 0.00 0.02 99.73 17:11:01 5 0.05 0.00 0.03 0.00 0.02 99.90 17:11:01 6 0.10 0.00 0.03 0.00 0.02 99.85 17:11:01 7 0.13 0.00 0.03 0.00 0.07 99.77 17:12:01 all 4.40 0.00 1.97 0.28 0.05 93.30 17:12:01 0 5.31 0.00 1.72 0.55 0.05 92.37 17:12:01 1 3.50 0.00 1.86 0.40 0.03 94.20 17:12:01 2 4.61 0.00 1.95 0.38 0.05 93.01 17:12:01 3 3.00 0.00 2.11 0.39 0.03 94.46 17:12:01 4 4.34 0.00 1.88 0.22 0.03 93.53 17:12:01 5 4.27 0.00 2.19 0.05 0.03 93.45 17:12:01 6 4.07 0.00 2.13 0.08 0.05 93.67 17:12:01 7 6.13 0.00 1.86 0.13 0.07 91.80 17:13:01 all 0.67 0.00 0.18 0.01 0.02 99.12 17:13:01 0 0.22 0.00 0.12 0.00 0.00 99.67 17:13:01 1 0.25 0.00 0.15 0.00 0.02 99.58 17:13:01 2 1.48 0.00 0.40 0.00 0.02 98.10 17:13:01 3 0.43 0.00 0.25 0.02 0.02 99.28 17:13:01 4 0.28 0.00 0.13 0.02 0.05 99.52 17:13:01 5 0.47 0.00 0.20 0.03 0.03 99.27 17:13:01 6 1.93 0.00 0.12 0.00 0.00 97.96 17:13:01 7 0.30 0.00 0.12 0.00 0.03 99.55 17:14:01 all 0.30 0.00 0.07 0.01 0.02 99.60 17:14:01 0 0.03 0.00 0.03 0.00 0.02 99.92 17:14:01 1 0.07 0.00 0.05 0.00 0.02 99.87 17:14:01 2 0.13 0.00 0.13 0.00 0.03 99.70 17:14:01 3 0.12 0.00 0.05 0.03 0.00 99.80 17:14:01 4 0.20 0.00 0.05 0.00 0.02 99.73 17:14:01 5 0.30 0.00 0.08 0.03 0.00 99.58 17:14:01 6 1.43 0.00 0.03 0.00 0.02 98.52 17:14:01 7 0.15 0.00 0.08 0.00 0.07 99.70 17:15:01 all 3.88 0.00 2.05 0.56 0.05 93.46 17:15:01 0 2.91 0.00 2.22 0.33 0.03 94.50 17:15:01 1 4.27 0.00 1.89 0.34 0.05 93.45 17:15:01 2 2.94 0.00 1.93 1.09 0.07 93.97 17:15:01 3 3.61 0.00 2.21 1.25 0.05 92.88 17:15:01 4 5.31 0.00 1.89 0.55 0.03 92.21 17:15:01 5 3.43 0.00 2.08 0.39 0.03 94.07 17:15:01 6 4.59 0.00 2.18 0.42 0.03 92.78 17:15:01 7 3.97 0.00 2.01 0.13 0.05 93.83 17:15:01 CPU %user %nice %system %iowait %steal %idle 17:16:01 all 0.50 0.00 0.22 0.01 0.01 99.26 17:16:01 0 0.78 0.00 0.22 0.00 0.02 98.98 17:16:01 1 0.28 0.00 0.17 0.00 0.02 99.53 17:16:01 2 0.23 0.00 0.12 0.03 0.02 99.60 17:16:01 3 0.15 0.00 0.13 0.00 0.00 99.72 17:16:01 4 0.23 0.00 0.20 0.02 0.02 99.53 17:16:01 5 1.27 0.00 0.30 0.00 0.02 98.41 17:16:01 6 0.47 0.00 0.23 0.00 0.02 99.28 17:16:01 7 0.57 0.00 0.42 0.00 0.02 99.00 17:17:01 all 0.22 0.00 0.08 0.01 0.01 99.68 17:17:01 0 0.15 0.00 0.03 0.02 0.00 99.80 17:17:01 1 0.10 0.00 0.08 0.00 0.02 99.80 17:17:01 2 0.18 0.00 0.12 0.05 0.02 99.63 17:17:01 3 0.13 0.00 0.03 0.00 0.00 99.83 17:17:01 4 0.10 0.00 0.05 0.02 0.00 99.83 17:17:01 5 0.93 0.00 0.13 0.00 0.02 98.92 17:17:01 6 0.13 0.00 0.15 0.00 0.00 99.72 17:17:01 7 0.07 0.00 0.03 0.00 0.02 99.88 17:18:01 all 3.33 0.00 1.78 0.29 0.04 94.56 17:18:01 0 2.28 0.00 1.79 0.17 0.03 95.73 17:18:01 1 3.80 0.00 1.76 0.07 0.03 94.35 17:18:01 2 4.15 0.00 1.80 0.55 0.07 93.43 17:18:01 3 3.90 0.00 1.79 0.22 0.03 94.05 17:18:01 4 3.22 0.00 1.95 0.20 0.05 94.58 17:18:01 5 2.86 0.00 1.65 0.42 0.03 95.04 17:18:01 6 2.36 0.00 1.88 0.60 0.03 95.12 17:18:01 7 4.03 0.00 1.64 0.07 0.05 94.21 17:19:01 all 1.07 0.00 0.56 0.02 0.01 98.34 17:19:01 0 1.70 0.00 0.80 0.00 0.02 97.48 17:19:01 1 1.03 0.00 0.65 0.00 0.00 98.32 17:19:01 2 0.43 0.00 0.40 0.05 0.02 99.10 17:19:01 3 0.60 0.00 0.47 0.00 0.00 98.93 17:19:01 4 0.82 0.00 0.50 0.03 0.02 98.63 17:19:01 5 2.02 0.00 0.57 0.00 0.00 97.41 17:19:01 6 1.33 0.00 0.47 0.00 0.02 98.18 17:19:01 7 0.63 0.00 0.58 0.07 0.02 98.70 17:20:01 all 0.17 0.00 0.07 0.03 0.01 99.72 17:20:01 0 0.08 0.00 0.10 0.00 0.00 99.82 17:20:01 1 0.07 0.00 0.08 0.00 0.02 99.83 17:20:01 2 0.15 0.00 0.08 0.23 0.02 99.52 17:20:01 3 0.10 0.00 0.03 0.00 0.02 99.85 17:20:01 4 0.52 0.00 0.10 0.00 0.00 99.38 17:20:01 5 0.08 0.00 0.03 0.00 0.02 99.87 17:20:01 6 0.07 0.00 0.03 0.00 0.00 99.90 17:20:01 7 0.27 0.00 0.12 0.00 0.00 99.62 17:21:01 all 0.37 0.00 0.47 0.22 0.02 98.93 17:21:01 0 0.37 0.00 0.45 0.12 0.02 99.05 17:21:01 1 0.37 0.00 0.45 0.37 0.03 98.78 17:21:01 2 0.38 0.00 0.62 0.70 0.02 98.28 17:21:01 3 0.32 0.00 0.40 0.22 0.02 99.05 17:21:01 4 0.54 0.00 0.50 0.12 0.05 98.79 17:21:01 5 0.28 0.00 0.42 0.15 0.00 99.15 17:21:01 6 0.40 0.00 0.47 0.03 0.02 99.08 17:21:01 7 0.30 0.00 0.43 0.03 0.02 99.21 17:22:01 all 3.44 0.00 1.57 0.42 0.04 94.53 17:22:01 0 3.73 0.00 1.52 0.22 0.03 94.50 17:22:01 1 3.30 0.00 1.63 0.25 0.03 94.79 17:22:01 2 3.42 0.00 1.46 0.50 0.03 94.58 17:22:01 3 3.50 0.00 1.49 0.22 0.03 94.76 17:22:01 4 2.49 0.00 1.36 0.28 0.03 95.83 17:22:01 5 2.80 0.00 1.44 1.22 0.03 94.50 17:22:01 6 3.47 0.00 1.80 0.45 0.03 94.24 17:22:01 7 4.81 0.00 1.85 0.23 0.03 93.07 17:23:01 all 0.38 0.00 0.19 0.01 0.01 99.42 17:23:01 0 0.22 0.00 0.15 0.00 0.02 99.62 17:23:01 1 0.23 0.00 0.17 0.00 0.02 99.58 17:23:01 2 0.27 0.00 0.15 0.00 0.02 99.57 17:23:01 3 0.20 0.00 0.15 0.00 0.02 99.63 17:23:01 4 0.48 0.00 0.33 0.00 0.00 99.18 17:23:01 5 0.30 0.00 0.12 0.03 0.02 99.53 17:23:01 6 0.75 0.00 0.18 0.00 0.02 99.05 17:23:01 7 0.55 0.00 0.27 0.00 0.03 99.15 17:24:01 all 0.23 0.00 0.06 0.01 0.01 99.70 17:24:01 0 0.07 0.00 0.03 0.00 0.00 99.90 17:24:01 1 0.07 0.00 0.03 0.00 0.00 99.90 17:24:01 2 1.08 0.00 0.05 0.00 0.02 98.86 17:24:01 3 0.03 0.00 0.02 0.00 0.00 99.95 17:24:01 4 0.10 0.00 0.05 0.00 0.02 99.83 17:24:01 5 0.30 0.00 0.12 0.00 0.03 99.55 17:24:01 6 0.07 0.00 0.07 0.00 0.00 99.87 17:24:01 7 0.13 0.00 0.08 0.05 0.02 99.72 17:25:01 all 4.14 0.00 2.06 0.40 0.06 93.34 17:25:01 0 3.48 0.00 2.39 0.58 0.05 93.50 17:25:01 1 2.90 0.00 1.91 0.13 0.07 94.99 17:25:01 2 5.71 0.00 1.94 0.32 0.07 91.97 17:25:01 3 4.64 0.00 2.04 0.22 0.05 93.05 17:25:01 4 2.70 0.00 2.01 0.54 0.05 94.70 17:25:01 5 4.28 0.00 2.08 0.54 0.05 93.05 17:25:01 6 3.45 0.00 2.16 0.17 0.07 94.15 17:25:01 7 5.98 0.00 1.96 0.67 0.03 91.36 17:26:01 all 0.49 0.00 0.21 0.02 0.01 99.26 17:26:01 0 0.37 0.00 0.23 0.15 0.02 99.23 17:26:01 1 0.30 0.00 0.10 0.00 0.00 99.60 17:26:01 2 0.38 0.00 0.27 0.02 0.02 99.32 17:26:01 3 0.30 0.00 0.15 0.00 0.02 99.53 17:26:01 4 0.28 0.00 0.18 0.00 0.02 99.52 17:26:01 5 0.92 0.00 0.20 0.00 0.00 98.88 17:26:01 6 0.33 0.00 0.23 0.00 0.02 99.42 17:26:01 7 1.07 0.00 0.38 0.00 0.02 98.53 17:26:01 CPU %user %nice %system %iowait %steal %idle 17:27:01 all 0.09 0.00 0.04 0.00 0.01 99.86 17:27:01 0 0.07 0.00 0.02 0.03 0.00 99.88 17:27:01 1 0.07 0.00 0.03 0.00 0.02 99.88 17:27:01 2 0.12 0.00 0.05 0.00 0.00 99.83 17:27:01 3 0.13 0.00 0.05 0.00 0.00 99.82 17:27:01 4 0.02 0.00 0.02 0.00 0.00 99.97 17:27:01 5 0.05 0.00 0.02 0.00 0.02 99.92 17:27:01 6 0.10 0.00 0.03 0.00 0.02 99.85 17:27:01 7 0.15 0.00 0.08 0.02 0.03 99.72 17:28:01 all 4.39 0.00 1.93 0.49 0.05 93.14 17:28:01 0 4.11 0.00 2.58 0.60 0.05 92.66 17:28:01 1 6.02 0.00 1.89 0.35 0.03 91.71 17:28:01 2 4.59 0.00 1.83 0.42 0.05 93.11 17:28:01 3 2.88 0.00 1.96 0.42 0.05 94.69 17:28:01 4 5.37 0.00 1.92 0.64 0.05 92.02 17:28:01 5 3.49 0.00 1.48 0.35 0.03 94.64 17:28:01 6 5.25 0.00 1.96 0.97 0.03 91.78 17:28:01 7 3.34 0.00 1.85 0.15 0.05 94.61 17:29:01 all 0.59 0.00 0.23 0.01 0.01 99.16 17:29:01 0 0.87 0.00 0.22 0.00 0.02 98.90 17:29:01 1 1.03 0.00 0.25 0.00 0.02 98.70 17:29:01 2 0.17 0.00 0.15 0.03 0.02 99.63 17:29:01 3 0.22 0.00 0.18 0.02 0.02 99.57 17:29:01 4 1.27 0.00 0.37 0.07 0.02 98.28 17:29:01 5 0.53 0.00 0.25 0.00 0.02 99.20 17:29:01 6 0.37 0.00 0.22 0.00 0.00 99.42 17:29:01 7 0.30 0.00 0.18 0.00 0.00 99.52 17:30:01 all 0.08 0.00 0.05 0.00 0.01 99.87 17:30:01 0 0.10 0.00 0.08 0.02 0.02 99.78 17:30:01 1 0.08 0.00 0.02 0.00 0.00 99.90 17:30:01 2 0.05 0.00 0.02 0.03 0.02 99.88 17:30:01 3 0.10 0.00 0.05 0.00 0.00 99.85 17:30:01 4 0.03 0.00 0.02 0.00 0.02 99.93 17:30:01 5 0.07 0.00 0.05 0.00 0.00 99.88 17:30:01 6 0.08 0.00 0.08 0.00 0.02 99.82 17:30:01 7 0.12 0.00 0.07 0.00 0.00 99.82 17:31:01 all 2.24 0.00 1.13 0.29 0.03 96.30 17:31:01 0 1.49 0.00 1.09 0.44 0.05 96.93 17:31:01 1 3.09 0.00 1.11 0.18 0.03 95.59 17:31:01 2 2.71 0.00 1.24 0.49 0.02 95.55 17:31:01 3 1.78 0.00 1.04 0.69 0.03 96.46 17:31:01 4 2.05 0.00 1.34 0.18 0.02 96.41 17:31:01 5 3.49 0.00 0.99 0.13 0.03 95.36 17:31:01 6 1.74 0.00 1.17 0.08 0.03 96.97 17:31:01 7 1.54 0.00 1.07 0.17 0.03 97.19 17:32:01 all 1.98 0.00 0.83 0.05 0.02 97.12 17:32:01 0 1.44 0.00 1.00 0.03 0.03 97.49 17:32:01 1 3.00 0.00 0.71 0.03 0.02 96.24 17:32:01 2 2.17 0.00 1.10 0.00 0.03 96.69 17:32:01 3 1.48 0.00 0.88 0.02 0.02 97.60 17:32:01 4 0.94 0.00 0.70 0.02 0.02 98.33 17:32:01 5 1.34 0.00 0.87 0.05 0.02 97.73 17:32:01 6 1.71 0.00 0.67 0.18 0.02 97.43 17:32:01 7 3.77 0.00 0.75 0.05 0.02 95.41 17:33:01 all 0.35 0.00 0.16 0.01 0.01 99.47 17:33:01 0 0.18 0.00 0.08 0.00 0.00 99.73 17:33:01 1 0.95 0.00 0.15 0.00 0.02 98.88 17:33:01 2 0.42 0.00 0.22 0.00 0.02 99.35 17:33:01 3 0.35 0.00 0.25 0.00 0.00 99.40 17:33:01 4 0.28 0.00 0.15 0.00 0.00 99.57 17:33:01 5 0.22 0.00 0.12 0.00 0.00 99.67 17:33:01 6 0.23 0.00 0.17 0.02 0.00 99.58 17:33:01 7 0.20 0.00 0.13 0.00 0.02 99.65 17:34:01 all 0.18 0.00 0.05 0.02 0.01 99.74 17:34:01 0 0.07 0.00 0.03 0.00 0.00 99.90 17:34:01 1 0.80 0.00 0.02 0.00 0.00 99.19 17:34:01 2 0.03 0.00 0.02 0.00 0.00 99.95 17:34:01 3 0.23 0.00 0.13 0.00 0.03 99.60 17:34:01 4 0.10 0.00 0.08 0.13 0.03 99.65 17:34:01 5 0.10 0.00 0.05 0.02 0.00 99.83 17:34:01 6 0.07 0.00 0.02 0.05 0.02 99.85 17:34:01 7 0.05 0.00 0.03 0.00 0.00 99.92 17:35:01 all 4.49 0.00 2.07 0.46 0.04 92.93 17:35:01 0 3.55 0.00 1.92 0.15 0.03 94.34 17:35:01 1 2.70 0.00 2.38 0.33 0.03 94.56 17:35:01 2 4.68 0.00 1.86 1.09 0.03 92.34 17:35:01 3 4.86 0.00 1.94 0.08 0.05 93.06 17:35:01 4 4.74 0.00 1.84 0.18 0.03 93.20 17:35:01 5 5.71 0.00 2.34 0.10 0.05 91.80 17:35:01 6 3.78 0.00 2.10 0.76 0.03 93.33 17:35:01 7 5.91 0.00 2.15 1.01 0.05 90.89 17:36:01 all 0.45 0.00 0.19 0.01 0.01 99.35 17:36:01 0 0.40 0.00 0.20 0.00 0.02 99.38 17:36:01 1 0.42 0.00 0.28 0.00 0.02 99.28 17:36:01 2 0.50 0.00 0.18 0.03 0.02 99.27 17:36:01 3 0.22 0.00 0.10 0.02 0.02 99.65 17:36:01 4 0.23 0.00 0.07 0.00 0.00 99.70 17:36:01 5 0.23 0.00 0.12 0.00 0.02 99.63 17:36:01 6 0.67 0.00 0.15 0.02 0.02 99.15 17:36:01 7 0.93 0.00 0.37 0.00 0.02 98.68 17:37:01 all 0.10 0.00 0.05 0.00 0.01 99.84 17:37:01 0 0.03 0.00 0.03 0.00 0.00 99.93 17:37:01 1 0.12 0.00 0.02 0.00 0.02 99.85 17:37:01 2 0.12 0.00 0.08 0.02 0.03 99.75 17:37:01 3 0.15 0.00 0.03 0.00 0.02 99.80 17:37:01 4 0.10 0.00 0.03 0.00 0.02 99.85 17:37:01 5 0.07 0.00 0.03 0.00 0.00 99.90 17:37:01 6 0.20 0.00 0.08 0.00 0.03 99.68 17:37:01 7 0.03 0.00 0.05 0.00 0.00 99.92 17:37:01 CPU %user %nice %system %iowait %steal %idle 17:38:01 all 3.74 0.00 2.02 0.39 0.05 93.80 17:38:01 0 4.51 0.00 2.14 0.65 0.03 92.66 17:38:01 1 3.80 0.00 2.24 0.13 0.03 93.79 17:38:01 2 2.88 0.00 2.11 0.52 0.05 94.44 17:38:01 3 4.65 0.00 2.05 0.86 0.05 92.40 17:38:01 4 3.21 0.00 1.84 0.17 0.05 94.73 17:38:01 5 3.43 0.00 1.98 0.25 0.05 94.29 17:38:01 6 3.61 0.00 2.09 0.20 0.05 94.04 17:38:01 7 3.77 0.00 1.79 0.28 0.07 94.09 17:39:01 all 0.48 0.00 0.23 0.04 0.01 99.25 17:39:01 0 0.87 0.00 0.23 0.00 0.00 98.90 17:39:01 1 0.33 0.00 0.13 0.03 0.02 99.48 17:39:01 2 0.20 0.00 0.20 0.03 0.02 99.55 17:39:01 3 0.17 0.00 0.10 0.00 0.02 99.72 17:39:01 4 0.35 0.00 0.27 0.23 0.02 99.13 17:39:01 5 1.15 0.00 0.45 0.00 0.02 98.38 17:39:01 6 0.40 0.00 0.30 0.00 0.00 99.30 17:39:01 7 0.33 0.00 0.17 0.00 0.02 99.48 17:40:01 all 0.11 0.00 0.06 0.00 0.01 99.82 17:40:01 0 0.08 0.00 0.02 0.00 0.02 99.88 17:40:01 1 0.18 0.00 0.07 0.02 0.02 99.72 17:40:01 2 0.08 0.00 0.02 0.00 0.00 99.90 17:40:01 3 0.13 0.00 0.10 0.00 0.02 99.75 17:40:01 4 0.10 0.00 0.08 0.00 0.00 99.82 17:40:01 5 0.08 0.00 0.03 0.00 0.00 99.88 17:40:01 6 0.12 0.00 0.07 0.00 0.02 99.80 17:40:01 7 0.08 0.00 0.07 0.00 0.02 99.83 17:41:01 all 3.01 0.00 1.67 0.33 0.03 94.95 17:41:01 0 3.43 0.00 1.52 0.08 0.02 94.95 17:41:01 1 4.07 0.00 1.99 0.30 0.03 93.61 17:41:01 2 2.36 0.00 1.71 0.75 0.03 95.15 17:41:01 3 2.89 0.00 1.57 0.17 0.03 95.33 17:41:01 4 2.97 0.00 1.63 0.42 0.02 94.97 17:41:01 5 2.21 0.00 1.59 0.17 0.03 95.99 17:41:01 6 3.82 0.00 1.81 0.25 0.07 94.05 17:41:01 7 2.31 0.00 1.56 0.57 0.02 95.54 17:42:01 all 0.99 0.00 0.50 0.08 0.02 98.41 17:42:01 0 0.78 0.00 0.48 0.00 0.02 98.72 17:42:01 1 0.55 0.00 0.48 0.00 0.02 98.95 17:42:01 2 0.60 0.00 0.52 0.00 0.02 98.86 17:42:01 3 0.72 0.00 0.35 0.55 0.02 98.36 17:42:01 4 0.48 0.00 0.32 0.05 0.02 99.13 17:42:01 5 0.63 0.00 0.55 0.00 0.02 98.80 17:42:01 6 1.64 0.00 0.52 0.00 0.02 97.83 17:42:01 7 2.54 0.00 0.77 0.00 0.03 96.66 17:43:01 all 0.21 0.00 0.10 0.03 0.01 99.65 17:43:01 0 0.28 0.00 0.10 0.00 0.00 99.62 17:43:01 1 0.28 0.00 0.18 0.00 0.00 99.53 17:43:01 2 0.18 0.00 0.08 0.00 0.00 99.73 17:43:01 3 0.12 0.00 0.05 0.23 0.02 99.58 17:43:01 4 0.13 0.00 0.08 0.00 0.02 99.77 17:43:01 5 0.07 0.00 0.03 0.00 0.00 99.90 17:43:01 6 0.07 0.00 0.07 0.00 0.00 99.87 17:43:01 7 0.52 0.00 0.17 0.00 0.00 99.32 17:44:01 all 0.35 0.00 0.39 0.04 0.02 99.20 17:44:01 0 0.23 0.00 0.35 0.02 0.02 99.38 17:44:01 1 0.33 0.00 0.37 0.02 0.03 99.25 17:44:01 2 0.37 0.00 0.37 0.03 0.02 99.22 17:44:01 3 0.50 0.00 0.40 0.17 0.05 98.88 17:44:01 4 0.35 0.00 0.45 0.03 0.02 99.15 17:44:01 5 0.40 0.00 0.42 0.02 0.02 99.15 17:44:01 6 0.32 0.00 0.40 0.02 0.02 99.25 17:44:01 7 0.25 0.00 0.42 0.08 0.02 99.23 17:45:01 all 4.23 0.00 1.79 0.25 0.05 93.69 17:45:01 0 4.97 0.00 1.97 0.05 0.03 92.97 17:45:01 1 4.39 0.00 1.88 0.08 0.08 93.57 17:45:01 2 7.32 0.00 1.77 0.10 0.07 90.74 17:45:01 3 4.83 0.00 1.68 0.50 0.03 92.96 17:45:01 4 4.02 0.00 1.59 0.37 0.05 93.97 17:45:01 5 3.08 0.00 1.77 0.45 0.05 94.65 17:45:01 6 2.51 0.00 1.81 0.15 0.02 95.52 17:45:01 7 2.72 0.00 1.84 0.27 0.02 95.16 17:46:01 all 0.46 0.00 0.22 0.01 0.01 99.30 17:46:01 0 0.92 0.00 0.33 0.00 0.03 98.72 17:46:01 1 0.53 0.00 0.20 0.00 0.00 99.27 17:46:01 2 0.12 0.00 0.13 0.00 0.00 99.75 17:46:01 3 0.27 0.00 0.17 0.00 0.02 99.55 17:46:01 4 1.02 0.00 0.32 0.02 0.00 98.65 17:46:01 5 0.42 0.00 0.23 0.00 0.00 99.35 17:46:01 6 0.18 0.00 0.13 0.03 0.03 99.62 17:46:01 7 0.27 0.00 0.20 0.00 0.02 99.52 17:47:01 all 0.29 0.00 0.05 0.02 0.01 99.63 17:47:01 0 0.12 0.00 0.08 0.00 0.00 99.80 17:47:01 1 0.10 0.00 0.05 0.00 0.02 99.83 17:47:01 2 0.07 0.00 0.05 0.00 0.02 99.87 17:47:01 3 0.05 0.00 0.00 0.07 0.02 99.87 17:47:01 4 1.55 0.00 0.03 0.00 0.02 98.40 17:47:01 5 0.05 0.00 0.02 0.00 0.00 99.93 17:47:01 6 0.17 0.00 0.03 0.07 0.00 99.73 17:47:01 7 0.22 0.00 0.15 0.00 0.05 99.58 17:48:01 all 4.22 0.00 2.03 1.02 0.06 92.68 17:48:01 0 4.72 0.00 1.86 0.47 0.07 92.88 17:48:01 1 4.18 0.00 2.13 0.55 0.07 93.07 17:48:01 2 2.66 0.00 2.09 0.84 0.03 94.38 17:48:01 3 3.36 0.00 2.11 1.84 0.05 92.64 17:48:01 4 3.77 0.00 2.06 1.88 0.07 92.22 17:48:01 5 3.58 0.00 2.02 0.66 0.07 93.68 17:48:01 6 4.31 0.00 2.06 1.11 0.05 92.47 17:48:01 7 7.14 0.00 1.93 0.79 0.08 90.06 17:48:01 CPU %user %nice %system %iowait %steal %idle 17:49:01 all 0.48 0.00 0.21 0.01 0.01 99.28 17:49:01 0 0.23 0.00 0.17 0.00 0.00 99.60 17:49:01 1 0.22 0.00 0.15 0.00 0.00 99.63 17:49:01 2 0.18 0.00 0.18 0.02 0.02 99.60 17:49:01 3 0.90 0.00 0.18 0.08 0.03 98.80 17:49:01 4 1.15 0.00 0.40 0.00 0.02 98.43 17:49:01 5 0.48 0.00 0.18 0.00 0.02 99.32 17:49:01 6 0.50 0.00 0.28 0.00 0.00 99.22 17:49:01 7 0.20 0.00 0.12 0.00 0.00 99.68 17:50:01 all 0.18 0.00 0.07 0.01 0.01 99.73 17:50:01 0 0.05 0.00 0.07 0.00 0.02 99.87 17:50:01 1 0.13 0.00 0.07 0.00 0.02 99.78 17:50:01 2 0.15 0.00 0.05 0.07 0.02 99.72 17:50:01 3 0.35 0.00 0.10 0.00 0.02 99.53 17:50:01 4 0.10 0.00 0.03 0.02 0.00 99.85 17:50:01 5 0.42 0.00 0.13 0.00 0.00 99.45 17:50:01 6 0.07 0.00 0.00 0.00 0.00 99.93 17:50:01 7 0.20 0.00 0.10 0.03 0.03 99.63 17:51:01 all 4.22 0.00 1.96 2.05 0.05 91.72 17:51:01 0 2.90 0.00 1.88 0.80 0.03 94.39 17:51:01 1 3.18 0.00 2.04 1.31 0.05 93.42 17:51:01 2 3.44 0.00 1.98 6.76 0.03 87.79 17:51:01 3 4.69 0.00 1.85 1.22 0.05 92.19 17:51:01 4 5.18 0.00 1.98 1.98 0.05 90.81 17:51:01 5 4.36 0.00 1.85 0.96 0.07 92.77 17:51:01 6 6.59 0.00 1.91 1.58 0.07 89.86 17:51:01 7 3.43 0.00 2.18 1.84 0.03 92.51 17:52:01 all 0.66 0.00 0.19 0.04 0.01 99.09 17:52:01 0 0.33 0.00 0.10 0.08 0.02 99.47 17:52:01 1 0.17 0.00 0.18 0.00 0.00 99.65 17:52:01 2 1.22 0.00 0.35 0.22 0.00 98.21 17:52:01 3 1.36 0.00 0.22 0.00 0.02 98.41 17:52:01 4 0.52 0.00 0.18 0.00 0.02 99.28 17:52:01 5 0.33 0.00 0.18 0.03 0.00 99.45 17:52:01 6 0.82 0.00 0.18 0.00 0.00 99.00 17:52:01 7 0.48 0.00 0.17 0.00 0.02 99.33 17:53:01 all 0.07 0.00 0.03 0.02 0.01 99.87 17:53:01 0 0.10 0.00 0.07 0.10 0.00 99.73 17:53:01 1 0.03 0.00 0.03 0.00 0.02 99.92 17:53:01 2 0.17 0.00 0.07 0.03 0.02 99.72 17:53:01 3 0.05 0.00 0.02 0.00 0.00 99.93 17:53:01 4 0.02 0.00 0.00 0.00 0.00 99.98 17:53:01 5 0.05 0.00 0.03 0.02 0.02 99.88 17:53:01 6 0.07 0.00 0.00 0.00 0.02 99.92 17:53:01 7 0.10 0.00 0.05 0.00 0.03 99.82 17:54:01 all 1.65 0.00 1.14 0.18 0.03 97.01 17:54:01 0 3.17 0.00 2.04 0.85 0.05 93.89 17:54:01 1 1.45 0.00 1.02 0.07 0.00 97.46 17:54:01 2 1.14 0.00 0.99 0.22 0.02 97.64 17:54:01 3 3.27 0.00 0.92 0.10 0.02 95.69 17:54:01 4 1.25 0.00 0.89 0.03 0.02 97.81 17:54:01 5 0.77 0.00 1.12 0.03 0.02 98.06 17:54:01 6 0.77 0.00 0.74 0.10 0.02 98.38 17:54:01 7 1.37 0.00 1.42 0.03 0.05 97.12 Average: all 1.80 0.00 0.73 0.38 0.03 97.06 Average: 0 1.97 0.00 0.77 0.20 0.02 97.04 Average: 1 2.22 0.00 0.78 0.17 0.03 96.81 Average: 2 1.73 0.00 0.73 0.47 0.03 97.04 Average: 3 1.83 0.00 0.72 0.23 0.02 97.20 Average: 4 1.66 0.00 0.70 0.30 0.02 97.31 Average: 5 1.48 0.00 0.71 0.44 0.02 97.34 Average: 6 1.67 0.00 0.70 0.84 0.02 96.77 Average: 7 1.82 0.00 0.76 0.40 0.03 97.00