Skip to content

Instantly share code, notes, and snippets.

@singingwolfboy
Created September 17, 2014 18:27
Show Gist options
  • Save singingwolfboy/315edd579ddf9992d60b to your computer and use it in GitHub Desktop.
Save singingwolfboy/315edd579ddf9992d60b to your computer and use it in GitHub Desktop.
vagrant@precise64:/edx/app/edxapp$ sudo -H -u edxapp bash
edxapp@precise64:~$ pwd
/edx/app/edxapp
edxapp@precise64:~$ ls
cms.auth.json cms.env.json data edxapp_env edx-platform lms.auth.json lms.env.json ruby_env venvs
edxapp@precise64:~$ ls
cms.auth.json cms.env.json data edxapp_env edx-platform lms.auth.json lms.env.json ruby_env venvs
edxapp@precise64:~$ source edxapp_env
edxapp@precise64:~$ ls
cms.auth.json cms.env.json data edxapp_env edx-platform lms.auth.json lms.env.json ruby_env venvs
edxapp@precise64:~$ cd edx-platform/
edxapp@precise64:~/edx-platform$ paver test
---> pavelib.tests.test
---> pavelib.prereqs.install_prereqs
---> pavelib.utils.test.utils.clean_reports_dir
find /edx/app/edxapp/edx-platform/reports -type f -delete
Setting up for All Tests
Setting up for JS Tests javascript
---> pavelib.utils.test.utils.clean_test_files
git clean -fqdx test_root/logs test_root/data test_root/staticfiles test_root/uploads
find . -type f -name "*.pyc" -delete
rm -rf test_root/log/auto_screenshots/*
rm -rf /tmp/mako_[cl]ms
rm: cannot remove `/tmp/mako_cms/widgets/footer.html.py': Permission denied
rm: cannot remove `/tmp/mako_cms/widgets/header.html.pyc': Permission denied
rm: cannot remove `/tmp/mako_cms/widgets/tender.html.py': Permission denied
rm: cannot remove `/tmp/mako_cms/widgets/tender.html.pyc': Permission denied
rm: cannot remove `/tmp/mako_cms/widgets/segment-io.html.py': Permission denied
rm: cannot remove `/tmp/mako_cms/widgets/segment-io.html.pyc': Permission denied
rm: cannot remove `/tmp/mako_cms/widgets/footer.html.pyc': Permission denied
rm: cannot remove `/tmp/mako_cms/widgets/header.html.py': Permission denied
rm: cannot remove `/tmp/mako_cms/static_content.html.pyc': Permission denied
rm: cannot remove `/tmp/mako_cms/base.html.py': Permission denied
rm: cannot remove `/tmp/mako_cms/howitworks.html.pyc': Permission denied
rm: cannot remove `/tmp/mako_cms/howitworks.html.py': Permission denied
rm: cannot remove `/tmp/mako_cms/static_content.html.py': Permission denied
rm: cannot remove `/tmp/mako_cms/mako/css.html.py': Permission denied
rm: cannot remove `/tmp/mako_cms/mako/css.html.pyc': Permission denied
rm: cannot remove `/tmp/mako_cms/base.html.pyc': Permission denied
rm: cannot remove `/tmp/mako_lms/main.html.py': Permission denied
rm: cannot remove `/tmp/mako_lms/index.html.pyc': Permission denied
rm: cannot remove `/tmp/mako_lms/widgets/optimizely.html.pyc': Permission denied
rm: cannot remove `/tmp/mako_lms/widgets/optimizely.html.py': Permission denied
rm: cannot remove `/tmp/mako_lms/widgets/segment-io.html.py': Permission denied
rm: cannot remove `/tmp/mako_lms/widgets/segment-io.html.pyc': Permission denied
rm: cannot remove `/tmp/mako_lms/static_content.html.pyc': Permission denied
rm: cannot remove `/tmp/mako_lms/login-sidebar.html.py': Permission denied
rm: cannot remove `/tmp/mako_lms/forgot_password_modal.html.pyc': Permission denied
rm: cannot remove `/tmp/mako_lms/forgot_password_modal.html.py': Permission denied
rm: cannot remove `/tmp/mako_lms/mathjax_accessible.html.py': Permission denied
rm: cannot remove `/tmp/mako_lms/help_modal.html.pyc': Permission denied
rm: cannot remove `/tmp/mako_lms/index.html.py': Permission denied
rm: cannot remove `/tmp/mako_lms/login.html.pyc': Permission denied
rm: cannot remove `/tmp/mako_lms/footer.html.py': Permission denied
rm: cannot remove `/tmp/mako_lms/course.html.py': Permission denied
rm: cannot remove `/tmp/mako_lms/google_analytics.html.py': Permission denied
rm: cannot remove `/tmp/mako_lms/static_content.html.py': Permission denied
rm: cannot remove `/tmp/mako_lms/course.html.pyc': Permission denied
rm: cannot remove `/tmp/mako_lms/main.html.pyc': Permission denied
rm: cannot remove `/tmp/mako_lms/original_navigation.html.py': Permission denied
rm: cannot remove `/tmp/mako_lms/google_analytics.html.pyc': Permission denied
rm: cannot remove `/tmp/mako_lms/login-sidebar.html.pyc': Permission denied
rm: cannot remove `/tmp/mako_lms/original_navigation.html.pyc': Permission denied
rm: cannot remove `/tmp/mako_lms/mako/css.html.py': Permission denied
rm: cannot remove `/tmp/mako_lms/mako/js.html.pyc': Permission denied
rm: cannot remove `/tmp/mako_lms/mako/js.html.py': Permission denied
rm: cannot remove `/tmp/mako_lms/mako/css.html.pyc': Permission denied
rm: cannot remove `/tmp/mako_lms/help_modal.html.py': Permission denied
rm: cannot remove `/tmp/mako_lms/mathjax_accessible.html.pyc': Permission denied
rm: cannot remove `/tmp/mako_lms/login.html.py': Permission denied
rm: cannot remove `/tmp/mako_lms/footer.html.pyc': Permission denied
Cleaning up after All Tests
Captured Task Output:
---------------------
---> pavelib.tests.test
---> pavelib.prereqs.install_prereqs
---> pavelib.utils.test.utils.clean_reports_dir
find /edx/app/edxapp/edx-platform/reports -type f -delete
---> pavelib.utils.test.utils.clean_test_files
git clean -fqdx test_root/logs test_root/data test_root/staticfiles test_root/uploads
find . -type f -name "*.pyc" -delete
rm -rf test_root/log/auto_screenshots/*
rm -rf /tmp/mako_[cl]ms
Build failed running pavelib.tests.test: Subprocess return code: 1
edxapp@precise64:~/edx-platform$ sudo !!
sudo paver test
[sudo] password for edxapp:
Sorry, try again.
[sudo] password for edxapp:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment