<p dir="ltr">Can we increase the history for builds on that job?  We should be able to debug jobs at least a week back.  Artifacts are not needed</p>
<div class="gmail_quote">On May 16, 2016 11:42 PM, &quot;David Caro&quot; &lt;<a href="mailto:dcaro@redhat.com">dcaro@redhat.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 05/15 23:23, Nir Soffer wrote:<br>
&gt; Another instance:<br>
&gt;<br>
&gt; 19:38:15 Start: yum install<br>
&gt; 19:38:22 ERROR: Command failed. See logs for output.<br>
<br>
That means that there was an issue with the yum repos, most common causes are:<br>
<br>
* The repos were actually down (mirrors fail once a day usually, while syncing<br>
  the rpms, though the cause is just a guess)<br>
* Repoproxy (that we use to cache rpms) was overloaded<br>
<br>
Both jobs histories are now gone, in order to be able to debug those issues<br>
(for the next time), try looking into the mock logs, under the &#39;logs.tgz&#39; file<br>
that&#39;s archived in the job, then under the path:<br>
   /./vdsm/logs/mocker-epel-7-x86_64.el7.init/<br>
or<br>
  /./vdsm/logs/mocker-epel-7-x86_64.el7.install_packages/<br>
<br>
Usually in the log named &#39;root.log&#39; (check which one has more size).<br>
<br>
&gt;<br>
&gt; <a href="http://jenkins.ovirt.org/job/vdsm_master_check-patch-el7-x86_64/1213/console" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/vdsm_master_check-patch-el7-x86_64/1213/console</a><br>
<br>
&gt;<br>
&gt; On Sun, May 15, 2016 at 11:21 PM, Nir Soffer &lt;<a href="mailto:nsoffer@redhat.com">nsoffer@redhat.com</a>&gt; wrote:<br>
&gt; &gt; <a href="http://jenkins.ovirt.org/job/vdsm_master_check-patch-el7-x86_64/1209/console" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/vdsm_master_check-patch-el7-x86_64/1209/console</a><br>
&gt; &gt;<br>
&gt; &gt; 19:30:56 Start: yum install<br>
&gt; &gt; 19:31:03 ERROR: Command failed. See logs for output.<br>
&gt; &gt;<br>
&gt; &gt; Including the to make sure it will not disapper<br>
&gt; &gt; ----<br>
&gt; &gt;<br>
&gt; &gt; 19:30:48 Triggered by Gerrit: <a href="https://gerrit.ovirt.org/56550" rel="noreferrer" target="_blank">https://gerrit.ovirt.org/56550</a><br>
&gt; &gt; 19:30:48 Building remotely on <a href="http://fc23-vm07.phx.ovirt.org" rel="noreferrer" target="_blank">fc23-vm07.phx.ovirt.org</a> (fc23 nested) in<br>
&gt; &gt; workspace /home/jenkins/workspace/vdsm_master_check-patch-el7-x86_64<br>
&gt; &gt; 19:30:48  &gt; git rev-parse --is-inside-work-tree # timeout=10<br>
&gt; &gt; 19:30:49 Fetching changes from the remote Git repository<br>
&gt; &gt; 19:30:49  &gt; git config remote.origin.url<br>
&gt; &gt; git://<a href="http://gerrit.ovirt.org/vdsm.git" rel="noreferrer" target="_blank">gerrit.ovirt.org/vdsm.git</a> # timeout=10<br>
&gt; &gt; 19:30:49 Cleaning workspace<br>
&gt; &gt; 19:30:49  &gt; git rev-parse --verify HEAD # timeout=10<br>
&gt; &gt; 19:30:49 Resetting working tree<br>
&gt; &gt; 19:30:49  &gt; git reset --hard # timeout=10<br>
&gt; &gt; 19:30:49  &gt; git clean -fdx # timeout=10<br>
&gt; &gt; 19:30:49 Pruning obsolete local branches<br>
&gt; &gt; 19:30:49 Fetching upstream changes from git://<a href="http://gerrit.ovirt.org/vdsm.git" rel="noreferrer" target="_blank">gerrit.ovirt.org/vdsm.git</a><br>
&gt; &gt; 19:30:49  &gt; git --version # timeout=10<br>
&gt; &gt; 19:30:49  &gt; git -c core.askpass=true fetch --tags --progress<br>
&gt; &gt; git://<a href="http://gerrit.ovirt.org/vdsm.git" rel="noreferrer" target="_blank">gerrit.ovirt.org/vdsm.git</a> refs/changes/50/56550/6 --prune<br>
&gt; &gt; 19:30:52  &gt; git rev-parse<br>
&gt; &gt; 0940208483f3a21261eb5d725348e65c23becdc0^{commit} # timeout=10<br>
&gt; &gt; 19:30:52 Checking out Revision 0940208483f3a21261eb5d725348e65c23becdc0 (master)<br>
&gt; &gt; 19:30:52  &gt; git config core.sparsecheckout # timeout=10<br>
&gt; &gt; 19:30:52  &gt; git checkout -f 0940208483f3a21261eb5d725348e65c23becdc0<br>
&gt; &gt; 19:30:52  &gt; git rev-parse FETCH_HEAD^{commit} # timeout=10<br>
&gt; &gt; 19:30:52  &gt; git rev-list a09c577837b939096f97108fdbbcafe5980d4a0d # timeout=10<br>
&gt; &gt; 19:30:52  &gt; git branch -a # timeout=10<br>
&gt; &gt; 19:30:52  &gt; git rev-parse remotes/origin/master^{commit} # timeout=10<br>
&gt; &gt; 19:30:52  &gt; git rev-parse remotes/origin/ovirt-3.1^{commit} # timeout=10<br>
&gt; &gt; 19:30:52  &gt; git rev-parse remotes/origin/ovirt-3.2^{commit} # timeout=10<br>
&gt; &gt; 19:30:52  &gt; git rev-parse remotes/origin/ovirt-3.3^{commit} # timeout=10<br>
&gt; &gt; 19:30:52  &gt; git rev-parse remotes/origin/ovirt-3.3.0^{commit} # timeout=10<br>
&gt; &gt; 19:30:52  &gt; git rev-parse remotes/origin/ovirt-3.4^{commit} # timeout=10<br>
&gt; &gt; 19:30:52  &gt; git rev-parse remotes/origin/ovirt-3.5^{commit} # timeout=10<br>
&gt; &gt; 19:30:52  &gt; git rev-parse remotes/origin/ovirt-3.5-gluster^{commit} # timeout=10<br>
&gt; &gt; 19:30:52  &gt; git rev-parse remotes/origin/ovirt-3.5.0^{commit} # timeout=10<br>
&gt; &gt; 19:30:52  &gt; git rev-parse remotes/origin/ovirt-3.5.2^{commit} # timeout=10<br>
&gt; &gt; 19:30:52  &gt; git rev-parse remotes/origin/ovirt-3.5.4^{commit} # timeout=10<br>
&gt; &gt; 19:30:52  &gt; git rev-parse remotes/origin/ovirt-3.5.6^{commit} # timeout=10<br>
&gt; &gt; 19:30:52  &gt; git rev-parse remotes/origin/ovirt-3.6^{commit} # timeout=10<br>
&gt; &gt; 19:30:52  &gt; git rev-parse remotes/origin/ovirt-3.6.0^{commit} # timeout=10<br>
&gt; &gt; 19:30:52  &gt; git rev-parse remotes/origin/ovirt-3.6.1^{commit} # timeout=10<br>
&gt; &gt; 19:30:52  &gt; git rev-parse remotes/origin/ovirt-3.6.2^{commit} # timeout=10<br>
&gt; &gt; 19:30:52  &gt; git rev-parse remotes/origin/ovirt-3.6.3^{commit} # timeout=10<br>
&gt; &gt; 19:30:53  &gt; git rev-parse --is-inside-work-tree # timeout=10<br>
&gt; &gt; 19:30:53 Fetching changes from the remote Git repository<br>
&gt; &gt; 19:30:53  &gt; git config remote.origin.url<br>
&gt; &gt; git://<a href="http://gerrit.ovirt.org/jenkins.git" rel="noreferrer" target="_blank">gerrit.ovirt.org/jenkins.git</a> # timeout=10<br>
&gt; &gt; 19:30:53 Cleaning workspace<br>
&gt; &gt; 19:30:53  &gt; git rev-parse --verify HEAD # timeout=10<br>
&gt; &gt; 19:30:53 Resetting working tree<br>
&gt; &gt; 19:30:53  &gt; git reset --hard # timeout=10<br>
&gt; &gt; 19:30:53  &gt; git clean -fdx # timeout=10<br>
&gt; &gt; 19:30:53 Pruning obsolete local branches<br>
&gt; &gt; 19:30:53 Fetching upstream changes from git://<a href="http://gerrit.ovirt.org/jenkins.git" rel="noreferrer" target="_blank">gerrit.ovirt.org/jenkins.git</a><br>
&gt; &gt; 19:30:53  &gt; git --version # timeout=10<br>
&gt; &gt; 19:30:53  &gt; git -c core.askpass=true fetch --tags --progress<br>
&gt; &gt; git://<a href="http://gerrit.ovirt.org/jenkins.git" rel="noreferrer" target="_blank">gerrit.ovirt.org/jenkins.git</a> +refs/heads/*:refs/remotes/origin/*<br>
&gt; &gt; --prune<br>
&gt; &gt; 19:30:53  &gt; git rev-parse origin/master^{commit} # timeout=10<br>
&gt; &gt; 19:30:53 Checking out Revision<br>
&gt; &gt; 68a517c3ccc1fe58a6c52646e3a99f3ab22ddab9 (origin/master)<br>
&gt; &gt; 19:30:53  &gt; git config core.sparsecheckout # timeout=10<br>
&gt; &gt; 19:30:53  &gt; git checkout -f 68a517c3ccc1fe58a6c52646e3a99f3ab22ddab9<br>
&gt; &gt; 19:30:53  &gt; git rev-list 68a517c3ccc1fe58a6c52646e3a99f3ab22ddab9 # timeout=10<br>
&gt; &gt; 19:30:53  &gt; git branch -a # timeout=10<br>
&gt; &gt; 19:30:53  &gt; git rev-parse remotes/origin/master^{commit} # timeout=10<br>
&gt; &gt; 19:30:53 [vdsm_master_check-patch-el7-x86_64] $ /bin/bash -e<br>
&gt; &gt; /tmp/hudson8265618520208925180.sh<br>
&gt; &gt; 19:30:53 shell-scripts/cleanup_slave.sh<br>
&gt; &gt; 19:30:53 ###################################################################<br>
&gt; &gt; 19:30:53 #    Cleaning up slave                                            #<br>
&gt; &gt; 19:30:53 ###################################################################<br>
&gt; &gt; 19:30:53 Filesystem                                  Size  Used Avail<br>
&gt; &gt; Use% Mounted on<br>
&gt; &gt; 19:30:53 devtmpfs                                    3.9G     0  3.9G   0% /dev<br>
&gt; &gt; 19:30:53 tmpfs                                       3.9G     0  3.9G<br>
&gt; &gt;  0% /dev/shm<br>
&gt; &gt; 19:30:53 tmpfs                                       3.9G  2.1M  3.9G   1% /run<br>
&gt; &gt; 19:30:53 tmpfs                                       3.9G     0  3.9G<br>
&gt; &gt;  0% /sys/fs/cgroup<br>
&gt; &gt; 19:30:53 /dev/mapper/fedora--server_fc23--base-root   35G  6.4G   27G  20% /<br>
&gt; &gt; 19:30:53 tmpfs                                       3.9G  244K  3.9G   1% /tmp<br>
&gt; &gt; 19:30:53 /dev/vda1                                   988M   94M  828M  11% /boot<br>
&gt; &gt; 19:30:53 tmpfs                                       799M     0  799M<br>
&gt; &gt;  0% /run/user/1000<br>
&gt; &gt; 19:30:53 ---------------------------------------------------------------<br>
&gt; &gt; 19:30:53 Cleaning up postgres databases<br>
&gt; &gt; 19:30:53     Postgres installation not found, skipping<br>
&gt; &gt; 19:30:53 Cleaning up journal logs (if any)<br>
&gt; &gt; 19:30:53 Redirecting to /bin/systemctl restart  systemd-journald.service<br>
&gt; &gt; 19:30:54 Cleaning up /var/tmp<br>
&gt; &gt; 19:30:54 done<br>
&gt; &gt; 19:30:54 Emptying some common logs<br>
&gt; &gt; 19:30:54     /var/log/wtmp<br>
&gt; &gt; 19:30:54 Done<br>
&gt; &gt; 19:30:54 Making sure there are no device mappings...<br>
&gt; &gt; 19:30:54 Removing the used loop devices...<br>
&gt; &gt; 19:30:54 Redirecting to /bin/systemctl restart  libvirtd.service<br>
&gt; &gt; 19:30:54 ---------------------------------------------------------------<br>
&gt; &gt; 19:30:54 Filesystem                                  Size  Used Avail<br>
&gt; &gt; Use% Mounted on<br>
&gt; &gt; 19:30:54 devtmpfs                                    3.9G     0  3.9G   0% /dev<br>
&gt; &gt; 19:30:54 tmpfs                                       3.9G     0  3.9G<br>
&gt; &gt;  0% /dev/shm<br>
&gt; &gt; 19:30:54 tmpfs                                       3.9G  2.1M  3.9G   1% /run<br>
&gt; &gt; 19:30:54 tmpfs                                       3.9G     0  3.9G<br>
&gt; &gt;  0% /sys/fs/cgroup<br>
&gt; &gt; 19:30:54 /dev/mapper/fedora--server_fc23--base-root   35G  6.4G   27G  20% /<br>
&gt; &gt; 19:30:54 tmpfs                                       3.9G  244K  3.9G   1% /tmp<br>
&gt; &gt; 19:30:54 /dev/vda1                                   988M   94M  828M  11% /boot<br>
&gt; &gt; 19:30:54 tmpfs                                       799M     0  799M<br>
&gt; &gt;  0% /run/user/1000<br>
&gt; &gt; 19:30:54 ###################################################################<br>
&gt; &gt; 19:30:54 #    Slave cleanup done                                           #<br>
&gt; &gt; 19:30:54 ###################################################################<br>
&gt; &gt; 19:30:54 [vdsm_master_check-patch-el7-x86_64] $ /bin/bash -xe<br>
&gt; &gt; /tmp/hudson7354644880288923842.sh<br>
&gt; &gt; 19:30:54 + echo shell-scripts/global_setup.sh<br>
&gt; &gt; 19:30:54 shell-scripts/global_setup.sh<br>
&gt; &gt; 19:30:54 + rm -rf /home/jenkins/workspace/vdsm_master_check-patch-el7-x86_64/tmp<br>
&gt; &gt; 19:30:54 + mkdir -p<br>
&gt; &gt; /home/jenkins/workspace/vdsm_master_check-patch-el7-x86_64/tmp<br>
&gt; &gt; 19:30:54 [vdsm_master_check-patch-el7-x86_64] $ /bin/bash -xe<br>
&gt; &gt; /tmp/hudson4023353013258685526.sh<br>
&gt; &gt; 19:30:54 + echo shell-scripts/mock_setup.sh<br>
&gt; &gt; 19:30:54 shell-scripts/mock_setup.sh<br>
&gt; &gt; 19:30:54 + shopt -s nullglob<br>
&gt; &gt; 19:30:54 + [[ &#39;&#39; == \t\r\u\e ]]<br>
&gt; &gt; 19:30:54 + failed=false<br>
&gt; &gt; 19:30:54 + mock_dir=/home/jenkins/workspace/vdsm_master_check-patch-el7-x86_64/mock<br>
&gt; &gt; 19:30:54 + chroots=(&quot;$WORKSPACE&quot;/mock/*)<br>
&gt; &gt; 19:30:54 + false<br>
&gt; &gt; 19:30:54 + sudo rm -Rf mock mock-cache exported-artifacts<br>
&gt; &gt; 19:30:54 + mkdir -p mock exported-artifacts<br>
&gt; &gt; 19:30:54 + chgrp mock mock<br>
&gt; &gt; /home/jenkins/workspace/vdsm_master_check-patch-el7-x86_64<br>
&gt; &gt; /home/jenkins/workspace/vdsm_master_check-patch-el7-x86_64/exported-artifacts<br>
&gt; &gt; 19:30:54 + chmod g+rws mock<br>
&gt; &gt; 19:30:54 + sudo touch<br>
&gt; &gt; 19:30:54 + :<br>
&gt; &gt; 19:30:54 + sudo yum clean all<br>
&gt; &gt; 19:30:54 Yum command has been deprecated, redirecting to &#39;/usr/bin/dnf<br>
&gt; &gt; clean all&#39;.<br>
&gt; &gt; 19:30:54 See &#39;man dnf&#39; and &#39;man yum2dnf&#39; for more information.<br>
&gt; &gt; 19:30:54 To transfer transaction metadata from yum to DNF, run:<br>
&gt; &gt; 19:30:54 &#39;dnf install python-dnf-plugins-extras-migrate &amp;&amp; dnf-2 migrate&#39;<br>
&gt; &gt; 19:30:54<br>
&gt; &gt; 19:30:55 Cleaning repos: updates ci-tools fedora<br>
&gt; &gt; 19:30:55 Cleaning up Everything<br>
&gt; &gt; 19:30:55 + exit 0<br>
&gt; &gt; 19:30:55 [vdsm_master_check-patch-el7-x86_64] $ /bin/bash -e<br>
&gt; &gt; /tmp/hudson4405890361943185034.sh<br>
&gt; &gt; 19:30:55 shell-scripts/standard_check_patch.sh<br>
&gt; &gt; 19:30:55 ##########################################################<br>
&gt; &gt; 19:30:55 ##########################################################<br>
&gt; &gt; 19:30:55 ## Sun May 15 15:30:55 EDT 2016 Running env: el7:epel-7-x86_64<br>
&gt; &gt; 19:30:55 ##########################################################<br>
&gt; &gt; 19:30:55 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@<br>
&gt; &gt; 19:30:55 @@ Sun May 15 15:30:55 EDT 2016 Running chroot for script:<br>
&gt; &gt; automation/check-patch.sh<br>
&gt; &gt; 19:30:55 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@<br>
&gt; &gt; 19:30:55 Using base mock conf<br>
&gt; &gt; /home/jenkins/workspace/vdsm_master_check-patch-el7-x86_64/jenkins/mock_configs/epel-7-x86_64.cfg<br>
&gt; &gt; 19:30:55 Using proxified config<br>
&gt; &gt; /home/jenkins/workspace/vdsm_master_check-patch-el7-x86_64/jenkins/mock_configs/epel-7-x86_64_proxied.cfg<br>
&gt; &gt; 19:30:55 Generating temporary mock conf<br>
&gt; &gt; /home/jenkins/workspace/vdsm_master_check-patch-el7-x86_64/vdsm/mocker-epel-7-x86_64.el7<br>
&gt; &gt; 19:30:55 Skipping mount points<br>
&gt; &gt; 19:30:55 Using temp chroot = epel-7-x86_64-46ef12ce4362729a0f4c411e00edd8fc<br>
&gt; &gt; 19:30:55 Adding repo ovirt-snapshot -&gt;<br>
&gt; &gt; <a href="http://resources.ovirt.org/pub/ovirt-master-snapshot/rpm/el7" rel="noreferrer" target="_blank">http://resources.ovirt.org/pub/ovirt-master-snapshot/rpm/el7</a><br>
&gt; &gt; 19:30:55 Adding repo ovirt-snapshot-static -&gt;<br>
&gt; &gt; <a href="http://resources.ovirt.org/pub/ovirt-master-snapshot-static/rpm/el7" rel="noreferrer" target="_blank">http://resources.ovirt.org/pub/ovirt-master-snapshot-static/rpm/el7</a><br>
&gt; &gt; 19:30:55 Adding repo centos-glusterfs -&gt;<br>
&gt; &gt; <a href="http://mirror.centos.org/centos/7/storage/x86_64/gluster-3.7/" rel="noreferrer" target="_blank">http://mirror.centos.org/centos/7/storage/x86_64/gluster-3.7/</a><br>
&gt; &gt; 19:30:55 Adding repo centos-ovirt40-candidate -&gt;<br>
&gt; &gt; <a href="http://cbs.centos.org/repos/virt7-ovirt-40-candidate/x86_64/os/" rel="noreferrer" target="_blank">http://cbs.centos.org/repos/virt7-ovirt-40-candidate/x86_64/os/</a><br>
&gt; &gt; 19:30:55 Adding repo lago -&gt;<br>
&gt; &gt; <a href="http://resources.ovirt.org/repos/lago/stable/0.0/rpm/el7" rel="noreferrer" target="_blank">http://resources.ovirt.org/repos/lago/stable/0.0/rpm/el7</a><br>
&gt; &gt; 19:30:55 Adding repo epel -&gt; <a href="http://download.fedoraproject.org/pub/epel/7/x86_64" rel="noreferrer" target="_blank">http://download.fedoraproject.org/pub/epel/7/x86_64</a><br>
&gt; &gt; 19:30:55 ========== Initializing chroot<br>
&gt; &gt; 19:30:55     mock \<br>
&gt; &gt; 19:30:55<br>
&gt; &gt; --configdir=&quot;/home/jenkins/workspace/vdsm_master_check-patch-el7-x86_64/vdsm&quot;<br>
&gt; &gt; \<br>
&gt; &gt; 19:30:55         --root=&quot;mocker-epel-7-x86_64.el7&quot; \<br>
&gt; &gt; 19:30:55         --resultdir=&quot;logs/mocker-epel-7-x86_64.el7.init&quot; \<br>
&gt; &gt; 19:30:55         --init<br>
&gt; &gt; 19:30:55 WARNING: Could not find required logging config file:<br>
&gt; &gt; /home/jenkins/workspace/vdsm_master_check-patch-el7-x86_64/vdsm/logging.ini.<br>
&gt; &gt; Using default...<br>
&gt; &gt; 19:30:55 INFO: mock.py version 1.2.14 starting (python version = 3.4.3)...<br>
&gt; &gt; 19:30:55 Start: init plugins<br>
&gt; &gt; 19:30:55 INFO: selinux enabled<br>
&gt; &gt; 19:30:55 Finish: init plugins<br>
&gt; &gt; 19:30:55 Start: run<br>
&gt; &gt; 19:30:55 Start: clean chroot<br>
&gt; &gt; 19:30:55 Finish: clean chroot<br>
&gt; &gt; 19:30:55 Start: chroot init<br>
&gt; &gt; 19:30:55 INFO: calling preinit hooks<br>
&gt; &gt; 19:30:55 INFO: enabled root cache<br>
&gt; &gt; 19:30:55 INFO: enabled yum cache<br>
&gt; &gt; 19:30:55 Start: cleaning yum metadata<br>
&gt; &gt; 19:30:55 Finish: cleaning yum metadata<br>
&gt; &gt; 19:30:55 INFO: enabled ccache<br>
&gt; &gt; 19:30:55 Mock Version: 1.2.14<br>
&gt; &gt; 19:30:55 INFO: Mock Version: 1.2.14<br>
&gt; &gt; 19:30:56 Start: yum install<br>
&gt; &gt; 19:31:03 ERROR: Command failed. See logs for output.<br>
&gt; &gt; 19:31:03  # /usr/bin/yum-deprecated --installroot<br>
&gt; &gt; /var/lib/mock/epel-7-x86_64-46ef12ce4362729a0f4c411e00edd8fc/root/<br>
&gt; &gt; --releasever 7 install @buildsys-build --setopt=tsflags=nocontexts<br>
&gt; &gt; 19:31:03 Init took 8 seconds<br>
&gt; &gt; 19:31:03 ============================<br>
&gt; &gt; 19:31:03 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@<br>
&gt; &gt; 19:31:03 @@ Sun May 15 15:31:03 EDT 2016 automation/check-patch.sh<br>
&gt; &gt; chroot finished<br>
&gt; &gt; 19:31:03 @@      took 8 seconds<br>
&gt; &gt; 19:31:03 @@      rc = 1<br>
&gt; &gt; 19:31:03 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@<br>
&gt; &gt; 19:31:03 ##########################################################<br>
&gt; &gt; 19:31:03 ## Sun May 15 15:31:03 EDT 2016 Finished env: el7:epel-7-x86_64<br>
&gt; &gt; 19:31:03 ##      took 8 seconds<br>
&gt; &gt; 19:31:03 ##      rc = 1<br>
&gt; &gt; 19:31:03 ##########################################################<br>
&gt; &gt; 19:31:03 ##! ERROR vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv<br>
&gt; &gt; 19:31:03 ##! Last 20 log enties:<br>
&gt; &gt; logs/mocker-epel-7-x86_64.el7.init/stdout_stderr.log<br>
&gt; &gt; 19:31:03 ##!<br>
&gt; &gt; 19:31:03 ========== Initializing chroot<br>
&gt; &gt; 19:31:03     mock \<br>
&gt; &gt; 19:31:03<br>
&gt; &gt; --configdir=&quot;/home/jenkins/workspace/vdsm_master_check-patch-el7-x86_64/vdsm&quot;<br>
&gt; &gt; \<br>
&gt; &gt; 19:31:03         --root=&quot;mocker-epel-7-x86_64.el7&quot; \<br>
&gt; &gt; 19:31:03         --resultdir=&quot;logs/mocker-epel-7-x86_64.el7.init&quot; \<br>
&gt; &gt; 19:31:03         --init<br>
&gt; &gt; 19:31:03 Init took 8 seconds<br>
&gt; &gt; 19:31:03 ============================<br>
&gt; &gt; 19:31:03 ##!<br>
&gt; &gt; 19:31:03 ##! ERROR ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^<br>
&gt; &gt; 19:31:03 ##!########################################################<br>
&gt; &gt; 19:31:03 Build step &#39;Execute shell&#39; marked build as failure<br>
&gt; &gt; 19:31:03 Performing Post build task...<br>
&gt; &gt; 19:31:03 Match found for :.* : True<br>
&gt; &gt; 19:31:03 Logical operation result is TRUE<br>
&gt; &gt; 19:31:03 Running script  : #!/bin/bash -xe<br>
&gt; &gt; 19:31:03 echo &quot;shell-scripts/mock_cleanup.sh&quot;<br>
&gt; &gt; 19:31:03<br>
&gt; &gt; 19:31:03 shopt -s nullglob<br>
&gt; &gt; 19:31:03<br>
&gt; &gt; 19:31:03<br>
&gt; &gt; 19:31:03 WORKSPACE=&quot;$PWD&quot;<br>
&gt; &gt; 19:31:03<br>
&gt; &gt; 19:31:03 # Make clear this is the cleanup, helps reading the jenkins logs<br>
&gt; &gt; 19:31:03 cat &lt;&lt;EOC<br>
&gt; &gt; 19:31:03 _______________________________________________________________________<br>
&gt; &gt; 19:31:03 #######################################################################<br>
&gt; &gt; 19:31:03 #                                                                     #<br>
&gt; &gt; 19:31:03 #                               CLEANUP                               #<br>
&gt; &gt; 19:31:03 #                                                                     #<br>
&gt; &gt; 19:31:03 #######################################################################<br>
&gt; &gt; 19:31:03 EOC<br>
&gt; &gt; 19:31:03<br>
&gt; &gt; 19:31:03<br>
&gt; &gt; 19:31:03 # Archive the logs, we want them anyway<br>
&gt; &gt; 19:31:03 logs=(<br>
&gt; &gt; 19:31:03     ./*log<br>
&gt; &gt; 19:31:03     ./*/logs<br>
&gt; &gt; 19:31:03 )<br>
&gt; &gt; 19:31:03 if [[ &quot;$logs&quot; ]]; then<br>
&gt; &gt; 19:31:03     tar cvzf exported-artifacts/logs.tgz &quot;${logs[@]}&quot;<br>
&gt; &gt; 19:31:03     rm -rf &quot;${logs[@]}&quot;<br>
&gt; &gt; 19:31:03 fi<br>
&gt; &gt; 19:31:03<br>
&gt; &gt; 19:31:03 # stop any processes running inside the chroot<br>
&gt; &gt; 19:31:03 failed=false<br>
&gt; &gt; 19:31:03 mock_confs=(&quot;$WORKSPACE&quot;/*/mocker*)<br>
&gt; &gt; 19:31:03 # Clean current jobs mockroot if any<br>
&gt; &gt; 19:31:03 for mock_conf_file in &quot;${mock_confs[@]}&quot;; do<br>
&gt; &gt; 19:31:03     [[ &quot;$mock_conf_file&quot; ]] || continue<br>
&gt; &gt; 19:31:03     echo &quot;Cleaning up mock $mock_conf&quot;<br>
&gt; &gt; 19:31:03     mock_root=&quot;${mock_conf_file##*/}&quot;<br>
&gt; &gt; 19:31:03     mock_root=&quot;${mock_root%.*}&quot;<br>
&gt; &gt; 19:31:03     my_mock=&quot;/usr/bin/mock&quot;<br>
&gt; &gt; 19:31:03     my_mock+=&quot; --configdir=${mock_conf_file%/*}&quot;<br>
&gt; &gt; 19:31:03     my_mock+=&quot; --root=${mock_root}&quot;<br>
&gt; &gt; 19:31:03     my_mock+=&quot; --resultdir=$WORKSPACE&quot;<br>
&gt; &gt; 19:31:03<br>
&gt; &gt; 19:31:03     #TODO: investigate why mock --clean fails to umount<br>
&gt; &gt; certain dirs sometimes,<br>
&gt; &gt; 19:31:03     #so we can use it instead of manually doing all this.<br>
&gt; &gt; 19:31:03     echo &quot;Killing all mock orphan processes, if any.&quot;<br>
&gt; &gt; 19:31:03     $my_mock \<br>
&gt; &gt; 19:31:03         --orphanskill \<br>
&gt; &gt; 19:31:03     || {<br>
&gt; &gt; 19:31:03         echo &quot;ERROR:  Failed to kill orphans on $chroot.&quot;<br>
&gt; &gt; 19:31:03         failed=true<br>
&gt; &gt; 19:31:03     }<br>
&gt; &gt; 19:31:03<br>
&gt; &gt; 19:31:03     mock_root=&quot;$(\<br>
&gt; &gt; 19:31:03         grep \<br>
&gt; &gt; 19:31:03             -Po &quot;(?&lt;=config_opts\[&#39;root&#39;\] = &#39;)[^&#39;]*&quot; \<br>
&gt; &gt; 19:31:03             &quot;$mock_conf_file&quot; \<br>
&gt; &gt; 19:31:03     )&quot; || :<br>
&gt; &gt; 19:31:03     [[ &quot;$mock_root&quot; ]] || continue<br>
&gt; &gt; 19:31:03     mounts=($(mount | awk &#39;{print $3}&#39; | grep &quot;$mock_root&quot;)) || :<br>
&gt; &gt; 19:31:03     if [[ &quot;$mounts&quot; ]]; then<br>
&gt; &gt; 19:31:03         echo &quot;Found mounted dirs inside the chroot $chroot.<br>
&gt; &gt; Trying to umount.&quot;<br>
&gt; &gt; 19:31:03     fi<br>
&gt; &gt; 19:31:03     for mount in &quot;${mounts[@]}&quot;; do<br>
&gt; &gt; 19:31:03         sudo umount &quot;$mount&quot; \<br>
&gt; &gt; 19:31:03         || {<br>
&gt; &gt; 19:31:03             echo &quot;ERROR:  Failed to umount $mount.&quot;<br>
&gt; &gt; 19:31:03             failed=true<br>
&gt; &gt; 19:31:03         }<br>
&gt; &gt; 19:31:03     done<br>
&gt; &gt; 19:31:03 done<br>
&gt; &gt; 19:31:03<br>
&gt; &gt; 19:31:03 # Clean any leftover chroot from other jobs<br>
&gt; &gt; 19:31:03 for mock_root in /var/lib/mock/*; do<br>
&gt; &gt; 19:31:03     this_chroot_failed=false<br>
&gt; &gt; 19:31:03     mounts=($(mount | awk &#39;{print $3}&#39; | grep &quot;$mock_root&quot;)) || :<br>
&gt; &gt; 19:31:03     if [[ &quot;$mounts&quot; ]]; then<br>
&gt; &gt; 19:31:03         echo &quot;Found mounted dirs inside the chroot $mock_root.&quot; \<br>
&gt; &gt; 19:31:03              &quot;Trying to umount.&quot;<br>
&gt; &gt; 19:31:03     fi<br>
&gt; &gt; 19:31:03     for mount in &quot;${mounts[@]}&quot;; do<br>
&gt; &gt; 19:31:03         sudo umount &quot;$mount&quot; \<br>
&gt; &gt; 19:31:03         || {<br>
&gt; &gt; 19:31:03             echo &quot;ERROR:  Failed to umount $mount.&quot;<br>
&gt; &gt; 19:31:03             failed=true<br>
&gt; &gt; 19:31:03             this_chroot_failed=true<br>
&gt; &gt; 19:31:03         }<br>
&gt; &gt; 19:31:03     done<br>
&gt; &gt; 19:31:03     if ! $this_chroot_failed; then<br>
&gt; &gt; 19:31:03         sudo rm -rf &quot;$mock_root&quot;<br>
&gt; &gt; 19:31:03     fi<br>
&gt; &gt; 19:31:03 done<br>
&gt; &gt; 19:31:03<br>
&gt; &gt; 19:31:03 if $failed; then<br>
&gt; &gt; 19:31:03     echo &quot;Aborting.&quot;<br>
&gt; &gt; 19:31:03     exit 1<br>
&gt; &gt; 19:31:03 fi<br>
&gt; &gt; 19:31:03<br>
&gt; &gt; 19:31:03 # remove mock system cache, we will setup proxies to do the<br>
&gt; &gt; caching and this<br>
&gt; &gt; 19:31:03 # takes lots of space between runs<br>
&gt; &gt; 19:31:03 shopt -u nullglob<br>
&gt; &gt; 19:31:03 sudo rm -Rf /var/cache/mock/*<br>
&gt; &gt; 19:31:03<br>
&gt; &gt; 19:31:03 # restore the permissions in the working dir, as sometimes it<br>
&gt; &gt; leaves files<br>
&gt; &gt; 19:31:03 # owned by root and then the &#39;cleanup workspace&#39; from jenkins<br>
&gt; &gt; job fails to<br>
&gt; &gt; 19:31:03 # clean and breaks the jobs<br>
&gt; &gt; 19:31:03 sudo chown -R &quot;$USER&quot; &quot;$WORKSPACE&quot;<br>
&gt; &gt; 19:31:03<br>
&gt; &gt; 19:31:03 [vdsm_master_check-patch-el7-x86_64] $ /bin/bash -xe<br>
&gt; &gt; /tmp/hudson3681642653853563663.sh<br>
&gt; &gt; 19:31:03 + echo shell-scripts/mock_cleanup.sh<br>
&gt; &gt; 19:31:03 shell-scripts/mock_cleanup.sh<br>
&gt; &gt; 19:31:03 + shopt -s nullglob<br>
&gt; &gt; 19:31:03 + WORKSPACE=/home/jenkins/workspace/vdsm_master_check-patch-el7-x86_64<br>
&gt; &gt; 19:31:03 + cat<br>
&gt; &gt; 19:31:03 _______________________________________________________________________<br>
&gt; &gt; 19:31:03 #######################################################################<br>
&gt; &gt; 19:31:03 #                                                                     #<br>
&gt; &gt; 19:31:03 #                               CLEANUP                               #<br>
&gt; &gt; 19:31:03 #                                                                     #<br>
&gt; &gt; 19:31:03 #######################################################################<br>
&gt; &gt; 19:31:03 + logs=(./*log ./*/logs)<br>
&gt; &gt; 19:31:03 + [[ -n ./vdsm/logs ]]<br>
&gt; &gt; 19:31:03 + tar cvzf exported-artifacts/logs.tgz ./vdsm/logs<br>
&gt; &gt; 19:31:03 ./vdsm/logs/<br>
&gt; &gt; 19:31:03 ./vdsm/logs/mocker-epel-7-x86_64.el7.init/<br>
&gt; &gt; 19:31:03 ./vdsm/logs/mocker-epel-7-x86_64.el7.init/root.log<br>
&gt; &gt; 19:31:03 ./vdsm/logs/mocker-epel-7-x86_64.el7.init/state.log<br>
&gt; &gt; 19:31:03 ./vdsm/logs/mocker-epel-7-x86_64.el7.init/stdout_stderr.log<br>
&gt; &gt; 19:31:03 ./vdsm/logs/mocker-epel-7-x86_64.el7.init/build.log<br>
&gt; &gt; 19:31:03 + rm -rf ./vdsm/logs<br>
&gt; &gt; 19:31:03 + failed=false<br>
&gt; &gt; 19:31:03 + mock_confs=(&quot;$WORKSPACE&quot;/*/mocker*)<br>
&gt; &gt; 19:31:03 + for mock_conf_file in &#39;&quot;${mock_confs[@]}&quot;&#39;<br>
&gt; &gt; 19:31:03 + [[ -n<br>
&gt; &gt; /home/jenkins/workspace/vdsm_master_check-patch-el7-x86_64/vdsm/mocker-epel-7-x86_64.el7.cfg<br>
&gt; &gt; ]]<br>
&gt; &gt; 19:31:03 + echo &#39;Cleaning up mock &#39;<br>
&gt; &gt; 19:31:03 Cleaning up mock<br>
&gt; &gt; 19:31:03 + mock_root=mocker-epel-7-x86_64.el7.cfg<br>
&gt; &gt; 19:31:03 + mock_root=mocker-epel-7-x86_64.el7<br>
&gt; &gt; 19:31:03 + my_mock=/usr/bin/mock<br>
&gt; &gt; 19:31:03 + my_mock+=&#39;<br>
&gt; &gt; --configdir=/home/jenkins/workspace/vdsm_master_check-patch-el7-x86_64/vdsm&#39;<br>
&gt; &gt; 19:31:03 + my_mock+=&#39; --root=mocker-epel-7-x86_64.el7&#39;<br>
&gt; &gt; 19:31:03 + my_mock+=&#39;<br>
&gt; &gt; --resultdir=/home/jenkins/workspace/vdsm_master_check-patch-el7-x86_64&#39;<br>
&gt; &gt; 19:31:03 + echo &#39;Killing all mock orphan processes, if any.&#39;<br>
&gt; &gt; 19:31:03 Killing all mock orphan processes, if any.<br>
&gt; &gt; 19:31:03 + /usr/bin/mock<br>
&gt; &gt; --configdir=/home/jenkins/workspace/vdsm_master_check-patch-el7-x86_64/vdsm<br>
&gt; &gt; --root=mocker-epel-7-x86_64.el7<br>
&gt; &gt; --resultdir=/home/jenkins/workspace/vdsm_master_check-patch-el7-x86_64<br>
&gt; &gt; --orphanskill<br>
&gt; &gt; 19:31:04 WARNING: Could not find required logging config file:<br>
&gt; &gt; /home/jenkins/workspace/vdsm_master_check-patch-el7-x86_64/vdsm/logging.ini.<br>
&gt; &gt; Using default...<br>
&gt; &gt; 19:31:04 INFO: mock.py version 1.2.14 starting (python version = 3.4.3)...<br>
&gt; &gt; 19:31:04 Start: init plugins<br>
&gt; &gt; 19:31:04 INFO: selinux enabled<br>
&gt; &gt; 19:31:04 Finish: init plugins<br>
&gt; &gt; 19:31:04 Start: run<br>
&gt; &gt; 19:31:04 Finish: run<br>
&gt; &gt; 19:31:04 ++ grep -Po &#39;(?&lt;=config_opts\[&#39;\&#39;&#39;root&#39;\&#39;&#39;\] = &#39;\&#39;&#39;)[^&#39;\&#39;&#39;]*&#39;<br>
&gt; &gt; /home/jenkins/workspace/vdsm_master_check-patch-el7-x86_64/vdsm/mocker-epel-7-x86_64.el7.cfg<br>
&gt; &gt; 19:31:04 + mock_root=epel-7-x86_64-46ef12ce4362729a0f4c411e00edd8fc<br>
&gt; &gt; 19:31:04 + [[ -n epel-7-x86_64-46ef12ce4362729a0f4c411e00edd8fc ]]<br>
&gt; &gt; 19:31:04 + mounts=($(mount | awk &#39;{print $3}&#39; | grep &quot;$mock_root&quot;))<br>
&gt; &gt; 19:31:04 ++ mount<br>
&gt; &gt; 19:31:04 ++ grep epel-7-x86_64-46ef12ce4362729a0f4c411e00edd8fc<br>
&gt; &gt; 19:31:04 ++ awk &#39;{print $3}&#39;<br>
&gt; &gt; 19:31:04 + :<br>
&gt; &gt; 19:31:04 + [[ -n &#39;&#39; ]]<br>
&gt; &gt; 19:31:04 + for mock_root in &#39;/var/lib/mock/*&#39;<br>
&gt; &gt; 19:31:04 + this_chroot_failed=false<br>
&gt; &gt; 19:31:04 + mounts=($(mount | awk &#39;{print $3}&#39; | grep &quot;$mock_root&quot;))<br>
&gt; &gt; 19:31:04 ++ mount<br>
&gt; &gt; 19:31:04 ++ grep /var/lib/mock/epel-7-x86_64-46ef12ce4362729a0f4c411e00edd8fc<br>
&gt; &gt; 19:31:04 ++ awk &#39;{print $3}&#39;<br>
&gt; &gt; 19:31:04 + :<br>
&gt; &gt; 19:31:04 + [[ -n &#39;&#39; ]]<br>
&gt; &gt; 19:31:04 + false<br>
&gt; &gt; 19:31:04 + sudo rm -rf<br>
&gt; &gt; /var/lib/mock/epel-7-x86_64-46ef12ce4362729a0f4c411e00edd8fc<br>
&gt; &gt; 19:31:04 + false<br>
&gt; &gt; 19:31:04 + shopt -u nullglob<br>
&gt; &gt; 19:31:04 + sudo rm -Rf<br>
&gt; &gt; /var/cache/mock/epel-7-x86_64-46ef12ce4362729a0f4c411e00edd8fc<br>
&gt; &gt; 19:31:04 + sudo chown -R jenkins<br>
&gt; &gt; /home/jenkins/workspace/vdsm_master_check-patch-el7-x86_64<br>
&gt; &gt; 19:31:04 POST BUILD TASK : SUCCESS<br>
&gt; &gt; 19:31:04 END OF POST BUILD TASK : 0<br>
&gt; &gt; 19:31:04 Archiving artifacts<br>
&gt; &gt; 19:31:04 Build step &#39;Groovy Postbuild&#39; marked build as failure<br>
&gt; &gt; 19:31:04 Started calculate disk usage of build<br>
&gt; &gt; 19:31:04 Finished Calculation of disk usage of build in 0 seconds<br>
&gt; &gt; 19:31:04 Started calculate disk usage of workspace<br>
&gt; &gt; 19:31:04 Finished Calculation of disk usage of workspace in 0 seconds<br>
&gt; &gt; 19:31:04 Finished: FAILURE<br>
&gt; _______________________________________________<br>
&gt; Infra mailing list<br>
&gt; <a href="mailto:Infra@ovirt.org">Infra@ovirt.org</a><br>
&gt; <a href="http://lists.ovirt.org/mailman/listinfo/infra" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/infra</a><br>
<br>
--<br>
David Caro<br>
<br>
Red Hat S.L.<br>
Continuous Integration Engineer - EMEA ENG Virtualization R&amp;D<br>
<br>
Tel.: <a href="tel:%2B420%20532%20294%20605" value="+420532294605">+420 532 294 605</a><br>
Email: <a href="mailto:dcaro@redhat.com">dcaro@redhat.com</a><br>
IRC: dcaro|dcaroest@{freenode|oftc|redhat}<br>
Web: <a href="http://www.redhat.com" rel="noreferrer" target="_blank">www.redhat.com</a><br>
RHT Global #: 82-62605<br>
<br>_______________________________________________<br>
Infra mailing list<br>
<a href="mailto:Infra@ovirt.org">Infra@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/infra" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/infra</a><br>
<br></blockquote></div>