Started by upstream project "integration-distribution-weekly-test-trigger-potassium" build number 25
originally caused by:
Started by timer
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on prd-centos8-robot-2c-8g-14226 (centos8-robot-2c-8g) in workspace /w/workspace/controller-csit-3node-drb-precedence-longevity-only-potassium
[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-TwRblfo4TF9R/agent.5344
SSH_AGENT_PID=5345
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /w/workspace/controller-csit-3node-drb-precedence-longevity-only-potassium@tmp/private_key_7593956075184307846.key (/w/workspace/controller-csit-3node-drb-precedence-longevity-only-potassium@tmp/private_key_7593956075184307846.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-drb-precedence-longevity-only-potassium/test # timeout=10
Fetching upstream changes from git://devvexx.opendaylight.org/mirror/integration/test
> git --version # timeout=10
> git --version # 'git version 2.39.3'
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-drb-precedence-longevity-only-potassium/test@tmp/jenkins-gitclient-ssh6515095343890843189.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' -> 'Configure Global 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-drb-precedence-longevity-only-potassium/test@tmp/jenkins-gitclient-ssh8406630491741890351.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' -> 'Configure Global 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 6ab2d076771165554025486bce4dc059473c79f5 (origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 6ab2d076771165554025486bce4dc059473c79f5 # timeout=10
Commit message: "Run gitlint with tox"
> git rev-parse FETCH_HEAD^{commit} # timeout=10
> git rev-list --no-walk ff1bb51a8a14f89ceefd91c6fc535a4bce78e0de # 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-drb-precedence-longevity-only-potassium] $ /bin/bash /tmp/jenkins4867997405365681460.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.6 (set by /opt/pyenv/version)
lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ZNtg
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-ZNtg/bin to PATH
Generating Requirements File
Python 3.10.6
pip 23.3.2 from /tmp/venv-ZNtg/lib/python3.10/site-packages/pip (python 3.10)
appdirs==1.4.4
argcomplete==3.2.1
aspy.yaml==1.3.0
attrs==23.2.0
autopage==0.5.2
Babel==2.14.0
beautifulsoup4==4.12.2
boto3==1.34.14
botocore==1.34.14
bs4==0.0.1
cachetools==5.3.2
certifi==2023.11.17
cffi==1.16.0
cfgv==3.4.0
chardet==5.2.0
charset-normalizer==3.3.2
click==8.1.7
cliff==4.4.0
cmd2==2.4.3
cryptography==3.3.2
debtcollector==2.5.0
decorator==5.1.1
defusedxml==0.7.1
Deprecated==1.2.14
distlib==0.3.8
dnspython==2.4.2
docker==4.2.2
dogpile.cache==1.3.0
email-validator==2.1.0.post1
filelock==3.13.1
future==0.18.3
gitdb==4.0.11
GitPython==3.1.40
google-auth==2.26.1
httplib2==0.22.0
identify==2.5.33
idna==3.6
importlib-metadata==7.0.1
importlib-resources==1.5.0
iso8601==2.1.0
Jinja2==3.1.2
jmespath==1.0.1
jsonpatch==1.33
jsonpointer==2.4
jsonschema==4.20.0
jsonschema-specifications==2023.12.1
keystoneauth1==5.4.0
kubernetes==28.1.0
lftools==0.37.8
lxml==5.0.1
MarkupSafe==2.1.3
msgpack==1.0.7
multi_key_dict==2.0.3
munch==4.0.0
netaddr==0.10.1
netifaces==0.11.0
niet==1.4.2
nodeenv==1.8.0
oauth2client==4.1.3
oauthlib==3.2.2
openstacksdk==0.62.0
os-client-config==2.1.0
os-service-types==1.7.0
osc-lib==2.9.0
oslo.config==9.2.0
oslo.context==5.3.0
oslo.i18n==6.2.0
oslo.log==5.4.0
oslo.serialization==5.2.0
oslo.utils==6.3.0
packaging==23.2
pbr==6.0.0
platformdirs==4.1.0
prettytable==3.9.0
pyasn1==0.5.1
pyasn1-modules==0.3.0
pycparser==2.21
pygerrit2==2.0.15
PyGithub==2.1.1
pyinotify==0.9.6
PyJWT==2.8.0
PyNaCl==1.5.0
pyparsing==2.4.7
pyperclip==1.8.2
pyrsistent==0.20.0
python-cinderclient==9.4.0
python-dateutil==2.8.2
python-heatclient==3.3.0
python-jenkins==1.8.2
python-keystoneclient==5.2.0
python-magnumclient==4.3.0
python-novaclient==18.4.0
python-openstackclient==6.0.0
python-swiftclient==4.4.0
pytz==2023.3.post1
PyYAML==6.0.1
referencing==0.32.1
requests==2.31.0
requests-oauthlib==1.3.1
requestsexceptions==1.4.0
rfc3986==2.0.0
rpds-py==0.16.2
rsa==4.9
ruamel.yaml==0.18.5
ruamel.yaml.clib==0.2.8
s3transfer==0.10.0
simplejson==3.19.2
six==1.16.0
smmap==5.0.1
soupsieve==2.5
stevedore==5.1.0
tabulate==0.9.0
toml==0.10.2
tomlkit==0.12.3
tqdm==4.66.1
typing_extensions==4.9.0
tzdata==2023.4
urllib3==1.26.18
virtualenv==20.25.0
wcwidth==0.2.13
websocket-client==1.7.0
wrapt==1.16.0
xdg==6.0.0
xmltodict==0.13.0
yq==3.2.3
zipp==3.17.0
[EnvInject] - Injecting environment variables from a build step.
[EnvInject] - Injecting as environment variables the properties content
OS_STACK_TEMPLATE=csit-2-instance-type.yaml
OS_CLOUD=vex
OS_STACK_NAME=releng-controller-csit-3node-drb-precedence-longevity-only-potassium-25
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-drb-precedence-longevity-only-potassium] $ /bin/bash /tmp/jenkins8746732005734132822.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 - 20230727-135233.501'
vm_1_count: '1'
vm_1_flavor: 'v3-standard-2'
vm_1_image: 'ZZCI - Ubuntu 18.04 - mininet-ovs-28 - x86_64 - 20230501-180106.320'
job_name: '17501-25'
silo: 'releng'
[controller-csit-3node-drb-precedence-longevity-only-potassium] $ /bin/bash -l /tmp/jenkins3275416848561462698.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-yidn
+ 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.6 (set by /w/workspace/controller-csit-3node-drb-precedence-longevity-only-potassium/.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=
++ awk '{ print $1 }'
++ 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]$'
++ [[ ! -s /tmp/.pyenv_versions ]]
+++ tail -n 1
+++ grep '^3' /tmp/.pyenv_versions
+++ sort -V
++ py_version_xyz=3.10.6
++ [[ -z 3.10.6 ]]
++ echo 3.10.6
++ return 0
+ pyenv local 3.10.6
+ local command
+ command=local
+ '[' 2 -gt 0 ']'
+ shift
+ case "$command" in
+ command pyenv local 3.10.6
+ pyenv local 3.10.6
+ for arg in "$@"
+ case $arg in
+ pkg_list+='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-ZNtg
+ echo 'lf-activate-venv(): INFO: Reuse venv:/tmp/venv-ZNtg from' file:/tmp/.os_lf_venv
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-ZNtg from file:/tmp/.os_lf_venv
+ /tmp/venv-ZNtg/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-ZNtg/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-ZNtg/bin to PATH'
lf-activate-venv(): INFO: Adding /tmp/venv-ZNtg/bin to PATH
+ PATH=/tmp/venv-ZNtg/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 | 794624 |
| totalCoresUsed | 194 |
| totalInstancesUsed | 61 |
| 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-drb-precedence-longevity-only-potassium
+ lftools openstack --os-cloud vex stack create releng-controller-csit-3node-drb-precedence-longevity-only-potassium-25 csit-2-instance-type.yaml /w/workspace/controller-csit-3node-drb-precedence-longevity-only-potassium/stack-parameters.yaml
Creating stack releng-controller-csit-3node-drb-precedence-longevity-only-potassium-25
Waiting to initialize infrastructure...
Stack initialization successful.
------------------------------------
Stack Details
------------------------------------
{'added': None,
'capabilities': [],
'created_at': '2024-01-07T01:36:31Z',
'deleted': None,
'deleted_at': None,
'description': 'No description',
'environment': None,
'environment_files': None,
'files': None,
'files_container': None,
'id': '435add3b-9feb-412e-97e3-595d9ebc0cb4',
'is_rollback_disabled': True,
'links': [{'href': 'https://orchestration.public.mtl1.vexxhost.net/v1/12c36e260d8e4bb2913965203b1b491f/stacks/releng-controller-csit-3node-drb-precedence-longevity-only-potassium-25/435add3b-9feb-412e-97e3-595d9ebc0cb4',
'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-drb-precedence-longevity-only-potassium-25',
'notification_topics': [],
'outputs': [{'description': 'IP addresses of the 2nd vm types',
'output_key': 'vm_1_ips',
'output_value': ['10.30.171.121']},
{'description': 'IP addresses of the 1st vm types',
'output_key': 'vm_0_ips',
'output_value': ['10.30.170.201',
'10.30.171.213',
'10.30.170.246']}],
'owner_id': ****,
'parameters': {'OS::project_id': '12c36e260d8e4bb2913965203b1b491f',
'OS::stack_id': '435add3b-9feb-412e-97e3-595d9ebc0cb4',
'OS::stack_name': 'releng-controller-csit-3node-drb-precedence-longevity-only-potassium-25',
'job_name': '17501-25',
'silo': 'releng',
'vm_0_count': '3',
'vm_0_flavor': 'v3-standard-4',
'vm_0_image': 'ZZCI - CentOS Stream 8 - builder - x86_64 - '
'20230727-135233.501',
'vm_1_count': '1',
'vm_1_flavor': 'v3-standard-2',
'vm_1_image': 'ZZCI - Ubuntu 18.04 - mininet-ovs-28 - x86_64 - '
'20230501-180106.320'},
'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': '6e00b3e97b1e421995d341d31796e08c'}
------------------------------------
+ popd
/w/workspace/controller-csit-3node-drb-precedence-longevity-only-potassium
[controller-csit-3node-drb-precedence-longevity-only-potassium] $ /bin/bash -l /tmp/jenkins13912512783286678720.sh
---> Copy SSH public keys to CSIT lab
Setup pyenv:
system
3.8.13
3.9.13
* 3.10.6 (set by /w/workspace/controller-csit-3node-drb-precedence-longevity-only-potassium/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-ZNtg 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-ZNtg/bin to PATH
SSH not responding on 10.30.171.121. Retrying in 10 seconds...
SSH not responding on 10.30.171.213. Retrying in 10 seconds...
SSH not responding on 10.30.170.246. Retrying in 10 seconds...
SSH not responding on 10.30.170.201. Retrying in 10 seconds...
Ping to 10.30.171.121 successful.
Ping to 10.30.171.213 successful.
Ping to 10.30.170.246 successful.
Ping to 10.30.170.201 successful.
SSH not responding on 10.30.170.246. Retrying in 10 seconds...
SSH not responding on 10.30.170.201. Retrying in 10 seconds...
SSH not responding on 10.30.171.213. Retrying in 10 seconds...
SSH not responding on 10.30.171.121. Retrying in 10 seconds...
Ping to 10.30.170.246 successful.
Ping to 10.30.170.201 successful.
Ping to 10.30.171.213 successful.
SSH not responding on 10.30.170.201. Retrying in 10 seconds...
Warning: Permanently added '10.30.170.246' (ECDSA) to the list of known hosts.
SSH not responding on 10.30.171.213. Retrying in 10 seconds...
10.30.170.246 releng-17501-25-0-builder-2.novalocal
Successfully copied public keys to slave 10.30.170.246
Ping to 10.30.171.121 successful.
SSH not responding on 10.30.171.121. Retrying in 10 seconds...
Ping to 10.30.170.201 successful.
Ping to 10.30.171.213 successful.
SSH not responding on 10.30.170.201. Retrying in 10 seconds...
SSH not responding on 10.30.171.213. Retrying in 10 seconds...
Ping to 10.30.171.121 successful.
Warning: Permanently added '10.30.171.121' (ECDSA) to the list of known hosts.
releng-17501-25-1-mininet-ovs-28-0
Successfully copied public keys to slave 10.30.171.121
Ping to 10.30.170.201 successful.
Ping to 10.30.171.213 successful.
SSH not responding on 10.30.170.201. Retrying in 10 seconds...
SSH not responding on 10.30.171.213. Retrying in 10 seconds...
Ping to 10.30.170.201 successful.
Ping to 10.30.171.213 successful.
SSH not responding on 10.30.170.201. Retrying in 10 seconds...
SSH not responding on 10.30.171.213. Retrying in 10 seconds...
Ping to 10.30.170.201 successful.
Ping to 10.30.171.213 successful.
Warning: Permanently added '10.30.170.201' (ECDSA) to the list of known hosts.
Warning: Permanently added '10.30.171.213' (ECDSA) to the list of known hosts.
10.30.170.201 releng-17501-25-0-builder-0.novalocal
Successfully copied public keys to slave 10.30.170.201
Process 6474 ready.
10.30.171.213 releng-17501-25-0-builder-1.novalocal
Successfully copied public keys to slave 10.30.171.213
Process 6475 ready.
Process 6476 ready.
Process 6477 ready.
SSH ready on all stack servers.
[controller-csit-3node-drb-precedence-longevity-only-potassium] $ /bin/bash -l /tmp/jenkins5212908066315932819.sh
Setup pyenv:
system
3.8.13
3.9.13
* 3.10.6 (set by /w/workspace/controller-csit-3node-drb-precedence-longevity-only-potassium/.python-version)
lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-oAwr
lf-activate-venv(): INFO: Save venv in file: /w/workspace/controller-csit-3node-drb-precedence-longevity-only-potassium/.robot_venv
lf-activate-venv(): INFO: Installing: setuptools wheel
lf-activate-venv(): INFO: Adding /tmp/venv-oAwr/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.9 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/0.10.1/netaddr-0.10.1-py2.py3-none-any.whl (2.2 MB)
Collecting netifaces (from -r requirements.txt (line 4))
Using cached netifaces-0.11.0-cp310-cp310-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 17.7 MB/s eta 0:00:00
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting requests (from -r requirements.txt (line 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/6.1.1/robotframework-6.1.1-py3-none-any.whl (699 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 699.1/699.1 kB 41.0 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 14.3 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 23.6 MB/s eta 0:00:00
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting jsonpath-rw (from -r requirements.txt (line 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.11.1/elasticsearch-8.11.1-py3-none-any.whl (412 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 412.8/412.8 kB 11.3 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.11.0/elasticsearch_dsl-8.11.0-py3-none-any.whl (63 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.1/63.1 kB 6.8 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.4.post1/pyangbind-0.8.4.post1-py3-none-any.whl (52 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 52.8/52.8 kB 7.8 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 9.8 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 27.7 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.7.0/websocket_client-1.7.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.1/pyparsing-3.1.1-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-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (142 kB)
Collecting idna<4,>=2.5 (from requests->-r requirements.txt (line 6))
Using cached https://nexus3.opendaylight.org/repository/PyPi/packages/idna/3.6/idna-3.6-py3-none-any.whl (61 kB)
Collecting urllib3<3,>=1.21.1 (from requests->-r requirements.txt (line 6))
Downloading https://nexus3.opendaylight.org/repository/PyPi/packages/urllib3/2.1.0/urllib3-2.1.0-py3-none-any.whl (104 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 104.6/104.6 kB 13.3 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/2023.11.17/certifi-2023.11.17-py3-none-any.whl (162 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.2.0/robotframework_seleniumlibrary-6.2.0-py2.py3-none-any.whl (95 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 95.5/95.5 kB 633.9 kB/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 733.3 kB/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 (from elasticsearch->-r requirements.txt (line 18))
Downloading https://nexus3.opendaylight.org/repository/PyPi/packages/elastic-transport/8.11.0/elastic_transport-8.11.0-py3-none-any.whl (59 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 59.8/59.8 kB 5.9 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.8.2/python_dateutil-2.8.2-py2.py3-none-any.whl (247 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 7.2 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.0.1/lxml-5.0.1-cp310-cp310-manylinux_2_28_x86_64.whl (8.0 MB)
Collecting regex (from pyangbind->-r requirements.txt (line 22))
Downloading https://nexus3.opendaylight.org/repository/PyPi/packages/regex/2023.12.25/regex-2023.12.25-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (773 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 774.0/774.0 kB 25.4 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 15.1 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/41.0.7/cryptography-41.0.7-cp37-abi3-manylinux_2_28_x86_64.whl (4.4 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.16.0/selenium-4.16.0-py3-none-any.whl (10.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.0/10.0 MB 55.6 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.3.0/robotframework_pythonlibcore-4.3.0-py2.py3-none-any.whl (10 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 260.6 kB/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/2.1.2/waitress-2.1.2-py3-none-any.whl (57 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.7/57.7 kB 10.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.2/beautifulsoup4-4.12.2-py3-none-any.whl (142 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-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (443 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.23.2/trio-0.23.2-py3-none-any.whl (461 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 461.6/461.6 kB 12.7 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 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.21/pycparser-2.21-py2.py3-none-any.whl (118 kB)
Collecting attrs>=20.1.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.0/sniffio-1.3.0-py3-none-any.whl (10 kB)
Collecting exceptiongroup (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/exceptiongroup/1.2.0/exceptiongroup-1.2.0-py3-none-any.whl (16 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 12.1 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=55116 sha256=27718609b45187198ad7ea04bbafe4f3597a80bc83140a2f1fa02370f7e7a07b
Stored in directory: /home/jenkins/.cache/pip/wheels/4f/7c/b3/1dfc58277260e643335754e93ea5854bc7ba3d181575a9cea9
Building wheel for ipaddr (setup.py): started
Building wheel for ipaddr (setup.py): finished with status 'done'
Created wheel for ipaddr: filename=ipaddr-2.2.0-py3-none-any.whl size=18282 sha256=8f6c44ad9fa8113e98728f6213b9095165a6f3236f96945177f8b9f88df33631
Stored in directory: /home/jenkins/.cache/pip/wheels/b5/7c/08/e4a91c0b38d5ae5fea76fbb9b60ce1b5f5f8d6e69cbe801870
Building wheel for pyhocon (setup.py): started
Building wheel for pyhocon (setup.py): finished with status 'done'
Created wheel for pyhocon: filename=pyhocon-0.3.60-py3-none-any.whl size=20864 sha256=8fc2995da4fccb0e33115a7d267b559bd45bb63bd21a9a36afb2d7e80993bdb0
Stored in directory: /home/jenkins/.cache/pip/wheels/7e/3f/4f/66e113a4b8eca7d8ff120a7fcfb53be15fc5078eb353482440
Building wheel for robotframework-httplibrary (setup.py): started
Building wheel for robotframework-httplibrary (setup.py): finished with status 'done'
Created wheel for robotframework-httplibrary: filename=robotframework_httplibrary-0.4.2-py3-none-any.whl size=9954 sha256=b020fc442170aea733705d41e2c34f95010858518d40f106306fe2c6bda874a1
Stored in directory: /home/jenkins/.cache/pip/wheels/2e/b8/87/b9b31f375281dd80f51ca94affc6e39f3e45d192e1e1f95553
Building wheel for scapy (setup.py): started
Building wheel for scapy (setup.py): finished with status 'done'
Created wheel for scapy: filename=scapy-2.5.0-py2.py3-none-any.whl size=1444328 sha256=76058521d2cec6cf62cf61e6d63dc3f4af8e7e756b7fe72da5c0679daa705219
Stored in directory: /home/jenkins/.cache/pip/wheels/8e/0a/14/42ef36f95fd1fbf75090db30f0cbb4ad4186b84b7a3d10dfcb
Building wheel for jsonpath-rw (setup.py): started
Building wheel for jsonpath-rw (setup.py): finished with status 'done'
Created wheel for jsonpath-rw: filename=jsonpath_rw-1.4.0-py3-none-any.whl size=15127 sha256=9f72e38cae2976ee1a6595f961d5969b2c1f2b6a62dc95657dff5f9de2363af5
Stored in directory: /home/jenkins/.cache/pip/wheels/22/71/20/0f098fcfc9905114ba8ed62f4b7f9b66ef9a017f99d918fc12
Successfully built robotframework-sshlibrary ipaddr pyhocon robotframework-httplibrary scapy jsonpath-rw
Installing collected packages: sortedcontainers, ply, netifaces, netaddr, ipaddr, enum34, websocket-client, WebOb, waitress, urllib3, soupsieve, sniffio, six, scapy, robotframework-pythonlibcore, robotframework, regex, pysocks, pyparsing, pycparser, lxml, jsonpointer, jmespath, idna, h11, exceptiongroup, 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.2 certifi-2023.11.17 cffi-1.16.0 charset-normalizer-3.3.2 cryptography-41.0.7 decorator-5.1.1 docker-py-1.10.6 docker-pycreds-0.4.0 elastic-transport-8.11.0 elasticsearch-8.11.1 elasticsearch-dsl-8.11.0 enum34-1.1.10 exceptiongroup-1.2.0 h11-0.14.0 idna-3.6 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.0.1 netaddr-0.10.1 netifaces-0.11.0 outcome-1.3.0.post0 paramiko-3.4.0 ply-3.11 pyang-2.6.0 pyangbind-0.8.4.post1 pycparser-2.21 pyhocon-0.3.60 pynacl-1.5.0 pyparsing-3.1.1 pysocks-1.7.1 python-dateutil-2.8.2 regex-2023.12.25 requests-2.31.0 robotframework-6.1.1 robotframework-httplibrary-0.4.2 robotframework-pythonlibcore-4.3.0 robotframework-requests-0.9.3 robotframework-selenium2library-3.0.0 robotframework-seleniumlibrary-6.2.0 robotframework-sshlibrary-3.8.0 scapy-2.5.0 scp-0.14.5 selenium-4.16.0 six-1.16.0 sniffio-1.3.0 sortedcontainers-2.4.0 soupsieve-2.5 trio-0.23.2 trio-websocket-0.11.1 urllib3-2.1.0 waitress-2.1.2 websocket-client-1.7.0 webtest-3.0.0 wsproto-1.2.0
+ pip freeze
attrs==23.2.0
bcrypt==4.1.2
beautifulsoup4==4.12.2
certifi==2023.11.17
cffi==1.16.0
charset-normalizer==3.3.2
cryptography==41.0.7
decorator==5.1.1
distlib==0.3.8
docker-py==1.10.6
docker-pycreds==0.4.0
elastic-transport==8.11.0
elasticsearch==8.11.1
elasticsearch-dsl==8.11.0
enum34==1.1.10
exceptiongroup==1.2.0
filelock==3.13.1
h11==0.14.0
idna==3.6
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.0.1
netaddr==0.10.1
netifaces==0.11.0
outcome==1.3.0.post0
paramiko==3.4.0
platformdirs==4.1.0
ply==3.11
pyang==2.6.0
pyangbind==0.8.4.post1
pycparser==2.21
pyhocon==0.3.60
PyNaCl==1.5.0
pyparsing==3.1.1
PySocks==1.7.1
python-dateutil==2.8.2
regex==2023.12.25
requests==2.31.0
robotframework==6.1.1
robotframework-httplibrary==0.4.2
robotframework-pythonlibcore==4.3.0
robotframework-requests==0.9.3
robotframework-selenium2library==3.0.0
robotframework-seleniumlibrary==6.2.0
robotframework-sshlibrary==3.8.0
scapy==2.5.0
scp==0.14.5
selenium==4.16.0
six==1.16.0
sniffio==1.3.0
sortedcontainers==2.4.0
soupsieve==2.5
trio==0.23.2
trio-websocket==0.11.1
urllib3==2.1.0
virtualenv==20.25.0
waitress==2.1.2
WebOb==1.8.7
websocket-client==1.7.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-drb-precedence-longevity-only-potassium] $ /bin/bash -l /tmp/jenkins14214622857392821381.sh
Setup pyenv:
system
3.8.13
3.9.13
* 3.10.6 (set by /w/workspace/controller-csit-3node-drb-precedence-longevity-only-potassium/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-ZNtg 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.
botocore 1.34.14 requires urllib3<2.1,>=1.25.4; python_version >= "3.10", but you have urllib3 2.1.0 which is incompatible.
kubernetes 28.1.0 requires urllib3<2.0,>=1.24.2, but you have urllib3 2.1.0 which is incompatible.
lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible.
lftools 0.37.8 requires urllib3<2.0.0, but you have urllib3 2.1.0 which is incompatible.
lf-activate-venv(): INFO: Adding /tmp/venv-ZNtg/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-drb-precedence-longevity-only-potassium-25
++ jq -r '.outputs[] | select(.output_key | match("^vm_[0-9]+_ips$")) | .output_value | .[]'
+ for i in "${ADDR[@]}"
++ ssh 10.30.171.121 hostname -s
Warning: Permanently added '10.30.171.121' (ECDSA) to the list of known hosts.
+ REMHOST=releng-17501-25-1-mininet-ovs-28-0
+ case ${REMHOST} in
+ TOOLS_SYSTEM=("${TOOLS_SYSTEM[@]}" "${i}")
+ for i in "${ADDR[@]}"
++ ssh 10.30.170.201 hostname -s
Warning: Permanently added '10.30.170.201' (ECDSA) to the list of known hosts.
+ REMHOST=releng-17501-25-0-builder-0
+ case ${REMHOST} in
+ ODL_SYSTEM=("${ODL_SYSTEM[@]}" "${i}")
+ for i in "${ADDR[@]}"
++ ssh 10.30.171.213 hostname -s
Warning: Permanently added '10.30.171.213' (ECDSA) to the list of known hosts.
+ REMHOST=releng-17501-25-0-builder-1
+ case ${REMHOST} in
+ ODL_SYSTEM=("${ODL_SYSTEM[@]}" "${i}")
+ for i in "${ADDR[@]}"
++ ssh 10.30.170.246 hostname -s
Warning: Permanently added '10.30.170.246' (ECDSA) to the list of known hosts.
+ REMHOST=releng-17501-25-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.170.201
++ seq 0 2
+ for i in $(seq 0 $(( ${#ODL_SYSTEM[@]} - 1 )))
+ echo ODL_SYSTEM_1_IP=10.30.170.201
+ for i in $(seq 0 $(( ${#ODL_SYSTEM[@]} - 1 )))
+ echo ODL_SYSTEM_2_IP=10.30.171.213
+ for i in $(seq 0 $(( ${#ODL_SYSTEM[@]} - 1 )))
+ echo ODL_SYSTEM_3_IP=10.30.170.246
+ echo TOOLS_SYSTEM_IP=10.30.171.121
++ seq 0 0
+ for i in $(seq 0 $(( ${#TOOLS_SYSTEM[@]} - 1 )))
+ echo TOOLS_SYSTEM_1_IP=10.30.171.121
+ 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.170.201
ODL_SYSTEM_1_IP=10.30.170.201
ODL_SYSTEM_2_IP=10.30.171.213
ODL_SYSTEM_3_IP=10.30.170.246
TOOLS_SYSTEM_IP=10.30.171.121
TOOLS_SYSTEM_1_IP=10.30.171.121
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-drb-precedence-longevity-only-potassium] $ /bin/sh /tmp/jenkins9180157111768388127.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-drb-precedence-longevity-only-potassium] $ /bin/bash /tmp/jenkins17794089221837570451.sh
--2024-01-07 01:39:03-- http://git.opendaylight.org/gerrit/gitweb?p=integration/distribution.git;a=blob_plain;f=pom.xml;hb=refs/heads/stable/potassium
Resolving git.opendaylight.org (git.opendaylight.org)... 52.35.122.251, 2600:1f14:421:f500:133a:a004:b30b:69e1
Connecting to git.opendaylight.org (git.opendaylight.org)|52.35.122.251|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://git.opendaylight.org/gerrit/gitweb?p=integration/distribution.git;a=blob_plain;f=pom.xml;hb=refs/heads/stable/potassium [following]
--2024-01-07 01:39:03-- https://git.opendaylight.org/gerrit/gitweb?p=integration/distribution.git;a=blob_plain;f=pom.xml;hb=refs/heads/stable/potassium
Connecting to git.opendaylight.org (git.opendaylight.org)|52.35.122.251|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2619 (2.6K) [text/plain]
Saving to: ‘pom.xml’
0K .. 100% 37.2M=0s
2024-01-07 01:39:04 (37.2 MB/s) - ‘pom.xml’ saved [2619/2619]
Bundle version is 0.19.2-SNAPSHOT
--2024-01-07 01:39:04-- https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/karaf/0.19.2-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: 1410 (1.4K) [application/xml]
Saving to: ‘maven-metadata.xml’
0K . 100% 41.6M=0s
2024-01-07 01:39:04 (41.6 MB/s) - ‘maven-metadata.xml’ saved [1410/1410]
org.opendaylight.integration
karaf
0.19.2-SNAPSHOT
20240106.185229
158
20240106185229
pom
0.19.2-20240106.185229-158
20240106185229
tar.gz
0.19.2-20240106.185229-158
20240106185229
zip
0.19.2-20240106.185229-158
20240106185229
cyclonedx
xml
0.19.2-20240106.185229-158
20240106185229
cyclonedx
json
0.19.2-20240106.185229-158
20240106185229
Nexus timestamp is 0.19.2-20240106.185229-158
Distribution bundle URL is https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/karaf/0.19.2-SNAPSHOT/karaf-0.19.2-20240106.185229-158.zip
Distribution bundle is karaf-0.19.2-20240106.185229-158.zip
Distribution bundle version is 0.19.2-SNAPSHOT
Distribution folder is karaf-0.19.2-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-drb-precedence-longevity-only-potassium] $ /bin/bash -l /tmp/jenkins5621041125314022089.sh
Setup pyenv:
system
3.8.13
3.9.13
* 3.10.6 (set by /w/workspace/controller-csit-3node-drb-precedence-longevity-only-potassium/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-ZNtg from file:/tmp/.os_lf_venv
lf-activate-venv(): INFO: Installing: python-heatclient python-openstackclient
lf-activate-venv(): INFO: Adding /tmp/venv-ZNtg/bin to PATH
Copying common-functions.sh to /tmp
Copying common-functions.sh to 10.30.171.121:/tmp
Warning: Permanently added '10.30.171.121' (ECDSA) to the list of known hosts.
Copying common-functions.sh to 10.30.170.201:/tmp
Warning: Permanently added '10.30.170.201' (ECDSA) to the list of known hosts.
Copying common-functions.sh to 10.30.171.213:/tmp
Warning: Permanently added '10.30.171.213' (ECDSA) to the list of known hosts.
Copying common-functions.sh to 10.30.170.246:/tmp
Warning: Permanently added '10.30.170.246' (ECDSA) to the list of known hosts.
[controller-csit-3node-drb-precedence-longevity-only-potassium] $ /bin/bash /tmp/jenkins12871304029976028215.sh
common-functions.sh is being sourced
common-functions environment:
MAVENCONF: /tmp/karaf-0.19.2-SNAPSHOT/etc/org.ops4j.pax.url.mvn.cfg
ACTUALFEATURES:
FEATURESCONF: /tmp/karaf-0.19.2-SNAPSHOT/etc/org.apache.karaf.features.cfg
CUSTOMPROP: /tmp/karaf-0.19.2-SNAPSHOT/etc/custom.properties
LOGCONF: /tmp/karaf-0.19.2-SNAPSHOT/etc/org.ops4j.pax.logging.cfg
MEMCONF: /tmp/karaf-0.19.2-SNAPSHOT/bin/setenv
CONTROLLERMEM: 2048m
AKKACONF: /tmp/karaf-0.19.2-SNAPSHOT/configuration/initial/akka.conf
MODULESCONF: /tmp/karaf-0.19.2-SNAPSHOT/configuration/initial/modules.conf
MODULESHARDSCONF: /tmp/karaf-0.19.2-SNAPSHOT/configuration/initial/module-shards.conf
SUITES:
#################################################
## Configure Cluster and Start ##
#################################################
ACTUALFEATURES: odl-infrautils-ready,odl-jolokia,odl-restconf-noauth,odl-clustering-test-app
SPACE_SEPARATED_FEATURES: odl-infrautils-ready odl-jolokia odl-restconf-noauth odl-clustering-test-app
Locating script plan to use...
Finished running script plans
Configuring member-1 with IP address 10.30.170.201
Warning: Permanently added '10.30.170.201' (ECDSA) to the list of known hosts.
Warning: Permanently added '10.30.170.201' (ECDSA) to the list of known hosts.
+ source /tmp/common-functions.sh karaf-0.19.2-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.19.2-SNAPSHOT
++ export MAVENCONF=/tmp/karaf-0.19.2-SNAPSHOT/etc/org.ops4j.pax.url.mvn.cfg
++ MAVENCONF=/tmp/karaf-0.19.2-SNAPSHOT/etc/org.ops4j.pax.url.mvn.cfg
++ export FEATURESCONF=/tmp/karaf-0.19.2-SNAPSHOT/etc/org.apache.karaf.features.cfg
++ FEATURESCONF=/tmp/karaf-0.19.2-SNAPSHOT/etc/org.apache.karaf.features.cfg
++ export CUSTOMPROP=/tmp/karaf-0.19.2-SNAPSHOT/etc/custom.properties
++ CUSTOMPROP=/tmp/karaf-0.19.2-SNAPSHOT/etc/custom.properties
++ export LOGCONF=/tmp/karaf-0.19.2-SNAPSHOT/etc/org.ops4j.pax.logging.cfg
++ LOGCONF=/tmp/karaf-0.19.2-SNAPSHOT/etc/org.ops4j.pax.logging.cfg
++ export MEMCONF=/tmp/karaf-0.19.2-SNAPSHOT/bin/setenv
++ MEMCONF=/tmp/karaf-0.19.2-SNAPSHOT/bin/setenv
++ export CONTROLLERMEM=
++ CONTROLLERMEM=
++ export AKKACONF=/tmp/karaf-0.19.2-SNAPSHOT/configuration/initial/akka.conf
++ AKKACONF=/tmp/karaf-0.19.2-SNAPSHOT/configuration/initial/akka.conf
++ export MODULESCONF=/tmp/karaf-0.19.2-SNAPSHOT/configuration/initial/modules.conf
++ MODULESCONF=/tmp/karaf-0.19.2-SNAPSHOT/configuration/initial/modules.conf
++ export MODULESHARDSCONF=/tmp/karaf-0.19.2-SNAPSHOT/configuration/initial/module-shards.conf
++ MODULESHARDSCONF=/tmp/karaf-0.19.2-SNAPSHOT/configuration/initial/module-shards.conf
++ print_common_env
++ cat
common-functions.sh is being sourced
common-functions environment:
MAVENCONF: /tmp/karaf-0.19.2-SNAPSHOT/etc/org.ops4j.pax.url.mvn.cfg
ACTUALFEATURES:
FEATURESCONF: /tmp/karaf-0.19.2-SNAPSHOT/etc/org.apache.karaf.features.cfg
CUSTOMPROP: /tmp/karaf-0.19.2-SNAPSHOT/etc/custom.properties
LOGCONF: /tmp/karaf-0.19.2-SNAPSHOT/etc/org.ops4j.pax.logging.cfg
MEMCONF: /tmp/karaf-0.19.2-SNAPSHOT/bin/setenv
CONTROLLERMEM:
AKKACONF: /tmp/karaf-0.19.2-SNAPSHOT/configuration/initial/akka.conf
MODULESCONF: /tmp/karaf-0.19.2-SNAPSHOT/configuration/initial/modules.conf
MODULESHARDSCONF: /tmp/karaf-0.19.2-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.19.2-SNAPSHOT/karaf-0.19.2-20240106.185229-158.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.19.2-SNAPSHOT/karaf-0.19.2-20240106.185229-158.zip'
+ wget --progress=dot:mega https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/karaf/0.19.2-SNAPSHOT/karaf-0.19.2-20240106.185229-158.zip
--2024-01-07 01:39:17-- https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/karaf/0.19.2-SNAPSHOT/karaf-0.19.2-20240106.185229-158.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: 264528232 (252M) [application/zip]
Saving to: ‘karaf-0.19.2-20240106.185229-158.zip’
0K ........ ........ ........ ........ ........ ........ 1% 31.5M 8s
3072K ........ ........ ........ ........ ........ ........ 2% 49.1M 6s
6144K ........ ........ ........ ........ ........ ........ 3% 48.1M 6s
9216K ........ ........ ........ ........ ........ ........ 4% 57.7M 5s
12288K ........ ........ ........ ........ ........ ........ 5% 67.1M 5s
15360K ........ ........ ........ ........ ........ ........ 7% 71.4M 5s
18432K ........ ........ ........ ........ ........ ........ 8% 71.3M 4s
21504K ........ ........ ........ ........ ........ ........ 9% 75.1M 4s
24576K ........ ........ ........ ........ ........ ........ 10% 103M 4s
27648K ........ ........ ........ ........ ........ ........ 11% 196M 4s
30720K ........ ........ ........ ........ ........ ........ 13% 199M 3s
33792K ........ ........ ........ ........ ........ ........ 14% 185M 3s
36864K ........ ........ ........ ........ ........ ........ 15% 236M 3s
39936K ........ ........ ........ ........ ........ ........ 16% 246M 3s
43008K ........ ........ ........ ........ ........ ........ 17% 173M 3s
46080K ........ ........ ........ ........ ........ ........ 19% 118M 2s
49152K ........ ........ ........ ........ ........ ........ 20% 174M 2s
52224K ........ ........ ........ ........ ........ ........ 21% 181M 2s
55296K ........ ........ ........ ........ ........ ........ 22% 152M 2s
58368K ........ ........ ........ ........ ........ ........ 23% 190M 2s
61440K ........ ........ ........ ........ ........ ........ 24% 168M 2s
64512K ........ ........ ........ ........ ........ ........ 26% 197M 2s
67584K ........ ........ ........ ........ ........ ........ 27% 211M 2s
70656K ........ ........ ........ ........ ........ ........ 28% 206M 2s
73728K ........ ........ ........ ........ ........ ........ 29% 214M 2s
76800K ........ ........ ........ ........ ........ ........ 30% 222M 2s
79872K ........ ........ ........ ........ ........ ........ 32% 210M 2s
82944K ........ ........ ........ ........ ........ ........ 33% 240M 2s
86016K ........ ........ ........ ........ ........ ........ 34% 250M 1s
89088K ........ ........ ........ ........ ........ ........ 35% 234M 1s
92160K ........ ........ ........ ........ ........ ........ 36% 245M 1s
95232K ........ ........ ........ ........ ........ ........ 38% 251M 1s
98304K ........ ........ ........ ........ ........ ........ 39% 249M 1s
101376K ........ ........ ........ ........ ........ ........ 40% 247M 1s
104448K ........ ........ ........ ........ ........ ........ 41% 238M 1s
107520K ........ ........ ........ ........ ........ ........ 42% 237M 1s
110592K ........ ........ ........ ........ ........ ........ 43% 237M 1s
113664K ........ ........ ........ ........ ........ ........ 45% 248M 1s
116736K ........ ........ ........ ........ ........ ........ 46% 236M 1s
119808K ........ ........ ........ ........ ........ ........ 47% 228M 1s
122880K ........ ........ ........ ........ ........ ........ 48% 246M 1s
125952K ........ ........ ........ ........ ........ ........ 49% 238M 1s
129024K ........ ........ ........ ........ ........ ........ 51% 230M 1s
132096K ........ ........ ........ ........ ........ ........ 52% 253M 1s
135168K ........ ........ ........ ........ ........ ........ 53% 240M 1s
138240K ........ ........ ........ ........ ........ ........ 54% 242M 1s
141312K ........ ........ ........ ........ ........ ........ 55% 230M 1s
144384K ........ ........ ........ ........ ........ ........ 57% 235M 1s
147456K ........ ........ ........ ........ ........ ........ 58% 235M 1s
150528K ........ ........ ........ ........ ........ ........ 59% 239M 1s
153600K ........ ........ ........ ........ ........ ........ 60% 202M 1s
156672K ........ ........ ........ ........ ........ ........ 61% 227M 1s
159744K ........ ........ ........ ........ ........ ........ 63% 233M 1s
162816K ........ ........ ........ ........ ........ ........ 64% 241M 1s
165888K ........ ........ ........ ........ ........ ........ 65% 258M 1s
168960K ........ ........ ........ ........ ........ ........ 66% 227M 1s
172032K ........ ........ ........ ........ ........ ........ 67% 246M 1s
175104K ........ ........ ........ ........ ........ ........ 68% 222M 1s
178176K ........ ........ ........ ........ ........ ........ 70% 239M 0s
181248K ........ ........ ........ ........ ........ ........ 71% 240M 0s
184320K ........ ........ ........ ........ ........ ........ 72% 239M 0s
187392K ........ ........ ........ ........ ........ ........ 73% 242M 0s
190464K ........ ........ ........ ........ ........ ........ 74% 252M 0s
193536K ........ ........ ........ ........ ........ ........ 76% 236M 0s
196608K ........ ........ ........ ........ ........ ........ 77% 245M 0s
199680K ........ ........ ........ ........ ........ ........ 78% 248M 0s
202752K ........ ........ ........ ........ ........ ........ 79% 240M 0s
205824K ........ ........ ........ ........ ........ ........ 80% 252M 0s
208896K ........ ........ ........ ........ ........ ........ 82% 231M 0s
211968K ........ ........ ........ ........ ........ ........ 83% 252M 0s
215040K ........ ........ ........ ........ ........ ........ 84% 240M 0s
218112K ........ ........ ........ ........ ........ ........ 85% 250M 0s
221184K ........ ........ ........ ........ ........ ........ 86% 245M 0s
224256K ........ ........ ........ ........ ........ ........ 87% 252M 0s
227328K ........ ........ ........ ........ ........ ........ 89% 248M 0s
230400K ........ ........ ........ ........ ........ ........ 90% 254M 0s
233472K ........ ........ ........ ........ ........ ........ 91% 252M 0s
236544K ........ ........ ........ ........ ........ ........ 92% 246M 0s
239616K ........ ........ ........ ........ ........ ........ 93% 241M 0s
242688K ........ ........ ........ ........ ........ ........ 95% 246M 0s
245760K ........ ........ ........ ........ ........ ........ 96% 247M 0s
248832K ........ ........ ........ ........ ........ ........ 97% 243M 0s
251904K ........ ........ ........ ........ ........ ........ 98% 249M 0s
254976K ........ ........ ........ ........ ........ ........ 99% 264M 0s
258048K .... 100% 358M=1.5s
2024-01-07 01:39:19 (172 MB/s) - ‘karaf-0.19.2-20240106.185229-158.zip’ saved [264528232/264528232]
Extracting the new controller...
+ echo 'Extracting the new controller...'
+ unzip -q karaf-0.19.2-20240106.185229-158.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.19.2-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...
+ cat /tmp/karaf-0.19.2-SNAPSHOT/etc/org.ops4j.pax.url.mvn.cfg
+ [[ True == \T\r\u\e ]]
+ echo 'Configuring the startup features...'
+ sed -ie 's/\(featuresBoot=\|featuresBoot =\)/featuresBoot = odl-infrautils-ready,odl-jolokia,odl-restconf-noauth,odl-clustering-test-app,/g' /tmp/karaf-0.19.2-SNAPSHOT/etc/org.apache.karaf.features.cfg
+ FEATURE_TEST_STRING=features-test
+ FEATURE_TEST_VERSION=0.19.2-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.19.2-SNAPSHOT/xml/features,mvn:org.apache.karaf.decanter/apache-karaf-decanter/1.2.0/xml/features,%g' /tmp/karaf-0.19.2-SNAPSHOT/etc/org.apache.karaf.features.cfg
+ [[ ! -z '' ]]
+ cat /tmp/karaf-0.19.2-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.19.2-SNAPSHOT/xml/features,mvn:org.apache.karaf.decanter/apache-karaf-decanter/1.2.0/xml/features, file:${karaf.etc}/5d4c77c4-7716-4e06-9ff1-dfbe0bcd355b.xml
#
# Comma separated list of features to install at startup
#
featuresBoot = odl-infrautils-ready,odl-jolokia,odl-restconf-noauth,odl-clustering-test-app, 9d42272a-242c-413c-9190-b801c97e67a8
#
# 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.19.2-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.19.2-SNAPSHOT/etc/org.ops4j.pax.logging.cfg
controllerdebugmap:
cat /tmp/karaf-0.19.2-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.19.2-SNAPSHOT/etc/org.ops4j.pax.logging.cfg'
+ cat /tmp/karaf-0.19.2-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.19.2-SNAPSHOT/bin/setenv
Configure
java home: /usr/lib/jvm/java-17-openjdk
max memory: 2048m
memconf: /tmp/karaf-0.19.2-SNAPSHOT/bin/setenv
+ local -r java_home=/usr/lib/jvm/java-17-openjdk
+ local -r controllermem=2048m
+ local -r memconf=/tmp/karaf-0.19.2-SNAPSHOT/bin/setenv
+ echo Configure
+ echo ' java home: /usr/lib/jvm/java-17-openjdk'
+ echo ' max memory: 2048m'
+ echo ' memconf: /tmp/karaf-0.19.2-SNAPSHOT/bin/setenv'
+ sed -ie 's%^# export JAVA_HOME%export JAVA_HOME=${JAVA_HOME:-/usr/lib/jvm/java-17-openjdk}%g' /tmp/karaf-0.19.2-SNAPSHOT/bin/setenv
+ sed -ie 's/JAVA_MAX_MEM="2048m"/JAVA_MAX_MEM=2048m/g' /tmp/karaf-0.19.2-SNAPSHOT/bin/setenv
cat /tmp/karaf-0.19.2-SNAPSHOT/bin/setenv
+ echo 'cat /tmp/karaf-0.19.2-SNAPSHOT/bin/setenv'
+ cat /tmp/karaf-0.19.2-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 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...
+ 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'
+ 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 0 10.30.170.201:59868 199.204.45.87:443 TIME_WAIT -
tcp 0 0 10.30.170.201:22 10.30.170.27:55272 ESTABLISHED -
tcp6 0 0 :::111 :::* LISTEN -
tcp6 0 0 :::5555 :::* LISTEN -
tcp6 0 0 :::22 :::* LISTEN -
udp 0 0 10.30.170.201:68 10.30.170.4: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 :::* -
+ '[' -f /tmp/custom_shard_config.txt ']'
Configuring cluster
+ echo 'Configuring cluster'
+ /tmp/karaf-0.19.2-SNAPSHOT/bin/configure_cluster.sh 1 10.30.170.201 10.30.171.213 10.30.170.246
################################################
## Configure Cluster ##
################################################
NOTE: Cluster configuration files not found. Copying from
/tmp/karaf-0.19.2-SNAPSHOT/system/org/opendaylight/controller/sal-clustering-config/8.0.3
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"
}
]
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.19.2-SNAPSHOT/configuration/initial/akka.conf
odl-cluster-data {
akka {
remote {
artery {
enabled = on
transport = tcp
canonical.hostname = "10.30.170.201"
canonical.port = 2550
}
}
cluster {
# Using artery.
seed-nodes = ["akka://opendaylight-cluster-data@10.30.170.201:2550",
"akka://opendaylight-cluster-data@10.30.171.213:2550",
"akka://opendaylight-cluster-data@10.30.170.246: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.19.2-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"
}
]
Dump module-shards.conf
+ echo 'Dump module-shards.conf'
+ cat /tmp/karaf-0.19.2-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"]
}
]
}
]
Configuring member-2 with IP address 10.30.171.213
Warning: Permanently added '10.30.171.213' (ECDSA) to the list of known hosts.
Warning: Permanently added '10.30.171.213' (ECDSA) to the list of known hosts.
+ source /tmp/common-functions.sh karaf-0.19.2-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.19.2-SNAPSHOT
++ export MAVENCONF=/tmp/karaf-0.19.2-SNAPSHOT/etc/org.ops4j.pax.url.mvn.cfg
++ MAVENCONF=/tmp/karaf-0.19.2-SNAPSHOT/etc/org.ops4j.pax.url.mvn.cfg
++ export FEATURESCONF=/tmp/karaf-0.19.2-SNAPSHOT/etc/org.apache.karaf.features.cfg
++ FEATURESCONF=/tmp/karaf-0.19.2-SNAPSHOT/etc/org.apache.karaf.features.cfg
++ export CUSTOMPROP=/tmp/karaf-0.19.2-SNAPSHOT/etc/custom.properties
++ CUSTOMPROP=/tmp/karaf-0.19.2-SNAPSHOT/etc/custom.properties
++ export LOGCONF=/tmp/karaf-0.19.2-SNAPSHOT/etc/org.ops4j.pax.logging.cfg
++ LOGCONF=/tmp/karaf-0.19.2-SNAPSHOT/etc/org.ops4j.pax.logging.cfg
++ export MEMCONF=/tmp/karaf-0.19.2-SNAPSHOT/bin/setenv
++ MEMCONF=/tmp/karaf-0.19.2-SNAPSHOT/bin/setenv
++ export CONTROLLERMEM=
++ CONTROLLERMEM=
++ export AKKACONF=/tmp/karaf-0.19.2-SNAPSHOT/configuration/initial/akka.conf
++ AKKACONF=/tmp/karaf-0.19.2-SNAPSHOT/configuration/initial/akka.conf
++ export MODULESCONF=/tmp/karaf-0.19.2-SNAPSHOT/configuration/initial/modules.conf
++ MODULESCONF=/tmp/karaf-0.19.2-SNAPSHOT/configuration/initial/modules.conf
++ export MODULESHARDSCONF=/tmp/karaf-0.19.2-SNAPSHOT/configuration/initial/module-shards.conf
++ MODULESHARDSCONF=/tmp/karaf-0.19.2-SNAPSHOT/configuration/initial/module-shards.conf
++ print_common_env
++ cat
common-functions environment:
MAVENCONF: /tmp/karaf-0.19.2-SNAPSHOT/etc/org.ops4j.pax.url.mvn.cfg
ACTUALFEATURES:
FEATURESCONF: /tmp/karaf-0.19.2-SNAPSHOT/etc/org.apache.karaf.features.cfg
CUSTOMPROP: /tmp/karaf-0.19.2-SNAPSHOT/etc/custom.properties
LOGCONF: /tmp/karaf-0.19.2-SNAPSHOT/etc/org.ops4j.pax.logging.cfg
MEMCONF: /tmp/karaf-0.19.2-SNAPSHOT/bin/setenv
CONTROLLERMEM:
AKKACONF: /tmp/karaf-0.19.2-SNAPSHOT/configuration/initial/akka.conf
MODULESCONF: /tmp/karaf-0.19.2-SNAPSHOT/configuration/initial/modules.conf
MODULESHARDSCONF: /tmp/karaf-0.19.2-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.19.2-SNAPSHOT/karaf-0.19.2-20240106.185229-158.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.19.2-SNAPSHOT/karaf-0.19.2-20240106.185229-158.zip'
+ wget --progress=dot:mega https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/karaf/0.19.2-SNAPSHOT/karaf-0.19.2-20240106.185229-158.zip
--2024-01-07 01:39:22-- https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/karaf/0.19.2-SNAPSHOT/karaf-0.19.2-20240106.185229-158.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: 264528232 (252M) [application/zip]
Saving to: ‘karaf-0.19.2-20240106.185229-158.zip’
0K ........ ........ ........ ........ ........ ........ 1% 64.0M 4s
3072K ........ ........ ........ ........ ........ ........ 2% 68.3M 4s
6144K ........ ........ ........ ........ ........ ........ 3% 131M 3s
9216K ........ ........ ........ ........ ........ ........ 4% 132M 3s
12288K ........ ........ ........ ........ ........ ........ 5% 167M 2s
15360K ........ ........ ........ ........ ........ ........ 7% 148M 2s
18432K ........ ........ ........ ........ ........ ........ 8% 171M 2s
21504K ........ ........ ........ ........ ........ ........ 9% 199M 2s
24576K ........ ........ ........ ........ ........ ........ 10% 211M 2s
27648K ........ ........ ........ ........ ........ ........ 11% 251M 2s
30720K ........ ........ ........ ........ ........ ........ 13% 248M 2s
33792K ........ ........ ........ ........ ........ ........ 14% 248M 2s
36864K ........ ........ ........ ........ ........ ........ 15% 278M 1s
39936K ........ ........ ........ ........ ........ ........ 16% 317M 1s
43008K ........ ........ ........ ........ ........ ........ 17% 99.1M 1s
46080K ........ ........ ........ ........ ........ ........ 19% 248M 1s
49152K ........ ........ ........ ........ ........ ........ 20% 241M 1s
52224K ........ ........ ........ ........ ........ ........ 21% 228M 1s
55296K ........ ........ ........ ........ ........ ........ 22% 226M 1s
58368K ........ ........ ........ ........ ........ ........ 23% 209M 1s
61440K ........ ........ ........ ........ ........ ........ 24% 220M 1s
64512K ........ ........ ........ ........ ........ ........ 26% 233M 1s
67584K ........ ........ ........ ........ ........ ........ 27% 237M 1s
70656K ........ ........ ........ ........ ........ ........ 28% 238M 1s
73728K ........ ........ ........ ........ ........ ........ 29% 228M 1s
76800K ........ ........ ........ ........ ........ ........ 30% 250M 1s
79872K ........ ........ ........ ........ ........ ........ 32% 245M 1s
82944K ........ ........ ........ ........ ........ ........ 33% 228M 1s
86016K ........ ........ ........ ........ ........ ........ 34% 183M 1s
89088K ........ ........ ........ ........ ........ ........ 35% 222M 1s
92160K ........ ........ ........ ........ ........ ........ 36% 226M 1s
95232K ........ ........ ........ ........ ........ ........ 38% 215M 1s
98304K ........ ........ ........ ........ ........ ........ 39% 214M 1s
101376K ........ ........ ........ ........ ........ ........ 40% 221M 1s
104448K ........ ........ ........ ........ ........ ........ 41% 220M 1s
107520K ........ ........ ........ ........ ........ ........ 42% 224M 1s
110592K ........ ........ ........ ........ ........ ........ 43% 209M 1s
113664K ........ ........ ........ ........ ........ ........ 45% 215M 1s
116736K ........ ........ ........ ........ ........ ........ 46% 218M 1s
119808K ........ ........ ........ ........ ........ ........ 47% 216M 1s
122880K ........ ........ ........ ........ ........ ........ 48% 222M 1s
125952K ........ ........ ........ ........ ........ ........ 49% 215M 1s
129024K ........ ........ ........ ........ ........ ........ 51% 217M 1s
132096K ........ ........ ........ ........ ........ ........ 52% 222M 1s
135168K ........ ........ ........ ........ ........ ........ 53% 207M 1s
138240K ........ ........ ........ ........ ........ ........ 54% 203M 1s
141312K ........ ........ ........ ........ ........ ........ 55% 202M 1s
144384K ........ ........ ........ ........ ........ ........ 57% 222M 1s
147456K ........ ........ ........ ........ ........ ........ 58% 223M 1s
150528K ........ ........ ........ ........ ........ ........ 59% 216M 1s
153600K ........ ........ ........ ........ ........ ........ 60% 221M 1s
156672K ........ ........ ........ ........ ........ ........ 61% 215M 1s
159744K ........ ........ ........ ........ ........ ........ 63% 218M 0s
162816K ........ ........ ........ ........ ........ ........ 64% 201M 0s
165888K ........ ........ ........ ........ ........ ........ 65% 214M 0s
168960K ........ ........ ........ ........ ........ ........ 66% 212M 0s
172032K ........ ........ ........ ........ ........ ........ 67% 218M 0s
175104K ........ ........ ........ ........ ........ ........ 68% 224M 0s
178176K ........ ........ ........ ........ ........ ........ 70% 220M 0s
181248K ........ ........ ........ ........ ........ ........ 71% 224M 0s
184320K ........ ........ ........ ........ ........ ........ 72% 225M 0s
187392K ........ ........ ........ ........ ........ ........ 73% 223M 0s
190464K ........ ........ ........ ........ ........ ........ 74% 216M 0s
193536K ........ ........ ........ ........ ........ ........ 76% 199M 0s
196608K ........ ........ ........ ........ ........ ........ 77% 209M 0s
199680K ........ ........ ........ ........ ........ ........ 78% 209M 0s
202752K ........ ........ ........ ........ ........ ........ 79% 199M 0s
205824K ........ ........ ........ ........ ........ ........ 80% 209M 0s
208896K ........ ........ ........ ........ ........ ........ 82% 207M 0s
211968K ........ ........ ........ ........ ........ ........ 83% 213M 0s
215040K ........ ........ ........ ........ ........ ........ 84% 219M 0s
218112K ........ ........ ........ ........ ........ ........ 85% 202M 0s
221184K ........ ........ ........ ........ ........ ........ 86% 208M 0s
224256K ........ ........ ........ ........ ........ ........ 87% 209M 0s
227328K ........ ........ ........ ........ ........ ........ 89% 221M 0s
230400K ........ ........ ........ ........ ........ ........ 90% 216M 0s
233472K ........ ........ ........ ........ ........ ........ 91% 225M 0s
236544K ........ ........ ........ ........ ........ ........ 92% 221M 0s
239616K ........ ........ ........ ........ ........ ........ 93% 224M 0s
242688K ........ ........ ........ ........ ........ ........ 95% 219M 0s
245760K ........ ........ ........ ........ ........ ........ 96% 217M 0s
248832K ........ ........ ........ ........ ........ ........ 97% 209M 0s
251904K ........ ........ ........ ........ ........ ........ 98% 204M 0s
254976K ........ ........ ........ ........ ........ ........ 99% 203M 0s
258048K .... 100% 284M=1.3s
2024-01-07 01:39:24 (200 MB/s) - ‘karaf-0.19.2-20240106.185229-158.zip’ saved [264528232/264528232]
Extracting the new controller...
+ echo 'Extracting the new controller...'
+ unzip -q karaf-0.19.2-20240106.185229-158.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.19.2-SNAPSHOT/etc/org.ops4j.pax.url.mvn.cfg
+ cat /tmp/karaf-0.19.2-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-noauth,odl-clustering-test-app,/g' /tmp/karaf-0.19.2-SNAPSHOT/etc/org.apache.karaf.features.cfg
+ FEATURE_TEST_STRING=features-test
+ FEATURE_TEST_VERSION=0.19.2-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.19.2-SNAPSHOT/xml/features,mvn:org.apache.karaf.decanter/apache-karaf-decanter/1.2.0/xml/features,%g' /tmp/karaf-0.19.2-SNAPSHOT/etc/org.apache.karaf.features.cfg
+ [[ ! -z '' ]]
+ cat /tmp/karaf-0.19.2-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.19.2-SNAPSHOT/xml/features,mvn:org.apache.karaf.decanter/apache-karaf-decanter/1.2.0/xml/features, file:${karaf.etc}/5d4c77c4-7716-4e06-9ff1-dfbe0bcd355b.xml
#
# Comma separated list of features to install at startup
#
featuresBoot = odl-infrautils-ready,odl-jolokia,odl-restconf-noauth,odl-clustering-test-app, 9d42272a-242c-413c-9190-b801c97e67a8
#
# 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.19.2-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.19.2-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'
controllerdebugmap:
cat /tmp/karaf-0.19.2-SNAPSHOT/etc/org.ops4j.pax.logging.cfg
+ unset IFS
+ echo 'controllerdebugmap: '
+ '[' -n '' ']'
+ echo 'cat /tmp/karaf-0.19.2-SNAPSHOT/etc/org.ops4j.pax.logging.cfg'
+ cat /tmp/karaf-0.19.2-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
max memory: 2048m
memconf: /tmp/karaf-0.19.2-SNAPSHOT/bin/setenv
+ set_java_vars /usr/lib/jvm/java-17-openjdk 2048m /tmp/karaf-0.19.2-SNAPSHOT/bin/setenv
+ local -r java_home=/usr/lib/jvm/java-17-openjdk
+ local -r controllermem=2048m
+ local -r memconf=/tmp/karaf-0.19.2-SNAPSHOT/bin/setenv
+ echo Configure
+ echo ' java home: /usr/lib/jvm/java-17-openjdk'
+ echo ' max memory: 2048m'
+ echo ' memconf: /tmp/karaf-0.19.2-SNAPSHOT/bin/setenv'
+ sed -ie 's%^# export JAVA_HOME%export JAVA_HOME=${JAVA_HOME:-/usr/lib/jvm/java-17-openjdk}%g' /tmp/karaf-0.19.2-SNAPSHOT/bin/setenv
+ sed -ie 's/JAVA_MAX_MEM="2048m"/JAVA_MAX_MEM=2048m/g' /tmp/karaf-0.19.2-SNAPSHOT/bin/setenv
cat /tmp/karaf-0.19.2-SNAPSHOT/bin/setenv
+ echo 'cat /tmp/karaf-0.19.2-SNAPSHOT/bin/setenv'
+ cat /tmp/karaf-0.19.2-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
Listing all open ports on controller system...
+ 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'
+ 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.213:22 10.30.170.27:58722 ESTABLISHED -
tcp 0 0 10.30.171.213:37512 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.213: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 :::* -
+ '[' -f /tmp/custom_shard_config.txt ']'
+ echo 'Configuring cluster'
Configuring cluster
+ /tmp/karaf-0.19.2-SNAPSHOT/bin/configure_cluster.sh 2 10.30.170.201 10.30.171.213 10.30.170.246
################################################
## Configure Cluster ##
################################################
NOTE: Cluster configuration files not found. Copying from
/tmp/karaf-0.19.2-SNAPSHOT/system/org/opendaylight/controller/sal-clustering-config/8.0.3
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"
}
]
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.19.2-SNAPSHOT/configuration/initial/akka.conf
odl-cluster-data {
akka {
remote {
artery {
enabled = on
transport = tcp
canonical.hostname = "10.30.171.213"
canonical.port = 2550
}
}
cluster {
# Using artery.
seed-nodes = ["akka://opendaylight-cluster-data@10.30.170.201:2550",
"akka://opendaylight-cluster-data@10.30.171.213:2550",
"akka://opendaylight-cluster-data@10.30.170.246: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.19.2-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"
}
]
Dump module-shards.conf
+ echo 'Dump module-shards.conf'
+ cat /tmp/karaf-0.19.2-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"]
}
]
}
]
Configuring member-3 with IP address 10.30.170.246
Warning: Permanently added '10.30.170.246' (ECDSA) to the list of known hosts.
Warning: Permanently added '10.30.170.246' (ECDSA) to the list of known hosts.
+ source /tmp/common-functions.sh karaf-0.19.2-SNAPSHOT
common-functions.sh is being sourced
++ [[ /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.19.2-SNAPSHOT
++ export MAVENCONF=/tmp/karaf-0.19.2-SNAPSHOT/etc/org.ops4j.pax.url.mvn.cfg
++ MAVENCONF=/tmp/karaf-0.19.2-SNAPSHOT/etc/org.ops4j.pax.url.mvn.cfg
++ export FEATURESCONF=/tmp/karaf-0.19.2-SNAPSHOT/etc/org.apache.karaf.features.cfg
++ FEATURESCONF=/tmp/karaf-0.19.2-SNAPSHOT/etc/org.apache.karaf.features.cfg
++ export CUSTOMPROP=/tmp/karaf-0.19.2-SNAPSHOT/etc/custom.properties
++ CUSTOMPROP=/tmp/karaf-0.19.2-SNAPSHOT/etc/custom.properties
++ export LOGCONF=/tmp/karaf-0.19.2-SNAPSHOT/etc/org.ops4j.pax.logging.cfg
++ LOGCONF=/tmp/karaf-0.19.2-SNAPSHOT/etc/org.ops4j.pax.logging.cfg
++ export MEMCONF=/tmp/karaf-0.19.2-SNAPSHOT/bin/setenv
++ MEMCONF=/tmp/karaf-0.19.2-SNAPSHOT/bin/setenv
++ export CONTROLLERMEM=
++ CONTROLLERMEM=
++ export AKKACONF=/tmp/karaf-0.19.2-SNAPSHOT/configuration/initial/akka.conf
++ AKKACONF=/tmp/karaf-0.19.2-SNAPSHOT/configuration/initial/akka.conf
++ export MODULESCONF=/tmp/karaf-0.19.2-SNAPSHOT/configuration/initial/modules.conf
++ MODULESCONF=/tmp/karaf-0.19.2-SNAPSHOT/configuration/initial/modules.conf
++ export MODULESHARDSCONF=/tmp/karaf-0.19.2-SNAPSHOT/configuration/initial/module-shards.conf
++ MODULESHARDSCONF=/tmp/karaf-0.19.2-SNAPSHOT/configuration/initial/module-shards.conf
++ print_common_env
++ cat
common-functions environment:
MAVENCONF: /tmp/karaf-0.19.2-SNAPSHOT/etc/org.ops4j.pax.url.mvn.cfg
ACTUALFEATURES:
FEATURESCONF: /tmp/karaf-0.19.2-SNAPSHOT/etc/org.apache.karaf.features.cfg
CUSTOMPROP: /tmp/karaf-0.19.2-SNAPSHOT/etc/custom.properties
LOGCONF: /tmp/karaf-0.19.2-SNAPSHOT/etc/org.ops4j.pax.logging.cfg
MEMCONF: /tmp/karaf-0.19.2-SNAPSHOT/bin/setenv
CONTROLLERMEM:
AKKACONF: /tmp/karaf-0.19.2-SNAPSHOT/configuration/initial/akka.conf
MODULESCONF: /tmp/karaf-0.19.2-SNAPSHOT/configuration/initial/modules.conf
MODULESHARDSCONF: /tmp/karaf-0.19.2-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.19.2-SNAPSHOT/karaf-0.19.2-20240106.185229-158.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.19.2-SNAPSHOT/karaf-0.19.2-20240106.185229-158.zip'
+ wget --progress=dot:mega https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/karaf/0.19.2-SNAPSHOT/karaf-0.19.2-20240106.185229-158.zip
--2024-01-07 01:39:27-- https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/karaf/0.19.2-SNAPSHOT/karaf-0.19.2-20240106.185229-158.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: 264528232 (252M) [application/zip]
Saving to: ‘karaf-0.19.2-20240106.185229-158.zip’
0K ........ ........ ........ ........ ........ ........ 1% 74.5M 3s
3072K ........ ........ ........ ........ ........ ........ 2% 127M 3s
6144K ........ ........ ........ ........ ........ ........ 3% 146M 2s
9216K ........ ........ ........ ........ ........ ........ 4% 133M 2s
12288K ........ ........ ........ ........ ........ ........ 5% 137M 2s
15360K ........ ........ ........ ........ ........ ........ 7% 151M 2s
18432K ........ ........ ........ ........ ........ ........ 8% 157M 2s
21504K ........ ........ ........ ........ ........ ........ 9% 176M 2s
24576K ........ ........ ........ ........ ........ ........ 10% 199M 2s
27648K ........ ........ ........ ........ ........ ........ 11% 233M 2s
30720K ........ ........ ........ ........ ........ ........ 13% 227M 2s
33792K ........ ........ ........ ........ ........ ........ 14% 241M 1s
36864K ........ ........ ........ ........ ........ ........ 15% 204M 1s
39936K ........ ........ ........ ........ ........ ........ 16% 268M 1s
43008K ........ ........ ........ ........ ........ ........ 17% 54.6M 1s
46080K ........ ........ ........ ........ ........ ........ 19% 168M 1s
49152K ........ ........ ........ ........ ........ ........ 20% 233M 1s
52224K ........ ........ ........ ........ ........ ........ 21% 288M 1s
55296K ........ ........ ........ ........ ........ ........ 22% 159M 1s
58368K ........ ........ ........ ........ ........ ........ 23% 210M 1s
61440K ........ ........ ........ ........ ........ ........ 24% 204M 1s
64512K ........ ........ ........ ........ ........ ........ 26% 260M 1s
67584K ........ ........ ........ ........ ........ ........ 27% 256M 1s
70656K ........ ........ ........ ........ ........ ........ 28% 253M 1s
73728K ........ ........ ........ ........ ........ ........ 29% 222M 1s
76800K ........ ........ ........ ........ ........ ........ 30% 332M 1s
79872K ........ ........ ........ ........ ........ ........ 32% 215M 1s
82944K ........ ........ ........ ........ ........ ........ 33% 256M 1s
86016K ........ ........ ........ ........ ........ ........ 34% 257M 1s
89088K ........ ........ ........ ........ ........ ........ 35% 284M 1s
92160K ........ ........ ........ ........ ........ ........ 36% 275M 1s
95232K ........ ........ ........ ........ ........ ........ 38% 123M 1s
98304K ........ ........ ........ ........ ........ ........ 39% 241M 1s
101376K ........ ........ ........ ........ ........ ........ 40% 259M 1s
104448K ........ ........ ........ ........ ........ ........ 41% 260M 1s
107520K ........ ........ ........ ........ ........ ........ 42% 208M 1s
110592K ........ ........ ........ ........ ........ ........ 43% 243M 1s
113664K ........ ........ ........ ........ ........ ........ 45% 182M 1s
116736K ........ ........ ........ ........ ........ ........ 46% 211M 1s
119808K ........ ........ ........ ........ ........ ........ 47% 265M 1s
122880K ........ ........ ........ ........ ........ ........ 48% 245M 1s
125952K ........ ........ ........ ........ ........ ........ 49% 280M 1s
129024K ........ ........ ........ ........ ........ ........ 51% 279M 1s
132096K ........ ........ ........ ........ ........ ........ 52% 267M 1s
135168K ........ ........ ........ ........ ........ ........ 53% 215M 1s
138240K ........ ........ ........ ........ ........ ........ 54% 288M 1s
141312K ........ ........ ........ ........ ........ ........ 55% 320M 1s
144384K ........ ........ ........ ........ ........ ........ 57% 327M 1s
147456K ........ ........ ........ ........ ........ ........ 58% 292M 1s
150528K ........ ........ ........ ........ ........ ........ 59% 322M 1s
153600K ........ ........ ........ ........ ........ ........ 60% 312M 0s
156672K ........ ........ ........ ........ ........ ........ 61% 308M 0s
159744K ........ ........ ........ ........ ........ ........ 63% 218M 0s
162816K ........ ........ ........ ........ ........ ........ 64% 305M 0s
165888K ........ ........ ........ ........ ........ ........ 65% 265M 0s
168960K ........ ........ ........ ........ ........ ........ 66% 278M 0s
172032K ........ ........ ........ ........ ........ ........ 67% 309M 0s
175104K ........ ........ ........ ........ ........ ........ 68% 326M 0s
178176K ........ ........ ........ ........ ........ ........ 70% 193M 0s
181248K ........ ........ ........ ........ ........ ........ 71% 275M 0s
184320K ........ ........ ........ ........ ........ ........ 72% 326M 0s
187392K ........ ........ ........ ........ ........ ........ 73% 332M 0s
190464K ........ ........ ........ ........ ........ ........ 74% 312M 0s
193536K ........ ........ ........ ........ ........ ........ 76% 226M 0s
196608K ........ ........ ........ ........ ........ ........ 77% 242M 0s
199680K ........ ........ ........ ........ ........ ........ 78% 319M 0s
202752K ........ ........ ........ ........ ........ ........ 79% 298M 0s
205824K ........ ........ ........ ........ ........ ........ 80% 203M 0s
208896K ........ ........ ........ ........ ........ ........ 82% 184M 0s
211968K ........ ........ ........ ........ ........ ........ 83% 295M 0s
215040K ........ ........ ........ ........ ........ ........ 84% 302M 0s
218112K ........ ........ ........ ........ ........ ........ 85% 189M 0s
221184K ........ ........ ........ ........ ........ ........ 86% 194M 0s
224256K ........ ........ ........ ........ ........ ........ 87% 158M 0s
227328K ........ ........ ........ ........ ........ ........ 89% 209M 0s
230400K ........ ........ ........ ........ ........ ........ 90% 120M 0s
233472K ........ ........ ........ ........ ........ ........ 91% 106M 0s
236544K ........ ........ ........ ........ ........ ........ 92% 256M 0s
239616K ........ ........ ........ ........ ........ ........ 93% 251M 0s
242688K ........ ........ ........ ........ ........ ........ 95% 163M 0s
245760K ........ ........ ........ ........ ........ ........ 96% 180M 0s
248832K ........ ........ ........ ........ ........ ........ 97% 117M 0s
251904K ........ ........ ........ ........ ........ ........ 98% 271M 0s
254976K ........ ........ ........ ........ ........ ........ 99% 98.1M 0s
258048K .... 100% 428M=1.2s
2024-01-07 01:39:29 (203 MB/s) - ‘karaf-0.19.2-20240106.185229-158.zip’ saved [264528232/264528232]
Extracting the new controller...
+ echo 'Extracting the new controller...'
+ unzip -q karaf-0.19.2-20240106.185229-158.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.19.2-SNAPSHOT/etc/org.ops4j.pax.url.mvn.cfg
+ cat /tmp/karaf-0.19.2-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-noauth,odl-clustering-test-app,/g' /tmp/karaf-0.19.2-SNAPSHOT/etc/org.apache.karaf.features.cfg
+ FEATURE_TEST_STRING=features-test
+ FEATURE_TEST_VERSION=0.19.2-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.19.2-SNAPSHOT/xml/features,mvn:org.apache.karaf.decanter/apache-karaf-decanter/1.2.0/xml/features,%g' /tmp/karaf-0.19.2-SNAPSHOT/etc/org.apache.karaf.features.cfg
+ [[ ! -z '' ]]
+ cat /tmp/karaf-0.19.2-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.19.2-SNAPSHOT/xml/features,mvn:org.apache.karaf.decanter/apache-karaf-decanter/1.2.0/xml/features, file:${karaf.etc}/5d4c77c4-7716-4e06-9ff1-dfbe0bcd355b.xml
#
# Comma separated list of features to install at startup
#
featuresBoot = odl-infrautils-ready,odl-jolokia,odl-restconf-noauth,odl-clustering-test-app, 9d42272a-242c-413c-9190-b801c97e67a8
#
# 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.19.2-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.19.2-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:
cat /tmp/karaf-0.19.2-SNAPSHOT/etc/org.ops4j.pax.logging.cfg
+ echo 'controllerdebugmap: '
+ '[' -n '' ']'
+ echo 'cat /tmp/karaf-0.19.2-SNAPSHOT/etc/org.ops4j.pax.logging.cfg'
+ cat /tmp/karaf-0.19.2-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
max memory: 2048m
memconf: /tmp/karaf-0.19.2-SNAPSHOT/bin/setenv
+ set_java_vars /usr/lib/jvm/java-17-openjdk 2048m /tmp/karaf-0.19.2-SNAPSHOT/bin/setenv
+ local -r java_home=/usr/lib/jvm/java-17-openjdk
+ local -r controllermem=2048m
+ local -r memconf=/tmp/karaf-0.19.2-SNAPSHOT/bin/setenv
+ echo Configure
+ echo ' java home: /usr/lib/jvm/java-17-openjdk'
+ echo ' max memory: 2048m'
+ echo ' memconf: /tmp/karaf-0.19.2-SNAPSHOT/bin/setenv'
+ sed -ie 's%^# export JAVA_HOME%export JAVA_HOME=${JAVA_HOME:-/usr/lib/jvm/java-17-openjdk}%g' /tmp/karaf-0.19.2-SNAPSHOT/bin/setenv
+ sed -ie 's/JAVA_MAX_MEM="2048m"/JAVA_MAX_MEM=2048m/g' /tmp/karaf-0.19.2-SNAPSHOT/bin/setenv
cat /tmp/karaf-0.19.2-SNAPSHOT/bin/setenv
+ echo 'cat /tmp/karaf-0.19.2-SNAPSHOT/bin/setenv'
+ cat /tmp/karaf-0.19.2-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.246:22 10.30.170.27:36626 ESTABLISHED -
tcp 0 0 10.30.170.246:60616 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.246:68 10.30.170.4: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 :::* -
Configuring cluster
+ '[' -f /tmp/custom_shard_config.txt ']'
+ echo 'Configuring cluster'
+ /tmp/karaf-0.19.2-SNAPSHOT/bin/configure_cluster.sh 3 10.30.170.201 10.30.171.213 10.30.170.246
################################################
## Configure Cluster ##
################################################
NOTE: Cluster configuration files not found. Copying from
/tmp/karaf-0.19.2-SNAPSHOT/system/org/opendaylight/controller/sal-clustering-config/8.0.3
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"
}
]
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.19.2-SNAPSHOT/configuration/initial/akka.conf
odl-cluster-data {
akka {
remote {
artery {
enabled = on
transport = tcp
canonical.hostname = "10.30.170.246"
canonical.port = 2550
}
}
cluster {
# Using artery.
seed-nodes = ["akka://opendaylight-cluster-data@10.30.170.201:2550",
"akka://opendaylight-cluster-data@10.30.171.213:2550",
"akka://opendaylight-cluster-data@10.30.170.246: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"
}
}
+ echo 'Dump modules.conf'
Dump modules.conf
+ cat /tmp/karaf-0.19.2-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"
}
]
Dump module-shards.conf
+ echo 'Dump module-shards.conf'
+ cat /tmp/karaf-0.19.2-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"]
}
]
}
]
Locating config plan to use...
Finished running config plans
Starting member-1 with IP address 10.30.170.201
Warning: Permanently added '10.30.170.201' (ECDSA) to the list of known hosts.
Warning: Permanently added '10.30.170.201' (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.19.2-SNAPSHOT/data/log/karaf_console.log
Starting member-2 with IP address 10.30.171.213
Warning: Permanently added '10.30.171.213' (ECDSA) to the list of known hosts.
Warning: Permanently added '10.30.171.213' (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.19.2-SNAPSHOT/data/log/karaf_console.log
Starting member-3 with IP address 10.30.170.246
Warning: Permanently added '10.30.170.246' (ECDSA) to the list of known hosts.
Warning: Permanently added '10.30.170.246' (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.19.2-SNAPSHOT/data/log/karaf_console.log
[controller-csit-3node-drb-precedence-longevity-only-potassium] $ /bin/bash /tmp/jenkins9240498663239879179.sh
common-functions.sh is being sourced
common-functions environment:
MAVENCONF: /tmp/karaf-0.19.2-SNAPSHOT/etc/org.ops4j.pax.url.mvn.cfg
ACTUALFEATURES:
FEATURESCONF: /tmp/karaf-0.19.2-SNAPSHOT/etc/org.apache.karaf.features.cfg
CUSTOMPROP: /tmp/karaf-0.19.2-SNAPSHOT/etc/custom.properties
LOGCONF: /tmp/karaf-0.19.2-SNAPSHOT/etc/org.ops4j.pax.logging.cfg
MEMCONF: /tmp/karaf-0.19.2-SNAPSHOT/bin/setenv
CONTROLLERMEM: 2048m
AKKACONF: /tmp/karaf-0.19.2-SNAPSHOT/configuration/initial/akka.conf
MODULESCONF: /tmp/karaf-0.19.2-SNAPSHOT/configuration/initial/modules.conf
MODULESHARDSCONF: /tmp/karaf-0.19.2-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.170.201'
Execute the post startup script on controller 10.30.170.201
+ scp /w/workspace/controller-csit-3node-drb-precedence-longevity-only-potassium/post-startup-script.sh 10.30.170.201:/tmp/
Warning: Permanently added '10.30.170.201' (ECDSA) to the list of known hosts.
+ ssh 10.30.170.201 'bash /tmp/post-startup-script.sh 1'
Warning: Permanently added '10.30.170.201' (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-01-07T01:40:04,068 | INFO | SystemReadyService-0 | SimpleSystemReadyMonitor | 133 - org.opendaylight.infrautils.ready-api - 6.0.4 | System ready; AKA: Aye captain, all warp coils are now operating at peak efficiency! [M.]
Controller is UP
2024-01-07T01:40:04,068 | INFO | SystemReadyService-0 | SimpleSystemReadyMonitor | 133 - org.opendaylight.infrautils.ready-api - 6.0.4 | 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 0 10.30.170.201:59868 199.204.45.87:443 TIME_WAIT -
tcp 0 164 10.30.170.201:22 10.30.170.27:51350 ESTABLISHED -
tcp6 0 0 127.0.0.1:44444 :::* LISTEN 5749/java
tcp6 0 0 127.0.0.1:35679 :::* LISTEN 5749/java
tcp6 0 0 :::8101 :::* LISTEN 5749/java
tcp6 0 0 127.0.0.1:1099 :::* LISTEN 5749/java
tcp6 0 0 :::111 :::* LISTEN -
tcp6 0 0 :::5555 :::* LISTEN -
tcp6 0 0 :::8181 :::* LISTEN 5749/java
tcp6 0 0 10.30.170.201:2550 :::* LISTEN 5749/java
tcp6 0 0 :::22 :::* LISTEN -
tcp6 0 0 10.30.170.201:44222 10.30.170.246:2550 ESTABLISHED 5749/java
tcp6 0 0 127.0.0.1:44444 127.0.0.1:58918 ESTABLISHED 5749/java
tcp6 0 0 127.0.0.1:58918 127.0.0.1:44444 ESTABLISHED 5749/java
tcp6 0 0 127.0.0.1:39380 127.0.0.1:1099 TIME_WAIT -
tcp6 32 0 10.30.170.201:41538 199.204.45.87:443 CLOSE_WAIT 5749/java
tcp6 0 0 10.30.170.201:44216 10.30.170.246:2550 ESTABLISHED 5749/java
tcp6 0 0 10.30.170.201:39982 10.30.171.213:2550 ESTABLISHED 5749/java
tcp6 0 0 10.30.170.201:2550 10.30.170.246:56712 ESTABLISHED 5749/java
tcp6 0 0 127.0.0.1:1099 127.0.0.1:39382 ESTABLISHED 5749/java
tcp6 0 0 10.30.170.201:39994 10.30.171.213:2550 ESTABLISHED 5749/java
tcp6 0 0 10.30.170.201:2550 10.30.171.213:35446 ESTABLISHED 5749/java
tcp6 0 0 127.0.0.1:39382 127.0.0.1:1099 ESTABLISHED 5749/java
tcp6 0 0 10.30.170.201:2550 10.30.171.213:35454 ESTABLISHED 5749/java
tcp6 0 0 127.0.0.1:58906 127.0.0.1:44444 TIME_WAIT -
tcp6 0 0 10.30.170.201:2550 10.30.170.246:56718 ESTABLISHED 5749/java
udp 0 0 10.30.170.201:68 10.30.170.4: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.213'
Execute the post startup script on controller 10.30.171.213
+ scp /w/workspace/controller-csit-3node-drb-precedence-longevity-only-potassium/post-startup-script.sh 10.30.171.213:/tmp/
Warning: Permanently added '10.30.171.213' (ECDSA) to the list of known hosts.
+ ssh 10.30.171.213 'bash /tmp/post-startup-script.sh 2'
Warning: Permanently added '10.30.171.213' (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-01-07T01:40:06,080 | INFO | SystemReadyService-0 | SimpleSystemReadyMonitor | 133 - org.opendaylight.infrautils.ready-api - 6.0.4 | System ready; AKA: Aye captain, all warp coils are now operating at peak efficiency! [M.]
Controller is UP
2024-01-07T01:40:06,080 | INFO | SystemReadyService-0 | SimpleSystemReadyMonitor | 133 - org.opendaylight.infrautils.ready-api - 6.0.4 | 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 0 10.30.171.213:37512 199.204.45.87:443 TIME_WAIT -
tcp 0 164 10.30.171.213:22 10.30.170.27:48706 ESTABLISHED -
tcp6 0 0 :::111 :::* LISTEN -
tcp6 0 0 :::5555 :::* LISTEN -
tcp6 0 0 :::8181 :::* LISTEN 5754/java
tcp6 0 0 10.30.171.213:2550 :::* LISTEN 5754/java
tcp6 0 0 :::22 :::* LISTEN -
tcp6 0 0 127.0.0.1:46007 :::* LISTEN 5754/java
tcp6 0 0 127.0.0.1:44444 :::* LISTEN 5754/java
tcp6 0 0 :::8101 :::* LISTEN 5754/java
tcp6 0 0 127.0.0.1:1099 :::* LISTEN 5754/java
tcp6 0 0 127.0.0.1:53158 127.0.0.1:1099 TIME_WAIT -
tcp6 0 0 127.0.0.1:44444 127.0.0.1:54266 ESTABLISHED 5754/java
tcp6 0 0 10.30.171.213:51906 10.30.170.246:2550 ESTABLISHED 5754/java
tcp6 0 0 127.0.0.1:54266 127.0.0.1:44444 ESTABLISHED 5754/java
tcp6 0 0 10.30.171.213:2550 10.30.170.201:39982 ESTABLISHED 5754/java
tcp6 32 0 10.30.171.213:40550 199.204.45.87:443 CLOSE_WAIT 5754/java
tcp6 0 0 127.0.0.1:54262 127.0.0.1:44444 TIME_WAIT -
tcp6 0 0 10.30.171.213:35454 10.30.170.201:2550 ESTABLISHED 5754/java
tcp6 0 0 10.30.171.213:2550 10.30.170.201:39994 ESTABLISHED 5754/java
tcp6 0 0 10.30.171.213:2550 10.30.170.246:40590 ESTABLISHED 5754/java
tcp6 0 0 10.30.171.213:51900 10.30.170.246:2550 ESTABLISHED 5754/java
tcp6 0 0 10.30.171.213:2550 10.30.170.246:40602 ESTABLISHED 5754/java
tcp6 0 0 10.30.171.213:35446 10.30.170.201:2550 ESTABLISHED 5754/java
udp 0 0 10.30.171.213: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
+ '[' 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.246'
Execute the post startup script on controller 10.30.170.246
+ scp /w/workspace/controller-csit-3node-drb-precedence-longevity-only-potassium/post-startup-script.sh 10.30.170.246:/tmp/
Warning: Permanently added '10.30.170.246' (ECDSA) to the list of known hosts.
+ ssh 10.30.170.246 'bash /tmp/post-startup-script.sh 3'
Warning: Permanently added '10.30.170.246' (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-01-07T01:40:04,268 | INFO | SystemReadyService-0 | SimpleSystemReadyMonitor | 133 - org.opendaylight.infrautils.ready-api - 6.0.4 | System ready; AKA: Aye captain, all warp coils are now operating at peak efficiency! [M.]
Controller is UP
2024-01-07T01:40:04,268 | INFO | SystemReadyService-0 | SimpleSystemReadyMonitor | 133 - org.opendaylight.infrautils.ready-api - 6.0.4 | 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.246:60616 199.204.45.87:443 TIME_WAIT -
tcp 0 0 10.30.170.246:22 10.30.170.27:36238 ESTABLISHED -
tcp6 0 0 :::8181 :::* LISTEN 5752/java
tcp6 0 0 10.30.170.246:2550 :::* LISTEN 5752/java
tcp6 0 0 :::22 :::* LISTEN -
tcp6 0 0 127.0.0.1:44444 :::* LISTEN 5752/java
tcp6 0 0 :::8101 :::* LISTEN 5752/java
tcp6 0 0 127.0.0.1:42919 :::* LISTEN 5752/java
tcp6 0 0 127.0.0.1:1099 :::* LISTEN 5752/java
tcp6 0 0 :::111 :::* LISTEN -
tcp6 0 0 :::5555 :::* LISTEN -
tcp6 0 0 10.30.170.246:40590 10.30.171.213:2550 ESTABLISHED 5752/java
tcp6 0 0 127.0.0.1:48186 127.0.0.1:44444 TIME_WAIT -
tcp6 0 0 10.30.170.246:2550 10.30.170.201:44222 ESTABLISHED 5752/java
tcp6 0 0 10.30.170.246:56712 10.30.170.201:2550 ESTABLISHED 5752/java
tcp6 0 0 127.0.0.1:39242 127.0.0.1:1099 TIME_WAIT -
tcp6 0 0 10.30.170.246:2550 10.30.171.213:51900 ESTABLISHED 5752/java
tcp6 0 0 127.0.0.1:39250 127.0.0.1:1099 TIME_WAIT -
tcp6 32 0 10.30.170.246:40016 199.204.45.87:443 CLOSE_WAIT 5752/java
tcp6 0 0 10.30.170.246:40602 10.30.171.213:2550 ESTABLISHED 5752/java
tcp6 0 0 10.30.170.246:56718 10.30.170.201:2550 ESTABLISHED 5752/java
tcp6 0 0 10.30.170.246:2550 10.30.170.201:44216 ESTABLISHED 5752/java
tcp6 0 0 127.0.0.1:48172 127.0.0.1:44444 TIME_WAIT -
tcp6 0 0 10.30.170.246:2550 10.30.171.213:51906 ESTABLISHED 5752/java
udp 0 0 10.30.170.246:68 10.30.170.4: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.170.201 'sudo ps aux'
Warning: Permanently added '10.30.170.201' (ECDSA) to the list of known hosts.
++ grep org.apache.karaf.main.Main /w/workspace/controller-csit-3node-drb-precedence-longevity-only-potassium/ps_before.log
++ tr -s ' '
++ cut -f2 '-d '
++ grep -v grep
+ pid=5749
+ echo 'karaf main: org.apache.karaf.main.Main, pid:5749'
karaf main: org.apache.karaf.main.Main, pid:5749
+ ssh 10.30.170.201 '/usr/lib/jvm/java-17-openjdk/bin/jstack -l 5749'
Warning: Permanently added '10.30.170.201' (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.213 'sudo ps aux'
Warning: Permanently added '10.30.171.213' (ECDSA) to the list of known hosts.
++ grep org.apache.karaf.main.Main /w/workspace/controller-csit-3node-drb-precedence-longevity-only-potassium/ps_before.log
++ grep -v grep
++ tr -s ' '
++ cut -f2 '-d '
+ pid=5754
+ echo 'karaf main: org.apache.karaf.main.Main, pid:5754'
karaf main: org.apache.karaf.main.Main, pid:5754
+ ssh 10.30.171.213 '/usr/lib/jvm/java-17-openjdk/bin/jstack -l 5754'
Warning: Permanently added '10.30.171.213' (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.246 'sudo ps aux'
Warning: Permanently added '10.30.170.246' (ECDSA) to the list of known hosts.
++ grep org.apache.karaf.main.Main /w/workspace/controller-csit-3node-drb-precedence-longevity-only-potassium/ps_before.log
++ grep -v grep
++ cut -f2 '-d '
++ tr -s ' '
+ pid=5752
+ echo 'karaf main: org.apache.karaf.main.Main, pid:5752'
karaf main: org.apache.karaf.main.Main, pid:5752
+ ssh 10.30.170.246 '/usr/lib/jvm/java-17-openjdk/bin/jstack -l 5752'
Warning: Permanently added '10.30.170.246' (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.170.201'
+ for i in $(seq 1 "${NUM_ODL_SYSTEM}")
+ CONTROLLERIP=ODL_SYSTEM_2_IP
+ odl_variables=' -v ODL_SYSTEM_1_IP:10.30.170.201 -v ODL_SYSTEM_2_IP:10.30.171.213'
+ for i in $(seq 1 "${NUM_ODL_SYSTEM}")
+ CONTROLLERIP=ODL_SYSTEM_3_IP
+ odl_variables=' -v ODL_SYSTEM_1_IP:10.30.170.201 -v ODL_SYSTEM_2_IP:10.30.171.213 -v ODL_SYSTEM_3_IP:10.30.170.246'
+ 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.171.121'
+ 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-drb-precedence-longevity-only-potassium/test/csit/testplans/controller-drb-precedence-longevity-potassium.txt
+ '[' '!' -f /w/workspace/controller-csit-3node-drb-precedence-longevity-only-potassium/test/csit/testplans/controller-drb-precedence-longevity-potassium.txt ']'
+ testplan_filepath=/w/workspace/controller-csit-3node-drb-precedence-longevity-only-potassium/test/csit/testplans/controller-drb-precedence-longevity.txt
+ '[' disabled '!=' disabled ']'
+ echo 'Changing the testplan path...'
Changing the testplan path...
+ sed s:integration:/w/workspace/controller-csit-3node-drb-precedence-longevity-only-potassium: /w/workspace/controller-csit-3node-drb-precedence-longevity-only-potassium/test/csit/testplans/controller-drb-precedence-longevity.txt
+ cat testplan.txt
# Copyright (c) 2017 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-drb-precedence-longevity-only-potassium/test/csit/suites/controller/dom_rpc_broker/rpc_provider_precedence_longevity.robot
+ '[' -z '' ']'
++ grep -E -v '(^[[:space:]]*#|^[[:space:]]*$)' testplan.txt
++ tr '\012' ' '
+ suite_list='/w/workspace/controller-csit-3node-drb-precedence-longevity-only-potassium/test/csit/suites/controller/dom_rpc_broker/rpc_provider_precedence_longevity.robot '
+ eval 'SUITES='\''/w/workspace/controller-csit-3node-drb-precedence-longevity-only-potassium/test/csit/suites/controller/dom_rpc_broker/rpc_provider_precedence_longevity.robot '\'''
++ SUITES='/w/workspace/controller-csit-3node-drb-precedence-longevity-only-potassium/test/csit/suites/controller/dom_rpc_broker/rpc_provider_precedence_longevity.robot '
+ echo 'Starting Robot test suites /w/workspace/controller-csit-3node-drb-precedence-longevity-only-potassium/test/csit/suites/controller/dom_rpc_broker/rpc_provider_precedence_longevity.robot ...'
Starting Robot test suites /w/workspace/controller-csit-3node-drb-precedence-longevity-only-potassium/test/csit/suites/controller/dom_rpc_broker/rpc_provider_precedence_longevity.robot ...
+ robot -N controller-drb-precedence-longevity.txt --removekeywords wuks -e exclude -e skip_if_potassium -v BUNDLEFOLDER:karaf-0.19.2-SNAPSHOT -v BUNDLE_URL:https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/karaf/0.19.2-SNAPSHOT/karaf-0.19.2-20240106.185229-158.zip -v CONTROLLER:10.30.170.201 -v CONTROLLER1:10.30.171.213 -v CONTROLLER2:10.30.170.246 -v CONTROLLER_USER:jenkins -v JAVA_HOME:/usr/lib/jvm/java-17-openjdk -v JDKVERSION:openjdk17 -v JENKINS_WORKSPACE:/w/workspace/controller-csit-3node-drb-precedence-longevity-only-potassium -v MININET:10.30.171.121 -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:potassium -v ODL_SYSTEM_IP:10.30.170.201 -v ODL_SYSTEM_1_IP:10.30.170.201 -v ODL_SYSTEM_2_IP:10.30.171.213 -v ODL_SYSTEM_3_IP:10.30.170.246 -v ODL_SYSTEM_USER:jenkins -v TOOLS_SYSTEM_IP:10.30.171.121 -v TOOLS_SYSTEM_1_IP:10.30.171.121 -v TOOLS_SYSTEM_USER:jenkins -v USER_HOME:/home/jenkins -v IS_KARAF_APPL:True -v WORKSPACE:/tmp /w/workspace/controller-csit-3node-drb-precedence-longevity-only-potassium/test/csit/suites/controller/dom_rpc_broker/rpc_provider_precedence_longevity.robot
==============================================================================
controller-drb-precedence-longevity.txt :: DOMRpcBroker testing: RPC Provid...
==============================================================================
Rpc_Provider_Precedence_Longevity :: Repeat the tested scenario fo... | FAIL |
... click for list of related bugs or create a new one if needed (with the
"controller_drb_precedence_longevity_txt_rpc_provider_precedence_longevity"
reference somewhere inside)
"https://bugs.opendaylight.org/buglist.cgi?f1=cf_external_ref&o1=substring&v1=controller_drb_precedence_longevity_txt_rpc_provider_precedence_longevity&order=bug_status"
HTTPError: 401 Client Error: Unauthorized for url: http://10.30.170.201:8181/restconf/operations/odl-mdsal-lowlevel-control:register-constant
------------------------------------------------------------------------------
controller-drb-precedence-longevity.txt :: DOMRpcBroker testing: R... | FAIL |
1 test, 0 passed, 1 failed
==============================================================================
Output: /w/workspace/controller-csit-3node-drb-precedence-longevity-only-potassium/output.xml
Log: /w/workspace/controller-csit-3node-drb-precedence-longevity-only-potassium/log.html
Report: /w/workspace/controller-csit-3node-drb-precedence-longevity-only-potassium/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.170.201 'ls -altr /tmp/karaf-0.19.2-SNAPSHOT/data/log/'
Warning: Permanently added '10.30.170.201' (ECDSA) to the list of known hosts.
total 452
drwxrwxr-x. 2 jenkins jenkins 48 Jan 7 01:39 .
-rw-rw-r--. 1 jenkins jenkins 1720 Jan 7 01:39 karaf_console.log
drwxrwxr-x. 9 jenkins jenkins 124 Jan 7 01:39 ..
-rw-rw-r--. 1 jenkins jenkins 248603 Jan 7 01:40 karaf.log
+ ssh 10.30.170.201 'du -hs /tmp/karaf-0.19.2-SNAPSHOT/data/log/*'
Warning: Permanently added '10.30.170.201' (ECDSA) to the list of known hosts.
4.0K /tmp/karaf-0.19.2-SNAPSHOT/data/log/karaf_console.log
448K /tmp/karaf-0.19.2-SNAPSHOT/data/log/karaf.log
+ ssh 10.30.171.213 'ls -altr /tmp/karaf-0.19.2-SNAPSHOT/data/log/'
Warning: Permanently added '10.30.171.213' (ECDSA) to the list of known hosts.
total 452
drwxrwxr-x. 2 jenkins jenkins 48 Jan 7 01:39 .
-rw-rw-r--. 1 jenkins jenkins 1720 Jan 7 01:39 karaf_console.log
drwxrwxr-x. 9 jenkins jenkins 124 Jan 7 01:39 ..
-rw-rw-r--. 1 jenkins jenkins 245160 Jan 7 01:40 karaf.log
+ ssh 10.30.171.213 'du -hs /tmp/karaf-0.19.2-SNAPSHOT/data/log/*'
Warning: Permanently added '10.30.171.213' (ECDSA) to the list of known hosts.
4.0K /tmp/karaf-0.19.2-SNAPSHOT/data/log/karaf_console.log
448K /tmp/karaf-0.19.2-SNAPSHOT/data/log/karaf.log
+ ssh 10.30.170.246 'ls -altr /tmp/karaf-0.19.2-SNAPSHOT/data/log/'
Warning: Permanently added '10.30.170.246' (ECDSA) to the list of known hosts.
total 452
drwxrwxr-x. 2 jenkins jenkins 48 Jan 7 01:39 .
-rw-rw-r--. 1 jenkins jenkins 1720 Jan 7 01:39 karaf_console.log
drwxrwxr-x. 9 jenkins jenkins 124 Jan 7 01:39 ..
-rw-rw-r--. 1 jenkins jenkins 251135 Jan 7 01:40 karaf.log
+ ssh 10.30.170.246 'du -hs /tmp/karaf-0.19.2-SNAPSHOT/data/log/*'
Warning: Permanently added '10.30.170.246' (ECDSA) to the list of known hosts.
4.0K /tmp/karaf-0.19.2-SNAPSHOT/data/log/karaf_console.log
448K /tmp/karaf-0.19.2-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.170.201 'sudo ps aux'
Warning: Permanently added '10.30.170.201' (ECDSA) to the list of known hosts.
++ tr -s ' '
++ grep org.apache.karaf.main.Main /w/workspace/controller-csit-3node-drb-precedence-longevity-only-potassium/ps_after.log
++ cut -f2 '-d '
++ grep -v grep
+ pid=5749
+ echo 'karaf main: org.apache.karaf.main.Main, pid:5749'
karaf main: org.apache.karaf.main.Main, pid:5749
+ ssh 10.30.170.201 '/usr/lib/jvm/java-17-openjdk/bin/jstack -l 5749'
Warning: Permanently added '10.30.170.201' (ECDSA) to the list of known hosts.
+ echo 'killing karaf process...'
killing karaf process...
+ ssh 10.30.170.201 bash -c 'ps axf | grep karaf | grep -v grep | awk '\''{print "kill -9 " $1}'\'' | sh'
Warning: Permanently added '10.30.170.201' (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.213 'sudo ps aux'
Warning: Permanently added '10.30.171.213' (ECDSA) to the list of known hosts.
++ grep org.apache.karaf.main.Main /w/workspace/controller-csit-3node-drb-precedence-longevity-only-potassium/ps_after.log
++ grep -v grep
++ tr -s ' '
++ cut -f2 '-d '
+ pid=5754
+ echo 'karaf main: org.apache.karaf.main.Main, pid:5754'
karaf main: org.apache.karaf.main.Main, pid:5754
+ ssh 10.30.171.213 '/usr/lib/jvm/java-17-openjdk/bin/jstack -l 5754'
Warning: Permanently added '10.30.171.213' (ECDSA) to the list of known hosts.
+ echo 'killing karaf process...'
killing karaf process...
+ ssh 10.30.171.213 bash -c 'ps axf | grep karaf | grep -v grep | awk '\''{print "kill -9 " $1}'\'' | sh'
Warning: Permanently added '10.30.171.213' (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.246 'sudo ps aux'
Warning: Permanently added '10.30.170.246' (ECDSA) to the list of known hosts.
++ grep org.apache.karaf.main.Main /w/workspace/controller-csit-3node-drb-precedence-longevity-only-potassium/ps_after.log
++ grep -v grep
++ cut -f2 '-d '
++ tr -s ' '
+ pid=5752
+ echo 'karaf main: org.apache.karaf.main.Main, pid:5752'
karaf main: org.apache.karaf.main.Main, pid:5752
+ ssh 10.30.170.246 '/usr/lib/jvm/java-17-openjdk/bin/jstack -l 5752'
Warning: Permanently added '10.30.170.246' (ECDSA) to the list of known hosts.
+ echo 'killing karaf process...'
killing karaf process...
+ ssh 10.30.170.246 bash -c 'ps axf | grep karaf | grep -v grep | awk '\''{print "kill -9 " $1}'\'' | sh'
Warning: Permanently added '10.30.170.246' (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.170.201 gzip --best /tmp/karaf-0.19.2-SNAPSHOT/data/log/karaf.log
Warning: Permanently added '10.30.170.201' (ECDSA) to the list of known hosts.
+ echo 'Fetching compressed karaf.log 1'
Fetching compressed karaf.log 1
+ scp 10.30.170.201:/tmp/karaf-0.19.2-SNAPSHOT/data/log/karaf.log.gz odl1_karaf.log.gz
Warning: Permanently added '10.30.170.201' (ECDSA) to the list of known hosts.
+ ssh 10.30.170.201 rm -f /tmp/karaf-0.19.2-SNAPSHOT/data/log/karaf.log.gz
Warning: Permanently added '10.30.170.201' (ECDSA) to the list of known hosts.
+ scp 10.30.170.201:/tmp/karaf-0.19.2-SNAPSHOT/data/log/karaf_console.log odl1_karaf_console.log
Warning: Permanently added '10.30.170.201' (ECDSA) to the list of known hosts.
+ ssh 10.30.170.201 rm -f /tmp/karaf-0.19.2-SNAPSHOT/data/log/karaf_console.log
Warning: Permanently added '10.30.170.201' (ECDSA) to the list of known hosts.
+ echo 'Fetch GC logs'
Fetch GC logs
+ mkdir -p gclogs-1
+ scp '10.30.170.201:/tmp/karaf-0.19.2-SNAPSHOT/data/log/*.log' gclogs-1/
Warning: Permanently added '10.30.170.201' (ECDSA) to the list of known hosts.
scp: /tmp/karaf-0.19.2-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.213 gzip --best /tmp/karaf-0.19.2-SNAPSHOT/data/log/karaf.log
Warning: Permanently added '10.30.171.213' (ECDSA) to the list of known hosts.
+ echo 'Fetching compressed karaf.log 2'
Fetching compressed karaf.log 2
+ scp 10.30.171.213:/tmp/karaf-0.19.2-SNAPSHOT/data/log/karaf.log.gz odl2_karaf.log.gz
Warning: Permanently added '10.30.171.213' (ECDSA) to the list of known hosts.
+ ssh 10.30.171.213 rm -f /tmp/karaf-0.19.2-SNAPSHOT/data/log/karaf.log.gz
Warning: Permanently added '10.30.171.213' (ECDSA) to the list of known hosts.
+ scp 10.30.171.213:/tmp/karaf-0.19.2-SNAPSHOT/data/log/karaf_console.log odl2_karaf_console.log
Warning: Permanently added '10.30.171.213' (ECDSA) to the list of known hosts.
+ ssh 10.30.171.213 rm -f /tmp/karaf-0.19.2-SNAPSHOT/data/log/karaf_console.log
Warning: Permanently added '10.30.171.213' (ECDSA) to the list of known hosts.
+ echo 'Fetch GC logs'
Fetch GC logs
+ mkdir -p gclogs-2
+ scp '10.30.171.213:/tmp/karaf-0.19.2-SNAPSHOT/data/log/*.log' gclogs-2/
Warning: Permanently added '10.30.171.213' (ECDSA) to the list of known hosts.
scp: /tmp/karaf-0.19.2-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.246 gzip --best /tmp/karaf-0.19.2-SNAPSHOT/data/log/karaf.log
Warning: Permanently added '10.30.170.246' (ECDSA) to the list of known hosts.
+ echo 'Fetching compressed karaf.log 3'
Fetching compressed karaf.log 3
+ scp 10.30.170.246:/tmp/karaf-0.19.2-SNAPSHOT/data/log/karaf.log.gz odl3_karaf.log.gz
Warning: Permanently added '10.30.170.246' (ECDSA) to the list of known hosts.
+ ssh 10.30.170.246 rm -f /tmp/karaf-0.19.2-SNAPSHOT/data/log/karaf.log.gz
Warning: Permanently added '10.30.170.246' (ECDSA) to the list of known hosts.
+ scp 10.30.170.246:/tmp/karaf-0.19.2-SNAPSHOT/data/log/karaf_console.log odl3_karaf_console.log
Warning: Permanently added '10.30.170.246' (ECDSA) to the list of known hosts.
+ ssh 10.30.170.246 rm -f /tmp/karaf-0.19.2-SNAPSHOT/data/log/karaf_console.log
Warning: Permanently added '10.30.170.246' (ECDSA) to the list of known hosts.
+ echo 'Fetch GC logs'
Fetch GC logs
+ mkdir -p gclogs-3
+ scp '10.30.170.246:/tmp/karaf-0.19.2-SNAPSHOT/data/log/*.log' gclogs-3/
Warning: Permanently added '10.30.170.246' (ECDSA) to the list of known hosts.
scp: /tmp/karaf-0.19.2-SNAPSHOT/data/log/*.log: No such file or directory
+ echo 'Examine copied files'
Examine copied files
+ ls -lt
total 1504
drwxrwxr-x. 2 jenkins jenkins 6 Jan 7 01:40 gclogs-3
-rw-rw-r--. 1 jenkins jenkins 1720 Jan 7 01:40 odl3_karaf_console.log
-rw-rw-r--. 1 jenkins jenkins 18562 Jan 7 01:40 odl3_karaf.log.gz
drwxrwxr-x. 2 jenkins jenkins 6 Jan 7 01:40 gclogs-2
-rw-rw-r--. 1 jenkins jenkins 1720 Jan 7 01:40 odl2_karaf_console.log
-rw-rw-r--. 1 jenkins jenkins 18040 Jan 7 01:40 odl2_karaf.log.gz
drwxrwxr-x. 2 jenkins jenkins 6 Jan 7 01:40 gclogs-1
-rw-rw-r--. 1 jenkins jenkins 1720 Jan 7 01:40 odl1_karaf_console.log
-rw-rw-r--. 1 jenkins jenkins 18678 Jan 7 01:40 odl1_karaf.log.gz
-rw-rw-r--. 1 jenkins jenkins 104188 Jan 7 01:40 karaf_3_5752_threads_after.log
-rw-rw-r--. 1 jenkins jenkins 16292 Jan 7 01:40 ps_after.log
-rw-rw-r--. 1 jenkins jenkins 99231 Jan 7 01:40 karaf_2_5754_threads_after.log
-rw-rw-r--. 1 jenkins jenkins 101121 Jan 7 01:40 karaf_1_5749_threads_after.log
-rw-rw-r--. 1 jenkins jenkins 233636 Jan 7 01:40 report.html
-rw-rw-r--. 1 jenkins jenkins 296978 Jan 7 01:40 log.html
-rw-rw-r--. 1 jenkins jenkins 236708 Jan 7 01:40 output.xml
-rw-rw-r--. 1 jenkins jenkins 487 Jan 7 01:40 testplan.txt
-rw-rw-r--. 1 jenkins jenkins 100009 Jan 7 01:40 karaf_3_5752_threads_before.log
-rw-rw-r--. 1 jenkins jenkins 16304 Jan 7 01:40 ps_before.log
-rw-rw-r--. 1 jenkins jenkins 95094 Jan 7 01:40 karaf_2_5754_threads_before.log
-rw-rw-r--. 1 jenkins jenkins 92424 Jan 7 01:40 karaf_1_5749_threads_before.log
-rw-rw-r--. 1 jenkins jenkins 3106 Jan 7 01:39 post-startup-script.sh
-rw-rw-r--. 1 jenkins jenkins 252 Jan 7 01:39 startup-script.sh
-rw-rw-r--. 1 jenkins jenkins 3447 Jan 7 01:39 configuration-script.sh
-rw-rw-r--. 1 jenkins jenkins 337 Jan 7 01:39 detect_variables.env
-rw-rw-r--. 1 jenkins jenkins 2619 Jan 7 01:39 pom.xml
-rw-rw-r--. 1 jenkins jenkins 86 Jan 7 01:39 set_variables.env
-rw-rw-r--. 1 jenkins jenkins 359 Jan 7 01:39 slave_addresses.txt
-rw-rw-r--. 1 jenkins jenkins 570 Jan 7 01:38 requirements.txt
-rw-rw-r--. 1 jenkins jenkins 26 Jan 7 01:38 env.properties
-rw-rw-r--. 1 jenkins jenkins 335 Jan 7 01:36 stack-parameters.yaml
drwxrwxr-x. 7 jenkins jenkins 4096 Jan 7 01:34 test
drwxrwxr-x. 2 jenkins jenkins 6 Jan 7 01:34 test@tmp
-rw-rw-r--. 1 jenkins jenkins 1410 Jan 6 18:52 maven-metadata.xml
+ true
[controller-csit-3node-drb-precedence-longevity-only-potassium] $ /bin/sh /tmp/jenkins14479089177317881520.sh
Cleaning up Robot installation...
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 5345 killed;
[ssh-agent] Stopped.
Recording plot data
Robot results publisher started...
-Parsing output xml:
Done!
-Copying log files to build dir:
Done!
-Assigning results to build:
Done!
-Checking thresholds:
Done!
Done publishing Robot results.
Build step 'Publish Robot Framework test results' changed build result to UNSTABLE
[PostBuildScript] - [INFO] Executing post build scripts.
[controller-csit-3node-drb-precedence-longevity-only-potassium] $ /bin/bash /tmp/jenkins5683916094881541210.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
100 183k 0 183k 0 0 3825k 0 --:--:-- --:--:-- --:--:-- 3825k
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-drb-precedence-longevity-only-potassium] $ /bin/bash /tmp/jenkins14529714699376953638.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-drb-precedence-longevity-only-potassium-25
[EnvInject] - Variables injected successfully.
provisioning config files...
copy managed file [clouds-yaml] to file:/home/jenkins/.config/openstack/clouds.yaml
[controller-csit-3node-drb-precedence-longevity-only-potassium] $ /bin/bash /tmp/jenkins17196260241456283809.sh
---> openstack-stack-delete.sh
Setup pyenv:
system
3.8.13
3.9.13
* 3.10.6 (set by /w/workspace/controller-csit-3node-drb-precedence-longevity-only-potassium/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-ZNtg 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-ZNtg/bin to PATH
INFO: Retrieving stack cost for: releng-controller-csit-3node-drb-precedence-longevity-only-potassium-25
DEBUG: Successfully retrieved stack cost: total: 0.38999999999999996
INFO: Deleting stack releng-controller-csit-3node-drb-precedence-longevity-only-potassium-25
Successfully deleted stack releng-controller-csit-3node-drb-precedence-longevity-only-potassium-25
[PostBuildScript] - [INFO] Executing post build scripts.
[controller-csit-3node-drb-precedence-longevity-only-potassium] $ /bin/bash /tmp/jenkins5073035410931486908.sh
---> sysstat.sh
[controller-csit-3node-drb-precedence-longevity-only-potassium] $ /bin/bash /tmp/jenkins18210700129354041145.sh
---> package-listing.sh
++ facter osfamily
++ tr '[:upper:]' '[:lower:]'
+ OS_FAMILY=redhat
+ workspace=/w/workspace/controller-csit-3node-drb-precedence-longevity-only-potassium
+ 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-drb-precedence-longevity-only-potassium ']'
+ PACKAGES=/tmp/packages_end.txt
+ case "${OS_FAMILY}" in
+ sort
+ rpm -qa
+ '[' -f /tmp/packages_start.txt ']'
+ '[' -f /tmp/packages_end.txt ']'
+ diff /tmp/packages_start.txt /tmp/packages_end.txt
+ '[' /w/workspace/controller-csit-3node-drb-precedence-longevity-only-potassium ']'
+ mkdir -p /w/workspace/controller-csit-3node-drb-precedence-longevity-only-potassium/archives/
+ cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/controller-csit-3node-drb-precedence-longevity-only-potassium/archives/
[controller-csit-3node-drb-precedence-longevity-only-potassium] $ /bin/bash /tmp/jenkins7112400690648499858.sh
---> capture-instance-metadata.sh
Setup pyenv:
system
3.8.13
3.9.13
* 3.10.6 (set by /w/workspace/controller-csit-3node-drb-precedence-longevity-only-potassium/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-ZNtg from file:/tmp/.os_lf_venv
lf-activate-venv(): INFO: Installing: lftools
lf-activate-venv(): INFO: Adding /tmp/venv-ZNtg/bin to PATH
INFO: Running in OpenStack, capturing instance metadata
[controller-csit-3node-drb-precedence-longevity-only-potassium] $ /bin/bash /tmp/jenkins9960480902557445223.sh
provisioning config files...
Could not find credentials [logs] for controller-csit-3node-drb-precedence-longevity-only-potassium #25
copy managed file [jenkins-log-archives-settings] to file:/w/workspace/controller-csit-3node-drb-precedence-longevity-only-potassium@tmp/config11335516806840819060tmp
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-drb-precedence-longevity-only-potassium] $ /bin/bash /tmp/jenkins15438181002748543671.sh
---> create-netrc.sh
WARN: Log server credential not found.
[controller-csit-3node-drb-precedence-longevity-only-potassium] $ /bin/bash /tmp/jenkins14794183751481018622.sh
---> python-tools-install.sh
Setup pyenv:
system
3.8.13
3.9.13
* 3.10.6 (set by /w/workspace/controller-csit-3node-drb-precedence-longevity-only-potassium/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-ZNtg from file:/tmp/.os_lf_venv
lf-activate-venv(): INFO: Installing: lftools
lf-activate-venv(): INFO: Adding /tmp/venv-ZNtg/bin to PATH
[controller-csit-3node-drb-precedence-longevity-only-potassium] $ /bin/bash /tmp/jenkins7278986531494440979.sh
---> sudo-logs.sh
Archiving 'sudo' log..
[controller-csit-3node-drb-precedence-longevity-only-potassium] $ /bin/bash /tmp/jenkins10684451208260267916.sh
---> job-cost.sh
Setup pyenv:
system
3.8.13
3.9.13
* 3.10.6 (set by /w/workspace/controller-csit-3node-drb-precedence-longevity-only-potassium/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-ZNtg from file:/tmp/.os_lf_venv
lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.0.0 which is incompatible.
lf-activate-venv(): INFO: Adding /tmp/venv-ZNtg/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-drb-precedence-longevity-only-potassium] $ /bin/bash -l /tmp/jenkins5276803161911643320.sh
---> logs-deploy.sh
Setup pyenv:
system
3.8.13
3.9.13
* 3.10.6 (set by /w/workspace/controller-csit-3node-drb-precedence-longevity-only-potassium/.python-version)
lf-activate-venv(): INFO: Reuse venv:/tmp/venv-ZNtg from file:/tmp/.os_lf_venv
lf-activate-venv(): INFO: Installing: lftools
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.
python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible.
lf-activate-venv(): INFO: Adding /tmp/venv-ZNtg/bin to PATH
WARNING: Nexus logging server not set
INFO: S3 path logs/releng/vex-yul-odl-jenkins-1/controller-csit-3node-drb-precedence-longevity-only-potassium/25/
INFO: archiving logs to S3
---> uname -a:
Linux prd-centos8-robot-2c-8g-14226.novalocal 4.18.0-527.el8.x86_64 #1 SMP Thu Nov 23 14:16:19 UTC 2023 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: 2799.996
BogoMIPS: 5599.99
Virtualization: AMD-V
Hypervisor vendor: KVM
Virtualization type: full
L1d cache: 32K
L1i cache: 32K
L2 cache: 512K
L3 cache: 16384K
NUMA node0 CPU(s): 0,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.4G 31G 24% /
tmpfs 770M 0 770M 0% /run/user/1001
---> free -m:
total used free shared buff/cache available
Mem: 7697 582 4954 19 2160 6817
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:da:07:4a brd ff:ff:ff:ff:ff:ff
altname enp0s3
altname ens3
inet 10.30.170.27/23 brd 10.30.171.255 scope global dynamic noprefixroute eth0
valid_lft 85878sec preferred_lft 85878sec
inet6 fe80::f816:3eff:feda:74a/64 scope link
valid_lft forever preferred_lft forever
---> sar -b -r -n DEV:
Linux 4.18.0-527.el8.x86_64 (centos-stream-8-robot-fae2b486-4aa0-48b5-8561-0bd1156c3383.noval) 01/07/2024 _x86_64_ (2 CPU)
01:33:33 LINUX RESTART (2 CPU)
01:34:01 AM tps rtps wtps bread/s bwrtn/s
01:35:01 AM 83.66 17.77 65.88 3673.63 36239.10
01:36:01 AM 122.73 6.55 116.18 1267.58 10684.86
01:37:01 AM 58.97 0.67 58.31 28.66 6622.36
01:38:01 AM 11.40 0.82 10.58 124.63 317.63
01:39:01 AM 41.31 0.17 41.14 5.87 2947.71
01:40:01 AM 45.50 2.55 42.95 441.85 6004.85
01:41:01 AM 10.58 0.23 10.34 33.85 342.23
01:42:01 AM 37.44 0.47 36.98 48.93 1749.91
Average: 51.45 3.65 47.80 703.21 8114.27
01:34:01 AM kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty
01:35:01 AM 5555604 7087204 2326868 29.52 2688 1724080 689124 7.72 163704 1881668 100440
01:36:01 AM 5127404 7014308 2755068 34.95 2688 2062276 717400 8.03 209924 2198252 187272
01:37:01 AM 5180476 7038472 2701996 34.28 2688 2034152 679812 7.61 202536 2149628 1088
01:38:01 AM 5204604 7066604 2677868 33.97 2688 2038096 656448 7.35 214532 2113588 4
01:39:01 AM 4951140 7000880 2931332 37.19 2688 2217808 695524 7.79 226468 2327548 158932
01:40:01 AM 4976712 7039180 2905760 36.86 2688 2231160 672828 7.53 239736 2286776 16
01:41:01 AM 4992488 6926380 2889984 36.66 2688 2105520 766580 8.58 246316 2278984 29908
01:42:01 AM 5072004 6985388 2810468 35.65 2688 2087136 736348 8.24 433708 2023000 7956
Average: 5132554 7019802 2749918 34.89 2688 2062528 701758 7.86 242116 2157430 60702
01:34:01 AM IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil
01:35:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
01:35:01 AM eth0 257.17 158.77 1176.79 52.18 0.00 0.00 0.00 0.00
01:36:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
01:36:01 AM eth0 63.20 48.90 862.35 6.02 0.00 0.00 0.00 0.00
01:37:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
01:37:01 AM eth0 20.56 17.23 150.11 5.54 0.00 0.00 0.00 0.00
01:38:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
01:38:01 AM eth0 19.13 15.79 5.04 4.15 0.00 0.00 0.00 0.00
01:39:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
01:39:01 AM eth0 42.14 36.61 312.60 7.67 0.00 0.00 0.00 0.00
01:40:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
01:40:01 AM eth0 558.48 428.84 114.94 98.11 0.00 0.00 0.00 0.00
01:41:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
01:41:01 AM eth0 96.39 71.50 84.51 22.11 0.00 0.00 0.00 0.00
01:42:01 AM lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
01:42:01 AM eth0 17.48 15.83 13.70 7.13 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 134.33 99.19 340.03 25.37 0.00 0.00 0.00 0.00
---> sar -P ALL:
Linux 4.18.0-527.el8.x86_64 (centos-stream-8-robot-fae2b486-4aa0-48b5-8561-0bd1156c3383.noval) 01/07/2024 _x86_64_ (2 CPU)
01:33:33 LINUX RESTART (2 CPU)
01:34:01 AM CPU %user %nice %system %iowait %steal %idle
01:35:01 AM all 24.84 0.00 4.97 31.55 0.09 38.54
01:35:01 AM 0 24.89 0.00 4.07 33.99 0.10 36.94
01:35:01 AM 1 24.78 0.00 5.88 29.11 0.08 40.14
01:36:01 AM all 34.91 0.00 5.52 4.10 0.09 55.37
01:36:01 AM 0 23.13 0.00 4.54 4.57 0.08 67.68
01:36:01 AM 1 46.74 0.00 6.51 3.63 0.10 43.01
01:37:01 AM all 20.11 0.00 2.60 1.49 0.08 75.72
01:37:01 AM 0 24.06 0.00 2.83 2.11 0.08 70.92
01:37:01 AM 1 16.18 0.00 2.37 0.87 0.08 80.51
01:38:01 AM all 8.85 0.00 1.47 0.83 0.04 88.81
01:38:01 AM 0 1.25 0.00 1.39 0.40 0.03 96.92
01:38:01 AM 1 16.44 0.00 1.55 1.25 0.05 80.70
01:39:01 AM all 26.15 0.00 3.86 1.09 0.09 68.81
01:39:01 AM 0 18.79 0.00 2.84 0.97 0.10 77.30
01:39:01 AM 1 33.52 0.00 4.89 1.21 0.08 60.30
01:40:01 AM all 7.84 0.00 2.24 1.97 0.05 87.90
01:40:01 AM 0 6.01 0.00 1.98 1.51 0.05 90.44
01:40:01 AM 1 9.67 0.00 2.51 2.42 0.05 85.35
01:41:01 AM all 14.58 0.00 1.84 0.15 0.07 83.36
01:41:01 AM 0 16.71 0.00 1.52 0.15 0.07 81.55
01:41:01 AM 1 12.45 0.00 2.16 0.15 0.07 85.17
01:42:01 AM all 25.63 0.00 2.48 1.27 0.08 70.55
01:42:01 AM 0 17.66 0.00 2.40 1.47 0.07 78.40
01:42:01 AM 1 33.58 0.00 2.55 1.07 0.08 62.71
Average: all 20.37 0.00 3.12 5.28 0.07 71.15
Average: 0 16.57 0.00 2.70 5.63 0.07 75.04
Average: 1 24.18 0.00 3.55 4.94 0.08 67.25