Page MenuHomePhabricator
Paste P16353

(An Untitled Masterwork)
ActivePublic

Authored by jbond on Wed, Jun 9, 1:17 PM.
Traceback (most recent call last):
File "/usr/bin/virtualenv", line 11, in <module>
load_entry_point('virtualenv==15.1.0', 'console_scripts', 'virtualenv')()
File "/usr/lib/python3/dist-packages/virtualenv.py", line 724, in main
symlink=options.symlink)
File "/usr/lib/python3/dist-packages/virtualenv.py", line 950, in create_environment
site_packages=site_packages, clear=clear, symlink=symlink))
File "/usr/lib/python3/dist-packages/virtualenv.py", line 1282, in install_python
shutil.copyfile(executable, py_executable)
File "/usr/lib/python3.7/shutil.py", line 121, in copyfile
with open(dst, 'wb') as fdst:
OSError: [Errno 26] Text file busy: '/srv/deployment/netbox/venv/bin/python3'
## then later
{"name": "deploy-local", "created": 1623242380.382311, "args": ["deploy-local", "UnicodeEncodeError", {}], "msecs": 382.3111057281494, "filename": "cli.py", "levelno": 40, "msg": "%s failed: <%s> %s", "lineno": 253, "exc_text": null, "funcName": "_handle_exception", "relativeCreated": 22347.56898880005}

Event Timeline

Running ['git', 'remote', 'rm', 'origin'] with {'stdin': <open file '/dev/null', mode 'rb' at 0x7f3d2fc3e930>, 'cwd': '/srv/deployment/netbox/deploy-cache/cache', 'stderr': -1, 'stdout': -1}
Command exited with code 0
Running ['git', 'remote', 'add', 'origin', 'http://deploy1002.eqiad.wmnet/netbox/deploy/.git'] with {'stdin': <open file '/dev/null', mode 'rb' at 0x7f3d2fc3e9c0>, 'cwd': '/srv/deployment/netbox/deploy-cache/cache', 'stderr': -1, 'stdout': -1}
Command exited with code 0
Running ['git', 'fetch', '--tags', '--jobs', '2', '--no-recurse-submodules'] with {'stdin': <open file '/dev/null', mode 'rb' at 0x7f3d2fc3e930>, 'cwd': '/srv/deployment/netbox/deploy-cache/cache', 'stderr': -1, 'stdout': -1}
Command exited with code 1
Unhandled error:
deploy-local failed: <FailedCommand> {u'exitcode': 1, u'stderr': u'From http://deploy1002.eqiad.wmnet/netbox/deploy/\n * [new branch] master -> origin/master\n ! [rejected] scap/sync/2021-06-09/0021 -> scap/sync/2021-06-09/0021 (would clobber existing tag)\n', u'stdout': u''}