[openstack-dev] The CI issue: “cp: cannot create regular file '/opt/stack/new/bin/etcd': Text file busy

LinziWang at itri.org.tw LinziWang at itri.org.tw
Tue Oct 17 03:15:36 UTC 2017

Hi all,

When I build the jobs “dsvm-tempest-full” and “dsvm-tempest-my-cinder-driver” (which are defined in openstack-dev/ci-sandbox),

the error message shows in /$LOG_PATH/console.html:
+/opt/stack/new/devstack-gate/devstack-vm-gate.sh:main:L753:   /tmp/ansible/bin/ansible primary -f 5 -i /home/jenkins/workspace/dsvm-tempest-full/inventory -m shell -a 'cd '\''/opt/stack/new/devstack'\'' && sudo -H -u stack DSTOOLS_VERSION=0.4.0 stdbuf -oL -eL ./stack.sh 2>&1 executable=/bin/bash'

ERROR: the main setup script run by this job failed - exit code: 2
please look at the relevant log files to determine the root cause
Running devstack worlddump.py
Cleaning up host
this takes 3 - 4 minutes (logs at logs/devstack-gate-cleanup-host.txt.gz)
[WARNING]: No hosts matched, nothing to do
Generating static files at /home/jenkins/workspace/dsvm-tempest-full/logs/ara...
*** FAILED with status: 2
Build step 'Execute shell' marked build as failure..

and in the /%24LOG_PATH/logs/devstack-early.txt file,
it shows
2017-10-17 02:49:21.324 | + lib/etcd3:install_etcd3:109:  sudo cp /opt/stack/new/devstack/files/etcd-v3.1.10-linux-amd64/etcd /opt/stack/new/bin/etcd
2017-10-17 02:49:21.330 | cp: cannot create regular file '/opt/stack/new/bin/etcd': Text file busy

Can anyone help me to resolve this issue?
Why the file is busy???

Thank you.

本信件可能包含工研院機密資訊,非指定之收件者,請勿使用或揭露本信件內容,並請銷毀此信件。 This email may contain confidential information. Please do not use or disclose it in any way and delete it if you are not the intended recipient.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20171017/ada3d0c7/attachment.html>

More information about the OpenStack-dev mailing list