Simple loadtest on RHEL now failing because of ImportError on cffi #268
Comments
Duplicated on AWS (second attempt), SciLinux 6.4, and Fedora 19. |
It looks like a new major version of pyzmq was relased a few days ago (v14.0.0) so my first guess is some compatibility problem with the new lib. /cc @tarekziade @ametaireau in case they're seen this before. |
@jbonacci if you have a pastebin of the |
I will generate some new ones as soon as this is working again: I keep getting errors during the "make build" step do to server issues at that site. |
@rfk |
Duplicated while running "make test" for loads repo. |
OK. So I created a new AWS rhel instance and skipped the step where I manually installed zmq. cd picl-idp This still fails as follows: https://jbonacci.pastebin.mozilla.org/3441919 So, I am kinda stuck on my workaround for this issue... |
@rfk made a change to the Make file in the loads-moar-load branch to force a specific version of zmq for node. Running this again: This still fails, unfortunately: |
I managed to get the build working on the RHEL machine you gave me access to, with the following steps:
It would be worth exploring other combinations here, e.g. trying zmq 4.X wit pyzmq 13.X. But hopefully this procedure will unblock you in the meantime. |
This I always do: ./configure --prefix=/usr 👍 Will look into this more tomorrow. Thanks for finding a solution. |
Closing in favor of #279 |
FYI - this does appear to be fixed with the latest loads-moar-load branch and updated Makefile. |
docs(verify): fix misnamed 'scopes' response property
Well this also seems to be new.
Following basic steps to "npm install" the master branch of picl-idp
then
make build
make test
Gets me this on both AWS (rhel) and SciLinux (rhel):
./bin/loads-runner --hits=1 --external-process-timeout=30 --test-runner="
pwd
/lib/loads.js/runner.js {test}" "pwd
/loadtests.js"Traceback (most recent call last):
File "./bin/loads-runner", line 9, in
load_entry_point('loads==0.3', 'console_scripts', 'loads-runner')()
File "/home/ec2-user/picl-idp/loadtest/lib/python2.6/site-packages/pkg_resources.py", line 378, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/ec2-user/picl-idp/loadtest/lib/python2.6/site-packages/pkg_resources.py", line 2566, in load_entry_point
return ep.load()
File "/home/ec2-user/picl-idp/loadtest/lib/python2.6/site-packages/pkg_resources.py", line 2260, in load
entry = import(self.module_name, globals(),globals(), ['name'])
File "/home/ec2-user/picl-idp/loadtest/lib/python2.6/site-packages/loads/init.py", line 4, in
from loads.case import TestCase # NOQA
File "/home/ec2-user/picl-idp/loadtest/lib/python2.6/site-packages/loads/case.py", line 6, in
from loads.results import LoadsTestResult, UnitTestTestResult
File "/home/ec2-user/picl-idp/loadtest/lib/python2.6/site-packages/loads/results/init.py", line 3, in
from loads.results.zmqrelay import ZMQTestResult # NOQA
File "/home/ec2-user/picl-idp/loadtest/lib/python2.6/site-packages/loads/results/zmqrelay.py", line 5, in
import zmq.green as zmq
File "/home/ec2-user/picl-idp/loadtest/lib/python2.6/site-packages/zmq/init.py", line 62, in
from zmq.backend import *
File "/home/ec2-user/picl-idp/loadtest/lib/python2.6/site-packages/zmq/backend/init.py", line 22, in
_ns = select_backend('zmq.backend.cffi')
File "/home/ec2-user/picl-idp/loadtest/lib/python2.6/site-packages/zmq/backend/select.py", line 31, in select_backend
mod = import(name, fromlist=public_api)
File "/home/ec2-user/picl-idp/loadtest/lib/python2.6/site-packages/zmq/backend/cffi/init.py", line 12, in
from zmq.backend.cffi import (constants, error, message, context, socket,
File "/home/ec2-user/picl-idp/loadtest/lib/python2.6/site-packages/zmq/backend/cffi/constants.py", line 4, in
from ._cffi import C, c_constant_names
File "/home/ec2-user/picl-idp/loadtest/lib/python2.6/site-packages/zmq/backend/cffi/_cffi.py", line 18, in
from cffi import FFI
ImportError: No module named cffi
make: *** [test] Error 1
I do not remember seeing this before...
The text was updated successfully, but these errors were encountered: