Hello,
I have installed sync-server 1.5 with all dependencies:
git-core, python2.7 python2.7-dev make python-virtualenv
on the following system:
Linux steinhaus 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27
17:03:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
the make build works fine but when I try to test my build
with "make test" i get the following errors:
ffsync@steinhaus:~/syncserver$ make test
CFLAGS="-Wno-error -Wno-error=format-security"
ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future
./local/bin/pip install nose flake8
Downloading/unpacking nose
Downloading nose-1.3.4.tar.gz (277Kb): 277Kb downloaded
Running setup.py egg_info for package nose
no previously-included directories found matching
'doc/.build'
Downloading/unpacking flake8
Downloading flake8-2.4.0.tar.gz (67Kb): 67Kb downloaded
Running setup.py egg_info for package flake8
Downloading/unpacking pyflakes>=0.8.1,<0.9 (from flake8)
Downloading pyflakes-0.8.1.tar.gz
Running setup.py egg_info for package pyflakes
Downloading/unpacking pep8>=1.5.7,<1.6 (from flake8)
Downloading pep8-1.5.7.tar.gz (67Kb): 67Kb downloaded
Running setup.py egg_info for package pep8
warning: no previously-included files matching
'*.pyc' found under directory 'docs'
warning: no previously-included files matching
'*.pyo' found under directory 'docs'
warning: no previously-included files matching
'*.pyc' found under directory 'testsuite'
warning: no previously-included files matching
'*.pyo' found under directory 'testsuite'
no previously-included directories found matching
'docs/_build'
Downloading/unpacking mccabe>=0.2.1,<0.4 (from flake8)
Downloading mccabe-0.3.tar.gz
Running setup.py egg_info for package mccabe
Installing collected packages: nose, flake8, pyflakes,
pep8, mccabe
Running setup.py install for nose
no previously-included directories found matching
'doc/.build'
Installing nosetests script to
/home/ffsync/syncserver/local/bin
Installing nosetests-2.7 script to
/home/ffsync/syncserver/local/bin
Running setup.py install for flake8
Installing flake8 script to
/home/ffsync/syncserver/local/bin
Running setup.py install for pyflakes
Installing pyflakes script to
/home/ffsync/syncserver/local/bin
Running setup.py install for pep8
warning: no previously-included files matching
'*.pyc' found under directory 'docs'
warning: no previously-included files matching
'*.pyo' found under directory 'docs'
warning: no previously-included files matching
'*.pyc' found under directory 'testsuite'
warning: no previously-included files matching
'*.pyo' found under directory 'testsuite'
no previously-included directories found matching
'docs/_build'
Installing pep8 script to
/home/ffsync/syncserver/local/bin
Running setup.py install for mccabe
Successfully installed nose flake8 pyflakes pep8 mccabe
Cleaning up...
./local/bin/flake8 ./syncserver
./local/bin/nosetests -s syncstorage.tests
..................................................................SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS..SSSSSSSSSSSSSSSS.SS................
----------------------------------------------------------------------
Ran 232 tests in 61.584s
OK (SKIP=147)
# Tokenserver tests currently broken due to incorrect file
paths
# ./local/bin/nosetests -s tokenserver.tests
# Test against a running server
./local/bin/pserve syncserver/tests.ini 2> /dev/null &
SERVER_PID=$!; \
sleep 2; \
./local/bin/python -m
syncstorage.tests.functional.test_storage \
--use-token-server
http://localhost:5000/token/1.0/sync/1.5; \
kill $SERVER_PID
Starting server in PID 27420.
serving on 0.0.0.0:5000 view at http://127.0.0.1:5000
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 162, in
_run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in
_run_code
exec code in run_globals
File
"/home/ffsync/syncserver/local/lib/python2.7/site-packages/syncstorage/tests/functional/test_storage.py",
line 1275, in <module>
res = run_live_functional_tests(TestStorage,
sys.argv)
File
"/home/ffsync/syncserver/local/local/lib/python2.7/site-packages/syncstorage/tests/functional/support.py",
line 178, in run_live_functional_tests
creds = authenticate_to_token_server(url, opts.email,
opts.audience)
File
"/home/ffsync/syncserver/local/local/lib/python2.7/site-packages/syncstorage/tests/functional/support.py",
line 110, in authenticate_to_token_server
r.raise_for_status()
File
"/home/ffsync/syncserver/local/local/lib/python2.7/site-packages/requests/models.py",
line 773, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error:
Unauthorized
------------------------END
LOG----------------------------
Do you have any idea how I can solve this problem?
greetings
Christian Rebischke
_______________________________________________
Sync-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/sync-dev