-
Bug
-
Resolution: Won't Do
-
Medium
-
None
-
Jakarta Release
Fix and suppress Exception in test cases
Also observed error in post-build-script as follows:
13:57:23 lf-activate-venv(): INFO: Creating python3.8 venv at /tmp/venv-KnEV 13:57:23 Error: Command '['/w/workspace/dcaegen2-services-master-slice-analysis-ms-merge-java/bin/python3.8', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1. 13:57:23 INFO: Running in OpenStack, capturing instance metadata 13:57:23 [dcaegen2-services-master-slice-analysis-ms-merge-java] $ /bin/bash /tmp/jenkins6645030549561779118.sh 13:57:24 provisioning config files... 13:57:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dcaegen2-services-master-slice-analysis-ms-merge-java@tmp/config[1207931547430331752|https://gerrit.onap.org/r/q/1207931547430331752]tmp 13:57:24 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 13:57:24 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 13:57:24 [EnvInject] - Injecting environment variables from a build step. 13:57:24 [EnvInject] - Injecting as environment variables the properties content 13:57:24 SERVER_ID=logs 13:57:24 13:57:24 [EnvInject] - Variables injected successfully. 13:57:24 [dcaegen2-services-master-slice-analysis-ms-merge-java] $ /bin/bash /tmp/jenkins4132854663056759074.sh 13:57:24 ---> create-netrc.sh 13:57:24 [dcaegen2-services-master-slice-analysis-ms-merge-java] $ /bin/bash /tmp/jenkins3688736629049973206.sh 13:57:24 ---> python-tools-install.sh 13:57:24 [dcaegen2-services-master-slice-analysis-ms-merge-java] $ /bin/bash /tmp/jenkins4414262981181038424.sh 13:57:24 ---> sudo-logs.sh 13:57:24 Archiving 'sudo' log.. 13:57:24 [dcaegen2-services-master-slice-analysis-ms-merge-java] $ /bin/bash /tmp/jenkins1407998417538705742.sh 13:57:24 ---> job-cost.sh 13:57:24 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-MNzn 13:57:24 The virtual environment was not created successfully because ensurepip is not 13:57:24 available. On Debian/Ubuntu systems, you need to install the python3-venv 13:57:24 package using the following command. 13:57:24 13:57:24 apt-get install python3-venv 13:57:24 13:57:24 You may need to use sudo with that command. After installing the python3-venv 13:57:24 package, recreate your virtual environment. 13:57:24 13:57:24 Failing command: ['/w/workspace/dcaegen2-services-master-slice-analysis-ms-merge-java/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip'] 13:57:24