New Charm Submission for mysqltest

Bug #1513863 reported by Michael Reed
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juju Charms Collection
Fix Released
Undecided
Unassigned

Bug Description

The purpose of this charm it to create simple functional tests of mysql.

Revision history for this message
Review Queue (review-queue) wrote : HP Test Results: New Charm Submission for mysqltest

This item has failed automated testing! Results available here http://juju-ci.vapour.ws:8080/job/charm-bundle-test-hp/1085/

Revision history for this message
Review Queue (review-queue) wrote : AWS Test Results: New Charm Submission for mysqltest

This item has failed automated testing! Results available here http://juju-ci.vapour.ws:8080/job/charm-bundle-test-aws/1376/

Revision history for this message
Review Queue (review-queue) wrote : LXC Test Results: New Charm Submission for mysqltest

This item has failed automated testing! Results available here http://juju-ci.vapour.ws:8080/job/charm-bundle-test-lxc/1366/

Revision history for this message
Review Queue (review-queue) wrote : AZURE Test Results: New Charm Submission for mysqltest

This item has failed automated testing! Results available here http://juju-ci.vapour.ws:8080/job/charm-bundle-test-azure/1149/

Revision history for this message
Cory Johns (johnsca) wrote :

Michael,

Thank you for your submission!

As you can see above, the tests are failing in the CI, and they failed for me as well. This seems to be due to the bundle file that the test uses having local paths for the charms that are specific to your system. I would recommend changing the bundle to deploy the charms from the charm store using the cs: prefix. The mysqltest would need to be deployed from your namespace at first, of course.

I also noticed that the formatting of the README is a bit hard to read on https://jujucharms.com/u/mreed8855/mysqltest/ and it would be good to convert that to Markdown and add some formatting.

Within the charm itself, I was a little confused as to why the benchmarks were being set up and run as Upstart jobs? Surely, they don't need managed as system services or run if the instance is restarted? Also, as Upstart jobs, it seems that they would be run out of band and that you wouldn't capture the timing information that would be useful for these as benchmarks.

I also noticed that you have both actions and a config option as methods for triggering the tests / benchmarks. I would suggest that this seems like a natural fit for actions and a bit awkward to use via the config option. Perhaps the latter could be removed in favor of the former? In the actions, the parameters seem to be unused, so they should probably be removed to keep the interface clean.

Cory Johns (johnsca)
Changed in charms:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Juju Charms Collection because there has been no activity for 60 days.]

Changed in charms:
status: Incomplete → Expired
Revision history for this message
Michael Reed (mreed8855) wrote :

 I have pushed the fixes up to the branch

Revision history for this message
Michael Reed (mreed8855) wrote :

I added additional changes to avoid bundletester failures.

Michael Reed (mreed8855)
Changed in charms:
status: Expired → In Progress
assignee: nobody → Michael Reed (mreed8855)
Michael Reed (mreed8855)
Changed in charms:
assignee: Michael Reed (mreed8855) → nobody
Revision history for this message
Cory Johns (johnsca) wrote :

With the changes, the tests pass for me and it all looks good but for two minor suggestions:

* Remove the unused params from actions.yaml (file can contain just this: http://pastebin.ubuntu.com/15096777/)

* Add a blank line just before the first list in the README to fix the formatting

Other than those, which aren't really blocking issues, this seems good for my +1

Revision history for this message
Michael Reed (mreed8855) wrote :

I just updated the following:

Removed the unused parameters
Added a blank line to the README.md file

Changed in charms:
status: In Progress → Fix Committed
Revision history for this message
Cory Johns (johnsca) wrote :

MIchael,

Thanks for the submission and dedication to Juju charms.  This charm is now promulgated!

Within about an hour, the charm will be available at https://jujucharms.com/mysqltest/ and can be deployed with:

    juju deploy cs:trusty/mysqltest

The promoted charm project can be found in Launchpad at: https://launchpad.net/charms/+source/mysqltest

You can start monitoring for bugs at: https://bugs.launchpad.net/charms/trusty/+source/mysqltest

Congratulations on making it into the charm store!

Thanks again!

Changed in charms:
status: Fix Committed → Fix Released
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.