From 2734347e4b0fa2e2c0859e67ecc90c4e27c39a04 Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Fri, 6 Apr 2018 09:16:40 +0000 Subject: [PATCH] Update git submodules * Update docs/submodules/releng-xci from branch 'master' - Merge "xci: bifrost: Use 'sudo' to install dependencies for bifrost jobs" - xci: bifrost: Use 'sudo' to install dependencies for bifrost jobs When bifrost jobs are being executed, the virtual environment hasn't been prepared yet because that's something that bifrost does later on. As such, we need to use sudo to install the required dependencies to avoid the following issue: Exception: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main status = self.run(options, args) File "/usr/lib/python2.7/site-packages/pip/commands/install.py", line 342, in run prefix=options.prefix_path, File "/usr/lib/python2.7/site-packages/pip/req/req_set.py", line 784, in install **kwargs File "/usr/lib/python2.7/site-packages/pip/req/req_install.py", line 851, in install self.move_wheel_files(self.source_dir, root=root, prefix=prefix) File "/usr/lib/python2.7/site-packages/pip/req/req_install.py", line 1064, in move_wheel_files isolated=self.isolated, File "/usr/lib/python2.7/site-packages/pip/wheel.py", line 345, in move_wheel_files clobber(source, lib_dir, True) File "/usr/lib/python2.7/site-packages/pip/wheel.py", line 316, in clobber ensure_dir(destdir) File "/usr/lib/python2.7/site-packages/pip/utils/__init__.py", line 83, in ensure_dir os.makedirs(path) File "/usr/lib64/python2.7/os.py", line 157, in makedirs mkdir(name, mode) OSError: [Errno 13] Permission denied: '/usr/lib/python2.7/site-packages/pbr' Change-Id: I081884ec18d27af19a053bf5b734f6f3846c60f1 Signed-off-by: Markos Chandras --- docs/submodules/releng-xci | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/submodules/releng-xci b/docs/submodules/releng-xci index 4e8278f20..60f887c29 160000 --- a/docs/submodules/releng-xci +++ b/docs/submodules/releng-xci @@ -1 +1 @@ -Subproject commit 4e8278f203675b8cf629ecceb625c21ff7efa3bc +Subproject commit 60f887c297319e4d35924dff37f333f3cdbe7ca0 -- 2.16.6