Change in ovirt-system-tests[master]: Test hosted-engine cleanup

Yedidyah Bar David didi at redhat.com
Wed Mar 21 09:04:01 UTC 2018


On Wed, Mar 21, 2018 at 2:45 AM, Code Review <gerrit at ovirt.org> wrote:
> From Jenkins CI:
>
> Jenkins CI has posted comments on this change.
>
> Change subject: Test hosted-engine cleanup
> ......................................................................
>
>
> Patch Set 19: Continuous-Integration-1
>
> Build Failed
>
> http://jenkins.ovirt.org/job/ovirt-system-tests_master_check-patch-el7-x86_64/4609/ : FAILURE

Failed with:

18:57:59 [ ERROR ] Failed to execute stage 'Misc configuration':
Command '/usr/bin/sudo' failed to execute
...

18:57:59 [ ERROR ] Failed to execute stage 'Clean up': Force Fail:
stage 14 priority 5000
(that's intended)
...

18:57:59 [ ERROR ] Hosted Engine deployment failed: please check the
logs for the issue, fix accordingly or re-deploy from scratch.
18:57:59           Log file is located at
/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20180320145201-homqsx.log
00:44:51 Build timed out (after 360 minutes). Marking the build as failed.

No idea why it timed out.

Then:

00:44:51 Build was aborted
00:44:51 mkdir: cannot create directory
'exported-artifacts/mock_logs': Permission denied
...

00:44:53 + chown -R jenkins
/home/jenkins/workspace/ovirt-system-tests_master_check-patch-el7-x86_64
00:44:53 chown: changing ownership of
'/home/jenkins/workspace/ovirt-system-tests_master_check-patch-el7-x86_64/ovirt-system-tests/automation/change_resolver_conf.pyc':
Operation not permitted
00:44:53 chown: changing ownership of
'/home/jenkins/workspace/ovirt-system-tests_master_check-patch-el7-x86_64/ovirt-system-tests/he-basic-iscsi-suite-master/LagoInitFile':
Operation not permitted
00:44:53 chown: changing ownership of
'/home/jenkins/workspace/ovirt-system-tests_master_check-patch-el7-x86_64/ovirt-system-tests/mock_logs.K2yic9nv/mocker-epel-7-x86_64.el7.check-patch.sh/check-patch.sh.log':
Operation not permitted
00:44:53 chown: changing ownership of
'/home/jenkins/workspace/ovirt-system-tests_master_check-patch-el7-x86_64/ovirt-system-tests/change_resolver.log':
Operation not permitted
00:44:53 chown: changing ownership of
'/home/jenkins/workspace/ovirt-system-tests_master_check-patch-el7-x86_64/ovirt-system-tests/exported-artifacts':
Operation not permitted
00:44:53 chown: cannot read directory
'/home/jenkins/workspace/ovirt-system-tests_master_check-patch-el7-x86_64/ovirt-system-tests/.pki':
Permission denied

And build-artifacts is almost empty.

Any clue?

If it's bad permissions on the git repo, then:
1. How come we have so many recently? Did we change anything?
2. Perhaps we should verify it at the beginning, and either abort
quickly or try to fix (by removing everything and cloning from
scratch)?

Looked at the various git commands. Can't see errors, but do see a few like:

18:44:46  > git rev-parse --verify HEAD # timeout=10
18:44:46 No valid HEAD. Skipping the resetting

No idea if that's a problem, or indicates one.

Thanks,
-- 
Didi


More information about the Infra mailing list