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)

defect
Not set
normal

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...
Whiteboard: [qa+]
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...
Blocks: 994961
More specifically, I think we need to install pexpect within the virtualenv.
You should use ./bin/pip install pexpect
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
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Working correctly now.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.