Closed
Bug 1014274
Opened 11 years ago
Closed 11 years ago
Loads v0.3 requires pexpect to make the --ssh functionality work correctly
Categories
(Hello (Loop) :: Server, defect)
Hello (Loop)
Server
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: jbonacci, Unassigned)
References
Details
(Whiteboard: [qa+])
./bin/loads-runner --server-url=BLAH -u 1 --hits=1 --agents=1 --user-id=BLAH --ssh=BLAH loadtest.TestLoop.test_all
To use --ssh you need pexpect
Try: pip install pexpect
We can do this manually, so either:
1. Update the README.md file
2. Add this as a pre-req for the "make install" portion of the load tests...
Reporter | ||
Updated•11 years ago
|
Whiteboard: [qa+]
Reporter | ||
Comment 1•11 years ago
|
||
Hmmmmm....
So, I can not get past this error on Mac:
loadtests$ sudo pip install pexpect
Password:
Downloading/unpacking pexpect
Downloading pexpect-3.2.tar.gz (131kB): 131kB downloaded
Running setup.py egg_info for package pexpect
Installing collected packages: pexpect
Running setup.py install for pexpect
Successfully installed pexpect
Cleaning up...
loadtests$ ./bin/loads-runner --server-url=BLAH -u 1 --hits=1 --agents=1 --user-id=BLAH --ssh=BLAH loadtest.TestLoop.test_all
To use --ssh you need pexpect
Try: pip install pexpect
I know I have seen this before, but I can not remember how I got around this...
So, maybe, as with https://github.com/mozilla/browserid-verifier/blob/master/loadtest/Makefile
We need to do this:
build:
$(INSTALL) pexpect
Separately, we should investigate why this error happens even if pexpect is installed...
Reporter | ||
Comment 2•11 years ago
|
||
More specifically, I think we need to install pexpect within the virtualenv.
Comment 3•11 years ago
|
||
You should use ./bin/pip install pexpect
Reporter | ||
Comment 4•11 years ago
|
||
OK. That got me to a point where I can actually run a test. Thanks!
We need to build this into the 'make install' process to save the user a step...
See bug 1014271
Status: NEW → ASSIGNED
Comment 5•11 years ago
|
||
This is the case now. Fixed in https://github.com/mozilla-services/loop-server/commit/058f037c8354ee9729fb71f95fc0156e23674bcf
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•