Details
-
Task
-
Resolution: Fixed
-
Major
-
Cheshire-Cat
-
1
Description
What's the issue?
The integration testing is currently failing to run due to (what appear to be) import errors. We should investigate why we're seeing these errors and try get it back up-and-running again.
Considering we haven't changed examinador for a while, and the relevant imports haven't changed considerably I imagine it may be an environmental issue on the Jenkins machines/perhaps there has been a Python upgrade.
Examine error |
Error in file '/home/couchbase/jenkins/workspace/backup_integration_tests_master/examinador/cbm_tests' on line 4: Importing test library '/home/couchbase/jenkins/workspace/backup_integration_tests_master/examinador/libraries/sdk_utils.py' failed: ImportError: cannot import name 'Protocol' from 'couchbase_core._pyport' (/home/couchbase/jenkins/workspace/backup_integration_tests_master/examinador/robot-env/lib/python3.7/site-packages/couchbase_core/_pyport.py)
|
Traceback (most recent call last):
|
File "/home/couchbase/jenkins/workspace/backup_integration_tests_master/examinador/libraries/sdk_utils.py", line 8, in <module>
|
from couchbase.cluster import Cluster, ClusterOptions, QueryOptions
|
File "/home/couchbase/jenkins/workspace/backup_integration_tests_master/examinador/robot-env/lib/python3.7/site-packages/couchbase/cluster.py", line 5, in <module>
|
from couchbase.management.queries import QueryIndexManager
|
File "/home/couchbase/jenkins/workspace/backup_integration_tests_master/examinador/robot-env/lib/python3.7/site-packages/couchbase/management/queries.py", line 8, in <module>
|
from couchbase_core._pyport import Protocol
|
PYTHONPATH:
|
/home/couchbase/jenkins/workspace/backup_integration_tests_master/examinador/robot-env/bin
|
/usr/lib/python37.zip
|
/usr/lib/python3.7
|
/usr/lib/python3.7/lib-dynload
|
/home/couchbase/jenkins/workspace/backup_integration_tests_master/examinador/robot-env/lib/python3.7/site-packages
|