Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken build with "text file busy" #65

Closed
yajo opened this issue Aug 3, 2017 · 3 comments · Fixed by #66
Closed

Broken build with "text file busy" #65

yajo opened this issue Aug 3, 2017 · 3 comments · Fixed by #66

Comments

@yajo
Copy link
Contributor

yajo commented Aug 3, 2017

Current master build is failing with this log:

Traceback (most recent call last):
  File "/opt/odoo/common/build", line 26, in <module>
    subprocess.check_call(command)
  File "/usr/lib/python2.7/subprocess.py", line 535, in check_call
    retcode = call(*popenargs, **kwargs)
  File "/usr/lib/python2.7/subprocess.py", line 522, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
    raise child_exception
OSError: [Errno 26] Text file busy
ERROR: Service 'odoo' failed to build: The command '/opt/odoo/common/build' returned a non-zero code: 1

Failure is a little bit random, but happens often. A possible workaround is to sync after chmod as explained in moby/moby#9547 (comment).

@yajo yajo self-assigned this Aug 3, 2017
yajo added a commit that referenced this issue Aug 3, 2017
@yajo yajo closed this as completed in #66 Aug 4, 2017
yajo added a commit that referenced this issue Aug 4, 2017
@yajo
Copy link
Contributor Author

yajo commented Aug 25, 2017

It was supposed to be fixed in eecb827 and ab0e261, but recent builds seem to be having the same problem again, so I'm reopening.

@lasley
Copy link
Contributor

lasley commented Aug 25, 2017

Would it be stupid to try something simple like a sleep 10?

@yajo
Copy link
Contributor Author

yajo commented Aug 28, 2017

Maybe that would work... stupid solutions for stupid problems 😆

I'm seeing another workaround in moby/moby#9547 (comment), maybe I'll try that before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants