Started by user Joao Pina Rebuilds build #25 Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on centos7-128 (centos7) in workspace /tmp/workspace/QualityCriteriaValidation/arc [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-PMCU3JiMDvqt/agent.1356 SSH_AGENT_PID=1357 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /tmp/workspace/QualityCriteriaValidation/arc@tmp/private_key_5726644123684073013.key (/tmp/workspace/QualityCriteriaValidation/arc@tmp/private_key_5726644123684073013.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/arc # 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 463254d183f791487f185cb0b2c8a30a3b1e628c (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 463254d183f791487f185cb0b2c8a30a3b1e628c Commit message: "Temporary disable the infomodel check" > git rev-list --no-walk 463254d183f791487f185cb0b2c8a30a3b1e628c # timeout=10 [arc] $ /bin/bash -xe /tmp/jenkins3140329775382395861.sh + TOOL=ansible + MODULE_NAME=https://github.com/egi-qc/ansible-arc + FAB_CMD=arc-ce + . bin/jenkins/common_functions.sh +++ pwd ++ WORKSPACE_CONFIG_DIR=/tmp/workspace/QualityCriteriaValidation/arc/_files ++ get_umd_release UMD4 ++ case $1 in ++ release_str=umd_release=4 ++ echo umd_release=4 + release=umd_release=4 ++ get_sudo_type centos7 ++ [[ centos7 == *sl6* ]] ++ sudocmd=sudo ++ echo sudo + sudocmd=sudo + deploy_config_management ansible sudo https://github.com/egi-qc/ansible-arc + sudocmd=sudo + case $1 in + module_url=https://github.com/egi-qc/ansible-arc ++ basename https://github.com/egi-qc/ansible-arc + module_name=ansible-arc + module_path=/tmp/ansible-arc + sudo pip install ansible==2.5 Collecting ansible==2.5 Downloading https://files.pythonhosted.org/packages/4a/3b/9d98e132074bb6a3f18fd811db2819fbde6fc8a26fad9a40b49e53cb2455/ansible-2.5.0.tar.gz (10.1MB) Requirement already satisfied: jinja2 in /usr/lib/python2.7/site-packages (from ansible==2.5) (2.7.2) Requirement already satisfied: PyYAML in /usr/lib64/python2.7/site-packages (from ansible==2.5) (3.10) Requirement already satisfied: paramiko in /usr/lib/python2.7/site-packages (from ansible==2.5) (1.16.0) Collecting cryptography (from ansible==2.5) Downloading https://files.pythonhosted.org/packages/e2/67/4597fc5d5de01bb44887844647ab8e73239079dd478c35c52d58a9eb3d45/cryptography-2.8-cp27-cp27mu-manylinux1_x86_64.whl (2.3MB) Requirement already satisfied: setuptools in /usr/lib/python2.7/site-packages (from ansible==2.5) (0.9.8) Requirement already satisfied: markupsafe in /usr/lib64/python2.7/site-packages (from jinja2->ansible==2.5) (0.11) Requirement already satisfied: pycrypto!=2.4,>=2.1 in /usr/lib64/python2.7/site-packages (from paramiko->ansible==2.5) (2.6.1) Requirement already satisfied: ecdsa>=0.11 in /usr/lib/python2.7/site-packages (from paramiko->ansible==2.5) (0.13) Collecting enum34; python_version < "3" (from cryptography->ansible==2.5) Downloading https://files.pythonhosted.org/packages/c5/db/e56e6b4bbac7c4a06de1c50de6fe1ef3810018ae11732a50f15f62c7d050/enum34-1.1.6-py2-none-any.whl Collecting cffi!=1.11.3,>=1.8 (from cryptography->ansible==2.5) Downloading https://files.pythonhosted.org/packages/08/29/8001b940ef40e7a25ffe8f3188bc9b118934b513d64f769dbf461e46f4ed/cffi-1.14.0-cp27-cp27mu-manylinux1_x86_64.whl (387kB) Requirement already satisfied: six>=1.4.1 in /usr/lib/python2.7/site-packages (from cryptography->ansible==2.5) (1.10.0) Requirement already satisfied: ipaddress; python_version < "3" in /usr/lib/python2.7/site-packages (from cryptography->ansible==2.5) (1.0.16) Collecting pycparser (from cffi!=1.11.3,>=1.8->cryptography->ansible==2.5) Downloading https://files.pythonhosted.org/packages/68/9e/49196946aee219aead1290e00d1e7fdeab8567783e83e1b9ab5585e6206a/pycparser-2.19.tar.gz (158kB) Installing collected packages: enum34, pycparser, cffi, cryptography, ansible Running setup.py install for pycparser: started Running setup.py install for pycparser: finished with status 'done' Running setup.py install for ansible: started Running setup.py install for ansible: finished with status 'done' Successfully installed ansible-2.5.0 cffi-1.14.0 cryptography-2.8 enum34-1.1.6 pycparser-2.19 You are using pip version 10.0.1, however version 20.0.2 is available. You should consider upgrading via the 'pip install --upgrade pip' command. + sudo rm -rf /tmp/ansible-arc + git clone https://github.com/egi-qc/ansible-arc /tmp/ansible-arc Cloning into '/tmp/ansible-arc'... + sudo ansible-galaxy install -r /tmp/ansible-arc/requirements.yml - extracting umd to /root/.ansible/roles/umd - umd (master) was installed successfully - adding dependency: geerlingguy.repo-epel - extracting grid-security to /root/.ansible/roles/grid-security - grid-security (master) was installed successfully - downloading role 'repo-epel', owned by geerlingguy - downloading role from https://github.com/geerlingguy/ansible-role-repo-epel/archive/1.2.4.tar.gz - extracting geerlingguy.repo-epel to /root/.ansible/roles/geerlingguy.repo-epel - geerlingguy.repo-epel (1.2.4) was installed successfully ++ get_repos http://admin-repo.egi.eu/sw/unverified/umd-4.arc.arc6.centos7.x86_64/6/4/1/repofiles/ARC.arc6.centos7.x86_64.repo ++ prefix=repository_file ++ multiple_arg repository_file http://admin-repo.egi.eu/sw/unverified/umd-4.arc.arc6.centos7.x86_64/6/4/1/repofiles/ARC.arc6.centos7.x86_64.repo ++ prefix=repository_file ++ shift ++ c=0 ++ repostr= ++ for i in '"$@"' ++ c=1 ++ '[' -n '' ']' ++ repostr=repository_file_1=http://admin-repo.egi.eu/sw/unverified/umd-4.arc.arc6.centos7.x86_64/6/4/1/repofiles/ARC.arc6.centos7.x86_64.repo ++ echo repository_file_1=http://admin-repo.egi.eu/sw/unverified/umd-4.arc.arc6.centos7.x86_64/6/4/1/repofiles/ARC.arc6.centos7.x86_64.repo + repos=repository_file_1=http://admin-repo.egi.eu/sw/unverified/umd-4.arc.arc6.centos7.x86_64/6/4/1/repofiles/ARC.arc6.centos7.x86_64.repo + add_hostname_as_localhost sudo + MY_DOMAIN=egi.ifca.es ++ hostname -f + [[ centos7-128.novalocal != *\e\g\i\.\i\f\c\a\.\e\s ]] ++ hostname + sudo hostname centos7-128.novalocal.egi.ifca.es ++ hostname + sudo sed -i '/^127\.0\.0\.1/ s/ localhost/ centos7-128.novalocal.egi.ifca.es localhost/' /etc/hosts + args=umd_release=4,log_path=logs,enable_untested_repo=true,enable_testing_repo=true,info_port=2135 + '[' repository_file_1=http://admin-repo.egi.eu/sw/unverified/umd-4.arc.arc6.centos7.x86_64/6/4/1/repofiles/ARC.arc6.centos7.x86_64.repo '!=' '' ']' + args=umd_release=4,log_path=logs,enable_untested_repo=true,enable_testing_repo=true,info_port=2135,repository_file_1=http://admin-repo.egi.eu/sw/unverified/umd-4.arc.arc6.centos7.x86_64/6/4/1/repofiles/ARC.arc6.centos7.x86_64.repo + sudo fab arc-ce:umd_release=4,log_path=logs,enable_untested_repo=true,enable_testing_repo=true,info_port=2135,repository_file_1=http://admin-repo.egi.eu/sw/unverified/umd-4.arc.arc6.centos7.x86_64/6/4/1/repofiles/ARC.arc6.centos7.x86_64.repo [INFO] Using UMD 4 release repository [INFO] Using UMD verification repository file: ['http://admin-repo.egi.eu/sw/unverified/umd-4.arc.arc6.centos7.x86_64/6/4/1/repofiles/ARC.arc6.centos7.x86_64.repo'] 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/arc/logs | yaim_path etc/yaim | puppet_path etc/puppet Production repositories | | umd_release_pkg http://repository.egi.eu/sw/production/umd/4/centos7/x86_64/base/umd-release-4.0.0-1.el7.noarch.rpm | igtf_repo None [INFO] Using the following repository files + http://admin-repo.egi.eu/sw/unverified/umd-4.arc.arc6.centos7.x86_64/6/4/1/repofiles/ARC.arc6.centos7.x86_64.repo [INFO] Log directory '/tmp/workspace/QualityCriteriaValidation/arc/logs' has been created. [localhost] local: sudo -E mkdir -p /etc/grid-security/certificates [localhost] local: sudo -E chown root:root /etc/grid-security [localhost] local: sudo -E chmod 0755 /etc/grid-security [INFO] Generating own certificates [localhost] local: sudo -E mkdir -p /root/UMDVerificationOwnCA [localhost] local: sudo -E openssl req -x509 -nodes -days 10 -newkey rsa:2048 -out ca.pem -outform PEM -keyout ca.key -subj '/DC=es/DC=UMDverification/CN=UMDVerificationOwnCA' [localhost] local: sudo -E openssl x509 -noout -hash -in ca.pem [localhost] local: sudo -E cp ca.pem /etc/grid-security/certificates/0d2a3bdd.0 [localhost] local: sudo -E echo "01" > crlnumber [localhost] local: sudo -E touch index.txt [localhost] local: sudo -E openssl ca -config openssl.cnf -gencrl -keyfile ca.key -cert ca.pem -out crl.pem [localhost] local: sudo -E cp crl.pem /etc/grid-security/certificates/0d2a3bdd.r0 [localhost] local: sudo -E openssl req -newkey rsa:2048 -nodes -sha1 -keyout cert.key -keyform PEM -out cert.req -outform PEM -subj '/DC=es/DC=UMDverification/CN=centos7-128.novalocal.egi.ifca.es' -config openssl.cnf [localhost] local: sudo -E openssl x509 -req -in cert.req -CA ca.pem -CAkey ca.key -CAcreateserial -extensions v3_req -extfile openssl.cnf -out cert.crt -days 10 [localhost] local: sudo -E chmod 400 cert.key [localhost] local: sudo -E cp cert.key /etc/grid-security/hostkey.pem [INFO] Private key stored in '/etc/grid-security/hostkey.pem' (with 400 perms). [localhost] local: sudo -E cp cert.crt /etc/grid-security/hostcert.pem [INFO] Public key stored in '/etc/grid-security/hostcert.pem'. [INFO] Running configuration [localhost] local: sudo -E ansible --help [INFO] Extra vars file added: /tmp/extra_vars.yaml [localhost] local: ansible-pull -vvv -C master -d /etc/ansible/roles/ansible-arc -i /etc/ansible/roles/ansible-arc/hosts -U https://github.com/egi-qc/ansible-arc --extra-vars '@/tmp/umd.yaml' --extra-vars '@/tmp/extra_vars.yaml' --tags 'all' [localhost] local: sudo -E rpm -qa [[QC_SEC_2: SHA-2 Certificates Support]] [[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. [localhost] local: sudo -E yum -y install voms-clients myproxy voms-clients-cpp [localhost] local: sudo -E openssl req -newkey rsa:2048 -nodes -sha1 -keyout cert.key -keyform PEM -out cert.req -outform PEM -subj '/DC=es/DC=UMDverification/CN=perico-palotes' -config openssl.cnf [localhost] local: sudo -E openssl x509 -req -in cert.req -CA ca.pem -CAkey ca.key -CAcreateserial -extensions v3_req -extfile openssl.cnf -out cert.crt -days 10 [localhost] local: sudo -E chmod 400 cert.key [localhost] local: sudo -E cp cert.key /tmp/userkey.crt [INFO] Private key stored in '/tmp/userkey.crt' (with 400 perms). [localhost] local: sudo -E cp cert.crt /tmp/usercert.crt [INFO] Public key stored in '/tmp/usercert.crt'. [localhost] local: sudo -E voms-proxy-fake -rfc -cert /tmp/usercert.crt -key /tmp/userkey.crt -hours 44000 -voms dteam -hostcert /etc/grid-security/hostcert.pem -hostkey /etc/grid-security/hostkey.pem -fqan /dteam/Role=NULL/Capability=NULL -uri centos7-128.novalocal.egi.ifca.es:15000 -out /tmp/umd_proxy [INFO] Fake proxy created under '/tmp/umd_proxy' [[QC_FUNC_1: Basic Funcionality Test.]] [INFO] Probe 'Test job submission through Ansible.' [localhost] local: su centos -c "./bin/arc/ansible-test.sh /tmp/umd_proxy" 2>&1 [INFO] Command 'su centos -c "./bin/arc/ansible-test.sh /tmp/umd_proxy"' 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/arc/26 + archive_artifacts_in_workspace arc-ce ansible centos7 https://jenkins.egi.ifca.es/job/QualityCriteriaValidation/arc/26 http://admin-repo.egi.eu/sw/unverified/umd-4.arc.arc6.centos7.x86_64/6/4/1/repofiles/ARC.arc6.centos7.x86_64.repo + FAB_CMD=arc-ce + TOOL=ansible + '[' -d /tmp/workspace/QualityCriteriaValidation/arc/_files ']' + mkdir /tmp/workspace/QualityCriteriaValidation/arc/_files + '[' ansible == puppet ']' + '[' ansible == ansible ']' + mkdir /tmp/workspace/QualityCriteriaValidation/arc/_files/vars + cp /tmp/extra_vars.yaml /tmp/umd.yaml /tmp/workspace/QualityCriteriaValidation/arc/_files/vars/ + publish_howtos arc-ce centos7 https://jenkins.egi.ifca.es/job/QualityCriteriaValidation/arc/26 + FAB_CMD=arc-ce + OS=centos7 + BUILD_URL=https://jenkins.egi.ifca.es/job/QualityCriteriaValidation/arc/26 + 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/centos/.ssh/known_hosts --2020-02-17 12:53:18-- 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/centos/.ssh/known_hosts’ 0K .......... .......... .......... .......... .......... 12% 503K 1s 50K .......... .......... .......... .......... .......... 24% 1.25M 0s 100K .......... .......... .......... .......... .......... 36% 3.40M 0s 150K .......... .......... .......... .......... .......... 49% 1.56M 0s 200K .......... .......... .......... .......... .......... 61% 2.46M 0s 250K .......... .......... .......... .......... .......... 73% 2.04M 0s 300K .......... .......... .......... .......... .......... 86% 2.53M 0s 350K .......... .......... .......... .......... .......... 98% 2.00M 0s 400K ...... 100% 12530G=0.3s 2020-02-17 12:53:19 (1.46 MB/s) - ‘/home/centos/.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/arc + 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 arc-ce/centos7 ']' + cp -r /tmp/workspace/QualityCriteriaValidation/arc/_files/vars arc-ce/centos7/ ++ grep -v '??' ++ git status --porcelain + '[' -n ' M arc-ce/centos7/vars/umd.yaml' ']' + git add arc-ce/centos7/ + git commit -a -m 'arc-ce/centos7/ deployment how-to (build https://jenkins.egi.ifca.es/job/QualityCriteriaValidation/arc/26)' [master 945b533] arc-ce/centos7/ deployment how-to (build https://jenkins.egi.ifca.es/job/QualityCriteriaValidation/arc/26) 1 file changed, 1 insertion(+), 1 deletion(-) + 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 e9f3a98..945b533 master -> master + cd /tmp/workspace/QualityCriteriaValidation/arc $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 1357 killed; [ssh-agent] Stopped. Archiving artifacts Finished: SUCCESS