The mongodb charm is failing automated testing

Bug #1403571 reported by Matt Bruzek
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
MongoDB Charm
Won't Fix
Undecided
Unassigned

Bug Description

In an effort to improve quality, we are testing all charms in an automated process.

According to the latest test results by charm http://reports.vapour.ws/charm-tests-by-charm this charm is failing automated testing.

The latest report for mongodb can be found here:
http://reports.vapour.ws/charm-tests/charm-bundle-test-10675-results

It looks like the 01_deploy_single.py test is failing with the output:

2014-12-11 18:31:47 Deployment complete in 401.74 seconds
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pymongo/mongo_client.py", line 349, in __init__
    self.__find_node(seeds)
  File "/usr/lib/python3/dist-packages/pymongo/mongo_client.py", line 750, in __find_node
    raise AutoReconnect(', '.join(errors))
pymongo.errors.AutoReconnect: could not connect to 15.126.255.207:27017: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/var/lib/jenkins/workspace/charm-bundle-test/tmptL5CsD/mongodb/tests/01_deploy_single.py", line 40, in <module>
    validate_world_connectivity()
  File "/var/lib/jenkins/workspace/charm-bundle-test/tmptL5CsD/mongodb/tests/01_deploy_single.py", line 27, in validate_world_connectivity
    client = MongoClient(d.sentry.unit['mongodb/0'].info['public-address'])
  File "/usr/lib/python3/dist-packages/pymongo/mongo_client.py", line 352, in __init__
    raise ConnectionFailure(str(e))
pymongo.errors.ConnectionFailure: could not connect to 15.126.255.207:27017: timed out

Please take a look at this problem and fix the charm or the tests so the automated testing passes.

Matt Bruzek (mbruzek)
Changed in mongodb (Juju Charms Collection):
status: New → Triaged
Revision history for this message
Antonio Rosales (arosales) wrote :

Work is undersway to resolve these testing issues:
2015/01/22 Jorge Niedbalski [mariosplivalo, r=niedbalski,freyes] Fixes various replicaset issues bug LP: #1403698, LP: #1370542, (revno 66)
2015/01/13 Matt Bruzek [wes] Merge exec.d and volume relation_id patches from precise charm [mbruzek] Fixed lint errors in (revno 65)
2015/01/13 Charles Butler [r=lazypower] dann frazier 2014-11-20 Use ppa:mongodb-arm64/ppa by default when running on arm64/t (revno 64)

Thus, this charm will not be moved into the unmaintained namespace of the charm store per:
 https://jujucharms.com/docs/charm-unmaintained-process
 https://lists.ubuntu.com/archives/juju/2014-December/004736.html

Thanks for working to resolve this issues, lets try to get this charm backing into a passing state asap.
-Antonio

Changed in mongodb (Juju Charms Collection):
assignee: nobody → Mario Splivalo (mariosplivalo)
affects: mongodb (Juju Charms Collection) → mongodb-charm
Changed in mongodb-charm:
assignee: Mario Splivalo (mariosplivalo) → nobody
Revision history for this message
Xav Paice (xavpaice) wrote :

The roadmap for this charm includes replacing the functional and unit tests with a newer pytest based framework. In the meantime, automated testing including deploying of this charm works fine, so I'll mark this as wontfix.

Changed in charm-mongodb:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.