Created
March 25, 2014 18:21
-
-
Save posix4e/9767932 to your computer and use it in GitHub Desktop.
securedrop not building on my pc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To re-run tests: | |
cd /vagrant/securedrop | |
./test.sh | |
The following SSH command responded with a non-zero exit status. | |
Vagrant assumes that this means the command failed! | |
chmod +x /tmp/vagrant-shell && /tmp/vagrant-shell | |
posix4e@posix4e-B85H3-M:~/projects/securedrop$ vagrant ssh | |
Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic x86_64) | |
* Documentation: https://help.ubuntu.com/ | |
Welcome to your Vagrant-built virtual machine. | |
Last login: Fri Sep 14 06:23:18 2012 from 10.0.2.2 | |
vagrant@precise64:~$ cd /vagrant/securedrop/ | |
vagrant@precise64:/vagrant/securedrop$ python source.py & | |
[1] 8174 | |
vagrant@precise64:/vagrant/securedrop$ python journalist & | |
[2] 8209 | |
vagrant@precise64:/vagrant/securedrop$ python: can't open file 'journalist': [Errno 2] No such file or directory | |
python journalist.py & | |
[3] 8210 | |
[2] Exit 2 python journalist | |
vagrant@precise64:/vagrant/securedrop$ | |
vagrant@precise64:/vagrant/securedrop$ jobs | |
[1]- Running python source.py & | |
[3]+ Running python journalist.py & | |
vagrant@precise64:/vagrant/securedrop$ fg | |
python journalist.py | |
^Cvagrant@precise64:/vagrant/securedrop$ fg | |
python source.py | |
^Cvagrant@precise64:/vagrant/securedrop$ ./test | |
-bash: ./test: No such file or directory | |
vagrant@precise64:/vagrant/securedrop$ pwd | |
/vagrant/securedrop | |
vagrant@precise64:/vagrant/securedrop$ ls | |
background.py README.md | |
background.pyc source.py | |
config source.pyc | |
COPYING source-requirements.txt | |
crypto_util.py source_templates | |
crypto_util.pyc static | |
db.py store.py | |
db.pyc store.pyc | |
dictionaries test_journalist_key.pub | |
document-requirements.txt test_journalist_key.sec | |
_genwordlist.py test-requirements.txt | |
ghostdriver.log tests | |
HACKING.md test.sh | |
journalist.py version.py | |
journalist.pyc version.pyc | |
journalist_templates wordlist | |
phantomjs-1.9.2-linux-x86_64 | |
vagrant@precise64:/vagrant/securedrop$ ./test.sh | |
test_delete_collection (tests.unit_tests.TestIntegration) | |
Test the "delete collection" button on each collection page ... ok | |
test_delete_collections (tests.unit_tests.TestIntegration) | |
Test the "delete selected" checkboxes on the index page that can be ... ok | |
test_reply_normal (tests.unit_tests.TestIntegration) ... ok | |
test_reply_unicode (tests.unit_tests.TestIntegration) ... ok | |
test_submit_file (tests.unit_tests.TestIntegration) | |
When a source creates an account, test that a new entry appears in the journalist interface ... ok | |
test_submit_message (tests.unit_tests.TestIntegration) | |
When a source creates an account, test that a new entry appears in the journalist interface ... ok | |
test_bulk_download (tests.unit_tests.TestJournalist) ... ok | |
test_index (tests.unit_tests.TestJournalist) ... ok | |
test_create (tests.unit_tests.TestSource) ... ok | |
test_generate (tests.unit_tests.TestSource) ... ok | |
test_index (tests.unit_tests.TestSource) | |
Test that the landing page loads and looks how we expect ... ok | |
test_login_and_logout (tests.unit_tests.TestSource) ... ok | |
test_lookup (tests.unit_tests.TestSource) | |
Test various elements on the /lookup page ... ok | |
test_regenerate_invalid_lengths (tests.unit_tests.TestSource) | |
If the codename length is invalid, it should return 403 Forbidden ... ok | |
test_regenerate_valid_lengths (tests.unit_tests.TestSource) | |
Make sure we can regenerate all valid length codenames ... ok | |
test_submit_both (tests.unit_tests.TestSource) ... ok | |
test_submit_clean_file (tests.unit_tests.TestSource) ... ok | |
test_submit_dirty_file_to_be_cleaned (tests.unit_tests.TestSource) ... ok | |
test_submit_dirty_file_to_not_clean (tests.unit_tests.TestSource) ... ok | |
test_submit_file (tests.unit_tests.TestSource) ... ok | |
test_submit_message (tests.unit_tests.TestSource) ... ok | |
test_submit_sanitizes_filename (tests.unit_tests.TestSource) | |
Test that upload file name is sanitized ... ok | |
test_tor2web_warning (tests.unit_tests.TestSource) ... ok | |
test_get_zip (tests.unit_tests.TestStore) ... ok | |
test_verify (tests.unit_tests.TestStore) ... ok | |
---------------------------------------------------------------------- | |
Ran 25 tests in 5.556s | |
OK | |
test_submit_and_retrieve_happy_path (tests.functional.submit_and_retrieve_message.SubmitAndRetrieveMessage) ... ok | |
---------------------------------------------------------------------- | |
Ran 1 test in 2.012s | |
OK | |
test_submit_and_retrieve_happy_path (tests.functional.submit_and_retrieve_file.SubmitAndRetrieveFile) ... ERROR | |
====================================================================== | |
ERROR: test_submit_and_retrieve_happy_path (tests.functional.submit_and_retrieve_file.SubmitAndRetrieveFile) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "tests/functional/submit_and_retrieve_file.py", line 44, in test_submit_and_retrieve_happy_path | |
self._source_submits_a_file() | |
File "tests/functional/submit_and_retrieve_file.py", line 33, in _source_submits_a_file | |
submit_button.click() | |
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webelement.py", line 59, in click | |
self._execute(Command.CLICK_ELEMENT) | |
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webelement.py", line 369, in _execute | |
return self._parent.execute(command, params) | |
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 162, in execute | |
response = self.command_executor.execute(driver_command, params) | |
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/remote_connection.py", line 349, in execute | |
return self._request(url, method=command_info[0], data=data) | |
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/remote_connection.py", line 410, in _request | |
resp = opener.open(request) | |
File "/usr/lib/python2.7/urllib2.py", line 400, in open | |
response = self._open(req, data) | |
File "/usr/lib/python2.7/urllib2.py", line 418, in _open | |
'_open', req) | |
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain | |
result = func(*args) | |
File "/usr/lib/python2.7/urllib2.py", line 1207, in http_open | |
return self.do_open(httplib.HTTPConnection, req) | |
File "/usr/lib/python2.7/urllib2.py", line 1180, in do_open | |
r = h.getresponse(buffering=True) | |
File "/usr/lib/python2.7/httplib.py", line 1030, in getresponse | |
response.begin() | |
File "/usr/lib/python2.7/httplib.py", line 407, in begin | |
version, status, reason = self._read_status() | |
File "/usr/lib/python2.7/httplib.py", line 371, in _read_status | |
raise BadStatusLine(line) | |
BadStatusLine: '' | |
---------------------------------------------------------------------- | |
Ran 1 test in 1.553s | |
FAILED (errors=1) | |
vagrant@precise64:/vagrant/securedrop$ less HACKING.md | |
vagrant@precise64:/vagrant/securedrop$ ls | |
background.py crypto_util.py dictionaries HACKING.md phantomjs-1.9.2-linux-x86_64 source-requirements.txt store.pyc tests wordlist | |
background.pyc crypto_util.pyc document-requirements.txt journalist.py README.md source_templates test_journalist_key.pub test.sh | |
config db.py _genwordlist.py journalist.pyc source.py static test_journalist_key.sec version.py | |
COPYING db.pyc ghostdriver.log journalist_templates source.pyc store.py test-requirements.txt version.pyc | |
vagrant@precise64:/vagrant/securedrop$ ls | |
background.py crypto_util.py dictionaries HACKING.md phantomjs-1.9.2-linux-x86_64 source-requirements.txt store.pyc tests wordlist | |
background.pyc crypto_util.pyc document-requirements.txt journalist.py README.md source_templates test_journalist_key.pub test.sh | |
config db.py _genwordlist.py journalist.pyc source.py static test_journalist_key.sec version.py | |
COPYING db.pyc ghostdriver.log journalist_templates source.pyc store.py test-requirements.txt version.pyc | |
vagrant@precise64:/vagrant/securedrop$ find . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment