Started by user Joao Pina [EnvInject] - Loading node environment variables. Building remotely on centos7-37 (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-U4Ok4fEUIzKh/agent.1251 SSH_AGENT_PID=1252 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /tmp/workspace/QualityCriteriaValidation/arc@tmp/private_key_4503781413867196931.key (/tmp/workspace/QualityCriteriaValidation/arc@tmp/private_key_4503781413867196931.key) [ssh-agent] Using credentials orviz 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 5961776283bb6129baef9b3b2e5976d965b22707 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 5961776283bb6129baef9b3b2e5976d965b22707 Commit message: "Use bdii class directly" > git rev-list --no-walk 58e1d794be5103e2fad715cdc4580c2c476c7e7b # timeout=10 [arc] $ /bin/bash -xe /tmp/jenkins5877334416982475224.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.2 Collecting ansible==2.2 Downloading https://files.pythonhosted.org/packages/48/da/5e51cf931e4c7849ba698654877e2951ade8f842f28f0c904453a1d317d7/ansible-2.2.0.0.tar.gz (2.4MB) Requirement already satisfied: paramiko in /usr/lib/python2.7/site-packages (from ansible==2.2) (1.16.0) Requirement already satisfied: jinja2 in /usr/lib/python2.7/site-packages (from ansible==2.2) (2.7.2) Requirement already satisfied: PyYAML in /usr/lib64/python2.7/site-packages (from ansible==2.2) (3.10) Requirement already satisfied: setuptools in /usr/lib/python2.7/site-packages (from ansible==2.2) (0.9.8) Requirement already satisfied: pycrypto>=2.6 in /usr/lib64/python2.7/site-packages (from ansible==2.2) (2.6.1) Requirement already satisfied: ecdsa>=0.11 in /usr/lib/python2.7/site-packages (from paramiko->ansible==2.2) (0.13) Requirement already satisfied: markupsafe in /usr/lib64/python2.7/site-packages (from jinja2->ansible==2.2) (0.11) 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.2.0.0 You are using pip version 10.0.1, however version 18.1 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 /etc/ansible/roles/umd - umd was installed successfully [DEPRECATION WARNING]: The comma separated role spec format, use the yaml/explicit format instead.. This feature will be removed in a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. - adding dependency: geerlingguy.repo-epel - extracting grid-security to /etc/ansible/roles/grid-security - grid-security was installed successfully - downloading role 'repo-epel', owned by geerlingguy - downloading role from https://github.com/geerlingguy/ansible-role-repo-epel/archive/1.2.3.tar.gz - extracting geerlingguy.repo-epel to /etc/ansible/roles/geerlingguy.repo-epel - geerlingguy.repo-epel was installed successfully ++ get_repos http://admin-repo.egi.eu/sw/unverified/umd-4.arc.arc.centos7.x86_64/15/03/19/repofiles/ARC.arc.centos7.x86_64.repo ++ prefix=repository_file ++ multiple_arg repository_file http://admin-repo.egi.eu/sw/unverified/umd-4.arc.arc.centos7.x86_64/15/03/19/repofiles/ARC.arc.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.arc.centos7.x86_64/15/03/19/repofiles/ARC.arc.centos7.x86_64.repo ++ echo repository_file_1=http://admin-repo.egi.eu/sw/unverified/umd-4.arc.arc.centos7.x86_64/15/03/19/repofiles/ARC.arc.centos7.x86_64.repo + repos=repository_file_1=http://admin-repo.egi.eu/sw/unverified/umd-4.arc.arc.centos7.x86_64/15/03/19/repofiles/ARC.arc.centos7.x86_64.repo + add_hostname_as_localhost sudo + MY_DOMAIN=egi.ifca.es ++ hostname -f + [[ centos7-37 != *\e\g\i\.\i\f\c\a\.\e\s ]] ++ hostname + sudo hostname centos7-37.egi.ifca.es ++ hostname + sudo sed -i '/^127\.0\.0\.1/ s/ localhost/ centos7-37.egi.ifca.es/' /etc/hosts + args=umd_release=4,log_path=logs,enable_untested_repo=false,enable_testing_repo=false,info_port=2135 + '[' repository_file_1=http://admin-repo.egi.eu/sw/unverified/umd-4.arc.arc.centos7.x86_64/15/03/19/repofiles/ARC.arc.centos7.x86_64.repo '!=' '' ']' + args=umd_release=4,log_path=logs,enable_untested_repo=false,enable_testing_repo=false,info_port=2135,repository_file_1=http://admin-repo.egi.eu/sw/unverified/umd-4.arc.arc.centos7.x86_64/15/03/19/repofiles/ARC.arc.centos7.x86_64.repo + sudo fab arc-ce:umd_release=4,log_path=logs,enable_untested_repo=false,enable_testing_repo=false,info_port=2135,repository_file_1=http://admin-repo.egi.eu/sw/unverified/umd-4.arc.arc.centos7.x86_64/15/03/19/repofiles/ARC.arc.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.arc.centos7.x86_64/15/03/19/repofiles/ARC.arc.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.arc.centos7.x86_64/15/03/19/repofiles/ARC.arc.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 1 -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-37.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 1 [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' [[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]] [localhost] local: sudo -E yum -y install glue-validator [localhost] local: sudo -E glue-validator -h localhost -p 2135 -b mds-vo-name=resource,o=grid -t glue1 [[QC_INFO_2: GlueSchema 2.0 Support]] [localhost] local: sudo -E yum -y install glue-validator [localhost] local: sudo -E glue-validator -h localhost -p 2135 -b GLUE2GroupID=resource,o=glue -t glue2 [[QC_INFO_3: Middleware Version Information]] [WARN] No middleware version found for DN: GLUE2EndpointID=urn:ogf:Endpoint:centos7-37.egi.ifca.es:ldapng:2135,GLUE2ServiceID=urn:ogf:ComputingService:centos7-37.egi.ifca.es:arex,GLUE2GroupID=services,o=glue [[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 1 [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-37.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/17 + archive_artifacts_in_workspace arc-ce ansible centos7 https://jenkins.egi.ifca.es/job/QualityCriteriaValidation/arc/17 http://admin-repo.egi.eu/sw/unverified/umd-4.arc.arc.centos7.x86_64/15/03/19/repofiles/ARC.arc.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/ + generate_readme arc-ce ansible centos7 https://jenkins.egi.ifca.es/job/QualityCriteriaValidation/arc/17 http://admin-repo.egi.eu/sw/unverified/umd-4.arc.arc.centos7.x86_64/15/03/19/repofiles/ARC.arc.centos7.x86_64.repo + FAB_CMD=arc-ce + TOOL=ansible + OS=centos7 + BUILD_URL=https://jenkins.egi.ifca.es/job/QualityCriteriaValidation/arc/17 + VERIFICATION_REPO=http://admin-repo.egi.eu/sw/unverified/umd-4.arc.arc.centos7.x86_64/15/03/19/repofiles/ARC.arc.centos7.x86_64.repo + '[' -d /tmp/workspace/QualityCriteriaValidation/arc/_files ']' + README=/tmp/workspace/QualityCriteriaValidation/arc/_files/README.md ++ get_cmt_module arc-ce ansible ++ FAB_CMD=arc-ce ++ TOOL=ansible ++ PARENT_MODULE= ++ case $FAB_CMD in ++ PARENT_MODULE=arc ++ INSTANCE=arc_ce ++ ATTR= ++ '[' ansible == puppet ']' ++ '[' ansible == ansible ']' ++ ATTR=role +++ python -c 'from umd.products import arc ; print arc.arc_ce.cfgtool.role' ++ echo https://github.com/egi-qc/ansible-arc + MODULE=https://github.com/egi-qc/ansible-arc ++ basename https://github.com/egi-qc/ansible-arc + MODULE_BASENAME=ansible-arc + '[' ansible == puppet ']' + '[' ansible == ansible ']' + [[ https://github.com/egi-qc/ansible-arc = *\h\t\t\p\s* ]] + cat + publish_howtos arc-ce centos7 https://jenkins.egi.ifca.es/job/QualityCriteriaValidation/arc/17 + FAB_CMD=arc-ce + OS=centos7 + BUILD_URL=https://jenkins.egi.ifca.es/job/QualityCriteriaValidation/arc/17 + 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 --2018-12-12 16:01:31-- https://gist.githubusercontent.com/dadrian/bad309f16e407526741e/raw/462e7ef24387948e17e68a3975b057200fc05533/known_hosts Resolving gist.githubusercontent.com (gist.githubusercontent.com)... 151.101.132.133 Connecting to gist.githubusercontent.com (gist.githubusercontent.com)|151.101.132.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 416327 (407K) [text/plain] Saving to: ‘/home/centos/.ssh/known_hosts’ 0K .......... .......... .......... .......... .......... 12% 647K 1s 50K .......... .......... .......... .......... .......... 24% 1.32M 0s 100K .......... .......... .......... .......... .......... 36% 60.0M 0s 150K .......... .......... .......... .......... .......... 49% 1.43M 0s 200K .......... .......... .......... .......... .......... 61% 17.0M 0s 250K .......... .......... .......... .......... .......... 73% 80.4M 0s 300K .......... .......... .......... .......... .......... 86% 95.0M 0s 350K .......... .......... .......... .......... .......... 98% 1.46M 0s 400K ...... 100% 12530G=0.2s 2018-12-12 16:01:32 (2.13 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/README.md /tmp/workspace/QualityCriteriaValidation/arc/_files/vars arc-ce/centos7/ + git add arc-ce/centos7/ + git commit -a -m 'arc-ce/centos7/ deployment how-to (build https://jenkins.egi.ifca.es/job/QualityCriteriaValidation/arc/17)' [master 4a53228] arc-ce/centos7/ deployment how-to (build https://jenkins.egi.ifca.es/job/QualityCriteriaValidation/arc/17) 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 aba963b..4a53228 master -> master + cd /tmp/workspace/QualityCriteriaValidation/arc $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 1252 killed; [ssh-agent] Stopped. Archiving artifacts Finished: SUCCESS