charm unit tests fail on bionic or later

Bug #1802926 reported by Tom Haddon on 2018-11-12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MongoDB Charm

Bug Description

Running tests inside a xenial LXC works okay, but running tests on bionic or later fails:

ERROR: test_join_replset (unit_tests.test_hooks.MongoHooksTest)
Traceback (most recent call last):
  File "/home/mthaddon/repos/mongodb-charm/mongodb-charm/.venv/local/lib/python2.7/site-packages/mock/", line 1305, in patched
    return func(*args, **keywargs)
  File "/home/mthaddon/repos/mongodb-charm/mongodb-charm/unit_tests/", line 131, in test_join_replset
    hooks.join_replset(master_node='mongo.local', host='fake-host')
  File "hooks/", line 552, in join_replset
    retVal = rs_add(host)
  File "hooks/", line 1220, in rs_add
  File "hooks/", line 1611, in run
SystemExit: 127

Related branches

Tom Haddon (mthaddon) on 2018-11-12
Changed in mongodb-charm:
status: New → Fix Released
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers