Started by user Joao Pina [EnvInject] - Loading node environment variables. Building remotely on centos7-132744 (centos7) in workspace /tmp/workspace/QualityCriteriaValidation/dpm [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-9UFSOEWtE5Mh/agent.1203 SSH_AGENT_PID=1204 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /tmp/workspace/QualityCriteriaValidation/dpm@tmp/private_key_8864131801326724395.key (/tmp/workspace/QualityCriteriaValidation/dpm@tmp/private_key_8864131801326724395.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/dpm # 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 3ec8e5e39709e2566df82e532388aaa07143c07a (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 3ec8e5e39709e2566df82e532388aaa07143c07a Commit message: "Merge branch 'master' of https://github.com/egi-qc/umd-verification" > git rev-list --no-walk 3ec8e5e39709e2566df82e532388aaa07143c07a # timeout=10 [dpm] $ /bin/bash -xe /tmp/jenkins728415344380427157.sh + TOOL=puppet + MODULE_NAME=https://github.com/egi-qc/puppet-dpm + FAB_CMD=dpm + . bin/jenkins/common_functions.sh +++ pwd ++ WORKSPACE_CONFIG_DIR=/tmp/workspace/QualityCriteriaValidation/dpm/_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 puppet sudo https://github.com/egi-qc/puppet-dpm + sudocmd=sudo + case $1 in ++ get_repos ++ prefix=repository_file ++ multiple_arg repository_file ++ prefix=repository_file ++ shift ++ c=0 ++ repostr= ++ echo + repos= + add_hostname_as_localhost sudo + MY_DOMAIN=egi.ifca.es ++ hostname -f + [[ centos7-132744.novalocal != *\e\g\i\.\i\f\c\a\.\e\s ]] ++ hostname + sudo hostname centos7-132744.novalocal.egi.ifca.es ++ hostname + sudo sed -i '/^127\.0\.0\.1/ s/ localhost/ centos7-132744.novalocal.egi.ifca.es/' /etc/hosts + args=umd_release=4,log_path=logs,enable_untested_repo=true,enable_testing_repo=true + '[' '' '!=' '' ']' + '[' -f x509_dteam_proxy ']' + [[ centos7 == *sl6* ]] + sudo fab dpm:umd_release=4,log_path=logs,enable_untested_repo=true,enable_testing_repo=true [INFO] Using UMD 4 release repository 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/dpm/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] Log directory '/tmp/workspace/QualityCriteriaValidation/dpm/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-132744.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 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 rpm --quiet -q puppetlabs-release [FAIL] Command execution has failed (reason: "") (action: no exit) [localhost] local: sudo -E rpm --quiet -q puppetlabs-release-pc1 [FAIL] Command execution has failed (reason: "") (action: no exit) [localhost] local: sudo -E rpm -ivh https://yum.puppetlabs.com/puppetlabs-release-pc1-el-7.noarch.rpm [localhost] local: sudo -E yum -y install puppet [localhost] local: sudo -E mkdir -p /etc/puppet/hieradata [localhost] local: librarian-puppet [FAIL] Command execution has failed (reason: "/bin/sh: librarian-puppet: command not found") (action: no exit) [localhost] local: sudo -E gem install librarian-puppet [localhost] local: librarian-puppet install --clean --path=/opt/puppetlabs/puppet/modules --verbose [INFO] Adding hiera parameter files: ['umd'] [localhost] local: puppet config print modulepath [localhost] local: /opt/puppetlabs/bin/puppet apply --verbose --debug --modulepath /opt/puppetlabs/puppet/modules:/etc/puppetlabs/code/environments/production/modules:/etc/puppetlabs/code/modules:/opt/puppetlabs/puppet/modules etc/puppet/dpm.pp --detail-exitcodes [FAIL] Command execution has failed (reason: "Warning: The function 'hiera' is deprecated in favor of using 'lookup'. See https://docs.puppet.com/puppet/4.10/reference/deprecated_language.html (file & line not available) Warning: /etc/puppetlabs/code/hiera.yaml: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5 (in /etc/puppetlabs/code/hiera.yaml) Warning: Unknown variable: 'lsbmajdistrelease'. at /opt/puppetlabs/puppet/modules/dpm/manifests/params.pp:81:54 Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::Array. There is further documentation for validate_legacy function in the README. at ["/opt/puppetlabs/puppet/modules/dpm/manifests/head_disknode.pp", 70]: (at /opt/puppetlabs/puppet/modules/stdlib/lib/puppet/functions/deprecation.rb:28:in `deprecation') Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::Bool. There is further documentation for validate_legacy function in the README. at ["/opt/puppetlabs/puppet/modules/dpm/manifests/head_disknode.pp", 71]: (at /opt/puppetlabs/puppet/modules/stdlib/lib/puppet/functions/deprecation.rb:28:in `deprecation') Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::Hash. There is further documentation for validate_legacy function in the README. at ["/opt/puppetlabs/puppet/modules/dpm/manifests/head_disknode.pp", 73]: (at /opt/puppetlabs/puppet/modules/stdlib/lib/puppet/functions/deprecation.rb:28:in `deprecation') Warning: The string '7' was automatically coerced to the numerical value 7 at /opt/puppetlabs/puppet/modules/lcgdm/manifests/ns/service.pp:19:39 Warning: The string '7' was automatically coerced to the numerical value 7 at /opt/puppetlabs/puppet/modules/lcgdm/manifests/dpm/service.pp:18:39 Warning: The string '7' was automatically coerced to the numerical value 7 at /opt/puppetlabs/puppet/modules/dmlite/manifests/dav/config.pp:169:39 Warning: The string '7' was automatically coerced to the numerical value 7 at /opt/puppetlabs/puppet/modules/dmlite/manifests/srm/service.pp:19:39 Warning: Unknown variable: '::package_dpm_xrootd'. at /opt/puppetlabs/puppet/modules/dmlite/manifests/xrootd.pp:170:23 Warning: The string '7' was automatically coerced to the numerical value 7 at /opt/puppetlabs/puppet/modules/dmlite/manifests/xrootd.pp:268:40 Warning: The string '7' was automatically coerced to the numerical value 7 at /opt/puppetlabs/puppet/modules/dmlite/manifests/xrootd.pp:335:40 Warning: Unknown variable: 'cmsd_instances_final'. at /opt/puppetlabs/puppet/modules/dmlite/manifests/xrootd.pp:340:25 Warning: The string '7' was automatically coerced to the numerical value 7 at /opt/puppetlabs/puppet/modules/xrootd/manifests/service.pp:21:39 Warning: This method is deprecated, please use match expressions with Stdlib::Compat::String instead. They are described at https://docs.puppet.com/puppet/latest/reference/lang_data_type.html#match-expressions. at ["/opt/puppetlabs/puppet/modules/memcached/manifests/init.pp", 38]: (at /opt/puppetlabs/puppet/modules/stdlib/lib/puppet/functions/deprecation.rb:28:in `deprecation') Warning: This method is deprecated, please use match expressions with Stdlib::Compat::Numeric instead. They are described at https://docs.puppet.com/puppet/latest/reference/lang_data_type.html#match-expressions. at ["/opt/puppetlabs/puppet/modules/dmlite/manifests/plugins/memcache/config.pp", 20]: (at /opt/puppetlabs/puppet/modules/stdlib/lib/puppet/functions/deprecation.rb:28:in `deprecation') Warning: This method is deprecated, please use the stdlib validate_legacy function, with Pattern[]. There is further documentation for validate_legacy function in the README. at ["/opt/puppetlabs/puppet/modules/dmlite/manifests/plugins/memcache/config.pp", 26]: (at /opt/puppetlabs/puppet/modules/stdlib/lib/puppet/functions/deprecation.rb:28:in `deprecation') Warning: loglevel is a metaparam; this value will inherit to all contained resources in the bdii::config definition Warning: This method is deprecated, please use match expressions with Stdlib::Compat::Array instead. They are described at https://docs.puppet.com/puppet/latest/reference/lang_data_type.html#match-expressions. at ["/opt/puppetlabs/puppet/modules/mysql/manifests/db.pp", 20]: (at /opt/puppetlabs/puppet/modules/stdlib/lib/puppet/functions/deprecation.rb:28:in `deprecation') Warning: Firewall[101 allow bdii](provider=iptables): Unable to persist firewall rules: Execution of '/usr/libexec/iptables/iptables.init save' returned 1: Warning: Firewall[101 allow bdii ipv6](provider=ip6tables): Unable to persist firewall rules: Execution of '/usr/libexec/iptables/ip6tables.init save' returned 1: ") (action: no exit) (log: ['qc_conf.stdout', 'qc_conf.stderr']) [INFO] Puppet execution ended successfully (changes were applied) [[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. [INFO] No QC-specific ID provided: no specific QC probes will be ran. + _BUILD_URL=https://jenkins.egi.ifca.es/job/QualityCriteriaValidation/dpm/43 + archive_artifacts_in_workspace dpm puppet centos7 https://jenkins.egi.ifca.es/job/QualityCriteriaValidation/dpm/43 + FAB_CMD=dpm + TOOL=puppet + '[' -d /tmp/workspace/QualityCriteriaValidation/dpm/_files ']' + mkdir /tmp/workspace/QualityCriteriaValidation/dpm/_files + '[' puppet == puppet ']' ++ get_cmt_module dpm puppet ++ FAB_CMD=dpm ++ TOOL=puppet ++ PARENT_MODULE= ++ case $FAB_CMD in ++ PARENT_MODULE=dpm ++ INSTANCE=dpm ++ ATTR= ++ '[' puppet == puppet ']' ++ ATTR=manifest +++ python -c 'from umd.products import dpm ; print dpm.dpm.cfgtool.manifest' ++ echo dpm.pp + MODULE=dpm.pp + cp /tmp/Puppetfile /tmp/workspace/QualityCriteriaValidation/dpm/_files/ + mkdir /tmp/workspace/QualityCriteriaValidation/dpm/_files/puppet + cp -r /etc/puppet/hiera.yaml /etc/puppet/hieradata /tmp/workspace/QualityCriteriaValidation/dpm/_files/puppet + mkdir /tmp/workspace/QualityCriteriaValidation/dpm/_files/puppet/manifest + cp etc/puppet/dpm.pp /tmp/workspace/QualityCriteriaValidation/dpm/_files/puppet/manifest + publish_howtos dpm centos7 https://jenkins.egi.ifca.es/job/QualityCriteriaValidation/dpm/43 + FAB_CMD=dpm + OS=centos7 + BUILD_URL=https://jenkins.egi.ifca.es/job/QualityCriteriaValidation/dpm/43 + 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 --2019-07-08 14:40:50-- 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% 814K 0s 50K .......... .......... .......... .......... .......... 24% 1.60M 0s 100K .......... .......... .......... .......... .......... 36% 85.1M 0s 150K .......... .......... .......... .......... .......... 49% 1.63M 0s 200K .......... .......... .......... .......... .......... 61% 52.5M 0s 250K .......... .......... .......... .......... .......... 73% 74.0M 0s 300K .......... .......... .......... .......... .......... 86% 96.5M 0s 350K .......... .......... .......... .......... .......... 98% 1.71M 0s 400K ...... 100% 12530G=0.2s 2019-07-08 14:40:51 (2.59 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/dpm + 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 dpm/centos7 ']' + cp -r /tmp/workspace/QualityCriteriaValidation/dpm/_files/puppet /tmp/workspace/QualityCriteriaValidation/dpm/_files/Puppetfile dpm/centos7/ + git add dpm/centos7/ + git commit -a -m 'dpm/centos7/ deployment how-to (build https://jenkins.egi.ifca.es/job/QualityCriteriaValidation/dpm/43)' [master b2b1d28] dpm/centos7/ deployment how-to (build https://jenkins.egi.ifca.es/job/QualityCriteriaValidation/dpm/43) 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 b6888ef..b2b1d28 master -> master + cd /tmp/workspace/QualityCriteriaValidation/dpm $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 1204 killed; [ssh-agent] Stopped. Archiving artifacts Finished: SUCCESS