aboutsummaryrefslogtreecommitdiff
path: root/ca/tests
AgeCommit message (Collapse)Author
2015-10-25Tweak binary field types to get SQLite3 working as a Django ORMRob Austein
backend. Switch yamltest's default database configuration to sqlite3. MySQL still has character set issues, which are almost certainly to do with the communication channel rather than the database tables. It's possible that one of the newer DB API drivers for MySQL fixes this, might be worth trying one of them at some point (see the "MySQL notes" discussion of MySQL DB API drivers in the Django documentation). svn path=/branches/tk705/; revision=6149
2015-10-22Timing tweaks to a kludgy test script. Didn't help, might have doneRob Austein
so on a faster machine. svn path=/branches/tk705/; revision=6141
2015-10-22First cut at replacing rpkid's HTTP and I/O system with Tornado. NotRob Austein
quite working perfectly yet (cron is a bit wonky) but manages to produce an initial set of ROAs without thowing any exceptions, and code is already much cleaner than the old callback-based horror. svn path=/branches/tk705/; revision=6139
2015-10-20Left-right test cases updated to track [6120].Rob Austein
svn path=/branches/tk705/; revision=6136
2015-10-20Change <self/> (etc) to <tenant/> (etc). "self" always was a reallyRob Austein
bad choice for something implemented in Python, holdover from an older specification, but Django ORM's troubles with "self" as a keyword argument were the last straw. Enough already. Backwards compatability should be a straightforward data migration. svn path=/branches/tk705/; revision=6134
2015-10-19Tweak test scripts.Rob Austein
svn path=/branches/tk705/; revision=6130
2015-10-19Amputate old SQL code out of rpkid with a fire axe, replacing it withRob Austein
Django ORM. Duct tape and bailing wire everywhere, much clean-up left to do, but basic "make yamltest" suite runs. Much of the clean-up isn't worth doing until after revamping the I/O system, as it'll all change again at that point anyway. svn path=/branches/tk705/; revision=6127
2015-10-16PyLint. As usual, a lot of noise and a handful of real, albeit minor, bugs.Rob Austein
svn path=/branches/tk705/; revision=6123
2015-10-16Replace RRDP wired-in-URL kludge with proper support in OOB andRob Austein
left-right protocol and irdb and rpkidb models. Not fully working yet, RRDP URI isn't yet showing up everywhere it should, but this is probably more an indication that the previous hack was incomplete than that the replacement broke something. svn path=/branches/tk705/; revision=6120
2015-10-09Baby steps towards using new rpkidb models. Now that SAX is gone,Rob Austein
clean up some of the corresponding mess. svn path=/branches/tk705/; revision=6105
2015-10-08Clean out remains of old publication_control protocol implementation.Rob Austein
A few old test programs were still using this, those will require upgrade or retirement. svn path=/branches/tk705/; revision=6102
2015-10-08Initial sorta-mostly-working with Django 1.8. Incredibly noisy due toRob Austein
incomprehensible advance depreciation warnings for Django 1.9. svn path=/branches/tk705/; revision=6100
2015-10-07Discard Django router in favor of separate settings files tailored toRob Austein
particular programs (see #713). svn path=/branches/tk705/; revision=6098
2015-10-07SAX cleanup.Rob Austein
svn path=/branches/tk705/; revision=6094
2015-07-21More relatively straightforward merges.Rob Austein
svn path=/branches/tk705/; revision=6083
2014-11-12Initial (awful kludge) version of adding RRDP URIs to SIA extension.Rob Austein
This needs rewriting, but doing it properly requires a minor database schema change, and I'm trying to get a test case running by tomorrow morning. svn path=/branches/tk705/; revision=6015
2014-11-08Simplify RRDP schema again: one delta file now contains exactly oneRob Austein
delta rather than a range. svn path=/branches/tk705/; revision=6010
2014-09-30Pull from trunk.Rob Austein
svn path=/branches/tk705/; revision=5979
2014-09-19Convert pubd to use Django ORM and lxml.etree.Rob Austein
smoketest temporarily broken as it doesn't know anything about Django. svn path=/branches/tk705/; revision=5961
2014-09-16Add a mechanism yamltest can use to signal its parent that it's doneRob Austein
with all its tedious setup actions. svn path=/branches/tk705/; revision=5957
2014-09-16Merge changes from branches/tk713 into branches/tk705. See #705, #713.Rob Austein
svn path=/branches/tk705/; revision=5956
2014-09-16Add --browser switch to yamltest. Less useful than I had hoped itRob Austein
might be due to some kind of CSRF problem, might be worth figuring out how to disable that for debugging but not terribly urgent. svn path=/branches/tk713/; revision=5955
2014-09-16Add support for running GUI under yamltest.Rob Austein
Result sometimes hangs with browser waiting for response, not sure why, might be ancient abandoned bug #116. Logging control is a bit screwy, everything uses Python's logging library but we have multiple ways of configuring it. svn path=/branches/tk713/; revision=5954
2014-09-14Remove --config arguments from all daemons, as part of simplifyingRob Austein
startup procedure. This may be temporary, as processing --help without a configuration file may require deferring all Django imports until late enough that --config would work too. Defer for now. svn path=/branches/tk713/; revision=5953
2014-09-14Simplify configuration file search in rpki.config.parser.Rob Austein
svn path=/branches/tk713/; revision=5952
2014-09-14Add IRDB migration to yamlconf.Rob Austein
svn path=/branches/tk713/; revision=5951
2014-09-14Start backing out all the old settings.configure() calls, which wereRob Austein
indeed masking the new migration stuff. yamltest now runs migrations as part of setting up test CAs; still need to decide whether running migrations in production is something that should be handled explicitly via rpki-manage or should be bundled into rpki-sql-setup. Old settings.configure() code still present as a trail of breadcrumbs to follow when backing out the rest of the tortuous startup sequence required by the old way of doing things. svn path=/branches/tk713/; revision=5950
2014-09-13Groundwork for Django ORM world conquest: sort out settings.py mess.Rob Austein
svn path=/branches/tk713/; revision=5948
2014-08-28RRDP test code had gotten a bit stale.Rob Austein
svn path=/branches/tk705/; revision=5942
2014-08-07Rework RRDP filename scheme to simplify Apache configuration.Rob Austein
svn path=/branches/tk705/; revision=5915
2014-08-06Sort out BPKI mess with rootd talking to pubd. Underlying problem isRob Austein
that smoketest.py uses an obsolete BPKI model which requires different configuration than modern code. Real fix is several different major refactoring jobs (merging rootd into rpkid, merging all three YAML-based test tools...). As usual, not today. svn path=/branches/tk705/; revision=5914
2014-08-06rootd with publciation protocol mostly working with modern IRDB.Rob Austein
svn path=/branches/tk705/; revision=5913
2014-08-04rootd now uses publication protocol. Not yet usable outside smoketestRob Austein
harness: still need to work out what BPKI configuration looks like with modern IRDB, and rootd doesn't yet handle restart correctly (will fail if any of its outputs already exist in pubd's database). svn path=/branches/tk705/; revision=5911
2014-07-18Pull changes from trunk.Rob Austein
svn path=/branches/tk705/; revision=5903
2014-07-18Pull XML namespaces and so forth from schemas where possible.Rob Austein
svn path=/trunk/; revision=5902
2014-07-15Checkpoint. Merge changes from trunk. Add hash-based withdrawalRob Austein
checks and <list/> command to publication protocol. svn path=/branches/tk705/; revision=5896
2014-07-12Tweak tar command in test script.Rob Austein
svn path=/trunk/; revision=5895
2014-07-12Debug rpki-rtr BGPSEC test case and rpki-rtr-replay script.Rob Austein
svn path=/trunk/; revision=5894
2014-07-09Add withdrawal hashes to publication and rrdp.Rob Austein
svn path=/branches/tk705/; revision=5888
2014-07-07Checkpoint of SQL-based publish and withdraw processing. Doesn'tRob Austein
handle publish-with-overwrite correctly yet, not generating RRDP files yet, but passes "make test" without doing anything obviously insane. svn path=/branches/tk705/; revision=5887
2014-07-03Get rid of the <config/> element of the publication-control protocol, it's a ↵Rob Austein
historical relic. Update example PDUs for publication and publication-control protocols. svn path=/branches/tk705/; revision=5883
2014-07-03Convert to current IETF I-D version of publication protocol. See #705.Rob Austein
svn path=/branches/tk705/; revision=5881
2014-06-30Proposed RRDP simplifications after email discussion. Still subjectRob Austein
to change, checking in to simplify discussion. svn path=/branches/tk705/; revision=5877
2014-06-26Initial schema and test cases for RRDP, based on Tim's expired -01Rob Austein
draft. Not yet simplified to remove what we now think are premature optimizations; the schema contains notes on this. See #705. svn path=/branches/tk705/; revision=5875
2014-06-20Timing parameters were a bit short for any sane use.Rob Austein
svn path=/trunk/; revision=5870
2014-06-20Preliminary BGPSEC test configuration generator.Rob Austein
svn path=/trunk/; revision=5869
2014-05-31Still more PyLint.Rob Austein
svn path=/trunk/; revision=5856
2014-05-30Use --log-file in yamltest; debug the rotating log file options.Rob Austein
svn path=/trunk/; revision=5853
2014-05-30Move all the complexity of configuring the ten zillion kinds ofRob Austein
logging handlers up front to the argparse stage, thereby also giving the application more control over the default logging configuration. svn path=/trunk/; revision=5851
2014-05-29PyLintRob Austein
svn path=/trunk/; revision=5845