Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-docker-8c-8g-5252 (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-WPcelELFpkPi/agent.2136 SSH_AGENT_PID=2138 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite@tmp/private_key_3674941820524793090.key (/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite@tmp/private_key_3674941820524793090.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/jenkins4967584512903476377.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-L4Ij 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-L4Ij/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.1 from /tmp/venv-L4Ij/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.7 botocore==1.32.7 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.8.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/jenkins7138082469832499235.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/jenkins7983361738004046294.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 ++ sed '/^[^0-9]/d' ++ pyenv versions --bare ++ local command ++ sort -V ++ command=versions ++ '[' 2 -gt 0 ']' ++ tail -n 1 ++ shift ++ case "$command" in ++ command pyenv versions --bare ++ pyenv versions --bare + 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-A95d + 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-A95d + echo 'lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-A95d' lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-A95d + echo /tmp/venv-A95d + 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-A95d/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-A95d/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager setuptools pip wheel + type python3 + true + echo 'lf-activate-venv(): INFO: Adding /tmp/venv-A95d/bin to PATH' lf-activate-venv(): INFO: Adding /tmp/venv-A95d/bin to PATH + PATH=/tmp/venv-A95d/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.7 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 18.1 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting requests (from -r requirements.txt (line 9)) Using cached requests-2.31.0-py3-none-any.whl.metadata (4.6 kB) Collecting selenium<4.6.0,>=4.0.0 (from -r requirements.txt (line 10)) Downloading selenium-4.5.0-py3-none-any.whl (995 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 995.2/995.2 kB 28.1 MB/s eta 0:00:00 Collecting robotframework (from -r requirements.txt (line 11)) Downloading robotframework-6.1.1-py3-none-any.whl.metadata (7.5 kB) Collecting robotframework-httplibrary (from -r requirements.txt (line 12)) Downloading robotframework-httplibrary-0.4.2.tar.gz (9.1 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting robotframework-requests==0.9.3 (from -r requirements.txt (line 13)) Downloading robotframework_requests-0.9.3-py3-none-any.whl (21 kB) Collecting robotframework-selenium2library (from -r requirements.txt (line 14)) Downloading robotframework_selenium2library-3.0.0-py2.py3-none-any.whl (6.2 kB) Collecting robotframework-sshlibrary (from -r requirements.txt (line 15)) Downloading robotframework-sshlibrary-3.8.0.tar.gz (51 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 51.4/51.4 kB 6.7 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting scapy (from -r requirements.txt (line 16)) Downloading scapy-2.5.0.tar.gz (1.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 29.2 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 4.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 5.1 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 34.0 MB/s eta 0:00:00 Collecting protobuf (from -r requirements.txt (line 37)) Downloading protobuf-4.25.1-cp37-abi3-manylinux2014_x86_64.whl.metadata (541 bytes) Collecting pyyaml (from -r requirements.txt (line 38)) Using cached PyYAML-6.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB) Collecting robotlibcore-temp (from -r requirements.txt (line 39)) Downloading robotlibcore-temp-1.0.2.tar.gz (4.3 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting more-itertools (from -r requirements.txt (line 40)) Downloading more_itertools-10.1.0-py3-none-any.whl.metadata (33 kB) Collecting xvfbwrapper (from -r requirements.txt (line 41)) Downloading xvfbwrapper-0.2.9.tar.gz (5.6 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting PyVirtualDisplay (from -r requirements.txt (line 42)) Downloading PyVirtualDisplay-3.0-py3-none-any.whl (15 kB) Collecting odltools (from -r requirements.txt (line 48)) Downloading odltools-0.1.34-py2.py3-none-any.whl (215 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 215.1/215.1 kB 24.3 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 17.0 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.8 MB/s eta 0:00:00 Collecting decorator (from jsonpath-rw->-r requirements.txt (line 18)) Using cached decorator-5.1.1-py3-none-any.whl (9.1 kB) Collecting python-dateutil (from elasticsearch-dsl->-r requirements.txt (line 21)) Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB) INFO: pip is looking at multiple versions of elasticsearch-dsl to determine which version is compatible with other requirements. This could take a while. Collecting elasticsearch-dsl (from -r requirements.txt (line 21)) Downloading elasticsearch_dsl-8.9.0-py3-none-any.whl.metadata (10 kB) Downloading elasticsearch_dsl-7.4.1-py2.py3-none-any.whl (64 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 64.1/64.1 kB 7.7 MB/s eta 0:00:00 Collecting pyang (from pyangbind->-r requirements.txt (line 23)) Downloading pyang-2.6.0-py2.py3-none-any.whl.metadata (818 bytes) Collecting lxml (from pyangbind->-r requirements.txt (line 23)) Using cached lxml-4.9.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl.metadata (3.8 kB) Collecting regex (from pyangbind->-r requirements.txt (line 23)) Downloading regex-2023.10.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (40 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.9/40.9 kB 4.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 1.4 MB/s eta 0:00:00 Collecting chardet<3.1.0,>=3.0.2 (from requests->-r requirements.txt (line 9)) Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.4/133.4 kB 2.0 MB/s eta 0:00:00 Collecting idna<2.8,>=2.5 (from requests->-r requirements.txt (line 9)) Downloading idna-2.7-py2.py3-none-any.whl (58 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.2/58.2 kB 532.7 kB/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 2.2 MB/s eta 0:00:00 Downloading odltools-0.1.32-py2.py3-none-any.whl (201 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 201.4/201.4 kB 3.6 MB/s eta 0:00:00 Downloading odltools-0.1.31-py2.py3-none-any.whl (201 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 201.2/201.2 kB 21.5 MB/s eta 0:00:00 Downloading odltools-0.1.30-py2.py3-none-any.whl (201 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 201.1/201.1 kB 20.2 MB/s eta 0:00:00 Downloading odltools-0.1.29-py2.py3-none-any.whl (207 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 207.5/207.5 kB 5.5 MB/s eta 0:00:00 Downloading odltools-0.1.28-py2.py3-none-any.whl (204 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 205.0/205.0 kB 20.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 15.2 MB/s eta 0:00:00 Collecting waitress>=0.8.5 (from webtest>=2.0->robotframework-httplibrary->-r requirements.txt (line 12)) Downloading waitress-2.1.2-py3-none-any.whl (57 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.7/57.7 kB 7.3 MB/s eta 0:00:00 Collecting beautifulsoup4 (from webtest>=2.0->robotframework-httplibrary->-r requirements.txt (line 12)) Using cached beautifulsoup4-4.12.2-py3-none-any.whl (142 kB) Collecting pycparser (from cffi>=1.12->cryptography>=3.3->paramiko->-r requirements.txt (line 1)) Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB) Collecting h11<1,>=0.9.0 (from wsproto>=0.14->trio-websocket~=0.9->selenium<4.6.0,>=4.0.0->-r requirements.txt (line 10)) Downloading h11-0.14.0-py3-none-any.whl (58 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.3/58.3 kB 7.5 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 1.9 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 17.8 MB/s eta 0:00:00 Downloading pyangbind-0.8.4.post1-py3-none-any.whl (52 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 52.8/52.8 kB 4.0 MB/s eta 0:00:00 Using cached jsonpatch-1.33-py2.py3-none-any.whl (12 kB) Using cached pbr-6.0.0-py2.py3-none-any.whl (107 kB) Downloading deepdiff-6.7.1-py3-none-any.whl (76 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 76.6/76.6 kB 1.4 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 3.3 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 172.5 kB/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 10.1 MB/s eta 0:00:00 Downloading trio-0.23.1-py3-none-any.whl (448 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 448.3/448.3 kB 35.7 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 17.1 MB/s eta 0:00:00 Downloading regex-2023.10.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (773 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 773.9/773.9 kB 21.1 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=18282 sha256=80c0662bb76d10fa4ee03fbb69d3a5ac2cab627b23f6eedbbe254124ba170057 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=20864 sha256=7ceedc2b34607063a337692ba058321b44f47647eee6daa1b0cf12fa6ddb5ad4 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=8b6f44dbf7a0305fb7c1f0dcc4dbabc97b90553207561d7711b2bf346ed8e626 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=55116 sha256=52c4f94dbc2bcc92de82f9395a2291d3417412b36f322dd915abf06aae2005ba 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=1444328 sha256=1fd3b3dac5d10c53052a04cae0ada2bb87af828889d8f14d8258cd044a7152fb 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=15127 sha256=774256b5a82dadb5c59ad31d8638ae65734a911b57e0b4c6cd6809b37f7ad112 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=2280a196d06e5f1a26dcc9ef911267bf182d969f228eb07bd3e7ffe16f51ad1b 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=5009 sha256=3dc11e41f4917be406987b2bda983abebfdff445524b81d366e32b9ca3a6f357 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-A95d + echo ROBOT3_VENV=/tmp/venv-A95d + 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/jenkins6591956091508334667.sh + git clone https://gerrit.onap.org/r/ci-management /tmp/ci-management Cloning into '/tmp/ci-management'... + cp /tmp/ci-management/jjb/integration/prepare-csit.sh /tmp/ci-management/jjb/integration/run-csit.sh /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite + /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/run-csit.sh plans/dcaegen2-collectors-datafile/Functional-suite + echo '---> run-csit.sh' ---> run-csit.sh + trap on_exit EXIT + harden_set + set -xeo pipefail + set +u + save_set + RUN_CSIT_SAVE_SET=ehxB + RUN_CSIT_SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:pipefail:xtrace + '[' 1 -eq 0 ']' + '[' -z /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite ']' + '[' -f /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/plans/dcaegen2-collectors-datafile/Functional-suite/testplan.txt ']' + export TESTPLAN=plans/dcaegen2-collectors-datafile/Functional-suite + TESTPLAN=plans/dcaegen2-collectors-datafile/Functional-suite + export TESTOPTIONS= + TESTOPTIONS= + rm -rf /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/plans/dcaegen2-collectors-datafile/Functional-suite + mkdir -p /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/plans/dcaegen2-collectors-datafile/Functional-suite + TESTPLANDIR=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/plans/dcaegen2-collectors-datafile/Functional-suite + source_safely /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/prepare-csit.sh + '[' -z /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/prepare-csit.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/prepare-csit.sh ++ echo '---> prepare-csit.sh' ---> prepare-csit.sh ++ set -exo pipefail ++ ROBOT_INSTALLER=include-raw-integration-install-robotframework-py3.sh +++ id -un ++ REQ_USER=jenkins ++ which git ++ [[ -z /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite ]] ++ TESTPLANDIR=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/plans/dcaegen2-collectors-datafile/Functional-suite ++ [[ -d /opt/pyenv ]] ++ echo 'Setup pyenv:' Setup pyenv: ++ export PYENV_ROOT=/opt/pyenv ++ PYENV_ROOT=/opt/pyenv ++ export PATH=/opt/pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin ++ PATH=/opt/pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin ++ pyenv versions system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/.python-version) ++ command -v pyenv +++ pyenv init - --no-rehash ++ eval 'PATH="$(bash --norc -ec '\''IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "'\''/opt/pyenv/shims'\''" ]]; then unset '\''\'\'''\''paths[i]'\''\'\'''\''; fi; done; echo "${paths[*]}"'\'')" export PATH="/opt/pyenv/shims:${PATH}" export PYENV_SHELL=bash source '\''/opt/pyenv/libexec/../completions/pyenv.bash'\'' pyenv() { local command command="${1:-}" if [ "$#" -gt 0 ]; then shift fi case "$command" in rehash|shell) eval "$(pyenv "sh-$command" "$@")" ;; *) command pyenv "$command" "$@" ;; esac }' ++++ bash --norc -ec 'IFS=:; paths=($PATH); for i in ${!paths[@]}; do if [[ ${paths[i]} == "/opt/pyenv/shims" ]]; then unset '\''paths[i]'\''; fi; done; echo "${paths[*]}"' +++ PATH=/opt/pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin +++ export PATH=/opt/pyenv/shims:/opt/pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin +++ PATH=/opt/pyenv/shims:/opt/pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin +++ export PYENV_SHELL=bash +++ PYENV_SHELL=bash +++ source /opt/pyenv/libexec/../completions/pyenv.bash ++++ complete -F _pyenv pyenv +++ pyenv versions --bare +++ local command +++ command=versions +++ '[' 2 -gt 0 ']' +++ sed '/^[^0-9]/d' +++ shift +++ case "$command" in +++ command pyenv versions --bare +++ pyenv versions --bare +++ sort -V +++ tail -n 1 ++ version=3.10.6 ++ pyenv local 3.10.6 ++ local command ++ command=local ++ '[' 2 -gt 0 ']' ++ shift ++ case "$command" in ++ command pyenv local 3.10.6 ++ pyenv local 3.10.6 ++ [[ -f /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/env.properties ]] ++ source /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/env.properties +++ ROBOT3_VENV=/tmp/venv-A95d ++ [[ -f /tmp/venv-A95d/bin/activate ]] ++ source /tmp/venv-A95d/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-A95d +++ 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-A95d/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-A95d) ' +++ export PS1 +++ VIRTUAL_ENV_PROMPT='(venv-A95d) ' +++ export VIRTUAL_ENV_PROMPT +++ '[' -n /bin/bash -o -n '' ']' +++ hash -r ++ mkdir -p /tmp/venv-A95d/src/onap ++ rm -rf /tmp/venv-A95d/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 204.8 kB/s eta 0:00:00 Requirement already satisfied: pbr in /tmp/venv-A95d/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (6.0.0) Requirement already satisfied: deepdiff in /tmp/venv-A95d/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (6.7.1) Requirement already satisfied: dnspython in /tmp/venv-A95d/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (2.4.2) Requirement already satisfied: future in /tmp/venv-A95d/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (0.18.3) Requirement already satisfied: jinja2 in /tmp/venv-A95d/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (3.1.2) Requirement already satisfied: jsonpath-rw in /tmp/venv-A95d/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (1.4.0) Requirement already satisfied: kafka-python in /tmp/venv-A95d/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (2.0.2) Requirement already satisfied: paramiko in /tmp/venv-A95d/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (3.3.1) Requirement already satisfied: protobuf in /tmp/venv-A95d/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (4.25.1) Requirement already satisfied: pyyaml in /tmp/venv-A95d/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (6.0.1) Requirement already satisfied: requests in /tmp/venv-A95d/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-A95d/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (0.9.3) Requirement already satisfied: robotlibcore-temp in /tmp/venv-A95d/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (1.0.2) Requirement already satisfied: six in /tmp/venv-A95d/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (1.16.0) Requirement already satisfied: urllib3 in /tmp/venv-A95d/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (1.26.18) Requirement already satisfied: more-itertools in /tmp/venv-A95d/lib/python3.10/site-packages (from robotframework-onap==11.0.0.dev17) (10.1.0) Requirement already satisfied: robotframework in /tmp/venv-A95d/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-A95d/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-A95d/lib/python3.10/site-packages (from jinja2->robotframework-onap==11.0.0.dev17) (2.1.3) Requirement already satisfied: ply in /tmp/venv-A95d/lib/python3.10/site-packages (from jsonpath-rw->robotframework-onap==11.0.0.dev17) (3.11) Requirement already satisfied: decorator in /tmp/venv-A95d/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-A95d/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-A95d/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-A95d/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-A95d/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-A95d/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-A95d/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-A95d/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-A95d/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-A95d/bin/activate + '[' -z /tmp/venv-A95d/bin/activate ']' + relax_set + set +e + set +o pipefail + . /tmp/venv-A95d/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-A95d ++ 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-A95d/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-A95d) ' ++ PS1='(venv-A95d) (venv-A95d) ' ++ export PS1 ++ VIRTUAL_ENV_PROMPT='(venv-A95d) ' ++ 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.rc10i3zyrf-robot-workdir + cd /tmp/tmp.rc10i3zyrf-robot-workdir + export PATH=/tmp/venv-A95d/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-A95d/bin + PATH=/tmp/venv-A95d/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-A95d/bin + export SCRIPTS=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/scripts + SCRIPTS=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/scripts + export ROBOT_VARIABLES= + ROBOT_VARIABLES= + docker login -u docker -p docker nexus3.onap.org:10001 WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded + cd /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/plans/dcaegen2-collectors-datafile/Functional-suite + SETUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/plans/dcaegen2-collectors-datafile/Functional-suite/setup.sh + '[' -f /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/plans/dcaegen2-collectors-datafile/Functional-suite/setup.sh ']' + echo 'Running setup script /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/plans/dcaegen2-collectors-datafile/Functional-suite/setup.sh' Running setup script /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/plans/dcaegen2-collectors-datafile/Functional-suite/setup.sh + source_safely /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/plans/dcaegen2-collectors-datafile/Functional-suite/setup.sh + '[' -z /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/plans/dcaegen2-collectors-datafile/Functional-suite/setup.sh ']' + relax_set + set +e + set +o pipefail + . /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/plans/dcaegen2-collectors-datafile/Functional-suite/setup.sh +++ docker ps -q -a ++ docker kill '' Error response from daemon: page not found +++ docker ps -q -a ++ docker rm '' Container name cannot be empty ++ docker system prune -f Total reclaimed space: 0B ++ mkdir -p /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc ++ cd /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc ++ '[' -z '' ']' ++ git clone --depth 1 https://gerrit.onap.org/r/integration -b master Cloning into 'integration'... ++ echo 'Determine SIM_ROOT based on the WORKSPACE' Determine SIM_ROOT based on the WORKSPACE ++ SIM_ROOT=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness ++ rm /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group/consul/consul/cbs_localhost_config.hcl rm: cannot remove '/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group/consul/consul/cbs_localhost_config.hcl': No such file or directory ++ true ++ mkdir /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group/dfc_config_volume ++ SIMGROUP_ROOT=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group ++ SIM_IP=127.0.0.1 ++ DFC_ROOT=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/scripts/dcaegen2-collectors-datafile/dfc-management ++ ROBOT_VARIABLES='-b debug.log -v SIMGROUP_ROOT:/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group -v SIM_IP:127.0.0.1 -v DFC_ROOT:/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/scripts/dcaegen2-collectors-datafile/dfc-management' ++ cd /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/mr-sim ++ docker build -t mrsim:latest . Sending build context to Docker daemon 88.06kB Step 1/5 : FROM nexus3.onap.org:10001/onap/integration-python:8.0.0 8.0.0: Pulling from onap/integration-python 05e7bc50f07f: Pulling fs layer f5fc763800d1: Pulling fs layer f53ef10555d9: Pulling fs layer 4c86f8625acc: Pulling fs layer 2a8e2cb8a2db: Pulling fs layer ebfaf6ce8ea0: Pulling fs layer 4c86f8625acc: Waiting ebfaf6ce8ea0: Waiting 2a8e2cb8a2db: Waiting f5fc763800d1: Download complete 4c86f8625acc: Verifying Checksum 4c86f8625acc: Download complete 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 ---> 9f113e31cc1c Step 3/5 : WORKDIR /app ---> Running in 7466da7771fb Removing intermediate container 7466da7771fb ---> 9f7877fe601c Step 4/5 : RUN pip install --no-cache-dir -r requirements.txt ---> Running in 9c388d482838 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=b0a642c5b7b3039209f1d0b965179d33697aa25f05ec4ffd15a641fbd82347e6 Stored in directory: /tmp/pip-ephem-wheel-cache-512tcnix/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 9c388d482838 ---> 506f72d95456 Step 5/5 : EXPOSE 2222 2223 ---> Running in 09336330fb56 Removing intermediate container 09336330fb56 ---> 3a783ba66350 Successfully built 3a783ba66350 Successfully tagged mrsim:latest ++ cd /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/dr-sim ++ docker build -t drsim_common:latest . Sending build context to Docker daemon 62.98kB Step 1/7 : FROM node:14 14: Pulling from library/node 2ff1d7c41c74: Pulling fs layer b253aeafeaa7: Pulling fs layer 3d2201bd995c: Pulling fs layer 1de76e268b10: Pulling fs layer d9a8df589451: Pulling fs layer 6f51ee005dea: Pulling fs layer 5f32ed3c3f27: Pulling fs layer 0c8cc2f24a4d: Pulling fs layer 0d27a8e86132: Pulling fs layer d9a8df589451: Waiting 6f51ee005dea: Waiting 5f32ed3c3f27: Waiting 0c8cc2f24a4d: Waiting 0d27a8e86132: Waiting 1de76e268b10: Waiting b253aeafeaa7: Verifying Checksum b253aeafeaa7: Download complete 3d2201bd995c: Verifying Checksum 3d2201bd995c: Download complete 2ff1d7c41c74: Verifying Checksum 2ff1d7c41c74: Download complete 1de76e268b10: Verifying Checksum 1de76e268b10: Download complete 6f51ee005dea: Verifying Checksum 6f51ee005dea: Download complete 0c8cc2f24a4d: Verifying Checksum 0c8cc2f24a4d: Download complete 0d27a8e86132: Verifying Checksum 0d27a8e86132: Download complete 5f32ed3c3f27: Verifying Checksum 5f32ed3c3f27: Download complete d9a8df589451: Verifying Checksum d9a8df589451: Download complete 2ff1d7c41c74: Pull 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 83e441e00a9f Removing intermediate container 83e441e00a9f ---> cb3c806c9d07 Step 3/7 : COPY dmaapDR.js ./ ---> ffa72a2add2f Step 4/7 : COPY dmaapDR_redir.js ./ ---> 7b86ba56af2e Step 5/7 : COPY package*.json ./ ---> aa82bd4e159a Step 6/7 : RUN npm install express ---> Running in e28db176b1a7 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 8.345s 11 packages are looking for funding run `npm fund` for details found 0 vulnerabilities Removing intermediate container e28db176b1a7 ---> a05175be4609 Step 7/7 : RUN npm install argparse ---> Running in d3c6ef744396 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 2.973s 11 packages are looking for funding run `npm fund` for details found 0 vulnerabilities Removing intermediate container d3c6ef744396 ---> be5f41b0f676 Successfully built be5f41b0f676 Successfully tagged drsim_common:latest ++ cd /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group ++ cp -r ../ftpes-sftp-server/configuration . ++ cp -r ../ftpes-sftp-server/tls . ++ cd ../ftpes-sftp-server ++ docker build -t ftpes_vsftpd:latest -f Dockerfile-ftpes . Sending build context to Docker daemon 20.48kB Step 1/4 : FROM docker.io/panubo/vsftpd latest: Pulling from panubo/vsftpd d3d4e1d44a24: Pulling fs layer 87e5cf803a9c: Pulling fs layer 1c7827cf61b2: Pulling fs layer 0fb6f74fda2e: Pulling fs layer dbe06f2b48d4: Pulling fs layer c0fad266edcb: Pulling fs layer 95ea16876fa0: Pulling fs layer dbe06f2b48d4: Waiting 95ea16876fa0: Waiting c0fad266edcb: Waiting 0fb6f74fda2e: Waiting 87e5cf803a9c: Verifying Checksum 87e5cf803a9c: Download complete 1c7827cf61b2: Verifying Checksum 1c7827cf61b2: Download complete 0fb6f74fda2e: Download complete dbe06f2b48d4: Verifying Checksum dbe06f2b48d4: Download complete c0fad266edcb: Verifying Checksum c0fad266edcb: Download complete 95ea16876fa0: Verifying Checksum 95ea16876fa0: Download complete d3d4e1d44a24: Verifying Checksum d3d4e1d44a24: Download complete d3d4e1d44a24: Pull complete 87e5cf803a9c: Pull complete 1c7827cf61b2: Pull complete 0fb6f74fda2e: Pull complete dbe06f2b48d4: Pull complete c0fad266edcb: Pull complete 95ea16876fa0: Pull complete Digest: sha256:da1bc81b1d4c62c919109316de50150159a4d38bbc6a21cf2d09f31222e88fef Status: Downloaded newer image for panubo/vsftpd:latest ---> cab7d4ddb83a Step 2/4 : COPY configuration/vsftpd_ssl.conf /etc/vsftpd_ssl.conf ---> c808f1b21deb Step 3/4 : RUN chmod 644 /etc/vsftpd_ssl.conf ---> Running in 1e3c7514429e Removing intermediate container 1e3c7514429e ---> ad4020137251 Step 4/4 : RUN chown root:root /etc/vsftpd_ssl.conf ---> Running in 793568cbfd0f Removing intermediate container 793568cbfd0f ---> 4cbf5e3f0334 Successfully built 4cbf5e3f0334 Successfully tagged ftpes_vsftpd:latest + load_set + _setopts=hxB ++ echo braceexpand:hashall:interactive-comments:xtrace ++ tr : ' ' + for i in $(echo "$SHELLOPTS" | tr ':' ' ') + set +o braceexpand + for i in $(echo "$SHELLOPTS" | tr ':' ' ') + set +o hashall + for i in $(echo "$SHELLOPTS" | tr ':' ' ') + set +o interactive-comments + for i in $(echo "$SHELLOPTS" | tr ':' ' ') + set +o xtrace ++ echo hxB ++ sed 's/./& /g' + for i in $(echo "$_setopts" | sed 's/./& /g') + set +h + for i in $(echo "$_setopts" | sed 's/./& /g') + set +x + docker_stats + tee /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/plans/dcaegen2-collectors-datafile/Functional-suite/_sysinfo-1-after-setup.txt + echo '> top -bn1 | head -3' + top -bn1 + head -3 > top -bn1 | head -3 top - 16:45:34 up 4 min, 0 users, load average: 1.79, 0.93, 0.38 Tasks: 161 total, 1 running, 83 sleeping, 0 stopped, 0 zombie %Cpu(s): 7.3 us, 1.5 sy, 0.0 ni, 85.8 id, 5.2 wa, 0.0 hi, 0.0 si, 0.2 st + echo + echo '> free -h' + free -h > free -h total used free shared buff/cache available Mem: 31G 759M 27G 708K 3.6G 30G Swap: 1.0G 0B 1.0G + echo + echo '> docker ps' + docker ps > docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES + echo + echo '> docker stats --no-stream' > docker stats --no-stream + docker stats --no-stream CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS + echo + cd /tmp/tmp.rc10i3zyrf-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 f62acae42d19df6d325c7d7204820da432346709d15a9497662e00a6c386568f 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_ftpes-server-vsftpd4 ... Creating dfc_sftp-server2 ... Creating dfc_dr-redir-sim ... Creating dfc_http-https-server3 ... Creating dfc_http-https-server0 ... Creating dfc_sftp-server3 ... Creating dfc_sftp-server1 ... Creating dfc_http-https-server1 ... Creating dfc_sftp-server4 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_dr-sim ... Creating dfc_http-https-server2 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_mr-sim ... Creating dfc_cmpv2-postprocessor ... Creating dfc_sftp-server0 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_http-https-server4 ... Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_cmpv2-postprocessor ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_sftp-server0 ... done Creating dfc_mr-sim ... done Creating dfc_sftp-server1 ... done Creating dfc_dr-redir-sim ... done Creating dfc_sftp-server2 ... done Creating dfc_sftp-server4 ... done Creating dfc_dr-sim ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_sftp-server3 ... done Creating dfc_http-https-server2 ... done Creating dfc_http-https-server4 ... done Creating dfc_http-https-server3 ... 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=068b953f0469 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=92559ec1bfce ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=2f2952971a69 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=d4118a768e29 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=4bed0d731ef8 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=13b0cea055f1 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=df469035bacf ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=a8c418cc7fac ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=2e03e7bd005a ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=99b347ea9f24 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=c605c35ceb84 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=fe35c606e388 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=a420b36c1d2c ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=b31a0bb8c256 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=6381b0e8153d ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=7f6544fe6f39 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=82311850fd4c ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=01c4f2efbe35 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 068b953f0469 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 92559ec1bfce + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2f2952971a69 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d4118a768e29 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4bed0d731ef8 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 13b0cea055f1 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' df469035bacf + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a8c418cc7fac + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2e03e7bd005a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 99b347ea9f24 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c605c35ceb84 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' fe35c606e388 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a420b36c1d2c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b31a0bb8c256 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6381b0e8153d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7f6544fe6f39 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 82311850fd4c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 01c4f2efbe35 + '[' 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 d4118a768e29:/tmp/ + docker exec -w //home/onap/ d4118a768e29 //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 b31a0bb8c256:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs b31a0bb8c256 //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 - - [27/Nov/2023 16:46:21] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 16:46:21] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 16:47:15] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 16:48:11] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 16:48:21] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 16:48:31] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 16:48:41] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 16:48:51] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 16:49:01] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 16:49:11] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ Verify single event with single 5MB SFTP file. From event poll to ... Simulator-start: Creating docker network dfcnet, if needed All simulators Started Simulator DR sim on localhost:3906/ responded ok Simulator DR redir sim on localhost:3908/ responded ok Simulator MR sim on localhost:2222/ responded ok Simulator DR sim https on https://localhost:3907/ responded ok Simulator DR redir sim https on https://localhost:3909/ responded ok Simulator MR sim https on https://localhost:2223/ responded ok Simulator FTPES server 0 on localhost:1032 responded ok Simulator FTPES server 1 on localhost:1033 responded ok Simulator FTPES server 2 on localhost:1034 responded ok Simulator FTPES server 3 on localhost:1035 responded ok Simulator FTPES server 4 on localhost:1036 responded ok Simulator SFTP server 0 on localhost:1022 responded ok Simulator SFTP server 1 on localhost:1023 responded ok Simulator SFTP server 2 on localhost:1024 responded ok Simulator SFTP server 3 on localhost:1025 responded ok Simulator SFTP server 4 on localhost:1026 responded ok Simulator HTTP basic auth server 0 on localhost: 81 responded ok Simulator HTTP basic auth server 1 on localhost: 82 responded ok Simulator HTTP basic auth server 2 on localhost: 83 responded ok Simulator HTTP basic auth server 3 on localhost: 84 responded ok Simulator HTTP basic auth server 4 on localhost: 85 responded ok Simulator HTTP JWT server 0 on localhost:32001 responded ok Simulator HTTP JWT server 1 on localhost:32002 responded ok Simulator HTTP JWT server 2 on localhost:32003 responded ok Simulator HTTP JWT server 3 on localhost:32004 responded ok Simulator HTTP JWT server 4 on localhost:32005 responded ok Simulator HTTPS basic auth server 0 on localhost: 444 responded ok Simulator HTTPS basic auth server 1 on localhost: 445 responded ok Simulator HTTPS basic auth server 2 on localhost: 446 responded ok Simulator HTTPS basic auth server 3 on localhost: 447 responded ok Simulator HTTPS basic auth server 4 on localhost: 448 responded ok Simulator HTTPS client certificate authentication server 0 on localhost:444 - no response Simulator HTTPS client certificate authentication server 1 on localhost:445 - no response Simulator HTTPS client certificate authentication server 2 on localhost:446 - no response Simulator HTTPS client certificate authentication server 3 on localhost:447 - no response Simulator HTTPS client certificate authentication server 4 on localhost:448 - no response Simulator HTTPS no auth server 0 on localhost:8081 responded ok Simulator HTTPS no auth server 1 on localhost:8082 responded ok Simulator HTTPS no auth server 2 on localhost:8083 responded ok Simulator HTTPS no auth server 3 on localhost:8084 responded ok Simulator HTTPS no auth server 4 on localhost:8085 responded ok Simulator HTTPS JWT server 0 on localhost:32101 responded ok Simulator HTTPS JWT server 1 on localhost:32102 responded ok Simulator HTTPS JWT server 2 on localhost:32103 responded ok Simulator HTTPS JWT server 3 on localhost:32104 responded ok Simulator HTTPS JWT server 4 on localhost:32105 responded ok Creating files for SFTP server, may take time.... Running ftp file creations. 1 PNFs and 1 files for each PNF with file size(s) 5MB and file prefixe(s) A in ftp servers with index 0 Creating files for HTTP server, may take time.... Running http file creations. 1 PNFs and 1 files for each PNF with file size(s) 5MB and file prefixe(s) A in http servers with index 0 Done: All simulators started and configured + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Creating dfc_sftp-server1 ... Creating dfc_dr-sim ... Creating dfc_http-https-server4 ... Creating dfc_ftpes-server-vsftpd0 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_http-https-server0 ... Creating dfc_http-https-server3 ... Creating dfc_http-https-server1 ... Creating dfc_dr-redir-sim ... Creating dfc_sftp-server0 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_sftp-server2 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_mr-sim ... Creating dfc_http-https-server2 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_sftp-server4 ... Creating dfc_sftp-server3 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_http-https-server2 ... done Creating dfc_sftp-server4 ... done Creating dfc_sftp-server2 ... done Creating dfc_sftp-server3 ... done Creating dfc_sftp-server0 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_sftp-server1 ... done Creating dfc_dr-redir-sim ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_http-https-server0 ... done Creating dfc_mr-sim ... done Creating dfc_dr-sim ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_http-https-server1 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_http-https-server4 ... done Creating dfc_ftpes-server-vsftpd0 ... 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=c92b5c608231 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=682a141cd28e ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=0fe0c29cb6d1 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=bbfd45c078aa ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=e7b9c2920f86 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=f727db4dc2b0 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=1ea63b9ab9f4 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=a1acaf76e270 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=7d8f6ec963a2 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=bb9b9ea4b46e ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=2b0289e47d4a ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=4af333f530df ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=cb51dffa3bb4 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=d4b41e34c32f ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=f8b31877293b ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=c8a95b849be5 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=d914fcfe3933 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=c602cb0f752a + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' c92b5c608231 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 682a141cd28e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 0fe0c29cb6d1 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' bbfd45c078aa + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e7b9c2920f86 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f727db4dc2b0 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1ea63b9ab9f4 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a1acaf76e270 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7d8f6ec963a2 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' bb9b9ea4b46e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2b0289e47d4a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4af333f530df + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' cb51dffa3bb4 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d4b41e34c32f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f8b31877293b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c8a95b849be5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d914fcfe3933 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c602cb0f752a + '[' 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 bbfd45c078aa:/tmp/ + docker exec -w //home/onap/ bbfd45c078aa //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 d4b41e34c32f:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs d4b41e34c32f //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 - - [27/Nov/2023 16:49:41] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 16:49:41] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 16:50:35] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 16:51:31] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 16:51:41] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 16:51:51] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 16:52:01] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 16:52:11] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 16:52:21] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 16:52: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 50MB SFTP file. From event poll to... Simulator-start: Creating docker network dfcnet, if needed All simulators Started Simulator DR sim on localhost:3906/ responded ok Simulator DR redir sim on localhost:3908/ responded ok Simulator MR sim on localhost:2222/ responded ok Simulator DR sim https on https://localhost:3907/ responded ok Simulator DR redir sim https on https://localhost:3909/ responded ok Simulator MR sim https on https://localhost:2223/ responded ok Simulator FTPES server 0 on localhost:1032 responded ok Simulator FTPES server 1 on localhost:1033 responded ok Simulator FTPES server 2 on localhost:1034 responded ok Simulator FTPES server 3 on localhost:1035 responded ok Simulator FTPES server 4 on localhost:1036 responded ok Simulator SFTP server 0 on localhost:1022 responded ok Simulator SFTP server 1 on localhost:1023 responded ok Simulator SFTP server 2 on localhost:1024 responded ok Simulator SFTP server 3 on localhost:1025 responded ok Simulator SFTP server 4 on localhost:1026 responded ok Simulator HTTP basic auth server 0 on localhost: 81 responded ok Simulator HTTP basic auth server 1 on localhost: 82 responded ok Simulator HTTP basic auth server 2 on localhost: 83 responded ok Simulator HTTP basic auth server 3 on localhost: 84 responded ok Simulator HTTP basic auth server 4 on localhost: 85 responded ok Simulator HTTP JWT server 0 on localhost:32001 responded ok Simulator HTTP JWT server 1 on localhost:32002 responded ok Simulator HTTP JWT server 2 on localhost:32003 responded ok Simulator HTTP JWT server 3 on localhost:32004 responded ok Simulator HTTP JWT server 4 on localhost:32005 responded ok Simulator HTTPS basic auth server 0 on localhost: 444 responded ok Simulator HTTPS basic auth server 1 on localhost: 445 responded ok Simulator HTTPS basic auth server 2 on localhost: 446 responded ok Simulator HTTPS basic auth server 3 on localhost: 447 responded ok Simulator HTTPS basic auth server 4 on localhost: 448 responded ok Simulator HTTPS client certificate authentication server 0 on localhost:444 - no response Simulator HTTPS client certificate authentication server 1 on localhost:445 - no response Simulator HTTPS client certificate authentication server 2 on localhost:446 - no response Simulator HTTPS client certificate authentication server 3 on localhost:447 - no response Simulator HTTPS client certificate authentication server 4 on localhost:448 - no response Simulator HTTPS no auth server 0 on localhost:8081 responded ok Simulator HTTPS no auth server 1 on localhost:8082 responded ok Simulator HTTPS no auth server 2 on localhost:8083 responded ok Simulator HTTPS no auth server 3 on localhost:8084 responded ok Simulator HTTPS no auth server 4 on localhost:8085 responded ok Simulator HTTPS JWT server 0 on localhost:32101 responded ok Simulator HTTPS JWT server 1 on localhost:32102 responded ok Simulator HTTPS JWT server 2 on localhost:32103 responded ok Simulator HTTPS JWT server 3 on localhost:32104 responded ok Simulator HTTPS JWT server 4 on localhost:32105 responded ok Creating files for SFTP server, may take time.... Running ftp file creations. 1 PNFs and 1 files for each PNF with file size(s) 50MB and file prefixe(s) A in ftp servers with index 0 Creating files for HTTP server, may take time.... Running http file creations. 1 PNFs and 1 files for each PNF with file size(s) 50MB and file prefixe(s) A in http servers with index 0 Done: All simulators started and configured + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Starting dfc_cmpv2-postprocessor ... Creating dfc_http-https-server3 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_dr-sim ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_sftp-server1 ... Creating dfc_http-https-server2 ... Creating dfc_mr-sim ... Creating dfc_sftp-server3 ... Creating dfc_sftp-server2 ... Creating dfc_dr-redir-sim ... Creating dfc_http-https-server1 ... Creating dfc_sftp-server0 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_http-https-server0 ... Creating dfc_sftp-server4 ... Creating dfc_http-https-server4 ... Creating dfc_ftpes-server-vsftpd4 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server3 ... done Creating dfc_dr-sim ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_dr-redir-sim ... done Creating dfc_sftp-server0 ... done Creating dfc_http-https-server3 ... done Creating dfc_sftp-server2 ... done Creating dfc_sftp-server4 ... done Creating dfc_sftp-server1 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_http-https-server2 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_http-https-server1 ... done Creating dfc_mr-sim ... done Creating dfc_http-https-server4 ... done Creating dfc_http-https-server0 ... done ++ id -u ++ id -g + sudo chown 1001:1001 dfc_configs + declare -a SFTP_SIM + declare -a FTPES_SIM + declare -a HTTP_SIM ++ docker ps -q --filter=name=dfc_dr-sim + DR_SIM=4cf0171f074c ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=ec3f3e464e7d ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=a33ae6c235f8 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=adc28b7dd95f ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=e7f6d4410fdb ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=915065efb0bf ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=7a1e68b5f617 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=3903d4fbafc5 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=ca350f3e4d17 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=533bca9bea84 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=202f3e66427e ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=e12b0e595195 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=6fcafc3f60a4 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=2a62798c08ed ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=ffb79d817ec5 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=b8a854f3ac8a ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=8174d769203f ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=625e4cfb196f + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 4cf0171f074c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ec3f3e464e7d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a33ae6c235f8 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' adc28b7dd95f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e7f6d4410fdb + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 915065efb0bf + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7a1e68b5f617 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 3903d4fbafc5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ca350f3e4d17 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 533bca9bea84 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 202f3e66427e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e12b0e595195 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6fcafc3f60a4 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2a62798c08ed + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ffb79d817ec5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b8a854f3ac8a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8174d769203f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 625e4cfb196f + '[' 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 adc28b7dd95f:/tmp/ + docker exec -w //home/onap/ adc28b7dd95f //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 2a62798c08ed:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 2a62798c08ed //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 - - [27/Nov/2023 16:52:58] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 16:52:58] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 16:53:52] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 16:54:48] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 16:54:58] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 16:55:08] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 16:55:18] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 16:55:28] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 16:55:38] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 16:55: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 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 Starting dfc_cmpv2-postprocessor ... Creating dfc_http-https-server0 ... Creating dfc_sftp-server1 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_sftp-server3 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_http-https-server3 ... Creating dfc_sftp-server2 ... Creating dfc_sftp-server4 ... Creating dfc_http-https-server2 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_dr-sim ... Creating dfc_dr-redir-sim ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_http-https-server1 ... Creating dfc_http-https-server4 ... Creating dfc_sftp-server0 ... Creating dfc_mr-sim ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server3 ... done Creating dfc_sftp-server0 ... done Creating dfc_sftp-server1 ... done Creating dfc_http-https-server3 ... done Creating dfc_dr-redir-sim ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_sftp-server2 ... done Creating dfc_http-https-server2 ... done Creating dfc_sftp-server4 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_http-https-server4 ... done Creating dfc_mr-sim ... done Creating dfc_dr-sim ... done Creating dfc_ftpes-server-vsftpd4 ... 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=dcf2d4874364 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=464dcbeeef37 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=2aded4c28235 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=c8ce0fed76d2 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=f2f99461cb54 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=c1223d9ffeaa ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=16b2fc692a12 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=9b9220c37257 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=e0752c08e52b ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=986b0230d26c ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=2512f7bee7fb ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=a01b5000e0d5 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=aff969effecc ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=cd552f65f5b6 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=32c52d1fe4ae ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=cb7eb8ffc986 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=848c254164fb ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=aca44497bfde + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' dcf2d4874364 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 464dcbeeef37 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2aded4c28235 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c8ce0fed76d2 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f2f99461cb54 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c1223d9ffeaa + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 16b2fc692a12 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9b9220c37257 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e0752c08e52b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 986b0230d26c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2512f7bee7fb + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a01b5000e0d5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' aff969effecc + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' cd552f65f5b6 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 32c52d1fe4ae + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' cb7eb8ffc986 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 848c254164fb + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' aca44497bfde + '[' true ']' + echo 'All simulators Started' + break + '[' -z '' ']' + BASIC_AUTH_LOGIN=demo + '[' -z '' ']' + BASIC_AUTH_PASSWORD='demo123456!' + server_check 'DR sim ' 3906 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3906/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim ' on localhost:3906/ responded ok' + return + server_check 'DR redir sim ' 3908 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3908/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim ' on localhost:3908/ responded ok' + return + server_check 'MR sim ' 2222 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:2222/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim ' on localhost:2222/ responded ok' + return + server_check_https 'DR sim https ' 3907 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3907/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim https ' on https://localhost:3907/ responded ok' + return + server_check_https 'DR redir sim https' 3909 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3909/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim https ' on https://localhost:3909/ responded ok' + return + server_check_https 'MR sim https ' 2223 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:2223/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim https ' on https://localhost:2223/ responded ok' + return + ftpes_server_check 'FTPES server 0' 1032 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1032 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 0 ' on localhost:1032 responded ok' + return + ftpes_server_check 'FTPES server 1' 1033 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1033 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 1 ' on localhost:1033 responded ok' + return + ftpes_server_check 'FTPES server 2' 1034 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1034 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 2 ' on localhost:1034 responded ok' + return + ftpes_server_check 'FTPES server 3' 1035 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1035 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 3 ' on localhost:1035 responded ok' + return + ftpes_server_check 'FTPES server 4' 1036 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1036 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 4 ' on localhost:1036 responded ok' + return + sftp_server_check 'SFTP server 0' 1022 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1022 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 0 ' on localhost:1022 responded ok' + return + sftp_server_check 'SFTP server 1' 1023 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1023 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 1 ' on localhost:1023 responded ok' + return + sftp_server_check 'SFTP server 2' 1024 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1024 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 2 ' on localhost:1024 responded ok' + return + sftp_server_check 'SFTP server 3' 1025 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1025 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 3 ' on localhost:1025 responded ok' + return + sftp_server_check 'SFTP server 4' 1026 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1026 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 4 ' on localhost:1026 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 0' 81 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:81' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 0' ' on localhost: 81 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 1' 82 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:82' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 1' ' on localhost: 82 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 2' 83 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:83' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 2' ' on localhost: 83 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 3' 84 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:84' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 3' ' on localhost: 84 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 4' 85 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:85' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 4' ' on localhost: 85 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 0' 32001 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32001 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 0 ' on localhost:32001 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 1' 32002 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32002 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 1 ' on localhost:32002 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 2' 32003 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32003 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 2 ' on localhost:32003 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 3' 32004 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32004 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 3 ' on localhost:32004 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 4' 32005 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32005 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 4 ' on localhost:32005 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 0' 444 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:444' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 0' ' on localhost: 444 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 1' 445 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:445' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 1' ' on localhost: 445 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 2' 446 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:446' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 2' ' on localhost: 446 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 3' 447 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:447' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 3' ' on localhost: 447 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 4' 448 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:448' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 4' ' on localhost: 448 responded ok' + return + http_https_server_check 'HTTPS client certificate authentication server 0' 444 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 0 ' on localhost:444 - no response' + http_https_server_check 'HTTPS client certificate authentication server 1' 445 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 1 ' on localhost:445 - no response' + http_https_server_check 'HTTPS client certificate authentication server 2' 446 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 2 ' on localhost:446 - no response' + http_https_server_check 'HTTPS client certificate authentication server 3' 447 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 3 ' on localhost:447 - no response' + http_https_server_check 'HTTPS client certificate authentication server 4' 448 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 4 ' on localhost:448 - no response' + http_https_server_check 'HTTPS no auth server 0' 8081 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8081 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 0 ' on localhost:8081 responded ok' + return + http_https_server_check 'HTTPS no auth server 1' 8082 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8082 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 1 ' on localhost:8082 responded ok' + return + http_https_server_check 'HTTPS no auth server 2' 8083 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8083 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 2 ' on localhost:8083 responded ok' + return + http_https_server_check 'HTTPS no auth server 3' 8084 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8084 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 3 ' on localhost:8084 responded ok' + return + http_https_server_check 'HTTPS no auth server 4' 8085 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8085 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 4 ' on localhost:8085 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 0' 32101 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32101 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 0 ' on localhost:32101 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 1' 32102 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32102 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 1 ' on localhost:32102 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 2' 32103 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32103 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 2 ' on localhost:32103 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 3' 32104 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32104 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 3 ' on localhost:32104 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 4' 32105 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32105 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 4 ' on localhost:32105 responded ok' + return + echo '' + '[' -z 1 ']' + '[' -z 1 ']' + '[' -z 1MB ']' + '[' -z FTPES ']' + '[' -z A ']' + '[' FTPES = ALL ']' + '[' FTPES = SFTP ']' + '[' FTPES = ALL ']' + '[' FTPES = FTPES ']' + echo 'Creating files for FTPES server, may take time....' + p=0 + '[' 0 -lt 1 ']' + docker cp setup-ftp-files-for-image.sh e0752c08e52b:/tmp/setup-ftp-files-for-image.sh + docker exec -w //srv e0752c08e52b //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 cd552f65f5b6:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs cd552f65f5b6 //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 - - [27/Nov/2023 16:56:13] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 16:56:13] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 16:57:07] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 16:58:03] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 16:58:13] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 16:58:23] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 16:58:34] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 16:58:44] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 16:58:54] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 16:59:04] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ Verify single event with single 5MB FTPES file. From event poll to... Simulator-start: Creating docker network dfcnet, if needed All simulators Started Simulator DR sim on localhost:3906/ responded ok Simulator DR redir sim on localhost:3908/ responded ok Simulator MR sim on localhost:2222/ responded ok Simulator DR sim https on https://localhost:3907/ responded ok Simulator DR redir sim https on https://localhost:3909/ responded ok Simulator MR sim https on https://localhost:2223/ responded ok Simulator FTPES server 0 on localhost:1032 responded ok Simulator FTPES server 1 on localhost:1033 responded ok Simulator FTPES server 2 on localhost:1034 responded ok Simulator FTPES server 3 on localhost:1035 responded ok Simulator FTPES server 4 on localhost:1036 responded ok Simulator SFTP server 0 on localhost:1022 responded ok Simulator SFTP server 1 on localhost:1023 responded ok Simulator SFTP server 2 on localhost:1024 responded ok Simulator SFTP server 3 on localhost:1025 responded ok Simulator SFTP server 4 on localhost:1026 responded ok Simulator HTTP basic auth server 0 on localhost: 81 responded ok Simulator HTTP basic auth server 1 on localhost: 82 responded ok Simulator HTTP basic auth server 2 on localhost: 83 responded ok Simulator HTTP basic auth server 3 on localhost: 84 responded ok Simulator HTTP basic auth server 4 on localhost: 85 responded ok Simulator HTTP JWT server 0 on localhost:32001 responded ok Simulator HTTP JWT server 1 on localhost:32002 responded ok Simulator HTTP JWT server 2 on localhost:32003 responded ok Simulator HTTP JWT server 3 on localhost:32004 responded ok Simulator HTTP JWT server 4 on localhost:32005 responded ok Simulator HTTPS basic auth server 0 on localhost: 444 responded ok Simulator HTTPS basic auth server 1 on localhost: 445 responded ok Simulator HTTPS basic auth server 2 on localhost: 446 responded ok Simulator HTTPS basic auth server 3 on localhost: 447 responded ok Simulator HTTPS basic auth server 4 on localhost: 448 responded ok Simulator HTTPS client certificate authentication server 0 on localhost:444 - no response Simulator HTTPS client certificate authentication server 1 on localhost:445 - no response Simulator HTTPS client certificate authentication server 2 on localhost:446 - no response Simulator HTTPS client certificate authentication server 3 on localhost:447 - no response Simulator HTTPS client certificate authentication server 4 on localhost:448 - no response Simulator HTTPS no auth server 0 on localhost:8081 responded ok Simulator HTTPS no auth server 1 on localhost:8082 responded ok Simulator HTTPS no auth server 2 on localhost:8083 responded ok Simulator HTTPS no auth server 3 on localhost:8084 responded ok Simulator HTTPS no auth server 4 on localhost:8085 responded ok Simulator HTTPS JWT server 0 on localhost:32101 responded ok Simulator HTTPS JWT server 1 on localhost:32102 responded ok Simulator HTTPS JWT server 2 on localhost:32103 responded ok Simulator HTTPS JWT server 3 on localhost:32104 responded ok Simulator HTTPS JWT server 4 on localhost:32105 responded ok Creating files for FTPES server, may take time.... Running ftp file creations. 1 PNFs and 1 files for each PNF with file size(s) 5MB and file prefixe(s) A in ftp servers with index 0 Creating files for HTTP server, may take time.... Running http file creations. 1 PNFs and 1 files for each PNF with file size(s) 5MB and file prefixe(s) A in http servers with index 0 Done: All simulators started and configured + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_mr-sim ... Creating dfc_sftp-server0 ... Creating dfc_sftp-server4 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_http-https-server0 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_dr-sim ... Creating dfc_http-https-server1 ... Creating dfc_http-https-server2 ... Creating dfc_http-https-server3 ... Creating dfc_dr-redir-sim ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_http-https-server4 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_sftp-server1 ... Creating dfc_sftp-server3 ... Creating dfc_sftp-server2 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_dr-redir-sim ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_sftp-server4 ... done Creating dfc_sftp-server0 ... done Creating dfc_sftp-server2 ... done Creating dfc_mr-sim ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_sftp-server3 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_sftp-server1 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_dr-sim ... done Creating dfc_http-https-server1 ... done Creating dfc_http-https-server2 ... done Creating dfc_http-https-server4 ... 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=e553022afdc4 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=49b601685aca ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=65f4517f4761 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=e9f29812cabd ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=2caede7acc43 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=de8378a530c5 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=f775060aec40 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=b3d38eb900e5 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=bc830e24fb3b ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=80f39dc3f6b4 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=bb48492626c3 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=269f5f4dc4f6 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=c06be4576e53 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=82c183745d55 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=0ec593438f09 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=4cdee395e993 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=917480de02ee ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=1ac52528b656 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' e553022afdc4 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 49b601685aca + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 65f4517f4761 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e9f29812cabd + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2caede7acc43 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' de8378a530c5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f775060aec40 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b3d38eb900e5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' bc830e24fb3b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 80f39dc3f6b4 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' bb48492626c3 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 269f5f4dc4f6 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c06be4576e53 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 82c183745d55 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 0ec593438f09 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4cdee395e993 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 917480de02ee + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1ac52528b656 + '[' 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 bc830e24fb3b:/tmp/setup-ftp-files-for-image.sh + docker exec -w //srv bc830e24fb3b //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 82c183745d55:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 82c183745d55 //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 - - [27/Nov/2023 16:59:37] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 16:59:38] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:00:31] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:01:29] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:01:39] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:01:49] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:01:59] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:02:09] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:02:19] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:02:29] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ Verify single event with single 50MB FTEPS file. From event poll t... Simulator-start: Creating docker network dfcnet, if needed All simulators Started Simulator DR sim on localhost:3906/ responded ok Simulator DR redir sim on localhost:3908/ responded ok Simulator MR sim on localhost:2222/ responded ok Simulator DR sim https on https://localhost:3907/ responded ok Simulator DR redir sim https on https://localhost:3909/ responded ok Simulator MR sim https on https://localhost:2223/ responded ok Simulator FTPES server 0 on localhost:1032 responded ok Simulator FTPES server 1 on localhost:1033 responded ok Simulator FTPES server 2 on localhost:1034 responded ok Simulator FTPES server 3 on localhost:1035 responded ok Simulator FTPES server 4 on localhost:1036 responded ok Simulator SFTP server 0 on localhost:1022 responded ok Simulator SFTP server 1 on localhost:1023 responded ok Simulator SFTP server 2 on localhost:1024 responded ok Simulator SFTP server 3 on localhost:1025 responded ok Simulator SFTP server 4 on localhost:1026 responded ok Simulator HTTP basic auth server 0 on localhost: 81 responded ok Simulator HTTP basic auth server 1 on localhost: 82 responded ok Simulator HTTP basic auth server 2 on localhost: 83 responded ok Simulator HTTP basic auth server 3 on localhost: 84 responded ok Simulator HTTP basic auth server 4 on localhost: 85 responded ok Simulator HTTP JWT server 0 on localhost:32001 responded ok Simulator HTTP JWT server 1 on localhost:32002 responded ok Simulator HTTP JWT server 2 on localhost:32003 responded ok Simulator HTTP JWT server 3 on localhost:32004 responded ok Simulator HTTP JWT server 4 on localhost:32005 responded ok Simulator HTTPS basic auth server 0 on localhost: 444 responded ok Simulator HTTPS basic auth server 1 on localhost: 445 responded ok Simulator HTTPS basic auth server 2 on localhost: 446 responded ok Simulator HTTPS basic auth server 3 on localhost: 447 responded ok Simulator HTTPS basic auth server 4 on localhost: 448 responded ok Simulator HTTPS client certificate authentication server 0 on localhost:444 - no response Simulator HTTPS client certificate authentication server 1 on localhost:445 - no response Simulator HTTPS client certificate authentication server 2 on localhost:446 - no response Simulator HTTPS client certificate authentication server 3 on localhost:447 - no response Simulator HTTPS client certificate authentication server 4 on localhost:448 - no response Simulator HTTPS no auth server 0 on localhost:8081 responded ok Simulator HTTPS no auth server 1 on localhost:8082 responded ok Simulator HTTPS no auth server 2 on localhost:8083 responded ok Simulator HTTPS no auth server 3 on localhost:8084 responded ok Simulator HTTPS no auth server 4 on localhost:8085 responded ok Simulator HTTPS JWT server 0 on localhost:32101 responded ok Simulator HTTPS JWT server 1 on localhost:32102 responded ok Simulator HTTPS JWT server 2 on localhost:32103 responded ok Simulator HTTPS JWT server 3 on localhost:32104 responded ok Simulator HTTPS JWT server 4 on localhost:32105 responded ok Creating files for FTPES server, may take time.... Running ftp file creations. 1 PNFs and 1 files for each PNF with file size(s) 50MB and file prefixe(s) A in ftp servers with index 0 Creating files for HTTP server, may take time.... Running http file creations. 1 PNFs and 1 files for each PNF with file size(s) 50MB and file prefixe(s) A in http servers with index 0 Done: All simulators started and configured + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Creating dfc_sftp-server0 ... Creating dfc_sftp-server2 ... Creating dfc_sftp-server1 ... Creating dfc_http-https-server4 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_dr-redir-sim ... Starting dfc_cmpv2-postprocessor ... Creating dfc_http-https-server0 ... Creating dfc_http-https-server1 ... Creating dfc_dr-sim ... Creating dfc_sftp-server4 ... Creating dfc_sftp-server3 ... Creating dfc_http-https-server3 ... Creating dfc_http-https-server2 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_mr-sim ... Creating dfc_ftpes-server-vsftpd3 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_sftp-server4 ... done Creating dfc_sftp-server0 ... done Creating dfc_sftp-server1 ... done Creating dfc_dr-redir-sim ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_sftp-server2 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_sftp-server3 ... done Creating dfc_dr-sim ... done Creating dfc_http-https-server3 ... done Creating dfc_mr-sim ... done Creating dfc_http-https-server2 ... done Creating dfc_http-https-server0 ... done Creating dfc_http-https-server1 ... done Creating dfc_http-https-server4 ... done ++ id -u ++ id -g + sudo chown 1001:1001 dfc_configs + declare -a SFTP_SIM + declare -a FTPES_SIM + declare -a HTTP_SIM ++ docker ps -q --filter=name=dfc_dr-sim + DR_SIM=6e2fdf1ceaaf ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=db6ec1da0993 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=1ada2209e223 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=517f52288527 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=bbc1ea7827a7 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=cf0955381fa0 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=391b038b14a0 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=5c60fb8c3928 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=21074bd096d5 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=6b47dc27d726 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=6f03525fdf01 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=015a02338766 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=772e138ed005 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=a865f462343e ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=33293a1257a5 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=ad9a1fe7345e ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=3622b342ab46 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=a71998250d06 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 6e2fdf1ceaaf + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' db6ec1da0993 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1ada2209e223 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 517f52288527 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' bbc1ea7827a7 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' cf0955381fa0 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 391b038b14a0 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5c60fb8c3928 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 21074bd096d5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6b47dc27d726 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6f03525fdf01 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 015a02338766 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 772e138ed005 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a865f462343e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 33293a1257a5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ad9a1fe7345e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 3622b342ab46 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a71998250d06 + '[' 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 21074bd096d5:/tmp/setup-ftp-files-for-image.sh + docker exec -w //srv 21074bd096d5 //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 a865f462343e:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs a865f462343e //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 - - [27/Nov/2023 17:02:57] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:02:57] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:03:51] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:04:47] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:04:57] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:05:07] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:05:17] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:05:27] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:05:37] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:05: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 ------------------------------------------------------------------------------ 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' + grep dfcnet + docker network ls + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Creating dfc_http-https-server3 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_mr-sim ... Starting dfc_cmpv2-postprocessor ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_sftp-server0 ... Creating dfc_http-https-server2 ... Creating dfc_dr-sim ... Creating dfc_sftp-server1 ... Creating dfc_http-https-server4 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_sftp-server3 ... Creating dfc_dr-redir-sim ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_sftp-server4 ... Creating dfc_http-https-server1 ... Creating dfc_sftp-server2 ... Creating dfc_http-https-server0 ... Creating dfc_ftpes-server-vsftpd4 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_sftp-server1 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_sftp-server0 ... done Creating dfc_sftp-server2 ... done Creating dfc_sftp-server3 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_dr-sim ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_mr-sim ... done Creating dfc_sftp-server4 ... done Creating dfc_dr-redir-sim ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_http-https-server2 ... done Creating dfc_http-https-server3 ... done Creating dfc_http-https-server4 ... 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=d49e8bba6f07 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=07c621dc21cc ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=dc2cb08b337f ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=c60c3b4b239d ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=d74b7999d401 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=a510ddfee5aa ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=96c22dbe22b7 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=eb843d1eea88 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=f28a5016fbed ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=cbeaa8cf100f ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=222a71fac420 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=e0cadef73358 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=fb336160081c ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=2d4c05e5299e ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=3386ad17d40e ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=3a9a7b956965 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=38290e4aeaa3 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=b93520ca4d42 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' d49e8bba6f07 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 07c621dc21cc + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' dc2cb08b337f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c60c3b4b239d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d74b7999d401 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a510ddfee5aa + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 96c22dbe22b7 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' eb843d1eea88 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f28a5016fbed + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' cbeaa8cf100f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 222a71fac420 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e0cadef73358 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' fb336160081c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2d4c05e5299e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 3386ad17d40e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 3a9a7b956965 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 38290e4aeaa3 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b93520ca4d42 + '[' 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 c60c3b4b239d:/tmp/ + docker exec -w //home/onap/ c60c3b4b239d //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 2d4c05e5299e:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 2d4c05e5299e //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 - - [27/Nov/2023 17:06:13] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:06:13] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:07:06] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:08:02] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:08:12] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:08:22] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:08:32] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:08:42] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:08:52] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:09:02] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ Verify single event with single 5MB HTTP file. From event poll to ... Simulator-start: Creating docker network dfcnet, if needed All simulators Started Simulator DR sim on localhost:3906/ responded ok Simulator DR redir sim on localhost:3908/ responded ok Simulator MR sim on localhost:2222/ responded ok Simulator DR sim https on https://localhost:3907/ responded ok Simulator DR redir sim https on https://localhost:3909/ responded ok Simulator MR sim https on https://localhost:2223/ responded ok Simulator FTPES server 0 on localhost:1032 responded ok Simulator FTPES server 1 on localhost:1033 responded ok Simulator FTPES server 2 on localhost:1034 responded ok Simulator FTPES server 3 on localhost:1035 responded ok Simulator FTPES server 4 on localhost:1036 responded ok Simulator SFTP server 0 on localhost:1022 responded ok Simulator SFTP server 1 on localhost:1023 responded ok Simulator SFTP server 2 on localhost:1024 responded ok Simulator SFTP server 3 on localhost:1025 responded ok Simulator SFTP server 4 on localhost:1026 responded ok Simulator HTTP basic auth server 0 on localhost: 81 responded ok Simulator HTTP basic auth server 1 on localhost: 82 responded ok Simulator HTTP basic auth server 2 on localhost: 83 responded ok Simulator HTTP basic auth server 3 on localhost: 84 responded ok Simulator HTTP basic auth server 4 on localhost: 85 responded ok Simulator HTTP JWT server 0 on localhost:32001 responded ok Simulator HTTP JWT server 1 on localhost:32002 responded ok Simulator HTTP JWT server 2 on localhost:32003 responded ok Simulator HTTP JWT server 3 on localhost:32004 responded ok Simulator HTTP JWT server 4 on localhost:32005 responded ok Simulator HTTPS basic auth server 0 on localhost: 444 responded ok Simulator HTTPS basic auth server 1 on localhost: 445 responded ok Simulator HTTPS basic auth server 2 on localhost: 446 responded ok Simulator HTTPS basic auth server 3 on localhost: 447 responded ok Simulator HTTPS basic auth server 4 on localhost: 448 responded ok Simulator HTTPS client certificate authentication server 0 on localhost:444 - no response Simulator HTTPS client certificate authentication server 1 on localhost:445 - no response Simulator HTTPS client certificate authentication server 2 on localhost:446 - no response Simulator HTTPS client certificate authentication server 3 on localhost:447 - no response Simulator HTTPS client certificate authentication server 4 on localhost:448 - no response Simulator HTTPS no auth server 0 on localhost:8081 responded ok Simulator HTTPS no auth server 1 on localhost:8082 responded ok Simulator HTTPS no auth server 2 on localhost:8083 responded ok Simulator HTTPS no auth server 3 on localhost:8084 responded ok Simulator HTTPS no auth server 4 on localhost:8085 responded ok Simulator HTTPS JWT server 0 on localhost:32101 responded ok Simulator HTTPS JWT server 1 on localhost:32102 responded ok Simulator HTTPS JWT server 2 on localhost:32103 responded ok Simulator HTTPS JWT server 3 on localhost:32104 responded ok Simulator HTTPS JWT server 4 on localhost:32105 responded ok Creating files for SFTP server, may take time.... Running ftp file creations. 1 PNFs and 1 files for each PNF with file size(s) 5MB and file prefixe(s) A in ftp servers with index 0 Creating files for HTTP server, may take time.... Running http file creations. 1 PNFs and 1 files for each PNF with file size(s) 5MB and file prefixe(s) A in http servers with index 0 Done: All simulators started and configured + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_http-https-server3 ... Creating dfc_sftp-server1 ... Creating dfc_http-https-server1 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_dr-redir-sim ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_sftp-server0 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_sftp-server4 ... Creating dfc_sftp-server2 ... Creating dfc_http-https-server2 ... Creating dfc_mr-sim ... Creating dfc_dr-sim ... Creating dfc_http-https-server0 ... Creating dfc_http-https-server4 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_sftp-server3 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_sftp-server4 ... done Creating dfc_sftp-server3 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_sftp-server1 ... done Creating dfc_dr-sim ... done Creating dfc_sftp-server0 ... done Creating dfc_sftp-server2 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_dr-redir-sim ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_mr-sim ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_http-https-server3 ... done Creating dfc_http-https-server1 ... done Creating dfc_http-https-server2 ... done Creating dfc_http-https-server4 ... done 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=408930e17665 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=d7c3b92b79ea ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=a16171668012 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=15c86d234d6a ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=f709ffc5721b ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=ce4f20bc957b ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=27e3ac09c684 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=acb3699c1af5 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=a72e88ee3635 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=abc3b949554e ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=f792e6144ac7 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=49569cc43fec ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=3b0f34ac8388 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=28c5d321932c ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=5b5679ea8ec5 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=b6d2a329f9a3 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=8b2b44ca72d8 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=03c1ff9159c1 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 408930e17665 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d7c3b92b79ea + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a16171668012 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 15c86d234d6a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f709ffc5721b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ce4f20bc957b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 27e3ac09c684 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' acb3699c1af5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a72e88ee3635 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' abc3b949554e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f792e6144ac7 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 49569cc43fec + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 3b0f34ac8388 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 28c5d321932c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5b5679ea8ec5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b6d2a329f9a3 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8b2b44ca72d8 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 03c1ff9159c1 + '[' 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 15c86d234d6a:/tmp/ + docker exec -w //home/onap/ 15c86d234d6a //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 28c5d321932c:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 28c5d321932c //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 - - [27/Nov/2023 17:09:30] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:09:30] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:10:24] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:11:20] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:11:30] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:11:40] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:11:50] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:12:00] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:12:10] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:12:20] "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-vsftpd4 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_sftp-server1 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_http-https-server3 ... Creating dfc_sftp-server4 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_mr-sim ... Creating dfc_sftp-server2 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_http-https-server2 ... Creating dfc_sftp-server3 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_sftp-server0 ... Creating dfc_dr-sim ... Creating dfc_http-https-server1 ... Creating dfc_http-https-server4 ... Creating dfc_dr-redir-sim ... Creating dfc_http-https-server0 ... Creating dfc_ftpes-server-vsftpd1 ... done Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server2 ... done Creating dfc_sftp-server4 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_http-https-server2 ... done Creating dfc_dr-sim ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_http-https-server0 ... done Creating dfc_sftp-server1 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_mr-sim ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_sftp-server3 ... done Creating dfc_sftp-server0 ... done Creating dfc_http-https-server3 ... done Creating dfc_dr-redir-sim ... 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=401298abdbcf ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=2be2fe5b843d ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=62d1a9e800c1 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=d9b45265fc85 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=b51b1eb9a510 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=44e56454f497 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=29dbcfd1ce5a ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=6e33245c9f32 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=e5b481e27268 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=d32af7618fa2 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=efff88257ce6 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=5aba53e41252 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=e5abcb271d0a ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=bbe6393fe8df ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=dd79db3b8aca ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=199890317c64 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=4baa1bd0ff02 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=5eef4df9ff92 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 401298abdbcf + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2be2fe5b843d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 62d1a9e800c1 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d9b45265fc85 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b51b1eb9a510 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 44e56454f497 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 29dbcfd1ce5a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6e33245c9f32 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e5b481e27268 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d32af7618fa2 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' efff88257ce6 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5aba53e41252 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e5abcb271d0a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' bbe6393fe8df + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' dd79db3b8aca + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 199890317c64 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4baa1bd0ff02 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5eef4df9ff92 + '[' 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 d9b45265fc85:/tmp/ + docker exec -w //home/onap/ d9b45265fc85 //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 bbe6393fe8df:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs bbe6393fe8df //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 - - [27/Nov/2023 17:12:49] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:12:49] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:13:43] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:14:39] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:14:49] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:14:59] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:15:09] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:15:19] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:15:29] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:15:39] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ Verify single event with single 1MB HTTPS (basic authentication) f... Simulator-start: Creating docker network dfcnet, if needed All simulators Started Simulator DR sim on localhost:3906/ responded ok Simulator DR redir sim on localhost:3908/ responded ok Simulator MR sim on localhost:2222/ responded ok Simulator DR sim https on https://localhost:3907/ responded ok Simulator DR redir sim https on https://localhost:3909/ responded ok Simulator MR sim https on https://localhost:2223/ responded ok Simulator FTPES server 0 on localhost:1032 responded ok Simulator FTPES server 1 on localhost:1033 responded ok Simulator FTPES server 2 on localhost:1034 responded ok Simulator FTPES server 3 on localhost:1035 responded ok Simulator FTPES server 4 on localhost:1036 responded ok Simulator SFTP server 0 on localhost:1022 responded ok Simulator SFTP server 1 on localhost:1023 responded ok Simulator SFTP server 2 on localhost:1024 responded ok Simulator SFTP server 3 on localhost:1025 responded ok Simulator SFTP server 4 on localhost:1026 responded ok Simulator HTTP basic auth server 0 on localhost: 81 responded ok Simulator HTTP basic auth server 1 on localhost: 82 responded ok Simulator HTTP basic auth server 2 on localhost: 83 responded ok Simulator HTTP basic auth server 3 on localhost: 84 responded ok Simulator HTTP basic auth server 4 on localhost: 85 responded ok Simulator HTTP JWT server 0 on localhost:32001 responded ok Simulator HTTP JWT server 1 on localhost:32002 responded ok Simulator HTTP JWT server 2 on localhost:32003 responded ok Simulator HTTP JWT server 3 on localhost:32004 responded ok Simulator HTTP JWT server 4 on localhost:32005 responded ok Simulator HTTPS basic auth server 0 on localhost: 444 responded ok Simulator HTTPS basic auth server 1 on localhost: 445 responded ok Simulator HTTPS basic auth server 2 on localhost: 446 responded ok Simulator HTTPS basic auth server 3 on localhost: 447 responded ok Simulator HTTPS basic auth server 4 on localhost: 448 responded ok Simulator HTTPS client certificate authentication server 0 on localhost:444 - no response Simulator HTTPS client certificate authentication server 1 on localhost:445 - no response Simulator HTTPS client certificate authentication server 2 on localhost:446 - no response Simulator HTTPS client certificate authentication server 3 on localhost:447 - no response Simulator HTTPS client certificate authentication server 4 on localhost:448 - no response Simulator HTTPS no auth server 0 on localhost:8081 responded ok Simulator HTTPS no auth server 1 on localhost:8082 responded ok Simulator HTTPS no auth server 2 on localhost:8083 responded ok Simulator HTTPS no auth server 3 on localhost:8084 responded ok Simulator HTTPS no auth server 4 on localhost:8085 responded ok Simulator HTTPS JWT server 0 on localhost:32101 responded ok Simulator HTTPS JWT server 1 on localhost:32102 responded ok Simulator HTTPS JWT server 2 on localhost:32103 responded ok Simulator HTTPS JWT server 3 on localhost:32104 responded ok Simulator HTTPS JWT server 4 on localhost:32105 responded ok Creating files for SFTP server, may take time.... Running ftp file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in ftp servers with index 0 Creating files for HTTP server, may take time.... Running http file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in http servers with index 0 Done: All simulators started and configured + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Creating dfc_sftp-server3 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_mr-sim ... Creating dfc_sftp-server1 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_http-https-server4 ... Creating dfc_http-https-server1 ... Creating dfc_sftp-server4 ... Creating dfc_sftp-server2 ... Creating dfc_http-https-server3 ... Creating dfc_dr-redir-sim ... Creating dfc_sftp-server0 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_http-https-server2 ... Creating dfc_http-https-server0 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_dr-sim ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_sftp-server3 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_sftp-server1 ... done Creating dfc_sftp-server2 ... done Creating dfc_dr-sim ... done Creating dfc_mr-sim ... done Creating dfc_dr-redir-sim ... done Creating dfc_sftp-server4 ... done Creating dfc_sftp-server0 ... done Creating dfc_http-https-server0 ... done Creating dfc_http-https-server2 ... done Creating dfc_http-https-server4 ... done Creating dfc_http-https-server3 ... done Creating dfc_http-https-server1 ... done ++ id -u ++ id -g + sudo chown 1001:1001 dfc_configs + declare -a SFTP_SIM + declare -a FTPES_SIM + declare -a HTTP_SIM ++ docker ps -q --filter=name=dfc_dr-sim + DR_SIM=aa146147c15d ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=a54fb02c2b8f ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=054903d43a51 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=e76fb991bc1c ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=5b27352b37c9 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=e863d43e4bbf ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=3be0cebc6ac2 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=9cee20d04202 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=b6323a2c38bc ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=23ad92eaa8cb ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=263d5604329d ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=4a32c945ebb6 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=e9c085e8ecac ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=e65960573740 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=ed54a118a9df ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=cd41181ab14e ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=8e388c562f06 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=20616b580bac + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' aa146147c15d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a54fb02c2b8f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 054903d43a51 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e76fb991bc1c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5b27352b37c9 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e863d43e4bbf + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 3be0cebc6ac2 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9cee20d04202 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b6323a2c38bc + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 23ad92eaa8cb + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 263d5604329d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4a32c945ebb6 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e9c085e8ecac + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e65960573740 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ed54a118a9df + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' cd41181ab14e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8e388c562f06 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 20616b580bac + '[' 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 e76fb991bc1c:/tmp/ + docker exec -w //home/onap/ e76fb991bc1c //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 e65960573740:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs e65960573740 //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 - - [27/Nov/2023 17:16:04] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:16:04] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:16:57] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:17:53] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:18:04] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:18:14] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:18:24] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:18:34] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:18:44] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:18:54] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: oom-certservice-post-processor Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ Verify single event with single 5MB HTTPS (basic authentication) f... Simulator-start: Creating docker network dfcnet, if needed All simulators Started Simulator DR sim on localhost:3906/ responded ok Simulator DR redir sim on localhost:3908/ responded ok Simulator MR sim on localhost:2222/ responded ok Simulator DR sim https on https://localhost:3907/ responded ok Simulator DR redir sim https on https://localhost:3909/ responded ok Simulator MR sim https on https://localhost:2223/ responded ok Simulator FTPES server 0 on localhost:1032 responded ok Simulator FTPES server 1 on localhost:1033 responded ok Simulator FTPES server 2 on localhost:1034 responded ok Simulator FTPES server 3 on localhost:1035 responded ok Simulator FTPES server 4 on localhost:1036 responded ok Simulator SFTP server 0 on localhost:1022 responded ok Simulator SFTP server 1 on localhost:1023 responded ok Simulator SFTP server 2 on localhost:1024 responded ok Simulator SFTP server 3 on localhost:1025 responded ok Simulator SFTP server 4 on localhost:1026 responded ok Simulator HTTP basic auth server 0 on localhost: 81 responded ok Simulator HTTP basic auth server 1 on localhost: 82 responded ok Simulator HTTP basic auth server 2 on localhost: 83 responded ok Simulator HTTP basic auth server 3 on localhost: 84 responded ok Simulator HTTP basic auth server 4 on localhost: 85 responded ok Simulator HTTP JWT server 0 on localhost:32001 responded ok Simulator HTTP JWT server 1 on localhost:32002 responded ok Simulator HTTP JWT server 2 on localhost:32003 responded ok Simulator HTTP JWT server 3 on localhost:32004 responded ok Simulator HTTP JWT server 4 on localhost:32005 responded ok Simulator HTTPS basic auth server 0 on localhost: 444 responded ok Simulator HTTPS basic auth server 1 on localhost: 445 responded ok Simulator HTTPS basic auth server 2 on localhost: 446 responded ok Simulator HTTPS basic auth server 3 on localhost: 447 responded ok Simulator HTTPS basic auth server 4 on localhost: 448 responded ok Simulator HTTPS client certificate authentication server 0 on localhost:444 - no response Simulator HTTPS client certificate authentication server 1 on localhost:445 - no response Simulator HTTPS client certificate authentication server 2 on localhost:446 - no response Simulator HTTPS client certificate authentication server 3 on localhost:447 - no response Simulator HTTPS client certificate authentication server 4 on localhost:448 - no response Simulator HTTPS no auth server 0 on localhost:8081 responded ok Simulator HTTPS no auth server 1 on localhost:8082 responded ok Simulator HTTPS no auth server 2 on localhost:8083 responded ok Simulator HTTPS no auth server 3 on localhost:8084 responded ok Simulator HTTPS no auth server 4 on localhost:8085 responded ok Simulator HTTPS JWT server 0 on localhost:32101 responded ok Simulator HTTPS JWT server 1 on localhost:32102 responded ok Simulator HTTPS JWT server 2 on localhost:32103 responded ok Simulator HTTPS JWT server 3 on localhost:32104 responded ok Simulator HTTPS JWT server 4 on localhost:32105 responded ok Creating files for SFTP server, may take time.... Running ftp file creations. 1 PNFs and 1 files for each PNF with file size(s) 5MB and file prefixe(s) A in ftp servers with index 0 Creating files for HTTP server, may take time.... Running http file creations. 1 PNFs and 1 files for each PNF with file size(s) 5MB and file prefixe(s) A in http servers with index 0 Done: All simulators started and configured + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Creating dfc_http-https-server1 ... Creating dfc_sftp-server4 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_ftpes-server-vsftpd0 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_dr-sim ... Creating dfc_sftp-server3 ... Creating dfc_http-https-server0 ... Creating dfc_http-https-server2 ... Creating dfc_sftp-server2 ... Creating dfc_http-https-server3 ... Creating dfc_sftp-server0 ... Creating dfc_dr-redir-sim ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_sftp-server1 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_http-https-server4 ... Creating dfc_mr-sim ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server3 ... done Creating dfc_sftp-server1 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_mr-sim ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_dr-sim ... done Creating dfc_sftp-server2 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_sftp-server0 ... done Creating dfc_dr-redir-sim ... done Creating dfc_sftp-server4 ... done Creating dfc_http-https-server0 ... done Creating dfc_http-https-server1 ... done Creating dfc_http-https-server3 ... done Creating dfc_http-https-server2 ... done Creating dfc_http-https-server4 ... done ++ id -u ++ id -g + sudo chown 1001:1001 dfc_configs + declare -a SFTP_SIM + declare -a FTPES_SIM + declare -a HTTP_SIM ++ docker ps -q --filter=name=dfc_dr-sim + DR_SIM=b7a68fa8f91b ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=fdc1857a2884 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=37afeaeb9b82 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=095775d3797f ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=fbb69de293ab ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=4ad9cc6a8ca1 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=995bd4c41f09 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=64589398f976 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=2047038a53fb ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=1c7ff9a2abb3 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=21a610b8bdaa ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=c969ef0c9d70 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=90bc0d1968c0 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=65293e393479 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=29ff612b8538 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=de96dd024d2d ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=a3a611df2f18 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=86540eb6f3a8 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' b7a68fa8f91b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' fdc1857a2884 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 37afeaeb9b82 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 095775d3797f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' fbb69de293ab + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4ad9cc6a8ca1 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 995bd4c41f09 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 64589398f976 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2047038a53fb + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1c7ff9a2abb3 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 21a610b8bdaa + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c969ef0c9d70 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 90bc0d1968c0 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 65293e393479 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 29ff612b8538 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' de96dd024d2d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a3a611df2f18 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 86540eb6f3a8 + '[' 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 095775d3797f:/tmp/ + docker exec -w //home/onap/ 095775d3797f //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 65293e393479:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 65293e393479 //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 - - [27/Nov/2023 17:19:23] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:19:23] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:20:16] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:21:12] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:21:22] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:21:32] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:21:42] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:21:52] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:22:02] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:22: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 ------------------------------------------------------------------------------ Verify single event with single 50MB HTTPS (basic authentication) ... Simulator-start: Creating docker network dfcnet, if needed All simulators Started Simulator DR sim on localhost:3906/ responded ok Simulator DR redir sim on localhost:3908/ responded ok Simulator MR sim on localhost:2222/ responded ok Simulator DR sim https on https://localhost:3907/ responded ok Simulator DR redir sim https on https://localhost:3909/ responded ok Simulator MR sim https on https://localhost:2223/ responded ok Simulator FTPES server 0 on localhost:1032 responded ok Simulator FTPES server 1 on localhost:1033 responded ok Simulator FTPES server 2 on localhost:1034 responded ok Simulator FTPES server 3 on localhost:1035 responded ok Simulator FTPES server 4 on localhost:1036 responded ok Simulator SFTP server 0 on localhost:1022 responded ok Simulator SFTP server 1 on localhost:1023 responded ok Simulator SFTP server 2 on localhost:1024 responded ok Simulator SFTP server 3 on localhost:1025 responded ok Simulator SFTP server 4 on localhost:1026 responded ok Simulator HTTP basic auth server 0 on localhost: 81 responded ok Simulator HTTP basic auth server 1 on localhost: 82 responded ok Simulator HTTP basic auth server 2 on localhost: 83 responded ok Simulator HTTP basic auth server 3 on localhost: 84 responded ok Simulator HTTP basic auth server 4 on localhost: 85 responded ok Simulator HTTP JWT server 0 on localhost:32001 responded ok Simulator HTTP JWT server 1 on localhost:32002 responded ok Simulator HTTP JWT server 2 on localhost:32003 responded ok Simulator HTTP JWT server 3 on localhost:32004 responded ok Simulator HTTP JWT server 4 on localhost:32005 responded ok Simulator HTTPS basic auth server 0 on localhost: 444 responded ok Simulator HTTPS basic auth server 1 on localhost: 445 responded ok Simulator HTTPS basic auth server 2 on localhost: 446 responded ok Simulator HTTPS basic auth server 3 on localhost: 447 responded ok Simulator HTTPS basic auth server 4 on localhost: 448 responded ok Simulator HTTPS client certificate authentication server 0 on localhost:444 - no response Simulator HTTPS client certificate authentication server 1 on localhost:445 - no response Simulator HTTPS client certificate authentication server 2 on localhost:446 - no response Simulator HTTPS client certificate authentication server 3 on localhost:447 - no response Simulator HTTPS client certificate authentication server 4 on localhost:448 - no response Simulator HTTPS no auth server 0 on localhost:8081 responded ok Simulator HTTPS no auth server 1 on localhost:8082 responded ok Simulator HTTPS no auth server 2 on localhost:8083 responded ok Simulator HTTPS no auth server 3 on localhost:8084 responded ok Simulator HTTPS no auth server 4 on localhost:8085 responded ok Simulator HTTPS JWT server 0 on localhost:32101 responded ok Simulator HTTPS JWT server 1 on localhost:32102 responded ok Simulator HTTPS JWT server 2 on localhost:32103 responded ok Simulator HTTPS JWT server 3 on localhost:32104 responded ok Simulator HTTPS JWT server 4 on localhost:32105 responded ok Creating files for SFTP server, may take time.... Running ftp file creations. 1 PNFs and 1 files for each PNF with file size(s) 50MB and file prefixe(s) A in ftp servers with index 0 Creating files for HTTP server, may take time.... Running http file creations. 1 PNFs and 1 files for each PNF with file size(s) 50MB and file prefixe(s) A in http servers with index 0 Done: All simulators started and configured + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_sftp-server3 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_mr-sim ... Starting dfc_cmpv2-postprocessor ... Creating dfc_sftp-server2 ... Creating dfc_http-https-server1 ... Creating dfc_sftp-server4 ... Creating dfc_http-https-server2 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_sftp-server0 ... Creating dfc_http-https-server0 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_dr-redir-sim ... Creating dfc_http-https-server4 ... Creating dfc_dr-sim ... Creating dfc_sftp-server1 ... Creating dfc_http-https-server3 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server3 ... done Creating dfc_mr-sim ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_sftp-server4 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_dr-redir-sim ... done Creating dfc_sftp-server2 ... done Creating dfc_dr-sim ... done Creating dfc_sftp-server1 ... done Creating dfc_sftp-server0 ... done Creating dfc_http-https-server1 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_http-https-server2 ... done Creating dfc_http-https-server3 ... done Creating dfc_http-https-server4 ... done Creating dfc_http-https-server0 ... done ++ id -u ++ id -g + sudo chown 1001:1001 dfc_configs + declare -a SFTP_SIM + declare -a FTPES_SIM + declare -a HTTP_SIM ++ docker ps -q --filter=name=dfc_dr-sim + DR_SIM=c6dfd495f72a ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=d8673c439b6d ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=8aae615bc4cd ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=822bedb5e575 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=07e36e1ae79d ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=f56fb369f0ea ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=54c74a4afa4a ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=35a6c7d082b0 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=f67331464b56 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=102a72f48524 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=6c4a512de3f1 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=63d8b86239be ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=ae5776f9882b ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=cf5f4395a0f2 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=710a86ab3fdc ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=33d515d0de6d ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=46097a965579 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=2431203f772b + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' c6dfd495f72a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d8673c439b6d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8aae615bc4cd + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 822bedb5e575 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 07e36e1ae79d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f56fb369f0ea + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 54c74a4afa4a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 35a6c7d082b0 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f67331464b56 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 102a72f48524 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6c4a512de3f1 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 63d8b86239be + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ae5776f9882b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' cf5f4395a0f2 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 710a86ab3fdc + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 33d515d0de6d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 46097a965579 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2431203f772b + '[' true ']' + echo 'All simulators Started' + break + '[' -z '' ']' + BASIC_AUTH_LOGIN=demo + '[' -z '' ']' + BASIC_AUTH_PASSWORD='demo123456!' + server_check 'DR sim ' 3906 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3906/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim ' on localhost:3906/ responded ok' + return + server_check 'DR redir sim ' 3908 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3908/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim ' on localhost:3908/ responded ok' + return + server_check 'MR sim ' 2222 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:2222/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim ' on localhost:2222/ responded ok' + return + server_check_https 'DR sim https ' 3907 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3907/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim https ' on https://localhost:3907/ responded ok' + return + server_check_https 'DR redir sim https' 3909 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3909/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim https ' on https://localhost:3909/ responded ok' + return + server_check_https 'MR sim https ' 2223 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:2223/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim https ' on https://localhost:2223/ responded ok' + return + ftpes_server_check 'FTPES server 0' 1032 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1032 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 0 ' on localhost:1032 responded ok' + return + ftpes_server_check 'FTPES server 1' 1033 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1033 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 1 ' on localhost:1033 responded ok' + return + ftpes_server_check 'FTPES server 2' 1034 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1034 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 2 ' on localhost:1034 responded ok' + return + ftpes_server_check 'FTPES server 3' 1035 + for i in {1..10} ++ grep vsFTPd ++ curl --silent --max-time 3 ftp://localhost:1035 --ftp-ssl -v -k + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 3 ' on localhost:1035 responded ok' + return + ftpes_server_check 'FTPES server 4' 1036 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1036 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 4 ' on localhost:1036 responded ok' + return + sftp_server_check 'SFTP server 0' 1022 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1022 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 0 ' on localhost:1022 responded ok' + return + sftp_server_check 'SFTP server 1' 1023 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1023 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 1 ' on localhost:1023 responded ok' + return + sftp_server_check 'SFTP server 2' 1024 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1024 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 2 ' on localhost:1024 responded ok' + return + sftp_server_check 'SFTP server 3' 1025 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1025 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 3 ' on localhost:1025 responded ok' + return + sftp_server_check 'SFTP server 4' 1026 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1026 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 4 ' on localhost:1026 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 0' 81 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:81' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 0' ' on localhost: 81 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 1' 82 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:82' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 1' ' on localhost: 82 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 2' 83 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:83' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 2' ' on localhost: 83 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 3' 84 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:84' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 3' ' on localhost: 84 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 4' 85 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:85' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 4' ' on localhost: 85 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 0' 32001 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32001 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 0 ' on localhost:32001 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 1' 32002 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32002 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 1 ' on localhost:32002 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 2' 32003 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32003 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 2 ' on localhost:32003 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 3' 32004 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32004 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 3 ' on localhost:32004 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 4' 32005 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32005 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 4 ' on localhost:32005 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 0' 444 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:444' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 0' ' on localhost: 444 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 1' 445 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:445' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 1' ' on localhost: 445 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 2' 446 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:446' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 2' ' on localhost: 446 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 3' 447 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:447' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 3' ' on localhost: 447 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 4' 448 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:448' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 4' ' on localhost: 448 responded ok' + return + http_https_server_check 'HTTPS client certificate authentication server 0' 444 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 0 ' on localhost:444 - no response' + http_https_server_check 'HTTPS client certificate authentication server 1' 445 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 1 ' on localhost:445 - no response' + http_https_server_check 'HTTPS client certificate authentication server 2' 446 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 2 ' on localhost:446 - no response' + http_https_server_check 'HTTPS client certificate authentication server 3' 447 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 3 ' on localhost:447 - no response' + http_https_server_check 'HTTPS client certificate authentication server 4' 448 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 4 ' on localhost:448 - no response' + http_https_server_check 'HTTPS no auth server 0' 8081 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8081 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 0 ' on localhost:8081 responded ok' + return + http_https_server_check 'HTTPS no auth server 1' 8082 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8082 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 1 ' on localhost:8082 responded ok' + return + http_https_server_check 'HTTPS no auth server 2' 8083 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8083 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 2 ' on localhost:8083 responded ok' + return + http_https_server_check 'HTTPS no auth server 3' 8084 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8084 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 3 ' on localhost:8084 responded ok' + return + http_https_server_check 'HTTPS no auth server 4' 8085 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8085 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 4 ' on localhost:8085 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 0' 32101 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32101 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 0 ' on localhost:32101 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 1' 32102 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32102 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 1 ' on localhost:32102 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 2' 32103 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32103 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 2 ' on localhost:32103 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 3' 32104 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32104 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 3 ' on localhost:32104 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 4' 32105 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32105 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 4 ' on localhost:32105 responded ok' + return + echo '' + '[' -z 1 ']' + '[' -z 1 ']' + '[' -z 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 822bedb5e575:/tmp/ + docker exec -w //home/onap/ 822bedb5e575 //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 cf5f4395a0f2:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs cf5f4395a0f2 //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 - - [27/Nov/2023 17:22:41] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:22:41] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:23:34] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:24:30] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:24:40] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:24:50] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:25:00] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:25:10] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:25:20] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:25:30] "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-server3 ... Creating dfc_http-https-server4 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_sftp-server3 ... Creating dfc_http-https-server0 ... Creating dfc_ftpes-server-vsftpd0 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_sftp-server2 ... Creating dfc_sftp-server4 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_dr-redir-sim ... Creating dfc_dr-sim ... Creating dfc_http-https-server1 ... Creating dfc_http-https-server2 ... Creating dfc_mr-sim ... Creating dfc_sftp-server1 ... Creating dfc_sftp-server0 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_sftp-server3 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_sftp-server2 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_http-https-server4 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_http-https-server3 ... done Creating dfc_mr-sim ... done Creating dfc_sftp-server0 ... done Creating dfc_dr-redir-sim ... done Creating dfc_dr-sim ... done Creating dfc_sftp-server4 ... done Creating dfc_sftp-server1 ... done Creating dfc_http-https-server0 ... done Creating dfc_http-https-server2 ... done Creating dfc_http-https-server1 ... done ++ id -u ++ id -g + sudo chown 1001:1001 dfc_configs + declare -a SFTP_SIM + declare -a FTPES_SIM + declare -a HTTP_SIM ++ docker ps -q --filter=name=dfc_dr-sim + DR_SIM=cd7d9657b49f ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=6606c2d6ebad ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=ae2c64900b95 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=e1ebae6c818a ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=58d87a64d168 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=16ba2aee45fb ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=c20f08087083 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=47f369ab6a0c ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=932595db920b ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=2c9d148319ae ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=43e087daa5c3 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=ce9eb51bfb92 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=4f787b49cdc3 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=152f5f5e38f0 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=0b4e7969c7ef ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=2bf68bd4f367 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=798f28a33cfb ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=a26df268f43e + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' cd7d9657b49f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6606c2d6ebad + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ae2c64900b95 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e1ebae6c818a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 58d87a64d168 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 16ba2aee45fb + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c20f08087083 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 47f369ab6a0c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 932595db920b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2c9d148319ae + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 43e087daa5c3 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ce9eb51bfb92 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4f787b49cdc3 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 152f5f5e38f0 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 0b4e7969c7ef + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2bf68bd4f367 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 798f28a33cfb + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a26df268f43e + '[' 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 e1ebae6c818a:/tmp/ + docker exec -w //home/onap/ e1ebae6c818a //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 152f5f5e38f0:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 152f5f5e38f0 //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 - - [27/Nov/2023 17:25:59] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:25:59] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:26:52] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:27:48] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:27:58] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:28:08] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:28:18] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:28:28] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:28:38] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:28: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 host unknown and strict h... Simulator-start: Creating docker network dfcnet, if needed All simulators Started Simulator DR sim on localhost:3906/ responded ok Simulator DR redir sim on localhost:3908/ responded ok Simulator MR sim on localhost:2222/ responded ok Simulator DR sim https on https://localhost:3907/ responded ok Simulator DR redir sim https on https://localhost:3909/ responded ok Simulator MR sim https on https://localhost:2223/ responded ok Simulator FTPES server 0 on localhost:1032 responded ok Simulator FTPES server 1 on localhost:1033 responded ok Simulator FTPES server 2 on localhost:1034 responded ok Simulator FTPES server 3 on localhost:1035 responded ok Simulator FTPES server 4 on localhost:1036 responded ok Simulator SFTP server 0 on localhost:1022 responded ok Simulator SFTP server 1 on localhost:1023 responded ok Simulator SFTP server 2 on localhost:1024 responded ok Simulator SFTP server 3 on localhost:1025 responded ok Simulator SFTP server 4 on localhost:1026 responded ok Simulator HTTP basic auth server 0 on localhost: 81 responded ok Simulator HTTP basic auth server 1 on localhost: 82 responded ok Simulator HTTP basic auth server 2 on localhost: 83 responded ok Simulator HTTP basic auth server 3 on localhost: 84 responded ok Simulator HTTP basic auth server 4 on localhost: 85 responded ok Simulator HTTP JWT server 0 on localhost:32001 responded ok Simulator HTTP JWT server 1 on localhost:32002 responded ok Simulator HTTP JWT server 2 on localhost:32003 responded ok Simulator HTTP JWT server 3 on localhost:32004 responded ok Simulator HTTP JWT server 4 on localhost:32005 responded ok Simulator HTTPS basic auth server 0 on localhost: 444 responded ok Simulator HTTPS basic auth server 1 on localhost: 445 responded ok Simulator HTTPS basic auth server 2 on localhost: 446 responded ok Simulator HTTPS basic auth server 3 on localhost: 447 responded ok Simulator HTTPS basic auth server 4 on localhost: 448 responded ok Simulator HTTPS client certificate authentication server 0 on localhost:444 - no response Simulator HTTPS client certificate authentication server 1 on localhost:445 - no response Simulator HTTPS client certificate authentication server 2 on localhost:446 - no response Simulator HTTPS client certificate authentication server 3 on localhost:447 - no response Simulator HTTPS client certificate authentication server 4 on localhost:448 - no response Simulator HTTPS no auth server 0 on localhost:8081 responded ok Simulator HTTPS no auth server 1 on localhost:8082 responded ok Simulator HTTPS no auth server 2 on localhost:8083 responded ok Simulator HTTPS no auth server 3 on localhost:8084 responded ok Simulator HTTPS no auth server 4 on localhost:8085 responded ok Simulator HTTPS JWT server 0 on localhost:32101 responded ok Simulator HTTPS JWT server 1 on localhost:32102 responded ok Simulator HTTPS JWT server 2 on localhost:32103 responded ok Simulator HTTPS JWT server 3 on localhost:32104 responded ok Simulator HTTPS JWT server 4 on localhost:32105 responded ok Creating files for SFTP server, may take time.... Running ftp file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in ftp servers with index 0 Creating files for HTTP server, may take time.... Running http file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in http servers with index 0 Done: All simulators started and configured + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Creating dfc_sftp-server1 ... Creating dfc_mr-sim ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_http-https-server2 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_http-https-server4 ... Creating dfc_dr-sim ... Creating dfc_sftp-server0 ... Creating dfc_http-https-server1 ... Creating dfc_dr-redir-sim ... Creating dfc_sftp-server3 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_http-https-server3 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_sftp-server4 ... Creating dfc_http-https-server0 ... Creating dfc_sftp-server2 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_ftpes-server-vsftpd1 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server1 ... done Creating dfc_mr-sim ... done Creating dfc_sftp-server2 ... done Creating dfc_sftp-server4 ... done Creating dfc_sftp-server0 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_sftp-server3 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_http-https-server2 ... done Creating dfc_dr-redir-sim ... done Creating dfc_dr-sim ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_http-https-server1 ... done Creating dfc_http-https-server4 ... 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=a1bfead847f5 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=c4ba2c4a4cf8 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=49e5c9bf179d ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=77fe419b1c39 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=69ecca5e5ec4 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=063e433f784f ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=a7410dd1ddf4 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=c4c4c32ab594 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=9990c480063c ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=a9556ba64446 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=e963b367dda1 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=609b2b2386b7 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=deca23f1faf7 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=9eae30410fb8 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=b657bffc889f ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=4a4fafa8c525 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=e43b861bd632 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=0ef3ff13525d + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' a1bfead847f5 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c4ba2c4a4cf8 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 49e5c9bf179d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 77fe419b1c39 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 69ecca5e5ec4 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 063e433f784f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a7410dd1ddf4 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c4c4c32ab594 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9990c480063c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a9556ba64446 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e963b367dda1 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 609b2b2386b7 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' deca23f1faf7 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9eae30410fb8 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b657bffc889f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 4a4fafa8c525 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e43b861bd632 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 0ef3ff13525d + '[' true ']' + echo 'All simulators Started' + break + '[' -z '' ']' + BASIC_AUTH_LOGIN=demo + '[' -z '' ']' + BASIC_AUTH_PASSWORD='demo123456!' + server_check 'DR sim ' 3906 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3906/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim ' on localhost:3906/ responded ok' + return + server_check 'DR redir sim ' 3908 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3908/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim ' on localhost:3908/ responded ok' + return + server_check 'MR sim ' 2222 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:2222/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim ' on localhost:2222/ responded ok' + return + server_check_https 'DR sim https ' 3907 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3907/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim https ' on https://localhost:3907/ responded ok' + return + server_check_https 'DR redir sim https' 3909 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3909/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim https ' on https://localhost:3909/ responded ok' + return + server_check_https 'MR sim https ' 2223 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:2223/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim https ' on https://localhost:2223/ responded ok' + return + ftpes_server_check 'FTPES server 0' 1032 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1032 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 0 ' on localhost:1032 responded ok' + return + ftpes_server_check 'FTPES server 1' 1033 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1033 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 1 ' on localhost:1033 responded ok' + return + ftpes_server_check 'FTPES server 2' 1034 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1034 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 2 ' on localhost:1034 responded ok' + return + ftpes_server_check 'FTPES server 3' 1035 + for i in {1..10} ++ grep vsFTPd ++ curl --silent --max-time 3 ftp://localhost:1035 --ftp-ssl -v -k + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 3 ' on localhost:1035 responded ok' + return + ftpes_server_check 'FTPES server 4' 1036 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1036 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 4 ' on localhost:1036 responded ok' + return + sftp_server_check 'SFTP server 0' 1022 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1022 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 0 ' on localhost:1022 responded ok' + return + sftp_server_check 'SFTP server 1' 1023 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1023 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 1 ' on localhost:1023 responded ok' + return + sftp_server_check 'SFTP server 2' 1024 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1024 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 2 ' on localhost:1024 responded ok' + return + sftp_server_check 'SFTP server 3' 1025 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1025 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 3 ' on localhost:1025 responded ok' + return + sftp_server_check 'SFTP server 4' 1026 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1026 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 4 ' on localhost:1026 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 0' 81 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:81' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 0' ' on localhost: 81 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 1' 82 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:82' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 1' ' on localhost: 82 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 2' 83 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:83' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 2' ' on localhost: 83 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 3' 84 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:84' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 3' ' on localhost: 84 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 4' 85 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:85' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 4' ' on localhost: 85 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 0' 32001 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32001 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 0 ' on localhost:32001 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 1' 32002 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32002 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 1 ' on localhost:32002 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 2' 32003 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32003 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 2 ' on localhost:32003 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 3' 32004 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32004 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 3 ' on localhost:32004 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 4' 32005 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32005 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 4 ' on localhost:32005 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 0' 444 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:444' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 0' ' on localhost: 444 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 1' 445 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:445' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 1' ' on localhost: 445 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 2' 446 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:446' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 2' ' on localhost: 446 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 3' 447 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:447' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 3' ' on localhost: 447 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 4' 448 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:448' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 4' ' on localhost: 448 responded ok' + return + http_https_server_check 'HTTPS client certificate authentication server 0' 444 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 0 ' on localhost:444 - no response' + http_https_server_check 'HTTPS client certificate authentication server 1' 445 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 1 ' on localhost:445 - no response' + http_https_server_check 'HTTPS client certificate authentication server 2' 446 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 2 ' on localhost:446 - no response' + http_https_server_check 'HTTPS client certificate authentication server 3' 447 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 3 ' on localhost:447 - no response' + http_https_server_check 'HTTPS client certificate authentication server 4' 448 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 4 ' on localhost:448 - no response' + http_https_server_check 'HTTPS no auth server 0' 8081 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8081 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 0 ' on localhost:8081 responded ok' + return + http_https_server_check 'HTTPS no auth server 1' 8082 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8082 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 1 ' on localhost:8082 responded ok' + return + http_https_server_check 'HTTPS no auth server 2' 8083 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8083 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 2 ' on localhost:8083 responded ok' + return + http_https_server_check 'HTTPS no auth server 3' 8084 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8084 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 3 ' on localhost:8084 responded ok' + return + http_https_server_check 'HTTPS no auth server 4' 8085 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8085 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 4 ' on localhost:8085 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 0' 32101 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32101 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 0 ' on localhost:32101 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 1' 32102 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32102 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 1 ' on localhost:32102 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 2' 32103 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32103 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 2 ' on localhost:32103 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 3' 32104 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32104 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 3 ' on localhost:32104 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 4' 32105 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32105 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 4 ' on localhost:32105 responded ok' + return + echo '' + '[' -z 1 ']' + '[' -z 1 ']' + '[' -z 1MB ']' + '[' -z SFTP ']' + '[' -z A ']' + '[' SFTP = ALL ']' + '[' SFTP = SFTP ']' + echo 'Creating files for SFTP server, may take time....' + p=0 + '[' 0 -lt 1 ']' + docker cp setup-ftp-files-for-image.sh 77fe419b1c39:/tmp/ + docker exec -w //home/onap/ 77fe419b1c39 //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 9eae30410fb8:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 9eae30410fb8 //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 - - [27/Nov/2023 17:29:16] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:29:16] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:30:09] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:31:05] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:31:15] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:31:25] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:31:35] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:31:45] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:31:55] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:32:05] "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_sftp-server4 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_http-https-server1 ... Creating dfc_mr-sim ... Starting dfc_cmpv2-postprocessor ... Creating dfc_http-https-server0 ... Creating dfc_dr-sim ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_sftp-server3 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_dr-redir-sim ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_sftp-server0 ... Creating dfc_http-https-server2 ... Creating dfc_http-https-server3 ... Creating dfc_sftp-server2 ... Creating dfc_http-https-server4 ... Creating dfc_sftp-server1 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_sftp-server4 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_sftp-server1 ... done Creating dfc_sftp-server0 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_sftp-server2 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_http-https-server1 ... done Creating dfc_dr-sim ... done Creating dfc_dr-redir-sim ... done Creating dfc_mr-sim ... done Creating dfc_sftp-server3 ... done Creating dfc_http-https-server2 ... done Creating dfc_http-https-server0 ... done Creating dfc_http-https-server3 ... done Creating dfc_http-https-server4 ... done ++ id -u ++ id -g + sudo chown 1001:1001 dfc_configs + declare -a SFTP_SIM + declare -a FTPES_SIM + declare -a HTTP_SIM ++ docker ps -q --filter=name=dfc_dr-sim + DR_SIM=6976c507152d ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=62ff6a7def7a ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=5fbb09527a85 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=c72dc0e29985 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=7868ab000046 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=1d7e50c2c340 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=e627af255b97 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=71cd50cb862e ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=9fc3030dc7b8 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=8726b9aa1230 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=be3ac60fd03d ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=de2ba9e81d75 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=dfa985037dee ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=1d0f4f057b8f ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=e31528592c30 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=dbe2d5a5a449 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=e0e5345d9f06 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=175bff892f91 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 6976c507152d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 62ff6a7def7a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5fbb09527a85 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c72dc0e29985 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7868ab000046 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1d7e50c2c340 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e627af255b97 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 71cd50cb862e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9fc3030dc7b8 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8726b9aa1230 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' be3ac60fd03d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' de2ba9e81d75 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' dfa985037dee + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1d0f4f057b8f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e31528592c30 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' dbe2d5a5a449 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e0e5345d9f06 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 175bff892f91 + '[' 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 c72dc0e29985:/tmp/ + docker exec -w //home/onap/ c72dc0e29985 //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 1d0f4f057b8f:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 1d0f4f057b8f //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 - - [27/Nov/2023 17:32:34] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:32:34] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:33:27] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:34:23] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:34:33] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:34:43] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:34:53] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:35:03] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:35:13] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:35:23] "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_ftpes-server-vsftpd3 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_dr-redir-sim ... Creating dfc_sftp-server4 ... Creating dfc_http-https-server3 ... Creating dfc_dr-sim ... Creating dfc_sftp-server3 ... Creating dfc_http-https-server2 ... Creating dfc_sftp-server2 ... Creating dfc_http-https-server0 ... Creating dfc_http-https-server4 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_sftp-server0 ... Creating dfc_sftp-server1 ... Creating dfc_mr-sim ... Creating dfc_ftpes-server-vsftpd4 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server2 ... done Creating dfc_http-https-server1 ... done Creating dfc_sftp-server0 ... done Creating dfc_http-https-server0 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_sftp-server1 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_sftp-server3 ... done Creating dfc_sftp-server4 ... done Creating dfc_dr-sim ... done Creating dfc_dr-redir-sim ... done Creating dfc_http-https-server3 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_http-https-server2 ... done Creating dfc_http-https-server4 ... done Creating dfc_mr-sim ... done ++ id -u ++ id -g + sudo chown 1001:1001 dfc_configs + declare -a SFTP_SIM + declare -a FTPES_SIM + declare -a HTTP_SIM ++ docker ps -q --filter=name=dfc_dr-sim + DR_SIM=a0e7a58578bd ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=23c68a41de3b ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=8d24f1e133eb ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=b5f192ef63fd ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=f4d9c09757ed ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=ddd5cd7b724e ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=799bb325cf79 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=7a1c470e4a6b ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=bb003cfcac03 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=57a2fac1e7db ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=1c60e7a92f47 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=b778813952be ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=f4fed37ea68b ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=7cb32ae2a1b7 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=f22b941b5f6a ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=19a5bd6e0cbd ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=96536c8efb21 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=6b70fd00062a + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' a0e7a58578bd + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 23c68a41de3b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8d24f1e133eb + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b5f192ef63fd + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f4d9c09757ed + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ddd5cd7b724e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 799bb325cf79 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7a1c470e4a6b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' bb003cfcac03 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 57a2fac1e7db + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1c60e7a92f47 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b778813952be + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f4fed37ea68b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7cb32ae2a1b7 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f22b941b5f6a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 19a5bd6e0cbd + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 96536c8efb21 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 6b70fd00062a + '[' true ']' + echo 'All simulators Started' + break + '[' -z '' ']' + BASIC_AUTH_LOGIN=demo + '[' -z '' ']' + BASIC_AUTH_PASSWORD='demo123456!' + server_check 'DR sim ' 3906 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3906/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim ' on localhost:3906/ responded ok' + return + server_check 'DR redir sim ' 3908 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3908/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim ' on localhost:3908/ responded ok' + return + server_check 'MR sim ' 2222 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:2222/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim ' on localhost:2222/ responded ok' + return + server_check_https 'DR sim https ' 3907 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3907/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim https ' on https://localhost:3907/ responded ok' + return + server_check_https 'DR redir sim https' 3909 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3909/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim https ' on https://localhost:3909/ responded ok' + return + server_check_https 'MR sim https ' 2223 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:2223/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim https ' on https://localhost:2223/ responded ok' + return + ftpes_server_check 'FTPES server 0' 1032 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1032 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 0 ' on localhost:1032 responded ok' + return + ftpes_server_check 'FTPES server 1' 1033 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1033 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 1 ' on localhost:1033 responded ok' + return + ftpes_server_check 'FTPES server 2' 1034 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1034 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 2 ' on localhost:1034 responded ok' + return + ftpes_server_check 'FTPES server 3' 1035 + for i in {1..10} ++ grep vsFTPd ++ curl --silent --max-time 3 ftp://localhost:1035 --ftp-ssl -v -k + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 3 ' on localhost:1035 responded ok' + return + ftpes_server_check 'FTPES server 4' 1036 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1036 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 4 ' on localhost:1036 responded ok' + return + sftp_server_check 'SFTP server 0' 1022 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1022 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 0 ' on localhost:1022 responded ok' + return + sftp_server_check 'SFTP server 1' 1023 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1023 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 1 ' on localhost:1023 responded ok' + return + sftp_server_check 'SFTP server 2' 1024 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1024 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 2 ' on localhost:1024 responded ok' + return + sftp_server_check 'SFTP server 3' 1025 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1025 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 3 ' on localhost:1025 responded ok' + return + sftp_server_check 'SFTP server 4' 1026 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1026 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 4 ' on localhost:1026 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 0' 81 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:81' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 0' ' on localhost: 81 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 1' 82 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:82' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 1' ' on localhost: 82 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 2' 83 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:83' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 2' ' on localhost: 83 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 3' 84 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:84' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 3' ' on localhost: 84 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 4' 85 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:85' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 4' ' on localhost: 85 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 0' 32001 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32001 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 0 ' on localhost:32001 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 1' 32002 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32002 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 1 ' on localhost:32002 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 2' 32003 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32003 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 2 ' on localhost:32003 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 3' 32004 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32004 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 3 ' on localhost:32004 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 4' 32005 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32005 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 4 ' on localhost:32005 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 0' 444 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:444' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 0' ' on localhost: 444 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 1' 445 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:445' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 1' ' on localhost: 445 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 2' 446 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:446' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 2' ' on localhost: 446 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 3' 447 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:447' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 3' ' on localhost: 447 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 4' 448 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:448' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 4' ' on localhost: 448 responded ok' + return + http_https_server_check 'HTTPS client certificate authentication server 0' 444 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 0 ' on localhost:444 - no response' + http_https_server_check 'HTTPS client certificate authentication server 1' 445 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 1 ' on localhost:445 - no response' + http_https_server_check 'HTTPS client certificate authentication server 2' 446 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 2 ' on localhost:446 - no response' + http_https_server_check 'HTTPS client certificate authentication server 3' 447 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 3 ' on localhost:447 - no response' + http_https_server_check 'HTTPS client certificate authentication server 4' 448 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 4 ' on localhost:448 - no response' + http_https_server_check 'HTTPS no auth server 0' 8081 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8081 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 0 ' on localhost:8081 responded ok' + return + http_https_server_check 'HTTPS no auth server 1' 8082 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8082 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 1 ' on localhost:8082 responded ok' + return + http_https_server_check 'HTTPS no auth server 2' 8083 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8083 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 2 ' on localhost:8083 responded ok' + return + http_https_server_check 'HTTPS no auth server 3' 8084 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8084 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 3 ' on localhost:8084 responded ok' + return + http_https_server_check 'HTTPS no auth server 4' 8085 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8085 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 4 ' on localhost:8085 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 0' 32101 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32101 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 0 ' on localhost:32101 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 1' 32102 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32102 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 1 ' on localhost:32102 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 2' 32103 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32103 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 2 ' on localhost:32103 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 3' 32104 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32104 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 3 ' on localhost:32104 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 4' 32105 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32105 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 4 ' on localhost:32105 responded ok' + return + echo '' + '[' -z 1 ']' + '[' -z 1 ']' + '[' -z 1MB ']' + '[' -z SFTP ']' + '[' -z A ']' + '[' SFTP = ALL ']' + '[' SFTP = SFTP ']' + echo 'Creating files for SFTP server, may take time....' + p=0 + '[' 0 -lt 1 ']' + docker cp setup-ftp-files-for-image.sh b5f192ef63fd:/tmp/ + docker exec -w //home/onap/ b5f192ef63fd //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 7cb32ae2a1b7:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 7cb32ae2a1b7 //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 - - [27/Nov/2023 17:35:50] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:35:50] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:36:44] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:37:40] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:37:50] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:38:00] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:38:10] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:38:20] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:38:30] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:38:40] "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-server3 ... Creating dfc_sftp-server2 ... Creating dfc_mr-sim ... Creating dfc_sftp-server0 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_http-https-server2 ... Creating dfc_http-https-server3 ... Creating dfc_sftp-server1 ... Creating dfc_http-https-server1 ... Creating dfc_dr-redir-sim ... Creating dfc_sftp-server4 ... Creating dfc_http-https-server0 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_http-https-server4 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_dr-sim ... Creating dfc_ftpes-server-vsftpd1 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server4 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_sftp-server0 ... done Creating dfc_sftp-server1 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_sftp-server3 ... done Creating dfc_dr-sim ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_sftp-server2 ... done Creating dfc_dr-redir-sim ... done Creating dfc_http-https-server3 ... done Creating dfc_mr-sim ... done Creating dfc_http-https-server1 ... done Creating dfc_http-https-server4 ... done Creating dfc_http-https-server0 ... done Creating dfc_http-https-server2 ... done ++ id -u ++ id -g + sudo chown 1001:1001 dfc_configs + declare -a SFTP_SIM + declare -a FTPES_SIM + declare -a HTTP_SIM ++ docker ps -q --filter=name=dfc_dr-sim + DR_SIM=3fe3fa1647a8 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=41f4becb4f65 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=10fa2378034a ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=1c87dd321e7f ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=f7eff727d883 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=61da043d83ea ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=73744bc351c6 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=5ce91f1918d1 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=cd7144b352f8 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=7abcefae4552 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=74a423ceff14 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=894d02ded37a ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=d1ed4e5b95af ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=bffa4391ee82 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=a6e02f441286 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=a6b1711d942f ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=ee57a6679876 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=e3adbaf44f5a + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 3fe3fa1647a8 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 41f4becb4f65 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 10fa2378034a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1c87dd321e7f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f7eff727d883 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 61da043d83ea + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 73744bc351c6 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5ce91f1918d1 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' cd7144b352f8 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7abcefae4552 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 74a423ceff14 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 894d02ded37a + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d1ed4e5b95af + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' bffa4391ee82 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a6e02f441286 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a6b1711d942f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ee57a6679876 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e3adbaf44f5a + '[' 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 1c87dd321e7f:/tmp/ + docker exec -w //home/onap/ 1c87dd321e7f //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 bffa4391ee82:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs bffa4391ee82 //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 - - [27/Nov/2023 17:39:08] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:39:08] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:40:01] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:40:57] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:41:07] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:41:17] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:41:27] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:41:37] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:41:47] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:41:57] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: oom-certservice-post-processor Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ Verify single event with single 1MB file HTTPS connection (client ... Simulator-start: Creating docker network dfcnet, if needed All simulators Started Simulator DR sim on localhost:3906/ responded ok Simulator DR redir sim on localhost:3908/ responded ok Simulator MR sim on localhost:2222/ responded ok Simulator DR sim https on https://localhost:3907/ responded ok Simulator DR redir sim https on https://localhost:3909/ responded ok Simulator MR sim https on https://localhost:2223/ responded ok Simulator FTPES server 0 on localhost:1032 responded ok Simulator FTPES server 1 on localhost:1033 responded ok Simulator FTPES server 2 on localhost:1034 responded ok Simulator FTPES server 3 on localhost:1035 responded ok Simulator FTPES server 4 on localhost:1036 responded ok Simulator SFTP server 0 on localhost:1022 responded ok Simulator SFTP server 1 on localhost:1023 responded ok Simulator SFTP server 2 on localhost:1024 responded ok Simulator SFTP server 3 on localhost:1025 responded ok Simulator SFTP server 4 on localhost:1026 responded ok Simulator HTTP basic auth server 0 on localhost: 81 responded ok Simulator HTTP basic auth server 1 on localhost: 82 responded ok Simulator HTTP basic auth server 2 on localhost: 83 responded ok Simulator HTTP basic auth server 3 on localhost: 84 responded ok Simulator HTTP basic auth server 4 on localhost: 85 responded ok Simulator HTTP JWT server 0 on localhost:32001 responded ok Simulator HTTP JWT server 1 on localhost:32002 responded ok Simulator HTTP JWT server 2 on localhost:32003 responded ok Simulator HTTP JWT server 3 on localhost:32004 responded ok Simulator HTTP JWT server 4 on localhost:32005 responded ok Simulator HTTPS basic auth server 0 on localhost: 444 responded ok Simulator HTTPS basic auth server 1 on localhost: 445 responded ok Simulator HTTPS basic auth server 2 on localhost: 446 responded ok Simulator HTTPS basic auth server 3 on localhost: 447 responded ok Simulator HTTPS basic auth server 4 on localhost: 448 responded ok Simulator HTTPS client certificate authentication server 0 on localhost:444 - no response Simulator HTTPS client certificate authentication server 1 on localhost:445 - no response Simulator HTTPS client certificate authentication server 2 on localhost:446 - no response Simulator HTTPS client certificate authentication server 3 on localhost:447 - no response Simulator HTTPS client certificate authentication server 4 on localhost:448 - no response Simulator HTTPS no auth server 0 on localhost:8081 responded ok Simulator HTTPS no auth server 1 on localhost:8082 responded ok Simulator HTTPS no auth server 2 on localhost:8083 responded ok Simulator HTTPS no auth server 3 on localhost:8084 responded ok Simulator HTTPS no auth server 4 on localhost:8085 responded ok Simulator HTTPS JWT server 0 on localhost:32101 responded ok Simulator HTTPS JWT server 1 on localhost:32102 responded ok Simulator HTTPS JWT server 2 on localhost:32103 responded ok Simulator HTTPS JWT server 3 on localhost:32104 responded ok Simulator HTTPS JWT server 4 on localhost:32105 responded ok Creating files for SFTP server, may take time.... Running ftp file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in ftp servers with index 0 Creating files for HTTP server, may take time.... Running http file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in http servers with index 0 Done: All simulators started and configured + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Creating dfc_sftp-server2 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_http-https-server1 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_sftp-server1 ... Creating dfc_http-https-server4 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_sftp-server3 ... Creating dfc_dr-sim ... Creating dfc_dr-redir-sim ... Creating dfc_mr-sim ... Creating dfc_sftp-server0 ... Creating dfc_http-https-server0 ... Creating dfc_http-https-server2 ... Creating dfc_sftp-server4 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_http-https-server3 ... Creating dfc_ftpes-server-vsftpd0 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server2 ... done Creating dfc_sftp-server0 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_sftp-server1 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_sftp-server4 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_dr-redir-sim ... done Creating dfc_sftp-server3 ... done Creating dfc_mr-sim ... done Creating dfc_dr-sim ... done Creating dfc_http-https-server1 ... 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 ++ 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=64aa395dc375 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=bbab8da54d96 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=48a4f6bbc11e ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=e44a42fcb075 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=65d00ac092f3 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=0f6336b7bcf2 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=1bb2e285d450 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=2a969f03bcbc ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=fed0b9ff7840 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=dc74e1c468bf ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=b21a078e29a6 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=f5a32377bf14 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=64e509bbdfd6 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=82196b87efcc ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=c14a0955ad7e ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=ec423624a06d ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=d460ae8e73a4 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=629eb6e95e30 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 64aa395dc375 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' bbab8da54d96 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 48a4f6bbc11e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e44a42fcb075 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 65d00ac092f3 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 0f6336b7bcf2 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1bb2e285d450 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2a969f03bcbc + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' fed0b9ff7840 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' dc74e1c468bf + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b21a078e29a6 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f5a32377bf14 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 64e509bbdfd6 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 82196b87efcc + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c14a0955ad7e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ec423624a06d + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' d460ae8e73a4 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 629eb6e95e30 + '[' 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 e44a42fcb075:/tmp/ + docker exec -w //home/onap/ e44a42fcb075 //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 82196b87efcc:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 82196b87efcc //tmp/setup-http-files-for-image.sh 1 1 1MB A 1 0 + let p=p+1 + '[' 1 -lt 1 ']' + echo 'Done: All simulators started and configured' APP configuration: dmaap.certificateConfig.keyCert: /opt/app/datafile/etc/cert/cert.p12 dmaap.certificateConfig.keyPasswordPath: /opt/app/datafile/etc/cert/p12.pass dmaap.certificateConfig.trustedCa: /opt/app/datafile/etc/cert/trust.jks dmaap.certificateConfig.trustedCaPasswordPath: /opt/app/datafile/etc/cert/trust.pass dmaap.certificateConfig.httpsHostnameVerify: false dmaap.security.trustStorePath: /opt/app/datafile/etc/cert/trust.jks dmaap.security.trustStorePasswordPath: /opt/app/datafile/etc/cert/trust.pass dmaap.security.keyStorePath: /opt/app/datafile/etc/cert/cert.jks dmaap.security.keyStorePasswordPath: /opt/app/datafile/etc/cert/jks.pass dmaap.security.enableDmaapCertAuth: "false" dmaap.dmaapConsumerConfiguration.consumerGroup: OpenDcae-c12 dmaap.dmaapConsumerConfiguration.consumerId: C12 dmaap.dmaapConsumerConfiguration.timeoutMs: -1 sftp.security.strictHostKeyChecking: "true" streams_publishes: PM_MEAS_FILES: type: data_router dmaap_info: username: user log_url: https://drsim:3907/feedlog/2 publish_url: https://drsim:3907/publish/2 location: loc00 password: password publisher_id: 972.360gm streams_subscribes: dmaap_subscriber: dmaap_info: topic_url: http://mrsim:2222/events/unauthenticated.VES_NOTIFICATION_OUTPUT type: message_router Dfc-start: Creating docker network dfcnet, if needed sleep 1 sleep 2 sleep 3 sleep 4 sleep 5 sleep 6 sleep 7 sleep 8 sleep 9 sleep 10 + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + docker-compose up -d Pulling dfc (nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest)... manifest for nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest not found: manifest unknown: manifest unknown ++ docker ps -q --filter=name=dfc_app0 + DFC_APP= + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 1 + sleep 1 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 2 + sleep 2 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 3 + sleep 3 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 4 + sleep 4 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 5 + sleep 5 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 6 + sleep 6 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 7 + sleep 7 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 8 + sleep 8 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 9 + sleep 9 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 10 + sleep 10 Configured sftp sims: sftp-server0:22 Configured ftpes sims: ftpes-server-vsftpd0:21 Configured http sims: http-https-server0:80 Configured http JWT sims: http-https-server0:32000 Configured https sims: http-https-server0:443 Configured https with no authorization sims: http-https-server0:8080 Configured https JWT sims: http-https-server0:32100 Configured number of ftp servers: 1 Configured number of http/https/https with no auth/JWT servers: 1 each Groups detected: OpenDcae-c12:PM_MEAS_FILES Configured groups: OpenDcae-c12:PM_MEAS_FILES Configured changeid to file prefix mapping: PM_MEAS_FILES:A TC num: TC# 403 Using sftp-server0:22 for sftp server with index 0 for sftp server address and port in file urls. Using ftpes-server-vsftpd0:21 for ftpes server with index 0 for ftpes server address and port in file urls. Using http-https-server0:80 for http server with index 0 for http server address and port in file urls. Using http-https-server0:32000 for http jwt server with index 0 for http jwt server address and port in file urls. Using http-https-server0:443 for https server with index 0 for https server address and port in file urls. Using http-https-server0:8080 for https server with no authentication with index 0 for https server address and port in file urls. Using http-https-server0:32100 for https jwt server with index 0 for https jwt server address and port in file urls. Using up to 1 ftp servers, for each protocol for PNFs. Using up to 1 http/https/https with no auth/jwt servers, for each protocol for PNFs. * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off Killing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 Removing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 done * Running on http://0.0.0.0:2222/ (Press CTRL+C to quit) * Running on https://0.0.0.0:2223/ (Press CTRL+C to quit) 172.17.0.1 - - [27/Nov/2023 17:42:25] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:42:25] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:43:18] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:44:15] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:44:25] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:44:35] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:44:45] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:44:55] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:45:05] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:45:15] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: oom-certservice-post-processor Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ Verify single event with single 1MB file HTTPS (no authentication)... Simulator-start: Creating docker network dfcnet, if needed All simulators Started Simulator DR sim on localhost:3906/ responded ok Simulator DR redir sim on localhost:3908/ responded ok Simulator MR sim on localhost:2222/ responded ok Simulator DR sim https on https://localhost:3907/ responded ok Simulator DR redir sim https on https://localhost:3909/ responded ok Simulator MR sim https on https://localhost:2223/ responded ok Simulator FTPES server 0 on localhost:1032 responded ok Simulator FTPES server 1 on localhost:1033 responded ok Simulator FTPES server 2 on localhost:1034 responded ok Simulator FTPES server 3 on localhost:1035 responded ok Simulator FTPES server 4 on localhost:1036 responded ok Simulator SFTP server 0 on localhost:1022 responded ok Simulator SFTP server 1 on localhost:1023 responded ok Simulator SFTP server 2 on localhost:1024 responded ok Simulator SFTP server 3 on localhost:1025 responded ok Simulator SFTP server 4 on localhost:1026 responded ok Simulator HTTP basic auth server 0 on localhost: 81 responded ok Simulator HTTP basic auth server 1 on localhost: 82 responded ok Simulator HTTP basic auth server 2 on localhost: 83 responded ok Simulator HTTP basic auth server 3 on localhost: 84 responded ok Simulator HTTP basic auth server 4 on localhost: 85 responded ok Simulator HTTP JWT server 0 on localhost:32001 responded ok Simulator HTTP JWT server 1 on localhost:32002 responded ok Simulator HTTP JWT server 2 on localhost:32003 responded ok Simulator HTTP JWT server 3 on localhost:32004 responded ok Simulator HTTP JWT server 4 on localhost:32005 responded ok Simulator HTTPS basic auth server 0 on localhost: 444 responded ok Simulator HTTPS basic auth server 1 on localhost: 445 responded ok Simulator HTTPS basic auth server 2 on localhost: 446 responded ok Simulator HTTPS basic auth server 3 on localhost: 447 responded ok Simulator HTTPS basic auth server 4 on localhost: 448 responded ok Simulator HTTPS client certificate authentication server 0 on localhost:444 - no response Simulator HTTPS client certificate authentication server 1 on localhost:445 - no response Simulator HTTPS client certificate authentication server 2 on localhost:446 - no response Simulator HTTPS client certificate authentication server 3 on localhost:447 - no response Simulator HTTPS client certificate authentication server 4 on localhost:448 - no response Simulator HTTPS no auth server 0 on localhost:8081 responded ok Simulator HTTPS no auth server 1 on localhost:8082 responded ok Simulator HTTPS no auth server 2 on localhost:8083 responded ok Simulator HTTPS no auth server 3 on localhost:8084 responded ok Simulator HTTPS no auth server 4 on localhost:8085 responded ok Simulator HTTPS JWT server 0 on localhost:32101 responded ok Simulator HTTPS JWT server 1 on localhost:32102 responded ok Simulator HTTPS JWT server 2 on localhost:32103 responded ok Simulator HTTPS JWT server 3 on localhost:32104 responded ok Simulator HTTPS JWT server 4 on localhost:32105 responded ok Creating files for SFTP server, may take time.... Running ftp file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in ftp servers with index 0 Creating files for HTTP server, may take time.... Running http file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in http servers with index 0 Done: All simulators started and configured + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Creating dfc_http-https-server1 ... Creating dfc_sftp-server3 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_dr-redir-sim ... Starting dfc_cmpv2-postprocessor ... Creating dfc_sftp-server4 ... Creating dfc_http-https-server0 ... Creating dfc_http-https-server3 ... Creating dfc_http-https-server2 ... Creating dfc_sftp-server2 ... Creating dfc_dr-sim ... Creating dfc_sftp-server0 ... Creating dfc_mr-sim ... Creating dfc_sftp-server1 ... Creating dfc_http-https-server4 ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_ftpes-server-vsftpd0 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_sftp-server1 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_sftp-server0 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_sftp-server4 ... done Creating dfc_sftp-server3 ... done Creating dfc_dr-sim ... done Creating dfc_mr-sim ... done Creating dfc_dr-redir-sim ... done Creating dfc_sftp-server2 ... done Creating dfc_http-https-server0 ... done Creating dfc_http-https-server3 ... done Creating dfc_http-https-server1 ... done Creating dfc_http-https-server4 ... done 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=9ecaf54bbdda ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=bd5bebfc073f ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=266a4aa4c060 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=e53313413503 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=9d8dcfceec86 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=539c84b6db08 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=61add24faac4 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=bd279166cd82 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=ce2312880b47 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=8d975928fdc9 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=a450568a6777 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=c26250089b3f ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=e7cd3a78e787 ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=a9962c64ba47 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=fc6194900125 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=87777d48c6a0 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=b55cf027e195 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=2d86c7d2ff3f + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 9ecaf54bbdda + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' bd5bebfc073f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 266a4aa4c060 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e53313413503 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 9d8dcfceec86 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 539c84b6db08 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 61add24faac4 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' bd279166cd82 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ce2312880b47 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8d975928fdc9 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a450568a6777 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c26250089b3f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' e7cd3a78e787 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a9962c64ba47 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' fc6194900125 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 87777d48c6a0 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b55cf027e195 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2d86c7d2ff3f + '[' 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 e53313413503:/tmp/ + docker exec -w //home/onap/ e53313413503 //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 a9962c64ba47:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs a9962c64ba47 //tmp/setup-http-files-for-image.sh 1 1 1MB A 1 0 + let p=p+1 + '[' 1 -lt 1 ']' + echo 'Done: All simulators started and configured' APP configuration: dmaap.certificateConfig.keyCert: /opt/app/datafile/etc/cert/cert.p12 dmaap.certificateConfig.keyPasswordPath: /opt/app/datafile/etc/cert/p12.pass dmaap.certificateConfig.trustedCa: /opt/app/datafile/etc/cert/trust.jks dmaap.certificateConfig.trustedCaPasswordPath: /opt/app/datafile/etc/cert/trust.pass dmaap.certificateConfig.httpsHostnameVerify: false dmaap.security.trustStorePath: /opt/app/datafile/etc/cert/trust.jks dmaap.security.trustStorePasswordPath: /opt/app/datafile/etc/cert/trust.pass dmaap.security.keyStorePath: /opt/app/datafile/etc/cert/cert.jks dmaap.security.keyStorePasswordPath: /opt/app/datafile/etc/cert/jks.pass dmaap.security.enableDmaapCertAuth: "false" dmaap.dmaapConsumerConfiguration.consumerGroup: OpenDcae-c12 dmaap.dmaapConsumerConfiguration.consumerId: C12 dmaap.dmaapConsumerConfiguration.timeoutMs: -1 sftp.security.strictHostKeyChecking: "true" streams_publishes: PM_MEAS_FILES: type: data_router dmaap_info: username: user log_url: https://drsim:3907/feedlog/2 publish_url: https://drsim:3907/publish/2 location: loc00 password: password publisher_id: 972.360gm streams_subscribes: dmaap_subscriber: dmaap_info: topic_url: http://mrsim:2222/events/unauthenticated.VES_NOTIFICATION_OUTPUT type: message_router Dfc-start: Creating docker network dfcnet, if needed sleep 1 sleep 2 sleep 3 sleep 4 sleep 5 sleep 6 sleep 7 sleep 8 sleep 9 sleep 10 + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + docker-compose up -d Pulling dfc (nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest)... manifest for nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest not found: manifest unknown: manifest unknown ++ docker ps -q --filter=name=dfc_app0 + DFC_APP= + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 1 + sleep 1 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 2 + sleep 2 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 3 + sleep 3 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 4 + sleep 4 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 5 + sleep 5 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 6 + sleep 6 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 7 + sleep 7 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 8 + sleep 8 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 9 + sleep 9 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' "docker inspect" requires at least 1 argument. See 'docker inspect --help'. Usage: docker inspect [OPTIONS] NAME|ID [NAME|ID...] Return low-level information on Docker objects + '[' ']' + echo sleep 10 + sleep 10 Configured sftp sims: sftp-server0:22 Configured ftpes sims: ftpes-server-vsftpd0:21 Configured http sims: http-https-server0:80 Configured http JWT sims: http-https-server0:32000 Configured https sims: http-https-server0:443 Configured https with no authorization sims: http-https-server0:8080 Configured https JWT sims: http-https-server0:32100 Configured number of ftp servers: 1 Configured number of http/https/https with no auth/JWT servers: 1 each Groups detected: OpenDcae-c12:PM_MEAS_FILES Configured groups: OpenDcae-c12:PM_MEAS_FILES Configured changeid to file prefix mapping: PM_MEAS_FILES:A TC num: TC# 404 Using sftp-server0:22 for sftp server with index 0 for sftp server address and port in file urls. Using ftpes-server-vsftpd0:21 for ftpes server with index 0 for ftpes server address and port in file urls. Using http-https-server0:80 for http server with index 0 for http server address and port in file urls. Using http-https-server0:32000 for http jwt server with index 0 for http jwt server address and port in file urls. Using http-https-server0:443 for https server with index 0 for https server address and port in file urls. Using http-https-server0:8080 for https server with no authentication with index 0 for https server address and port in file urls. Using http-https-server0:32100 for https jwt server with index 0 for https jwt server address and port in file urls. Using up to 1 ftp servers, for each protocol for PNFs. Using up to 1 http/https/https with no auth/jwt servers, for each protocol for PNFs. * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off * Serving Flask app "mr-sim" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off Killing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 Removing simulator containers dfc_dr-sim dfc_dr-redir-sim dfc_mr-sim dfc_sftp-server0 dfc_sftp-server1 dfc_sftp-server2 dfc_sftp-server3 dfc_sftp-server4 dfc_ftpes-server-vsftpd0 dfc_ftpes-server-vsftpd1 dfc_ftpes-server-vsftpd2 dfc_ftpes-server-vsftpd3 dfc_ftpes-server-vsftpd4 dfc_http-https-server0 dfc_http-https-server1 dfc_http-https-server2 dfc_http-https-server3 dfc_http-https-server4 done * Running on http://0.0.0.0:2222/ (Press CTRL+C to quit) * Running on https://0.0.0.0:2223/ (Press CTRL+C to quit) 172.17.0.1 - - [27/Nov/2023 17:45:43] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:45:43] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:46:36] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:47:32] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:47:42] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:47:52] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:48:02] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:48:12] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:48:22] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:48:32] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: oom-certservice-post-processor Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ Verify single event with single 1MB file with HTTP JWT. From event... Simulator-start: Creating docker network dfcnet, if needed All simulators Started Simulator DR sim on localhost:3906/ responded ok Simulator DR redir sim on localhost:3908/ responded ok Simulator MR sim on localhost:2222/ responded ok Simulator DR sim https on https://localhost:3907/ responded ok Simulator DR redir sim https on https://localhost:3909/ responded ok Simulator MR sim https on https://localhost:2223/ responded ok Simulator FTPES server 0 on localhost:1032 responded ok Simulator FTPES server 1 on localhost:1033 responded ok Simulator FTPES server 2 on localhost:1034 responded ok Simulator FTPES server 3 on localhost:1035 responded ok Simulator FTPES server 4 on localhost:1036 responded ok Simulator SFTP server 0 on localhost:1022 responded ok Simulator SFTP server 1 on localhost:1023 responded ok Simulator SFTP server 2 on localhost:1024 responded ok Simulator SFTP server 3 on localhost:1025 responded ok Simulator SFTP server 4 on localhost:1026 responded ok Simulator HTTP basic auth server 0 on localhost: 81 responded ok Simulator HTTP basic auth server 1 on localhost: 82 responded ok Simulator HTTP basic auth server 2 on localhost: 83 responded ok Simulator HTTP basic auth server 3 on localhost: 84 responded ok Simulator HTTP basic auth server 4 on localhost: 85 responded ok Simulator HTTP JWT server 0 on localhost:32001 responded ok Simulator HTTP JWT server 1 on localhost:32002 responded ok Simulator HTTP JWT server 2 on localhost:32003 responded ok Simulator HTTP JWT server 3 on localhost:32004 responded ok Simulator HTTP JWT server 4 on localhost:32005 responded ok Simulator HTTPS basic auth server 0 on localhost: 444 responded ok Simulator HTTPS basic auth server 1 on localhost: 445 responded ok Simulator HTTPS basic auth server 2 on localhost: 446 responded ok Simulator HTTPS basic auth server 3 on localhost: 447 responded ok Simulator HTTPS basic auth server 4 on localhost: 448 responded ok Simulator HTTPS client certificate authentication server 0 on localhost:444 - no response Simulator HTTPS client certificate authentication server 1 on localhost:445 - no response Simulator HTTPS client certificate authentication server 2 on localhost:446 - no response Simulator HTTPS client certificate authentication server 3 on localhost:447 - no response Simulator HTTPS client certificate authentication server 4 on localhost:448 - no response Simulator HTTPS no auth server 0 on localhost:8081 responded ok Simulator HTTPS no auth server 1 on localhost:8082 responded ok Simulator HTTPS no auth server 2 on localhost:8083 responded ok Simulator HTTPS no auth server 3 on localhost:8084 responded ok Simulator HTTPS no auth server 4 on localhost:8085 responded ok Simulator HTTPS JWT server 0 on localhost:32101 responded ok Simulator HTTPS JWT server 1 on localhost:32102 responded ok Simulator HTTPS JWT server 2 on localhost:32103 responded ok Simulator HTTPS JWT server 3 on localhost:32104 responded ok Simulator HTTPS JWT server 4 on localhost:32105 responded ok Creating files for SFTP server, may take time.... Running ftp file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in ftp servers with index 0 Creating files for HTTP server, may take time.... Running http file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in http servers with index 0 Done: All simulators started and configured + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Creating dfc_http-https-server4 ... Creating dfc_ftpes-server-vsftpd3 ... Creating dfc_mr-sim ... Starting dfc_cmpv2-postprocessor ... Creating dfc_dr-redir-sim ... Creating dfc_sftp-server2 ... Creating dfc_http-https-server3 ... Creating dfc_sftp-server3 ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_http-https-server2 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_sftp-server4 ... Creating dfc_dr-sim ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_http-https-server0 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_sftp-server0 ... Creating dfc_http-https-server1 ... Creating dfc_sftp-server1 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_http-https-server0 ... done Creating dfc_sftp-server2 ... done Creating dfc_sftp-server4 ... done Creating dfc_sftp-server3 ... done Creating dfc_sftp-server1 ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_mr-sim ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_sftp-server0 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_http-https-server1 ... done Creating dfc_http-https-server3 ... done Creating dfc_http-https-server2 ... done Creating dfc_dr-redir-sim ... done Creating dfc_http-https-server4 ... done Creating dfc_dr-sim ... done ++ id -u ++ id -g + sudo chown 1001:1001 dfc_configs + declare -a SFTP_SIM + declare -a FTPES_SIM + declare -a HTTP_SIM ++ docker ps -q --filter=name=dfc_dr-sim + DR_SIM=60b7d5ade5f0 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=b296a6a75562 ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=1dde1ebce08c ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=ea12a27c5298 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=7428541c514f ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=1ed6792da27c ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=dbace699bbdf ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=2e8e3003f63f ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=fd658df88e18 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=a481a992957b ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=a3d625dc7933 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=053e031889a3 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=f132e479d0fa ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=8587816ef6c3 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=002c4e8ed37f ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=f99686194ec2 ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=90dcd39a6d32 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=abf7c4295a0b + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 60b7d5ade5f0 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' b296a6a75562 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1dde1ebce08c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ea12a27c5298 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 7428541c514f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 1ed6792da27c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' dbace699bbdf + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2e8e3003f63f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' fd658df88e18 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a481a992957b + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' a3d625dc7933 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 053e031889a3 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f132e479d0fa + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 8587816ef6c3 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 002c4e8ed37f + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' f99686194ec2 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 90dcd39a6d32 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' abf7c4295a0b + '[' true ']' + echo 'All simulators Started' + break + '[' -z '' ']' + BASIC_AUTH_LOGIN=demo + '[' -z '' ']' + BASIC_AUTH_PASSWORD='demo123456!' + server_check 'DR sim ' 3906 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3906/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim ' on localhost:3906/ responded ok' + return + server_check 'DR redir sim ' 3908 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:3908/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim ' on localhost:3908/ responded ok' + return + server_check 'MR sim ' 2222 / + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' localhost:2222/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim ' on localhost:2222/ responded ok' + return + server_check_https 'DR sim https ' 3907 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3907/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR sim https ' on https://localhost:3907/ responded ok' + return + server_check_https 'DR redir sim https' 3909 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:3909/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' DR redir sim https ' on https://localhost:3909/ responded ok' + return + server_check_https 'MR sim https ' 2223 / + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:2223/ + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' MR sim https ' on https://localhost:2223/ responded ok' + return + ftpes_server_check 'FTPES server 0' 1032 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1032 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 0 ' on localhost:1032 responded ok' + return + ftpes_server_check 'FTPES server 1' 1033 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1033 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 1 ' on localhost:1033 responded ok' + return + ftpes_server_check 'FTPES server 2' 1034 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1034 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 2 ' on localhost:1034 responded ok' + return + ftpes_server_check 'FTPES server 3' 1035 + for i in {1..10} ++ grep vsFTPd ++ curl --silent --max-time 3 ftp://localhost:1035 --ftp-ssl -v -k + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 3 ' on localhost:1035 responded ok' + return + ftpes_server_check 'FTPES server 4' 1036 + for i in {1..10} ++ curl --silent --max-time 3 ftp://localhost:1036 --ftp-ssl -v -k ++ grep vsFTPd + res='< 220 (vsFTPd 3.0.3) ' + '[' -z '< 220 (vsFTPd 3.0.3) ' ']' + echo 'Simulator ' FTPES server 4 ' on localhost:1036 responded ok' + return + sftp_server_check 'SFTP server 0' 1022 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1022 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 0 ' on localhost:1022 responded ok' + return + sftp_server_check 'SFTP server 1' 1023 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1023 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 1 ' on localhost:1023 responded ok' + return + sftp_server_check 'SFTP server 2' 1024 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1024 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 2 ' on localhost:1024 responded ok' + return + sftp_server_check 'SFTP server 3' 1025 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1025 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 3 ' on localhost:1025 responded ok' + return + sftp_server_check 'SFTP server 4' 1026 + for i in {1..10} ++ curl --silent --max-time 3 localhost:1026 ++ grep OpenSSH + res=$'SSH-2.0-OpenSSH_7.5\r' + '[' -z $'SSH-2.0-OpenSSH_7.5\r' ']' + echo 'Simulator ' SFTP server 4 ' on localhost:1026 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 0' 81 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:81' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 0' ' on localhost: 81 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 1' 82 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:82' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 1' ' on localhost: 82 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 2' 83 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:83' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 2' ' on localhost: 83 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 3' 84 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:84' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 3' ' on localhost: 84 responded ok' + return + http_https_basic_server_check 'HTTP basic auth server 4' 85 http + for i in {1..10} ++ curl -s -o /dev/null -w '%{http_code}' 'http://demo:demo123456!@localhost:85' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTP basic auth server 4' ' on localhost: 85 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 0' 32001 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32001 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 0 ' on localhost:32001 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 1' 32002 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32002 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 1 ' on localhost:32002 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 2' 32003 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32003 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 2 ' on localhost:32003 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 3' 32004 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32004 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 3 ' on localhost:32004 responded ok' + return + http_https_jwt_server_check 'HTTP JWT server 4' 32005 http + for i in {1..10} ++ curl -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' http://localhost:32005 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTP JWT server 4 ' on localhost:32005 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 0' 444 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:444' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 0' ' on localhost: 444 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 1' 445 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:445' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 1' ' on localhost: 445 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 2' 446 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:446' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 2' ' on localhost: 446 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 3' 447 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:447' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 3' ' on localhost: 447 responded ok' + return + http_https_basic_server_check 'HTTPS basic auth server 4' 448 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' 'https://demo:demo123456!@localhost:448' + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' 'HTTPS basic auth server 4' ' on localhost: 448 responded ok' + return + http_https_server_check 'HTTPS client certificate authentication server 0' 444 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:444 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 0 ' on localhost:444 - no response' + http_https_server_check 'HTTPS client certificate authentication server 1' 445 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:445 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 1 ' on localhost:445 - no response' + http_https_server_check 'HTTPS client certificate authentication server 2' 446 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:446 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 2 ' on localhost:446 - no response' + http_https_server_check 'HTTPS client certificate authentication server 3' 447 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:447 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 3 ' on localhost:447 - no response' + http_https_server_check 'HTTPS client certificate authentication server 4' 448 https '-k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem' + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + for i in {1..10} ++ curl -k --cert ../certservice/generated-certs/apache-pem/keystore.pem --key ../certservice/generated-certs/apache-pem/key.pem -s -o /dev/null -w '%{http_code}' https://localhost:448 + res=000 + '[' 000 -gt 199 ']' + sleep 1 + echo 'Simulator ' HTTPS client certificate authentication server 4 ' on localhost:448 - no response' + http_https_server_check 'HTTPS no auth server 0' 8081 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8081 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 0 ' on localhost:8081 responded ok' + return + http_https_server_check 'HTTPS no auth server 1' 8082 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8082 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 1 ' on localhost:8082 responded ok' + return + http_https_server_check 'HTTPS no auth server 2' 8083 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8083 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 2 ' on localhost:8083 responded ok' + return + http_https_server_check 'HTTPS no auth server 3' 8084 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8084 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 3 ' on localhost:8084 responded ok' + return + http_https_server_check 'HTTPS no auth server 4' 8085 https -k + for i in {1..10} ++ curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8085 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS no auth server 4 ' on localhost:8085 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 0' 32101 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32101 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 0 ' on localhost:32101 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 1' 32102 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32102 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 1 ' on localhost:32102 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 2' 32103 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32103 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 2 ' on localhost:32103 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 3' 32104 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32104 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 3 ' on localhost:32104 responded ok' + return + http_https_jwt_server_check 'HTTPS JWT server 4' 32105 https -k + for i in {1..10} ++ curl -k -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIiwiaWF0IjoxNTE2MjM5MDIyLCJleHAiOjk5OTk5OTk5OTksIm5iZiI6MTUxNjIzOTAyMH0.vyktOJyCMVvJXEfImBuZCTaEifrvH0kXeAPpnHakffA' -s -o /dev/null -w '%{http_code}' https://localhost:32105 + res=200 + '[' 200 -gt 199 ']' + '[' 200 -lt 300 ']' + echo 'Simulator ' HTTPS JWT server 4 ' on localhost:32105 responded ok' + return + echo '' + '[' -z 1 ']' + '[' -z 1 ']' + '[' -z 1MB ']' + '[' -z SFTP ']' + '[' -z A ']' + '[' SFTP = ALL ']' + '[' SFTP = SFTP ']' + echo 'Creating files for SFTP server, may take time....' + p=0 + '[' 0 -lt 1 ']' + docker cp setup-ftp-files-for-image.sh ea12a27c5298:/tmp/ + docker exec -w //home/onap/ ea12a27c5298 //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 8587816ef6c3:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 8587816ef6c3 //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 - - [27/Nov/2023 17:49:00] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:49:00] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:49:54] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:50:50] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:51:00] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:51:10] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:51:20] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:51:30] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:51:40] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:51:50] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ Verify single event with single 1MB file with HTTPS JWT. From even... Simulator-start: Creating docker network dfcnet, if needed All simulators Started Simulator DR sim on localhost:3906/ responded ok Simulator DR redir sim on localhost:3908/ responded ok Simulator MR sim on localhost:2222/ responded ok Simulator DR sim https on https://localhost:3907/ responded ok Simulator DR redir sim https on https://localhost:3909/ responded ok Simulator MR sim https on https://localhost:2223/ responded ok Simulator FTPES server 0 on localhost:1032 responded ok Simulator FTPES server 1 on localhost:1033 responded ok Simulator FTPES server 2 on localhost:1034 responded ok Simulator FTPES server 3 on localhost:1035 responded ok Simulator FTPES server 4 on localhost:1036 responded ok Simulator SFTP server 0 on localhost:1022 responded ok Simulator SFTP server 1 on localhost:1023 responded ok Simulator SFTP server 2 on localhost:1024 responded ok Simulator SFTP server 3 on localhost:1025 responded ok Simulator SFTP server 4 on localhost:1026 responded ok Simulator HTTP basic auth server 0 on localhost: 81 responded ok Simulator HTTP basic auth server 1 on localhost: 82 responded ok Simulator HTTP basic auth server 2 on localhost: 83 responded ok Simulator HTTP basic auth server 3 on localhost: 84 responded ok Simulator HTTP basic auth server 4 on localhost: 85 responded ok Simulator HTTP JWT server 0 on localhost:32001 responded ok Simulator HTTP JWT server 1 on localhost:32002 responded ok Simulator HTTP JWT server 2 on localhost:32003 responded ok Simulator HTTP JWT server 3 on localhost:32004 responded ok Simulator HTTP JWT server 4 on localhost:32005 responded ok Simulator HTTPS basic auth server 0 on localhost: 444 responded ok Simulator HTTPS basic auth server 1 on localhost: 445 responded ok Simulator HTTPS basic auth server 2 on localhost: 446 responded ok Simulator HTTPS basic auth server 3 on localhost: 447 responded ok Simulator HTTPS basic auth server 4 on localhost: 448 responded ok Simulator HTTPS client certificate authentication server 0 on localhost:444 - no response Simulator HTTPS client certificate authentication server 1 on localhost:445 - no response Simulator HTTPS client certificate authentication server 2 on localhost:446 - no response Simulator HTTPS client certificate authentication server 3 on localhost:447 - no response Simulator HTTPS client certificate authentication server 4 on localhost:448 - no response Simulator HTTPS no auth server 0 on localhost:8081 responded ok Simulator HTTPS no auth server 1 on localhost:8082 responded ok Simulator HTTPS no auth server 2 on localhost:8083 responded ok Simulator HTTPS no auth server 3 on localhost:8084 responded ok Simulator HTTPS no auth server 4 on localhost:8085 responded ok Simulator HTTPS JWT server 0 on localhost:32101 responded ok Simulator HTTPS JWT server 1 on localhost:32102 responded ok Simulator HTTPS JWT server 2 on localhost:32103 responded ok Simulator HTTPS JWT server 3 on localhost:32104 responded ok Simulator HTTPS JWT server 4 on localhost:32105 responded ok Creating files for SFTP server, may take time.... Running ftp file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in ftp servers with index 0 Creating files for HTTP server, may take time.... Running http file creations. 1 PNFs and 1 files for each PNF with file size(s) 1MB and file prefixe(s) A in http servers with index 0 Done: All simulators started and configured + DOCKER_SIM_NWNAME=dfcnet + echo 'Creating docker network dfcnet, if needed' + docker network ls + grep dfcnet + '[' -z '' ']' +++ dirname ./simulators-start.sh ++ cd . ++ pwd + export SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + SIM_GROUP=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/dfc/integration/test/mocks/datafilecollector-testharness/simulator-group + '[' -z 1 ']' + '[' -z 1 ']' + docker-compose -f docker-compose-template.yml config + docker-compose up -d Creating dfc_sftp-server0 ... Creating dfc_sftp-server4 ... Creating dfc_sftp-server1 ... Creating dfc_sftp-server3 ... Creating dfc_dr-redir-sim ... Creating dfc_ftpes-server-vsftpd0 ... Creating dfc_ftpes-server-vsftpd3 ... Starting dfc_cmpv2-postprocessor ... Creating dfc_ftpes-server-vsftpd2 ... Creating dfc_mr-sim ... Creating dfc_dr-sim ... Creating dfc_http-https-server2 ... Creating dfc_ftpes-server-vsftpd4 ... Creating dfc_ftpes-server-vsftpd1 ... Creating dfc_sftp-server2 ... Creating dfc_http-https-server4 ... Creating dfc_http-https-server1 ... Creating dfc_http-https-server3 ... Creating dfc_http-https-server0 ... Starting dfc_cmpv2-postprocessor ... done Creating dfc_sftp-server3 ... done Creating dfc_ftpes-server-vsftpd0 ... done Creating dfc_sftp-server4 ... done Creating dfc_ftpes-server-vsftpd4 ... done Creating dfc_sftp-server0 ... done Creating dfc_ftpes-server-vsftpd1 ... done Creating dfc_sftp-server1 ... done Creating dfc_sftp-server2 ... done Creating dfc_ftpes-server-vsftpd2 ... done Creating dfc_dr-sim ... done Creating dfc_ftpes-server-vsftpd3 ... done Creating dfc_dr-redir-sim ... done Creating dfc_mr-sim ... done Creating dfc_http-https-server1 ... done Creating dfc_http-https-server4 ... done Creating dfc_http-https-server0 ... done Creating dfc_http-https-server2 ... done Creating dfc_http-https-server3 ... done ++ 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=123ab02f71b0 ++ docker ps -q --filter=name=dfc_dr-redir-sim + DR_RD_SIM=39170f00d38c ++ docker ps -q --filter=name=dfc_mr-sim + MR_SIM=c77e912c1cf6 ++ docker ps -q --filter=name=dfc_sftp-server0 + SFTP_SIM[0]=ec6d9801ff41 ++ docker ps -q --filter=name=dfc_sftp-server1 + SFTP_SIM[1]=dc76576086f9 ++ docker ps -q --filter=name=dfc_sftp-server2 + SFTP_SIM[2]=5dc46b9c0fa4 ++ docker ps -q --filter=name=dfc_sftp-server3 + SFTP_SIM[3]=c1c4f346dbc1 ++ docker ps -q --filter=name=dfc_sftp-server4 + SFTP_SIM[4]=df8d11cdfd23 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd0 + FTPES_SIM[0]=aae14dd0cf82 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd1 + FTPES_SIM[1]=36e78bd57754 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd2 + FTPES_SIM[2]=587ef830c472 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd3 + FTPES_SIM[3]=74a70e1a4c74 ++ docker ps -q --filter=name=dfc_ftpes-server-vsftpd4 + FTPES_SIM[4]=0e98970ee4dc ++ docker ps -q --filter=name=dfc_http-https-server0 + HTTP_SIM[0]=08701bd78331 ++ docker ps -q --filter=name=dfc_http-https-server1 + HTTP_SIM[1]=05049abc43f8 ++ docker ps -q --filter=name=dfc_http-https-server2 + HTTP_SIM[2]=2dffffb8cf9e ++ docker ps -q --filter=name=dfc_http-https-server3 + HTTP_SIM[3]=27e4341eddf2 ++ docker ps -q --filter=name=dfc_http-https-server4 + HTTP_SIM[4]=30606328ccd6 + for i in {1..10} ++ docker inspect --format '{{ .State.Running }}' 123ab02f71b0 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 39170f00d38c + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c77e912c1cf6 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' ec6d9801ff41 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' dc76576086f9 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 5dc46b9c0fa4 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' c1c4f346dbc1 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' df8d11cdfd23 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' aae14dd0cf82 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 36e78bd57754 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 587ef830c472 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 74a70e1a4c74 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 0e98970ee4dc + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 08701bd78331 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 05049abc43f8 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 2dffffb8cf9e + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 27e4341eddf2 + '[' true ']' ++ docker inspect --format '{{ .State.Running }}' 30606328ccd6 + '[' 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 ec6d9801ff41:/tmp/ + docker exec -w //home/onap/ ec6d9801ff41 //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 08701bd78331:/tmp/setup-http-files-for-image.sh + docker exec -w //usr//local//apache2//htdocs 08701bd78331 //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 - - [27/Nov/2023 17:52:16] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:52:16] "GET / HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:53:10] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:54:06] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:54:16] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:54:26] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:54:36] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:54:46] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:54:56] "GET /ctr_unique_files HTTP/1.1" 200 - 172.17.0.1 - - [27/Nov/2023 17:55:06] "GET /ctr_unique_files HTTP/1.1" 200 - Error: No such container: oom-certservice-post-processor Error: No such container: dfc_app0 Error response from daemon: Cannot kill container: dfc_app0: No such container: dfc_app0 Error: No such container: dfc_app0 Dfc containter clean: No container requires termination | FAIL | Keyword 'MR Sim Emitted Files Equal' failed after retrying for 1 minute. The last error was: 0 != 1 ------------------------------------------------------------------------------ plans/dcaegen2-collectors-datafile/Functional-suite.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.rc10i3zyrf-robot-workdir/debug.log Output: /tmp/tmp.rc10i3zyrf-robot-workdir/output.xml Log: /tmp/tmp.rc10i3zyrf-robot-workdir/log.html Report: /tmp/tmp.rc10i3zyrf-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.rc10i3zyrf-robot-workdir ]] + rsync -av /tmp/tmp.rc10i3zyrf-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,364 bytes received 114 bytes 4,118,956.00 bytes/sec total size is 2,058,483 speedup is 1.00 + docker ps --format '{{.Image}}' + docker_stats + tee /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/plans/dcaegen2-collectors-datafile/Functional-suite/_sysinfo-2-after-robot.txt + echo '> top -bn1 | head -3' + top -bn1 + head -3 > top -bn1 | head -3 + echo top - 17:55:13 up 1:13, 0 users, load average: 0.22, 0.22, 0.26 Tasks: 160 total, 1 running, 82 sleeping, 0 stopped, 0 zombie %Cpu(s): 1.7 us, 0.6 sy, 0.0 ni, 96.8 id, 0.7 wa, 0.0 hi, 0.0 si, 0.0 st + echo '> free -h' + free -h > free -h total used free shared buff/cache available Mem: 31G 913M 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=55ad68fc52de +++ docker images -q ++ running_images='4cbf5e3f0334 be5f41b0f676 3a783ba66350 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 55ad68fc52de ']' ++ echo 'Stopping and removing containers' Stopping and removing containers ++ docker stop 55ad68fc52de 55ad68fc52de ++ docker rm 55ad68fc52de 55ad68fc52de ++ docker rmi 4cbf5e3f0334 be5f41b0f676 3a783ba66350 1d12470fa662 cab7d4ddb83a f77990a9b766 4753d5a74f10 7f6e6b759f88 1d208ca2d7f7 Untagged: ftpes_vsftpd:latest Deleted: sha256:4cbf5e3f03349bd69335712d5b5a55255f9be0c44d5016cda42ae1551836a410 Deleted: sha256:1edbf244c9eabc8bfa2db1ab61458b5d432f7243ed6f9bd7139c52d58d96f000 Deleted: sha256:ad40201372518268915f6865869586446ed4e5dfc9dd834113ce8e886d0f3604 Deleted: sha256:665bf905955be66f8336072351b8c4cc1c51a044c0e10fe48cb4e7bf37d1b3bd Deleted: sha256:c808f1b21deb6274b3c5a4fbeac70d90c81f52e49c38bcaeee5980b74e51d4a0 Deleted: sha256:924dcda30997677567490a2ea1eb2d836284d3dc34655d8ff194cae5b5c2712e Untagged: drsim_common:latest Deleted: sha256:be5f41b0f6764bc1a09d7ebaec9b2ae606030285e9f7c3f9e62eedfa5271c87b Deleted: sha256:501b6d87f34fbe2b9b88c9116b61a418361c0162940c7203600e1ad4aea6bf2e Deleted: sha256:a05175be4609325066886a44551f8cde39304e28676921947e6fb3ebe6345c47 Deleted: sha256:e98148d816636dd7928da6112f3078e0a6578f8af81f31d844ba4443a0debc07 Deleted: sha256:aa82bd4e159ab4d70a024047e404f1172c32ab47f649f6baeee0cb4107c6958e Deleted: sha256:196c31eea1a8f1475072e42d5faad7b77b2589f8a2e92e49b15056b6b31a9c1c Deleted: sha256:7b86ba56af2e0b572aef05120709c0ebfddf1c521594adc7b237f49f553c8ef1 Deleted: sha256:8a25958c0170e9bec969282ddcb816f2e48d1409738363bd82d79f497c6a30cd Deleted: sha256:ffa72a2add2ffb01aaebac66e3166cd587d566c782fc5c6ca7079c8988482195 Deleted: sha256:2d983ed3a190e2816c2ce16d44a44cb9d0902a205ecdb291d1fc63aa497d9c07 Deleted: sha256:cb3c806c9d07d9ea3ce3261dfdceda1bdbc272a7fc0d9f1b41daf8307b699496 Deleted: sha256:a60da2e7e3fbfa5541643f3b955e28dab3fb916505eac44c8f7dd0a1639ef482 Untagged: mrsim:latest Deleted: sha256:3a783ba66350548177d8c2e764fddc5a3808a267c688fc86ed8524f39d8e43f4 Deleted: sha256:506f72d95456487eccb457c5d3f2a4a8f5480d5f4c7cbb6eb135f8214769edf6 Deleted: sha256:b2a511aa7e2d0463ed4f94bbd0eb4b819a7b58762cc01fefa5d291148d3421c7 Deleted: sha256:9f7877fe601c69fd4884ad9f5da96b62dbe87d3ffa1bf9257bc1409092b6b430 Deleted: sha256:9f113e31cc1ced3ffaf6cd475fa1473d5b3a0dac94bce08beb84d8a029b78ab2 Deleted: sha256:2a2cfcdac88f1a78ef49810e979ec5aca73f03cb53ef99e5660c7d5357aec4de 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 2138 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/jenkins15999656471756092197.sh ---> sysstat.sh [dcaegen2-collectors-datafile-master-csit-Functional-suite] $ /bin/bash /tmp/jenkins3853927024710748483.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite + START_PACKAGES=/tmp/packages_start.txt + END_PACKAGES=/tmp/packages_end.txt + DIFF_PACKAGES=/tmp/packages_diff.txt + PACKAGES=/tmp/packages_start.txt + '[' /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + dpkg -l + grep '^ii' + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite ']' + mkdir -p /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite/archives/ [dcaegen2-collectors-datafile-master-csit-Functional-suite] $ /bin/bash /tmp/jenkins12951012863378158459.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-L4Ij from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-L4Ij/bin to PATH INFO: Running in OpenStack, capturing instance metadata [dcaegen2-collectors-datafile-master-csit-Functional-suite] $ /bin/bash /tmp/jenkins12780582761186229139.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dcaegen2-collectors-datafile-master-csit-Functional-suite@tmp/config14877691532005606005tmp 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/jenkins10567118448280822358.sh ---> create-netrc.sh [dcaegen2-collectors-datafile-master-csit-Functional-suite] $ /bin/bash /tmp/jenkins14492595200096520039.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-L4Ij from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-L4Ij/bin to PATH [dcaegen2-collectors-datafile-master-csit-Functional-suite] $ /bin/bash /tmp/jenkins12762004249439786405.sh ---> sudo-logs.sh Archiving 'sudo' log.. [dcaegen2-collectors-datafile-master-csit-Functional-suite] $ /bin/bash /tmp/jenkins8600663529423403990.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-L4Ij 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-L4Ij/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/jenkins12363811775650052186.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-L4Ij from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-L4Ij/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/dcaegen2-collectors-datafile-master-csit-Functional-suite/1731 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-5252 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 974 28545 0 2647 30743 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:54:06:be brd ff:ff:ff:ff:ff:ff inet 10.30.107.5/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 81918sec preferred_lft 81918sec inet6 fe80::f816:3eff:fe54:6be/64 scope link valid_lft forever preferred_lft forever 3: docker0: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:07:d1:91:31 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:7ff:fed1:9131/64 scope link valid_lft forever preferred_lft forever 14: br-f62acae42d19: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:73:b6:b7:2f brd ff:ff:ff:ff:ff:ff inet 172.17.0.1/16 brd 172.17.255.255 scope global br-f62acae42d19 valid_lft forever preferred_lft forever inet6 fe80::42:73ff:feb6:b72f/64 scope link valid_lft forever preferred_lft forever 15: br-fd3d09539a26: mtu 1500 qdisc noqueue state DOWN group default link/ether 02:42:be:f8:f8:50 brd ff:ff:ff:ff:ff:ff inet 172.18.0.1/16 brd 172.18.255.255 scope global br-fd3d09539a26 valid_lft forever preferred_lft forever inet6 fe80::42:beff:fef8:f850/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-5252) 11/27/23 _x86_64_ (8 CPU) 16:41:32 LINUX RESTART (8 CPU) 16:42:02 tps rtps wtps bread/s bwrtn/s 16:43:01 134.94 72.39 62.55 4689.24 22253.58 16:44:01 104.72 7.27 97.45 87.59 25919.41 16:45:01 228.51 8.57 219.95 1618.40 59855.76 16:46:01 107.16 4.07 103.10 485.97 35149.88 16:47:01 66.65 0.80 65.85 103.60 16225.87 16:48:01 12.43 0.15 12.28 28.93 13626.00 16:49:01 9.88 0.00 9.88 0.00 13855.25 16:50:01 121.85 0.07 121.78 8.93 16817.33 16:51:01 12.05 0.00 12.05 0.00 14160.71 16:52:01 10.68 0.02 10.66 4.27 14532.64 16:53:01 116.40 0.10 116.30 14.13 11463.02 16:54:01 9.08 0.00 9.08 0.00 164.91 16:55:01 1.00 0.02 0.98 3.47 11.60 16:56:01 100.28 0.05 100.23 4.53 2658.89 16:57:01 18.58 3.58 15.00 36.39 338.34 16:58:01 2.57 0.00 2.57 0.00 40.39 16:59:01 1.20 0.00 1.20 0.00 14.66 17:00:01 115.83 0.02 115.81 2.67 2850.99 17:01:01 2.63 0.00 2.63 0.00 44.79 17:02:01 1.78 0.00 1.78 0.00 21.73 17:03:01 126.03 0.05 125.98 3.87 2997.37 17:04:01 8.82 0.00 8.82 0.00 221.43 17:05:01 1.87 0.00 1.87 0.00 23.06 17:06:01 119.03 0.02 119.01 3.07 2797.67 17:07:01 15.90 0.02 15.88 3.60 348.08 17:08:01 3.25 0.00 3.25 0.00 46.93 17:09:01 1.27 0.00 1.27 0.00 16.13 17:10:01 135.56 0.00 135.56 0.00 3108.55 17:11:01 5.50 0.97 4.53 20.66 407.53 17:12:01 1.28 0.00 1.28 0.00 17.46 17:13:01 124.21 0.00 124.21 0.00 2865.12 17:14:01 5.08 0.03 5.05 4.27 86.13 17:15:01 1.10 0.00 1.10 0.00 13.33 17:16:01 124.28 0.00 124.28 0.00 2857.71 17:17:01 9.03 0.02 9.02 0.13 162.24 17:18:01 2.57 0.00 2.57 0.00 31.59 17:19:01 66.96 0.02 66.94 0.67 896.92 17:20:01 63.77 0.00 63.77 0.00 2029.66 17:21:01 3.22 0.00 3.22 0.00 47.73 17:22:01 1.50 0.00 1.50 0.00 20.13 17:23:01 127.85 0.05 127.80 3.47 2844.86 17:24:01 5.02 0.03 4.98 2.13 96.52 17:25:01 1.25 0.00 1.25 0.00 14.13 17:26:01 133.92 0.03 133.89 0.80 2934.22 17:27:01 10.23 0.00 10.23 0.00 415.13 17:28:01 1.77 0.00 1.77 0.00 21.86 17:29:01 118.21 0.00 118.21 0.00 2629.03 17:30:01 16.66 0.00 16.66 0.00 356.34 17:31:01 2.78 0.00 2.78 0.00 43.59 17:32:01 1.95 0.00 1.95 0.00 23.86 17:33:01 134.59 0.05 134.54 9.06 2981.14 17:34:01 2.43 0.00 2.43 0.00 39.45 17:35:01 1.45 0.00 1.45 0.00 17.60 17:36:01 122.78 0.03 122.75 1.47 2734.48 17:37:01 11.70 0.00 11.70 0.00 196.47 17:38:01 1.43 0.00 1.43 0.00 18.13 17:39:01 120.45 0.02 120.43 0.80 2721.41 17:40:01 11.86 0.00 11.86 0.00 218.76 17:41:01 2.28 0.00 2.28 0.00 35.73 17:42:01 52.24 0.00 52.24 0.00 598.03 17:43:01 95.05 0.00 95.05 0.00 2550.64 17:44:01 4.08 0.00 4.08 0.00 669.89 17:45:01 1.10 0.00 1.10 0.00 14.13 17:46:01 141.60 0.02 141.58 2.93 3036.13 17:47:01 3.33 0.00 3.33 0.00 49.85 17:48:01 1.88 0.00 1.88 0.00 22.93 17:49:01 127.27 0.02 127.26 0.27 2791.34 17:50:01 11.16 0.00 11.16 0.00 177.57 17:51:01 1.10 0.00 1.10 0.00 12.53 17:52:01 118.91 0.02 118.90 1.33 2582.10 17:53:01 19.71 0.00 19.71 0.00 430.06 17:54:01 3.03 0.00 3.03 0.00 44.26 17:55:01 1.28 0.00 1.28 0.00 16.93 17:56:01 99.80 1.52 98.28 105.72 3667.39 Average: 47.39 1.34 46.06 96.97 4104.10 16:42:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 16:43:01 30166832 31731384 2772388 8.42 69200 1805620 1391552 4.09 846052 1640260 143552 16:44:01 29822996 31668312 3116224 9.46 86336 2055220 1461868 4.30 933316 1867064 131556 16:45:01 28495008 31663228 4444212 13.49 127404 3256376 1644176 4.84 1047052 2961824 520 16:46:01 27683540 31613368 5255680 15.96 154124 3926272 1820740 5.36 1174804 3574260 43024 16:47:01 27386260 31312892 5552960 16.86 156812 3920516 11491420 33.81 1399032 3539768 188 16:48:01 27372552 31300992 5566668 16.90 156900 3921484 11433296 33.64 1411856 3539416 32 16:49:01 27369004 31297532 5570216 16.91 156944 3921504 11450272 33.69 1414956 3539436 200 16:50:01 27369060 31304372 5570160 16.91 159012 3922704 11567712 34.03 1453976 3492040 36 16:51:01 27351048 31287128 5588172 16.97 159100 3922828 11519056 33.89 1469356 3491852 148 16:52:01 27348848 31285112 5590372 16.97 159148 3922964 11518500 33.89 1471752 3491988 92 16:53:01 27363132 31305320 5576088 16.93 161404 3924524 11476492 33.77 1455448 3491660 3048 16:54:01 27346364 31289368 5592856 16.98 161488 3924688 11402788 33.55 1469144 3491736 144 16:55:01 27344576 31287728 5594644 16.98 161504 3924800 11428856 33.63 1470152 3491848 184 16:56:01 27142376 31109080 5796844 17.60 163304 3940036 11236008 33.06 1687528 3506292 1384 16:57:01 27334296 31284536 5604924 17.02 164560 3926144 11557836 34.01 1473352 3492128 60 16:58:01 27325932 31276736 5613288 17.04 164596 3926220 11487332 33.80 1480512 3492108 132 16:59:01 27330592 31281452 5608628 17.03 164640 3926236 11491744 33.81 1475200 3492124 48 17:00:01 27330504 31286104 5608716 17.03 166436 3927168 11541788 33.96 1470624 3492604 172 17:01:01 27315060 31271328 5624160 17.07 166492 3927288 11497424 33.83 1484748 3492576 232 17:02:01 27319620 31275928 5619600 17.06 166508 3927308 11542080 33.96 1479520 3492600 52 17:03:01 27322616 31284244 5616604 17.05 168664 3928324 11508832 33.86 1471000 3493260 3256 17:04:01 27304592 31266932 5634628 17.11 168736 3928500 11467076 33.74 1487044 3493408 516 17:05:01 27306864 31269248 5632356 17.10 168768 3928508 11451888 33.69 1483524 3493412 184 17:06:01 27201796 31186596 5737424 17.42 170672 3941000 8861384 26.07 1621512 3505716 1164 17:07:01 27300556 31268740 5638664 17.12 171048 3929724 11490340 33.81 1485660 3494192 60 17:08:01 27292240 31260900 5646980 17.14 171092 3929780 11443996 33.67 1492620 3494164 52 17:09:01 27296648 31265380 5642572 17.13 171128 3929804 11448244 33.68 1487756 3494188 60 17:10:01 27296632 31270140 5642588 17.13 172992 3930744 11534912 33.94 1483356 3494604 12 17:11:01 27282652 31257780 5656568 17.17 173076 3931444 11474964 33.76 1495716 3495100 8 17:12:01 27284528 31259712 5654692 17.17 173104 3931460 11489992 33.81 1493284 3495116 92 17:13:01 27288644 31268576 5650576 17.15 174748 3932444 11581412 34.08 1484116 3495472 1136 17:14:01 27270572 31251164 5668648 17.21 174768 3932712 11508096 33.86 1499540 3495676 12 17:15:01 27273524 31254144 5665696 17.20 174792 3932716 11533656 33.93 1496396 3495684 12 17:16:01 27160696 31169612 5778524 17.54 176252 3951640 11928208 35.10 1596096 3514124 2708 17:17:01 27263616 31249252 5675604 17.23 176304 3934068 11430264 33.63 1501784 3496692 344 17:18:01 27261268 31247080 5677952 17.24 176316 3934200 11471368 33.75 1503412 3496824 224 17:19:01 27536472 31537464 5402748 16.40 176968 3944380 1722232 5.07 1303408 3507972 26592 17:20:01 27262236 31253092 5676984 17.23 177860 3935396 11578584 34.07 1496196 3497708 216 17:21:01 27251136 31242656 5688084 17.27 177876 3935476 11544112 33.97 1506572 3497772 8 17:22:01 27256388 31247972 5682832 17.25 177920 3935488 11554756 34.00 1501364 3497792 244 17:23:01 27258132 31253688 5681088 17.25 179228 3936384 11617480 34.18 1494544 3498480 1492 17:24:01 27243012 31239176 5696208 17.29 179268 3936556 11575792 34.06 1507284 3498588 84 17:25:01 27244348 31240668 5694872 17.29 179280 3936704 11578488 34.07 1505504 3498736 52 17:26:01 27251684 31252016 5687536 17.27 180688 3937416 11662892 34.31 1493964 3499352 3220 17:27:01 27234540 31235296 5704680 17.32 180716 3937560 11629496 34.22 1509260 3499488 404 17:28:01 27232948 31233736 5706272 17.32 180724 3937572 11641484 34.25 1510284 3499472 172 17:29:01 27013208 31035232 5926012 17.99 181768 3949920 10179544 29.95 1759896 3511732 1124 17:30:01 27230784 31235800 5708436 17.33 182036 3938676 11589668 34.10 1508868 3500288 224 17:31:01 27224600 31230156 5714620 17.35 182044 3938740 11540016 33.95 1513564 3500336 12 17:32:01 27227388 31232996 5711832 17.34 182052 3938764 11553908 33.99 1511112 3500356 64 17:33:01 27225812 31235436 5713408 17.35 183164 3939932 11621644 34.19 1506348 3501468 48 17:34:01 27203716 31213852 5735504 17.41 183192 3940056 11595200 34.12 1527224 3501588 264 17:35:01 27206376 31216556 5732844 17.40 183200 3940072 11587192 34.09 1524300 3501604 220 17:36:01 27216288 31229892 5722932 17.37 184148 3940592 11599788 34.13 1509352 3502060 4444 17:37:01 27197704 31211820 5741516 17.43 184184 3940732 11590040 34.10 1525668 3502196 104 17:38:01 27200108 31214248 5739112 17.42 184196 3940740 11608124 34.15 1523124 3502204 232 17:39:01 27221604 31260800 5717616 17.36 185264 3953892 10200120 30.01 1516344 3515064 2336 17:40:01 27152528 31197456 5786692 17.57 185356 3967760 11721284 34.49 1540440 3528784 26148 17:41:01 27189948 31208752 5749272 17.45 185372 3941940 11725324 34.50 1528124 3503236 220 17:42:01 27381892 31395700 5557328 16.87 185604 3938484 6761828 19.89 1387848 3500540 308 17:43:01 27193008 31215956 5746212 17.44 186660 3942956 11592876 34.11 1518612 3504244 228 17:44:01 27181284 31204820 5757936 17.48 186680 3943160 11595580 34.12 1529244 3504416 172 17:45:01 27181384 31204968 5757836 17.48 186696 3943180 11620908 34.19 1529024 3504452 212 17:46:01 27187148 31214544 5752072 17.46 187740 3944052 11588948 34.10 1518504 3505264 140 17:47:01 27169540 31199304 5769680 17.52 187768 3944168 11562408 34.02 1534072 3504412 36 17:48:01 27171860 31201656 5767360 17.51 187780 3944184 11552948 33.99 1532188 3504412 88 17:49:01 27172816 31205076 5766404 17.51 188780 3945000 11588548 34.10 1527868 3505176 3408 17:50:01 27161552 31194476 5777668 17.54 188816 3945152 11602060 34.14 1536092 3505320 64 17:51:01 27161948 31194904 5777272 17.54 188824 3945168 11590436 34.10 1535944 3505328 80 17:52:01 27038384 31090280 5900836 17.91 189456 3957780 8638392 25.42 1699700 3518096 140 17:53:01 27161976 31199048 5777244 17.54 189656 3946792 11757128 34.59 1530952 3506796 92 17:54:01 27154836 31192424 5784384 17.56 189680 3946860 11682332 34.37 1535784 3506808 144 17:55:01 27154560 31192160 5784660 17.56 189688 3946876 11704784 34.44 1535576 3506828 48 17:56:01 29157216 31443628 3782004 11.48 191504 2325632 1849140 5.44 1268244 2000392 67336 Average: 27376154 31269853 5563066 16.89 172841 3851097 10574203 31.11 1475589 3427973 6420 16:42:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 16:43:01 ens3 318.40 227.16 1531.15 58.46 0.00 0.00 0.00 0.00 16:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:43:01 lo 1.56 1.56 0.16 0.16 0.00 0.00 0.00 0.00 16:44:01 ens3 61.19 46.38 651.73 10.78 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 lo 1.00 1.00 0.10 0.10 0.00 0.00 0.00 0.00 16:45:01 ens3 394.43 195.05 6609.02 17.40 0.00 0.00 0.00 0.00 16:45:01 docker0 1.88 2.57 0.24 13.25 0.00 0.00 0.00 0.00 16:45:01 vethd96d34c 0.00 0.05 0.00 0.00 0.00 0.00 0.00 0.00 16:45:01 lo 2.73 2.73 0.29 0.29 0.00 0.00 0.00 0.00 16:46:01 ens3 186.90 110.63 3630.90 14.97 0.00 0.00 0.00 0.00 16:46:01 docker0 8.71 11.28 1.59 37.37 0.00 0.00 0.00 0.00 16:46:01 br-f62acae42d19 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:46:01 lo 4.13 4.13 0.43 0.43 0.00 0.00 0.00 0.00 16:47:01 veth5797a97 0.22 0.62 0.09 0.05 0.00 0.00 0.00 0.00 16:47:01 vethb1a6a23 0.27 0.72 0.10 0.06 0.00 0.00 0.00 0.00 16:47:01 veth8f46773 0.12 0.55 0.01 0.03 0.00 0.00 0.00 0.00 16:47:01 ens3 2.55 2.32 1.08 1.57 0.00 0.00 0.00 0.00 16:48:01 veth5797a97 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:48:01 vethb1a6a23 0.15 0.17 0.01 0.01 0.00 0.00 0.00 0.00 16:48:01 veth8f46773 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:48:01 ens3 2.72 1.63 1.03 1.51 0.00 0.00 0.00 0.00 16:49:01 veth5797a97 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:49:01 vethb1a6a23 0.62 0.63 0.05 0.05 0.00 0.00 0.00 0.00 16:49:01 veth8f46773 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:49:01 ens3 0.82 0.62 0.38 0.74 0.00 0.00 0.00 0.00 16:50:01 ens3 2.58 1.78 0.36 0.69 0.00 0.00 0.00 0.00 16:50:01 docker0 10.60 13.85 1.83 50.63 0.00 0.00 0.00 0.00 16:50:01 veth6aca856 0.22 0.88 0.09 0.06 0.00 0.00 0.00 0.00 16:50:01 vethfb8083b 0.33 1.12 0.13 0.10 0.00 0.00 0.00 0.00 16:51:01 ens3 3.50 2.10 1.52 2.33 0.00 0.00 0.00 0.00 16:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:51:01 veth6aca856 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 16:51:01 vethfb8083b 1.93 1.97 1.20 0.58 0.00 0.00 0.00 0.00 16:52:01 ens3 0.98 0.68 0.40 0.74 0.00 0.00 0.00 0.00 16:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:52:01 veth6aca856 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:52:01 vethfb8083b 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:53:01 veth9399915 0.33 1.08 0.13 0.09 0.00 0.00 0.00 0.00 16:53:01 ens3 1.62 1.52 0.28 0.49 0.00 0.00 0.00 0.00 16:53:01 veth9b237aa 0.67 1.42 0.35 0.20 0.00 0.00 0.00 0.00 16:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:54:01 veth9399915 1.92 2.03 1.20 0.58 0.00 0.00 0.00 0.00 16:54:01 ens3 1.75 1.12 0.60 1.01 0.00 0.00 0.00 0.00 16:54:01 veth9b237aa 1.65 1.68 0.99 0.48 0.00 0.00 0.00 0.00 16:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:55:01 veth9399915 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:55:01 ens3 1.40 0.77 0.52 0.79 0.00 0.00 0.00 0.00 16:55:01 veth9b237aa 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:56:01 vethcd0a65d 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:56:01 veth089c9f7 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:56:01 veth8b3256f 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:56:01 vethfa7573c 0.00 0.05 0.00 0.00 0.00 0.00 0.00 0.00 16:57:01 vethfa7573c 0.22 0.95 0.11 0.07 0.00 0.00 0.00 0.00 16:57:01 ens3 1005.58 599.88 12472.60 112.99 0.00 0.00 0.00 0.00 16:57:01 veth8ff43ce 0.12 0.83 0.01 0.05 0.00 0.00 0.00 0.00 16:57:01 docker0 10.60 13.85 1.83 50.63 0.00 0.00 0.00 0.00 16:58:01 vethfa7573c 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:58:01 ens3 2.17 1.65 1.07 1.53 0.00 0.00 0.00 0.00 16:58:01 veth8ff43ce 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:59:01 vethfa7573c 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:59:01 ens3 0.38 0.25 0.08 0.33 0.00 0.00 0.00 0.00 16:59:01 veth8ff43ce 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 16:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:00:01 ens3 2.07 1.47 0.26 0.22 0.00 0.00 0.00 0.00 17:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:00:01 vethbb7d887 2.02 2.80 1.22 0.63 0.00 0.00 0.00 0.00 17:00:01 vethf5db683 0.22 0.92 0.09 0.07 0.00 0.00 0.00 0.00 17:01:01 ens3 2.85 2.00 1.25 2.95 0.00 0.00 0.00 0.00 17:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:01:01 vethbb7d887 0.28 0.32 0.12 0.05 0.00 0.00 0.00 0.00 17:01:01 vethf5db683 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:02:01 ens3 0.40 0.30 0.08 0.34 0.00 0.00 0.00 0.00 17:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:02:01 vethbb7d887 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:02:01 vethf5db683 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:03:01 vethb7e0f17 0.33 1.08 0.13 0.09 0.00 0.00 0.00 0.00 17:03:01 ens3 1.72 1.40 0.35 0.51 0.00 0.00 0.00 0.00 17:03:01 vethe11fa9c 0.27 0.97 0.10 0.07 0.00 0.00 0.00 0.00 17:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:04:01 vethb7e0f17 1.93 1.98 1.20 0.58 0.00 0.00 0.00 0.00 17:04:01 ens3 2.30 1.10 0.62 1.01 0.00 0.00 0.00 0.00 17:04:01 vethe11fa9c 0.15 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:05:01 vethb7e0f17 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:05:01 ens3 1.08 0.78 0.52 1.01 0.00 0.00 0.00 0.00 17:05:01 vethe11fa9c 0.27 0.27 0.02 0.02 0.00 0.00 0.00 0.00 17:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:06:01 veth6bc8d6c 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:06:01 veth37922e9 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:06:01 ens3 1.45 1.25 0.25 0.47 0.00 0.00 0.00 0.00 17:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:07:01 veth37922e9 0.12 0.83 0.01 0.05 0.00 0.00 0.00 0.00 17:07:01 ens3 1.20 0.38 0.29 0.24 0.00 0.00 0.00 0.00 17:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:07:01 veth3896077 0.12 0.85 0.01 0.05 0.00 0.00 0.00 0.00 17:08:01 veth37922e9 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:08:01 ens3 1.47 1.13 0.58 1.07 0.00 0.00 0.00 0.00 17:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:08:01 veth3896077 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:09:01 veth37922e9 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:09:01 ens3 0.28 0.17 0.07 0.28 0.00 0.00 0.00 0.00 17:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:09:01 veth3896077 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:10:01 ens3 2.35 1.45 0.42 0.42 0.00 0.00 0.00 0.00 17:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:10:01 veth291cfe2 0.12 0.83 0.01 0.05 0.00 0.00 0.00 0.00 17:10:01 vethc958756 0.23 0.90 0.09 0.07 0.00 0.00 0.00 0.00 17:11:01 ens3 1.58 1.42 0.75 1.86 0.00 0.00 0.00 0.00 17:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:11:01 veth291cfe2 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:11:01 vethc958756 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:12:01 ens3 0.27 0.30 0.07 0.48 0.00 0.00 0.00 0.00 17:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:12:01 veth291cfe2 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:12:01 vethc958756 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:13:01 ens3 1.55 1.47 0.25 0.49 0.00 0.00 0.00 0.00 17:13:01 veth37b430f 0.12 0.82 0.01 0.05 0.00 0.00 0.00 0.00 17:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:13:01 vethdb58471 0.33 1.10 0.13 0.10 0.00 0.00 0.00 0.00 17:14:01 ens3 1.18 1.08 0.50 1.01 0.00 0.00 0.00 0.00 17:14:01 veth37b430f 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:14:01 vethdb58471 1.93 1.98 1.20 0.58 0.00 0.00 0.00 0.00 17:15:01 ens3 0.37 0.33 0.18 0.29 0.00 0.00 0.00 0.00 17:15:01 veth37b430f 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:15:01 vethdb58471 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:16:01 veth9f45b5f 0.00 0.12 0.00 0.01 0.00 0.00 0.00 0.00 17:16:01 ens3 1.53 1.40 0.20 0.42 0.00 0.00 0.00 0.00 17:16:01 vethff9800b 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:17:01 veth9f45b5f 0.12 0.73 0.01 0.04 0.00 0.00 0.00 0.00 17:17:01 ens3 1.23 1.12 0.50 1.01 0.00 0.00 0.00 0.00 17:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:17:01 veth3d6d804 0.22 1.02 0.11 0.08 0.00 0.00 0.00 0.00 17:18:01 veth9f45b5f 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:18:01 ens3 0.38 0.27 0.15 0.35 0.00 0.00 0.00 0.00 17:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:18:01 veth3d6d804 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:19:01 ens3 0.63 0.60 0.11 0.34 0.00 0.00 0.00 0.00 17:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:19:01 br-f62acae42d19 148.64 154.07 73.94 35.02 0.00 0.00 0.00 0.00 17:19:01 lo 286.64 286.64 107.14 107.14 0.00 0.00 0.00 0.00 17:20:01 veth7388db7 2.00 2.80 1.22 0.63 0.00 0.00 0.00 0.00 17:20:01 ens3 1.85 1.30 0.53 0.67 0.00 0.00 0.00 0.00 17:20:01 veth457cefc 0.22 1.00 0.11 0.08 0.00 0.00 0.00 0.00 17:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:21:01 veth7388db7 0.30 0.32 0.12 0.05 0.00 0.00 0.00 0.00 17:21:01 ens3 1.50 1.32 0.65 1.65 0.00 0.00 0.00 0.00 17:21:01 veth457cefc 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:22:01 veth7388db7 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:22:01 ens3 1.12 0.60 0.42 0.76 0.00 0.00 0.00 0.00 17:22:01 veth457cefc 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:23:01 veth16e0e73 1.87 2.62 1.11 0.58 0.00 0.00 0.00 0.00 17:23:01 veth75638bc 2.00 2.78 1.22 0.63 0.00 0.00 0.00 0.00 17:23:01 veth14f6227 0.22 0.88 0.09 0.06 0.00 0.00 0.00 0.00 17:23:01 ens3 1.57 1.45 0.27 0.53 0.00 0.00 0.00 0.00 17:24:01 veth16e0e73 0.47 0.48 0.23 0.10 0.00 0.00 0.00 0.00 17:24:01 veth75638bc 0.30 0.33 0.12 0.05 0.00 0.00 0.00 0.00 17:24:01 veth14f6227 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:24:01 ens3 1.30 1.08 0.50 0.98 0.00 0.00 0.00 0.00 17:25:01 veth16e0e73 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:25:01 veth75638bc 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:25:01 veth14f6227 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:25:01 ens3 0.20 0.13 0.07 0.10 0.00 0.00 0.00 0.00 17:26:01 veth7eaf2b9 0.10 0.77 0.01 0.05 0.00 0.00 0.00 0.00 17:26:01 ens3 1.93 1.83 0.29 0.71 0.00 0.00 0.00 0.00 17:26:01 veth8dd873a 0.10 0.78 0.01 0.05 0.00 0.00 0.00 0.00 17:26:01 veth7b10415 0.20 0.83 0.09 0.06 0.00 0.00 0.00 0.00 17:27:01 veth7eaf2b9 0.02 0.07 0.00 0.00 0.00 0.00 0.00 0.00 17:27:01 ens3 1.10 1.00 0.50 1.00 0.00 0.00 0.00 0.00 17:27:01 veth8dd873a 0.02 0.07 0.00 0.00 0.00 0.00 0.00 0.00 17:27:01 veth7b10415 0.02 0.07 0.00 0.00 0.00 0.00 0.00 0.00 17:28:01 veth7eaf2b9 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:28:01 ens3 0.87 0.38 0.20 0.36 0.00 0.00 0.00 0.00 17:28:01 veth8dd873a 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:28:01 veth7b10415 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:29:01 vethd61484a 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:29:01 veth6f5cc22 0.00 0.07 0.00 0.01 0.00 0.00 0.00 0.00 17:29:01 ens3 2.43 1.55 1.01 1.29 0.00 0.00 0.00 0.00 17:29:01 veth88db238 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:30:01 veth6f5cc22 0.12 0.78 0.01 0.05 0.00 0.00 0.00 0.00 17:30:01 ens3 0.80 0.75 0.11 0.29 0.00 0.00 0.00 0.00 17:30:01 veth88db238 0.12 0.83 0.01 0.05 0.00 0.00 0.00 0.00 17:30:01 vethcf95844 0.22 0.90 0.09 0.07 0.00 0.00 0.00 0.00 17:31:01 veth6f5cc22 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:31:01 ens3 1.38 1.13 0.60 1.21 0.00 0.00 0.00 0.00 17:31:01 veth88db238 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:31:01 vethcf95844 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:32:01 veth6f5cc22 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:32:01 ens3 0.27 0.27 0.07 0.47 0.00 0.00 0.00 0.00 17:32:01 veth88db238 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:32:01 vethcf95844 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:33:01 veth37aed6d 0.33 1.12 0.13 0.10 0.00 0.00 0.00 0.00 17:33:01 ens3 1.68 1.50 0.28 0.31 0.00 0.00 0.00 0.00 17:33:01 veth96b58ad 0.12 0.83 0.01 0.05 0.00 0.00 0.00 0.00 17:33:01 docker0 10.60 13.85 1.83 50.62 0.00 0.00 0.00 0.00 17:34:01 veth37aed6d 1.93 1.97 1.20 0.58 0.00 0.00 0.00 0.00 17:34:01 ens3 10.64 20.89 1.69 29.29 0.00 0.00 0.00 0.00 17:34:01 veth96b58ad 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:35:01 veth37aed6d 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:35:01 ens3 1.47 2.00 0.15 6.03 0.00 0.00 0.00 0.00 17:35:01 veth96b58ad 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:36:01 ens3 1.42 1.32 0.18 0.42 0.00 0.00 0.00 0.00 17:36:01 vetha0b21fe 0.35 1.13 0.13 0.10 0.00 0.00 0.00 0.00 17:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:36:01 veth496f3de 0.22 0.88 0.09 0.06 0.00 0.00 0.00 0.00 17:37:01 ens3 1.22 1.05 0.50 1.01 0.00 0.00 0.00 0.00 17:37:01 vetha0b21fe 1.95 1.97 1.21 0.58 0.00 0.00 0.00 0.00 17:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:37:01 veth496f3de 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:38:01 ens3 1.60 0.75 0.52 0.74 0.00 0.00 0.00 0.00 17:38:01 vetha0b21fe 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:38:01 veth496f3de 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:39:01 ens3 1.65 1.47 0.25 0.52 0.00 0.00 0.00 0.00 17:39:01 veth37514ac 0.00 0.12 0.00 0.01 0.00 0.00 0.00 0.00 17:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:39:01 veth22b8648 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:40:01 ens3 0.80 0.72 0.14 0.92 0.00 0.00 0.00 0.00 17:40:01 veth37514ac 0.12 0.73 0.01 0.04 0.00 0.00 0.00 0.00 17:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:40:01 veth376ba09 2.25 3.08 1.34 0.68 0.00 0.00 0.00 0.00 17:41:01 ens3 1.13 0.98 0.59 1.01 0.00 0.00 0.00 0.00 17:41:01 veth37514ac 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:41:01 veth376ba09 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:42:01 ens3 0.47 0.45 0.08 0.24 0.00 0.00 0.00 0.00 17:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:42:01 veth376ba09 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:42:01 br-f62acae42d19 252.67 262.06 125.69 59.54 0.00 0.00 0.00 0.00 17:43:01 ens3 1.43 1.37 0.26 0.48 0.00 0.00 0.00 0.00 17:43:01 veth0a28f71 0.27 1.00 0.10 0.08 0.00 0.00 0.00 0.00 17:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:43:01 vethf6912a9 0.22 0.88 0.09 0.06 0.00 0.00 0.00 0.00 17:44:01 ens3 1.22 1.08 0.50 1.00 0.00 0.00 0.00 0.00 17:44:01 veth0a28f71 0.15 0.17 0.01 0.01 0.00 0.00 0.00 0.00 17:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:44:01 vethf6912a9 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:45:01 ens3 1.40 0.60 0.55 0.67 0.00 0.00 0.00 0.00 17:45:01 veth0a28f71 0.62 0.63 0.05 0.05 0.00 0.00 0.00 0.00 17:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:45:01 vethf6912a9 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:46:01 ens3 2.15 1.50 0.32 0.47 0.00 0.00 0.00 0.00 17:46:01 veth82587ab 0.33 1.12 0.13 0.10 0.00 0.00 0.00 0.00 17:46:01 veth671dcfb 0.22 0.88 0.09 0.06 0.00 0.00 0.00 0.00 17:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:47:01 ens3 5.70 4.63 3.14 8.72 0.00 0.00 0.00 0.00 17:47:01 veth82587ab 1.93 1.97 1.20 0.58 0.00 0.00 0.00 0.00 17:47:01 veth671dcfb 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 17:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:48:01 ens3 1.15 0.52 0.54 0.76 0.00 0.00 0.00 0.00 17:48:01 veth82587ab 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:48:01 veth671dcfb 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:49:01 ens3 1.57 1.50 0.21 0.49 0.00 0.00 0.00 0.00 17:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:49:01 veth791edb1 0.27 0.97 0.10 0.07 0.00 0.00 0.00 0.00 17:49:01 veth45c8541 0.10 0.80 0.01 0.05 0.00 0.00 0.00 0.00 17:50:01 ens3 1.22 1.05 0.50 1.02 0.00 0.00 0.00 0.00 17:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:50:01 veth791edb1 0.15 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:50:01 veth45c8541 0.02 0.05 0.00 0.00 0.00 0.00 0.00 0.00 17:51:01 ens3 0.35 0.32 0.12 0.51 0.00 0.00 0.00 0.00 17:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:51:01 veth791edb1 0.27 0.28 0.02 0.02 0.00 0.00 0.00 0.00 17:51:01 veth45c8541 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:52:01 veth5fde872 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:52:01 ens3 0.98 0.97 0.16 0.39 0.00 0.00 0.00 0.00 17:52:01 vethab109ac 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:52:01 veth9d76093 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:53:01 veth5fde872 0.12 0.83 0.01 0.05 0.00 0.00 0.00 0.00 17:53:01 ens3 0.92 0.73 0.19 0.32 0.00 0.00 0.00 0.00 17:53:01 veth9d76093 0.22 1.00 0.11 0.08 0.00 0.00 0.00 0.00 17:53:01 docker0 10.60 13.85 1.83 50.63 0.00 0.00 0.00 0.00 17:54:01 veth5fde872 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:54:01 ens3 1.25 1.07 0.50 1.00 0.00 0.00 0.00 0.00 17:54:01 veth9d76093 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:55:01 veth5fde872 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:55:01 ens3 0.23 0.20 0.07 0.29 0.00 0.00 0.00 0.00 17:55:01 veth9d76093 0.00 0.02 0.00 0.00 0.00 0.00 0.00 0.00 17:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:56:01 ens3 49.89 45.21 117.06 20.40 0.00 0.00 0.00 0.00 17:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:56:01 br-f62acae42d19 312.10 323.56 155.27 73.54 0.00 0.00 0.00 0.00 17:56:01 lo 589.42 589.42 223.73 223.73 0.00 0.00 0.00 0.00 Average: ens3 15.05 9.68 169.59 2.91 0.00 0.00 0.00 0.00 Average: docker0 0.14 0.19 0.02 0.68 0.00 0.00 0.00 0.00 Average: br-f62acae42d19 4.22 4.37 2.10 0.99 0.00 0.00 0.00 0.00 Average: lo 7.92 7.92 3.02 3.02 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-5252) 11/27/23 _x86_64_ (8 CPU) 16:41:32 LINUX RESTART (8 CPU) 16:42:02 CPU %user %nice %system %iowait %steal %idle 16:43:01 all 10.65 0.00 1.01 3.65 0.04 84.65 16:43:01 0 20.81 0.00 1.46 5.39 0.05 72.28 16:43:01 1 20.43 0.00 1.70 1.72 0.05 76.10 16:43:01 2 12.46 0.00 1.04 1.51 0.03 84.95 16:43:01 3 4.80 0.00 0.71 0.87 0.02 93.61 16:43:01 4 7.31 0.00 0.63 1.31 0.02 90.74 16:43:01 5 13.80 0.00 1.02 0.66 0.05 84.47 16:43:01 6 2.48 0.00 0.47 0.53 0.05 96.47 16:43:01 7 3.09 0.00 1.00 17.25 0.05 78.60 16:44:01 all 9.57 0.00 0.67 3.32 0.03 86.42 16:44:01 0 27.57 0.00 1.52 2.54 0.05 68.32 16:44:01 1 21.57 0.00 1.17 5.17 0.05 72.04 16:44:01 2 3.59 0.00 0.37 6.48 0.02 89.54 16:44:01 3 6.57 0.00 0.58 1.08 0.02 91.74 16:44:01 4 13.50 0.00 0.92 0.20 0.03 85.35 16:44:01 5 1.47 0.00 0.28 0.00 0.00 98.25 16:44:01 6 1.32 0.00 0.12 0.00 0.03 98.53 16:44:01 7 0.94 0.00 0.42 11.04 0.03 87.57 16:45:01 all 7.22 0.00 2.26 6.78 0.05 83.69 16:45:01 0 4.72 0.00 1.73 0.55 0.03 92.96 16:45:01 1 8.06 0.00 2.20 5.58 0.03 84.12 16:45:01 2 5.70 0.00 2.27 2.16 0.07 89.80 16:45:01 3 11.08 0.00 2.08 11.78 0.07 75.00 16:45:01 4 10.60 0.00 2.15 0.29 0.05 86.91 16:45:01 5 4.60 0.00 1.85 0.19 0.05 93.32 16:45:01 6 4.60 0.00 2.52 0.00 0.05 92.84 16:45:01 7 8.40 0.00 3.28 33.85 0.07 54.40 16:46:01 all 5.19 0.00 1.81 8.10 0.64 84.26 16:46:01 0 3.90 0.00 1.79 0.64 1.44 92.24 16:46:01 1 8.80 0.00 1.88 5.06 0.17 84.10 16:46:01 2 4.94 0.00 1.43 0.95 0.08 92.60 16:46:01 3 5.36 0.00 1.92 23.71 0.37 68.64 16:46:01 4 5.96 0.00 1.63 2.05 1.48 88.88 16:46:01 5 4.17 0.00 1.71 18.68 0.74 74.70 16:46:01 6 4.24 0.00 1.76 6.22 0.70 87.08 16:46:01 7 4.08 0.00 2.40 7.69 0.12 85.71 16:47:01 all 3.14 0.00 1.28 2.87 0.04 92.68 16:47:01 0 2.66 0.00 1.29 9.84 0.03 86.19 16:47:01 1 4.16 0.00 1.36 0.20 0.03 94.25 16:47:01 2 3.01 0.00 1.34 2.31 0.05 93.29 16:47:01 3 3.13 0.00 1.46 3.27 0.03 92.11 16:47:01 4 3.12 0.00 1.16 1.51 0.03 94.19 16:47:01 5 2.68 0.00 1.14 2.93 0.05 93.20 16:47:01 6 2.96 0.00 1.21 2.16 0.03 93.64 16:47:01 7 3.38 0.00 1.29 0.72 0.03 94.57 16:48:01 all 0.39 0.00 0.18 1.88 0.01 97.54 16:48:01 0 0.20 0.00 0.10 13.51 0.02 86.17 16:48:01 1 0.20 0.00 0.17 0.00 0.02 99.62 16:48:01 2 0.30 0.00 0.22 0.00 0.02 99.47 16:48:01 3 0.62 0.00 0.23 0.03 0.02 99.10 16:48:01 4 0.57 0.00 0.32 0.17 0.02 98.93 16:48:01 5 0.78 0.00 0.17 1.30 0.02 97.73 16:48:01 6 0.25 0.00 0.12 0.00 0.02 99.62 16:48:01 7 0.22 0.00 0.13 0.00 0.02 99.63 16:49:01 all 0.11 0.00 0.05 1.45 0.01 98.38 16:49:01 0 0.07 0.00 0.05 11.51 0.00 88.37 16:49:01 1 0.05 0.00 0.02 0.00 0.00 99.93 16:49:01 2 0.10 0.00 0.10 0.00 0.02 99.78 16:49:01 3 0.27 0.00 0.10 0.00 0.00 99.63 16:49:01 4 0.07 0.00 0.02 0.00 0.00 99.92 16:49:01 5 0.08 0.00 0.03 0.00 0.00 99.88 16:49:01 6 0.17 0.00 0.05 0.05 0.00 99.73 16:49:01 7 0.07 0.00 0.07 0.00 0.00 99.87 16:50:01 all 3.94 0.00 1.91 3.71 0.07 90.37 16:50:01 0 2.71 0.00 1.99 9.83 0.12 85.35 16:50:01 1 4.29 0.00 1.99 1.64 0.07 92.01 16:50:01 2 4.37 0.00 1.99 3.86 0.07 89.71 16:50:01 3 4.84 0.00 1.78 1.29 0.08 92.00 16:50:01 4 3.37 0.00 1.64 7.55 0.07 87.37 16:50:01 5 2.96 0.00 2.03 2.64 0.07 92.31 16:50:01 6 3.26 0.00 2.13 1.54 0.08 92.98 16:50:01 7 5.72 0.00 1.74 1.29 0.07 91.17 16:51:01 all 0.55 0.00 0.18 1.34 0.01 97.92 16:51:01 0 0.30 0.00 0.12 0.00 0.02 99.57 16:51:01 1 0.25 0.00 0.20 0.00 0.03 99.52 16:51:01 2 1.15 0.00 0.28 0.00 0.02 98.55 16:51:01 3 0.85 0.00 0.35 0.45 0.02 98.33 16:51:01 4 0.30 0.00 0.12 10.01 0.00 89.57 16:51:01 5 0.95 0.00 0.15 0.25 0.02 98.63 16:51:01 6 0.27 0.00 0.10 0.00 0.00 99.63 16:51:01 7 0.30 0.00 0.12 0.02 0.02 99.55 16:52:01 all 0.10 0.00 0.04 0.93 0.01 98.91 16:52:01 0 0.07 0.00 0.02 0.00 0.00 99.92 16:52:01 1 0.15 0.00 0.05 0.00 0.02 99.78 16:52:01 2 0.10 0.00 0.07 0.02 0.02 99.80 16:52:01 3 0.17 0.00 0.08 0.00 0.02 99.73 16:52:01 4 0.03 0.00 0.03 7.44 0.00 92.50 16:52:01 5 0.13 0.00 0.07 0.00 0.03 99.77 16:52:01 6 0.07 0.00 0.00 0.00 0.02 99.92 16:52:01 7 0.07 0.00 0.02 0.00 0.00 99.92 16:53:01 all 4.06 0.00 1.76 1.14 0.09 92.96 16:53:01 0 4.24 0.00 1.77 0.56 0.07 93.37 16:53:01 1 2.36 0.00 1.93 1.56 0.07 94.08 16:53:01 2 2.72 0.00 1.81 0.13 0.03 95.31 16:53:01 3 4.67 0.00 1.83 0.44 0.05 93.02 16:53:01 4 4.21 0.00 1.81 5.27 0.05 88.66 16:53:01 5 2.97 0.00 1.61 0.40 0.07 94.95 16:53:01 6 8.10 0.00 1.51 0.05 0.29 90.06 16:53:01 7 3.22 0.00 1.83 0.70 0.07 94.18 16:53:01 CPU %user %nice %system %iowait %steal %idle 16:54:01 all 0.52 0.00 0.20 0.01 0.01 99.26 16:54:01 0 0.50 0.00 0.27 0.02 0.02 99.20 16:54:01 1 0.45 0.00 0.18 0.00 0.02 99.35 16:54:01 2 0.25 0.00 0.17 0.03 0.02 99.53 16:54:01 3 0.45 0.00 0.17 0.02 0.02 99.35 16:54:01 4 0.77 0.00 0.22 0.00 0.02 99.00 16:54:01 5 0.25 0.00 0.08 0.03 0.00 99.63 16:54:01 6 1.13 0.00 0.28 0.00 0.02 98.57 16:54:01 7 0.35 0.00 0.18 0.00 0.02 99.45 16:55:01 all 0.10 0.00 0.04 0.00 0.01 99.85 16:55:01 0 0.13 0.00 0.05 0.02 0.00 99.80 16:55:01 1 0.15 0.00 0.03 0.00 0.03 99.78 16:55:01 2 0.07 0.00 0.05 0.02 0.02 99.85 16:55:01 3 0.15 0.00 0.03 0.00 0.00 99.82 16:55:01 4 0.05 0.00 0.05 0.02 0.00 99.88 16:55:01 5 0.13 0.00 0.10 0.00 0.00 99.77 16:55:01 6 0.07 0.00 0.02 0.00 0.00 99.92 16:55:01 7 0.05 0.00 0.03 0.00 0.00 99.92 16:56:01 all 2.67 0.00 1.19 0.34 0.03 95.76 16:56:01 0 2.38 0.00 1.39 0.64 0.03 95.56 16:56:01 1 4.22 0.00 1.05 0.13 0.03 94.56 16:56:01 2 2.21 0.00 1.42 0.95 0.02 95.40 16:56:01 3 2.55 0.00 1.32 0.82 0.07 95.24 16:56:01 4 3.64 0.00 1.17 0.00 0.03 95.16 16:56:01 5 2.80 0.00 0.94 0.00 0.03 96.22 16:56:01 6 2.22 0.00 1.07 0.08 0.02 96.61 16:56:01 7 1.34 0.00 1.15 0.10 0.02 97.40 16:57:01 all 1.61 0.00 0.67 0.13 0.03 97.57 16:57:01 0 1.24 0.00 0.63 0.07 0.03 98.03 16:57:01 1 0.93 0.00 0.83 0.02 0.02 98.20 16:57:01 2 2.01 0.00 0.47 0.10 0.03 97.39 16:57:01 3 0.80 0.00 0.60 0.52 0.02 98.06 16:57:01 4 3.29 0.00 0.75 0.05 0.03 95.88 16:57:01 5 2.36 0.00 0.70 0.03 0.03 96.87 16:57:01 6 1.35 0.00 0.65 0.03 0.03 97.93 16:57:01 7 0.88 0.00 0.68 0.18 0.02 98.23 16:58:01 all 0.33 0.00 0.15 0.01 0.01 99.50 16:58:01 0 0.37 0.00 0.18 0.00 0.02 99.43 16:58:01 1 0.30 0.00 0.13 0.00 0.00 99.57 16:58:01 2 0.18 0.00 0.20 0.00 0.02 99.60 16:58:01 3 0.17 0.00 0.12 0.02 0.02 99.68 16:58:01 4 0.30 0.00 0.12 0.00 0.00 99.58 16:58:01 5 0.89 0.00 0.22 0.02 0.02 98.86 16:58:01 6 0.27 0.00 0.12 0.00 0.00 99.62 16:58:01 7 0.20 0.00 0.12 0.02 0.02 99.65 16:59:01 all 0.09 0.00 0.04 0.00 0.01 99.85 16:59:01 0 0.15 0.00 0.05 0.00 0.02 99.78 16:59:01 1 0.10 0.00 0.08 0.00 0.02 99.80 16:59:01 2 0.15 0.00 0.05 0.00 0.02 99.78 16:59:01 3 0.12 0.00 0.05 0.02 0.00 99.82 16:59:01 4 0.05 0.00 0.03 0.00 0.02 99.90 16:59:01 5 0.07 0.00 0.02 0.00 0.00 99.92 16:59:01 6 0.07 0.00 0.02 0.00 0.02 99.90 16:59:01 7 0.03 0.00 0.02 0.00 0.00 99.95 17:00:01 all 3.54 0.00 1.91 4.21 0.07 90.27 17:00:01 0 2.67 0.00 1.87 5.48 0.03 89.94 17:00:01 1 2.45 0.00 1.78 3.88 0.05 91.84 17:00:01 2 2.55 0.00 1.83 2.72 0.13 92.77 17:00:01 3 3.63 0.00 2.21 6.66 0.08 87.41 17:00:01 4 2.52 0.00 1.70 1.50 0.07 94.22 17:00:01 5 3.36 0.00 1.72 9.76 0.07 85.09 17:00:01 6 4.59 0.00 2.32 1.88 0.05 91.16 17:00:01 7 6.50 0.00 1.84 1.75 0.05 89.86 17:01:01 all 0.46 0.00 0.17 0.01 0.01 99.35 17:01:01 0 0.32 0.00 0.13 0.00 0.02 99.53 17:01:01 1 0.15 0.00 0.12 0.00 0.02 99.72 17:01:01 2 0.37 0.00 0.17 0.00 0.02 99.45 17:01:01 3 0.98 0.00 0.35 0.00 0.00 98.67 17:01:01 4 0.38 0.00 0.17 0.03 0.02 99.40 17:01:01 5 0.38 0.00 0.17 0.02 0.02 99.42 17:01:01 6 0.95 0.00 0.23 0.00 0.02 98.80 17:01:01 7 0.20 0.00 0.08 0.00 0.00 99.72 17:02:01 all 0.13 0.00 0.06 0.00 0.01 99.80 17:02:01 0 0.08 0.00 0.03 0.00 0.00 99.88 17:02:01 1 0.08 0.00 0.07 0.00 0.02 99.83 17:02:01 2 0.10 0.00 0.03 0.00 0.00 99.87 17:02:01 3 0.03 0.00 0.07 0.00 0.00 99.90 17:02:01 4 0.07 0.00 0.07 0.02 0.00 99.85 17:02:01 5 0.55 0.00 0.10 0.02 0.00 99.33 17:02:01 6 0.10 0.00 0.05 0.00 0.03 99.82 17:02:01 7 0.03 0.00 0.02 0.00 0.02 99.93 17:03:01 all 4.41 0.00 1.75 0.33 0.05 93.46 17:03:01 0 3.49 0.00 2.16 0.23 0.03 94.08 17:03:01 1 5.27 0.00 1.61 0.07 0.07 92.99 17:03:01 2 5.03 0.00 1.91 0.50 0.05 92.51 17:03:01 3 2.39 0.00 1.71 0.47 0.07 95.36 17:03:01 4 7.04 0.00 1.54 0.08 0.05 91.28 17:03:01 5 4.06 0.00 1.50 0.63 0.05 93.77 17:03:01 6 3.42 0.00 1.83 0.57 0.07 94.11 17:03:01 7 4.57 0.00 1.76 0.07 0.03 93.57 17:04:01 all 0.47 0.00 0.22 0.09 0.01 99.21 17:04:01 0 0.12 0.00 0.17 0.20 0.02 99.50 17:04:01 1 0.13 0.00 0.13 0.00 0.00 99.73 17:04:01 2 1.43 0.00 0.45 0.00 0.00 98.12 17:04:01 3 0.23 0.00 0.17 0.02 0.00 99.58 17:04:01 4 0.49 0.00 0.22 0.02 0.02 99.26 17:04:01 5 0.20 0.00 0.22 0.00 0.02 99.57 17:04:01 6 0.90 0.00 0.23 0.42 0.03 98.42 17:04:01 7 0.27 0.00 0.15 0.08 0.00 99.50 17:04:01 CPU %user %nice %system %iowait %steal %idle 17:05:01 all 0.18 0.00 0.05 0.07 0.01 99.69 17:05:01 0 0.20 0.00 0.07 0.48 0.02 99.23 17:05:01 1 0.08 0.00 0.05 0.00 0.00 99.87 17:05:01 2 0.10 0.00 0.05 0.00 0.02 99.83 17:05:01 3 0.12 0.00 0.08 0.00 0.02 99.78 17:05:01 4 0.07 0.00 0.02 0.00 0.02 99.90 17:05:01 5 0.62 0.00 0.02 0.00 0.00 99.37 17:05:01 6 0.18 0.00 0.08 0.12 0.02 99.60 17:05:01 7 0.08 0.00 0.02 0.00 0.02 99.88 17:06:01 all 2.21 0.00 1.16 0.30 0.04 96.29 17:06:01 0 2.86 0.00 1.42 0.27 0.03 95.42 17:06:01 1 2.62 0.00 1.10 0.18 0.10 95.99 17:06:01 2 1.69 0.00 0.90 0.12 0.03 97.25 17:06:01 3 2.51 0.00 1.06 0.10 0.05 96.28 17:06:01 4 1.61 0.00 1.09 0.22 0.02 97.07 17:06:01 5 1.91 0.00 1.26 0.44 0.02 96.37 17:06:01 6 2.16 0.00 1.15 1.00 0.03 95.65 17:06:01 7 2.36 0.00 1.22 0.10 0.03 96.28 17:07:01 all 1.70 0.00 0.75 0.18 0.02 97.35 17:07:01 0 1.87 0.00 0.82 0.02 0.02 97.28 17:07:01 1 2.52 0.00 0.67 0.40 0.02 96.40 17:07:01 2 1.35 0.00 0.94 0.17 0.03 97.51 17:07:01 3 1.00 0.00 0.63 0.00 0.02 98.35 17:07:01 4 2.09 0.00 0.95 0.05 0.02 96.90 17:07:01 5 1.73 0.00 0.67 0.18 0.03 97.39 17:07:01 6 1.97 0.00 0.70 0.45 0.03 96.85 17:07:01 7 1.05 0.00 0.63 0.10 0.02 98.20 17:08:01 all 0.31 0.00 0.14 0.03 0.01 99.52 17:08:01 0 0.15 0.00 0.08 0.02 0.02 99.73 17:08:01 1 0.98 0.00 0.30 0.00 0.00 98.72 17:08:01 2 0.27 0.00 0.17 0.03 0.00 99.53 17:08:01 3 0.20 0.00 0.15 0.02 0.02 99.62 17:08:01 4 0.27 0.00 0.13 0.00 0.02 99.58 17:08:01 5 0.15 0.00 0.08 0.00 0.00 99.77 17:08:01 6 0.33 0.00 0.17 0.13 0.00 99.37 17:08:01 7 0.17 0.00 0.08 0.00 0.02 99.73 17:09:01 all 0.09 0.00 0.05 0.00 0.01 99.84 17:09:01 0 0.13 0.00 0.07 0.00 0.02 99.78 17:09:01 1 0.07 0.00 0.07 0.00 0.02 99.85 17:09:01 2 0.25 0.00 0.12 0.00 0.03 99.60 17:09:01 3 0.03 0.00 0.05 0.02 0.00 99.90 17:09:01 4 0.08 0.00 0.03 0.00 0.00 99.88 17:09:01 5 0.02 0.00 0.00 0.00 0.00 99.98 17:09:01 6 0.03 0.00 0.00 0.02 0.00 99.95 17:09:01 7 0.08 0.00 0.07 0.00 0.02 99.83 17:10:01 all 4.21 0.00 1.81 0.33 0.05 93.60 17:10:01 0 6.63 0.00 1.79 0.17 0.03 91.38 17:10:01 1 3.76 0.00 1.84 0.15 0.05 94.20 17:10:01 2 3.38 0.00 1.81 0.45 0.05 94.31 17:10:01 3 4.24 0.00 1.83 0.59 0.05 93.30 17:10:01 4 2.31 0.00 1.86 0.12 0.05 95.66 17:10:01 5 4.67 0.00 1.69 0.17 0.07 93.41 17:10:01 6 2.93 0.00 1.76 0.65 0.03 94.62 17:10:01 7 5.76 0.00 1.94 0.37 0.03 91.90 17:11:01 all 0.51 0.00 0.19 0.03 0.01 99.25 17:11:01 0 0.77 0.00 0.18 0.02 0.03 99.00 17:11:01 1 0.15 0.00 0.12 0.00 0.00 99.73 17:11:01 2 0.75 0.00 0.23 0.00 0.02 99.00 17:11:01 3 1.02 0.00 0.27 0.02 0.00 98.70 17:11:01 4 0.28 0.00 0.18 0.00 0.02 99.52 17:11:01 5 0.42 0.00 0.20 0.00 0.02 99.37 17:11:01 6 0.43 0.00 0.15 0.20 0.02 99.20 17:11:01 7 0.22 0.00 0.17 0.02 0.02 99.58 17:12:01 all 0.11 0.00 0.04 0.01 0.01 99.82 17:12:01 0 0.27 0.00 0.03 0.07 0.00 99.63 17:12:01 1 0.08 0.00 0.05 0.00 0.02 99.85 17:12:01 2 0.03 0.00 0.03 0.03 0.00 99.90 17:12:01 3 0.05 0.00 0.02 0.00 0.00 99.93 17:12:01 4 0.10 0.00 0.07 0.00 0.00 99.83 17:12:01 5 0.20 0.00 0.10 0.00 0.02 99.68 17:12:01 6 0.08 0.00 0.03 0.00 0.02 99.87 17:12:01 7 0.12 0.00 0.03 0.00 0.02 99.83 17:13:01 all 3.38 0.00 1.78 0.93 0.05 93.86 17:13:01 0 2.72 0.00 1.89 2.38 0.05 92.96 17:13:01 1 2.48 0.00 1.79 0.62 0.07 95.05 17:13:01 2 4.92 0.00 1.93 1.02 0.03 92.09 17:13:01 3 2.18 0.00 1.73 1.34 0.05 94.70 17:13:01 4 4.12 0.00 2.08 0.39 0.07 93.35 17:13:01 5 3.98 0.00 1.50 1.14 0.07 93.31 17:13:01 6 3.97 0.00 1.73 0.47 0.05 93.78 17:13:01 7 2.65 0.00 1.59 0.10 0.03 95.62 17:14:01 all 0.48 0.00 0.18 0.02 0.01 99.31 17:14:01 0 0.23 0.00 0.13 0.00 0.00 99.63 17:14:01 1 0.23 0.00 0.20 0.00 0.00 99.57 17:14:01 2 1.23 0.00 0.32 0.00 0.02 98.43 17:14:01 3 0.42 0.00 0.20 0.00 0.02 99.37 17:14:01 4 0.43 0.00 0.18 0.02 0.02 99.35 17:14:01 5 0.22 0.00 0.10 0.05 0.00 99.63 17:14:01 6 0.90 0.00 0.18 0.00 0.00 98.92 17:14:01 7 0.20 0.00 0.10 0.05 0.02 99.63 17:15:01 all 0.09 0.00 0.05 0.00 0.01 99.85 17:15:01 0 0.05 0.00 0.02 0.00 0.00 99.93 17:15:01 1 0.07 0.00 0.02 0.00 0.02 99.90 17:15:01 2 0.07 0.00 0.03 0.00 0.02 99.88 17:15:01 3 0.13 0.00 0.05 0.00 0.02 99.80 17:15:01 4 0.08 0.00 0.05 0.00 0.02 99.85 17:15:01 5 0.12 0.00 0.08 0.02 0.02 99.77 17:15:01 6 0.08 0.00 0.08 0.02 0.03 99.78 17:15:01 7 0.12 0.00 0.03 0.02 0.00 99.83 17:15:01 CPU %user %nice %system %iowait %steal %idle 17:16:01 all 3.68 0.00 1.50 0.61 0.06 94.15 17:16:01 0 3.37 0.00 1.51 0.72 0.05 94.35 17:16:01 1 2.52 0.00 1.50 0.08 0.03 95.86 17:16:01 2 4.49 0.00 1.66 0.55 0.03 93.27 17:16:01 3 2.48 0.00 1.53 0.37 0.13 95.49 17:16:01 4 3.90 0.00 1.41 0.13 0.05 94.51 17:16:01 5 5.71 0.00 1.49 0.54 0.03 92.23 17:16:01 6 2.97 0.00 1.47 2.01 0.05 93.50 17:16:01 7 4.02 0.00 1.47 0.40 0.08 94.02 17:17:01 all 0.91 0.00 0.41 0.04 0.02 98.62 17:17:01 0 0.73 0.00 0.48 0.00 0.02 98.77 17:17:01 1 1.30 0.00 0.30 0.03 0.03 98.34 17:17:01 2 0.53 0.00 0.33 0.00 0.02 99.12 17:17:01 3 0.70 0.00 0.43 0.00 0.05 98.81 17:17:01 4 1.80 0.00 0.67 0.02 0.03 97.48 17:17:01 5 0.85 0.00 0.52 0.00 0.02 98.62 17:17:01 6 0.43 0.00 0.27 0.00 0.02 99.28 17:17:01 7 0.95 0.00 0.23 0.28 0.02 98.51 17:18:01 all 0.08 0.00 0.04 0.00 0.01 99.86 17:18:01 0 0.08 0.00 0.02 0.00 0.02 99.88 17:18:01 1 0.10 0.00 0.05 0.00 0.02 99.83 17:18:01 2 0.07 0.00 0.02 0.00 0.00 99.92 17:18:01 3 0.05 0.00 0.07 0.00 0.02 99.87 17:18:01 4 0.03 0.00 0.02 0.00 0.00 99.95 17:18:01 5 0.07 0.00 0.07 0.03 0.00 99.83 17:18:01 6 0.17 0.00 0.08 0.00 0.00 99.75 17:18:01 7 0.03 0.00 0.05 0.02 0.02 99.88 17:19:01 all 0.80 0.00 0.60 0.07 0.02 98.52 17:19:01 0 0.55 0.00 0.57 0.02 0.02 98.85 17:19:01 1 1.44 0.00 0.48 0.13 0.03 97.91 17:19:01 2 0.40 0.00 0.62 0.02 0.00 98.97 17:19:01 3 0.42 0.00 0.58 0.03 0.05 98.91 17:19:01 4 0.43 0.00 0.67 0.03 0.02 98.85 17:19:01 5 0.62 0.00 0.62 0.05 0.02 98.70 17:19:01 6 1.25 0.00 0.60 0.07 0.02 98.06 17:19:01 7 1.24 0.00 0.67 0.20 0.02 97.88 17:20:01 all 3.67 0.00 1.24 0.28 0.05 94.77 17:20:01 0 3.04 0.00 1.42 0.13 0.03 95.37 17:20:01 1 2.51 0.00 1.34 0.85 0.03 95.27 17:20:01 2 4.35 0.00 1.28 0.13 0.07 94.17 17:20:01 3 6.54 0.00 0.92 0.13 0.05 92.36 17:20:01 4 3.31 0.00 1.27 0.05 0.03 95.34 17:20:01 5 4.20 0.00 1.46 0.10 0.03 94.21 17:20:01 6 3.47 0.00 1.12 0.10 0.05 95.26 17:20:01 7 1.98 0.00 1.07 0.67 0.05 96.23 17:21:01 all 0.60 0.00 0.17 0.03 0.01 99.19 17:21:01 0 0.32 0.00 0.08 0.02 0.02 99.57 17:21:01 1 0.13 0.00 0.15 0.20 0.02 99.50 17:21:01 2 2.13 0.00 0.08 0.00 0.00 97.78 17:21:01 3 0.47 0.00 0.28 0.00 0.03 99.22 17:21:01 4 0.70 0.00 0.15 0.00 0.00 99.15 17:21:01 5 0.55 0.00 0.28 0.00 0.02 99.15 17:21:01 6 0.20 0.00 0.20 0.00 0.00 99.60 17:21:01 7 0.23 0.00 0.13 0.00 0.00 99.63 17:22:01 all 0.27 0.00 0.04 0.01 0.01 99.66 17:22:01 0 0.12 0.00 0.03 0.00 0.00 99.85 17:22:01 1 0.05 0.00 0.02 0.07 0.00 99.87 17:22:01 2 1.58 0.00 0.07 0.00 0.03 98.32 17:22:01 3 0.12 0.00 0.08 0.00 0.03 99.77 17:22:01 4 0.08 0.00 0.08 0.00 0.02 99.82 17:22:01 5 0.08 0.00 0.05 0.00 0.00 99.87 17:22:01 6 0.05 0.00 0.02 0.00 0.02 99.92 17:22:01 7 0.08 0.00 0.02 0.00 0.02 99.88 17:23:01 all 3.97 0.00 1.73 0.34 0.05 93.91 17:23:01 0 4.25 0.00 2.14 0.45 0.05 93.10 17:23:01 1 3.14 0.00 1.79 0.42 0.03 94.62 17:23:01 2 3.91 0.00 1.53 0.18 0.05 94.33 17:23:01 3 4.32 0.00 1.66 0.15 0.05 93.82 17:23:01 4 2.87 0.00 1.54 0.84 0.05 94.70 17:23:01 5 4.27 0.00 1.89 0.37 0.07 93.41 17:23:01 6 5.01 0.00 1.62 0.13 0.03 93.20 17:23:01 7 3.97 0.00 1.74 0.23 0.03 94.02 17:24:01 all 0.55 0.00 0.20 0.01 0.01 99.23 17:24:01 0 1.68 0.00 0.38 0.00 0.02 97.92 17:24:01 1 0.23 0.00 0.12 0.00 0.02 99.63 17:24:01 2 1.17 0.00 0.31 0.00 0.02 98.49 17:24:01 3 0.27 0.00 0.13 0.00 0.02 99.58 17:24:01 4 0.22 0.00 0.15 0.02 0.00 99.62 17:24:01 5 0.40 0.00 0.22 0.00 0.00 99.38 17:24:01 6 0.10 0.00 0.08 0.05 0.02 99.75 17:24:01 7 0.33 0.00 0.17 0.00 0.02 99.48 17:25:01 all 0.12 0.00 0.04 0.01 0.01 99.83 17:25:01 0 0.03 0.00 0.02 0.00 0.00 99.95 17:25:01 1 0.05 0.00 0.02 0.00 0.00 99.93 17:25:01 2 0.02 0.00 0.00 0.00 0.00 99.98 17:25:01 3 0.15 0.00 0.07 0.00 0.02 99.77 17:25:01 4 0.08 0.00 0.03 0.05 0.02 99.82 17:25:01 5 0.10 0.00 0.05 0.00 0.02 99.83 17:25:01 6 0.07 0.00 0.07 0.00 0.02 99.85 17:25:01 7 0.43 0.00 0.03 0.00 0.02 99.52 17:26:01 all 3.39 0.00 1.74 0.34 0.05 94.47 17:26:01 0 3.45 0.00 1.79 0.45 0.07 94.24 17:26:01 1 4.05 0.00 2.14 0.28 0.08 93.45 17:26:01 2 6.02 0.00 1.68 0.10 0.03 92.17 17:26:01 3 2.75 0.00 1.61 0.35 0.05 95.24 17:26:01 4 2.36 0.00 1.56 0.59 0.03 95.46 17:26:01 5 3.35 0.00 1.78 0.30 0.05 94.52 17:26:01 6 1.96 0.00 1.54 0.34 0.05 96.10 17:26:01 7 3.23 0.00 1.81 0.32 0.05 94.59 17:26:01 CPU %user %nice %system %iowait %steal %idle 17:27:01 all 0.51 0.00 0.20 0.05 0.01 99.24 17:27:01 0 1.52 0.00 0.30 0.00 0.02 98.16 17:27:01 1 0.87 0.00 0.38 0.05 0.02 98.68 17:27:01 2 0.32 0.00 0.12 0.00 0.02 99.55 17:27:01 3 0.50 0.00 0.23 0.05 0.02 99.20 17:27:01 4 0.18 0.00 0.12 0.00 0.00 99.70 17:27:01 5 0.25 0.00 0.08 0.00 0.02 99.65 17:27:01 6 0.17 0.00 0.12 0.07 0.02 99.63 17:27:01 7 0.27 0.00 0.18 0.22 0.00 99.33 17:28:01 all 0.10 0.00 0.03 0.01 0.01 99.86 17:28:01 0 0.25 0.00 0.03 0.00 0.02 99.70 17:28:01 1 0.07 0.00 0.05 0.00 0.02 99.87 17:28:01 2 0.07 0.00 0.02 0.00 0.00 99.92 17:28:01 3 0.07 0.00 0.07 0.00 0.00 99.87 17:28:01 4 0.10 0.00 0.07 0.00 0.02 99.82 17:28:01 5 0.00 0.00 0.02 0.00 0.00 99.98 17:28:01 6 0.17 0.00 0.03 0.05 0.02 99.73 17:28:01 7 0.03 0.00 0.03 0.02 0.00 99.92 17:29:01 all 2.57 0.00 1.15 0.54 0.03 95.71 17:29:01 0 2.45 0.00 1.08 0.30 0.02 96.16 17:29:01 1 2.33 0.00 1.22 0.62 0.05 95.78 17:29:01 2 2.89 0.00 1.15 0.89 0.03 95.04 17:29:01 3 2.64 0.00 1.27 0.33 0.03 95.72 17:29:01 4 2.39 0.00 1.09 0.22 0.03 96.27 17:29:01 5 3.26 0.00 1.05 0.20 0.03 95.45 17:29:01 6 1.99 0.00 1.07 1.04 0.03 95.87 17:29:01 7 2.58 0.00 1.22 0.72 0.05 95.43 17:30:01 all 1.33 0.00 0.67 0.06 0.03 97.91 17:30:01 0 0.80 0.00 0.69 0.00 0.05 98.46 17:30:01 1 1.87 0.00 0.75 0.00 0.02 97.36 17:30:01 2 1.07 0.00 0.58 0.08 0.02 98.25 17:30:01 3 1.27 0.00 0.63 0.08 0.03 97.98 17:30:01 4 1.67 0.00 0.55 0.00 0.02 97.76 17:30:01 5 1.97 0.00 0.85 0.02 0.02 97.14 17:30:01 6 0.97 0.00 0.67 0.30 0.02 98.05 17:30:01 7 1.05 0.00 0.62 0.00 0.02 98.31 17:31:01 all 0.34 0.00 0.13 0.00 0.01 99.52 17:31:01 0 0.80 0.00 0.13 0.03 0.00 99.03 17:31:01 1 0.28 0.00 0.15 0.00 0.02 99.55 17:31:01 2 0.15 0.00 0.12 0.00 0.03 99.70 17:31:01 3 0.47 0.00 0.20 0.00 0.00 99.33 17:31:01 4 0.13 0.00 0.07 0.00 0.02 99.78 17:31:01 5 0.47 0.00 0.17 0.00 0.00 99.37 17:31:01 6 0.25 0.00 0.10 0.02 0.02 99.62 17:31:01 7 0.18 0.00 0.13 0.00 0.00 99.68 17:32:01 all 0.12 0.00 0.04 0.00 0.01 99.82 17:32:01 0 0.30 0.00 0.02 0.00 0.02 99.67 17:32:01 1 0.13 0.00 0.03 0.00 0.02 99.82 17:32:01 2 0.07 0.00 0.07 0.00 0.02 99.85 17:32:01 3 0.07 0.00 0.02 0.00 0.00 99.92 17:32:01 4 0.05 0.00 0.02 0.00 0.00 99.93 17:32:01 5 0.03 0.00 0.00 0.00 0.02 99.95 17:32:01 6 0.07 0.00 0.00 0.02 0.00 99.92 17:32:01 7 0.23 0.00 0.12 0.00 0.05 99.60 17:33:01 all 3.69 0.00 1.83 0.38 0.05 94.04 17:33:01 0 2.63 0.00 1.89 0.07 0.05 95.36 17:33:01 1 3.18 0.00 1.97 0.07 0.03 94.75 17:33:01 2 2.25 0.00 1.76 0.47 0.07 95.46 17:33:01 3 2.82 0.00 1.55 0.62 0.05 94.96 17:33:01 4 5.18 0.00 1.78 0.64 0.05 92.36 17:33:01 5 4.19 0.00 1.84 0.30 0.05 93.62 17:33:01 6 2.90 0.00 2.19 0.79 0.07 94.06 17:33:01 7 6.35 0.00 1.71 0.15 0.05 91.74 17:34:01 all 0.52 0.00 0.19 0.02 0.01 99.26 17:34:01 0 0.33 0.00 0.25 0.00 0.02 99.40 17:34:01 1 0.20 0.00 0.07 0.15 0.02 99.57 17:34:01 2 0.23 0.00 0.13 0.00 0.02 99.62 17:34:01 3 0.25 0.00 0.20 0.00 0.02 99.53 17:34:01 4 0.38 0.00 0.17 0.02 0.02 99.42 17:34:01 5 0.52 0.00 0.12 0.00 0.00 99.37 17:34:01 6 1.36 0.00 0.30 0.00 0.02 98.32 17:34:01 7 0.92 0.00 0.28 0.00 0.00 98.80 17:35:01 all 0.12 0.00 0.03 0.01 0.01 99.84 17:35:01 0 0.38 0.00 0.03 0.00 0.02 99.57 17:35:01 1 0.17 0.00 0.07 0.05 0.03 99.68 17:35:01 2 0.05 0.00 0.05 0.00 0.00 99.90 17:35:01 3 0.12 0.00 0.05 0.00 0.00 99.83 17:35:01 4 0.07 0.00 0.00 0.00 0.00 99.93 17:35:01 5 0.05 0.00 0.03 0.02 0.02 99.88 17:35:01 6 0.05 0.00 0.02 0.00 0.00 99.93 17:35:01 7 0.02 0.00 0.02 0.00 0.02 99.95 17:36:01 all 3.73 0.00 1.81 1.01 0.05 93.39 17:36:01 0 3.49 0.00 2.22 0.40 0.05 93.83 17:36:01 1 3.38 0.00 1.94 1.02 0.05 93.61 17:36:01 2 4.60 0.00 1.78 2.53 0.05 91.04 17:36:01 3 2.76 0.00 1.72 0.45 0.03 95.03 17:36:01 4 2.57 0.00 1.48 0.56 0.07 95.32 17:36:01 5 3.77 0.00 1.98 1.11 0.03 93.11 17:36:01 6 4.19 0.00 1.63 0.64 0.05 93.50 17:36:01 7 5.12 0.00 1.71 1.36 0.03 91.78 17:37:01 all 0.52 0.00 0.20 0.29 0.02 98.97 17:37:01 0 0.95 0.00 0.27 0.43 0.03 98.32 17:37:01 1 0.30 0.00 0.25 0.07 0.03 99.35 17:37:01 2 0.28 0.00 0.15 0.02 0.02 99.53 17:37:01 3 0.17 0.00 0.08 0.97 0.02 98.77 17:37:01 4 0.72 0.00 0.15 0.85 0.02 98.26 17:37:01 5 0.50 0.00 0.15 0.02 0.02 99.32 17:37:01 6 0.15 0.00 0.20 0.00 0.02 99.63 17:37:01 7 1.05 0.00 0.38 0.00 0.02 98.55 17:37:01 CPU %user %nice %system %iowait %steal %idle 17:38:01 all 0.18 0.00 0.04 0.00 0.01 99.76 17:38:01 0 0.15 0.00 0.10 0.00 0.02 99.73 17:38:01 1 0.13 0.00 0.07 0.00 0.02 99.78 17:38:01 2 0.03 0.00 0.02 0.00 0.00 99.95 17:38:01 3 0.07 0.00 0.02 0.03 0.00 99.88 17:38:01 4 0.85 0.00 0.03 0.00 0.03 99.09 17:38:01 5 0.08 0.00 0.05 0.00 0.00 99.87 17:38:01 6 0.10 0.00 0.03 0.00 0.00 99.87 17:38:01 7 0.05 0.00 0.03 0.00 0.02 99.90 17:39:01 all 2.75 0.00 1.32 0.49 0.04 95.39 17:39:01 0 2.29 0.00 1.39 0.27 0.05 96.00 17:39:01 1 4.23 0.00 1.34 0.72 0.03 93.67 17:39:01 2 2.42 0.00 1.40 0.05 0.03 96.09 17:39:01 3 2.48 0.00 1.40 1.22 0.03 94.87 17:39:01 4 2.79 0.00 1.31 0.17 0.07 95.67 17:39:01 5 2.01 0.00 1.09 0.07 0.03 96.80 17:39:01 6 3.80 0.00 1.42 0.84 0.05 93.89 17:39:01 7 1.96 0.00 1.22 0.64 0.05 96.13 17:40:01 all 1.08 0.00 0.52 0.02 0.02 98.36 17:40:01 0 1.70 0.00 0.62 0.02 0.02 97.65 17:40:01 1 0.73 0.00 0.45 0.00 0.02 98.80 17:40:01 2 0.84 0.00 0.40 0.02 0.02 98.73 17:40:01 3 0.83 0.00 0.48 0.03 0.02 98.63 17:40:01 4 2.14 0.00 0.83 0.00 0.02 97.01 17:40:01 5 0.79 0.00 0.40 0.05 0.02 98.75 17:40:01 6 0.87 0.00 0.48 0.02 0.02 98.61 17:40:01 7 0.77 0.00 0.45 0.00 0.02 98.76 17:41:01 all 0.15 0.00 0.07 0.01 0.01 99.77 17:41:01 0 0.10 0.00 0.08 0.00 0.02 99.80 17:41:01 1 0.03 0.00 0.02 0.00 0.00 99.95 17:41:01 2 0.07 0.00 0.07 0.00 0.00 99.87 17:41:01 3 0.08 0.00 0.03 0.02 0.00 99.87 17:41:01 4 0.08 0.00 0.08 0.02 0.02 99.80 17:41:01 5 0.52 0.00 0.10 0.02 0.02 99.35 17:41:01 6 0.10 0.00 0.07 0.00 0.00 99.83 17:41:01 7 0.18 0.00 0.17 0.00 0.00 99.65 17:42:01 all 0.35 0.00 0.37 0.05 0.02 99.20 17:42:01 0 0.28 0.00 0.42 0.03 0.02 99.25 17:42:01 1 0.30 0.00 0.27 0.00 0.02 99.42 17:42:01 2 0.32 0.00 0.28 0.02 0.02 99.37 17:42:01 3 0.32 0.00 0.48 0.22 0.02 98.97 17:42:01 4 0.28 0.00 0.37 0.07 0.03 99.25 17:42:01 5 0.27 0.00 0.32 0.02 0.02 99.38 17:42:01 6 0.69 0.00 0.42 0.02 0.05 98.83 17:42:01 7 0.33 0.00 0.45 0.05 0.03 99.13 17:43:01 all 3.26 0.00 1.47 0.16 0.03 95.08 17:43:01 0 4.35 0.00 1.46 0.10 0.03 94.06 17:43:01 1 3.60 0.00 1.47 0.07 0.05 94.81 17:43:01 2 2.42 0.00 1.75 0.05 0.02 95.76 17:43:01 3 3.49 0.00 1.62 0.18 0.03 94.67 17:43:01 4 2.82 0.00 1.29 0.49 0.03 95.37 17:43:01 5 2.46 0.00 1.39 0.10 0.03 96.02 17:43:01 6 3.97 0.00 1.27 0.17 0.03 94.55 17:43:01 7 3.03 0.00 1.46 0.13 0.03 95.35 17:44:01 all 0.37 0.00 0.16 0.08 0.01 99.38 17:44:01 0 0.23 0.00 0.10 0.35 0.02 99.30 17:44:01 1 0.20 0.00 0.15 0.00 0.02 99.63 17:44:01 2 0.25 0.00 0.18 0.00 0.00 99.57 17:44:01 3 0.67 0.00 0.27 0.00 0.02 99.05 17:44:01 4 0.30 0.00 0.12 0.00 0.02 99.57 17:44:01 5 0.20 0.00 0.15 0.00 0.00 99.65 17:44:01 6 0.25 0.00 0.12 0.28 0.05 99.30 17:44:01 7 0.82 0.00 0.13 0.00 0.00 99.05 17:45:01 all 0.11 0.00 0.05 0.01 0.01 99.82 17:45:01 0 0.10 0.00 0.03 0.08 0.00 99.78 17:45:01 1 0.03 0.00 0.03 0.00 0.00 99.93 17:45:01 2 0.03 0.00 0.00 0.00 0.02 99.95 17:45:01 3 0.07 0.00 0.07 0.00 0.02 99.85 17:45:01 4 0.17 0.00 0.13 0.00 0.03 99.67 17:45:01 5 0.02 0.00 0.03 0.00 0.02 99.93 17:45:01 6 0.32 0.00 0.03 0.03 0.00 99.62 17:45:01 7 0.15 0.00 0.07 0.00 0.02 99.77 17:46:01 all 3.89 0.00 1.73 0.39 0.05 93.94 17:46:01 0 3.91 0.00 1.84 0.13 0.03 94.08 17:46:01 1 3.11 0.00 1.79 0.39 0.03 94.68 17:46:01 2 3.67 0.00 1.91 0.08 0.03 94.31 17:46:01 3 2.63 0.00 1.84 0.18 0.03 95.31 17:46:01 4 3.62 0.00 1.71 0.57 0.05 94.04 17:46:01 5 7.20 0.00 1.66 0.20 0.03 90.91 17:46:01 6 3.17 0.00 1.50 0.42 0.05 94.85 17:46:01 7 3.77 0.00 1.59 1.14 0.08 93.41 17:47:01 all 0.54 0.00 0.20 0.02 0.01 99.22 17:47:01 0 0.32 0.00 0.10 0.00 0.00 99.58 17:47:01 1 0.95 0.00 0.23 0.00 0.02 98.80 17:47:01 2 0.97 0.00 0.38 0.02 0.02 98.62 17:47:01 3 0.55 0.00 0.18 0.00 0.02 99.25 17:47:01 4 0.52 0.00 0.22 0.00 0.02 99.25 17:47:01 5 0.20 0.00 0.17 0.02 0.00 99.62 17:47:01 6 0.57 0.00 0.17 0.02 0.02 99.23 17:47:01 7 0.27 0.00 0.15 0.15 0.00 99.43 17:48:01 all 0.11 0.00 0.04 0.03 0.01 99.81 17:48:01 0 0.15 0.00 0.05 0.00 0.02 99.78 17:48:01 1 0.35 0.00 0.03 0.00 0.00 99.62 17:48:01 2 0.13 0.00 0.05 0.00 0.00 99.82 17:48:01 3 0.05 0.00 0.02 0.10 0.02 99.82 17:48:01 4 0.07 0.00 0.03 0.00 0.00 99.90 17:48:01 5 0.05 0.00 0.02 0.00 0.00 99.93 17:48:01 6 0.03 0.00 0.02 0.00 0.00 99.95 17:48:01 7 0.07 0.00 0.05 0.15 0.02 99.72 17:48:01 CPU %user %nice %system %iowait %steal %idle 17:49:01 all 3.99 0.00 1.77 0.85 0.04 93.35 17:49:01 0 2.86 0.00 2.04 1.22 0.05 93.82 17:49:01 1 3.06 0.00 1.61 0.39 0.05 94.89 17:49:01 2 2.83 0.00 1.98 0.27 0.03 94.89 17:49:01 3 5.00 0.00 1.81 1.11 0.05 92.02 17:49:01 4 5.01 0.00 1.64 0.84 0.05 92.46 17:49:01 5 4.87 0.00 1.65 0.62 0.05 92.82 17:49:01 6 5.91 0.00 1.72 0.49 0.05 91.84 17:49:01 7 2.33 0.00 1.74 1.91 0.05 93.97 17:50:01 all 0.54 0.00 0.21 0.16 0.01 99.08 17:50:01 0 0.30 0.00 0.10 0.35 0.02 99.23 17:50:01 1 0.98 0.00 0.30 0.23 0.02 98.47 17:50:01 2 0.30 0.00 0.13 0.10 0.00 99.46 17:50:01 3 0.73 0.00 0.23 0.00 0.00 99.03 17:50:01 4 0.38 0.00 0.17 0.62 0.02 98.82 17:50:01 5 0.45 0.00 0.33 0.00 0.02 99.20 17:50:01 6 0.50 0.00 0.17 0.00 0.00 99.33 17:50:01 7 0.68 0.00 0.25 0.02 0.02 99.03 17:51:01 all 0.15 0.00 0.05 0.01 0.01 99.79 17:51:01 0 0.02 0.00 0.03 0.00 0.00 99.95 17:51:01 1 0.02 0.00 0.02 0.00 0.00 99.97 17:51:01 2 0.73 0.00 0.02 0.00 0.02 99.23 17:51:01 3 0.10 0.00 0.08 0.00 0.02 99.80 17:51:01 4 0.05 0.00 0.03 0.08 0.00 99.83 17:51:01 5 0.07 0.00 0.03 0.00 0.00 99.90 17:51:01 6 0.10 0.00 0.08 0.00 0.00 99.82 17:51:01 7 0.07 0.00 0.08 0.00 0.02 99.83 17:52:01 all 1.85 0.00 1.06 0.57 0.03 96.49 17:52:01 0 1.67 0.00 1.19 0.07 0.03 97.04 17:52:01 1 1.35 0.00 1.14 0.57 0.03 96.91 17:52:01 2 2.62 0.00 1.06 0.65 0.03 95.64 17:52:01 3 2.57 0.00 1.22 0.15 0.03 96.02 17:52:01 4 2.41 0.00 0.92 0.15 0.03 96.49 17:52:01 5 1.46 0.00 0.95 0.10 0.02 97.47 17:52:01 6 1.31 0.00 0.97 2.13 0.03 95.56 17:52:01 7 1.40 0.00 1.04 0.74 0.03 96.79 17:53:01 all 2.37 0.00 0.81 0.10 0.02 96.70 17:53:01 0 1.09 0.00 0.82 0.02 0.03 98.04 17:53:01 1 2.76 0.00 0.80 0.02 0.03 96.39 17:53:01 2 1.92 0.00 0.75 0.03 0.02 97.28 17:53:01 3 3.61 0.00 0.70 0.12 0.03 95.54 17:53:01 4 2.24 0.00 1.14 0.42 0.02 96.19 17:53:01 5 2.14 0.00 0.85 0.02 0.02 96.98 17:53:01 6 3.18 0.00 0.74 0.15 0.02 95.92 17:53:01 7 2.02 0.00 0.62 0.02 0.02 97.33 17:54:01 all 0.34 0.00 0.15 0.02 0.01 99.49 17:54:01 0 0.22 0.00 0.12 0.00 0.00 99.67 17:54:01 1 0.13 0.00 0.10 0.00 0.00 99.77 17:54:01 2 0.27 0.00 0.22 0.00 0.02 99.50 17:54:01 3 0.30 0.00 0.17 0.00 0.00 99.53 17:54:01 4 0.25 0.00 0.15 0.10 0.02 99.48 17:54:01 5 0.58 0.00 0.15 0.02 0.02 99.23 17:54:01 6 0.25 0.00 0.13 0.02 0.02 99.58 17:54:01 7 0.73 0.00 0.15 0.00 0.02 99.10 17:55:01 all 0.22 0.00 0.03 0.02 0.01 99.71 17:55:01 0 0.10 0.00 0.02 0.00 0.02 99.87 17:55:01 1 0.08 0.00 0.03 0.00 0.00 99.88 17:55:01 2 0.03 0.00 0.05 0.00 0.02 99.90 17:55:01 3 1.16 0.00 0.02 0.00 0.02 98.81 17:55:01 4 0.05 0.00 0.02 0.17 0.00 99.77 17:55:01 5 0.03 0.00 0.00 0.02 0.00 99.95 17:55:01 6 0.23 0.00 0.08 0.00 0.05 99.63 17:55:01 7 0.07 0.00 0.03 0.00 0.00 99.90 17:56:01 all 8.95 0.00 1.45 0.90 0.04 88.66 17:56:01 0 1.50 0.00 0.92 0.03 0.05 97.50 17:56:01 1 5.43 0.00 1.64 0.10 0.05 92.77 17:56:01 2 1.12 0.00 1.35 0.07 0.02 97.45 17:56:01 3 1.45 0.00 0.95 0.07 0.02 97.52 17:56:01 4 37.13 0.00 2.02 6.41 0.07 54.37 17:56:01 5 1.40 0.00 1.80 0.23 0.02 96.54 17:56:01 6 19.98 0.00 1.74 0.20 0.07 78.01 17:56:01 7 3.63 0.00 1.12 0.08 0.03 95.14 Average: all 1.82 0.00 0.66 0.68 0.03 96.80 Average: 0 1.99 0.00 0.70 0.95 0.04 96.32 Average: 1 2.07 0.00 0.69 0.44 0.03 96.77 Average: 2 1.68 0.00 0.67 0.40 0.02 97.23 Average: 3 1.63 0.00 0.66 0.81 0.03 96.86 Average: 4 2.29 0.00 0.65 0.71 0.04 96.31 Average: 5 1.67 0.00 0.64 0.59 0.03 97.07 Average: 6 1.74 0.00 0.64 0.36 0.04 97.22 Average: 7 1.53 0.00 0.66 1.14 0.03 96.65