test-repo_ovirt_experimental_4.1 - chown error when publishing repo


test-repo_ovirt_experimental_4.1 is failing without visible errors on lago side.
Checking job logs, there's the following error when publishing RPMs:

12:24:49 Copying to published repo
12:24:49 + echo 'Copying to published repo'
12:24:49 + install -o deploy-ovirt-experimental -m 755 -d /srv/resources/repos/ovirt/tested/4.1
12:24:49 install: cannot change owner and permissions of ‘/srv/resources/repos/ovirt/tested/4.1’: Operation not permitted
12:24:49 + rm -f /home/deploy-ovirt-experimental/experimental_repo.lock
[Pipeline] } //sshagent
[Pipeline] SSH Agent : End
[Pipeline] } //wrap
[Pipeline] General Build Wrapper : End
[Pipeline] } //node
[Pipeline] Allocate node : End
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
Finished: FAILURE

There was no "install" command in logs before builds started failing



Eyal Edri
February 26, 2017, 12:46 PM

fixed, was caused by manual copy as described in the ticket

Barak Korren
January 31, 2017, 6:12 PM

The files under '/srv/resources/repos/ovirt/tested/4.1' were root-owned for some reason.
I created the 4.1 repo manually (as opposed to letting the script do it), so perhaps I did it as root instead of 'deploy-ovirt-experimental' without notice. I can't tell from the history.

In any case I chowned the files no, so if should be ok from now on.

Next time please ping me on IRC immediately on OST issues instead of waiting for me to notice the ticket. Its a shame because we now have to log 16! failed OST runs as infra issues for something that takes less then a second to fix.

Evgheni Dereveanchin
January 31, 2017, 4:20 PM

Here's the patch that added "install": https://gerrit.ovirt.org/71137

could you please check why it fails on test-repo_ovirt_experimental_4.1? Works fine with master - maybe some permissions or ownership has to be changed.





Evgheni Dereveanchin

Blocked By