Closed Bug 766740 Opened 12 years ago Closed 12 years ago

Make live functional tests runnable out-of-the-box

Categories

(Cloud Services Graveyard :: Server: Sync, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: rfkelly, Assigned: rfkelly)

Details

(Whiteboard: [qa+])

As of Bug 751485, running the live functional tests with a tokenserver requires some additional dependencies (M2Crypto, PyBrowserID and requests).  We don't install them by default as part of `make build` because M2Crypto is a PITA to install correctly.

Once PyBrowserID drops M2Crypto as a hard dependency, we should add the others to the build process so that the live functional tests can run out-of-the-box.
Either that or use a python virtualenv setup just for testing...
+1
Whiteboard: [qa+]
Dependencies updated, this should now work without having to muck around with M2Crypto etc:

https://github.com/mozilla-services/server-aitc/commit/a6cad0bbd73b5da48984cbbb118f9b9b021936f7
https://github.com/mozilla-services/server-syncstorage/commit/21affe9f5f0ecf5e4719d4a552f60b964463fe1c

:jbonacci, to test this out, take a clean checkout of aitc and do a `make build`.  You should then be able to run the functional tests against stage without needing to install anything else into the virtualenv.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
The above statement is now quite true.
We found different results depending on whether or not the following lines were used:

$ ln -sf `python -c 'import M2Crypto; print M2Crypto.__file__' | xargs dirname`* ./lib/*/site-packages
$ ./bin/pip install PyBrowserID

This lead to the following new ticket:
Bug 779024 - live functional tests differ with/without M2Crypto

Holding off on Verification of this ticket until bug 779024 is addressed.
Bug 779024 should now be fixed.
Verified in local installs. Assume good in larger deploys.
Status: RESOLVED → VERIFIED
Product: Cloud Services → Cloud Services Graveyard
You need to log in before you can comment on or make changes to this bug.