Started by upstream project "integration-distribution-mri-test-calcium" build number 33
originally caused by:
Started by timer
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on prd-centos8-robot-2c-8g-16260 (centos8-robot-2c-8g) in workspace /w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium
[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-xSSBg9MKpDIT/agent.5285
SSH_AGENT_PID=5286
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium@tmp/private_key_1481814299895688256.key (/w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium@tmp/private_key_1481814299895688256.key)
[ssh-agent] Using credentials jenkins (Release Engineering Jenkins Key)
The recommended git tool is: NONE
using credential opendaylight-jenkins-ssh
Wiping out workspace first.
Cloning the remote Git repository
Cloning repository git://devvexx.opendaylight.org/mirror/integration/test
> git init /w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/test # timeout=10
Fetching upstream changes from git://devvexx.opendaylight.org/mirror/integration/test
> git --version # timeout=10
> git --version # 'git version 2.43.0'
using GIT_SSH to set credentials Release Engineering Jenkins Key
[INFO] Currently running in a labeled security context
[INFO] Currently SELinux is 'enforcing' on the host
> /usr/bin/chcon --type=ssh_home_t /w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/test@tmp/jenkins-gitclient-ssh1298466570261239612.key
Verifying host key using known hosts file
You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Security' -> 'Git Host Key Verification Configuration' and configure host key verification.
> git fetch --tags --force --progress -- git://devvexx.opendaylight.org/mirror/integration/test +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url git://devvexx.opendaylight.org/mirror/integration/test # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url git://devvexx.opendaylight.org/mirror/integration/test # timeout=10
Fetching upstream changes from git://devvexx.opendaylight.org/mirror/integration/test
using GIT_SSH to set credentials Release Engineering Jenkins Key
[INFO] Currently running in a labeled security context
[INFO] Currently SELinux is 'enforcing' on the host
> /usr/bin/chcon --type=ssh_home_t /w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/test@tmp/jenkins-gitclient-ssh10441409864330500449.key
Verifying host key using known hosts file
You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Security' -> 'Git Host Key Verification Configuration' and configure host key verification.
> git fetch --tags --force --progress -- git://devvexx.opendaylight.org/mirror/integration/test master # timeout=10
> git rev-parse FETCH_HEAD^{commit} # timeout=10
Checking out Revision 02dd570f7544c8cd6eb17bda775de9bccc89f923 (origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 02dd570f7544c8cd6eb17bda775de9bccc89f923 # timeout=10
Commit message: "Migrate Get Requests invocations(libraries)"
> git rev-parse FETCH_HEAD^{commit} # timeout=10
> git rev-list --no-walk c88ead2b4a65ba004398ad07cfe033ae1e467b17 # timeout=10
No emails were triggered.
provisioning config files...
copy managed file [npmrc] to file:/home/jenkins/.npmrc
copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf
copy managed file [clouds-yaml] to file:/home/jenkins/.config/openstack/clouds.yaml
[controller-csit-3node-rest-clust-cars-perf-ask-only-calcium] $ /bin/bash /tmp/jenkins889427845504677692.sh
---> python-tools-install.sh
Setup pyenv:
system
* 3.8.13 (set by /opt/pyenv/version)
* 3.9.13 (set by /opt/pyenv/version)
* 3.10.13 (set by /opt/pyenv/version)
* 3.11.7 (set by /opt/pyenv/version)
lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-a55X
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-a55X/bin to PATH
Generating Requirements File
Python 3.11.7
pip 24.0 from /tmp/venv-a55X/lib/python3.11/site-packages/pip (python 3.11)
appdirs==1.4.4
argcomplete==3.3.0
aspy.yaml==1.3.0
attrs==23.2.0
autopage==0.5.2
beautifulsoup4==4.12.3
boto3==1.34.93
botocore==1.34.93
bs4==0.0.2
cachetools==5.3.3
certifi==2024.2.2
cffi==1.16.0
cfgv==3.4.0
chardet==5.2.0
charset-normalizer==3.3.2
click==8.1.7
cliff==4.6.0
cmd2==2.4.3
cryptography==3.3.2
debtcollector==3.0.0
decorator==5.1.1
defusedxml==0.7.1
Deprecated==1.2.14
distlib==0.3.8
dnspython==2.6.1
docker==4.2.2
dogpile.cache==1.3.2
email_validator==2.1.1
filelock==3.13.4
future==1.0.0
gitdb==4.0.11
GitPython==3.1.43
google-auth==2.29.0
httplib2==0.22.0
identify==2.5.36
idna==3.7
importlib-resources==1.5.0
iso8601==2.1.0
Jinja2==3.1.3
jmespath==1.0.1
jsonpatch==1.33
jsonpointer==2.4
jsonschema==4.21.1
jsonschema-specifications==2023.12.1
keystoneauth1==5.6.0
kubernetes==29.0.0
lftools==0.37.10
lxml==5.2.1
MarkupSafe==2.1.5
msgpack==1.0.8
multi_key_dict==2.0.3
munch==4.0.0
netaddr==1.2.1
netifaces==0.11.0
niet==1.4.2
nodeenv==1.8.0
oauth2client==4.1.3
oauthlib==3.2.2
openstacksdk==3.1.0
os-client-config==2.1.0
os-service-types==1.7.0
osc-lib==3.0.1
oslo.config==9.4.0
oslo.context==5.5.0
oslo.i18n==6.3.0
oslo.log==5.5.1
oslo.serialization==5.4.0
oslo.utils==7.1.0
packaging==24.0
pbr==6.0.0
platformdirs==4.2.1
prettytable==3.10.0
pyasn1==0.6.0
pyasn1_modules==0.4.0
pycparser==2.22
pygerrit2==2.0.15
PyGithub==2.3.0
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.5.0
python-dateutil==2.9.0.post0
python-heatclient==3.5.0
python-jenkins==1.8.2
python-keystoneclient==5.4.0
python-magnumclient==4.4.0
python-novaclient==18.6.0
python-openstackclient==6.6.0
python-swiftclient==4.5.0
PyYAML==6.0.1
referencing==0.35.0
requests==2.31.0
requests-oauthlib==2.0.0
requestsexceptions==1.4.0
rfc3986==2.0.0
rpds-py==0.18.0
rsa==4.9
ruamel.yaml==0.18.6
ruamel.yaml.clib==0.2.8
s3transfer==0.10.1
simplejson==3.19.2
six==1.16.0
smmap==5.0.1
soupsieve==2.5
stevedore==5.2.0
tabulate==0.9.0
toml==0.10.2
tomlkit==0.12.4
tqdm==4.66.2
typing_extensions==4.11.0
tzdata==2024.1
urllib3==1.26.18
virtualenv==20.26.0
wcwidth==0.2.13
websocket-client==1.8.0
wrapt==1.16.0
xdg==6.0.0
xmltodict==0.13.0
yq==3.4.3
[EnvInject] - Injecting environment variables from a build step.
[EnvInject] - Injecting as environment variables the properties content
OS_STACK_TEMPLATE=csit-2-instance-type.yaml
OS_CLOUD=vex
OS_STACK_NAME=releng-controller-csit-3node-rest-clust-cars-perf-ask-only-calcium-33
OS_STACK_TEMPLATE_DIR=openstack-hot
[EnvInject] - Variables injected successfully.
provisioning config files...
copy managed file [clouds-yaml] to file:/home/jenkins/.config/openstack/clouds.yaml
[controller-csit-3node-rest-clust-cars-perf-ask-only-calcium] $ /bin/bash /tmp/jenkins10928549801576532345.sh
---> Create parameters file for OpenStack HOT
OpenStack Heat parameters generated
-----------------------------------
parameters:
vm_0_count: '3'
vm_0_flavor: 'v3-standard-4'
vm_0_image: 'ZZCI - CentOS Stream 8 - builder - x86_64 - 20240401-160147.446'
vm_1_count: '1'
vm_1_flavor: 'v3-standard-2'
vm_1_image: 'ZZCI - Ubuntu 18.04 - mininet-ovs-28 - x86_64 - 20230601-180106.003'
job_name: '02444-33'
silo: 'releng'
[controller-csit-3node-rest-clust-cars-perf-ask-only-calcium] $ /bin/bash -l /tmp/jenkins13501966766395355677.sh
---> Create HEAT stack
+ source /home/jenkins/lf-env.sh
+ lf-activate-venv --python python3 'lftools[openstack]' kubernetes niet python-heatclient python-openstackclient python-magnumclient yq
++ mktemp -d /tmp/venv-XXXX
+ lf_venv=/tmp/venv-jOQN
+ 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 'lftools[openstack]' kubernetes niet python-heatclient python-openstackclient python-magnumclient yq
+ options=' --python '\''python3'\'' -- '\''lftools[openstack]'\'' '\''kubernetes'\'' '\''niet'\'' '\''python-heatclient'\'' '\''python-openstackclient'\'' '\''python-magnumclient'\'' '\''yq'\'''
+ eval set -- ' --python '\''python3'\'' -- '\''lftools[openstack]'\'' '\''kubernetes'\'' '\''niet'\'' '\''python-heatclient'\'' '\''python-openstackclient'\'' '\''python-magnumclient'\'' '\''yq'\'''
++ set -- --python python3 -- 'lftools[openstack]' kubernetes niet python-heatclient python-openstackclient python-magnumclient yq
+ true
+ case $1 in
+ python=python3
+ 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:/home/jenkins/.local/bin:/home/jenkins/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/puppetlabs/bin
+ PATH=/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/puppetlabs/bin
+ pyenv versions
system
3.8.13
3.9.13
3.10.13
* 3.11.7 (set by /w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/.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:/home/jenkins/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/puppetlabs/bin
++ export PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/puppetlabs/bin
++ PATH=/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/puppetlabs/bin
++ export PYENV_SHELL=bash
++ PYENV_SHELL=bash
++ source /opt/pyenv/libexec/../completions/pyenv.bash
+++ complete -F _pyenv pyenv
++ lf-pyver python3
++ local py_version_xy=python3
++ local py_version_xyz=
++ pyenv versions
++ local command
++ command=versions
++ '[' 1 -gt 0 ']'
++ shift
++ case "$command" in
++ command pyenv versions
++ pyenv versions
++ sed 's/^[ *]* //'
++ grep -E '^[0-9.]*[0-9]$'
++ awk '{ print $1 }'
++ [[ ! -s /tmp/.pyenv_versions ]]
+++ grep '^3' /tmp/.pyenv_versions
+++ tail -n 1
+++ sort -V
++ py_version_xyz=3.11.7
++ [[ -z 3.11.7 ]]
++ echo 3.11.7
++ return 0
+ pyenv local 3.11.7
+ local command
+ command=local
+ '[' 2 -gt 0 ']'
+ shift
+ case "$command" in
+ command pyenv local 3.11.7
+ pyenv local 3.11.7
+ for arg in "$@"
+ case $arg in
+ pkg_list+='lftools[openstack] '
+ for arg in "$@"
+ case $arg in
+ pkg_list+='kubernetes '
+ for arg in "$@"
+ case $arg in
+ pkg_list+='niet '
+ for arg in "$@"
+ case $arg in
+ pkg_list+='python-heatclient '
+ for arg in "$@"
+ case $arg in
+ pkg_list+='python-openstackclient '
+ for arg in "$@"
+ case $arg in
+ pkg_list+='python-magnumclient '
+ for arg in "$@"
+ case $arg in
+ pkg_list+='yq '
+ [[ -f /tmp/.os_lf_venv ]]
++ cat /tmp/.os_lf_venv
+ lf_venv=/tmp/venv-a55X
+ echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-a55X from' file:/tmp/.os_lf_venv
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-a55X from file:/tmp/.os_lf_venv
+ /tmp/venv-a55X/bin/python3 -m pip install --upgrade --quiet pip virtualenv
+ [[ -z lftools[openstack] kubernetes niet python-heatclient python-openstackclient python-magnumclient yq ]]
+ echo 'lf-activate-venv(): INFO: Installing: lftools[openstack] kubernetes niet python-heatclient python-openstackclient python-magnumclient yq '
lf-activate-venv(): INFO: Installing: lftools[openstack] kubernetes niet python-heatclient python-openstackclient python-magnumclient yq
+ /tmp/venv-a55X/bin/python3 -m pip install --upgrade --quiet --upgrade-strategy eager 'lftools[openstack]' kubernetes niet python-heatclient python-openstackclient python-magnumclient yq
+ type python3
+ true
+ echo 'lf-activate-venv(): INFO: Adding /tmp/venv-a55X/bin to PATH'
lf-activate-venv(): INFO: Adding /tmp/venv-a55X/bin to PATH
+ PATH=/tmp/venv-a55X/bin:/opt/pyenv/shims:/opt/pyenv/bin:/home/jenkins/.local/bin:/home/jenkins/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/puppetlabs/bin
+ return 0
+ openstack --os-cloud vex limits show --absolute
+--------------------------+---------+
| Name | Value |
+--------------------------+---------+
| maxTotalInstances | -1 |
| maxTotalCores | 450 |
| maxTotalRAMSize | 1000000 |
| maxServerMeta | 128 |
| maxImageMeta | 128 |
| maxPersonality | 5 |
| maxPersonalitySize | 10240 |
| maxTotalKeypairs | 100 |
| maxServerGroups | 10 |
| maxServerGroupMembers | 10 |
| maxTotalFloatingIps | -1 |
| maxSecurityGroups | -1 |
| maxSecurityGroupRules | -1 |
| totalRAMUsed | 573440 |
| totalCoresUsed | 140 |
| totalInstancesUsed | 47 |
| totalFloatingIpsUsed | 0 |
| totalSecurityGroupsUsed | 0 |
| totalServerGroupsUsed | 0 |
| maxTotalVolumes | -1 |
| maxTotalSnapshots | 10 |
| maxTotalVolumeGigabytes | 4096 |
| maxTotalBackups | 10 |
| maxTotalBackupGigabytes | 1000 |
| totalVolumesUsed | 0 |
| totalGigabytesUsed | 0 |
| totalSnapshotsUsed | 0 |
| totalBackupsUsed | 0 |
| totalBackupGigabytesUsed | 0 |
+--------------------------+---------+
+ pushd /opt/ciman/openstack-hot
/opt/ciman/openstack-hot /w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium
+ lftools openstack --os-cloud vex stack create releng-controller-csit-3node-rest-clust-cars-perf-ask-only-calcium-33 csit-2-instance-type.yaml /w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/stack-parameters.yaml
Creating stack releng-controller-csit-3node-rest-clust-cars-perf-ask-only-calcium-33
Waiting to initialize infrastructure...
Stack initialization successful.
------------------------------------
Stack Details
------------------------------------
{'added': None,
'capabilities': [],
'created_at': '2024-04-27T23:45:35Z',
'deleted': None,
'deleted_at': None,
'description': 'No description',
'environment': None,
'environment_files': None,
'files': None,
'files_container': None,
'id': '753cd688-04b9-4491-9410-dbaadb4308bb',
'is_rollback_disabled': True,
'links': [{'href': 'https://orchestration.public.mtl1.vexxhost.net/v1/12c36e260d8e4bb2913965203b1b491f/stacks/releng-controller-csit-3node-rest-clust-cars-perf-ask-only-calcium-33/753cd688-04b9-4491-9410-dbaadb4308bb',
'rel': 'self'}],
'location': Munch({'cloud': 'vex', 'region_name': 'ca-ymq-1', 'zone': None, 'project': Munch({'id': '12c36e260d8e4bb2913965203b1b491f', 'name': '61975f2c-7c17-4d69-82fa-c3ae420ad6fd', 'domain_id': None, 'domain_name': 'Default'})}),
'name': 'releng-controller-csit-3node-rest-clust-cars-perf-ask-only-calcium-33',
'notification_topics': [],
'outputs': [{'description': 'IP addresses of the 2nd vm types',
'output_key': 'vm_1_ips',
'output_value': ['10.30.170.196']},
{'description': 'IP addresses of the 1st vm types',
'output_key': 'vm_0_ips',
'output_value': ['10.30.171.99',
'10.30.171.216',
'10.30.170.220']}],
'owner_id': ****,
'parameters': {'OS::project_id': '12c36e260d8e4bb2913965203b1b491f',
'OS::stack_id': '753cd688-04b9-4491-9410-dbaadb4308bb',
'OS::stack_name': 'releng-controller-csit-3node-rest-clust-cars-perf-ask-only-calcium-33',
'job_name': '02444-33',
'silo': 'releng',
'vm_0_count': '3',
'vm_0_flavor': 'v3-standard-4',
'vm_0_image': 'ZZCI - CentOS Stream 8 - builder - x86_64 - '
'20240401-160147.446',
'vm_1_count': '1',
'vm_1_flavor': 'v3-standard-2',
'vm_1_image': 'ZZCI - Ubuntu 18.04 - mininet-ovs-28 - x86_64 - '
'20230601-180106.003'},
'parent_id': None,
'replaced': None,
'status': 'CREATE_COMPLETE',
'status_reason': 'Stack CREATE completed successfully',
'tags': [],
'template': None,
'template_description': 'No description',
'template_url': None,
'timeout_mins': 15,
'unchanged': None,
'updated': None,
'updated_at': None,
'user_project_id': '0cbb2871b196486385a422886d544316'}
------------------------------------
+ popd
/w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium
[controller-csit-3node-rest-clust-cars-perf-ask-only-calcium] $ /bin/bash -l /tmp/jenkins16111737287231269731.sh
---> Copy SSH public keys to CSIT lab
Setup pyenv:
system
3.8.13
3.9.13
3.10.13
* 3.11.7 (set by /w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-a55X from file:/tmp/.os_lf_venv
lf-activate-venv(): INFO: Installing: lftools[openstack] kubernetes python-heatclient python-openstackclient
lf-activate-venv(): INFO: Adding /tmp/venv-a55X/bin to PATH
SSH not responding on 10.30.171.99. Retrying in 10 seconds...
SSH not responding on 10.30.171.216. Retrying in 10 seconds...
SSH not responding on 10.30.170.220. Retrying in 10 seconds...
Warning: Permanently added '10.30.170.196' (ECDSA) to the list of known hosts.
releng-02444-33-1-mininet-ovs-28-0
Successfully copied public keys to slave 10.30.170.196
Process 6700 ready.
Ping to 10.30.171.99 successful.
Ping to 10.30.171.216 successful.
Ping to 10.30.170.220 successful.
SSH not responding on 10.30.170.220. Retrying in 10 seconds...
SSH not responding on 10.30.171.216. Retrying in 10 seconds...
Warning: Permanently added '10.30.171.99' (ECDSA) to the list of known hosts.
10.30.171.99 releng-02444-33-0-builder-0.novalocal
Successfully copied public keys to slave 10.30.171.99
Process 6701 ready.
Ping to 10.30.170.220 successful.
Ping to 10.30.171.216 successful.
Warning: Permanently added '10.30.170.220' (ECDSA) to the list of known hosts.
Warning: Permanently added '10.30.171.216' (ECDSA) to the list of known hosts.
10.30.170.220 releng-02444-33-0-builder-2.novalocal
Successfully copied public keys to slave 10.30.170.220
10.30.171.216 releng-02444-33-0-builder-1.novalocal
Successfully copied public keys to slave 10.30.171.216
Process 6702 ready.
Process 6703 ready.
SSH ready on all stack servers.
[controller-csit-3node-rest-clust-cars-perf-ask-only-calcium] $ /bin/bash -l /tmp/jenkins5993106507076175749.sh
Setup pyenv:
system
3.8.13
3.9.13
3.10.13
* 3.11.7 (set by /w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/.python-version)
lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-cxy0
lf-activate-venv(): INFO: Save venv in file: /w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/.robot_venv
lf-activate-venv(): INFO: Installing: setuptools wheel
lf-activate-venv(): INFO: Adding /tmp/venv-cxy0/bin to PATH
+ echo 'Installing Python Requirements'
Installing Python Requirements
+ cat
+ python -m pip install -r requirements.txt
Looking in indexes: https://nexus3.opendaylight.org/repository/PyPi/simple
Collecting docker-py (from -r requirements.txt (line 1))
Downloading https://nexus3.opendaylight.org/repository/PyPi/packages/docker-py/1.10.6/docker_py-1.10.6-py2.py3-none-any.whl (50 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 50.0/50.0 kB 6.4 MB/s eta 0:00:00
Collecting ipaddr (from -r requirements.txt (line 2))
Downloading https://nexus3.opendaylight.org/repository/PyPi/packages/ipaddr/2.2.0/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 3))
Using cached https://nexus3.opendaylight.org/repository/PyPi/packages/netaddr/1.2.1/netaddr-1.2.1-py3-none-any.whl (2.3 MB)
Collecting netifaces (from -r requirements.txt (line 4))
Using cached netifaces-0.11.0-cp311-cp311-linux_x86_64.whl
Collecting pyhocon (from -r requirements.txt (line 5))
Downloading https://nexus3.opendaylight.org/repository/PyPi/packages/pyhocon/0.3.60/pyhocon-0.3.60.tar.gz (158 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 158.8/158.8 kB 16.8 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 6))
Using cached https://nexus3.opendaylight.org/repository/PyPi/packages/requests/2.31.0/requests-2.31.0-py3-none-any.whl (62 kB)
Collecting robotframework (from -r requirements.txt (line 7))
Downloading https://nexus3.opendaylight.org/repository/PyPi/packages/robotframework/7.0/robotframework-7.0-py3-none-any.whl (726 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 726.3/726.3 kB 16.8 MB/s eta 0:00:00
Collecting robotframework-httplibrary (from -r requirements.txt (line 8))
Downloading https://nexus3.opendaylight.org/repository/PyPi/packages/robotframework-httplibrary/0.4.2/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 9))
Downloading https://nexus3.opendaylight.org/repository/PyPi/packages/robotframework-requests/0.9.3/robotframework_requests-0.9.3-py3-none-any.whl (21 kB)
Collecting robotframework-selenium2library (from -r requirements.txt (line 10))
Downloading https://nexus3.opendaylight.org/repository/PyPi/packages/robotframework-selenium2library/3.0.0/robotframework_selenium2library-3.0.0-py2.py3-none-any.whl (6.2 kB)
Collecting robotframework-sshlibrary==3.8.0 (from -r requirements.txt (line 11))
Downloading https://nexus3.opendaylight.org/repository/PyPi/packages/robotframework-sshlibrary/3.8.0/robotframework-sshlibrary-3.8.0.tar.gz (51 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 51.4/51.4 kB 7.0 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 12))
Downloading https://nexus3.opendaylight.org/repository/PyPi/packages/scapy/2.5.0/scapy-2.5.0.tar.gz (1.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 31.7 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 15))
Downloading https://nexus3.opendaylight.org/repository/PyPi/packages/jsonpath-rw/1.4.0/jsonpath-rw-1.4.0.tar.gz (13 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting elasticsearch (from -r requirements.txt (line 18))
Downloading https://nexus3.opendaylight.org/repository/PyPi/packages/elasticsearch/8.13.0/elasticsearch-8.13.0-py3-none-any.whl (451 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 451.0/451.0 kB 16.0 MB/s eta 0:00:00
Collecting elasticsearch-dsl (from -r requirements.txt (line 19))
Downloading https://nexus3.opendaylight.org/repository/PyPi/packages/elasticsearch-dsl/8.13.0/elasticsearch_dsl-8.13.0-py3-none-any.whl (88 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 88.6/88.6 kB 6.5 MB/s eta 0:00:00
Collecting pyangbind (from -r requirements.txt (line 22))
Downloading https://nexus3.opendaylight.org/repository/PyPi/packages/pyangbind/0.8.5/pyangbind-0.8.5-py3-none-any.whl (52 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 52.9/52.9 kB 5.9 MB/s eta 0:00:00
Collecting isodate (from -r requirements.txt (line 25))
Downloading https://nexus3.opendaylight.org/repository/PyPi/packages/isodate/0.6.1/isodate-0.6.1-py2.py3-none-any.whl (41 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.7/41.7 kB 2.1 MB/s eta 0:00:00
Collecting jmespath (from -r requirements.txt (line 28))
Using cached https://nexus3.opendaylight.org/repository/PyPi/packages/jmespath/1.0.1/jmespath-1.0.1-py3-none-any.whl (20 kB)
Collecting jsonpatch (from -r requirements.txt (line 31))
Using cached https://nexus3.opendaylight.org/repository/PyPi/packages/jsonpatch/1.33/jsonpatch-1.33-py2.py3-none-any.whl (12 kB)
Collecting paramiko>=1.15.3 (from robotframework-sshlibrary==3.8.0->-r requirements.txt (line 11))
Downloading https://nexus3.opendaylight.org/repository/PyPi/packages/paramiko/3.4.0/paramiko-3.4.0-py3-none-any.whl (225 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 225.9/225.9 kB 22.3 MB/s eta 0:00:00
Collecting scp>=0.13.0 (from robotframework-sshlibrary==3.8.0->-r requirements.txt (line 11))
Downloading https://nexus3.opendaylight.org/repository/PyPi/packages/scp/0.14.5/scp-0.14.5-py2.py3-none-any.whl (8.7 kB)
Collecting docker-pycreds>=0.2.1 (from docker-py->-r requirements.txt (line 1))
Downloading https://nexus3.opendaylight.org/repository/PyPi/packages/docker-pycreds/0.4.0/docker_pycreds-0.4.0-py2.py3-none-any.whl (9.0 kB)
Collecting six>=1.4.0 (from docker-py->-r requirements.txt (line 1))
Using cached https://nexus3.opendaylight.org/repository/PyPi/packages/six/1.16.0/six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting websocket-client>=0.32.0 (from docker-py->-r requirements.txt (line 1))
Using cached https://nexus3.opendaylight.org/repository/PyPi/packages/websocket-client/1.8.0/websocket_client-1.8.0-py3-none-any.whl (58 kB)
Collecting pyparsing<4,>=2 (from pyhocon->-r requirements.txt (line 5))
Using cached https://nexus3.opendaylight.org/repository/PyPi/packages/pyparsing/3.1.2/pyparsing-3.1.2-py3-none-any.whl (103 kB)
Collecting charset-normalizer<4,>=2 (from requests->-r requirements.txt (line 6))
Using cached https://nexus3.opendaylight.org/repository/PyPi/packages/charset-normalizer/3.3.2/charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (140 kB)
Collecting idna<4,>=2.5 (from requests->-r requirements.txt (line 6))
Using cached https://nexus3.opendaylight.org/repository/PyPi/packages/idna/3.7/idna-3.7-py3-none-any.whl (66 kB)
Collecting urllib3<3,>=1.21.1 (from requests->-r requirements.txt (line 6))
Downloading https://nexus3.opendaylight.org/repository/PyPi/packages/urllib3/2.2.1/urllib3-2.2.1-py3-none-any.whl (121 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 121.1/121.1 kB 12.2 MB/s eta 0:00:00
Collecting certifi>=2017.4.17 (from requests->-r requirements.txt (line 6))
Using cached https://nexus3.opendaylight.org/repository/PyPi/packages/certifi/2024.2.2/certifi-2024.2.2-py3-none-any.whl (163 kB)
Collecting webtest>=2.0 (from robotframework-httplibrary->-r requirements.txt (line 8))
Downloading https://nexus3.opendaylight.org/repository/PyPi/packages/webtest/3.0.0/WebTest-3.0.0-py3-none-any.whl (31 kB)
Collecting jsonpointer (from robotframework-httplibrary->-r requirements.txt (line 8))
Using cached https://nexus3.opendaylight.org/repository/PyPi/packages/jsonpointer/2.4/jsonpointer-2.4-py2.py3-none-any.whl (7.8 kB)
Collecting robotframework-seleniumlibrary>=3.0.0 (from robotframework-selenium2library->-r requirements.txt (line 10))
Downloading https://nexus3.opendaylight.org/repository/PyPi/packages/robotframework-seleniumlibrary/6.3.0/robotframework_seleniumlibrary-6.3.0-py2.py3-none-any.whl (97 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.6/97.6 kB 9.3 MB/s eta 0:00:00
Collecting ply (from jsonpath-rw->-r requirements.txt (line 15))
Downloading https://nexus3.opendaylight.org/repository/PyPi/packages/ply/3.11/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 15))
Using cached https://nexus3.opendaylight.org/repository/PyPi/packages/decorator/5.1.1/decorator-5.1.1-py3-none-any.whl (9.1 kB)
Collecting elastic-transport<9,>=8.13 (from elasticsearch->-r requirements.txt (line 18))
Downloading https://nexus3.opendaylight.org/repository/PyPi/packages/elastic-transport/8.13.0/elastic_transport-8.13.0-py3-none-any.whl (64 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 64.3/64.3 kB 8.5 MB/s eta 0:00:00
Collecting python-dateutil (from elasticsearch-dsl->-r requirements.txt (line 19))
Using cached https://nexus3.opendaylight.org/repository/PyPi/packages/python-dateutil/2.9.0.post0/python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
Collecting pyang (from pyangbind->-r requirements.txt (line 22))
Downloading https://nexus3.opendaylight.org/repository/PyPi/packages/pyang/2.6.0/pyang-2.6.0-py2.py3-none-any.whl (594 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 594.1/594.1 kB 15.7 MB/s eta 0:00:00
Collecting lxml (from pyangbind->-r requirements.txt (line 22))
Using cached https://nexus3.opendaylight.org/repository/PyPi/packages/lxml/5.2.1/lxml-5.2.1-cp311-cp311-manylinux_2_28_x86_64.whl (5.0 MB)
Collecting regex (from pyangbind->-r requirements.txt (line 22))
Downloading https://nexus3.opendaylight.org/repository/PyPi/packages/regex/2024.4.16/regex-2024.4.16-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (785 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 785.1/785.1 kB 12.0 MB/s eta 0:00:00
Collecting enum34 (from pyangbind->-r requirements.txt (line 22))
Downloading https://nexus3.opendaylight.org/repository/PyPi/packages/enum34/1.1.10/enum34-1.1.10-py3-none-any.whl (11 kB)
Collecting bcrypt>=3.2 (from paramiko>=1.15.3->robotframework-sshlibrary==3.8.0->-r requirements.txt (line 11))
Downloading https://nexus3.opendaylight.org/repository/PyPi/packages/bcrypt/4.1.2/bcrypt-4.1.2-cp39-abi3-manylinux_2_28_x86_64.whl (698 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 698.9/698.9 kB 22.8 MB/s eta 0:00:00
Collecting cryptography>=3.3 (from paramiko>=1.15.3->robotframework-sshlibrary==3.8.0->-r requirements.txt (line 11))
Using cached https://nexus3.opendaylight.org/repository/PyPi/packages/cryptography/42.0.5/cryptography-42.0.5-cp39-abi3-manylinux_2_28_x86_64.whl (4.6 MB)
Collecting pynacl>=1.5 (from paramiko>=1.15.3->robotframework-sshlibrary==3.8.0->-r requirements.txt (line 11))
Using cached https://nexus3.opendaylight.org/repository/PyPi/packages/pynacl/1.5.0/PyNaCl-1.5.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (856 kB)
Collecting selenium>=4.3.0 (from robotframework-seleniumlibrary>=3.0.0->robotframework-selenium2library->-r requirements.txt (line 10))
Downloading https://nexus3.opendaylight.org/repository/PyPi/packages/selenium/4.20.0/selenium-4.20.0-py3-none-any.whl (9.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.5/9.5 MB 54.9 MB/s eta 0:00:00
Collecting robotframework-pythonlibcore>=3.0.0 (from robotframework-seleniumlibrary>=3.0.0->robotframework-selenium2library->-r requirements.txt (line 10))
Downloading https://nexus3.opendaylight.org/repository/PyPi/packages/robotframework-pythonlibcore/4.4.1/robotframework_pythonlibcore-4.4.1-py2.py3-none-any.whl (12 kB)
Collecting WebOb>=1.2 (from webtest>=2.0->robotframework-httplibrary->-r requirements.txt (line 8))
Downloading https://nexus3.opendaylight.org/repository/PyPi/packages/webob/1.8.7/WebOb-1.8.7-py2.py3-none-any.whl (114 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 115.0/115.0 kB 14.9 MB/s eta 0:00:00
Collecting waitress>=0.8.5 (from webtest>=2.0->robotframework-httplibrary->-r requirements.txt (line 8))
Downloading https://nexus3.opendaylight.org/repository/PyPi/packages/waitress/3.0.0/waitress-3.0.0-py3-none-any.whl (56 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.7/56.7 kB 6.8 MB/s eta 0:00:00
Collecting beautifulsoup4 (from webtest>=2.0->robotframework-httplibrary->-r requirements.txt (line 8))
Using cached https://nexus3.opendaylight.org/repository/PyPi/packages/beautifulsoup4/4.12.3/beautifulsoup4-4.12.3-py3-none-any.whl (147 kB)
Collecting cffi>=1.12 (from cryptography>=3.3->paramiko>=1.15.3->robotframework-sshlibrary==3.8.0->-r requirements.txt (line 11))
Using cached https://nexus3.opendaylight.org/repository/PyPi/packages/cffi/1.16.0/cffi-1.16.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (464 kB)
Collecting trio~=0.17 (from selenium>=4.3.0->robotframework-seleniumlibrary>=3.0.0->robotframework-selenium2library->-r requirements.txt (line 10))
Downloading https://nexus3.opendaylight.org/repository/PyPi/packages/trio/0.25.0/trio-0.25.0-py3-none-any.whl (467 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 467.2/467.2 kB 15.9 MB/s eta 0:00:00
Collecting trio-websocket~=0.9 (from selenium>=4.3.0->robotframework-seleniumlibrary>=3.0.0->robotframework-selenium2library->-r requirements.txt (line 10))
Downloading https://nexus3.opendaylight.org/repository/PyPi/packages/trio-websocket/0.11.1/trio_websocket-0.11.1-py3-none-any.whl (17 kB)
Collecting typing_extensions>=4.9.0 (from selenium>=4.3.0->robotframework-seleniumlibrary>=3.0.0->robotframework-selenium2library->-r requirements.txt (line 10))
Using cached https://nexus3.opendaylight.org/repository/PyPi/packages/typing-extensions/4.11.0/typing_extensions-4.11.0-py3-none-any.whl (34 kB)
Collecting soupsieve>1.2 (from beautifulsoup4->webtest>=2.0->robotframework-httplibrary->-r requirements.txt (line 8))
Using cached https://nexus3.opendaylight.org/repository/PyPi/packages/soupsieve/2.5/soupsieve-2.5-py3-none-any.whl (36 kB)
Collecting pycparser (from cffi>=1.12->cryptography>=3.3->paramiko>=1.15.3->robotframework-sshlibrary==3.8.0->-r requirements.txt (line 11))
Using cached https://nexus3.opendaylight.org/repository/PyPi/packages/pycparser/2.22/pycparser-2.22-py3-none-any.whl (117 kB)
Collecting attrs>=23.2.0 (from trio~=0.17->selenium>=4.3.0->robotframework-seleniumlibrary>=3.0.0->robotframework-selenium2library->-r requirements.txt (line 10))
Using cached https://nexus3.opendaylight.org/repository/PyPi/packages/attrs/23.2.0/attrs-23.2.0-py3-none-any.whl (60 kB)
Collecting sortedcontainers (from trio~=0.17->selenium>=4.3.0->robotframework-seleniumlibrary>=3.0.0->robotframework-selenium2library->-r requirements.txt (line 10))
Downloading https://nexus3.opendaylight.org/repository/PyPi/packages/sortedcontainers/2.4.0/sortedcontainers-2.4.0-py2.py3-none-any.whl (29 kB)
Collecting outcome (from trio~=0.17->selenium>=4.3.0->robotframework-seleniumlibrary>=3.0.0->robotframework-selenium2library->-r requirements.txt (line 10))
Downloading https://nexus3.opendaylight.org/repository/PyPi/packages/outcome/1.3.0.post0/outcome-1.3.0.post0-py2.py3-none-any.whl (10 kB)
Collecting sniffio>=1.3.0 (from trio~=0.17->selenium>=4.3.0->robotframework-seleniumlibrary>=3.0.0->robotframework-selenium2library->-r requirements.txt (line 10))
Downloading https://nexus3.opendaylight.org/repository/PyPi/packages/sniffio/1.3.1/sniffio-1.3.1-py3-none-any.whl (10 kB)
Collecting wsproto>=0.14 (from trio-websocket~=0.9->selenium>=4.3.0->robotframework-seleniumlibrary>=3.0.0->robotframework-selenium2library->-r requirements.txt (line 10))
Downloading https://nexus3.opendaylight.org/repository/PyPi/packages/wsproto/1.2.0/wsproto-1.2.0-py3-none-any.whl (24 kB)
Collecting pysocks!=1.5.7,<2.0,>=1.5.6 (from urllib3[socks]<3,>=1.26->selenium>=4.3.0->robotframework-seleniumlibrary>=3.0.0->robotframework-selenium2library->-r requirements.txt (line 10))
Downloading https://nexus3.opendaylight.org/repository/PyPi/packages/pysocks/1.7.1/PySocks-1.7.1-py3-none-any.whl (16 kB)
Collecting h11<1,>=0.9.0 (from wsproto>=0.14->trio-websocket~=0.9->selenium>=4.3.0->robotframework-seleniumlibrary>=3.0.0->robotframework-selenium2library->-r requirements.txt (line 10))
Downloading https://nexus3.opendaylight.org/repository/PyPi/packages/h11/0.14.0/h11-0.14.0-py3-none-any.whl (58 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.3/58.3 kB 8.0 MB/s eta 0:00:00
Building wheels for collected packages: robotframework-sshlibrary, ipaddr, pyhocon, robotframework-httplibrary, scapy, jsonpath-rw
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=55119 sha256=71b0b0899838e6d5f382b91f29a324561dd30d3944de674b60ca3a5f450f34da
Stored in directory: /home/jenkins/.cache/pip/wheels/f7/c9/b3/a977b7bcc410d45ae27d240df3d00a12585509180e373ecccc
Building wheel for ipaddr (setup.py): started
Building wheel for ipaddr (setup.py): finished with status 'done'
Created wheel for ipaddr: filename=ipaddr-2.2.0-py3-none-any.whl size=18280 sha256=7f1d6c960564c2840f988fc83240adf8cfe038c285e6425d75db6fdf10e348ea
Stored in directory: /home/jenkins/.cache/pip/wheels/dc/6c/04/da2d847fa8d45c59af3e1d83e2acc29cb8adcbaf04c0898dbf
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=20865 sha256=85c601a75020f689fc4a8e9aacf128552380ed0f9f63e2829a753a3c1a35aaa0
Stored in directory: /home/jenkins/.cache/pip/wheels/02/09/4e/04a983205b51f96912ae6fc13f56f3050a586c98200fe36725
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=9953 sha256=b6455842b15ddea0526f71629c3dcce219dc4053e8b51a2471760c4dcdfb8e1b
Stored in directory: /home/jenkins/.cache/pip/wheels/aa/bc/0d/9a20dd51effef392aae2733cb4c7b66c6fa29fca33d88b57ed
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=1444327 sha256=9ac21d817a1b1392b6842febc9d56a61758c23e4c1a790435dec73f99374ff91
Stored in directory: /home/jenkins/.cache/pip/wheels/3b/a7/d6/87eeec31fbfcb2bd8ace7dad8172b6d6ebbe1ec6827dbb389a
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=15130 sha256=7bab151f10bcbbfcc08d72e907a42340b4e0d68a0b77a6591608505ebf1b9691
Stored in directory: /home/jenkins/.cache/pip/wheels/f1/54/63/9a8da38cefae13755097b36cc852decc25d8ef69c37d58d4eb
Successfully built robotframework-sshlibrary ipaddr pyhocon robotframework-httplibrary scapy jsonpath-rw
Installing collected packages: sortedcontainers, ply, netifaces, ipaddr, enum34, websocket-client, WebOb, waitress, urllib3, typing_extensions, soupsieve, sniffio, six, scapy, robotframework-pythonlibcore, robotframework, regex, pysocks, pyparsing, pycparser, netaddr, lxml, jsonpointer, jmespath, idna, h11, decorator, charset-normalizer, certifi, bcrypt, attrs, wsproto, requests, python-dateutil, pyhocon, pyang, outcome, jsonpath-rw, jsonpatch, isodate, elastic-transport, docker-pycreds, cffi, beautifulsoup4, webtest, trio, robotframework-requests, pynacl, pyangbind, elasticsearch, docker-py, cryptography, trio-websocket, robotframework-httplibrary, paramiko, elasticsearch-dsl, selenium, scp, robotframework-sshlibrary, robotframework-seleniumlibrary, robotframework-selenium2library
Successfully installed WebOb-1.8.7 attrs-23.2.0 bcrypt-4.1.2 beautifulsoup4-4.12.3 certifi-2024.2.2 cffi-1.16.0 charset-normalizer-3.3.2 cryptography-42.0.5 decorator-5.1.1 docker-py-1.10.6 docker-pycreds-0.4.0 elastic-transport-8.13.0 elasticsearch-8.13.0 elasticsearch-dsl-8.13.0 enum34-1.1.10 h11-0.14.0 idna-3.7 ipaddr-2.2.0 isodate-0.6.1 jmespath-1.0.1 jsonpatch-1.33 jsonpath-rw-1.4.0 jsonpointer-2.4 lxml-5.2.1 netaddr-1.2.1 netifaces-0.11.0 outcome-1.3.0.post0 paramiko-3.4.0 ply-3.11 pyang-2.6.0 pyangbind-0.8.5 pycparser-2.22 pyhocon-0.3.60 pynacl-1.5.0 pyparsing-3.1.2 pysocks-1.7.1 python-dateutil-2.9.0.post0 regex-2024.4.16 requests-2.31.0 robotframework-7.0 robotframework-httplibrary-0.4.2 robotframework-pythonlibcore-4.4.1 robotframework-requests-0.9.3 robotframework-selenium2library-3.0.0 robotframework-seleniumlibrary-6.3.0 robotframework-sshlibrary-3.8.0 scapy-2.5.0 scp-0.14.5 selenium-4.20.0 six-1.16.0 sniffio-1.3.1 sortedcontainers-2.4.0 soupsieve-2.5 trio-0.25.0 trio-websocket-0.11.1 typing_extensions-4.11.0 urllib3-2.2.1 waitress-3.0.0 websocket-client-1.8.0 webtest-3.0.0 wsproto-1.2.0
+ pip freeze
attrs==23.2.0
bcrypt==4.1.2
beautifulsoup4==4.12.3
certifi==2024.2.2
cffi==1.16.0
charset-normalizer==3.3.2
cryptography==42.0.5
decorator==5.1.1
distlib==0.3.8
docker-py==1.10.6
docker-pycreds==0.4.0
elastic-transport==8.13.0
elasticsearch==8.13.0
elasticsearch-dsl==8.13.0
enum34==1.1.10
filelock==3.13.4
h11==0.14.0
idna==3.7
ipaddr==2.2.0
isodate==0.6.1
jmespath==1.0.1
jsonpatch==1.33
jsonpath-rw==1.4.0
jsonpointer==2.4
lxml==5.2.1
netaddr==1.2.1
netifaces==0.11.0
outcome==1.3.0.post0
paramiko==3.4.0
platformdirs==4.2.1
ply==3.11
pyang==2.6.0
pyangbind==0.8.5
pycparser==2.22
pyhocon==0.3.60
PyNaCl==1.5.0
pyparsing==3.1.2
PySocks==1.7.1
python-dateutil==2.9.0.post0
regex==2024.4.16
requests==2.31.0
robotframework==7.0
robotframework-httplibrary==0.4.2
robotframework-pythonlibcore==4.4.1
robotframework-requests==0.9.3
robotframework-selenium2library==3.0.0
robotframework-seleniumlibrary==6.3.0
robotframework-sshlibrary==3.8.0
scapy==2.5.0
scp==0.14.5
selenium==4.20.0
six==1.16.0
sniffio==1.3.1
sortedcontainers==2.4.0
soupsieve==2.5
trio==0.25.0
trio-websocket==0.11.1
typing_extensions==4.11.0
urllib3==2.2.1
virtualenv==20.26.0
waitress==3.0.0
WebOb==1.8.7
websocket-client==1.8.0
WebTest==3.0.0
wsproto==1.2.0
[EnvInject] - Injecting environment variables from a build step.
[EnvInject] - Injecting as environment variables the properties file path 'env.properties'
[EnvInject] - Variables injected successfully.
[controller-csit-3node-rest-clust-cars-perf-ask-only-calcium] $ /bin/bash -l /tmp/jenkins8620267561368259351.sh
Setup pyenv:
system
3.8.13
3.9.13
3.10.13
* 3.11.7 (set by /w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-a55X from file:/tmp/.os_lf_venv
lf-activate-venv(): INFO: Installing: python-heatclient python-openstackclient yq
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.10 requires urllib3<2.1.0, but you have urllib3 2.2.1 which is incompatible.
lf-activate-venv(): INFO: Adding /tmp/venv-a55X/bin to PATH
+ ODL_SYSTEM=()
+ TOOLS_SYSTEM=()
+ OPENSTACK_SYSTEM=()
+ OPENSTACK_CONTROLLERS=()
+ mapfile -t ADDR
++ openstack stack show -f json -c outputs releng-controller-csit-3node-rest-clust-cars-perf-ask-only-calcium-33
++ jq -r '.outputs[] | select(.output_key | match("^vm_[0-9]+_ips$")) | .output_value | .[]'
+ for i in "${ADDR[@]}"
++ ssh 10.30.170.196 hostname -s
Warning: Permanently added '10.30.170.196' (ECDSA) to the list of known hosts.
+ REMHOST=releng-02444-33-1-mininet-ovs-28-0
+ case ${REMHOST} in
+ TOOLS_SYSTEM=("${TOOLS_SYSTEM[@]}" "${i}")
+ for i in "${ADDR[@]}"
++ ssh 10.30.171.99 hostname -s
Warning: Permanently added '10.30.171.99' (ECDSA) to the list of known hosts.
+ REMHOST=releng-02444-33-0-builder-0
+ case ${REMHOST} in
+ ODL_SYSTEM=("${ODL_SYSTEM[@]}" "${i}")
+ for i in "${ADDR[@]}"
++ ssh 10.30.171.216 hostname -s
Warning: Permanently added '10.30.171.216' (ECDSA) to the list of known hosts.
+ REMHOST=releng-02444-33-0-builder-1
+ case ${REMHOST} in
+ ODL_SYSTEM=("${ODL_SYSTEM[@]}" "${i}")
+ for i in "${ADDR[@]}"
++ ssh 10.30.170.220 hostname -s
Warning: Permanently added '10.30.170.220' (ECDSA) to the list of known hosts.
+ REMHOST=releng-02444-33-0-builder-2
+ case ${REMHOST} in
+ ODL_SYSTEM=("${ODL_SYSTEM[@]}" "${i}")
+ echo NUM_ODL_SYSTEM=3
+ echo NUM_TOOLS_SYSTEM=1
+ '[' '' == yes ']'
+ NUM_OPENSTACK_SYSTEM=0
+ echo NUM_OPENSTACK_SYSTEM=0
+ '[' 0 -eq 2 ']'
+ echo ODL_SYSTEM_IP=10.30.171.99
++ seq 0 2
+ for i in $(seq 0 $(( ${#ODL_SYSTEM[@]} - 1 )))
+ echo ODL_SYSTEM_1_IP=10.30.171.99
+ for i in $(seq 0 $(( ${#ODL_SYSTEM[@]} - 1 )))
+ echo ODL_SYSTEM_2_IP=10.30.171.216
+ for i in $(seq 0 $(( ${#ODL_SYSTEM[@]} - 1 )))
+ echo ODL_SYSTEM_3_IP=10.30.170.220
+ echo TOOLS_SYSTEM_IP=10.30.170.196
++ seq 0 0
+ for i in $(seq 0 $(( ${#TOOLS_SYSTEM[@]} - 1 )))
+ echo TOOLS_SYSTEM_1_IP=10.30.170.196
+ openstack_index=0
+ NUM_OPENSTACK_CONTROL_NODES=1
+ echo NUM_OPENSTACK_CONTROL_NODES=1
++ seq 0 0
+ for i in $(seq 0 $((NUM_OPENSTACK_CONTROL_NODES - 1)))
+ echo OPENSTACK_CONTROL_NODE_1_IP=
+ NUM_OPENSTACK_COMPUTE_NODES=-1
+ echo NUM_OPENSTACK_COMPUTE_NODES=-1
+ '[' -1 -ge 2 ']'
++ seq 0 -2
+ NUM_OPENSTACK_HAPROXY_NODES=0
+ echo NUM_OPENSTACK_HAPROXY_NODES=0
++ seq 0 -1
+ echo 'Contents of slave_addresses.txt:'
Contents of slave_addresses.txt:
+ cat slave_addresses.txt
NUM_ODL_SYSTEM=3
NUM_TOOLS_SYSTEM=1
NUM_OPENSTACK_SYSTEM=0
ODL_SYSTEM_IP=10.30.171.99
ODL_SYSTEM_1_IP=10.30.171.99
ODL_SYSTEM_2_IP=10.30.171.216
ODL_SYSTEM_3_IP=10.30.170.220
TOOLS_SYSTEM_IP=10.30.170.196
TOOLS_SYSTEM_1_IP=10.30.170.196
NUM_OPENSTACK_CONTROL_NODES=1
OPENSTACK_CONTROL_NODE_1_IP=
NUM_OPENSTACK_COMPUTE_NODES=-1
NUM_OPENSTACK_HAPROXY_NODES=0
[EnvInject] - Injecting environment variables from a build step.
[EnvInject] - Injecting as environment variables the properties file path 'slave_addresses.txt'
[EnvInject] - Variables injected successfully.
[controller-csit-3node-rest-clust-cars-perf-ask-only-calcium] $ /bin/sh /tmp/jenkins16774232621901930692.sh
Preparing for JRE Version 17
Karaf artifact is karaf
Karaf project is integration
Java home is /usr/lib/jvm/java-17-openjdk
[EnvInject] - Injecting environment variables from a build step.
[EnvInject] - Injecting as environment variables the properties file path 'set_variables.env'
[EnvInject] - Variables injected successfully.
[controller-csit-3node-rest-clust-cars-perf-ask-only-calcium] $ /bin/bash /tmp/jenkins1828514833695136302.sh
--2024-04-27 23:47:31-- http://git.opendaylight.org/gerrit/gitweb?p=integration/distribution.git;a=blob_plain;f=pom.xml;hb=refs/heads/stable/calcium
Resolving git.opendaylight.org (git.opendaylight.org)... 35.181.223.58, 52.47.161.242, 13.39.230.180, ...
Connecting to git.opendaylight.org (git.opendaylight.org)|35.181.223.58|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2620 (2.6K) [text/plain]
Saving to: ‘pom.xml’
0K .. 100% 205M=0s
2024-04-27 23:47:31 (205 MB/s) - ‘pom.xml’ saved [2620/2620]
Bundle version is 0.20.1-SNAPSHOT
--2024-04-27 23:47:31-- https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/karaf/0.20.1-SNAPSHOT/maven-metadata.xml
Resolving nexus.opendaylight.org (nexus.opendaylight.org)... 199.204.45.87, 2604:e100:1:0:f816:3eff:fe45:48d6
Connecting to nexus.opendaylight.org (nexus.opendaylight.org)|199.204.45.87|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 963 [application/xml]
Saving to: ‘maven-metadata.xml’
0K 100% 38.2M=0s
2024-04-27 23:47:31 (38.2 MB/s) - ‘maven-metadata.xml’ saved [963/963]
org.opendaylight.integrationkaraf0.20.1-SNAPSHOT20240418.235143120240418235143pom0.20.1-20240418.235143-120240418235143tar.gz0.20.1-20240418.235143-120240418235143zip0.20.1-20240418.235143-120240418235143
Nexus timestamp is 0.20.1-20240418.235143-1
Distribution bundle URL is https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/karaf/0.20.1-SNAPSHOT/karaf-0.20.1-20240418.235143-1.zip
Distribution bundle is karaf-0.20.1-20240418.235143-1.zip
Distribution bundle version is 0.20.1-SNAPSHOT
Distribution folder is karaf-0.20.1-SNAPSHOT
Nexus prefix is https://nexus.opendaylight.org
[EnvInject] - Injecting environment variables from a build step.
[EnvInject] - Injecting as environment variables the properties file path 'detect_variables.env'
[EnvInject] - Variables injected successfully.
[controller-csit-3node-rest-clust-cars-perf-ask-only-calcium] $ /bin/bash -l /tmp/jenkins12437998262480850066.sh
Setup pyenv:
system
3.8.13
3.9.13
3.10.13
* 3.11.7 (set by /w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-a55X from file:/tmp/.os_lf_venv
lf-activate-venv(): INFO: Installing: python-heatclient python-openstackclient
lf-activate-venv(): INFO: Adding /tmp/venv-a55X/bin to PATH
Copying common-functions.sh to /tmp
Copying common-functions.sh to 10.30.170.196:/tmp
Warning: Permanently added '10.30.170.196' (ECDSA) to the list of known hosts.
Copying common-functions.sh to 10.30.171.99:/tmp
Warning: Permanently added '10.30.171.99' (ECDSA) to the list of known hosts.
Copying common-functions.sh to 10.30.171.216:/tmp
Warning: Permanently added '10.30.171.216' (ECDSA) to the list of known hosts.
Copying common-functions.sh to 10.30.170.220:/tmp
Warning: Permanently added '10.30.170.220' (ECDSA) to the list of known hosts.
[controller-csit-3node-rest-clust-cars-perf-ask-only-calcium] $ /bin/bash /tmp/jenkins17590632914094025966.sh
common-functions.sh is being sourced
common-functions environment:
MAVENCONF: /tmp/karaf-0.20.1-SNAPSHOT/etc/org.ops4j.pax.url.mvn.cfg
ACTUALFEATURES:
FEATURESCONF: /tmp/karaf-0.20.1-SNAPSHOT/etc/org.apache.karaf.features.cfg
CUSTOMPROP: /tmp/karaf-0.20.1-SNAPSHOT/etc/custom.properties
LOGCONF: /tmp/karaf-0.20.1-SNAPSHOT/etc/org.ops4j.pax.logging.cfg
MEMCONF: /tmp/karaf-0.20.1-SNAPSHOT/bin/setenv
CONTROLLERMEM: 2048m
AKKACONF: /tmp/karaf-0.20.1-SNAPSHOT/configuration/initial/akka.conf
MODULESCONF: /tmp/karaf-0.20.1-SNAPSHOT/configuration/initial/modules.conf
MODULESHARDSCONF: /tmp/karaf-0.20.1-SNAPSHOT/configuration/initial/module-shards.conf
SUITES:
#################################################
## Configure Cluster and Start ##
#################################################
ACTUALFEATURES: odl-infrautils-ready,odl-jolokia,odl-restconf,odl-clustering-test-app
SPACE_SEPARATED_FEATURES: odl-infrautils-ready odl-jolokia odl-restconf odl-clustering-test-app
Locating script plan to use...
script plan exists!!!
Changing the script plan path...
# Place the scripts in run order:
/w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/test/csit/scripts/car_people_shard.sh
Executing /w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/test/csit/scripts/car_people_shard.sh...
Add car-people shards file
Copy shard config to member-1 with IP address 10.30.171.99
Warning: Permanently added '10.30.171.99' (ECDSA) to the list of known hosts.
Copy shard config to member-2 with IP address 10.30.171.216
Warning: Permanently added '10.30.171.216' (ECDSA) to the list of known hosts.
Copy shard config to member-3 with IP address 10.30.170.220
Warning: Permanently added '10.30.170.220' (ECDSA) to the list of known hosts.
Finished running script plans
Configuring member-1 with IP address 10.30.171.99
Warning: Permanently added '10.30.171.99' (ECDSA) to the list of known hosts.
Warning: Permanently added '10.30.171.99' (ECDSA) to the list of known hosts.
+ source /tmp/common-functions.sh karaf-0.20.1-SNAPSHOT
++ [[ /tmp/common-functions.sh == \/\t\m\p\/\c\o\n\f\i\g\u\r\a\t\i\o\n\-\s\c\r\i\p\t\.\s\h ]]
common-functions.sh is being sourced
++ echo 'common-functions.sh is being sourced'
++ BUNDLEFOLDER=karaf-0.20.1-SNAPSHOT
++ export MAVENCONF=/tmp/karaf-0.20.1-SNAPSHOT/etc/org.ops4j.pax.url.mvn.cfg
++ MAVENCONF=/tmp/karaf-0.20.1-SNAPSHOT/etc/org.ops4j.pax.url.mvn.cfg
++ export FEATURESCONF=/tmp/karaf-0.20.1-SNAPSHOT/etc/org.apache.karaf.features.cfg
++ FEATURESCONF=/tmp/karaf-0.20.1-SNAPSHOT/etc/org.apache.karaf.features.cfg
++ export CUSTOMPROP=/tmp/karaf-0.20.1-SNAPSHOT/etc/custom.properties
++ CUSTOMPROP=/tmp/karaf-0.20.1-SNAPSHOT/etc/custom.properties
++ export LOGCONF=/tmp/karaf-0.20.1-SNAPSHOT/etc/org.ops4j.pax.logging.cfg
++ LOGCONF=/tmp/karaf-0.20.1-SNAPSHOT/etc/org.ops4j.pax.logging.cfg
++ export MEMCONF=/tmp/karaf-0.20.1-SNAPSHOT/bin/setenv
++ MEMCONF=/tmp/karaf-0.20.1-SNAPSHOT/bin/setenv
++ export CONTROLLERMEM=
++ CONTROLLERMEM=
++ export AKKACONF=/tmp/karaf-0.20.1-SNAPSHOT/configuration/initial/akka.conf
++ AKKACONF=/tmp/karaf-0.20.1-SNAPSHOT/configuration/initial/akka.conf
++ export MODULESCONF=/tmp/karaf-0.20.1-SNAPSHOT/configuration/initial/modules.conf
++ MODULESCONF=/tmp/karaf-0.20.1-SNAPSHOT/configuration/initial/modules.conf
++ export MODULESHARDSCONF=/tmp/karaf-0.20.1-SNAPSHOT/configuration/initial/module-shards.conf
++ MODULESHARDSCONF=/tmp/karaf-0.20.1-SNAPSHOT/configuration/initial/module-shards.conf
++ print_common_env
++ cat
common-functions environment:
MAVENCONF: /tmp/karaf-0.20.1-SNAPSHOT/etc/org.ops4j.pax.url.mvn.cfg
ACTUALFEATURES:
FEATURESCONF: /tmp/karaf-0.20.1-SNAPSHOT/etc/org.apache.karaf.features.cfg
CUSTOMPROP: /tmp/karaf-0.20.1-SNAPSHOT/etc/custom.properties
LOGCONF: /tmp/karaf-0.20.1-SNAPSHOT/etc/org.ops4j.pax.logging.cfg
MEMCONF: /tmp/karaf-0.20.1-SNAPSHOT/bin/setenv
CONTROLLERMEM:
AKKACONF: /tmp/karaf-0.20.1-SNAPSHOT/configuration/initial/akka.conf
MODULESCONF: /tmp/karaf-0.20.1-SNAPSHOT/configuration/initial/modules.conf
MODULESHARDSCONF: /tmp/karaf-0.20.1-SNAPSHOT/configuration/initial/module-shards.conf
SUITES:
++ SSH='ssh -t -t'
++ extra_services_cntl=' dnsmasq.service httpd.service libvirtd.service openvswitch.service ovs-vswitchd.service ovsdb-server.service rabbitmq-server.service '
++ extra_services_cmp=' libvirtd.service openvswitch.service ovs-vswitchd.service ovsdb-server.service '
Changing to /tmp
+ echo 'Changing to /tmp'
+ cd /tmp
Downloading the distribution from https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/karaf/0.20.1-SNAPSHOT/karaf-0.20.1-20240418.235143-1.zip
+ echo 'Downloading the distribution from https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/karaf/0.20.1-SNAPSHOT/karaf-0.20.1-20240418.235143-1.zip'
+ wget --progress=dot:mega https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/karaf/0.20.1-SNAPSHOT/karaf-0.20.1-20240418.235143-1.zip
--2024-04-27 23:47:53-- https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/karaf/0.20.1-SNAPSHOT/karaf-0.20.1-20240418.235143-1.zip
Resolving nexus.opendaylight.org (nexus.opendaylight.org)... 199.204.45.87, 2604:e100:1:0:f816:3eff:fe45:48d6
Connecting to nexus.opendaylight.org (nexus.opendaylight.org)|199.204.45.87|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 289547889 (276M) [application/zip]
Saving to: ‘karaf-0.20.1-20240418.235143-1.zip’
0K ........ ........ ........ ........ ........ ........ 1% 87.4M 3s
3072K ........ ........ ........ ........ ........ ........ 2% 150M 2s
6144K ........ ........ ........ ........ ........ ........ 3% 184M 2s
9216K ........ ........ ........ ........ ........ ........ 4% 188M 2s
12288K ........ ........ ........ ........ ........ ........ 5% 238M 2s
15360K ........ ........ ........ ........ ........ ........ 6% 219M 2s
18432K ........ ........ ........ ........ ........ ........ 7% 251M 2s
21504K ........ ........ ........ ........ ........ ........ 8% 271M 1s
24576K ........ ........ ........ ........ ........ ........ 9% 281M 1s
27648K ........ ........ ........ ........ ........ ........ 10% 318M 1s
30720K ........ ........ ........ ........ ........ ........ 11% 245M 1s
33792K ........ ........ ........ ........ ........ ........ 13% 272M 1s
36864K ........ ........ ........ ........ ........ ........ 14% 199M 1s
39936K ........ ........ ........ ........ ........ ........ 15% 187M 1s
43008K ........ ........ ........ ........ ........ ........ 16% 218M 1s
46080K ........ ........ ........ ........ ........ ........ 17% 199M 1s
49152K ........ ........ ........ ........ ........ ........ 18% 216M 1s
52224K ........ ........ ........ ........ ........ ........ 19% 234M 1s
55296K ........ ........ ........ ........ ........ ........ 20% 238M 1s
58368K ........ ........ ........ ........ ........ ........ 21% 199M 1s
61440K ........ ........ ........ ........ ........ ........ 22% 171M 1s
64512K ........ ........ ........ ........ ........ ........ 23% 200M 1s
67584K ........ ........ ........ ........ ........ ........ 24% 243M 1s
70656K ........ ........ ........ ........ ........ ........ 26% 277M 1s
73728K ........ ........ ........ ........ ........ ........ 27% 265M 1s
76800K ........ ........ ........ ........ ........ ........ 28% 292M 1s
79872K ........ ........ ........ ........ ........ ........ 29% 204M 1s
82944K ........ ........ ........ ........ ........ ........ 30% 239M 1s
86016K ........ ........ ........ ........ ........ ........ 31% 274M 1s
89088K ........ ........ ........ ........ ........ ........ 32% 227M 1s
92160K ........ ........ ........ ........ ........ ........ 33% 242M 1s
95232K ........ ........ ........ ........ ........ ........ 34% 240M 1s
98304K ........ ........ ........ ........ ........ ........ 35% 274M 1s
101376K ........ ........ ........ ........ ........ ........ 36% 258M 1s
104448K ........ ........ ........ ........ ........ ........ 38% 251M 1s
107520K ........ ........ ........ ........ ........ ........ 39% 257M 1s
110592K ........ ........ ........ ........ ........ ........ 40% 246M 1s
113664K ........ ........ ........ ........ ........ ........ 41% 175M 1s
116736K ........ ........ ........ ........ ........ ........ 42% 209M 1s
119808K ........ ........ ........ ........ ........ ........ 43% 216M 1s
122880K ........ ........ ........ ........ ........ ........ 44% 210M 1s
125952K ........ ........ ........ ........ ........ ........ 45% 209M 1s
129024K ........ ........ ........ ........ ........ ........ 46% 215M 1s
132096K ........ ........ ........ ........ ........ ........ 47% 217M 1s
135168K ........ ........ ........ ........ ........ ........ 48% 228M 1s
138240K ........ ........ ........ ........ ........ ........ 49% 261M 1s
141312K ........ ........ ........ ........ ........ ........ 51% 234M 1s
144384K ........ ........ ........ ........ ........ ........ 52% 264M 1s
147456K ........ ........ ........ ........ ........ ........ 53% 259M 1s
150528K ........ ........ ........ ........ ........ ........ 54% 178M 1s
153600K ........ ........ ........ ........ ........ ........ 55% 207M 1s
156672K ........ ........ ........ ........ ........ ........ 56% 265M 1s
159744K ........ ........ ........ ........ ........ ........ 57% 265M 1s
162816K ........ ........ ........ ........ ........ ........ 58% 248M 1s
165888K ........ ........ ........ ........ ........ ........ 59% 259M 1s
168960K ........ ........ ........ ........ ........ ........ 60% 265M 0s
172032K ........ ........ ........ ........ ........ ........ 61% 260M 0s
175104K ........ ........ ........ ........ ........ ........ 63% 265M 0s
178176K ........ ........ ........ ........ ........ ........ 64% 271M 0s
181248K ........ ........ ........ ........ ........ ........ 65% 244M 0s
184320K ........ ........ ........ ........ ........ ........ 66% 213M 0s
187392K ........ ........ ........ ........ ........ ........ 67% 231M 0s
190464K ........ ........ ........ ........ ........ ........ 68% 134M 0s
193536K ........ ........ ........ ........ ........ ........ 69% 186M 0s
196608K ........ ........ ........ ........ ........ ........ 70% 254M 0s
199680K ........ ........ ........ ........ ........ ........ 71% 167M 0s
202752K ........ ........ ........ ........ ........ ........ 72% 233M 0s
205824K ........ ........ ........ ........ ........ ........ 73% 261M 0s
208896K ........ ........ ........ ........ ........ ........ 74% 246M 0s
211968K ........ ........ ........ ........ ........ ........ 76% 260M 0s
215040K ........ ........ ........ ........ ........ ........ 77% 262M 0s
218112K ........ ........ ........ ........ ........ ........ 78% 247M 0s
221184K ........ ........ ........ ........ ........ ........ 79% 253M 0s
224256K ........ ........ ........ ........ ........ ........ 80% 244M 0s
227328K ........ ........ ........ ........ ........ ........ 81% 264M 0s
230400K ........ ........ ........ ........ ........ ........ 82% 228M 0s
233472K ........ ........ ........ ........ ........ ........ 83% 270M 0s
236544K ........ ........ ........ ........ ........ ........ 84% 200M 0s
239616K ........ ........ ........ ........ ........ ........ 85% 105M 0s
242688K ........ ........ ........ ........ ........ ........ 86% 95.3M 0s
245760K ........ ........ ........ ........ ........ ........ 88% 168M 0s
248832K ........ ........ ........ ........ ........ ........ 89% 233M 0s
251904K ........ ........ ........ ........ ........ ........ 90% 221M 0s
254976K ........ ........ ........ ........ ........ ........ 91% 266M 0s
258048K ........ ........ ........ ........ ........ ........ 92% 263M 0s
261120K ........ ........ ........ ........ ........ ........ 93% 235M 0s
264192K ........ ........ ........ ........ ........ ........ 94% 227M 0s
267264K ........ ........ ........ ........ ........ ........ 95% 311M 0s
270336K ........ ........ ........ ........ ........ ........ 96% 272M 0s
273408K ........ ........ ........ ........ ........ ........ 97% 239M 0s
276480K ........ ........ ........ ........ ........ ........ 98% 197M 0s
279552K ........ ........ ........ ........ ........ ........ 99% 265M 0s
282624K .. 100% 421M=1.3s
2024-04-27 23:47:54 (219 MB/s) - ‘karaf-0.20.1-20240418.235143-1.zip’ saved [289547889/289547889]
Extracting the new controller...
+ echo 'Extracting the new controller...'
+ unzip -q karaf-0.20.1-20240418.235143-1.zip
Adding external repositories...
+ echo 'Adding external repositories...'
+ sed -ie 's%org.ops4j.pax.url.mvn.repositories=%org.ops4j.pax.url.mvn.repositories=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot@id=opendaylight-snapshot@snapshots, https://nexus.opendaylight.org/content/repositories/public@id=opendaylight-mirror, http://repo1.maven.org/maven2@id=central, http://repository.springsource.com/maven/bundles/release@id=spring.ebr.release, http://repository.springsource.com/maven/bundles/external@id=spring.ebr.external, http://zodiac.springsource.com/maven/bundles/release@id=gemini, http://repository.apache.org/content/groups/snapshots-group@id=apache@snapshots@noreleases, https://oss.sonatype.org/content/repositories/snapshots@id=sonatype.snapshots.deploy@snapshots@noreleases, https://oss.sonatype.org/content/repositories/ops4j-snapshots@id=ops4j.sonatype.snapshots.deploy@snapshots@noreleases%g' /tmp/karaf-0.20.1-SNAPSHOT/etc/org.ops4j.pax.url.mvn.cfg
+ cat /tmp/karaf-0.20.1-SNAPSHOT/etc/org.ops4j.pax.url.mvn.cfg
################################################################################
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
################################################################################
#
# If set to true, the following property will not allow any certificate to be used
# when accessing Maven repositories through SSL
#
#org.ops4j.pax.url.mvn.certificateCheck=
#
# Path to the local Maven settings file.
# The repositories defined in this file will be automatically added to the list
# of default repositories if the 'org.ops4j.pax.url.mvn.repositories' property
# below is not set.
# The following locations are checked for the existence of the settings.xml file
# * 1. looks for the specified url
# * 2. if not found looks for ${user.home}/.m2/settings.xml
# * 3. if not found looks for ${maven.home}/conf/settings.xml
# * 4. if not found looks for ${M2_HOME}/conf/settings.xml
#
#org.ops4j.pax.url.mvn.settings=
#
# Path to the local Maven repository which is used to avoid downloading
# artifacts when they already exist locally.
# The value of this property will be extracted from the settings.xml file
# above, or defaulted to:
# System.getProperty( "user.home" ) + "/.m2/repository"
#
org.ops4j.pax.url.mvn.localRepository=${karaf.home}/${karaf.default.repository}
#
# Default this to false. It's just weird to use undocumented repos
#
org.ops4j.pax.url.mvn.useFallbackRepositories=false
#
# Uncomment if you don't wanna use the proxy settings
# from the Maven conf/settings.xml file
#
# org.ops4j.pax.url.mvn.proxySupport=false
#
# Comma separated list of repositories scanned when resolving an artifact.
# Those repositories will be checked before iterating through the
# below list of repositories and even before the local repository
# A repository url can be appended with zero or more of the following flags:
# @snapshots : the repository contains snaphots
# @noreleases : the repository does not contain any released artifacts
#
# The following property value will add the system folder as a repo.
#
org.ops4j.pax.url.mvn.defaultRepositories=\
file:${karaf.home}/${karaf.default.repository}@id=system.repository@snapshots,\
file:${karaf.data}/kar@id=kar.repository@multi@snapshots,\
file:${karaf.base}/${karaf.default.repository}@id=child.system.repository@snapshots
# Use the default local repo (e.g.~/.m2/repository) as a "remote" repo
#org.ops4j.pax.url.mvn.defaultLocalRepoAsRemote=false
#
# Comma separated list of repositories scanned when resolving an artifact.
# The default list includes the following repositories:
# http://repo1.maven.org/maven2@id=central
# http://repository.springsource.com/maven/bundles/release@id=spring.ebr
# http://repository.springsource.com/maven/bundles/external@id=spring.ebr.external
# http://zodiac.springsource.com/maven/bundles/release@id=gemini
# http://repository.apache.org/content/groups/snapshots-group@id=apache@snapshots@noreleases
# https://oss.sonatype.org/content/repositories/snapshots@id=sonatype.snapshots.deploy@snapshots@noreleases
# https://oss.sonatype.org/content/repositories/ops4j-snapshots@id=ops4j.sonatype.snapshots.deploy@snapshots@noreleases
# To add repositories to the default ones, prepend '+' to the list of repositories
# to add.
# A repository url can be appended with zero or more of the following flags:
# @snapshots : the repository contains snapshots
# @noreleases : the repository does not contain any released artifacts
# @id=repository.id : the id for the repository, just like in the settings.xml this is optional but recommended
#
org.ops4j.pax.url.mvn.repositories=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot@id=opendaylight-snapshot@snapshots, https://nexus.opendaylight.org/content/repositories/public@id=opendaylight-mirror, http://repo1.maven.org/maven2@id=central, http://repository.springsource.com/maven/bundles/release@id=spring.ebr.release, http://repository.springsource.com/maven/bundles/external@id=spring.ebr.external, http://zodiac.springsource.com/maven/bundles/release@id=gemini, http://repository.apache.org/content/groups/snapshots-group@id=apache@snapshots@noreleases, https://oss.sonatype.org/content/repositories/snapshots@id=sonatype.snapshots.deploy@snapshots@noreleases, https://oss.sonatype.org/content/repositories/ops4j-snapshots@id=ops4j.sonatype.snapshots.deploy@snapshots@noreleases
### ^^^ No remote repositories. This is the only ODL change compared to Karaf defaults.Configuring the startup features...
+ [[ True == \T\r\u\e ]]
+ echo 'Configuring the startup features...'
+ sed -ie 's/\(featuresBoot=\|featuresBoot =\)/featuresBoot = odl-infrautils-ready,odl-jolokia,odl-restconf,odl-clustering-test-app,/g' /tmp/karaf-0.20.1-SNAPSHOT/etc/org.apache.karaf.features.cfg
+ FEATURE_TEST_STRING=features-test
+ FEATURE_TEST_VERSION=0.20.1-SNAPSHOT
+ KARAF_VERSION=karaf4
+ [[ integration == \i\n\t\e\g\r\a\t\i\o\n ]]
+ sed -ie 's%\(featuresRepositories=\|featuresRepositories =\)%featuresRepositories = mvn:org.opendaylight.integration/features-test/0.20.1-SNAPSHOT/xml/features,mvn:org.apache.karaf.decanter/apache-karaf-decanter/1.2.0/xml/features,%g' /tmp/karaf-0.20.1-SNAPSHOT/etc/org.apache.karaf.features.cfg
+ [[ ! -z '' ]]
+ cat /tmp/karaf-0.20.1-SNAPSHOT/etc/org.apache.karaf.features.cfg
################################################################################
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
################################################################################
#
# Comma separated list of features repositories to register by default
#
featuresRepositories = mvn:org.opendaylight.integration/features-test/0.20.1-SNAPSHOT/xml/features,mvn:org.apache.karaf.decanter/apache-karaf-decanter/1.2.0/xml/features, file:${karaf.etc}/f672b964-93a9-490b-99c4-29d2472ec2ef.xml
#
# Comma separated list of features to install at startup
#
featuresBoot = odl-infrautils-ready,odl-jolokia,odl-restconf,odl-clustering-test-app, eadc6530-6f9b-43f4-8562-a6b121b5b3a3
#
# Resource repositories (OBR) that the features resolver can use
# to resolve requirements/capabilities
#
# The format of the resourceRepositories is
# resourceRepositories=[xml:url|json:url],...
# for Instance:
#
#resourceRepositories=xml:http://host/path/to/index.xml
# or
#resourceRepositories=json:http://host/path/to/index.json
#
#
# Defines if the boot features are started in asynchronous mode (in a dedicated thread)
#
featuresBootAsynchronous=false
#
# Service requirements enforcement
#
# By default, the feature resolver checks the service requirements/capabilities of
# bundles for new features (xml schema >= 1.3.0) in order to automatically installs
# the required bundles.
# The following flag can have those values:
# - disable: service requirements are completely ignored
# - default: service requirements are ignored for old features
# - enforce: service requirements are always verified
#
#serviceRequirements=default
#
# Store cfg file for config element in feature
#
#configCfgStore=true
#
# Define if the feature service automatically refresh bundles
#
autoRefresh=true
#
# Configuration of features processing mechanism (overrides, blacklisting, modification of features)
# XML file defines instructions related to features processing
# versions.properties may declare properties to resolve placeholders in XML file
# both files are relative to ${karaf.etc}
#
#featureProcessing=org.apache.karaf.features.xml
#featureProcessingVersions=versions.properties
+ configure_karaf_log karaf4 ''
+ local -r karaf_version=karaf4
+ local -r controllerdebugmap=
+ local logapi=log4j
+ grep log4j2 /tmp/karaf-0.20.1-SNAPSHOT/etc/org.ops4j.pax.logging.cfg
log4j2.pattern = %d{ISO8601} | %-5p | %-16t | %-32c{1} | %X{bundle.id} - %X{bundle.name} - %X{bundle.version} | %m%n
log4j2.rootLogger.level = INFO
#log4j2.rootLogger.type = asyncRoot
#log4j2.rootLogger.includeLocation = false
log4j2.rootLogger.appenderRef.RollingFile.ref = RollingFile
log4j2.rootLogger.appenderRef.PaxOsgi.ref = PaxOsgi
log4j2.rootLogger.appenderRef.Console.ref = Console
log4j2.rootLogger.appenderRef.Console.filter.threshold.type = ThresholdFilter
log4j2.rootLogger.appenderRef.Console.filter.threshold.level = ${karaf.log.console:-OFF}
log4j2.rootLogger.appenderRef.RollingFile.filter.confidential.type = ContextMapFilter
log4j2.rootLogger.appenderRef.RollingFile.filter.confidential.pair1.type = KeyValuePair
log4j2.rootLogger.appenderRef.RollingFile.filter.confidential.pair1.key = slf4j.marker
log4j2.rootLogger.appenderRef.RollingFile.filter.confidential.pair1.value = CONFIDENTIAL
log4j2.rootLogger.appenderRef.RollingFile.filter.confidential.operator = or
log4j2.rootLogger.appenderRef.RollingFile.filter.confidential.onMatch = DENY
log4j2.rootLogger.appenderRef.RollingFile.filter.confidential.onMismatch = NEUTRAL
log4j2.logger.spifly.name = org.apache.aries.spifly
log4j2.logger.spifly.level = WARN
log4j2.logger.audit.name = org.apache.karaf.jaas.modules.audit
log4j2.logger.audit.level = INFO
log4j2.logger.audit.additivity = false
log4j2.logger.audit.appenderRef.AuditRollingFile.ref = AuditRollingFile
# Console appender not used by default (see log4j2.rootLogger.appenderRefs)
log4j2.appender.console.type = Console
log4j2.appender.console.name = Console
log4j2.appender.console.layout.type = PatternLayout
log4j2.appender.console.layout.pattern = ${log4j2.pattern}
log4j2.appender.rolling.type = RollingRandomAccessFile
log4j2.appender.rolling.name = RollingFile
log4j2.appender.rolling.fileName = ${karaf.data}/log/karaf.log
log4j2.appender.rolling.filePattern = ${karaf.data}/log/karaf.log.%i
#log4j2.appender.rolling.immediateFlush = false
log4j2.appender.rolling.append = true
log4j2.appender.rolling.layout.type = PatternLayout
log4j2.appender.rolling.layout.pattern = ${log4j2.pattern}
log4j2.appender.rolling.policies.type = Policies
log4j2.appender.rolling.policies.size.type = SizeBasedTriggeringPolicy
log4j2.appender.rolling.policies.size.size = 64MB
log4j2.appender.rolling.strategy.type = DefaultRolloverStrategy
log4j2.appender.rolling.strategy.max = 7
log4j2.appender.audit.type = RollingRandomAccessFile
log4j2.appender.audit.name = AuditRollingFile
log4j2.appender.audit.fileName = ${karaf.data}/security/audit.log
log4j2.appender.audit.filePattern = ${karaf.data}/security/audit.log.%i
log4j2.appender.audit.append = true
log4j2.appender.audit.layout.type = PatternLayout
log4j2.appender.audit.layout.pattern = ${log4j2.pattern}
log4j2.appender.audit.policies.type = Policies
log4j2.appender.audit.policies.size.type = SizeBasedTriggeringPolicy
log4j2.appender.audit.policies.size.size = 8MB
log4j2.appender.audit.strategy.type = DefaultRolloverStrategy
log4j2.appender.audit.strategy.max = 7
log4j2.appender.osgi.type = PaxOsgi
log4j2.appender.osgi.name = PaxOsgi
log4j2.appender.osgi.filter = *
#log4j2.logger.aether.name = shaded.org.eclipse.aether
#log4j2.logger.aether.level = TRACE
#log4j2.logger.http-headers.name = shaded.org.apache.http.headers
#log4j2.logger.http-headers.level = DEBUG
#log4j2.logger.maven.name = org.ops4j.pax.url.mvn
#log4j2.logger.maven.level = TRACE
Configuring the karaf log... karaf_version: karaf4, logapi: log4j2
+ logapi=log4j2
+ echo 'Configuring the karaf log... karaf_version: karaf4, logapi: log4j2'
+ '[' log4j2 == log4j2 ']'
+ sed -ie 's/log4j2.appender.rolling.policies.size.size = 64MB/log4j2.appender.rolling.policies.size.size = 1GB/g' /tmp/karaf-0.20.1-SNAPSHOT/etc/org.ops4j.pax.logging.cfg
+ orgmodule=org.opendaylight.yangtools.yang.parser.repo.YangTextSchemaContextResolver
+ orgmodule_=org_opendaylight_yangtools_yang_parser_repo_YangTextSchemaContextResolver
+ echo 'log4j2.logger.org_opendaylight_yangtools_yang_parser_repo_YangTextSchemaContextResolver.name = WARN'
+ echo 'log4j2.logger.org_opendaylight_yangtools_yang_parser_repo_YangTextSchemaContextResolver.level = WARN'
+ unset IFS
controllerdebugmap:
+ echo 'controllerdebugmap: '
+ '[' -n '' ']'
cat /tmp/karaf-0.20.1-SNAPSHOT/etc/org.ops4j.pax.logging.cfg
+ echo 'cat /tmp/karaf-0.20.1-SNAPSHOT/etc/org.ops4j.pax.logging.cfg'
+ cat /tmp/karaf-0.20.1-SNAPSHOT/etc/org.ops4j.pax.logging.cfg
################################################################################
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
################################################################################
# Common pattern layout for appenders
log4j2.pattern = %d{ISO8601} | %-5p | %-16t | %-32c{1} | %X{bundle.id} - %X{bundle.name} - %X{bundle.version} | %m%n
# Root logger
log4j2.rootLogger.level = INFO
# uncomment to use asynchronous loggers, which require mvn:com.lmax/disruptor/3.3.2 library
#log4j2.rootLogger.type = asyncRoot
#log4j2.rootLogger.includeLocation = false
log4j2.rootLogger.appenderRef.RollingFile.ref = RollingFile
log4j2.rootLogger.appenderRef.PaxOsgi.ref = PaxOsgi
log4j2.rootLogger.appenderRef.Console.ref = Console
log4j2.rootLogger.appenderRef.Console.filter.threshold.type = ThresholdFilter
log4j2.rootLogger.appenderRef.Console.filter.threshold.level = ${karaf.log.console:-OFF}
# Filters for logs marked by org.opendaylight.odlparent.Markers
log4j2.rootLogger.appenderRef.RollingFile.filter.confidential.type = ContextMapFilter
log4j2.rootLogger.appenderRef.RollingFile.filter.confidential.pair1.type = KeyValuePair
log4j2.rootLogger.appenderRef.RollingFile.filter.confidential.pair1.key = slf4j.marker
log4j2.rootLogger.appenderRef.RollingFile.filter.confidential.pair1.value = CONFIDENTIAL
log4j2.rootLogger.appenderRef.RollingFile.filter.confidential.operator = or
log4j2.rootLogger.appenderRef.RollingFile.filter.confidential.onMatch = DENY
log4j2.rootLogger.appenderRef.RollingFile.filter.confidential.onMismatch = NEUTRAL
# Loggers configuration
# Spifly logger
log4j2.logger.spifly.name = org.apache.aries.spifly
log4j2.logger.spifly.level = WARN
# Security audit logger
log4j2.logger.audit.name = org.apache.karaf.jaas.modules.audit
log4j2.logger.audit.level = INFO
log4j2.logger.audit.additivity = false
log4j2.logger.audit.appenderRef.AuditRollingFile.ref = AuditRollingFile
# Appenders configuration
# Console appender not used by default (see log4j2.rootLogger.appenderRefs)
log4j2.appender.console.type = Console
log4j2.appender.console.name = Console
log4j2.appender.console.layout.type = PatternLayout
log4j2.appender.console.layout.pattern = ${log4j2.pattern}
# Rolling file appender
log4j2.appender.rolling.type = RollingRandomAccessFile
log4j2.appender.rolling.name = RollingFile
log4j2.appender.rolling.fileName = ${karaf.data}/log/karaf.log
log4j2.appender.rolling.filePattern = ${karaf.data}/log/karaf.log.%i
# uncomment to not force a disk flush
#log4j2.appender.rolling.immediateFlush = false
log4j2.appender.rolling.append = true
log4j2.appender.rolling.layout.type = PatternLayout
log4j2.appender.rolling.layout.pattern = ${log4j2.pattern}
log4j2.appender.rolling.policies.type = Policies
log4j2.appender.rolling.policies.size.type = SizeBasedTriggeringPolicy
log4j2.appender.rolling.policies.size.size = 1GB
log4j2.appender.rolling.strategy.type = DefaultRolloverStrategy
log4j2.appender.rolling.strategy.max = 7
# Audit file appender
log4j2.appender.audit.type = RollingRandomAccessFile
log4j2.appender.audit.name = AuditRollingFile
log4j2.appender.audit.fileName = ${karaf.data}/security/audit.log
log4j2.appender.audit.filePattern = ${karaf.data}/security/audit.log.%i
log4j2.appender.audit.append = true
log4j2.appender.audit.layout.type = PatternLayout
log4j2.appender.audit.layout.pattern = ${log4j2.pattern}
log4j2.appender.audit.policies.type = Policies
log4j2.appender.audit.policies.size.type = SizeBasedTriggeringPolicy
log4j2.appender.audit.policies.size.size = 8MB
log4j2.appender.audit.strategy.type = DefaultRolloverStrategy
log4j2.appender.audit.strategy.max = 7
# OSGi appender
log4j2.appender.osgi.type = PaxOsgi
log4j2.appender.osgi.name = PaxOsgi
log4j2.appender.osgi.filter = *
# help with identification of maven-related problems with pax-url-aether
#log4j2.logger.aether.name = shaded.org.eclipse.aether
#log4j2.logger.aether.level = TRACE
#log4j2.logger.http-headers.name = shaded.org.apache.http.headers
#log4j2.logger.http-headers.level = DEBUG
#log4j2.logger.maven.name = org.ops4j.pax.url.mvn
#log4j2.logger.maven.level = TRACE
log4j2.logger.org_opendaylight_yangtools_yang_parser_repo_YangTextSchemaContextResolver.name = WARN
log4j2.logger.org_opendaylight_yangtools_yang_parser_repo_YangTextSchemaContextResolver.level = WARN
+ set_java_vars /usr/lib/jvm/java-17-openjdk 2048m /tmp/karaf-0.20.1-SNAPSHOT/bin/setenv
+ local -r java_home=/usr/lib/jvm/java-17-openjdk
+ local -r controllermem=2048m
Configure
java home: /usr/lib/jvm/java-17-openjdk
+ local -r memconf=/tmp/karaf-0.20.1-SNAPSHOT/bin/setenv
+ echo Configure
+ echo ' java home: /usr/lib/jvm/java-17-openjdk'
max memory: 2048m
memconf: /tmp/karaf-0.20.1-SNAPSHOT/bin/setenv
+ echo ' max memory: 2048m'
+ echo ' memconf: /tmp/karaf-0.20.1-SNAPSHOT/bin/setenv'
+ sed -ie 's%^# export JAVA_HOME%export JAVA_HOME=${JAVA_HOME:-/usr/lib/jvm/java-17-openjdk}%g' /tmp/karaf-0.20.1-SNAPSHOT/bin/setenv
+ sed -ie 's/JAVA_MAX_MEM="2048m"/JAVA_MAX_MEM=2048m/g' /tmp/karaf-0.20.1-SNAPSHOT/bin/setenv
cat /tmp/karaf-0.20.1-SNAPSHOT/bin/setenv
+ echo 'cat /tmp/karaf-0.20.1-SNAPSHOT/bin/setenv'
+ cat /tmp/karaf-0.20.1-SNAPSHOT/bin/setenv
#!/bin/sh
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#
# handle specific scripts; the SCRIPT_NAME is exactly the name of the Karaf
# script: client, instance, shell, start, status, stop, karaf
#
# if [ "${KARAF_SCRIPT}" == "SCRIPT_NAME" ]; then
# Actions go here...
# fi
#
# general settings which should be applied for all scripts go here; please keep
# in mind that it is possible that scripts might be executed more than once, e.g.
# in example of the start script where the start script is executed first and the
# karaf script afterwards.
#
#
# The following section shows the possible configuration options for the default
# karaf scripts
#
export JAVA_HOME=${JAVA_HOME:-/usr/lib/jvm/java-17-openjdk} # Location of Java installation
# export JAVA_OPTS # Generic JVM options, for instance, where you can pass the memory configuration
# export JAVA_NON_DEBUG_OPTS # Additional non-debug JVM options
# export EXTRA_JAVA_OPTS # Additional JVM options
# export KARAF_HOME # Karaf home folder
# export KARAF_DATA # Karaf data folder
# export KARAF_BASE # Karaf base folder
# export KARAF_ETC # Karaf etc folder
# export KARAF_LOG # Karaf log folder
# export KARAF_SYSTEM_OPTS # First citizen Karaf options
# export KARAF_OPTS # Additional available Karaf options
# export KARAF_DEBUG # Enable debug mode
# export KARAF_REDIRECT # Enable/set the std/err redirection when using bin/start
# export KARAF_NOROOT # Prevent execution as root if set to true
+ echo 'Set Java version'
Set Java version
+ sudo /usr/sbin/alternatives --install /usr/bin/java java /usr/lib/jvm/java-17-openjdk/bin/java 1
+ sudo /usr/sbin/alternatives --set java /usr/lib/jvm/java-17-openjdk/bin/java
JDK default version ...
+ echo 'JDK default version ...'
+ java -version
openjdk version "17.0.6-ea" 2023-01-17 LTS
OpenJDK Runtime Environment (Red_Hat-17.0.6.0.9-0.3.ea.el8) (build 17.0.6-ea+9-LTS)
OpenJDK 64-Bit Server VM (Red_Hat-17.0.6.0.9-0.3.ea.el8) (build 17.0.6-ea+9-LTS, mixed mode, sharing)
Set JAVA_HOME
+ echo 'Set JAVA_HOME'
+ export JAVA_HOME=/usr/lib/jvm/java-17-openjdk
+ JAVA_HOME=/usr/lib/jvm/java-17-openjdk
++ readlink -e /usr/lib/jvm/java-17-openjdk/bin/java
+ JAVA_RESOLVED=/usr/lib/jvm/java-17-openjdk-17.0.6.0.9-0.3.ea.el8.x86_64/bin/java
+ echo 'Java binary pointed at by JAVA_HOME: /usr/lib/jvm/java-17-openjdk-17.0.6.0.9-0.3.ea.el8.x86_64/bin/java'
Java binary pointed at by JAVA_HOME: /usr/lib/jvm/java-17-openjdk-17.0.6.0.9-0.3.ea.el8.x86_64/bin/java
Listing all open ports on controller system...
+ echo 'Listing all open ports on controller system...'
+ netstat -pnatu
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN -
tcp 0 164 10.30.171.99:22 10.30.171.54:48714 ESTABLISHED -
tcp 0 0 10.30.171.99:38516 199.204.45.87:443 TIME_WAIT -
tcp6 0 0 :::111 :::* LISTEN -
tcp6 0 0 :::5555 :::* LISTEN -
tcp6 0 0 :::22 :::* LISTEN -
udp 0 0 10.30.171.99:68 10.30.170.3:67 ESTABLISHED -
udp 0 0 0.0.0.0:111 0.0.0.0:* -
udp 0 0 127.0.0.1:323 0.0.0.0:* -
udp6 0 0 :::111 :::* -
udp6 0 0 ::1:323 :::* -
Custom shard config exists!!!
Copying the shard config...
+ '[' -f /tmp/custom_shard_config.txt ']'
+ echo 'Custom shard config exists!!!'
+ echo 'Copying the shard config...'
+ cp /tmp/custom_shard_config.txt /tmp/karaf-0.20.1-SNAPSHOT/bin/
Configuring cluster
+ echo 'Configuring cluster'
+ /tmp/karaf-0.20.1-SNAPSHOT/bin/configure_cluster.sh 1 10.30.171.99 10.30.171.216 10.30.170.220
################################################
## Configure Cluster ##
################################################
NOTE: Cluster configuration files not found. Copying from
/tmp/karaf-0.20.1-SNAPSHOT/system/org/opendaylight/controller/sal-clustering-config/9.0.2
Configuring unique name in akka.conf
Configuring hostname in akka.conf
Configuring data and rpc seed nodes in akka.conf
modules = [
{
name = "inventory"
namespace = "urn:opendaylight:inventory"
shard-strategy = "module"
},
{
name = "topology"
namespace = "urn:TBD:params:xml:ns:yang:network-topology"
shard-strategy = "module"
},
{
name = "toaster"
namespace = "http://netconfcentral.org/ns/toaster"
shard-strategy = "module"
},
{
name = "car"
namespace = "urn:opendaylight:params:xml:ns:yang:controller:config:sal-clustering-it:car"
shard-strategy = "module"
},
{
name = "people"
namespace = "urn:opendaylight:params:xml:ns:yang:controller:config:sal-clustering-it:people"
shard-strategy = "module"
},
{
name = "car-people"
namespace = "urn:opendaylight:params:xml:ns:yang:controller:config:sal-clustering-it:car-people"
shard-strategy = "module"
}
]
Configuring replication type in module-shards.conf
################################################
## NOTE: Manually restart controller to ##
## apply configuration. ##
################################################
Dump akka.conf
+ echo 'Dump akka.conf'
+ cat /tmp/karaf-0.20.1-SNAPSHOT/configuration/initial/akka.conf
odl-cluster-data {
akka {
remote {
artery {
enabled = on
transport = tcp
canonical.hostname = "10.30.171.99"
canonical.port = 2550
}
}
cluster {
# Using artery.
seed-nodes = ["akka://opendaylight-cluster-data@10.30.171.99:2550",
"akka://opendaylight-cluster-data@10.30.171.216:2550",
"akka://opendaylight-cluster-data@10.30.170.220:2550"]
roles = ["member-1"]
# when under load we might trip a false positive on the failure detector
# failure-detector {
# heartbeat-interval = 4 s
# acceptable-heartbeat-pause = 16s
# }
}
persistence {
# By default the snapshots/journal directories live in KARAF_HOME. You can choose to put it somewhere else by
# modifying the following two properties. The directory location specified may be a relative or absolute path.
# The relative path is always relative to KARAF_HOME.
# snapshot-store.local.dir = "target/snapshots"
# Use lz4 compression for LocalSnapshotStore snapshots
snapshot-store.local.use-lz4-compression = false
# Size of blocks for lz4 compression: 64KB, 256KB, 1MB or 4MB
snapshot-store.local.lz4-blocksize = 256KB
}
disable-default-actor-system-quarantined-event-handling = "false"
}
}
Dump modules.conf
+ echo 'Dump modules.conf'
+ cat /tmp/karaf-0.20.1-SNAPSHOT/configuration/initial/modules.conf
modules = [
{
name = "inventory"
namespace = "urn:opendaylight:inventory"
shard-strategy = "module"
},
{
name = "topology"
namespace = "urn:TBD:params:xml:ns:yang:network-topology"
shard-strategy = "module"
},
{
name = "toaster"
namespace = "http://netconfcentral.org/ns/toaster"
shard-strategy = "module"
},
{
name = "car"
namespace = "urn:opendaylight:params:xml:ns:yang:controller:config:sal-clustering-it:car"
shard-strategy = "module"
},
{
name = "people"
namespace = "urn:opendaylight:params:xml:ns:yang:controller:config:sal-clustering-it:people"
shard-strategy = "module"
},
{
name = "car-people"
namespace = "urn:opendaylight:params:xml:ns:yang:controller:config:sal-clustering-it:car-people"
shard-strategy = "module"
}
]
Dump module-shards.conf
+ echo 'Dump module-shards.conf'
+ cat /tmp/karaf-0.20.1-SNAPSHOT/configuration/initial/module-shards.conf
module-shards = [
{
name = "default"
shards = [
{
name = "default"
replicas = ["member-1",
"member-2",
"member-3"]
}
]
},
{
name = "inventory"
shards = [
{
name="inventory"
replicas = ["member-1",
"member-2",
"member-3"]
}
]
},
{
name = "topology"
shards = [
{
name="topology"
replicas = ["member-1",
"member-2",
"member-3"]
}
]
},
{
name = "toaster"
shards = [
{
name="toaster"
replicas = ["member-1",
"member-2",
"member-3"]
}
]
},
{
name = "car"
shards = [
{
name="car"
replicas = ["member-1",
"member-2",
"member-3"]
}
]
},
{
name = "people"
shards = [
{
name="people"
replicas = ["member-1",
"member-2",
"member-3"]
}
]
},
{
name = "car-people"
shards = [
{
name="car-people"
replicas = ["member-1",
"member-2",
"member-3"]
}
]
}
]
Configuring member-2 with IP address 10.30.171.216
Warning: Permanently added '10.30.171.216' (ECDSA) to the list of known hosts.
Warning: Permanently added '10.30.171.216' (ECDSA) to the list of known hosts.
+ source /tmp/common-functions.sh karaf-0.20.1-SNAPSHOT
++ [[ /tmp/common-functions.sh == \/\t\m\p\/\c\o\n\f\i\g\u\r\a\t\i\o\n\-\s\c\r\i\p\t\.\s\h ]]
common-functions.sh is being sourced
++ echo 'common-functions.sh is being sourced'
++ BUNDLEFOLDER=karaf-0.20.1-SNAPSHOT
++ export MAVENCONF=/tmp/karaf-0.20.1-SNAPSHOT/etc/org.ops4j.pax.url.mvn.cfg
++ MAVENCONF=/tmp/karaf-0.20.1-SNAPSHOT/etc/org.ops4j.pax.url.mvn.cfg
++ export FEATURESCONF=/tmp/karaf-0.20.1-SNAPSHOT/etc/org.apache.karaf.features.cfg
++ FEATURESCONF=/tmp/karaf-0.20.1-SNAPSHOT/etc/org.apache.karaf.features.cfg
++ export CUSTOMPROP=/tmp/karaf-0.20.1-SNAPSHOT/etc/custom.properties
++ CUSTOMPROP=/tmp/karaf-0.20.1-SNAPSHOT/etc/custom.properties
++ export LOGCONF=/tmp/karaf-0.20.1-SNAPSHOT/etc/org.ops4j.pax.logging.cfg
++ LOGCONF=/tmp/karaf-0.20.1-SNAPSHOT/etc/org.ops4j.pax.logging.cfg
++ export MEMCONF=/tmp/karaf-0.20.1-SNAPSHOT/bin/setenv
++ MEMCONF=/tmp/karaf-0.20.1-SNAPSHOT/bin/setenv
++ export CONTROLLERMEM=
++ CONTROLLERMEM=
++ export AKKACONF=/tmp/karaf-0.20.1-SNAPSHOT/configuration/initial/akka.conf
++ AKKACONF=/tmp/karaf-0.20.1-SNAPSHOT/configuration/initial/akka.conf
++ export MODULESCONF=/tmp/karaf-0.20.1-SNAPSHOT/configuration/initial/modules.conf
++ MODULESCONF=/tmp/karaf-0.20.1-SNAPSHOT/configuration/initial/modules.conf
++ export MODULESHARDSCONF=/tmp/karaf-0.20.1-SNAPSHOT/configuration/initial/module-shards.conf
++ MODULESHARDSCONF=/tmp/karaf-0.20.1-SNAPSHOT/configuration/initial/module-shards.conf
++ print_common_env
++ cat
common-functions environment:
MAVENCONF: /tmp/karaf-0.20.1-SNAPSHOT/etc/org.ops4j.pax.url.mvn.cfg
ACTUALFEATURES:
FEATURESCONF: /tmp/karaf-0.20.1-SNAPSHOT/etc/org.apache.karaf.features.cfg
CUSTOMPROP: /tmp/karaf-0.20.1-SNAPSHOT/etc/custom.properties
LOGCONF: /tmp/karaf-0.20.1-SNAPSHOT/etc/org.ops4j.pax.logging.cfg
MEMCONF: /tmp/karaf-0.20.1-SNAPSHOT/bin/setenv
CONTROLLERMEM:
AKKACONF: /tmp/karaf-0.20.1-SNAPSHOT/configuration/initial/akka.conf
MODULESCONF: /tmp/karaf-0.20.1-SNAPSHOT/configuration/initial/modules.conf
MODULESHARDSCONF: /tmp/karaf-0.20.1-SNAPSHOT/configuration/initial/module-shards.conf
SUITES:
++ SSH='ssh -t -t'
++ extra_services_cntl=' dnsmasq.service httpd.service libvirtd.service openvswitch.service ovs-vswitchd.service ovsdb-server.service rabbitmq-server.service '
++ extra_services_cmp=' libvirtd.service openvswitch.service ovs-vswitchd.service ovsdb-server.service '
Changing to /tmp
Downloading the distribution from https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/karaf/0.20.1-SNAPSHOT/karaf-0.20.1-20240418.235143-1.zip
+ echo 'Changing to /tmp'
+ cd /tmp
+ echo 'Downloading the distribution from https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/karaf/0.20.1-SNAPSHOT/karaf-0.20.1-20240418.235143-1.zip'
+ wget --progress=dot:mega https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/karaf/0.20.1-SNAPSHOT/karaf-0.20.1-20240418.235143-1.zip
--2024-04-27 23:47:58-- https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/karaf/0.20.1-SNAPSHOT/karaf-0.20.1-20240418.235143-1.zip
Resolving nexus.opendaylight.org (nexus.opendaylight.org)... 199.204.45.87, 2604:e100:1:0:f816:3eff:fe45:48d6
Connecting to nexus.opendaylight.org (nexus.opendaylight.org)|199.204.45.87|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 289547889 (276M) [application/zip]
Saving to: ‘karaf-0.20.1-20240418.235143-1.zip’
0K ........ ........ ........ ........ ........ ........ 1% 67.1M 4s
3072K ........ ........ ........ ........ ........ ........ 2% 102M 3s
6144K ........ ........ ........ ........ ........ ........ 3% 137M 3s
9216K ........ ........ ........ ........ ........ ........ 4% 161M 3s
12288K ........ ........ ........ ........ ........ ........ 5% 205M 2s
15360K ........ ........ ........ ........ ........ ........ 6% 203M 2s
18432K ........ ........ ........ ........ ........ ........ 7% 205M 2s
21504K ........ ........ ........ ........ ........ ........ 8% 224M 2s
24576K ........ ........ ........ ........ ........ ........ 9% 236M 2s
27648K ........ ........ ........ ........ ........ ........ 10% 256M 2s
30720K ........ ........ ........ ........ ........ ........ 11% 274M 2s
33792K ........ ........ ........ ........ ........ ........ 13% 287M 1s
36864K ........ ........ ........ ........ ........ ........ 14% 284M 1s
39936K ........ ........ ........ ........ ........ ........ 15% 312M 1s
43008K ........ ........ ........ ........ ........ ........ 16% 313M 1s
46080K ........ ........ ........ ........ ........ ........ 17% 311M 1s
49152K ........ ........ ........ ........ ........ ........ 18% 309M 1s
52224K ........ ........ ........ ........ ........ ........ 19% 312M 1s
55296K ........ ........ ........ ........ ........ ........ 20% 312M 1s
58368K ........ ........ ........ ........ ........ ........ 21% 315M 1s
61440K ........ ........ ........ ........ ........ ........ 22% 313M 1s
64512K ........ ........ ........ ........ ........ ........ 23% 315M 1s
67584K ........ ........ ........ ........ ........ ........ 24% 302M 1s
70656K ........ ........ ........ ........ ........ ........ 26% 306M 1s
73728K ........ ........ ........ ........ ........ ........ 27% 310M 1s
76800K ........ ........ ........ ........ ........ ........ 28% 313M 1s
79872K ........ ........ ........ ........ ........ ........ 29% 285M 1s
82944K ........ ........ ........ ........ ........ ........ 30% 220M 1s
86016K ........ ........ ........ ........ ........ ........ 31% 394M 1s
89088K ........ ........ ........ ........ ........ ........ 32% 390M 1s
92160K ........ ........ ........ ........ ........ ........ 33% 392M 1s
95232K ........ ........ ........ ........ ........ ........ 34% 390M 1s
98304K ........ ........ ........ ........ ........ ........ 35% 383M 1s
101376K ........ ........ ........ ........ ........ ........ 36% 381M 1s
104448K ........ ........ ........ ........ ........ ........ 38% 195M 1s
107520K ........ ........ ........ ........ ........ ........ 39% 314M 1s
110592K ........ ........ ........ ........ ........ ........ 40% 326M 1s
113664K ........ ........ ........ ........ ........ ........ 41% 311M 1s
116736K ........ ........ ........ ........ ........ ........ 42% 341M 1s
119808K ........ ........ ........ ........ ........ ........ 43% 321M 1s
122880K ........ ........ ........ ........ ........ ........ 44% 325M 1s
125952K ........ ........ ........ ........ ........ ........ 45% 309M 1s
129024K ........ ........ ........ ........ ........ ........ 46% 178M 1s
132096K ........ ........ ........ ........ ........ ........ 47% 270M 1s
135168K ........ ........ ........ ........ ........ ........ 48% 278M 1s
138240K ........ ........ ........ ........ ........ ........ 49% 257M 1s
141312K ........ ........ ........ ........ ........ ........ 51% 246M 1s
144384K ........ ........ ........ ........ ........ ........ 52% 240M 1s
147456K ........ ........ ........ ........ ........ ........ 53% 221M 1s
150528K ........ ........ ........ ........ ........ ........ 54% 256M 1s
153600K ........ ........ ........ ........ ........ ........ 55% 180M 1s
156672K ........ ........ ........ ........ ........ ........ 56% 284M 0s
159744K ........ ........ ........ ........ ........ ........ 57% 350M 0s
162816K ........ ........ ........ ........ ........ ........ 58% 387M 0s
165888K ........ ........ ........ ........ ........ ........ 59% 99.6M 0s
168960K ........ ........ ........ ........ ........ ........ 60% 305M 0s
172032K ........ ........ ........ ........ ........ ........ 61% 349M 0s
175104K ........ ........ ........ ........ ........ ........ 63% 126M 0s
178176K ........ ........ ........ ........ ........ ........ 64% 249M 0s
181248K ........ ........ ........ ........ ........ ........ 65% 340M 0s
184320K ........ ........ ........ ........ ........ ........ 66% 124M 0s
187392K ........ ........ ........ ........ ........ ........ 67% 228M 0s
190464K ........ ........ ........ ........ ........ ........ 68% 273M 0s
193536K ........ ........ ........ ........ ........ ........ 69% 347M 0s
196608K ........ ........ ........ ........ ........ ........ 70% 314M 0s
199680K ........ ........ ........ ........ ........ ........ 71% 327M 0s
202752K ........ ........ ........ ........ ........ ........ 72% 130M 0s
205824K ........ ........ ........ ........ ........ ........ 73% 314M 0s
208896K ........ ........ ........ ........ ........ ........ 74% 366M 0s
211968K ........ ........ ........ ........ ........ ........ 76% 361M 0s
215040K ........ ........ ........ ........ ........ ........ 77% 335M 0s
218112K ........ ........ ........ ........ ........ ........ 78% 243M 0s
221184K ........ ........ ........ ........ ........ ........ 79% 128M 0s
224256K ........ ........ ........ ........ ........ ........ 80% 124M 0s
227328K ........ ........ ........ ........ ........ ........ 81% 194M 0s
230400K ........ ........ ........ ........ ........ ........ 82% 219M 0s
233472K ........ ........ ........ ........ ........ ........ 83% 223M 0s
236544K ........ ........ ........ ........ ........ ........ 84% 226M 0s
239616K ........ ........ ........ ........ ........ ........ 85% 233M 0s
242688K ........ ........ ........ ........ ........ ........ 86% 226M 0s
245760K ........ ........ ........ ........ ........ ........ 88% 225M 0s
248832K ........ ........ ........ ........ ........ ........ 89% 217M 0s
251904K ........ ........ ........ ........ ........ ........ 90% 226M 0s
254976K ........ ........ ........ ........ ........ ........ 91% 218M 0s
258048K ........ ........ ........ ........ ........ ........ 92% 217M 0s
261120K ........ ........ ........ ........ ........ ........ 93% 221M 0s
264192K ........ ........ ........ ........ ........ ........ 94% 212M 0s
267264K ........ ........ ........ ........ ........ ........ 95% 252M 0s
270336K ........ ........ ........ ........ ........ ........ 96% 242M 0s
273408K ........ ........ ........ ........ ........ ........ 97% 216M 0s
276480K ........ ........ ........ ........ ........ ........ 98% 224M 0s
279552K ........ ........ ........ ........ ........ ........ 99% 221M 0s
282624K .. 100% 325M=1.2s
2024-04-27 23:48:00 (234 MB/s) - ‘karaf-0.20.1-20240418.235143-1.zip’ saved [289547889/289547889]
Extracting the new controller...
+ echo 'Extracting the new controller...'
+ unzip -q karaf-0.20.1-20240418.235143-1.zip
Adding external repositories...
+ echo 'Adding external repositories...'
+ sed -ie 's%org.ops4j.pax.url.mvn.repositories=%org.ops4j.pax.url.mvn.repositories=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot@id=opendaylight-snapshot@snapshots, https://nexus.opendaylight.org/content/repositories/public@id=opendaylight-mirror, http://repo1.maven.org/maven2@id=central, http://repository.springsource.com/maven/bundles/release@id=spring.ebr.release, http://repository.springsource.com/maven/bundles/external@id=spring.ebr.external, http://zodiac.springsource.com/maven/bundles/release@id=gemini, http://repository.apache.org/content/groups/snapshots-group@id=apache@snapshots@noreleases, https://oss.sonatype.org/content/repositories/snapshots@id=sonatype.snapshots.deploy@snapshots@noreleases, https://oss.sonatype.org/content/repositories/ops4j-snapshots@id=ops4j.sonatype.snapshots.deploy@snapshots@noreleases%g' /tmp/karaf-0.20.1-SNAPSHOT/etc/org.ops4j.pax.url.mvn.cfg
+ cat /tmp/karaf-0.20.1-SNAPSHOT/etc/org.ops4j.pax.url.mvn.cfg
################################################################################
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
################################################################################
#
# If set to true, the following property will not allow any certificate to be used
# when accessing Maven repositories through SSL
#
#org.ops4j.pax.url.mvn.certificateCheck=
#
# Path to the local Maven settings file.
# The repositories defined in this file will be automatically added to the list
# of default repositories if the 'org.ops4j.pax.url.mvn.repositories' property
# below is not set.
# The following locations are checked for the existence of the settings.xml file
# * 1. looks for the specified url
# * 2. if not found looks for ${user.home}/.m2/settings.xml
# * 3. if not found looks for ${maven.home}/conf/settings.xml
# * 4. if not found looks for ${M2_HOME}/conf/settings.xml
#
#org.ops4j.pax.url.mvn.settings=
#
# Path to the local Maven repository which is used to avoid downloading
# artifacts when they already exist locally.
# The value of this property will be extracted from the settings.xml file
# above, or defaulted to:
# System.getProperty( "user.home" ) + "/.m2/repository"
#
org.ops4j.pax.url.mvn.localRepository=${karaf.home}/${karaf.default.repository}
#
# Default this to false. It's just weird to use undocumented repos
#
org.ops4j.pax.url.mvn.useFallbackRepositories=false
#
# Uncomment if you don't wanna use the proxy settings
# from the Maven conf/settings.xml file
#
# org.ops4j.pax.url.mvn.proxySupport=false
#
# Comma separated list of repositories scanned when resolving an artifact.
# Those repositories will be checked before iterating through the
# below list of repositories and even before the local repository
# A repository url can be appended with zero or more of the following flags:
# @snapshots : the repository contains snaphots
# @noreleases : the repository does not contain any released artifacts
#
# The following property value will add the system folder as a repo.
#
org.ops4j.pax.url.mvn.defaultRepositories=\
file:${karaf.home}/${karaf.default.repository}@id=system.repository@snapshots,\
file:${karaf.data}/kar@id=kar.repository@multi@snapshots,\
file:${karaf.base}/${karaf.default.repository}@id=child.system.repository@snapshots
# Use the default local repo (e.g.~/.m2/repository) as a "remote" repo
#org.ops4j.pax.url.mvn.defaultLocalRepoAsRemote=false
#
# Comma separated list of repositories scanned when resolving an artifact.
# The default list includes the following repositories:
# http://repo1.maven.org/maven2@id=central
# http://repository.springsource.com/maven/bundles/release@id=spring.ebr
# http://repository.springsource.com/maven/bundles/external@id=spring.ebr.external
# http://zodiac.springsource.com/maven/bundles/release@id=gemini
# http://repository.apache.org/content/groups/snapshots-group@id=apache@snapshots@noreleases
# https://oss.sonatype.org/content/repositories/snapshots@id=sonatype.snapshots.deploy@snapshots@noreleases
# https://oss.sonatype.org/content/repositories/ops4j-snapshots@id=ops4j.sonatype.snapshots.deploy@snapshots@noreleases
# To add repositories to the default ones, prepend '+' to the list of repositories
# to add.
# A repository url can be appended with zero or more of the following flags:
# @snapshots : the repository contains snapshots
# @noreleases : the repository does not contain any released artifacts
# @id=repository.id : the id for the repository, just like in the settings.xml this is optional but recommended
#
org.ops4j.pax.url.mvn.repositories=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot@id=opendaylight-snapshot@snapshots, https://nexus.opendaylight.org/content/repositories/public@id=opendaylight-mirror, http://repo1.maven.org/maven2@id=central, http://repository.springsource.com/maven/bundles/release@id=spring.ebr.release, http://repository.springsource.com/maven/bundles/external@id=spring.ebr.external, http://zodiac.springsource.com/maven/bundles/release@id=gemini, http://repository.apache.org/content/groups/snapshots-group@id=apache@snapshots@noreleases, https://oss.sonatype.org/content/repositories/snapshots@id=sonatype.snapshots.deploy@snapshots@noreleases, https://oss.sonatype.org/content/repositories/ops4j-snapshots@id=ops4j.sonatype.snapshots.deploy@snapshots@noreleases
### ^^^ No remote repositories. This is the only ODL change compared to Karaf defaults.Configuring the startup features...
+ [[ True == \T\r\u\e ]]
+ echo 'Configuring the startup features...'
+ sed -ie 's/\(featuresBoot=\|featuresBoot =\)/featuresBoot = odl-infrautils-ready,odl-jolokia,odl-restconf,odl-clustering-test-app,/g' /tmp/karaf-0.20.1-SNAPSHOT/etc/org.apache.karaf.features.cfg
+ FEATURE_TEST_STRING=features-test
+ FEATURE_TEST_VERSION=0.20.1-SNAPSHOT
+ KARAF_VERSION=karaf4
+ [[ integration == \i\n\t\e\g\r\a\t\i\o\n ]]
+ sed -ie 's%\(featuresRepositories=\|featuresRepositories =\)%featuresRepositories = mvn:org.opendaylight.integration/features-test/0.20.1-SNAPSHOT/xml/features,mvn:org.apache.karaf.decanter/apache-karaf-decanter/1.2.0/xml/features,%g' /tmp/karaf-0.20.1-SNAPSHOT/etc/org.apache.karaf.features.cfg
+ [[ ! -z '' ]]
+ cat /tmp/karaf-0.20.1-SNAPSHOT/etc/org.apache.karaf.features.cfg
################################################################################
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
################################################################################
#
# Comma separated list of features repositories to register by default
#
featuresRepositories = mvn:org.opendaylight.integration/features-test/0.20.1-SNAPSHOT/xml/features,mvn:org.apache.karaf.decanter/apache-karaf-decanter/1.2.0/xml/features, file:${karaf.etc}/f672b964-93a9-490b-99c4-29d2472ec2ef.xml
#
# Comma separated list of features to install at startup
#
featuresBoot = odl-infrautils-ready,odl-jolokia,odl-restconf,odl-clustering-test-app, eadc6530-6f9b-43f4-8562-a6b121b5b3a3
#
# Resource repositories (OBR) that the features resolver can use
# to resolve requirements/capabilities
#
# The format of the resourceRepositories is
# resourceRepositories=[xml:url|json:url],...
# for Instance:
#
#resourceRepositories=xml:http://host/path/to/index.xml
# or
#resourceRepositories=json:http://host/path/to/index.json
#
#
# Defines if the boot features are started in asynchronous mode (in a dedicated thread)
#
featuresBootAsynchronous=false
#
# Service requirements enforcement
#
# By default, the feature resolver checks the service requirements/capabilities of
# bundles for new features (xml schema >= 1.3.0) in order to automatically installs
# the required bundles.
# The following flag can have those values:
# - disable: service requirements are completely ignored
# - default: service requirements are ignored for old features
# - enforce: service requirements are always verified
#
#serviceRequirements=default
#
# Store cfg file for config element in feature
#
#configCfgStore=true
#
# Define if the feature service automatically refresh bundles
#
autoRefresh=true
#
# Configuration of features processing mechanism (overrides, blacklisting, modification of features)
# XML file defines instructions related to features processing
# versions.properties may declare properties to resolve placeholders in XML file
# both files are relative to ${karaf.etc}
#
#featureProcessing=org.apache.karaf.features.xml
#featureProcessingVersions=versions.properties
+ configure_karaf_log karaf4 ''
+ local -r karaf_version=karaf4
+ local -r controllerdebugmap=
+ local logapi=log4j
+ grep log4j2 /tmp/karaf-0.20.1-SNAPSHOT/etc/org.ops4j.pax.logging.cfg
log4j2.pattern = %d{ISO8601} | %-5p | %-16t | %-32c{1} | %X{bundle.id} - %X{bundle.name} - %X{bundle.version} | %m%n
log4j2.rootLogger.level = INFO
#log4j2.rootLogger.type = asyncRoot
#log4j2.rootLogger.includeLocation = false
log4j2.rootLogger.appenderRef.RollingFile.ref = RollingFile
log4j2.rootLogger.appenderRef.PaxOsgi.ref = PaxOsgi
log4j2.rootLogger.appenderRef.Console.ref = Console
log4j2.rootLogger.appenderRef.Console.filter.threshold.type = ThresholdFilter
log4j2.rootLogger.appenderRef.Console.filter.threshold.level = ${karaf.log.console:-OFF}
log4j2.rootLogger.appenderRef.RollingFile.filter.confidential.type = ContextMapFilter
log4j2.rootLogger.appenderRef.RollingFile.filter.confidential.pair1.type = KeyValuePair
log4j2.rootLogger.appenderRef.RollingFile.filter.confidential.pair1.key = slf4j.marker
log4j2.rootLogger.appenderRef.RollingFile.filter.confidential.pair1.value = CONFIDENTIAL
log4j2.rootLogger.appenderRef.RollingFile.filter.confidential.operator = or
log4j2.rootLogger.appenderRef.RollingFile.filter.confidential.onMatch = DENY
log4j2.rootLogger.appenderRef.RollingFile.filter.confidential.onMismatch = NEUTRAL
log4j2.logger.spifly.name = org.apache.aries.spifly
log4j2.logger.spifly.level = WARN
log4j2.logger.audit.name = org.apache.karaf.jaas.modules.audit
log4j2.logger.audit.level = INFO
log4j2.logger.audit.additivity = false
log4j2.logger.audit.appenderRef.AuditRollingFile.ref = AuditRollingFile
# Console appender not used by default (see log4j2.rootLogger.appenderRefs)
log4j2.appender.console.type = Console
log4j2.appender.console.name = Console
log4j2.appender.console.layout.type = PatternLayout
log4j2.appender.console.layout.pattern = ${log4j2.pattern}
log4j2.appender.rolling.type = RollingRandomAccessFile
log4j2.appender.rolling.name = RollingFile
log4j2.appender.rolling.fileName = ${karaf.data}/log/karaf.log
log4j2.appender.rolling.filePattern = ${karaf.data}/log/karaf.log.%i
#log4j2.appender.rolling.immediateFlush = false
log4j2.appender.rolling.append = true
log4j2.appender.rolling.layout.type = PatternLayout
log4j2.appender.rolling.layout.pattern = ${log4j2.pattern}
log4j2.appender.rolling.policies.type = Policies
log4j2.appender.rolling.policies.size.type = SizeBasedTriggeringPolicy
log4j2.appender.rolling.policies.size.size = 64MB
log4j2.appender.rolling.strategy.type = DefaultRolloverStrategy
log4j2.appender.rolling.strategy.max = 7
log4j2.appender.audit.type = RollingRandomAccessFile
log4j2.appender.audit.name = AuditRollingFile
log4j2.appender.audit.fileName = ${karaf.data}/security/audit.log
log4j2.appender.audit.filePattern = ${karaf.data}/security/audit.log.%i
log4j2.appender.audit.append = true
log4j2.appender.audit.layout.type = PatternLayout
log4j2.appender.audit.layout.pattern = ${log4j2.pattern}
log4j2.appender.audit.policies.type = Policies
log4j2.appender.audit.policies.size.type = SizeBasedTriggeringPolicy
log4j2.appender.audit.policies.size.size = 8MB
log4j2.appender.audit.strategy.type = DefaultRolloverStrategy
log4j2.appender.audit.strategy.max = 7
log4j2.appender.osgi.type = PaxOsgi
log4j2.appender.osgi.name = PaxOsgi
log4j2.appender.osgi.filter = *
#log4j2.logger.aether.name = shaded.org.eclipse.aether
#log4j2.logger.aether.level = TRACE
#log4j2.logger.http-headers.name = shaded.org.apache.http.headers
#log4j2.logger.http-headers.level = DEBUG
#log4j2.logger.maven.name = org.ops4j.pax.url.mvn
#log4j2.logger.maven.level = TRACE
Configuring the karaf log... karaf_version: karaf4, logapi: log4j2
+ logapi=log4j2
+ echo 'Configuring the karaf log... karaf_version: karaf4, logapi: log4j2'
+ '[' log4j2 == log4j2 ']'
+ sed -ie 's/log4j2.appender.rolling.policies.size.size = 64MB/log4j2.appender.rolling.policies.size.size = 1GB/g' /tmp/karaf-0.20.1-SNAPSHOT/etc/org.ops4j.pax.logging.cfg
controllerdebugmap:
cat /tmp/karaf-0.20.1-SNAPSHOT/etc/org.ops4j.pax.logging.cfg
+ orgmodule=org.opendaylight.yangtools.yang.parser.repo.YangTextSchemaContextResolver
+ orgmodule_=org_opendaylight_yangtools_yang_parser_repo_YangTextSchemaContextResolver
+ echo 'log4j2.logger.org_opendaylight_yangtools_yang_parser_repo_YangTextSchemaContextResolver.name = WARN'
+ echo 'log4j2.logger.org_opendaylight_yangtools_yang_parser_repo_YangTextSchemaContextResolver.level = WARN'
+ unset IFS
+ echo 'controllerdebugmap: '
+ '[' -n '' ']'
+ echo 'cat /tmp/karaf-0.20.1-SNAPSHOT/etc/org.ops4j.pax.logging.cfg'
+ cat /tmp/karaf-0.20.1-SNAPSHOT/etc/org.ops4j.pax.logging.cfg
################################################################################
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
################################################################################
# Common pattern layout for appenders
log4j2.pattern = %d{ISO8601} | %-5p | %-16t | %-32c{1} | %X{bundle.id} - %X{bundle.name} - %X{bundle.version} | %m%n
# Root logger
log4j2.rootLogger.level = INFO
# uncomment to use asynchronous loggers, which require mvn:com.lmax/disruptor/3.3.2 library
#log4j2.rootLogger.type = asyncRoot
#log4j2.rootLogger.includeLocation = false
log4j2.rootLogger.appenderRef.RollingFile.ref = RollingFile
log4j2.rootLogger.appenderRef.PaxOsgi.ref = PaxOsgi
log4j2.rootLogger.appenderRef.Console.ref = Console
log4j2.rootLogger.appenderRef.Console.filter.threshold.type = ThresholdFilter
log4j2.rootLogger.appenderRef.Console.filter.threshold.level = ${karaf.log.console:-OFF}
# Filters for logs marked by org.opendaylight.odlparent.Markers
log4j2.rootLogger.appenderRef.RollingFile.filter.confidential.type = ContextMapFilter
log4j2.rootLogger.appenderRef.RollingFile.filter.confidential.pair1.type = KeyValuePair
log4j2.rootLogger.appenderRef.RollingFile.filter.confidential.pair1.key = slf4j.marker
log4j2.rootLogger.appenderRef.RollingFile.filter.confidential.pair1.value = CONFIDENTIAL
log4j2.rootLogger.appenderRef.RollingFile.filter.confidential.operator = or
log4j2.rootLogger.appenderRef.RollingFile.filter.confidential.onMatch = DENY
log4j2.rootLogger.appenderRef.RollingFile.filter.confidential.onMismatch = NEUTRAL
# Loggers configuration
# Spifly logger
log4j2.logger.spifly.name = org.apache.aries.spifly
log4j2.logger.spifly.level = WARN
# Security audit logger
log4j2.logger.audit.name = org.apache.karaf.jaas.modules.audit
log4j2.logger.audit.level = INFO
log4j2.logger.audit.additivity = false
log4j2.logger.audit.appenderRef.AuditRollingFile.ref = AuditRollingFile
# Appenders configuration
# Console appender not used by default (see log4j2.rootLogger.appenderRefs)
log4j2.appender.console.type = Console
log4j2.appender.console.name = Console
log4j2.appender.console.layout.type = PatternLayout
log4j2.appender.console.layout.pattern = ${log4j2.pattern}
# Rolling file appender
log4j2.appender.rolling.type = RollingRandomAccessFile
log4j2.appender.rolling.name = RollingFile
log4j2.appender.rolling.fileName = ${karaf.data}/log/karaf.log
log4j2.appender.rolling.filePattern = ${karaf.data}/log/karaf.log.%i
# uncomment to not force a disk flush
#log4j2.appender.rolling.immediateFlush = false
log4j2.appender.rolling.append = true
log4j2.appender.rolling.layout.type = PatternLayout
log4j2.appender.rolling.layout.pattern = ${log4j2.pattern}
log4j2.appender.rolling.policies.type = Policies
log4j2.appender.rolling.policies.size.type = SizeBasedTriggeringPolicy
log4j2.appender.rolling.policies.size.size = 1GB
log4j2.appender.rolling.strategy.type = DefaultRolloverStrategy
log4j2.appender.rolling.strategy.max = 7
# Audit file appender
log4j2.appender.audit.type = RollingRandomAccessFile
log4j2.appender.audit.name = AuditRollingFile
log4j2.appender.audit.fileName = ${karaf.data}/security/audit.log
log4j2.appender.audit.filePattern = ${karaf.data}/security/audit.log.%i
log4j2.appender.audit.append = true
log4j2.appender.audit.layout.type = PatternLayout
log4j2.appender.audit.layout.pattern = ${log4j2.pattern}
log4j2.appender.audit.policies.type = Policies
log4j2.appender.audit.policies.size.type = SizeBasedTriggeringPolicy
log4j2.appender.audit.policies.size.size = 8MB
log4j2.appender.audit.strategy.type = DefaultRolloverStrategy
log4j2.appender.audit.strategy.max = 7
# OSGi appender
log4j2.appender.osgi.type = PaxOsgi
log4j2.appender.osgi.name = PaxOsgi
log4j2.appender.osgi.filter = *
# help with identification of maven-related problems with pax-url-aether
#log4j2.logger.aether.name = shaded.org.eclipse.aether
#log4j2.logger.aether.level = TRACE
#log4j2.logger.http-headers.name = shaded.org.apache.http.headers
#log4j2.logger.http-headers.level = DEBUG
#log4j2.logger.maven.name = org.ops4j.pax.url.mvn
#log4j2.logger.maven.level = TRACE
log4j2.logger.org_opendaylight_yangtools_yang_parser_repo_YangTextSchemaContextResolver.name = WARN
log4j2.logger.org_opendaylight_yangtools_yang_parser_repo_YangTextSchemaContextResolver.level = WARN
Configure
java home: /usr/lib/jvm/java-17-openjdk
+ set_java_vars /usr/lib/jvm/java-17-openjdk 2048m /tmp/karaf-0.20.1-SNAPSHOT/bin/setenv
+ local -r java_home=/usr/lib/jvm/java-17-openjdk
+ local -r controllermem=2048m
+ local -r memconf=/tmp/karaf-0.20.1-SNAPSHOT/bin/setenv
+ echo Configure
+ echo ' java home: /usr/lib/jvm/java-17-openjdk'
max memory: 2048m
memconf: /tmp/karaf-0.20.1-SNAPSHOT/bin/setenv
+ echo ' max memory: 2048m'
+ echo ' memconf: /tmp/karaf-0.20.1-SNAPSHOT/bin/setenv'
+ sed -ie 's%^# export JAVA_HOME%export JAVA_HOME=${JAVA_HOME:-/usr/lib/jvm/java-17-openjdk}%g' /tmp/karaf-0.20.1-SNAPSHOT/bin/setenv
+ sed -ie 's/JAVA_MAX_MEM="2048m"/JAVA_MAX_MEM=2048m/g' /tmp/karaf-0.20.1-SNAPSHOT/bin/setenv
cat /tmp/karaf-0.20.1-SNAPSHOT/bin/setenv
+ echo 'cat /tmp/karaf-0.20.1-SNAPSHOT/bin/setenv'
+ cat /tmp/karaf-0.20.1-SNAPSHOT/bin/setenv
#!/bin/sh
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#
# handle specific scripts; the SCRIPT_NAME is exactly the name of the Karaf
# script: client, instance, shell, start, status, stop, karaf
#
# if [ "${KARAF_SCRIPT}" == "SCRIPT_NAME" ]; then
# Actions go here...
# fi
#
# general settings which should be applied for all scripts go here; please keep
# in mind that it is possible that scripts might be executed more than once, e.g.
# in example of the start script where the start script is executed first and the
# karaf script afterwards.
#
#
# The following section shows the possible configuration options for the default
# karaf scripts
#
export JAVA_HOME=${JAVA_HOME:-/usr/lib/jvm/java-17-openjdk} # Location of Java installation
# export JAVA_OPTS # Generic JVM options, for instance, where you can pass the memory configuration
# export JAVA_NON_DEBUG_OPTS # Additional non-debug JVM options
# export EXTRA_JAVA_OPTS # Additional JVM options
# export KARAF_HOME # Karaf home folder
# export KARAF_DATA # Karaf data folder
# export KARAF_BASE # Karaf base folder
# export KARAF_ETC # Karaf etc folder
# export KARAF_LOG # Karaf log folder
# export KARAF_SYSTEM_OPTS # First citizen Karaf options
# export KARAF_OPTS # Additional available Karaf options
# export KARAF_DEBUG # Enable debug mode
# export KARAF_REDIRECT # Enable/set the std/err redirection when using bin/start
# export KARAF_NOROOT # Prevent execution as root if set to true
Set Java version
+ echo 'Set Java version'
+ sudo /usr/sbin/alternatives --install /usr/bin/java java /usr/lib/jvm/java-17-openjdk/bin/java 1
+ sudo /usr/sbin/alternatives --set java /usr/lib/jvm/java-17-openjdk/bin/java
JDK default version ...
+ echo 'JDK default version ...'
+ java -version
openjdk version "17.0.6-ea" 2023-01-17 LTS
OpenJDK Runtime Environment (Red_Hat-17.0.6.0.9-0.3.ea.el8) (build 17.0.6-ea+9-LTS)
OpenJDK 64-Bit Server VM (Red_Hat-17.0.6.0.9-0.3.ea.el8) (build 17.0.6-ea+9-LTS, mixed mode, sharing)
Set JAVA_HOME
+ echo 'Set JAVA_HOME'
+ export JAVA_HOME=/usr/lib/jvm/java-17-openjdk
+ JAVA_HOME=/usr/lib/jvm/java-17-openjdk
++ readlink -e /usr/lib/jvm/java-17-openjdk/bin/java
Java binary pointed at by JAVA_HOME: /usr/lib/jvm/java-17-openjdk-17.0.6.0.9-0.3.ea.el8.x86_64/bin/java
+ JAVA_RESOLVED=/usr/lib/jvm/java-17-openjdk-17.0.6.0.9-0.3.ea.el8.x86_64/bin/java
+ echo 'Java binary pointed at by JAVA_HOME: /usr/lib/jvm/java-17-openjdk-17.0.6.0.9-0.3.ea.el8.x86_64/bin/java'
Listing all open ports on controller system...
+ echo 'Listing all open ports on controller system...'
+ netstat -pnatu
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN -
tcp 0 164 10.30.171.216:22 10.30.171.54:54872 ESTABLISHED -
tcp 0 0 10.30.171.216:37136 199.204.45.87:443 TIME_WAIT -
tcp6 0 0 :::111 :::* LISTEN -
tcp6 0 0 :::5555 :::* LISTEN -
tcp6 0 0 :::22 :::* LISTEN -
udp 0 0 10.30.171.216:68 10.30.170.3:67 ESTABLISHED -
udp 0 0 0.0.0.0:111 0.0.0.0:* -
udp 0 0 127.0.0.1:323 0.0.0.0:* -
udp6 0 0 :::111 :::* -
udp6 0 0 ::1:323 :::* -
Custom shard config exists!!!
+ '[' -f /tmp/custom_shard_config.txt ']'
+ echo 'Custom shard config exists!!!'
Copying the shard config...
+ echo 'Copying the shard config...'
+ cp /tmp/custom_shard_config.txt /tmp/karaf-0.20.1-SNAPSHOT/bin/
Configuring cluster
+ echo 'Configuring cluster'
+ /tmp/karaf-0.20.1-SNAPSHOT/bin/configure_cluster.sh 2 10.30.171.99 10.30.171.216 10.30.170.220
################################################
## Configure Cluster ##
################################################
NOTE: Cluster configuration files not found. Copying from
/tmp/karaf-0.20.1-SNAPSHOT/system/org/opendaylight/controller/sal-clustering-config/9.0.2
Configuring unique name in akka.conf
Configuring hostname in akka.conf
Configuring data and rpc seed nodes in akka.conf
modules = [
{
name = "inventory"
namespace = "urn:opendaylight:inventory"
shard-strategy = "module"
},
{
name = "topology"
namespace = "urn:TBD:params:xml:ns:yang:network-topology"
shard-strategy = "module"
},
{
name = "toaster"
namespace = "http://netconfcentral.org/ns/toaster"
shard-strategy = "module"
},
{
name = "car"
namespace = "urn:opendaylight:params:xml:ns:yang:controller:config:sal-clustering-it:car"
shard-strategy = "module"
},
{
name = "people"
namespace = "urn:opendaylight:params:xml:ns:yang:controller:config:sal-clustering-it:people"
shard-strategy = "module"
},
{
name = "car-people"
namespace = "urn:opendaylight:params:xml:ns:yang:controller:config:sal-clustering-it:car-people"
shard-strategy = "module"
}
]
Configuring replication type in module-shards.conf
################################################
## NOTE: Manually restart controller to ##
## apply configuration. ##
################################################
Dump akka.conf
+ echo 'Dump akka.conf'
+ cat /tmp/karaf-0.20.1-SNAPSHOT/configuration/initial/akka.conf
odl-cluster-data {
akka {
remote {
artery {
enabled = on
transport = tcp
canonical.hostname = "10.30.171.216"
canonical.port = 2550
}
}
cluster {
# Using artery.
seed-nodes = ["akka://opendaylight-cluster-data@10.30.171.99:2550",
"akka://opendaylight-cluster-data@10.30.171.216:2550",
"akka://opendaylight-cluster-data@10.30.170.220:2550"]
roles = ["member-2"]
# when under load we might trip a false positive on the failure detector
# failure-detector {
# heartbeat-interval = 4 s
# acceptable-heartbeat-pause = 16s
# }
}
persistence {
# By default the snapshots/journal directories live in KARAF_HOME. You can choose to put it somewhere else by
# modifying the following two properties. The directory location specified may be a relative or absolute path.
# The relative path is always relative to KARAF_HOME.
# snapshot-store.local.dir = "target/snapshots"
# Use lz4 compression for LocalSnapshotStore snapshots
snapshot-store.local.use-lz4-compression = false
# Size of blocks for lz4 compression: 64KB, 256KB, 1MB or 4MB
snapshot-store.local.lz4-blocksize = 256KB
}
disable-default-actor-system-quarantined-event-handling = "false"
}
}
Dump modules.conf
+ echo 'Dump modules.conf'
+ cat /tmp/karaf-0.20.1-SNAPSHOT/configuration/initial/modules.conf
modules = [
{
name = "inventory"
namespace = "urn:opendaylight:inventory"
shard-strategy = "module"
},
{
name = "topology"
namespace = "urn:TBD:params:xml:ns:yang:network-topology"
shard-strategy = "module"
},
{
name = "toaster"
namespace = "http://netconfcentral.org/ns/toaster"
shard-strategy = "module"
},
{
name = "car"
namespace = "urn:opendaylight:params:xml:ns:yang:controller:config:sal-clustering-it:car"
shard-strategy = "module"
},
{
name = "people"
namespace = "urn:opendaylight:params:xml:ns:yang:controller:config:sal-clustering-it:people"
shard-strategy = "module"
},
{
name = "car-people"
namespace = "urn:opendaylight:params:xml:ns:yang:controller:config:sal-clustering-it:car-people"
shard-strategy = "module"
}
]
Dump module-shards.conf
+ echo 'Dump module-shards.conf'
+ cat /tmp/karaf-0.20.1-SNAPSHOT/configuration/initial/module-shards.conf
module-shards = [
{
name = "default"
shards = [
{
name = "default"
replicas = ["member-1",
"member-2",
"member-3"]
}
]
},
{
name = "inventory"
shards = [
{
name="inventory"
replicas = ["member-1",
"member-2",
"member-3"]
}
]
},
{
name = "topology"
shards = [
{
name="topology"
replicas = ["member-1",
"member-2",
"member-3"]
}
]
},
{
name = "toaster"
shards = [
{
name="toaster"
replicas = ["member-1",
"member-2",
"member-3"]
}
]
},
{
name = "car"
shards = [
{
name="car"
replicas = ["member-1",
"member-2",
"member-3"]
}
]
},
{
name = "people"
shards = [
{
name="people"
replicas = ["member-1",
"member-2",
"member-3"]
}
]
},
{
name = "car-people"
shards = [
{
name="car-people"
replicas = ["member-1",
"member-2",
"member-3"]
}
]
}
]
Configuring member-3 with IP address 10.30.170.220
Warning: Permanently added '10.30.170.220' (ECDSA) to the list of known hosts.
Warning: Permanently added '10.30.170.220' (ECDSA) to the list of known hosts.
common-functions.sh is being sourced
+ source /tmp/common-functions.sh karaf-0.20.1-SNAPSHOT
++ [[ /tmp/common-functions.sh == \/\t\m\p\/\c\o\n\f\i\g\u\r\a\t\i\o\n\-\s\c\r\i\p\t\.\s\h ]]
++ echo 'common-functions.sh is being sourced'
++ BUNDLEFOLDER=karaf-0.20.1-SNAPSHOT
++ export MAVENCONF=/tmp/karaf-0.20.1-SNAPSHOT/etc/org.ops4j.pax.url.mvn.cfg
++ MAVENCONF=/tmp/karaf-0.20.1-SNAPSHOT/etc/org.ops4j.pax.url.mvn.cfg
++ export FEATURESCONF=/tmp/karaf-0.20.1-SNAPSHOT/etc/org.apache.karaf.features.cfg
++ FEATURESCONF=/tmp/karaf-0.20.1-SNAPSHOT/etc/org.apache.karaf.features.cfg
++ export CUSTOMPROP=/tmp/karaf-0.20.1-SNAPSHOT/etc/custom.properties
++ CUSTOMPROP=/tmp/karaf-0.20.1-SNAPSHOT/etc/custom.properties
++ export LOGCONF=/tmp/karaf-0.20.1-SNAPSHOT/etc/org.ops4j.pax.logging.cfg
++ LOGCONF=/tmp/karaf-0.20.1-SNAPSHOT/etc/org.ops4j.pax.logging.cfg
++ export MEMCONF=/tmp/karaf-0.20.1-SNAPSHOT/bin/setenv
++ MEMCONF=/tmp/karaf-0.20.1-SNAPSHOT/bin/setenv
++ export CONTROLLERMEM=
++ CONTROLLERMEM=
++ export AKKACONF=/tmp/karaf-0.20.1-SNAPSHOT/configuration/initial/akka.conf
++ AKKACONF=/tmp/karaf-0.20.1-SNAPSHOT/configuration/initial/akka.conf
++ export MODULESCONF=/tmp/karaf-0.20.1-SNAPSHOT/configuration/initial/modules.conf
++ MODULESCONF=/tmp/karaf-0.20.1-SNAPSHOT/configuration/initial/modules.conf
++ export MODULESHARDSCONF=/tmp/karaf-0.20.1-SNAPSHOT/configuration/initial/module-shards.conf
++ MODULESHARDSCONF=/tmp/karaf-0.20.1-SNAPSHOT/configuration/initial/module-shards.conf
++ print_common_env
++ cat
common-functions environment:
MAVENCONF: /tmp/karaf-0.20.1-SNAPSHOT/etc/org.ops4j.pax.url.mvn.cfg
ACTUALFEATURES:
FEATURESCONF: /tmp/karaf-0.20.1-SNAPSHOT/etc/org.apache.karaf.features.cfg
CUSTOMPROP: /tmp/karaf-0.20.1-SNAPSHOT/etc/custom.properties
LOGCONF: /tmp/karaf-0.20.1-SNAPSHOT/etc/org.ops4j.pax.logging.cfg
MEMCONF: /tmp/karaf-0.20.1-SNAPSHOT/bin/setenv
CONTROLLERMEM:
AKKACONF: /tmp/karaf-0.20.1-SNAPSHOT/configuration/initial/akka.conf
MODULESCONF: /tmp/karaf-0.20.1-SNAPSHOT/configuration/initial/modules.conf
MODULESHARDSCONF: /tmp/karaf-0.20.1-SNAPSHOT/configuration/initial/module-shards.conf
SUITES:
Changing to /tmp
Downloading the distribution from https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/karaf/0.20.1-SNAPSHOT/karaf-0.20.1-20240418.235143-1.zip
++ SSH='ssh -t -t'
++ extra_services_cntl=' dnsmasq.service httpd.service libvirtd.service openvswitch.service ovs-vswitchd.service ovsdb-server.service rabbitmq-server.service '
++ extra_services_cmp=' libvirtd.service openvswitch.service ovs-vswitchd.service ovsdb-server.service '
+ echo 'Changing to /tmp'
+ cd /tmp
+ echo 'Downloading the distribution from https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/karaf/0.20.1-SNAPSHOT/karaf-0.20.1-20240418.235143-1.zip'
+ wget --progress=dot:mega https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/karaf/0.20.1-SNAPSHOT/karaf-0.20.1-20240418.235143-1.zip
--2024-04-27 23:48:03-- https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/karaf/0.20.1-SNAPSHOT/karaf-0.20.1-20240418.235143-1.zip
Resolving nexus.opendaylight.org (nexus.opendaylight.org)... 199.204.45.87, 2604:e100:1:0:f816:3eff:fe45:48d6
Connecting to nexus.opendaylight.org (nexus.opendaylight.org)|199.204.45.87|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 289547889 (276M) [application/zip]
Saving to: ‘karaf-0.20.1-20240418.235143-1.zip’
0K ........ ........ ........ ........ ........ ........ 1% 78.8M 3s
3072K ........ ........ ........ ........ ........ ........ 2% 156M 3s
6144K ........ ........ ........ ........ ........ ........ 3% 180M 2s
9216K ........ ........ ........ ........ ........ ........ 4% 227M 2s
12288K ........ ........ ........ ........ ........ ........ 5% 203M 2s
15360K ........ ........ ........ ........ ........ ........ 6% 175M 2s
18432K ........ ........ ........ ........ ........ ........ 7% 183M 2s
21504K ........ ........ ........ ........ ........ ........ 8% 239M 2s
24576K ........ ........ ........ ........ ........ ........ 9% 258M 1s
27648K ........ ........ ........ ........ ........ ........ 10% 288M 1s
30720K ........ ........ ........ ........ ........ ........ 11% 276M 1s
33792K ........ ........ ........ ........ ........ ........ 13% 278M 1s
36864K ........ ........ ........ ........ ........ ........ 14% 336M 1s
39936K ........ ........ ........ ........ ........ ........ 15% 345M 1s
43008K ........ ........ ........ ........ ........ ........ 16% 376M 1s
46080K ........ ........ ........ ........ ........ ........ 17% 274M 1s
49152K ........ ........ ........ ........ ........ ........ 18% 276M 1s
52224K ........ ........ ........ ........ ........ ........ 19% 368M 1s
55296K ........ ........ ........ ........ ........ ........ 20% 389M 1s
58368K ........ ........ ........ ........ ........ ........ 21% 311M 1s
61440K ........ ........ ........ ........ ........ ........ 22% 347M 1s
64512K ........ ........ ........ ........ ........ ........ 23% 375M 1s
67584K ........ ........ ........ ........ ........ ........ 24% 363M 1s
70656K ........ ........ ........ ........ ........ ........ 26% 378M 1s
73728K ........ ........ ........ ........ ........ ........ 27% 305M 1s
76800K ........ ........ ........ ........ ........ ........ 28% 341M 1s
79872K ........ ........ ........ ........ ........ ........ 29% 169M 1s
82944K ........ ........ ........ ........ ........ ........ 30% 268M 1s
86016K ........ ........ ........ ........ ........ ........ 31% 322M 1s
89088K ........ ........ ........ ........ ........ ........ 32% 342M 1s
92160K ........ ........ ........ ........ ........ ........ 33% 333M 1s
95232K ........ ........ ........ ........ ........ ........ 34% 275M 1s
98304K ........ ........ ........ ........ ........ ........ 35% 370M 1s
101376K ........ ........ ........ ........ ........ ........ 36% 378M 1s
104448K ........ ........ ........ ........ ........ ........ 38% 377M 1s
107520K ........ ........ ........ ........ ........ ........ 39% 377M 1s
110592K ........ ........ ........ ........ ........ ........ 40% 370M 1s
113664K ........ ........ ........ ........ ........ ........ 41% 287M 1s
116736K ........ ........ ........ ........ ........ ........ 42% 278M 1s
119808K ........ ........ ........ ........ ........ ........ 43% 388M 1s
122880K ........ ........ ........ ........ ........ ........ 44% 379M 1s
125952K ........ ........ ........ ........ ........ ........ 45% 380M 1s
129024K ........ ........ ........ ........ ........ ........ 46% 266M 1s
132096K ........ ........ ........ ........ ........ ........ 47% 195M 1s
135168K ........ ........ ........ ........ ........ ........ 48% 328M 1s
138240K ........ ........ ........ ........ ........ ........ 49% 354M 1s
141312K ........ ........ ........ ........ ........ ........ 51% 348M 0s
144384K ........ ........ ........ ........ ........ ........ 52% 317M 0s
147456K ........ ........ ........ ........ ........ ........ 53% 326M 0s
150528K ........ ........ ........ ........ ........ ........ 54% 352M 0s
153600K ........ ........ ........ ........ ........ ........ 55% 354M 0s
156672K ........ ........ ........ ........ ........ ........ 56% 356M 0s
159744K ........ ........ ........ ........ ........ ........ 57% 344M 0s
162816K ........ ........ ........ ........ ........ ........ 58% 349M 0s
165888K ........ ........ ........ ........ ........ ........ 59% 345M 0s
168960K ........ ........ ........ ........ ........ ........ 60% 306M 0s
172032K ........ ........ ........ ........ ........ ........ 61% 228M 0s
175104K ........ ........ ........ ........ ........ ........ 63% 243M 0s
178176K ........ ........ ........ ........ ........ ........ 64% 309M 0s
181248K ........ ........ ........ ........ ........ ........ 65% 279M 0s
184320K ........ ........ ........ ........ ........ ........ 66% 220M 0s
187392K ........ ........ ........ ........ ........ ........ 67% 199M 0s
190464K ........ ........ ........ ........ ........ ........ 68% 213M 0s
193536K ........ ........ ........ ........ ........ ........ 69% 322M 0s
196608K ........ ........ ........ ........ ........ ........ 70% 365M 0s
199680K ........ ........ ........ ........ ........ ........ 71% 374M 0s
202752K ........ ........ ........ ........ ........ ........ 72% 363M 0s
205824K ........ ........ ........ ........ ........ ........ 73% 375M 0s
208896K ........ ........ ........ ........ ........ ........ 74% 364M 0s
211968K ........ ........ ........ ........ ........ ........ 76% 373M 0s
215040K ........ ........ ........ ........ ........ ........ 77% 363M 0s
218112K ........ ........ ........ ........ ........ ........ 78% 298M 0s
221184K ........ ........ ........ ........ ........ ........ 79% 338M 0s
224256K ........ ........ ........ ........ ........ ........ 80% 344M 0s
227328K ........ ........ ........ ........ ........ ........ 81% 365M 0s
230400K ........ ........ ........ ........ ........ ........ 82% 358M 0s
233472K ........ ........ ........ ........ ........ ........ 83% 335M 0s
236544K ........ ........ ........ ........ ........ ........ 84% 295M 0s
239616K ........ ........ ........ ........ ........ ........ 85% 322M 0s
242688K ........ ........ ........ ........ ........ ........ 86% 336M 0s
245760K ........ ........ ........ ........ ........ ........ 88% 337M 0s
248832K ........ ........ ........ ........ ........ ........ 89% 319M 0s
251904K ........ ........ ........ ........ ........ ........ 90% 320M 0s
254976K ........ ........ ........ ........ ........ ........ 91% 359M 0s
258048K ........ ........ ........ ........ ........ ........ 92% 338M 0s
261120K ........ ........ ........ ........ ........ ........ 93% 290M 0s
264192K ........ ........ ........ ........ ........ ........ 94% 309M 0s
267264K ........ ........ ........ ........ ........ ........ 95% 344M 0s
270336K ........ ........ ........ ........ ........ ........ 96% 348M 0s
273408K ........ ........ ........ ........ ........ ........ 97% 345M 0s
276480K ........ ........ ........ ........ ........ ........ 98% 300M 0s
279552K ........ ........ ........ ........ ........ ........ 99% 341M 0s
282624K .. 100% 377M=0.9s
2024-04-27 23:48:04 (291 MB/s) - ‘karaf-0.20.1-20240418.235143-1.zip’ saved [289547889/289547889]
Extracting the new controller...
+ echo 'Extracting the new controller...'
+ unzip -q karaf-0.20.1-20240418.235143-1.zip
Adding external repositories...
+ echo 'Adding external repositories...'
+ sed -ie 's%org.ops4j.pax.url.mvn.repositories=%org.ops4j.pax.url.mvn.repositories=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot@id=opendaylight-snapshot@snapshots, https://nexus.opendaylight.org/content/repositories/public@id=opendaylight-mirror, http://repo1.maven.org/maven2@id=central, http://repository.springsource.com/maven/bundles/release@id=spring.ebr.release, http://repository.springsource.com/maven/bundles/external@id=spring.ebr.external, http://zodiac.springsource.com/maven/bundles/release@id=gemini, http://repository.apache.org/content/groups/snapshots-group@id=apache@snapshots@noreleases, https://oss.sonatype.org/content/repositories/snapshots@id=sonatype.snapshots.deploy@snapshots@noreleases, https://oss.sonatype.org/content/repositories/ops4j-snapshots@id=ops4j.sonatype.snapshots.deploy@snapshots@noreleases%g' /tmp/karaf-0.20.1-SNAPSHOT/etc/org.ops4j.pax.url.mvn.cfg
+ cat /tmp/karaf-0.20.1-SNAPSHOT/etc/org.ops4j.pax.url.mvn.cfg
################################################################################
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
################################################################################
#
# If set to true, the following property will not allow any certificate to be used
# when accessing Maven repositories through SSL
#
#org.ops4j.pax.url.mvn.certificateCheck=
#
# Path to the local Maven settings file.
# The repositories defined in this file will be automatically added to the list
# of default repositories if the 'org.ops4j.pax.url.mvn.repositories' property
# below is not set.
# The following locations are checked for the existence of the settings.xml file
# * 1. looks for the specified url
# * 2. if not found looks for ${user.home}/.m2/settings.xml
# * 3. if not found looks for ${maven.home}/conf/settings.xml
# * 4. if not found looks for ${M2_HOME}/conf/settings.xml
#
#org.ops4j.pax.url.mvn.settings=
#
# Path to the local Maven repository which is used to avoid downloading
# artifacts when they already exist locally.
# The value of this property will be extracted from the settings.xml file
# above, or defaulted to:
# System.getProperty( "user.home" ) + "/.m2/repository"
#
org.ops4j.pax.url.mvn.localRepository=${karaf.home}/${karaf.default.repository}
#
# Default this to false. It's just weird to use undocumented repos
#
org.ops4j.pax.url.mvn.useFallbackRepositories=false
#
# Uncomment if you don't wanna use the proxy settings
# from the Maven conf/settings.xml file
#
# org.ops4j.pax.url.mvn.proxySupport=false
#
# Comma separated list of repositories scanned when resolving an artifact.
# Those repositories will be checked before iterating through the
# below list of repositories and even before the local repository
# A repository url can be appended with zero or more of the following flags:
# @snapshots : the repository contains snaphots
# @noreleases : the repository does not contain any released artifacts
#
# The following property value will add the system folder as a repo.
#
org.ops4j.pax.url.mvn.defaultRepositories=\
file:${karaf.home}/${karaf.default.repository}@id=system.repository@snapshots,\
file:${karaf.data}/kar@id=kar.repository@multi@snapshots,\
file:${karaf.base}/${karaf.default.repository}@id=child.system.repository@snapshots
# Use the default local repo (e.g.~/.m2/repository) as a "remote" repo
#org.ops4j.pax.url.mvn.defaultLocalRepoAsRemote=false
#
# Comma separated list of repositories scanned when resolving an artifact.
# The default list includes the following repositories:
# http://repo1.maven.org/maven2@id=central
# http://repository.springsource.com/maven/bundles/release@id=spring.ebr
# http://repository.springsource.com/maven/bundles/external@id=spring.ebr.external
# http://zodiac.springsource.com/maven/bundles/release@id=gemini
# http://repository.apache.org/content/groups/snapshots-group@id=apache@snapshots@noreleases
# https://oss.sonatype.org/content/repositories/snapshots@id=sonatype.snapshots.deploy@snapshots@noreleases
# https://oss.sonatype.org/content/repositories/ops4j-snapshots@id=ops4j.sonatype.snapshots.deploy@snapshots@noreleases
# To add repositories to the default ones, prepend '+' to the list of repositories
# to add.
# A repository url can be appended with zero or more of the following flags:
# @snapshots : the repository contains snapshots
# @noreleases : the repository does not contain any released artifacts
# @id=repository.id : the id for the repository, just like in the settings.xml this is optional but recommended
#
org.ops4j.pax.url.mvn.repositories=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot@id=opendaylight-snapshot@snapshots, https://nexus.opendaylight.org/content/repositories/public@id=opendaylight-mirror, http://repo1.maven.org/maven2@id=central, http://repository.springsource.com/maven/bundles/release@id=spring.ebr.release, http://repository.springsource.com/maven/bundles/external@id=spring.ebr.external, http://zodiac.springsource.com/maven/bundles/release@id=gemini, http://repository.apache.org/content/groups/snapshots-group@id=apache@snapshots@noreleases, https://oss.sonatype.org/content/repositories/snapshots@id=sonatype.snapshots.deploy@snapshots@noreleases, https://oss.sonatype.org/content/repositories/ops4j-snapshots@id=ops4j.sonatype.snapshots.deploy@snapshots@noreleases
### ^^^ No remote repositories. This is the only ODL change compared to Karaf defaults.Configuring the startup features...
+ [[ True == \T\r\u\e ]]
+ echo 'Configuring the startup features...'
+ sed -ie 's/\(featuresBoot=\|featuresBoot =\)/featuresBoot = odl-infrautils-ready,odl-jolokia,odl-restconf,odl-clustering-test-app,/g' /tmp/karaf-0.20.1-SNAPSHOT/etc/org.apache.karaf.features.cfg
+ FEATURE_TEST_STRING=features-test
+ FEATURE_TEST_VERSION=0.20.1-SNAPSHOT
+ KARAF_VERSION=karaf4
+ [[ integration == \i\n\t\e\g\r\a\t\i\o\n ]]
+ sed -ie 's%\(featuresRepositories=\|featuresRepositories =\)%featuresRepositories = mvn:org.opendaylight.integration/features-test/0.20.1-SNAPSHOT/xml/features,mvn:org.apache.karaf.decanter/apache-karaf-decanter/1.2.0/xml/features,%g' /tmp/karaf-0.20.1-SNAPSHOT/etc/org.apache.karaf.features.cfg
+ [[ ! -z '' ]]
+ cat /tmp/karaf-0.20.1-SNAPSHOT/etc/org.apache.karaf.features.cfg
################################################################################
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
################################################################################
#
# Comma separated list of features repositories to register by default
#
featuresRepositories = mvn:org.opendaylight.integration/features-test/0.20.1-SNAPSHOT/xml/features,mvn:org.apache.karaf.decanter/apache-karaf-decanter/1.2.0/xml/features, file:${karaf.etc}/f672b964-93a9-490b-99c4-29d2472ec2ef.xml
#
# Comma separated list of features to install at startup
#
featuresBoot = odl-infrautils-ready,odl-jolokia,odl-restconf,odl-clustering-test-app, eadc6530-6f9b-43f4-8562-a6b121b5b3a3
#
# Resource repositories (OBR) that the features resolver can use
# to resolve requirements/capabilities
#
# The format of the resourceRepositories is
# resourceRepositories=[xml:url|json:url],...
# for Instance:
#
#resourceRepositories=xml:http://host/path/to/index.xml
# or
#resourceRepositories=json:http://host/path/to/index.json
#
#
# Defines if the boot features are started in asynchronous mode (in a dedicated thread)
#
featuresBootAsynchronous=false
#
# Service requirements enforcement
#
# By default, the feature resolver checks the service requirements/capabilities of
# bundles for new features (xml schema >= 1.3.0) in order to automatically installs
# the required bundles.
# The following flag can have those values:
# - disable: service requirements are completely ignored
# - default: service requirements are ignored for old features
# - enforce: service requirements are always verified
#
#serviceRequirements=default
#
# Store cfg file for config element in feature
#
#configCfgStore=true
#
# Define if the feature service automatically refresh bundles
#
autoRefresh=true
#
# Configuration of features processing mechanism (overrides, blacklisting, modification of features)
# XML file defines instructions related to features processing
# versions.properties may declare properties to resolve placeholders in XML file
# both files are relative to ${karaf.etc}
#
#featureProcessing=org.apache.karaf.features.xml
#featureProcessingVersions=versions.properties
+ configure_karaf_log karaf4 ''
+ local -r karaf_version=karaf4
+ local -r controllerdebugmap=
+ local logapi=log4j
+ grep log4j2 /tmp/karaf-0.20.1-SNAPSHOT/etc/org.ops4j.pax.logging.cfg
log4j2.pattern = %d{ISO8601} | %-5p | %-16t | %-32c{1} | %X{bundle.id} - %X{bundle.name} - %X{bundle.version} | %m%n
log4j2.rootLogger.level = INFO
#log4j2.rootLogger.type = asyncRoot
#log4j2.rootLogger.includeLocation = false
log4j2.rootLogger.appenderRef.RollingFile.ref = RollingFile
log4j2.rootLogger.appenderRef.PaxOsgi.ref = PaxOsgi
log4j2.rootLogger.appenderRef.Console.ref = Console
log4j2.rootLogger.appenderRef.Console.filter.threshold.type = ThresholdFilter
log4j2.rootLogger.appenderRef.Console.filter.threshold.level = ${karaf.log.console:-OFF}
log4j2.rootLogger.appenderRef.RollingFile.filter.confidential.type = ContextMapFilter
log4j2.rootLogger.appenderRef.RollingFile.filter.confidential.pair1.type = KeyValuePair
log4j2.rootLogger.appenderRef.RollingFile.filter.confidential.pair1.key = slf4j.marker
log4j2.rootLogger.appenderRef.RollingFile.filter.confidential.pair1.value = CONFIDENTIAL
log4j2.rootLogger.appenderRef.RollingFile.filter.confidential.operator = or
log4j2.rootLogger.appenderRef.RollingFile.filter.confidential.onMatch = DENY
log4j2.rootLogger.appenderRef.RollingFile.filter.confidential.onMismatch = NEUTRAL
log4j2.logger.spifly.name = org.apache.aries.spifly
log4j2.logger.spifly.level = WARN
log4j2.logger.audit.name = org.apache.karaf.jaas.modules.audit
log4j2.logger.audit.level = INFO
log4j2.logger.audit.additivity = false
log4j2.logger.audit.appenderRef.AuditRollingFile.ref = AuditRollingFile
# Console appender not used by default (see log4j2.rootLogger.appenderRefs)
log4j2.appender.console.type = Console
log4j2.appender.console.name = Console
log4j2.appender.console.layout.type = PatternLayout
log4j2.appender.console.layout.pattern = ${log4j2.pattern}
log4j2.appender.rolling.type = RollingRandomAccessFile
log4j2.appender.rolling.name = RollingFile
log4j2.appender.rolling.fileName = ${karaf.data}/log/karaf.log
log4j2.appender.rolling.filePattern = ${karaf.data}/log/karaf.log.%i
#log4j2.appender.rolling.immediateFlush = false
log4j2.appender.rolling.append = true
log4j2.appender.rolling.layout.type = PatternLayout
log4j2.appender.rolling.layout.pattern = ${log4j2.pattern}
log4j2.appender.rolling.policies.type = Policies
log4j2.appender.rolling.policies.size.type = SizeBasedTriggeringPolicy
log4j2.appender.rolling.policies.size.size = 64MB
log4j2.appender.rolling.strategy.type = DefaultRolloverStrategy
log4j2.appender.rolling.strategy.max = 7
log4j2.appender.audit.type = RollingRandomAccessFile
log4j2.appender.audit.name = AuditRollingFile
log4j2.appender.audit.fileName = ${karaf.data}/security/audit.log
log4j2.appender.audit.filePattern = ${karaf.data}/security/audit.log.%i
log4j2.appender.audit.append = true
log4j2.appender.audit.layout.type = PatternLayout
log4j2.appender.audit.layout.pattern = ${log4j2.pattern}
log4j2.appender.audit.policies.type = Policies
log4j2.appender.audit.policies.size.type = SizeBasedTriggeringPolicy
log4j2.appender.audit.policies.size.size = 8MB
log4j2.appender.audit.strategy.type = DefaultRolloverStrategy
log4j2.appender.audit.strategy.max = 7
log4j2.appender.osgi.type = PaxOsgi
log4j2.appender.osgi.name = PaxOsgi
log4j2.appender.osgi.filter = *
#log4j2.logger.aether.name = shaded.org.eclipse.aether
#log4j2.logger.aether.level = TRACE
#log4j2.logger.http-headers.name = shaded.org.apache.http.headers
#log4j2.logger.http-headers.level = DEBUG
#log4j2.logger.maven.name = org.ops4j.pax.url.mvn
#log4j2.logger.maven.level = TRACE
+ logapi=log4j2
Configuring the karaf log... karaf_version: karaf4, logapi: log4j2
+ echo 'Configuring the karaf log... karaf_version: karaf4, logapi: log4j2'
+ '[' log4j2 == log4j2 ']'
+ sed -ie 's/log4j2.appender.rolling.policies.size.size = 64MB/log4j2.appender.rolling.policies.size.size = 1GB/g' /tmp/karaf-0.20.1-SNAPSHOT/etc/org.ops4j.pax.logging.cfg
+ orgmodule=org.opendaylight.yangtools.yang.parser.repo.YangTextSchemaContextResolver
+ orgmodule_=org_opendaylight_yangtools_yang_parser_repo_YangTextSchemaContextResolver
+ echo 'log4j2.logger.org_opendaylight_yangtools_yang_parser_repo_YangTextSchemaContextResolver.name = WARN'
controllerdebugmap:
cat /tmp/karaf-0.20.1-SNAPSHOT/etc/org.ops4j.pax.logging.cfg
+ echo 'log4j2.logger.org_opendaylight_yangtools_yang_parser_repo_YangTextSchemaContextResolver.level = WARN'
+ unset IFS
+ echo 'controllerdebugmap: '
+ '[' -n '' ']'
+ echo 'cat /tmp/karaf-0.20.1-SNAPSHOT/etc/org.ops4j.pax.logging.cfg'
+ cat /tmp/karaf-0.20.1-SNAPSHOT/etc/org.ops4j.pax.logging.cfg
################################################################################
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
################################################################################
# Common pattern layout for appenders
log4j2.pattern = %d{ISO8601} | %-5p | %-16t | %-32c{1} | %X{bundle.id} - %X{bundle.name} - %X{bundle.version} | %m%n
# Root logger
log4j2.rootLogger.level = INFO
# uncomment to use asynchronous loggers, which require mvn:com.lmax/disruptor/3.3.2 library
#log4j2.rootLogger.type = asyncRoot
#log4j2.rootLogger.includeLocation = false
log4j2.rootLogger.appenderRef.RollingFile.ref = RollingFile
log4j2.rootLogger.appenderRef.PaxOsgi.ref = PaxOsgi
log4j2.rootLogger.appenderRef.Console.ref = Console
log4j2.rootLogger.appenderRef.Console.filter.threshold.type = ThresholdFilter
log4j2.rootLogger.appenderRef.Console.filter.threshold.level = ${karaf.log.console:-OFF}
# Filters for logs marked by org.opendaylight.odlparent.Markers
log4j2.rootLogger.appenderRef.RollingFile.filter.confidential.type = ContextMapFilter
log4j2.rootLogger.appenderRef.RollingFile.filter.confidential.pair1.type = KeyValuePair
log4j2.rootLogger.appenderRef.RollingFile.filter.confidential.pair1.key = slf4j.marker
log4j2.rootLogger.appenderRef.RollingFile.filter.confidential.pair1.value = CONFIDENTIAL
log4j2.rootLogger.appenderRef.RollingFile.filter.confidential.operator = or
log4j2.rootLogger.appenderRef.RollingFile.filter.confidential.onMatch = DENY
log4j2.rootLogger.appenderRef.RollingFile.filter.confidential.onMismatch = NEUTRAL
# Loggers configuration
# Spifly logger
log4j2.logger.spifly.name = org.apache.aries.spifly
log4j2.logger.spifly.level = WARN
# Security audit logger
log4j2.logger.audit.name = org.apache.karaf.jaas.modules.audit
log4j2.logger.audit.level = INFO
log4j2.logger.audit.additivity = false
log4j2.logger.audit.appenderRef.AuditRollingFile.ref = AuditRollingFile
# Appenders configuration
# Console appender not used by default (see log4j2.rootLogger.appenderRefs)
log4j2.appender.console.type = Console
log4j2.appender.console.name = Console
log4j2.appender.console.layout.type = PatternLayout
log4j2.appender.console.layout.pattern = ${log4j2.pattern}
# Rolling file appender
log4j2.appender.rolling.type = RollingRandomAccessFile
log4j2.appender.rolling.name = RollingFile
log4j2.appender.rolling.fileName = ${karaf.data}/log/karaf.log
log4j2.appender.rolling.filePattern = ${karaf.data}/log/karaf.log.%i
# uncomment to not force a disk flush
#log4j2.appender.rolling.immediateFlush = false
log4j2.appender.rolling.append = true
log4j2.appender.rolling.layout.type = PatternLayout
log4j2.appender.rolling.layout.pattern = ${log4j2.pattern}
log4j2.appender.rolling.policies.type = Policies
log4j2.appender.rolling.policies.size.type = SizeBasedTriggeringPolicy
log4j2.appender.rolling.policies.size.size = 1GB
log4j2.appender.rolling.strategy.type = DefaultRolloverStrategy
log4j2.appender.rolling.strategy.max = 7
# Audit file appender
log4j2.appender.audit.type = RollingRandomAccessFile
log4j2.appender.audit.name = AuditRollingFile
log4j2.appender.audit.fileName = ${karaf.data}/security/audit.log
log4j2.appender.audit.filePattern = ${karaf.data}/security/audit.log.%i
log4j2.appender.audit.append = true
log4j2.appender.audit.layout.type = PatternLayout
log4j2.appender.audit.layout.pattern = ${log4j2.pattern}
log4j2.appender.audit.policies.type = Policies
log4j2.appender.audit.policies.size.type = SizeBasedTriggeringPolicy
log4j2.appender.audit.policies.size.size = 8MB
log4j2.appender.audit.strategy.type = DefaultRolloverStrategy
log4j2.appender.audit.strategy.max = 7
# OSGi appender
log4j2.appender.osgi.type = PaxOsgi
log4j2.appender.osgi.name = PaxOsgi
log4j2.appender.osgi.filter = *
# help with identification of maven-related problems with pax-url-aether
#log4j2.logger.aether.name = shaded.org.eclipse.aether
#log4j2.logger.aether.level = TRACE
#log4j2.logger.http-headers.name = shaded.org.apache.http.headers
#log4j2.logger.http-headers.level = DEBUG
#log4j2.logger.maven.name = org.ops4j.pax.url.mvn
#log4j2.logger.maven.level = TRACE
log4j2.logger.org_opendaylight_yangtools_yang_parser_repo_YangTextSchemaContextResolver.name = WARN
log4j2.logger.org_opendaylight_yangtools_yang_parser_repo_YangTextSchemaContextResolver.level = WARN
Configure
java home: /usr/lib/jvm/java-17-openjdk
+ set_java_vars /usr/lib/jvm/java-17-openjdk 2048m /tmp/karaf-0.20.1-SNAPSHOT/bin/setenv
+ local -r java_home=/usr/lib/jvm/java-17-openjdk
+ local -r controllermem=2048m
+ local -r memconf=/tmp/karaf-0.20.1-SNAPSHOT/bin/setenv
+ echo Configure
+ echo ' java home: /usr/lib/jvm/java-17-openjdk'
+ echo ' max memory: 2048m'
max memory: 2048m
memconf: /tmp/karaf-0.20.1-SNAPSHOT/bin/setenv
+ echo ' memconf: /tmp/karaf-0.20.1-SNAPSHOT/bin/setenv'
+ sed -ie 's%^# export JAVA_HOME%export JAVA_HOME=${JAVA_HOME:-/usr/lib/jvm/java-17-openjdk}%g' /tmp/karaf-0.20.1-SNAPSHOT/bin/setenv
+ sed -ie 's/JAVA_MAX_MEM="2048m"/JAVA_MAX_MEM=2048m/g' /tmp/karaf-0.20.1-SNAPSHOT/bin/setenv
cat /tmp/karaf-0.20.1-SNAPSHOT/bin/setenv
+ echo 'cat /tmp/karaf-0.20.1-SNAPSHOT/bin/setenv'
+ cat /tmp/karaf-0.20.1-SNAPSHOT/bin/setenv
#!/bin/sh
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#
# handle specific scripts; the SCRIPT_NAME is exactly the name of the Karaf
# script: client, instance, shell, start, status, stop, karaf
#
# if [ "${KARAF_SCRIPT}" == "SCRIPT_NAME" ]; then
# Actions go here...
# fi
#
# general settings which should be applied for all scripts go here; please keep
# in mind that it is possible that scripts might be executed more than once, e.g.
# in example of the start script where the start script is executed first and the
# karaf script afterwards.
#
#
# The following section shows the possible configuration options for the default
# karaf scripts
#
export JAVA_HOME=${JAVA_HOME:-/usr/lib/jvm/java-17-openjdk} # Location of Java installation
# export JAVA_OPTS # Generic JVM options, for instance, where you can pass the memory configuration
# export JAVA_NON_DEBUG_OPTS # Additional non-debug JVM options
# export EXTRA_JAVA_OPTS # Additional JVM options
# export KARAF_HOME # Karaf home folder
# export KARAF_DATA # Karaf data folder
# export KARAF_BASE # Karaf base folder
# export KARAF_ETC # Karaf etc folder
# export KARAF_LOG # Karaf log folder
# export KARAF_SYSTEM_OPTS # First citizen Karaf options
# export KARAF_OPTS # Additional available Karaf options
# export KARAF_DEBUG # Enable debug mode
# export KARAF_REDIRECT # Enable/set the std/err redirection when using bin/start
# export KARAF_NOROOT # Prevent execution as root if set to true
Set Java version
+ echo 'Set Java version'
+ sudo /usr/sbin/alternatives --install /usr/bin/java java /usr/lib/jvm/java-17-openjdk/bin/java 1
+ sudo /usr/sbin/alternatives --set java /usr/lib/jvm/java-17-openjdk/bin/java
JDK default version ...
+ echo 'JDK default version ...'
+ java -version
openjdk version "17.0.6-ea" 2023-01-17 LTS
OpenJDK Runtime Environment (Red_Hat-17.0.6.0.9-0.3.ea.el8) (build 17.0.6-ea+9-LTS)
OpenJDK 64-Bit Server VM (Red_Hat-17.0.6.0.9-0.3.ea.el8) (build 17.0.6-ea+9-LTS, mixed mode, sharing)
Set JAVA_HOME
+ echo 'Set JAVA_HOME'
+ export JAVA_HOME=/usr/lib/jvm/java-17-openjdk
+ JAVA_HOME=/usr/lib/jvm/java-17-openjdk
++ readlink -e /usr/lib/jvm/java-17-openjdk/bin/java
+ JAVA_RESOLVED=/usr/lib/jvm/java-17-openjdk-17.0.6.0.9-0.3.ea.el8.x86_64/bin/java
+ echo 'Java binary pointed at by JAVA_HOME: /usr/lib/jvm/java-17-openjdk-17.0.6.0.9-0.3.ea.el8.x86_64/bin/java'
Java binary pointed at by JAVA_HOME: /usr/lib/jvm/java-17-openjdk-17.0.6.0.9-0.3.ea.el8.x86_64/bin/java
Listing all open ports on controller system...
+ echo 'Listing all open ports on controller system...'
+ netstat -pnatu
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN -
tcp 0 164 10.30.170.220:22 10.30.171.54:54796 ESTABLISHED -
tcp 0 0 10.30.170.220:34630 199.204.45.87:443 TIME_WAIT -
tcp6 0 0 :::22 :::* LISTEN -
tcp6 0 0 :::111 :::* LISTEN -
tcp6 0 0 :::5555 :::* LISTEN -
udp 0 0 10.30.170.220:68 10.30.170.2:67 ESTABLISHED -
udp 0 0 0.0.0.0:111 0.0.0.0:* -
udp 0 0 127.0.0.1:323 0.0.0.0:* -
udp6 0 0 :::111 :::* -
udp6 0 0 ::1:323 :::* -
Custom shard config exists!!!
Copying the shard config...
+ '[' -f /tmp/custom_shard_config.txt ']'
+ echo 'Custom shard config exists!!!'
+ echo 'Copying the shard config...'
+ cp /tmp/custom_shard_config.txt /tmp/karaf-0.20.1-SNAPSHOT/bin/
Configuring cluster
+ echo 'Configuring cluster'
+ /tmp/karaf-0.20.1-SNAPSHOT/bin/configure_cluster.sh 3 10.30.171.99 10.30.171.216 10.30.170.220
################################################
## Configure Cluster ##
################################################
NOTE: Cluster configuration files not found. Copying from
/tmp/karaf-0.20.1-SNAPSHOT/system/org/opendaylight/controller/sal-clustering-config/9.0.2
Configuring unique name in akka.conf
Configuring hostname in akka.conf
Configuring data and rpc seed nodes in akka.conf
modules = [
{
name = "inventory"
namespace = "urn:opendaylight:inventory"
shard-strategy = "module"
},
{
name = "topology"
namespace = "urn:TBD:params:xml:ns:yang:network-topology"
shard-strategy = "module"
},
{
name = "toaster"
namespace = "http://netconfcentral.org/ns/toaster"
shard-strategy = "module"
},
{
name = "car"
namespace = "urn:opendaylight:params:xml:ns:yang:controller:config:sal-clustering-it:car"
shard-strategy = "module"
},
{
name = "people"
namespace = "urn:opendaylight:params:xml:ns:yang:controller:config:sal-clustering-it:people"
shard-strategy = "module"
},
{
name = "car-people"
namespace = "urn:opendaylight:params:xml:ns:yang:controller:config:sal-clustering-it:car-people"
shard-strategy = "module"
}
]
Configuring replication type in module-shards.conf
################################################
## NOTE: Manually restart controller to ##
## apply configuration. ##
################################################
Dump akka.conf
+ echo 'Dump akka.conf'
+ cat /tmp/karaf-0.20.1-SNAPSHOT/configuration/initial/akka.conf
odl-cluster-data {
akka {
remote {
artery {
enabled = on
transport = tcp
canonical.hostname = "10.30.170.220"
canonical.port = 2550
}
}
cluster {
# Using artery.
seed-nodes = ["akka://opendaylight-cluster-data@10.30.171.99:2550",
"akka://opendaylight-cluster-data@10.30.171.216:2550",
"akka://opendaylight-cluster-data@10.30.170.220:2550"]
roles = ["member-3"]
# when under load we might trip a false positive on the failure detector
# failure-detector {
# heartbeat-interval = 4 s
# acceptable-heartbeat-pause = 16s
# }
}
persistence {
# By default the snapshots/journal directories live in KARAF_HOME. You can choose to put it somewhere else by
# modifying the following two properties. The directory location specified may be a relative or absolute path.
# The relative path is always relative to KARAF_HOME.
# snapshot-store.local.dir = "target/snapshots"
# Use lz4 compression for LocalSnapshotStore snapshots
snapshot-store.local.use-lz4-compression = false
# Size of blocks for lz4 compression: 64KB, 256KB, 1MB or 4MB
snapshot-store.local.lz4-blocksize = 256KB
}
disable-default-actor-system-quarantined-event-handling = "false"
}
}
Dump modules.conf
+ echo 'Dump modules.conf'
+ cat /tmp/karaf-0.20.1-SNAPSHOT/configuration/initial/modules.conf
modules = [
{
name = "inventory"
namespace = "urn:opendaylight:inventory"
shard-strategy = "module"
},
{
name = "topology"
namespace = "urn:TBD:params:xml:ns:yang:network-topology"
shard-strategy = "module"
},
{
name = "toaster"
namespace = "http://netconfcentral.org/ns/toaster"
shard-strategy = "module"
},
{
name = "car"
namespace = "urn:opendaylight:params:xml:ns:yang:controller:config:sal-clustering-it:car"
shard-strategy = "module"
},
{
name = "people"
namespace = "urn:opendaylight:params:xml:ns:yang:controller:config:sal-clustering-it:people"
shard-strategy = "module"
},
{
name = "car-people"
namespace = "urn:opendaylight:params:xml:ns:yang:controller:config:sal-clustering-it:car-people"
shard-strategy = "module"
}
]
Dump module-shards.conf
+ echo 'Dump module-shards.conf'
+ cat /tmp/karaf-0.20.1-SNAPSHOT/configuration/initial/module-shards.conf
module-shards = [
{
name = "default"
shards = [
{
name = "default"
replicas = ["member-1",
"member-2",
"member-3"]
}
]
},
{
name = "inventory"
shards = [
{
name="inventory"
replicas = ["member-1",
"member-2",
"member-3"]
}
]
},
{
name = "topology"
shards = [
{
name="topology"
replicas = ["member-1",
"member-2",
"member-3"]
}
]
},
{
name = "toaster"
shards = [
{
name="toaster"
replicas = ["member-1",
"member-2",
"member-3"]
}
]
},
{
name = "car"
shards = [
{
name="car"
replicas = ["member-1",
"member-2",
"member-3"]
}
]
},
{
name = "people"
shards = [
{
name="people"
replicas = ["member-1",
"member-2",
"member-3"]
}
]
},
{
name = "car-people"
shards = [
{
name="car-people"
replicas = ["member-1",
"member-2",
"member-3"]
}
]
}
]
Locating config plan to use...
Finished running config plans
Starting member-1 with IP address 10.30.171.99
Warning: Permanently added '10.30.171.99' (ECDSA) to the list of known hosts.
Warning: Permanently added '10.30.171.99' (ECDSA) to the list of known hosts.
Redirecting karaf console output to karaf_console.log
Starting controller...
start: Redirecting Karaf output to /tmp/karaf-0.20.1-SNAPSHOT/data/log/karaf_console.log
Starting member-2 with IP address 10.30.171.216
Warning: Permanently added '10.30.171.216' (ECDSA) to the list of known hosts.
Warning: Permanently added '10.30.171.216' (ECDSA) to the list of known hosts.
Redirecting karaf console output to karaf_console.log
Starting controller...
start: Redirecting Karaf output to /tmp/karaf-0.20.1-SNAPSHOT/data/log/karaf_console.log
Starting member-3 with IP address 10.30.170.220
Warning: Permanently added '10.30.170.220' (ECDSA) to the list of known hosts.
Warning: Permanently added '10.30.170.220' (ECDSA) to the list of known hosts.
Redirecting karaf console output to karaf_console.log
Starting controller...
start: Redirecting Karaf output to /tmp/karaf-0.20.1-SNAPSHOT/data/log/karaf_console.log
[controller-csit-3node-rest-clust-cars-perf-ask-only-calcium] $ /bin/bash /tmp/jenkins3600331307713934933.sh
common-functions.sh is being sourced
common-functions environment:
MAVENCONF: /tmp/karaf-0.20.1-SNAPSHOT/etc/org.ops4j.pax.url.mvn.cfg
ACTUALFEATURES:
FEATURESCONF: /tmp/karaf-0.20.1-SNAPSHOT/etc/org.apache.karaf.features.cfg
CUSTOMPROP: /tmp/karaf-0.20.1-SNAPSHOT/etc/custom.properties
LOGCONF: /tmp/karaf-0.20.1-SNAPSHOT/etc/org.ops4j.pax.logging.cfg
MEMCONF: /tmp/karaf-0.20.1-SNAPSHOT/bin/setenv
CONTROLLERMEM: 2048m
AKKACONF: /tmp/karaf-0.20.1-SNAPSHOT/configuration/initial/akka.conf
MODULESCONF: /tmp/karaf-0.20.1-SNAPSHOT/configuration/initial/modules.conf
MODULESHARDSCONF: /tmp/karaf-0.20.1-SNAPSHOT/configuration/initial/module-shards.conf
SUITES:
+ echo '#################################################'
#################################################
+ echo '## Verify Cluster is UP ##'
## Verify Cluster is UP ##
+ echo '#################################################'
#################################################
+ create_post_startup_script
+ cat
+ copy_and_run_post_startup_script
+ seed_index=1
++ seq 1 3
+ for i in $(seq 1 "${NUM_ODL_SYSTEM}")
+ CONTROLLERIP=ODL_SYSTEM_1_IP
+ echo 'Execute the post startup script on controller 10.30.171.99'
Execute the post startup script on controller 10.30.171.99
+ scp /w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/post-startup-script.sh 10.30.171.99:/tmp/
Warning: Permanently added '10.30.171.99' (ECDSA) to the list of known hosts.
+ ssh 10.30.171.99 'bash /tmp/post-startup-script.sh 1'
Warning: Permanently added '10.30.171.99' (ECDSA) to the list of known hosts.
tcp6 0 0 :::8101 :::* LISTEN
Waiting up to 3 minutes for controller to come up, checking every 5 seconds...
2024-04-27T23:48:41,938 | INFO | SystemReadyService-0 | SimpleSystemReadyMonitor | 205 - org.opendaylight.infrautils.ready-api - 6.0.6 | System ready; AKA: Aye captain, all warp coils are now operating at peak efficiency! [M.]
Controller is UP
2024-04-27T23:48:41,938 | INFO | SystemReadyService-0 | SimpleSystemReadyMonitor | 205 - org.opendaylight.infrautils.ready-api - 6.0.6 | System ready; AKA: Aye captain, all warp coils are now operating at peak efficiency! [M.]
Listing all open ports on controller system...
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN -
tcp 0 164 10.30.171.99:22 10.30.171.54:56448 ESTABLISHED -
tcp 0 0 10.30.171.99:38516 199.204.45.87:443 TIME_WAIT -
tcp6 0 0 :::8101 :::* LISTEN 5737/java
tcp6 0 0 127.0.0.1:1099 :::* LISTEN 5737/java
tcp6 0 0 :::111 :::* LISTEN -
tcp6 0 0 127.0.0.1:43153 :::* LISTEN 5737/java
tcp6 0 0 :::5555 :::* LISTEN -
tcp6 0 0 :::8181 :::* LISTEN 5737/java
tcp6 0 0 10.30.171.99:2550 :::* LISTEN 5737/java
tcp6 0 0 :::22 :::* LISTEN -
tcp6 0 0 127.0.0.1:44444 :::* LISTEN 5737/java
tcp6 0 0 127.0.0.1:43232 127.0.0.1:44444 TIME_WAIT -
tcp6 0 0 10.30.171.99:2550 10.30.171.216:53088 ESTABLISHED 5737/java
tcp6 0 0 127.0.0.1:42028 127.0.0.1:1099 TIME_WAIT -
tcp6 0 0 127.0.0.1:43916 127.0.0.1:1099 ESTABLISHED 5737/java
tcp6 0 0 127.0.0.1:43250 127.0.0.1:44444 ESTABLISHED 5737/java
tcp6 0 0 127.0.0.1:43244 127.0.0.1:44444 TIME_WAIT -
tcp6 0 0 10.30.171.99:51744 10.30.171.216:2550 ESTABLISHED 5737/java
tcp6 32 0 10.30.171.99:47840 199.204.45.87:443 CLOSE_WAIT 5737/java
tcp6 0 0 10.30.171.99:45820 10.30.170.220:2550 ESTABLISHED 5737/java
tcp6 0 0 10.30.171.99:51742 10.30.171.216:2550 ESTABLISHED 5737/java
tcp6 0 0 10.30.171.99:2550 10.30.170.220:34590 ESTABLISHED 5737/java
tcp6 0 0 10.30.171.99:2550 10.30.171.216:53074 ESTABLISHED 5737/java
tcp6 0 0 127.0.0.1:1099 127.0.0.1:43916 ESTABLISHED 5737/java
tcp6 0 0 127.0.0.1:44444 127.0.0.1:43250 ESTABLISHED 5737/java
tcp6 0 0 10.30.171.99:2550 10.30.170.220:34578 ESTABLISHED 5737/java
tcp6 0 0 10.30.171.99:45808 10.30.170.220:2550 ESTABLISHED 5737/java
udp 0 0 10.30.171.99:68 10.30.170.3:67 ESTABLISHED -
udp 0 0 0.0.0.0:111 0.0.0.0:* -
udp 0 0 127.0.0.1:323 0.0.0.0:* -
udp6 0 0 :::111 :::* -
udp6 0 0 ::1:323 :::* -
looking for "BindException: Address already in use" in log file
looking for "server is unhealthy" in log file
+ '[' 1 == 0 ']'
+ for i in $(seq 1 "${NUM_ODL_SYSTEM}")
+ CONTROLLERIP=ODL_SYSTEM_2_IP
+ echo 'Execute the post startup script on controller 10.30.171.216'
Execute the post startup script on controller 10.30.171.216
+ scp /w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/post-startup-script.sh 10.30.171.216:/tmp/
Warning: Permanently added '10.30.171.216' (ECDSA) to the list of known hosts.
+ ssh 10.30.171.216 'bash /tmp/post-startup-script.sh 2'
Warning: Permanently added '10.30.171.216' (ECDSA) to the list of known hosts.
tcp6 0 0 :::8101 :::* LISTEN
Waiting up to 3 minutes for controller to come up, checking every 5 seconds...
2024-04-27T23:48:44,881 | INFO | SystemReadyService-0 | SimpleSystemReadyMonitor | 205 - org.opendaylight.infrautils.ready-api - 6.0.6 | System ready; AKA: Aye captain, all warp coils are now operating at peak efficiency! [M.]
Controller is UP
2024-04-27T23:48:44,881 | INFO | SystemReadyService-0 | SimpleSystemReadyMonitor | 205 - org.opendaylight.infrautils.ready-api - 6.0.6 | System ready; AKA: Aye captain, all warp coils are now operating at peak efficiency! [M.]
Listing all open ports on controller system...
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN -
tcp 0 164 10.30.171.216:22 10.30.171.54:58460 ESTABLISHED -
tcp 0 0 10.30.171.216:37136 199.204.45.87:443 TIME_WAIT -
tcp6 0 0 :::8101 :::* LISTEN 5747/java
tcp6 0 0 127.0.0.1:1099 :::* LISTEN 5747/java
tcp6 0 0 :::111 :::* LISTEN -
tcp6 0 0 :::5555 :::* LISTEN -
tcp6 0 0 :::8181 :::* LISTEN 5747/java
tcp6 0 0 10.30.171.216:2550 :::* LISTEN 5747/java
tcp6 0 0 :::22 :::* LISTEN -
tcp6 0 0 127.0.0.1:41049 :::* LISTEN 5747/java
tcp6 0 0 127.0.0.1:44444 :::* LISTEN 5747/java
tcp6 0 0 127.0.0.1:60244 127.0.0.1:44444 TIME_WAIT -
tcp6 0 0 10.30.171.216:2550 10.30.170.220:33700 ESTABLISHED 5747/java
tcp6 32 0 10.30.171.216:58732 199.204.45.87:443 CLOSE_WAIT 5747/java
tcp6 0 0 127.0.0.1:48876 127.0.0.1:1099 TIME_WAIT -
tcp6 0 0 10.30.171.216:53074 10.30.171.99:2550 ESTABLISHED 5747/java
tcp6 0 0 10.30.171.216:2550 10.30.170.220:33684 ESTABLISHED 5747/java
tcp6 0 0 10.30.171.216:53088 10.30.171.99:2550 ESTABLISHED 5747/java
tcp6 0 0 10.30.171.216:49290 10.30.170.220:2550 ESTABLISHED 5747/java
tcp6 0 0 10.30.171.216:2550 10.30.171.99:51744 ESTABLISHED 5747/java
tcp6 0 0 10.30.171.216:2550 10.30.171.99:51742 ESTABLISHED 5747/java
tcp6 0 0 127.0.0.1:60248 127.0.0.1:44444 TIME_WAIT -
tcp6 0 0 10.30.171.216:49306 10.30.170.220:2550 ESTABLISHED 5747/java
udp 0 0 10.30.171.216:68 10.30.170.3:67 ESTABLISHED -
udp 0 0 0.0.0.0:111 0.0.0.0:* -
udp 0 0 127.0.0.1:323 0.0.0.0:* -
udp6 0 0 :::111 :::* -
udp6 0 0 ::1:323 :::* -
looking for "BindException: Address already in use" in log file
looking for "server is unhealthy" in log file
+ '[' 2 == 0 ']'
+ for i in $(seq 1 "${NUM_ODL_SYSTEM}")
+ CONTROLLERIP=ODL_SYSTEM_3_IP
+ echo 'Execute the post startup script on controller 10.30.170.220'
Execute the post startup script on controller 10.30.170.220
+ scp /w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/post-startup-script.sh 10.30.170.220:/tmp/
Warning: Permanently added '10.30.170.220' (ECDSA) to the list of known hosts.
+ ssh 10.30.170.220 'bash /tmp/post-startup-script.sh 3'
Warning: Permanently added '10.30.170.220' (ECDSA) to the list of known hosts.
tcp6 0 0 :::8101 :::* LISTEN
Waiting up to 3 minutes for controller to come up, checking every 5 seconds...
2024-04-27T23:48:42,019 | INFO | SystemReadyService-0 | SimpleSystemReadyMonitor | 205 - org.opendaylight.infrautils.ready-api - 6.0.6 | System ready; AKA: Aye captain, all warp coils are now operating at peak efficiency! [M.]
Controller is UP
2024-04-27T23:48:42,019 | INFO | SystemReadyService-0 | SimpleSystemReadyMonitor | 205 - org.opendaylight.infrautils.ready-api - 6.0.6 | System ready; AKA: Aye captain, all warp coils are now operating at peak efficiency! [M.]
Listing all open ports on controller system...
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN -
tcp 0 0 10.30.170.220:34630 199.204.45.87:443 TIME_WAIT -
tcp 0 0 10.30.170.220:22 10.30.171.54:60088 ESTABLISHED -
tcp6 0 0 :::8181 :::* LISTEN 5758/java
tcp6 0 0 10.30.170.220:2550 :::* LISTEN 5758/java
tcp6 0 0 :::22 :::* LISTEN -
tcp6 0 0 127.0.0.1:35867 :::* LISTEN 5758/java
tcp6 0 0 127.0.0.1:44444 :::* LISTEN 5758/java
tcp6 0 0 :::8101 :::* LISTEN 5758/java
tcp6 0 0 127.0.0.1:1099 :::* LISTEN 5758/java
tcp6 0 0 :::111 :::* LISTEN -
tcp6 0 0 :::5555 :::* LISTEN -
tcp6 0 0 10.30.170.220:2550 10.30.171.99:45808 ESTABLISHED 5758/java
tcp6 0 0 10.30.170.220:33684 10.30.171.216:2550 ESTABLISHED 5758/java
tcp6 0 0 127.0.0.1:56540 127.0.0.1:1099 TIME_WAIT -
tcp6 0 0 10.30.170.220:34590 10.30.171.99:2550 ESTABLISHED 5758/java
tcp6 0 0 127.0.0.1:38682 127.0.0.1:44444 TIME_WAIT -
tcp6 0 0 10.30.170.220:2550 10.30.171.216:49290 ESTABLISHED 5758/java
tcp6 0 0 127.0.0.1:38688 127.0.0.1:44444 TIME_WAIT -
tcp6 0 0 10.30.170.220:34578 10.30.171.99:2550 ESTABLISHED 5758/java
tcp6 0 0 10.30.170.220:2550 10.30.171.99:45820 ESTABLISHED 5758/java
tcp6 0 0 127.0.0.1:56530 127.0.0.1:1099 TIME_WAIT -
tcp6 0 0 10.30.170.220:33700 10.30.171.216:2550 ESTABLISHED 5758/java
tcp6 32 0 10.30.170.220:56264 199.204.45.87:443 CLOSE_WAIT 5758/java
tcp6 0 0 10.30.170.220:2550 10.30.171.216:49306 ESTABLISHED 5758/java
udp 0 0 10.30.170.220:68 10.30.170.2:67 ESTABLISHED -
udp 0 0 0.0.0.0:111 0.0.0.0:* -
udp 0 0 127.0.0.1:323 0.0.0.0:* -
udp6 0 0 :::111 :::* -
udp6 0 0 ::1:323 :::* -
looking for "BindException: Address already in use" in log file
looking for "server is unhealthy" in log file
+ '[' 0 == 0 ']'
+ seed_index=1
+ dump_controller_threads
++ seq 1 3
+ for i in $(seq 1 "${NUM_ODL_SYSTEM}")
+ CONTROLLERIP=ODL_SYSTEM_1_IP
+ echo 'Let'\''s take the karaf thread dump'
Let's take the karaf thread dump
+ ssh 10.30.171.99 'sudo ps aux'
Warning: Permanently added '10.30.171.99' (ECDSA) to the list of known hosts.
++ grep org.apache.karaf.main.Main /w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/ps_before.log
++ cut -f2 '-d '
++ grep -v grep
++ tr -s ' '
+ pid=5737
+ echo 'karaf main: org.apache.karaf.main.Main, pid:5737'
karaf main: org.apache.karaf.main.Main, pid:5737
+ ssh 10.30.171.99 '/usr/lib/jvm/java-17-openjdk/bin/jstack -l 5737'
Warning: Permanently added '10.30.171.99' (ECDSA) to the list of known hosts.
+ for i in $(seq 1 "${NUM_ODL_SYSTEM}")
+ CONTROLLERIP=ODL_SYSTEM_2_IP
+ echo 'Let'\''s take the karaf thread dump'
Let's take the karaf thread dump
+ ssh 10.30.171.216 'sudo ps aux'
Warning: Permanently added '10.30.171.216' (ECDSA) to the list of known hosts.
++ grep org.apache.karaf.main.Main /w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/ps_before.log
++ cut -f2 '-d '
++ grep -v grep
++ tr -s ' '
+ pid=5747
+ echo 'karaf main: org.apache.karaf.main.Main, pid:5747'
karaf main: org.apache.karaf.main.Main, pid:5747
+ ssh 10.30.171.216 '/usr/lib/jvm/java-17-openjdk/bin/jstack -l 5747'
Warning: Permanently added '10.30.171.216' (ECDSA) to the list of known hosts.
+ for i in $(seq 1 "${NUM_ODL_SYSTEM}")
+ CONTROLLERIP=ODL_SYSTEM_3_IP
+ echo 'Let'\''s take the karaf thread dump'
Let's take the karaf thread dump
+ ssh 10.30.170.220 'sudo ps aux'
Warning: Permanently added '10.30.170.220' (ECDSA) to the list of known hosts.
++ grep org.apache.karaf.main.Main /w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/ps_before.log
++ grep -v grep
++ cut -f2 '-d '
++ tr -s ' '
+ pid=5758
+ echo 'karaf main: org.apache.karaf.main.Main, pid:5758'
karaf main: org.apache.karaf.main.Main, pid:5758
+ ssh 10.30.170.220 '/usr/lib/jvm/java-17-openjdk/bin/jstack -l 5758'
Warning: Permanently added '10.30.170.220' (ECDSA) to the list of known hosts.
+ '[' 0 -gt 0 ']'
+ echo 'Generating controller variables...'
Generating controller variables...
++ seq 1 3
+ for i in $(seq 1 "${NUM_ODL_SYSTEM}")
+ CONTROLLERIP=ODL_SYSTEM_1_IP
+ odl_variables=' -v ODL_SYSTEM_1_IP:10.30.171.99'
+ for i in $(seq 1 "${NUM_ODL_SYSTEM}")
+ CONTROLLERIP=ODL_SYSTEM_2_IP
+ odl_variables=' -v ODL_SYSTEM_1_IP:10.30.171.99 -v ODL_SYSTEM_2_IP:10.30.171.216'
+ for i in $(seq 1 "${NUM_ODL_SYSTEM}")
+ CONTROLLERIP=ODL_SYSTEM_3_IP
+ odl_variables=' -v ODL_SYSTEM_1_IP:10.30.171.99 -v ODL_SYSTEM_2_IP:10.30.171.216 -v ODL_SYSTEM_3_IP:10.30.170.220'
+ echo 'Generating mininet variables...'
Generating mininet variables...
++ seq 1 1
+ for i in $(seq 1 "${NUM_TOOLS_SYSTEM}")
+ MININETIP=TOOLS_SYSTEM_1_IP
+ tools_variables=' -v TOOLS_SYSTEM_1_IP:10.30.170.196'
+ get_test_suites SUITES
+ local __suite_list=SUITES
+ echo 'Locating test plan to use...'
Locating test plan to use...
+ testplan_filepath=/w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/test/csit/testplans/controller-rest-clust-cars-perf-ask-calcium.txt
+ '[' '!' -f /w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/test/csit/testplans/controller-rest-clust-cars-perf-ask-calcium.txt ']'
+ testplan_filepath=/w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/test/csit/testplans/controller-rest-clust-cars-perf-ask.txt
+ '[' disabled '!=' disabled ']'
+ echo 'Changing the testplan path...'
Changing the testplan path...
+ sed s:integration:/w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium: /w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/test/csit/testplans/controller-rest-clust-cars-perf-ask.txt
+ cat testplan.txt
# Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
#
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License v1.0 which accompanies this distribution,
# and is available at http://www.eclipse.org/legal/epl-v10.html
# Place the suites in run order:
/w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/test/csit/suites/controller/ThreeNodes_Datastore/010_crud_mdsal_perf.robot
/w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/test/csit/suites/controller/ThreeNodes_Datastore/puts_during_isolation.robot
+ '[' -z '' ']'
++ grep -E -v '(^[[:space:]]*#|^[[:space:]]*$)' testplan.txt
++ tr '\012' ' '
+ suite_list='/w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/test/csit/suites/controller/ThreeNodes_Datastore/010_crud_mdsal_perf.robot /w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/test/csit/suites/controller/ThreeNodes_Datastore/puts_during_isolation.robot '
+ eval 'SUITES='\''/w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/test/csit/suites/controller/ThreeNodes_Datastore/010_crud_mdsal_perf.robot /w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/test/csit/suites/controller/ThreeNodes_Datastore/puts_during_isolation.robot '\'''
++ SUITES='/w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/test/csit/suites/controller/ThreeNodes_Datastore/010_crud_mdsal_perf.robot /w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/test/csit/suites/controller/ThreeNodes_Datastore/puts_during_isolation.robot '
+ echo 'Starting Robot test suites /w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/test/csit/suites/controller/ThreeNodes_Datastore/010_crud_mdsal_perf.robot /w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/test/csit/suites/controller/ThreeNodes_Datastore/puts_during_isolation.robot ...'
Starting Robot test suites /w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/test/csit/suites/controller/ThreeNodes_Datastore/010_crud_mdsal_perf.robot /w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/test/csit/suites/controller/ThreeNodes_Datastore/puts_during_isolation.robot ...
+ robot -N controller-rest-clust-cars-perf-ask.txt --removekeywords wuks -e exclude -e skip_if_calcium -v BUNDLEFOLDER:karaf-0.20.1-SNAPSHOT -v BUNDLE_URL:https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/karaf/0.20.1-SNAPSHOT/karaf-0.20.1-20240418.235143-1.zip -v CONTROLLER:10.30.171.99 -v CONTROLLER1:10.30.171.216 -v CONTROLLER2:10.30.170.220 -v CONTROLLER_USER:jenkins -v JAVA_HOME:/usr/lib/jvm/java-17-openjdk -v JDKVERSION:openjdk17 -v JENKINS_WORKSPACE:/w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium -v MININET:10.30.170.196 -v MININET1: -v MININET2: -v MININET_USER:jenkins -v NEXUSURL_PREFIX:https://nexus.opendaylight.org -v NUM_ODL_SYSTEM:3 -v NUM_TOOLS_SYSTEM:1 -v ODL_STREAM:calcium -v ODL_SYSTEM_IP:10.30.171.99 -v ODL_SYSTEM_1_IP:10.30.171.99 -v ODL_SYSTEM_2_IP:10.30.171.216 -v ODL_SYSTEM_3_IP:10.30.170.220 -v ODL_SYSTEM_USER:jenkins -v TOOLS_SYSTEM_IP:10.30.170.196 -v TOOLS_SYSTEM_1_IP:10.30.170.196 -v TOOLS_SYSTEM_USER:jenkins -v USER_HOME:/home/jenkins -v IS_KARAF_APPL:True -v WORKSPACE:/tmp /w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/test/csit/suites/controller/ThreeNodes_Datastore/010_crud_mdsal_perf.robot /w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/test/csit/suites/controller/ThreeNodes_Datastore/puts_during_isolation.robot
==============================================================================
controller-rest-clust-cars-perf-ask.txt
==============================================================================
controller-rest-clust-cars-perf-ask.txt.010 Crud Mdsal Perf :: Test for mea...
==============================================================================
Add Cars :: Request to add 10000 cars (timeout in 5m). :1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
:1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
:1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
| PASS |
------------------------------------------------------------------------------
Verify Cars :: Store logs and verify result :1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
:1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
:1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
| FAIL |
HTTPError: 409 Client Error: Conflict for url: http://10.30.171.99:8181/rests/data/car:cars?content=config
------------------------------------------------------------------------------
Add People :: Request to add 10000 people (timeout in 5m). :1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
:1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
:1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
| PASS |
------------------------------------------------------------------------------
Verify People :: Store logs and verify result :1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
:1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
:1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
| FAIL |
HTTPError: 409 Client Error: Conflict for url: http://10.30.171.99:8181/rests/data/people:people?content=config
------------------------------------------------------------------------------
Purchase Cars :: Request to purchase 10000 cars (timeout in 5m). :1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
:1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
:1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
| PASS |
------------------------------------------------------------------------------
Verify Purchases :: Store logs and verify result :1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
:1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
:1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
| FAIL |
Keyword 'Purchase Is Completed' failed after retrying for 5 minutes. The last error was: HTTPError: 409 Client Error: Conflict for url: http://10.30.171.99:8181/rests/data/car-people:car-people?content=config
------------------------------------------------------------------------------
Delete Cars :: Remove cars from the datastore :1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
:1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
:1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
| FAIL |
Url: http://10.30.171.99:8181/rests/data/car:cars Expected status: 409 != 200
------------------------------------------------------------------------------
Delete People :: Remove people from the datastore :1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
:1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
:1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
| FAIL |
Url: http://10.30.171.99:8181/rests/data/people:people Expected status: 409 != 200
------------------------------------------------------------------------------
Delete CarPeople :: Remove car-people entries from the datastore :1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
:1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
:1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
| FAIL |
Url: http://10.30.171.99:8181/rests/data/car-people:car-people Expected status: 409 != 200
------------------------------------------------------------------------------
controller-rest-clust-cars-perf-ask.txt.010 Crud Mdsal Perf :: Tes... | FAIL |
9 tests, 3 passed, 6 failed
==============================================================================
controller-rest-clust-cars-perf-ask.txt.Puts During Isolation :: Test when ...
==============================================================================
Start_Adding_Cars_To_Follower :: Start the script to configure 100... :1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
:1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
:1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
| FAIL |
Keyword 'Ensure_Cars_Being_Configured' failed after retrying 10 times. The last error was: HTTPError: 409 Client Error: Conflict for url: http://10.30.171.99:8181/rests/data/car:cars?content=config
------------------------------------------------------------------------------
Isolate_Current_Car_Leader :: Isolating cluster node which is the ... :1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
:1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
:1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
:1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
:1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
:1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
:1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
:1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
:1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
| PASS |
------------------------------------------------------------------------------
Verify_New_Car_Leader_Elected :: Verify new owner of the car shard... :1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
:1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
:1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
| PASS |
------------------------------------------------------------------------------
Verify_Cars_Configured :: Verify that all cars are configured. :1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
:1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
:1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
| FAIL |
Keyword 'SSHLibrary.Read_Until_Prompt' failed after retrying 120 times. The last error was: No match found for '~]>' in 10 seconds
Output:
2024-04-28 00:15:51,227 INFO: Request started at Sun Apr 28 00:15:51 2024 finished with following detais
2024-04-28 00:15:51,227 INFO: Request started at Sun Apr 28 00:15:51 2024 finished with following detais
2024-04-28 00:15:51,229 INFO: Body: {"car-entry": [{"category": "my_category", "model": "model279", "manufacturer": "my_manufacturer", "id": 279, "year": "2015"}]}
2024-04-28 00:15:51,227 INFO: Headers {'Content-Length': '127', 'Content-Type': 'application/json', 'Authorization': 'Basic YWRtaW46YWRtaW4='}:
2024-04-28 00:15:51,227 INFO: Request started at Sun Apr 28 00:15:51 2024 finished with following detais
2024-04-28 00:15:51,228 INFO: Headers {'Content-Length': '127', 'Content-Type': 'application/json', 'Authorization': 'Basic YWRtaW46YWRtaW4='}:
2024-04-28 00:15:51,228 INFO: Response:
[ Message content over the limit has been removed. ]
2024-04-28 00:15:51,446 INFO: Body: {"car-entry": [{"category": "my_category", "model": "model278", "manufacturer": "my_manufacturer", "id": 278, "year": "2015"}]}
2024-04-28 00:15:51,446 INFO: Response:
Error 404 Not Found
HTTP ERROR 404 Not Found
URI:
/restconf/config/car:cars
STATUS:
404
MESSAGE:
Not Found
SERVLET:
default
2024-04-28 00:15:51,446 INFO: Not Foun.
------------------------------------------------------------------------------
Rejoin_Isolated_Member :: Rejoin isolated node :1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
:1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
:1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
:1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
:1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
:1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
:1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
:1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
:1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
| FAIL |
Keyword 'Check_Cluster_Is_In_Sync' failed after retrying for 1 minute. The last error was: HTTPError: 401 Client Error: Unauthorized for url: http://10.30.171.99:8181/jolokia/read/org.opendaylight.controller:Category=ShardManager,name=shard-manager-config,type=DistributedConfigDatastore
------------------------------------------------------------------------------
Delete Cars :: Remove cars from the datastore :1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
:1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
:1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
| FAIL |
Url: http://10.30.171.216:8181/rests/data/car:cars Expected status: 409 != 200
------------------------------------------------------------------------------
controller-rest-clust-cars-perf-ask.txt.Puts During Isolation :: T... | FAIL |
Suite teardown failed:
Several failures occurred:
1) No match found for '~]>' in 10 seconds
Output:
6:8181/restconf/config/car:cars
2024-04-28 00:19:16,147 INFO: Headers {'Content-Length': '127', 'Content-Type': 'application/json', 'Authorization': 'Basic YWRtaW46YWRtaW4='}:
2024-04-28 00:19:16,147 INFO: Response:
Error 404 Not Found
HTTP ERROR 404 Not Found
URI:
/restconf/config/car:cars
STATUS:
404
MESSAGE:
Not Found
SERVLET:
default
[ Message content over the limit has been removed. ]
Error 404 Not Found
HTTP ERROR 404 Not Found
URI:
/restconf/config/car:cars
STATUS:
404
MESSAGE:
Not Found
SERVLET:
default
2024-04-28 00:20:39,343 INFO: Not Found
^C.
2) No match found for '~]>' in 10 seconds
Output:
.
6 tests, 0 passed, 6 failed
==============================================================================
controller-rest-clust-cars-perf-ask.txt | FAIL |
15 tests, 3 passed, 12 failed
==============================================================================
Output: /w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/output.xml
Log: /w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/log.html
Report: /w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/report.html
+ true
+ echo 'Examining the files in data/log and checking filesize'
Examining the files in data/log and checking filesize
+ ssh 10.30.171.99 'ls -altr /tmp/karaf-0.20.1-SNAPSHOT/data/log/'
Warning: Permanently added '10.30.171.99' (ECDSA) to the list of known hosts.
total 900
drwxrwxr-x. 2 jenkins jenkins 48 Apr 27 23:48 .
-rw-rw-r--. 1 jenkins jenkins 1720 Apr 27 23:48 karaf_console.log
drwxrwxr-x. 9 jenkins jenkins 149 Apr 27 23:48 ..
-rw-rw-r--. 1 jenkins jenkins 496912 Apr 28 00:20 karaf.log
+ ssh 10.30.171.99 'du -hs /tmp/karaf-0.20.1-SNAPSHOT/data/log/*'
Warning: Permanently added '10.30.171.99' (ECDSA) to the list of known hosts.
4.0K /tmp/karaf-0.20.1-SNAPSHOT/data/log/karaf_console.log
896K /tmp/karaf-0.20.1-SNAPSHOT/data/log/karaf.log
+ ssh 10.30.171.216 'ls -altr /tmp/karaf-0.20.1-SNAPSHOT/data/log/'
Warning: Permanently added '10.30.171.216' (ECDSA) to the list of known hosts.
total 1540
drwxrwxr-x. 2 jenkins jenkins 48 Apr 27 23:48 .
-rw-rw-r--. 1 jenkins jenkins 1720 Apr 27 23:48 karaf_console.log
drwxrwxr-x. 9 jenkins jenkins 149 Apr 27 23:48 ..
-rw-rw-r--. 1 jenkins jenkins 702007 Apr 28 00:21 karaf.log
+ ssh 10.30.171.216 'du -hs /tmp/karaf-0.20.1-SNAPSHOT/data/log/*'
Warning: Permanently added '10.30.171.216' (ECDSA) to the list of known hosts.
4.0K /tmp/karaf-0.20.1-SNAPSHOT/data/log/karaf_console.log
1.5M /tmp/karaf-0.20.1-SNAPSHOT/data/log/karaf.log
+ ssh 10.30.170.220 'ls -altr /tmp/karaf-0.20.1-SNAPSHOT/data/log/'
Warning: Permanently added '10.30.170.220' (ECDSA) to the list of known hosts.
total 1540
drwxrwxr-x. 2 jenkins jenkins 48 Apr 27 23:48 .
-rw-rw-r--. 1 jenkins jenkins 1720 Apr 27 23:48 karaf_console.log
drwxrwxr-x. 9 jenkins jenkins 149 Apr 27 23:48 ..
-rw-rw-r--. 1 jenkins jenkins 562648 Apr 28 00:21 karaf.log
+ ssh 10.30.170.220 'du -hs /tmp/karaf-0.20.1-SNAPSHOT/data/log/*'
Warning: Permanently added '10.30.170.220' (ECDSA) to the list of known hosts.
4.0K /tmp/karaf-0.20.1-SNAPSHOT/data/log/karaf_console.log
1.5M /tmp/karaf-0.20.1-SNAPSHOT/data/log/karaf.log
+ set +e
++ seq 1 3
+ for i in $(seq 1 "${NUM_ODL_SYSTEM}")
+ CONTROLLERIP=ODL_SYSTEM_1_IP
+ echo 'Let'\''s take the karaf thread dump again'
Let's take the karaf thread dump again
+ ssh 10.30.171.99 'sudo ps aux'
Warning: Permanently added '10.30.171.99' (ECDSA) to the list of known hosts.
++ grep org.apache.karaf.main.Main /w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/ps_after.log
++ grep -v grep
++ tr -s ' '
++ cut -f2 '-d '
+ pid=5737
+ echo 'karaf main: org.apache.karaf.main.Main, pid:5737'
karaf main: org.apache.karaf.main.Main, pid:5737
+ ssh 10.30.171.99 '/usr/lib/jvm/java-17-openjdk/bin/jstack -l 5737'
Warning: Permanently added '10.30.171.99' (ECDSA) to the list of known hosts.
+ echo 'killing karaf process...'
killing karaf process...
+ ssh 10.30.171.99 bash -c 'ps axf | grep karaf | grep -v grep | awk '\''{print "kill -9 " $1}'\'' | sh'
Warning: Permanently added '10.30.171.99' (ECDSA) to the list of known hosts.
+ for i in $(seq 1 "${NUM_ODL_SYSTEM}")
+ CONTROLLERIP=ODL_SYSTEM_2_IP
+ echo 'Let'\''s take the karaf thread dump again'
Let's take the karaf thread dump again
+ ssh 10.30.171.216 'sudo ps aux'
Warning: Permanently added '10.30.171.216' (ECDSA) to the list of known hosts.
++ grep org.apache.karaf.main.Main /w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/ps_after.log
++ grep -v grep
++ tr -s ' '
++ cut -f2 '-d '
+ pid=5747
+ echo 'karaf main: org.apache.karaf.main.Main, pid:5747'
karaf main: org.apache.karaf.main.Main, pid:5747
+ ssh 10.30.171.216 '/usr/lib/jvm/java-17-openjdk/bin/jstack -l 5747'
Warning: Permanently added '10.30.171.216' (ECDSA) to the list of known hosts.
+ echo 'killing karaf process...'
killing karaf process...
+ ssh 10.30.171.216 bash -c 'ps axf | grep karaf | grep -v grep | awk '\''{print "kill -9 " $1}'\'' | sh'
Warning: Permanently added '10.30.171.216' (ECDSA) to the list of known hosts.
+ for i in $(seq 1 "${NUM_ODL_SYSTEM}")
+ CONTROLLERIP=ODL_SYSTEM_3_IP
+ echo 'Let'\''s take the karaf thread dump again'
Let's take the karaf thread dump again
+ ssh 10.30.170.220 'sudo ps aux'
Warning: Permanently added '10.30.170.220' (ECDSA) to the list of known hosts.
++ grep org.apache.karaf.main.Main /w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/ps_after.log
++ grep -v grep
++ tr -s ' '
++ cut -f2 '-d '
+ pid=5758
+ echo 'karaf main: org.apache.karaf.main.Main, pid:5758'
karaf main: org.apache.karaf.main.Main, pid:5758
+ ssh 10.30.170.220 '/usr/lib/jvm/java-17-openjdk/bin/jstack -l 5758'
Warning: Permanently added '10.30.170.220' (ECDSA) to the list of known hosts.
+ echo 'killing karaf process...'
killing karaf process...
+ ssh 10.30.170.220 bash -c 'ps axf | grep karaf | grep -v grep | awk '\''{print "kill -9 " $1}'\'' | sh'
Warning: Permanently added '10.30.170.220' (ECDSA) to the list of known hosts.
+ sleep 5
++ seq 1 3
+ for i in $(seq 1 "${NUM_ODL_SYSTEM}")
+ CONTROLLERIP=ODL_SYSTEM_1_IP
+ echo 'Compressing karaf.log 1'
Compressing karaf.log 1
+ ssh 10.30.171.99 gzip --best /tmp/karaf-0.20.1-SNAPSHOT/data/log/karaf.log
Warning: Permanently added '10.30.171.99' (ECDSA) to the list of known hosts.
+ echo 'Fetching compressed karaf.log 1'
Fetching compressed karaf.log 1
+ scp 10.30.171.99:/tmp/karaf-0.20.1-SNAPSHOT/data/log/karaf.log.gz odl1_karaf.log.gz
Warning: Permanently added '10.30.171.99' (ECDSA) to the list of known hosts.
+ ssh 10.30.171.99 rm -f /tmp/karaf-0.20.1-SNAPSHOT/data/log/karaf.log.gz
Warning: Permanently added '10.30.171.99' (ECDSA) to the list of known hosts.
+ scp 10.30.171.99:/tmp/karaf-0.20.1-SNAPSHOT/data/log/karaf_console.log odl1_karaf_console.log
Warning: Permanently added '10.30.171.99' (ECDSA) to the list of known hosts.
+ ssh 10.30.171.99 rm -f /tmp/karaf-0.20.1-SNAPSHOT/data/log/karaf_console.log
Warning: Permanently added '10.30.171.99' (ECDSA) to the list of known hosts.
+ echo 'Fetch GC logs'
Fetch GC logs
+ mkdir -p gclogs-1
+ scp '10.30.171.99:/tmp/karaf-0.20.1-SNAPSHOT/data/log/*.log' gclogs-1/
Warning: Permanently added '10.30.171.99' (ECDSA) to the list of known hosts.
scp: /tmp/karaf-0.20.1-SNAPSHOT/data/log/*.log: No such file or directory
+ for i in $(seq 1 "${NUM_ODL_SYSTEM}")
+ CONTROLLERIP=ODL_SYSTEM_2_IP
+ echo 'Compressing karaf.log 2'
Compressing karaf.log 2
+ ssh 10.30.171.216 gzip --best /tmp/karaf-0.20.1-SNAPSHOT/data/log/karaf.log
Warning: Permanently added '10.30.171.216' (ECDSA) to the list of known hosts.
+ echo 'Fetching compressed karaf.log 2'
Fetching compressed karaf.log 2
+ scp 10.30.171.216:/tmp/karaf-0.20.1-SNAPSHOT/data/log/karaf.log.gz odl2_karaf.log.gz
Warning: Permanently added '10.30.171.216' (ECDSA) to the list of known hosts.
+ ssh 10.30.171.216 rm -f /tmp/karaf-0.20.1-SNAPSHOT/data/log/karaf.log.gz
Warning: Permanently added '10.30.171.216' (ECDSA) to the list of known hosts.
+ scp 10.30.171.216:/tmp/karaf-0.20.1-SNAPSHOT/data/log/karaf_console.log odl2_karaf_console.log
Warning: Permanently added '10.30.171.216' (ECDSA) to the list of known hosts.
+ ssh 10.30.171.216 rm -f /tmp/karaf-0.20.1-SNAPSHOT/data/log/karaf_console.log
Warning: Permanently added '10.30.171.216' (ECDSA) to the list of known hosts.
+ echo 'Fetch GC logs'
Fetch GC logs
+ mkdir -p gclogs-2
+ scp '10.30.171.216:/tmp/karaf-0.20.1-SNAPSHOT/data/log/*.log' gclogs-2/
Warning: Permanently added '10.30.171.216' (ECDSA) to the list of known hosts.
scp: /tmp/karaf-0.20.1-SNAPSHOT/data/log/*.log: No such file or directory
+ for i in $(seq 1 "${NUM_ODL_SYSTEM}")
+ CONTROLLERIP=ODL_SYSTEM_3_IP
+ echo 'Compressing karaf.log 3'
Compressing karaf.log 3
+ ssh 10.30.170.220 gzip --best /tmp/karaf-0.20.1-SNAPSHOT/data/log/karaf.log
Warning: Permanently added '10.30.170.220' (ECDSA) to the list of known hosts.
+ echo 'Fetching compressed karaf.log 3'
Fetching compressed karaf.log 3
+ scp 10.30.170.220:/tmp/karaf-0.20.1-SNAPSHOT/data/log/karaf.log.gz odl3_karaf.log.gz
Warning: Permanently added '10.30.170.220' (ECDSA) to the list of known hosts.
+ ssh 10.30.170.220 rm -f /tmp/karaf-0.20.1-SNAPSHOT/data/log/karaf.log.gz
Warning: Permanently added '10.30.170.220' (ECDSA) to the list of known hosts.
+ scp 10.30.170.220:/tmp/karaf-0.20.1-SNAPSHOT/data/log/karaf_console.log odl3_karaf_console.log
Warning: Permanently added '10.30.170.220' (ECDSA) to the list of known hosts.
+ ssh 10.30.170.220 rm -f /tmp/karaf-0.20.1-SNAPSHOT/data/log/karaf_console.log
Warning: Permanently added '10.30.170.220' (ECDSA) to the list of known hosts.
+ echo 'Fetch GC logs'
Fetch GC logs
+ mkdir -p gclogs-3
+ scp '10.30.170.220:/tmp/karaf-0.20.1-SNAPSHOT/data/log/*.log' gclogs-3/
Warning: Permanently added '10.30.170.220' (ECDSA) to the list of known hosts.
scp: /tmp/karaf-0.20.1-SNAPSHOT/data/log/*.log: No such file or directory
+ echo 'Examine copied files'
Examine copied files
+ ls -lt
total 54076
drwxrwxr-x. 2 jenkins jenkins 6 Apr 28 00:21 gclogs-3
-rw-rw-r--. 1 jenkins jenkins 1720 Apr 28 00:21 odl3_karaf_console.log
-rw-rw-r--. 1 jenkins jenkins 36630 Apr 28 00:21 odl3_karaf.log.gz
drwxrwxr-x. 2 jenkins jenkins 6 Apr 28 00:21 gclogs-2
-rw-rw-r--. 1 jenkins jenkins 1720 Apr 28 00:21 odl2_karaf_console.log
-rw-rw-r--. 1 jenkins jenkins 39837 Apr 28 00:21 odl2_karaf.log.gz
drwxrwxr-x. 2 jenkins jenkins 6 Apr 28 00:21 gclogs-1
-rw-rw-r--. 1 jenkins jenkins 1720 Apr 28 00:21 odl1_karaf_console.log
-rw-rw-r--. 1 jenkins jenkins 35919 Apr 28 00:21 odl1_karaf.log.gz
-rw-rw-r--. 1 jenkins jenkins 91919 Apr 28 00:21 karaf_3_5758_threads_after.log
-rw-rw-r--. 1 jenkins jenkins 15600 Apr 28 00:21 ps_after.log
-rw-rw-r--. 1 jenkins jenkins 103283 Apr 28 00:21 karaf_2_5747_threads_after.log
-rw-rw-r--. 1 jenkins jenkins 83085 Apr 28 00:21 karaf_1_5737_threads_after.log
-rw-rw-r--. 1 jenkins jenkins 254243 Apr 28 00:21 report.html
-rw-rw-r--. 1 jenkins jenkins 1194486 Apr 28 00:21 log.html
-rw-rw-r--. 1 jenkins jenkins 34466703 Apr 28 00:20 output.xml
-rw-rw-r--. 1 jenkins jenkins 14919886 Apr 28 00:20 cluster_rest_script.py--controller-rest-clust-cars-perf-ask-txt-Puts-During-Isolation.1714262072.964.log
-rw-rw-r--. 1 jenkins jenkins 1691539 Apr 27 23:49 cluster_rest_script.log--controller-rest-clust-cars-perf-ask-txt-010-Crud-Mdsal-Perf.1714261767.661.log
-rw-rw-r--. 1 jenkins jenkins 843147 Apr 27 23:49 cluster_rest_script_add_people.log
-rw-rw-r--. 1 jenkins jenkins 1138854 Apr 27 23:49 cluster_rest_script_add_cars.log
-rw-rw-r--. 1 jenkins jenkins 627 Apr 27 23:48 testplan.txt
-rw-rw-r--. 1 jenkins jenkins 107495 Apr 27 23:48 karaf_3_5758_threads_before.log
-rw-rw-r--. 1 jenkins jenkins 16504 Apr 27 23:48 ps_before.log
-rw-rw-r--. 1 jenkins jenkins 110710 Apr 27 23:48 karaf_2_5747_threads_before.log
-rw-rw-r--. 1 jenkins jenkins 113445 Apr 27 23:48 karaf_1_5737_threads_before.log
-rw-rw-r--. 1 jenkins jenkins 3106 Apr 27 23:48 post-startup-script.sh
-rw-rw-r--. 1 jenkins jenkins 252 Apr 27 23:47 startup-script.sh
-rw-rw-r--. 1 jenkins jenkins 3433 Apr 27 23:47 configuration-script.sh
-rw-rw-r--. 1 jenkins jenkins 695 Apr 27 23:47 custom_shard_config.txt
-rw-rw-r--. 1 jenkins jenkins 145 Apr 27 23:47 scriptplan.txt
-rw-rw-r--. 1 jenkins jenkins 333 Apr 27 23:47 detect_variables.env
-rw-rw-r--. 1 jenkins jenkins 2620 Apr 27 23:47 pom.xml
-rw-rw-r--. 1 jenkins jenkins 86 Apr 27 23:47 set_variables.env
-rw-rw-r--. 1 jenkins jenkins 357 Apr 27 23:47 slave_addresses.txt
-rw-rw-r--. 1 jenkins jenkins 570 Apr 27 23:46 requirements.txt
-rw-rw-r--. 1 jenkins jenkins 26 Apr 27 23:46 env.properties
-rw-rw-r--. 1 jenkins jenkins 335 Apr 27 23:45 stack-parameters.yaml
drwxrwxr-x. 7 jenkins jenkins 4096 Apr 27 23:43 test
drwxrwxr-x. 2 jenkins jenkins 6 Apr 27 23:43 test@tmp
-rw-rw-r--. 1 jenkins jenkins 963 Apr 19 00:02 maven-metadata.xml
+ true
[controller-csit-3node-rest-clust-cars-perf-ask-only-calcium] $ /bin/sh /tmp/jenkins9132660166675287446.sh
Cleaning up Robot installation...
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 5286 killed;
[ssh-agent] Stopped.
Recording plot data
Robot results publisher started...
INFO: Checking test criticality is deprecated and will be dropped in a future release!
-Parsing output xml:
Done!
-Copying log files to build dir:
Done!
-Assigning results to build:
Done!
-Checking thresholds:
Done!
Done publishing Robot results.
Build step 'Publish Robot Framework test results' changed build result to UNSTABLE
[PostBuildScript] - [INFO] Executing post build scripts.
[controller-csit-3node-rest-clust-cars-perf-ask-only-calcium] $ /bin/bash /tmp/jenkins10422221275147023607.sh
Archiving csit artifacts
mv: cannot stat '*_1.png': No such file or directory
mv: cannot stat '/tmp/odl1_*': No such file or directory
mv: cannot stat '*_2.png': No such file or directory
mv: cannot stat '/tmp/odl2_*': No such file or directory
mv: cannot stat '*_3.png': No such file or directory
mv: cannot stat '/tmp/odl3_*': No such file or directory
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 1658k 0 1658k 0 0 2955k 0 --:--:-- --:--:-- --:--:-- 2950k
Archive: robot-plugin.zip
inflating: ./archives/robot-plugin/log.html
inflating: ./archives/robot-plugin/output.xml
inflating: ./archives/robot-plugin/report.html
mv: cannot stat '*.log.gz': No such file or directory
mv: cannot stat '*.csv': No such file or directory
mv: cannot stat '*.png': No such file or directory
[PostBuildScript] - [INFO] Executing post build scripts.
[controller-csit-3node-rest-clust-cars-perf-ask-only-calcium] $ /bin/bash /tmp/jenkins9445751239222960201.sh
[PostBuildScript] - [INFO] Executing post build scripts.
[EnvInject] - Injecting environment variables from a build step.
[EnvInject] - Injecting as environment variables the properties content
OS_CLOUD=vex
OS_STACK_NAME=releng-controller-csit-3node-rest-clust-cars-perf-ask-only-calcium-33
[EnvInject] - Variables injected successfully.
provisioning config files...
copy managed file [clouds-yaml] to file:/home/jenkins/.config/openstack/clouds.yaml
[controller-csit-3node-rest-clust-cars-perf-ask-only-calcium] $ /bin/bash /tmp/jenkins15957965741865840782.sh
---> openstack-stack-delete.sh
Setup pyenv:
system
3.8.13
3.9.13
3.10.13
* 3.11.7 (set by /w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-a55X from file:/tmp/.os_lf_venv
lf-activate-venv(): INFO: Installing: lftools[openstack] kubernetes python-heatclient python-openstackclient
lf-activate-venv(): INFO: Adding /tmp/venv-a55X/bin to PATH
INFO: Retrieving stack cost for: releng-controller-csit-3node-rest-clust-cars-perf-ask-only-calcium-33
DEBUG: Successfully retrieved stack cost: total: 0.38999999999999996
INFO: Deleting stack releng-controller-csit-3node-rest-clust-cars-perf-ask-only-calcium-33
Successfully deleted stack releng-controller-csit-3node-rest-clust-cars-perf-ask-only-calcium-33
[PostBuildScript] - [INFO] Executing post build scripts.
[controller-csit-3node-rest-clust-cars-perf-ask-only-calcium] $ /bin/bash /tmp/jenkins13584936460732212253.sh
---> sysstat.sh
[controller-csit-3node-rest-clust-cars-perf-ask-only-calcium] $ /bin/bash /tmp/jenkins7888611013200683918.sh
---> package-listing.sh
++ facter osfamily
++ tr '[:upper:]' '[:lower:]'
+ OS_FAMILY=redhat
+ workspace=/w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium
+ 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/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium ']'
+ PACKAGES=/tmp/packages_end.txt
+ case "${OS_FAMILY}" in
+ rpm -qa
+ sort
+ '[' -f /tmp/packages_start.txt ']'
+ '[' -f /tmp/packages_end.txt ']'
+ diff /tmp/packages_start.txt /tmp/packages_end.txt
+ '[' /w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium ']'
+ mkdir -p /w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/archives/
+ cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/archives/
[controller-csit-3node-rest-clust-cars-perf-ask-only-calcium] $ /bin/bash /tmp/jenkins15286708694098330183.sh
---> capture-instance-metadata.sh
Setup pyenv:
system
3.8.13
3.9.13
3.10.13
* 3.11.7 (set by /w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-a55X from file:/tmp/.os_lf_venv
lf-activate-venv(): INFO: Installing: lftools
lf-activate-venv(): INFO: Adding /tmp/venv-a55X/bin to PATH
INFO: Running in OpenStack, capturing instance metadata
[controller-csit-3node-rest-clust-cars-perf-ask-only-calcium] $ /bin/bash /tmp/jenkins16838188381257040341.sh
provisioning config files...
Could not find credentials [logs] for controller-csit-3node-rest-clust-cars-perf-ask-only-calcium #33
copy managed file [jenkins-log-archives-settings] to file:/w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium@tmp/config6140437752462149704tmp
Regular expression run condition: Expression=[^.*logs-s3.*], Label=[odl-logs-s3-cloudfront-index]
Run condition [Regular expression match] enabling perform for step [Provide Configuration files]
provisioning config files...
copy managed file [jenkins-s3-log-ship] to file:/home/jenkins/.aws/credentials
[EnvInject] - Injecting environment variables from a build step.
[EnvInject] - Injecting as environment variables the properties content
SERVER_ID=logs
[EnvInject] - Variables injected successfully.
[controller-csit-3node-rest-clust-cars-perf-ask-only-calcium] $ /bin/bash /tmp/jenkins12666855489374474407.sh
---> create-netrc.sh
WARN: Log server credential not found.
[controller-csit-3node-rest-clust-cars-perf-ask-only-calcium] $ /bin/bash /tmp/jenkins1201781960440194331.sh
---> python-tools-install.sh
Setup pyenv:
system
3.8.13
3.9.13
3.10.13
* 3.11.7 (set by /w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-a55X from file:/tmp/.os_lf_venv
lf-activate-venv(): INFO: Installing: lftools
lf-activate-venv(): INFO: Adding /tmp/venv-a55X/bin to PATH
[controller-csit-3node-rest-clust-cars-perf-ask-only-calcium] $ /bin/bash /tmp/jenkins12854122061501831700.sh
---> sudo-logs.sh
Archiving 'sudo' log..
[controller-csit-3node-rest-clust-cars-perf-ask-only-calcium] $ /bin/bash /tmp/jenkins3733985489413525434.sh
---> job-cost.sh
Setup pyenv:
system
3.8.13
3.9.13
3.10.13
* 3.11.7 (set by /w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-a55X from file:/tmp/.os_lf_venv
lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15
lf-activate-venv(): INFO: Adding /tmp/venv-a55X/bin to PATH
DEBUG: total: 0.38999999999999996
INFO: Retrieving Stack Cost...
INFO: Retrieving Pricing Info for: v3-standard-2
INFO: Archiving Costs
[controller-csit-3node-rest-clust-cars-perf-ask-only-calcium] $ /bin/bash -l /tmp/jenkins7481700398286519701.sh
---> logs-deploy.sh
Setup pyenv:
system
3.8.13
3.9.13
3.10.13
* 3.11.7 (set by /w/workspace/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-a55X from file:/tmp/.os_lf_venv
lf-activate-venv(): INFO: Installing: lftools
lf-activate-venv(): INFO: Adding /tmp/venv-a55X/bin to PATH
WARNING: Nexus logging server not set
INFO: S3 path logs/releng/vex-yul-odl-jenkins-1/controller-csit-3node-rest-clust-cars-perf-ask-only-calcium/33/
INFO: archiving logs to S3
---> uname -a:
Linux prd-centos8-robot-2c-8g-16260.novalocal 4.18.0-547.el8.x86_64 #1 SMP Wed Mar 20 00:35:01 UTC 2024 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): 2
On-line CPU(s) list: 0,1
Thread(s) per core: 1
Core(s) per socket: 1
Socket(s): 2
NUMA node(s): 1
Vendor ID: AuthenticAMD
CPU family: 23
Model: 49
Model name: AMD EPYC-Rome Processor
Stepping: 0
CPU MHz: 2800.000
BogoMIPS: 5600.00
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,1
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 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 wbnoinvd arat npt nrip_save umip rdpid arch_capabilities
---> nproc:
2
---> df -h:
Filesystem Size Used Avail Use% Mounted on
devtmpfs 3.8G 0 3.8G 0% /dev
tmpfs 3.8G 0 3.8G 0% /dev/shm
tmpfs 3.8G 17M 3.8G 1% /run
tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup
/dev/vda1 40G 9.5G 31G 24% /
tmpfs 770M 0 770M 0% /run/user/1001
---> free -m:
total used free shared buff/cache available
Mem: 7697 578 4714 19 2404 6822
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: eth0: mtu 1458 qdisc mq state UP group default qlen 1000
link/ether fa:16:3e:83:a9:be brd ff:ff:ff:ff:ff:ff
altname enp0s3
altname ens3
inet 10.30.171.54/23 brd 10.30.171.255 scope global dynamic noprefixroute eth0
valid_lft 84025sec preferred_lft 84025sec
inet6 fe80::f816:3eff:fe83:a9be/64 scope link
valid_lft forever preferred_lft forever
---> sar -b -r -n DEV:
Linux 4.18.0-547.el8.x86_64 (prd-centos8-robot-2c-8g-16260.novalocal) 04/28/2024 _x86_64_ (2 CPU)
12:00:01 AM tps rtps wtps bread/s bwrtn/s
12:01:01 AM 0.98 0.02 0.97 0.13 223.02
12:02:01 AM 0.47 0.07 0.40 1.73 19.46
12:03:01 AM 0.23 0.00 0.23 0.00 28.60
12:04:01 AM 0.42 0.00 0.42 0.00 33.72
12:05:01 AM 0.18 0.00 0.18 0.00 15.36
12:06:01 AM 0.18 0.00 0.18 0.00 28.07
12:07:01 AM 0.23 0.00 0.23 0.00 29.50
12:08:01 AM 0.35 0.07 0.28 7.60 17.78
12:09:01 AM 25.50 16.83 8.67 717.75 6062.16
12:10:01 AM 0.98 0.00 0.98 0.00 45.80
12:11:01 AM 0.15 0.00 0.15 0.00 14.45
12:12:01 AM 0.30 0.00 0.30 0.00 30.28
12:13:01 AM 0.20 0.00 0.20 0.00 28.32
12:14:01 AM 0.35 0.00 0.35 0.00 18.83
12:15:01 AM 0.18 0.00 0.18 0.00 28.01
12:16:01 AM 0.13 0.00 0.13 0.00 28.01
12:17:01 AM 0.18 0.00 0.18 0.00 19.08
12:18:01 AM 0.15 0.00 0.15 0.00 27.36
12:19:01 AM 0.28 0.00 0.28 0.00 18.13
12:20:01 AM 0.18 0.00 0.18 0.00 31.34
12:21:01 AM 0.57 0.00 0.57 0.00 163.59
12:22:01 AM 19.59 0.23 19.36 36.25 2437.15
Average: 2.35 0.78 1.57 34.70 424.89
12:00:01 AM kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty
12:01:01 AM 4941220 7005436 2941216 37.31 2688 2233640 740440 8.29 269304 2297752 144
12:02:01 AM 4940676 7005636 2941760 37.32 2688 2234372 740440 8.29 269384 2298176 408
12:03:01 AM 4939560 7005168 2942876 37.33 2688 2235032 740440 8.29 269384 2299488 284
12:04:01 AM 4939404 7005672 2943032 37.34 2688 2235696 740440 8.29 269384 2299700 152
12:05:01 AM 4938680 7005616 2943756 37.35 2688 2236360 740440 8.29 269384 2300420 412
12:06:01 AM 4937948 7005556 2944488 37.36 2688 2237020 740440 8.29 269384 2300984 272
12:07:01 AM 4936580 7004840 2945856 37.37 2688 2237684 735692 8.24 269384 2302292 140
12:08:01 AM 4935728 7004916 2946708 37.38 2688 2238608 755880 8.46 269412 2303036 400
12:09:01 AM 4743744 7005068 3138692 39.82 2688 2430472 736404 8.25 382916 2381196 272
12:10:01 AM 4742916 7004900 3139520 39.83 2688 2431132 735320 8.23 382916 2381876 140
12:11:01 AM 4742576 7005232 3139860 39.83 2688 2431796 735320 8.23 382916 2382420 404
12:12:01 AM 4741780 7005096 3140656 39.84 2688 2432456 735320 8.23 382916 2383080 272
12:13:01 AM 4741288 7005280 3141148 39.85 2688 2433120 735320 8.23 382916 2383756 140
12:14:01 AM 4740468 7005116 3141968 39.86 2688 2433788 735320 8.23 382916 2384484 408
12:15:01 AM 4739816 7005128 3142620 39.87 2688 2434452 735320 8.23 382916 2385080 272
12:16:01 AM 4739076 7005052 3143360 39.88 2688 2435116 735320 8.23 382916 2385836 140
12:17:01 AM 4738648 7005288 3143788 39.88 2688 2435780 735320 8.23 382916 2386296 272
12:18:01 AM 4738000 7005300 3144436 39.89 2688 2436440 735320 8.23 382916 2386956 140
12:19:01 AM 4737120 7005088 3145316 39.90 2688 2437108 735320 8.23 382916 2387716 404
12:20:01 AM 4736500 7005012 3145936 39.91 2688 2437640 750788 8.41 382916 2388312 40
12:21:01 AM 4771976 7061244 3110460 39.46 2688 2458380 629900 7.05 383840 2351256 16008
12:22:01 AM 4828720 6982584 3053716 38.74 2688 2328660 716056 8.02 590940 2109480 13432
Average: 4817837 7006738 3064599 38.88 2688 2358398 732753 8.20 351127 2339981 1571
12:00:01 AM IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil
12:01:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
12:01:01 AM eth0 45.31 2.97 16.80 0.20 0.00 0.00 0.00 0.00
12:02:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
12:02:01 AM eth0 26.55 1.63 10.76 0.11 0.00 0.00 0.00 0.00
12:03:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
12:03:01 AM eth0 40.39 2.75 15.44 0.36 0.00 0.00 0.00 0.00
12:04:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
12:04:01 AM eth0 26.87 2.05 11.01 0.19 0.00 0.00 0.00 0.00
12:05:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
12:05:01 AM eth0 33.53 3.18 14.97 0.21 0.00 0.00 0.00 0.00
12:06:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
12:06:01 AM eth0 32.97 2.80 14.71 0.18 0.00 0.00 0.00 0.00
12:07:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
12:07:01 AM eth0 23.95 1.98 10.28 0.31 0.00 0.00 0.00 0.00
12:08:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
12:08:01 AM eth0 32.82 2.53 14.71 0.17 0.00 0.00 0.00 0.00
12:09:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
12:09:01 AM eth0 170.49 94.88 1386.48 6.37 0.00 0.00 0.00 0.00
12:10:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
12:10:01 AM eth0 30.36 1.53 10.86 0.10 0.00 0.00 0.00 0.00
12:11:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
12:11:01 AM eth0 41.99 2.55 15.71 0.17 0.00 0.00 0.00 0.00
12:12:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
12:12:01 AM eth0 30.38 1.97 12.05 0.13 0.00 0.00 0.00 0.00
12:13:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
12:13:01 AM eth0 35.25 3.13 15.11 0.21 0.00 0.00 0.00 0.00
12:14:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
12:14:01 AM eth0 39.49 3.00 16.03 0.25 0.00 0.00 0.00 0.00
12:15:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
12:15:01 AM eth0 21.16 2.17 10.87 0.14 0.00 0.00 0.00 0.00
12:16:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
12:16:01 AM eth0 39.44 3.28 16.08 3.19 0.00 0.00 0.00 0.00
12:17:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
12:17:01 AM eth0 44.03 2.63 16.01 0.17 0.00 0.00 0.00 0.00
12:18:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
12:18:01 AM eth0 24.06 1.95 9.82 0.13 0.00 0.00 0.00 0.00
12:19:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
12:19:01 AM eth0 31.46 2.63 14.80 0.23 0.00 0.00 0.00 0.00
12:20:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
12:20:01 AM eth0 18.81 8.28 6.11 0.79 0.00 0.00 0.00 0.00
12:21:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
12:21:01 AM eth0 29.80 18.93 249.25 2.14 0.00 0.00 0.00 0.00
12:22:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
12:22:01 AM eth0 69.31 52.98 111.09 51.18 0.00 0.00 0.00 0.00
Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
Average: eth0 40.38 9.99 90.85 3.04 0.00 0.00 0.00 0.00
---> sar -P ALL:
Linux 4.18.0-547.el8.x86_64 (prd-centos8-robot-2c-8g-16260.novalocal) 04/28/2024 _x86_64_ (2 CPU)
12:00:01 AM CPU %user %nice %system %iowait %steal %idle
12:01:01 AM all 42.11 0.03 0.38 0.07 0.08 57.33
12:01:01 AM 0 1.04 0.05 0.62 0.13 0.07 98.09
12:01:01 AM 1 83.03 0.02 0.15 0.00 0.08 16.72
12:02:01 AM all 42.02 0.00 0.24 0.00 0.08 57.67
12:02:01 AM 0 1.07 0.00 0.37 0.00 0.05 98.51
12:02:01 AM 1 82.84 0.00 0.12 0.00 0.10 16.94
12:03:01 AM all 41.94 0.00 0.31 0.00 0.08 57.67
12:03:01 AM 0 1.36 0.00 0.47 0.00 0.07 98.11
12:03:01 AM 1 82.43 0.00 0.15 0.00 0.08 17.34
12:04:01 AM all 41.90 0.00 0.31 0.00 0.07 57.72
12:04:01 AM 0 47.08 0.00 0.23 0.00 0.07 52.62
12:04:01 AM 1 36.72 0.00 0.38 0.00 0.07 62.83
12:05:01 AM all 41.95 0.00 0.27 0.00 0.08 57.70
12:05:01 AM 0 17.38 0.00 0.35 0.00 0.07 82.20
12:05:01 AM 1 66.45 0.00 0.18 0.00 0.08 33.28
12:06:01 AM all 41.98 0.00 0.28 0.00 0.08 57.67
12:06:01 AM 0 33.80 0.00 0.23 0.00 0.07 65.90
12:06:01 AM 1 50.16 0.00 0.32 0.00 0.08 49.44
12:07:01 AM all 41.99 0.00 0.26 0.00 0.08 57.66
12:07:01 AM 0 17.75 0.00 0.37 0.00 0.08 81.80
12:07:01 AM 1 66.21 0.00 0.15 0.00 0.08 33.56
12:08:01 AM all 41.88 0.00 0.38 0.03 0.10 57.61
12:08:01 AM 0 66.45 0.00 0.27 0.05 0.12 33.12
12:08:01 AM 1 17.27 0.00 0.48 0.00 0.08 82.16
12:09:01 AM all 41.58 16.80 1.11 1.35 0.08 39.07
12:09:01 AM 0 33.31 18.42 1.04 1.40 0.08 45.75
12:09:01 AM 1 49.85 15.19 1.19 1.30 0.08 32.39
12:10:01 AM all 42.01 0.00 0.26 0.01 0.08 57.64
12:10:01 AM 0 55.80 0.00 0.17 0.00 0.08 43.95
12:10:01 AM 1 28.22 0.00 0.35 0.02 0.08 71.33
12:11:01 AM all 41.98 0.00 0.33 0.02 0.08 57.60
12:11:01 AM 0 33.56 0.00 0.30 0.03 0.07 66.04
12:11:01 AM 1 50.39 0.00 0.35 0.00 0.08 49.17
12:11:01 AM CPU %user %nice %system %iowait %steal %idle
12:12:01 AM all 41.96 0.00 0.33 0.00 0.09 57.62
12:12:01 AM 0 50.32 0.00 0.30 0.00 0.10 49.28
12:12:01 AM 1 33.60 0.00 0.35 0.00 0.08 65.97
12:13:01 AM all 41.99 0.00 0.27 0.00 0.08 57.66
12:13:01 AM 0 82.73 0.00 0.13 0.00 0.08 17.05
12:13:01 AM 1 1.19 0.00 0.40 0.00 0.08 98.33
12:14:01 AM all 42.01 0.00 0.29 0.00 0.08 57.61
12:14:01 AM 0 82.67 0.00 0.15 0.00 0.10 17.08
12:14:01 AM 1 1.25 0.00 0.43 0.00 0.07 98.24
12:15:01 AM all 41.97 0.00 0.30 0.00 0.08 57.66
12:15:01 AM 0 82.69 0.00 0.12 0.00 0.08 17.11
12:15:01 AM 1 1.20 0.00 0.48 0.00 0.07 98.25
12:16:01 AM all 41.95 0.00 0.36 0.00 0.08 57.60
12:16:01 AM 0 50.71 0.00 0.37 0.00 0.08 48.84
12:16:01 AM 1 33.19 0.00 0.35 0.00 0.08 66.37
12:17:01 AM all 42.02 0.00 0.27 0.00 0.09 57.62
12:17:01 AM 0 33.78 0.00 0.28 0.00 0.10 65.84
12:17:01 AM 1 50.25 0.00 0.25 0.00 0.08 49.42
12:18:01 AM all 41.97 0.00 0.24 0.00 0.08 57.71
12:18:01 AM 0 33.79 0.00 0.28 0.00 0.08 65.84
12:18:01 AM 1 50.14 0.00 0.20 0.00 0.08 49.57
12:19:01 AM all 41.92 0.00 0.34 0.01 0.08 57.65
12:19:01 AM 0 1.45 0.00 0.55 0.02 0.07 97.91
12:19:01 AM 1 82.34 0.00 0.13 0.00 0.10 17.43
12:20:01 AM all 25.95 0.00 0.26 0.00 0.07 73.73
12:20:01 AM 0 50.15 0.00 0.17 0.00 0.07 49.62
12:20:01 AM 1 1.74 0.00 0.35 0.00 0.07 97.84
12:21:01 AM all 10.98 0.00 0.37 0.03 0.06 88.56
12:21:01 AM 0 21.30 0.00 0.48 0.00 0.07 78.15
12:21:01 AM 1 0.84 0.00 0.27 0.05 0.05 98.80
12:22:01 AM all 23.56 0.00 2.83 0.39 0.08 73.14
12:22:01 AM 0 24.60 0.00 3.29 0.23 0.08 71.79
12:22:01 AM 1 22.53 0.00 2.37 0.55 0.07 74.48
Average: CPU %user %nice %system %iowait %steal %idle
Average: all 38.99 0.77 0.45 0.09 0.08 59.62
Average: 0 37.43 0.84 0.48 0.09 0.08 61.08
Average: 1 40.55 0.69 0.43 0.09 0.08 58.16