Details
-
Task
-
Resolution: Fixed
-
Critical
-
None
-
6.6.3
-
1
-
KV-Engine Sprint 2021 June
Description
Various CB Server use python for test harnesses and similar. Some of these assume /usr/bin/python is actually Python 2.x.
As of Ubuntu20.04 (and possibly other distros), /usr/bin/python is Python3, and hence if a given program is not written to work with either python 2 or python 3, it will fail when run on Ubuntu 20.04.
For example, the following unit test failures are pretty much all due to this issue: http://cv.jenkins.couchbase.com/job/unit-simple-test/32081/testReport/
We need to update the affected test programs; ideally to migrate them to work with python3 and explicitly request python3 as their interpreter.
Attachments
Issue Links
- Clones
-
MB-46269 Update unit tests to use python3
- Resolved
For Gerrit Dashboard: MB-46657 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
154933,2 | MB-46657: Make couchdb unit tests runner compatible with python3 | mad-hatter | couchdb | Status: MERGED | +2 | +1 |
154934,4 | MB-46657: Update couchdb test to use python 3 | mad-hatter | couchdb | Status: MERGED | +2 | +1 |
154935,4 | MB-46657: Use python3 interpreter in CMake files | mad-hatter | couchdb | Status: MERGED | +2 | +1 |
155010,4 | MB-46657: Update breakpad-test to use Python 3 | mad-hatter | kv_engine | Status: MERGED | +2 | +1 |
155011,3 | MB-46657: Update platform-interrupt-test to use Python 3 | mad-hatter | platform | Status: MERGED | +2 | +1 |
155012,3 | MB-46657: Update couchstore python tests to use Python 3 | mad-hatter | couchstore | Status: MERGED | +2 | +1 |
155724,1 | Merge branch 'couchbase/mad-hatter' into couchbase/cheshire-cat | cheshire-cat | kv_engine | Status: MERGED | +2 | +1 |
156113,2 | Merge branch 'couchbase/cheshire-cat' into couchbase/master | master | kv_engine | Status: MERGED | +2 | +1 |
156695,1 | Merge branch 'mad-hatter' into cheshire-cat | cheshire-cat | platform | Status: MERGED | +2 | +1 |
157232,1 | Merge 'couchbase/cheshire-cat' into 'couchbase/master' | master | platform | Status: MERGED | +2 | +1 |