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

VERIFIED FIXED

Status

Cloud Services
Server: Sync
VERIFIED FIXED
6 years ago
6 years ago

People

(Reporter: rfkelly, Assigned: rfkelly)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [qa+])

(Assignee)

Description

6 years ago
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+]
(Assignee)

Comment 2

6 years ago
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
Last Resolved: 6 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.
(Assignee)

Comment 4

6 years ago
Bug 779024 should now be fixed.
Verified in local installs. Assume good in larger deploys.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.