Closed
Bug 1040237
Opened 10 years ago
Closed 10 years ago
Unable to build Loop-Server loadtest due to error with requests-hawk
Categories
(Hello (Loop) :: Server, defect, P1)
Hello (Loop)
Server
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: jbonacci, Assigned: tarek)
Details
(Whiteboard: [qa+])
Git clone of Loop-Server master and an attempt to build the load tests results in an error against requests-hawk: git clone https://github.com/mozilla-services/loop-server.git cd loop-server npm install cd loadtests make build This is what I see: ...etc... ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future ./venv/bin/pip install requests-hawk Downloading/unpacking requests-hawk Downloading requests-hawk-0.1.0.tar.gz Running setup.py egg_info for package requests-hawk Traceback (most recent call last): File "<string>", line 16, in <module> File "/Users/James/loop-server/loadtests/venv/build/requests-hawk/setup.py", line 9, in <module> with open(os.path.join(here, 'CHANGES.txt')) as f: IOError: [Errno 2] No such file or directory: '/Users/James/loop-server/loadtests/venv/build/requests-hawk/CHANGES.txt' Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<string>", line 16, in <module> File "/Users/James/loop-server/loadtests/venv/build/requests-hawk/setup.py", line 9, in <module> with open(os.path.join(here, 'CHANGES.txt')) as f: IOError: [Errno 2] No such file or directory: '/Users/James/loop-server/loadtests/venv/build/requests-hawk/CHANGES.txt' ---------------------------------------- Command python setup.py egg_info failed with error code 1 in /Users/James/loop-server/loadtests/venv/build/requests-hawk Storing complete log in /Users/James/.pip/pip.log make: *** [build] Error 1 This is a blocker for Loop-Server load testing against the third-part live server...
Reporter | ||
Updated•10 years ago
|
Priority: -- → P1
Summary: Unable to build Loop-Server due to error with requests-hawk → Unable to build Loop-Server loadtest due to error with requests-hawk
Whiteboard: [qa+]
Reporter | ||
Comment 1•10 years ago
|
||
This is what I have: /Users/James/loop-server/loadtests/venv/build -rw-r--r-- 1 James staff 185 Jul 17 11:09 pip-delete-this-directory.txt drwxr-xr-x 9 James staff 306 Jul 17 11:09 requests-hawk And here: /Users/James/loop-server/loadtests/venv/build/requests-hawk -rw-r--r-- 1 James staff 3300 Jul 17 11:09 PKG-INFO -rw-r--r-- 1 James staff 2244 Jul 17 11:09 README.rst drwxr-xr-x 2 James staff 68 Jul 17 11:09 pip-egg-info drwxr-xr-x 4 James staff 136 Jul 17 11:09 requests_hawk drwxr-xr-x 9 James staff 306 Jul 17 11:09 requests_hawk.egg-info -rw-r--r-- 1 James staff 59 Jul 17 11:09 setup.cfg -rw-r--r-- 1 James staff 1160 Jul 17 11:09 setup.py And from loadtests: $ find . -name Changes.txt -print returns nothing
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → tarek
Assignee | ||
Comment 2•10 years ago
|
||
please update loop-server master and try again
Flags: needinfo?(jbonacci)
Reporter | ||
Comment 3•10 years ago
|
||
git clone loop-server cd loop-server npm install cd loadtests make build Same error: IOError: [Errno 2] No such file or directory: '/Users/James/loop-server/loadtests/venv/build/requests-hawk/CHANGES.txt' loadtests$ git branch -a * master
Status: NEW → ASSIGNED
Reporter | ||
Updated•10 years ago
|
Flags: needinfo?(jbonacci)
Reporter | ||
Comment 4•10 years ago
|
||
OK, the build works now and I did a make test to verify.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Reporter | ||
Updated•10 years ago
|
Status: RESOLVED → VERIFIED
Comment 5•10 years ago
|
||
I released the new version of requests-hawk (with the right manifest file) and changed loop-server so that it uses it (https://github.com/mozilla-services/loop-server/commit/6c99ff1df7d5b20d8abb6f9d643a4876cf848430)
Comment 6•10 years ago
|
||
:tarek can you remove requests-hawk2 packages from PYPI?
Flags: needinfo?(tarek)
Reporter | ||
Comment 8•10 years ago
|
||
Just reverified the unit tests after the removal of the requests-hawk2 packages.
You need to log in
before you can comment on or make changes to this bug.
Description
•