Quality Criteria Verification Report ==================================== Product: cloud-info-provider Release: INFOPROVIDER.cloud-info-provider.ubuntu-xenial.amd64 Software Provider: infoprovider RT Ticket: 16039 Provider contact: baptiste.grenier@egi.eu Verifier: Pablo Orviz Hours worked: 8h Date: 14/11/2019 Status: Accepted Summary ======= - Build info: https://jenkins.egi.ifca.es/job/QualityCriteriaValidation/job/cloud-info-provider/101 - Ansible role: https://github.com/egi-qc/ansible-role-cloud-info-provider - Test/s: + https://github.com/egi-qc/umd-verification/blob/master/bin/bdii/client-test.sh + https://github.com/egi-qc/ansible-role-cloud-info-provider/blob/umd/tasks/main.yml#L80 - Deployment docs generated in https://github.com/egi-qc/deployment-howtos/tree/master/cloud-info-provider/ubuntu16 Related tickets =============== https://ggus.eu/?mode=ticket_info&ticket_id=139491 Documentation Criteria ====================== * Release notes: https://github.com/EGI-Foundation/cloud-info-provider/releases/tag/0.12.0 * User Documentation: https://github.com/EGI-Foundation/cloud-info-provider * API Documentation: https://github.com/EGI-Foundation/cloud-info-provider * Admin Documentation: https://github.com/EGI-Foundation/cloud-info-provider * Software License: Apache 2.0 Generic Criteria ================ (Possible Statuses: OK, WARN, FAIL, NA (Not Applicable) or NT (Not Tested)) * Binary Distribution: OK * Upgrade: NT * X.509 Certificate support: OK * SHA-2 Certificates Support: OK * RFC Proxy support: OK * ARGUS Integration: NT * World Writable Files: OK * Passwords in world readable files: OK * GlueSchema 1.3 Support: NA * GlueSchema 2.0 Support: OK * Middleware Version Information: OK * Service Probes: OK * Accounting Records: NA * Bug Tracking System: OK Verification logs ================= Started by user Pablo Orviz Rebuilds build #100 Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on ubuntu16-76 (ubuntu16) in workspace /tmp/workspace/QualityCriteriaValidation/cloud-info-provider [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-SrSQozhHmD1L/agent.1077 SSH_AGENT_PID=1078 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /tmp/workspace/QualityCriteriaValidation/cloud-info-provider@tmp/private_key_1309741950760284297.key (/tmp/workspace/QualityCriteriaValidation/cloud-info-provider@tmp/private_key_1309741950760284297.key) [ssh-agent] Using credentials orviz No credentials specified Cloning the remote Git repository Cloning repository https://github.com/egi-qc/umd-verification > git init /tmp/workspace/QualityCriteriaValidation/cloud-info-provider # timeout=10 Fetching upstream changes from https://github.com/egi-qc/umd-verification > git --version # timeout=10 > git fetch --tags --progress https://github.com/egi-qc/umd-verification +refs/heads/*:refs/remotes/origin/* > git config remote.origin.url https://github.com/egi-qc/umd-verification # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://github.com/egi-qc/umd-verification # timeout=10 Fetching upstream changes from https://github.com/egi-qc/umd-verification > git fetch --tags --progress https://github.com/egi-qc/umd-verification +refs/heads/*:refs/remotes/origin/* > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10 Checking out Revision 683c853b3fb059ed37c69735a5b9655925c91051 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 683c853b3fb059ed37c69735a5b9655925c91051 Commit message: "Merge branch 'master' of https://github.com/egi-qc/umd-verification" > git rev-list --no-walk 683c853b3fb059ed37c69735a5b9655925c91051 # timeout=10 [cloud-info-provider] $ /bin/bash -xe /tmp/jenkins3455367356227993506.sh + TOOL=ansible + MODULE_NAME=https://github.com/egi-qc/ansible-role-cloud-info-provider + FAB_CMD=cloud-info-provider + . bin/jenkins/common_functions.sh +++ pwd ++ WORKSPACE_CONFIG_DIR=/tmp/workspace/QualityCriteriaValidation/cloud-info-provider/_files ++ get_umd_release CMD1 ++ case $1 in ++ release_str=cmd_release=1 ++ echo cmd_release=1 + release=cmd_release=1 ++ get_sudo_type ubuntu16 ++ [[ ubuntu16 == *sl6* ]] ++ sudocmd=sudo ++ echo sudo + sudocmd=sudo + deploy_config_management ansible sudo https://github.com/egi-qc/ansible-role-cloud-info-provider + sudocmd=sudo + case $1 in + module_url=https://github.com/egi-qc/ansible-role-cloud-info-provider ++ basename https://github.com/egi-qc/ansible-role-cloud-info-provider + module_name=ansible-role-cloud-info-provider + module_path=/tmp/ansible-role-cloud-info-provider + sudo pip install ansible==2.5 sudo: unable to resolve host ubuntu16-76 The directory '/home/ubuntu/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. The directory '/home/ubuntu/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. Collecting ansible==2.5 Downloading https://files.pythonhosted.org/packages/4a/3b/9d98e132074bb6a3f18fd811db2819fbde6fc8a26fad9a40b49e53cb2455/ansible-2.5.0.tar.gz (10.1MB) Requirement already satisfied (use --upgrade to upgrade): jinja2 in /usr/lib/python2.7/dist-packages (from ansible==2.5) Requirement already satisfied (use --upgrade to upgrade): PyYAML in /usr/local/lib/python2.7/dist-packages (from ansible==2.5) Requirement already satisfied (use --upgrade to upgrade): paramiko in /usr/local/lib/python2.7/dist-packages (from ansible==2.5) Requirement already satisfied (use --upgrade to upgrade): cryptography in /usr/local/lib/python2.7/dist-packages (from ansible==2.5) Requirement already satisfied (use --upgrade to upgrade): setuptools in /home/ubuntu/.local/lib/python2.7/site-packages (from ansible==2.5) Requirement already satisfied (use --upgrade to upgrade): MarkupSafe in /usr/lib/python2.7/dist-packages (from jinja2->ansible==2.5) Requirement already satisfied (use --upgrade to upgrade): pyasn1>=0.1.7 in /home/ubuntu/.local/lib/python2.7/site-packages (from paramiko->ansible==2.5) Requirement already satisfied (use --upgrade to upgrade): idna>=2.0 in /home/ubuntu/.local/lib/python2.7/site-packages (from cryptography->ansible==2.5) Requirement already satisfied (use --upgrade to upgrade): six>=1.4.1 in /home/ubuntu/.local/lib/python2.7/site-packages (from cryptography->ansible==2.5) Requirement already satisfied (use --upgrade to upgrade): enum34 in /home/ubuntu/.local/lib/python2.7/site-packages (from cryptography->ansible==2.5) Requirement already satisfied (use --upgrade to upgrade): ipaddress in /home/ubuntu/.local/lib/python2.7/site-packages (from cryptography->ansible==2.5) Requirement already satisfied (use --upgrade to upgrade): cffi>=1.4.1 in /home/ubuntu/.local/lib/python2.7/site-packages (from cryptography->ansible==2.5) Requirement already satisfied (use --upgrade to upgrade): appdirs>=1.4.0 in /home/ubuntu/.local/lib/python2.7/site-packages (from setuptools->ansible==2.5) Requirement already satisfied (use --upgrade to upgrade): packaging>=16.8 in /home/ubuntu/.local/lib/python2.7/site-packages (from setuptools->ansible==2.5) Requirement already satisfied (use --upgrade to upgrade): pycparser in /home/ubuntu/.local/lib/python2.7/site-packages (from cffi>=1.4.1->cryptography->ansible==2.5) Requirement already satisfied (use --upgrade to upgrade): pyparsing in /home/ubuntu/.local/lib/python2.7/site-packages (from packaging>=16.8->setuptools->ansible==2.5) Installing collected packages: ansible Running setup.py install for ansible: started Running setup.py install for ansible: finished with status 'done' Successfully installed ansible-2.5.0 You are using pip version 8.1.1, however version 19.3.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command. + sudo rm -rf /tmp/ansible-role-cloud-info-provider sudo: unable to resolve host ubuntu16-76 + git clone https://github.com/egi-qc/ansible-role-cloud-info-provider /tmp/ansible-role-cloud-info-provider Cloning into '/tmp/ansible-role-cloud-info-provider'... + sudo ansible-galaxy install -r /tmp/ansible-role-cloud-info-provider/requirements.yml sudo: unable to resolve host ubuntu16-76 - downloading role 'cmd', owned by egi-foundation - downloading role from https://github.com/EGI-Foundation/ansible-role-cmd/archive/master.tar.gz - extracting cmd to /home/ubuntu/.ansible/roles/cmd - cmd (master) was installed successfully ++ get_repos http://admin-repo.egi.eu/sw/unverified/cmd-os-1.infoprovider.cloud-info-provider.ubuntu-xenial.amd64/0/12/0/repofiles/INFOPROVIDER.cloud-info-provider.ubuntu-xenial.amd64.list ++ prefix=repository_file ++ multiple_arg repository_file http://admin-repo.egi.eu/sw/unverified/cmd-os-1.infoprovider.cloud-info-provider.ubuntu-xenial.amd64/0/12/0/repofiles/INFOPROVIDER.cloud-info-provider.ubuntu-xenial.amd64.list ++ prefix=repository_file ++ shift ++ c=0 ++ repostr= ++ for i in '"$@"' ++ c=1 ++ '[' -n '' ']' ++ repostr=repository_file_1=http://admin-repo.egi.eu/sw/unverified/cmd-os-1.infoprovider.cloud-info-provider.ubuntu-xenial.amd64/0/12/0/repofiles/INFOPROVIDER.cloud-info-provider.ubuntu-xenial.amd64.list ++ echo repository_file_1=http://admin-repo.egi.eu/sw/unverified/cmd-os-1.infoprovider.cloud-info-provider.ubuntu-xenial.amd64/0/12/0/repofiles/INFOPROVIDER.cloud-info-provider.ubuntu-xenial.amd64.list + repos=repository_file_1=http://admin-repo.egi.eu/sw/unverified/cmd-os-1.infoprovider.cloud-info-provider.ubuntu-xenial.amd64/0/12/0/repofiles/INFOPROVIDER.cloud-info-provider.ubuntu-xenial.amd64.list + add_hostname_as_localhost sudo + MY_DOMAIN=egi.ifca.es ++ hostname -f hostname: Name or service not known + [[ '' != *\e\g\i\.\i\f\c\a\.\e\s ]] ++ hostname + sudo hostname ubuntu16-76.egi.ifca.es sudo: unable to resolve host ubuntu16-76 ++ hostname + sudo sed -i '/^127\.0\.0\.1/ s/ localhost/ ubuntu16-76.egi.ifca.es localhost/' /etc/hosts sudo: unable to resolve host ubuntu16-76.egi.ifca.es + PARAMS_FILE=/var/tmp/runtime_params.yml + cat + OS_RELEASE=queens + args=cmd_release=1,openstack_release=queens,log_path=logs,enable_untested_repo=true,enable_testing_repo=true,params_file=/var/tmp/runtime_params.yml + '[' repository_file_1=http://admin-repo.egi.eu/sw/unverified/cmd-os-1.infoprovider.cloud-info-provider.ubuntu-xenial.amd64/0/12/0/repofiles/INFOPROVIDER.cloud-info-provider.ubuntu-xenial.amd64.list '!=' '' ']' + args=cmd_release=1,openstack_release=queens,log_path=logs,enable_untested_repo=true,enable_testing_repo=true,params_file=/var/tmp/runtime_params.yml,repository_file_1=http://admin-repo.egi.eu/sw/unverified/cmd-os-1.infoprovider.cloud-info-provider.ubuntu-xenial.amd64/0/12/0/repofiles/INFOPROVIDER.cloud-info-provider.ubuntu-xenial.amd64.list + sudo fab cloud-info-provider:cmd_release=1,openstack_release=queens,log_path=logs,enable_untested_repo=true,enable_testing_repo=true,params_file=/var/tmp/runtime_params.yml,repository_file_1=http://admin-repo.egi.eu/sw/unverified/cmd-os-1.infoprovider.cloud-info-provider.ubuntu-xenial.amd64/0/12/0/repofiles/INFOPROVIDER.cloud-info-provider.ubuntu-xenial.amd64.list sudo: unable to resolve host ubuntu16-76.egi.ifca.es [INFO] Using UMD None release repository [INFO] Using UMD verification repository file: ['http://admin-repo.egi.eu/sw/unverified/cmd-os-1.infoprovider.cloud-info-provider.ubuntu-xenial.amd64/0/12/0/repofiles/INFOPROVIDER.cloud-info-provider.ubuntu-xenial.amd64.list'] UMD verification tool ===================== Quality criteria: http://egi-qc.github.io Codebase: https://github.com/egi-qc/umd-verification Path locations | | log_path /tmp/workspace/QualityCriteriaValidation/cloud-info-provider/logs | yaim_path etc/yaim | puppet_path etc/puppet Production repositories | | umd_release_pkg None | igtf_repo None [INFO] Using the following repository files + http://admin-repo.egi.eu/sw/unverified/cmd-os-1.infoprovider.cloud-info-provider.ubuntu-xenial.amd64/0/12/0/repofiles/INFOPROVIDER.cloud-info-provider.ubuntu-xenial.amd64.list [INFO] Log directory '/tmp/workspace/QualityCriteriaValidation/cloud-info-provider/logs' has been created. [INFO] Running configuration [localhost] local: sudo -E ansible --help [INFO] Extra vars file added: /tmp/extra_vars.yaml [localhost] local: ansible-pull -vvv -C umd -d /etc/ansible/roles/ansible-role-cloud-info-provider -i /etc/ansible/roles/ansible-role-cloud-info-provider/hosts -U https://github.com/egi-qc/ansible-role-cloud-info-provider --extra-vars '@/tmp/umd.yaml' --extra-vars '@/tmp/extra_vars.yaml' --extra-vars '@/var/tmp/runtime_params.yml' --tags 'untagged,cmd' [localhost] local: sudo -E dpkg -l [[QC_SEC_2: SHA-2 Certificates Support]] [NA] Product does not need certificates. [[QC_SEC_5: World Writable Files]] [localhost] local: sudo -E find / -not \( -path "/proc" -prune \) -not \( -path "/sys" -prune \) -type f -perm -002 -exec ls -l {} \; [OK] Found no world-writable file. [[QC_INFO_1: GlueSchema 1.3 Support]] [NA] Product does not publish information through BDII. [[QC_INFO_2: GlueSchema 2.0 Support]] [NA] Product does not publish information through BDII. [[QC_INFO_3: Middleware Version Information]] [NA] Product does not publish information through BDII. [[QC_MON_1: Service Probes]] [NA] Product cannot be tested by Nagios. [[QC_FUNC_1: Basic Funcionality Test.]] [INFO] Probe 'GLUE2 ldapsearch check.' [localhost] local: su ubuntu -c "./bin/bdii/client-test.sh ldapsearch-site-bdii-cloud" 2>&1 [INFO] Command 'su ubuntu -c "./bin/bdii/client-test.sh ldapsearch-site-bdii-cloud"' ran successfully [OK] Basic functionality probes ran successfully. [[QC_FUNC_2: New features/bug fixes testing.]] [NA] No definition found for QC_FUNC_2. + _BUILD_URL=https://jenkins.egi.ifca.es/job/QualityCriteriaValidation/cloud-info-provider/101 + archive_artifacts_in_workspace cloud-info-provider ansible ubuntu16 https://jenkins.egi.ifca.es/job/QualityCriteriaValidation/cloud-info-provider/101 http://admin-repo.egi.eu/sw/unverified/cmd-os-1.infoprovider.cloud-info-provider.ubuntu-xenial.amd64/0/12/0/repofiles/INFOPROVIDER.cloud-info-provider.ubuntu-xenial.amd64.list + FAB_CMD=cloud-info-provider + TOOL=ansible + '[' -d /tmp/workspace/QualityCriteriaValidation/cloud-info-provider/_files ']' + mkdir /tmp/workspace/QualityCriteriaValidation/cloud-info-provider/_files + '[' ansible == puppet ']' + '[' ansible == ansible ']' + mkdir /tmp/workspace/QualityCriteriaValidation/cloud-info-provider/_files/vars + cp /tmp/extra_vars.yaml /tmp/umd.yaml /tmp/workspace/QualityCriteriaValidation/cloud-info-provider/_files/vars/ + publish_howtos cloud-info-provider ubuntu16 https://jenkins.egi.ifca.es/job/QualityCriteriaValidation/cloud-info-provider/101 + FAB_CMD=cloud-info-provider + OS=ubuntu16 + BUILD_URL=https://jenkins.egi.ifca.es/job/QualityCriteriaValidation/cloud-info-provider/101 + git config --global user.name 'Pablo Orviz' + git config --global user.email orviz@ifca.unican.es + wget --no-check-certificate https://gist.githubusercontent.com/dadrian/bad309f16e407526741e/raw/462e7ef24387948e17e68a3975b057200fc05533/known_hosts -O /home/ubuntu/.ssh/known_hosts --2019-11-12 18:28:03-- https://gist.githubusercontent.com/dadrian/bad309f16e407526741e/raw/462e7ef24387948e17e68a3975b057200fc05533/known_hosts Resolving gist.githubusercontent.com (gist.githubusercontent.com)... 151.101.240.133 Connecting to gist.githubusercontent.com (gist.githubusercontent.com)|151.101.240.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 416327 (407K) [text/plain] Saving to: ‘/home/ubuntu/.ssh/known_hosts’ 0K .......... .......... .......... .......... .......... 12% 682K 1s 50K .......... .......... .......... .......... .......... 24% 1.31M 0s 100K .......... .......... .......... .......... .......... 36% 60.2M 0s 150K .......... .......... .......... .......... .......... 49% 1.50M 0s 200K .......... .......... .......... .......... .......... 61% 30.1M 0s 250K .......... .......... .......... .......... .......... 73% 85.2M 0s 300K .......... .......... .......... .......... .......... 86% 82.6M 0s 350K .......... .......... .......... .......... .......... 98% 1.42M 0s 400K ...... 100% 12530G=0.2s 2019-11-12 18:28:04 (2.19 MB/s) - ‘/home/ubuntu/.ssh/known_hosts’ saved [416327/416327] + ssh -T git@github.com Warning: Permanently added the RSA host key for IP address '140.82.118.4' to the list of known hosts. Hi egi-qc/deployment-howtos! You've successfully authenticated, but GitHub does not provide shell access. + echo ++ pwd + workspace=/tmp/workspace/QualityCriteriaValidation/cloud-info-provider + git clone https://github.com/egi-qc/deployment-howtos /tmp/deployment-howtos Cloning into '/tmp/deployment-howtos'... + cd /tmp/deployment-howtos + git remote set-url origin git@github.com:egi-qc/deployment-howtos.git + '[' -d cloud-info-provider/ubuntu16 ']' + cp -r /tmp/workspace/QualityCriteriaValidation/cloud-info-provider/_files/vars cloud-info-provider/ubuntu16/ ++ grep -v '??' ++ git status --porcelain + '[' -n ' M cloud-info-provider/ubuntu16/vars/extra_vars.yaml M cloud-info-provider/ubuntu16/vars/umd.yaml' ']' + git add cloud-info-provider/ubuntu16/ + git commit -a -m 'cloud-info-provider/ubuntu16/ deployment how-to (build https://jenkins.egi.ifca.es/job/QualityCriteriaValidation/cloud-info-provider/101)' [master 793558f] cloud-info-provider/ubuntu16/ deployment how-to (build https://jenkins.egi.ifca.es/job/QualityCriteriaValidation/cloud-info-provider/101) 2 files changed, 3 insertions(+), 3 deletions(-) + git push origin master Warning: Permanently added the RSA host key for IP address '140.82.118.4' to the list of known hosts. To git@github.com:egi-qc/deployment-howtos.git b1d922c..793558f master -> master + cd /tmp/workspace/QualityCriteriaValidation/cloud-info-provider $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 1078 killed; [ssh-agent] Stopped. Archiving artifacts Finished: SUCCESS