summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-02-18Updated to load the test-implementations more carefully.Steve Kemp
This fully explores the parsing and unparsing of the test-objects, with the exceptions of DNS, FTP, LDAP, and SSLCertificates.
2015-02-18Reordered registration.Steve Kemp
This allows the test-suite to pass.
2015-02-18Minor commenting/whitespace fixups.Steve Kemp
No functional changes.
2015-02-18Prefer "while true" to "while 1"Steve Kemp
Also only sleep between fetches if we couldn't find a job because the queue was empty.
2015-02-18Updated comments for better accuracy.Steve Kemp
2015-02-18Removed reference to timeout for tests.Steve Kemp
This was an invalid comment, the timeout related to HTTP-fetches.
2015-02-18Moved the list of dependencies to the README file.Steve Kemp
We only have two dependencies: * The curb-gem for HTTP-testing. * A queue-related gem, be it beanstalkd or redis.
2015-02-18Minor test-case update.Steve Kemp
Now we have multiple HTTP-implementations we need to update to make sure they're all caught.
2015-02-18Show NOP messages.Steve Kemp
2015-02-18Correctly parse tests with multiple implementation-types.Steve Kemp
We now parse a single test-definition into multiple test-implementations. This isn't required here because the parser only needs to know that the configuration file *can* be parsed, not what the result is. Validate that we got an array, but otherwise ignore the results after the first.
2015-02-18Removed diagnostic printing.Steve Kemp
2015-02-18Updated tests to pass with new API.Steve Kemp
The class-factory for instantiating tests now returns an array rather than a string.
2015-02-18Added SSL-expiry checker.Steve Kemp
This is a stub for the moment, but it validates that we can have multiple handlers for a given test-type. This updates #9558.
2015-02-18Minor formatting and commenting update.Steve Kemp
2015-02-18Store the test-class in the redis-state.Steve Kemp
We need to do this such that we can show all possible results of a test in the status-page. There might be three back-ends with different results and if we filter by class-type we'll be able to see that.
2015-02-18Updated the way we wait for jobs.Steve Kemp
The new approach uses the redis gems timeout functionality and ensures we never return a null-job. Instead we timeout and repeat with a stalling-sleep in the way. This closes #9553.
2015-02-18Branch-merge.Steve Kemp
2015-02-17fix the redis queue not to melt the cpu when polling redis for a jobPatrick J Cherry
2015-02-17Deal with multiple test-implementations.Steve Kemp
As soon as we allow multiple test-implementations we get into a mess, as Mauve regards an ID as unique and that is based upon the test-definition not the implementing method We want to allow: * HTTPS test to succeed. * SSL-check to fail. Which means multiple tests of type "https" will have different IDs. Force this by adding on the class of the implementation.
2015-02-17Updated for new test-type API.Steve Kemp
Now that the class-factory returns an Array, we've updated the test-cases to continue to pass.
2015-02-17Now we work with multiple implementations.Steve Kemp
2015-02-17Allow multiple handlers to register themselves forSteve Kemp
a given input-line.
2015-02-17Changed the way that we process a single job.Steve Kemp
We now work on the assumption that a single "job", pulled from the queue, might contain multiple "test" objects. These are the instances of the protocol-testers which we actually execute. This is part of #9558.
2015-02-13Added 5.28.58.0/24 to the Bytemark ranges.Steve Kemp
2015-02-12Added tag release-0.23 for changeset 7edefce316f9Steve Kemp
2015-02-12Make the test-definition available to the redis-alerter.Steve Kemp
2015-02-12Updated to require JSONSteve Kemp
2015-02-12Added tag release-0.22 for changeset c7647c4824e1Steve Kemp
2015-02-12New release - with the redis-alerter changes.Steve Kemp
2015-02-12Updated to store the test results in a set.Steve Kemp
The redis-state "alerter" saves state in a useful way for the future, and will now save an array of hashes - each has corresponding to a useful result.
2015-02-06Added tag release-0.21 for changeset 869f6352cc3cSteve Kemp
2015-02-06new release.Steve Kemp
2015-02-06Explicitly report time in MSSteve Kemp
2015-02-05Better alerting metric for graphite.Steve Kemp
We now record: custodian.$type.$host.test_duration [time]
2015-02-05Added tag release-0.20 for changeset d3fe15b06528Steve Kemp
2015-02-05New releaseSteve Kemp
2015-02-05Don't trash the alert-subject.Steve Kemp
2015-02-05Test that "flush!" is defined as a method.Steve Kemp
2015-02-05Fixed punctuation on commentSteve Kemp
2015-02-05Updated documentation to match reality.Steve Kemp
(This mostly means the removal of --logfile.)
2015-02-05More simplification - don't pass state around.Steve Kemp
Rather than passing our settings-object around, as well as specific settings that are read from it, just pass the object. The worker can read the settings directly if/when it needs to.
2015-02-05Simplify code by removing configuration.Steve Kemp
We now set the queue-address via $QUEUE_ADDRESS, otherwise we default to localhost. This works for both redis & beanstalkd.
2015-02-05Added tag release-0.19 for changeset f9049dde14c9Steve Kemp
2015-02-05New release with the queue-flushing change.Steve Kemp
2015-02-05Simplify the flushing of queues.Steve Kemp
Now that we've moved to using redis by default the handling of queue-flushing needs to change. We can simply get rid of the busy-wait and run a redis "del" operation. With that in mind we've moved the flushing logic to our queue abstraction layer, and simplified our queue-helper script.
2015-02-05Added tag release-0.18 for changeset 6278764cc925Steve Kemp
2015-02-05Move our ruby libraries.Steve Kemp
This is designed to help them be loaded by ruby1.8 + 1.9.1.
2015-02-04Added tag release-0.17 for changeset 8a4b0deefe71Steve Kemp
2015-02-04New release now we have the shebang lines corrected.Steve Kemp
2015-02-04Hint to ruby that rubygems should be loaded.Steve Kemp
This allows our redis-library to be used.