commit 672ad5b96e97c00b97bd8d45409a70c1dcf9fa6e Author: Dan Callaghan Date: Fri Mar 14 16:50:27 2014 +1000 Automatic commit of release 0.16.0 commit 8f282e15486f96409c38ded67859a85043797786 Author: Dan Callaghan Date: Thu Mar 13 08:41:09 2014 +1000 Automatic commit of release 0.16.0rc1 commit 2c6911ad5dab9e63993c3f5c81dfd31539b6d489 Author: Dan Callaghan Date: Wed Mar 12 13:15:04 2014 +1000 release notes for 0.16 Change-Id: I5ff1aff85fe95aae69360eaf92d9e87488498a66 commit d707cdba3ed125a8bb2ae6616827bd9779a90133 Author: Amit Saha Date: Tue Mar 11 17:00:03 2014 +1000 Convert test to use WebDriver instead - bkr.inttest.server.selenium.test_recipes:TestRecipesDataGrid commit 4190c3134177776bc7bded55c8dc0f42ea177a5e Author: Dan Callaghan Date: Mon Mar 10 13:23:12 2014 +1000 don't truncate watchdog time remaining to 7 characters The '%.7s' format string had the effect of truncating off the microsecond portion of the time remaining, however it failed to deal with timedeltas outside the range of (0, 10 hours]. This patch avoids a microsecond portion on the time remaining, without truncating unusual values. Bug: 1072133 Change-Id: I4696934fc3de78d3f6e5cc57e3d71097a6d2a763 commit fa34db552140a1d665051dff186d779d43943663 Author: Nick Coghlan Date: Tue Feb 18 17:14:50 2014 +1000 Use
instead of
in task results This avoids wasting vertical space when displaying recipes tasks that haven't started. (cherry picked from commit 0839d3b83fa6bc6e9488a620761994744d7a1aed) Bug: 1066122 Change-Id: Ie3ec6f99d5fd705e3fc1bb70a594e80d2de0f8a6 commit 3348ae7481b6a1358e2a12533d1a8990740b26f9 Author: Raymond Mancy Date: Wed Feb 26 11:08:21 2014 +1000 Re-add testinfo.py into Beaker. This was moved from beaker-server into rhts-python in commit 3c3d63012a6d23f7. We are re-adding it to avoid having a BuildRequires on rhts-python. Bug: 1067273 Change-Id: Ib5bf0a55a7bf46a87b24f05b34e1c3915abaa9f7 commit ab1c06fde65dd6d71e56fb9712a26b1b53dcd433 Author: Raymond Mancy Date: Tue Feb 25 15:17:25 2014 +1000 Add %check section to spec Bug: 1067273 Change-Id: Ie14e9cbb8af98edc191291f1e84228ded4ab364a commit d48fd4d3ceb7b14e0b5302d654181c5fb907e931 Author: Dan Callaghan Date: Thu Mar 6 12:43:01 2014 +1000 do not use sh-style quoting for kernel options Although Anaconda parses /proc/cmdline using shlex.split, the kernel itself defines its command line in bootparam(7) as space-separated tokens with no quoting or escaping. Dracut follows this lead and parses /proc/cmdline as space-separated tokens with no quoting. In practice no kernel options ever need to contain spaces or shell metachars so there is no effective difference. The one corner case we know of is URLs containing the tilde character, which pipes.quote considers to need quoting. Bug: 1067924 Change-Id: Idffc82bc4b4a4a0166418e8343738ce0581667f9 commit 3e9b44f20b2af8a58fb71d89f4c1a72918ab40a5 Author: Dan Callaghan Date: Mon Mar 10 09:29:19 2014 +1000 fix initial kill_time setting to be seconds instead of days Bug: 1074345 Change-Id: I00de5945abf7f8a594aede0863ba863ce74db67d commit 32bd16bb1f85f85e356adcfabcfb21cf6cbbea91 Author: Dan Callaghan Date: Wed Mar 5 17:22:41 2014 +1000 clean up copyright/license headers The Software Freedom Law Centre has a good summary of the issue around copyright notices and license headers in source code: http://www.softwarefreedom.org/resources/2012/ManagingCopyrightInformation.html Copyright notices take a lot of effort to accurately maintain (certainly the ones we have now are not accurate), and they aren't necessary to secure copyright anyway. The authoritative record of Beaker's authorship is always the git repository. Therefore we can omit copyright notices from all our source files. The GPL suggests, but does not require, a particular header be placed at the top of every source file. We can use a shorter version of the notice which still conveys the intended license for the file while taking up less space. The complete license is still included in the source tree as COPYING. Conveniently, this shorter license header still matches the GPL regexp in licensecheck which means running licensecheck on a Beaker tarball will give accurate results. Change-Id: I0c6914445553788bd243b427ea05aeb0137302a6 commit 697af25491cace80fa3cfba81a861068f0523fb5 Author: Dan Callaghan Date: Wed Mar 5 17:21:07 2014 +1000 remove dead bkr.server.breadcrumbs module Change-Id: I1b342953d8bad85a817e10cfe761c801b71d3a7c commit 864ebf59576b72947223ec50478cf5bc1cf8825a Author: Dan Callaghan Date: Wed Mar 5 16:54:19 2014 +1000 beaker.spec: add BSD to License field The LabController/src/bkr/labcontroller/tback.py file from Kobo, originally from Django, is licensed under 3-clause BSD. Change-Id: I090a8412e2d8d9db780833e0f89c064c1dc013b4 commit bdf31343c36ce048d5740f0816a693fdd06bb2c8 Author: Bill Peck Date: Tue Feb 25 19:12:45 2014 -0500 Add aarch64 support to beaker. - Allow distro import to recognise Red Hat Server distro as a RHEL distro - write out aarch64/grubefi entries. Unfortantely its different enough from efigrub. - need to pass machine specific dtb file, but this will go away RSN. - each host needs a filename entry in dhcpd.conf. grub/efi won't fall through once grub.efi is loaded from tftpboot. The only way around it seems to remove the entry. - Update kickstart.py to put %end for new osmajor Change-Id: Iaa16e4eb725e63317987dbf2c1d85daa7f823b5e commit 20989fa190cff24bf7260a1c2e8c5740f8add76f Author: Dan Callaghan Date: Thu Mar 6 10:19:23 2014 +1000 don't attempt to verify against an unset password hash This also fixes a corner case where an LDAP bind would be attempted even if the supplied password had already failed verification against the Beaker password hash. This situation should normally never happen, but in case it does, the password set in Beaker should take precedence over the LDAP password. Bug: 1072127 Change-Id: I77acfddab494db4eaee286bcdf47d620d7cb4909 commit e518c32224e707f5b3e2225688c2033157ff4913 Author: Dan Callaghan Date: Thu Mar 6 09:28:32 2014 +1000 tests: work around Python bug with EINTR in Popen.communicate() For details see: https://bugzilla.redhat.com/show_bug.cgi?id=1073165 Change-Id: I5611069054e97fa1a6abbc6327a0166732ff9748 commit 0a0daf6b61a59cc90c15b274679041fcb061d8f7 Author: Dan Callaghan Date: Tue Mar 4 10:19:06 2014 +1000 require crontabs for /etc/cron.* directories Change-Id: I09c75468264f93d94f7952d8437aec2fcb41d8d9 commit bf56afaf543a63be3930795ccb2bac96284f29e7 Author: Dan Callaghan Date: Fri Feb 28 17:32:05 2014 +1000 show task versions in Executed Tasks, allow searching by version Bug: 576304 Change-Id: Ie7f7ef6e8020c193f5d79bfeb27ccb49765c44d3 commit e42bd60f664ceeab2b03768398f1ad3001592030 Author: Dan Callaghan Date: Mon Oct 14 11:01:23 2013 +1000 report friendlier error when Kerberos ticket has expired Bug: 580118 Change-Id: I3bf12186aef16cc350b83df3be4db204456b6b38 commit 818c4af0029d3d7304f3289d93faa42896a8215a Author: Amit Saha Date: Fri Feb 28 13:04:11 2014 +1000 Add a sample job for virtualization workflow Bug: 1028302 Change-Id: I12e0cac46d2bf1d97e3494c1aba8b967ca2be3eb commit ee7d808a1d093cd0778fd46872975e5900677145 Author: Raymond Mancy Date: Thu Feb 27 15:08:07 2014 +1000 Ensures that blank fields in power_address are converted to '' Bug: 1070561 Change-Id: I6fa911bf5cbd2dfd33be682e369ef3dc9b5041e5 commit dc9bb8fac1f54144507df78d0d54770eae60ddf2 Author: Dan Callaghan Date: Thu Feb 27 20:25:58 2014 +1000 HubProxy: raise exception on login failures Currently HubProxy discards all exceptions related to logins. With this patch, callers will actually know if the login failed, instead of subsequent requests failing with an error like "Anonymous access denied". Most of the time we want login failures to be reported, but the current behaviour means that it was possible to have incorrect authentication settings in the client and still perform read-only operations that do not require authentication (for example, listing systems and fetching jobs results). To avoid breaking this use case, client commands which do not require authentication are marked as such, and these commands will skip the login step so that they may be used with incorrect or missing auth settings. Bug: 1067243 Change-Id: I248855bb6489c06bd345f1bc317563b3c6bc8b86 commit 8c3bbffc600fb90ceec63b18b803e397c1ad58f6 Author: Dan Callaghan Date: Fri Feb 28 10:25:42 2014 +1000 install systemd files into the right paths in setup.py The files aren't installed when systemd is absent, so we no longer need to %exclude them in those cases. Change-Id: I818fc708816d666c43edbeed3805f8e273e8e010 commit 878685d0826f47af4d96eafad97a606252b49655 Author: Dan Callaghan Date: Thu Feb 27 21:33:50 2014 +1000 CookieTransport has no close method Change-Id: Iad02060b9f8ffec114ed0c0597aff6a235aaae06 commit ab9a50bda2cac81945315d7f6f0f8d48722e3775 Author: Dan Callaghan Date: Thu Feb 27 21:09:06 2014 +1000 %{_unitdir} is not defined on distros without systemd Change-Id: I9cb27af797bf001981b2ec326045efe1b2977cdd commit 1a1079ce9a624fda97cd8c404eba333f6f3943a8 Author: Raymond Mancy Date: Mon Feb 24 14:16:23 2014 +1000 Have packages own %{sysconfdir}/beaker This avoids the directory being orphaned if the beaker packages are removed. Bug:1067273 Change-Id: Ifcdf38bc5fc21c12148f163dcac22967fcf7db51 commit ae37665328de7654ccab1a7a5838ecd2905a11c9 Author: Raymond Mancy Date: Mon Feb 17 13:20:01 2014 +1000 beaker-create-kickstart: Catch exceptions from invalid input values Bug:1058152 Change-Id: If861d400ae1ae650a82cebfebd74d6561f5ffb04 commit fd7234ffa0c44417ecd0ad5adf6c3079102e8db9 Author: Amit Saha Date: Fri Feb 7 12:50:35 2014 +1000 Allow --recipe-id and --system to be passed to beaker-create-kickstart. As a result, sensible precedence rules for options passed to beaker-create-kickstart have been created. Specifically, '--distro-tree-id' and '--system' will override any corresponding values of a recipe that is passed in via '--recipe-id' Bug: 1058156 Change-Id: I86472920f84da16e5148599f4528dd2225791fb8 commit 4c103d60ed3b5639e462665f8b38d15014bf1659 Author: Amit Saha Date: Thu Feb 27 00:08:00 2014 +1000 Allow correct behavior when a task is downgraded. If an older version of a task is uploaded, the repodata is generated twice to ensure the unlinked "newer" task's metadata is not present. Bug: 1044934 Change-Id: Ibeed51f0afc798ac11440487f2dc8d4fbcb1f2ab commit 1516be8646adbe1631607234fb89c0a20e13574c Author: Raymond Mancy Date: Mon Feb 24 13:19:39 2014 +1000 Use %{buildroot} consistently in spec file Bug:1067273 Change-Id: I0df39b9b80edf5401e7ec334862a4d47d7baf231 commit 3c17aeaa8d97a5b5a22084bd4aaf3f18fe093276 Author: Raymond Mancy Date: Fri Feb 21 17:12:57 2014 +1000 Modified beaker.spec that passes rpmlint with no errors/warnings Bug:1067273 Change-Id: If5520fafa74e1b18a413527ac429c38f32ae9298 commit 9efbef2f8e074e91b4cf7414e704c05e18179ace Author: Dan Callaghan Date: Thu Feb 27 16:52:58 2014 +1000 CookieTransport has no close method Change-Id: I0eb7babbecaaaf2577f68736ef79877197e2e73d commit bb910d3d9b80db7d296facac2c6df1ecf7dcd8f5 Author: Amit Saha Date: Tue Feb 25 21:36:42 2014 +1000 Move the test task RPMs to a subdirectory. This commit moves the test task RPMs used by various tests into a 'task-rpms' subdirectory instead of having them scattered across different sub directories. Change-Id: I91d103ccd4ec60a7694b92efd8d33ccb4c7b9e19 commit 1a3f0ca6cbd320b83b61923d0e703df7c1cd11ce Author: Raymond Mancy Date: Wed Feb 26 16:26:33 2014 +1000 Replace unversioned python macros with versioned ones Bug: 1067273 Change-Id: I7dd8fe74d53b5f9c43190880b29412d77a2db6a8 commit f7cef935992b4f1b5dd98e1433214ca8472c658e Author: Dan Callaghan Date: Wed Feb 26 10:02:40 2014 +1000 add Flask to setuptools requires, so that the correct Jinja version is imported Flask requires Jinja 2.6+ which is provided by a parallel-installed egg on RHEL6, so Flask needs to be in requires in order to make setuptools do the necessary path manipulation. This patch intentionally does not add Flask or Jinja2 to the other places where we currently require CherryPy < 3, because doing so would break running from source checkouts due to this setuptools bug: https://bitbucket.org/pypa/setuptools/issue/6/ This means that under some circumstances running from a source checkout may still import Jinja 2.2 instead of Jinja 2.6. Currently this is not an issue since we are not using any Jinja templates with Flask. Change-Id: I0e83bf725db250539bad0ad1f99328e5eec0befd commit b17e6e3e978aa94f71b1c026c6c24810247a8bf8 Author: Dan Callaghan Date: Tue Feb 25 09:51:41 2014 +1000 don't complain about duplicate tag names when editing an existing tag The UniqueRetentionTag validator is also used when saving an existing tag, where the tag name has not necessarily changed, so it needs to handle that case properly. Bug: 1012389 Change-Id: I02e6f69606b25013dd71ddaf440395c9309433be commit da5ec677d1131a611a23305e318fa6df751c0237 Author: Raymond Mancy Date: Tue Feb 25 14:18:42 2014 +1000 Add a default value for the quiescent period in the power form. Bug: 867761 Change-Id: I7b95c9ec86a19b7ed8991a1e4787a9767e985540 commit 66d09f4df76cf248833508b79520b95bb101acb4 Author: Dan Callaghan Date: Tue Feb 25 13:43:15 2014 +1000 mention beah 0.7.3 release in 0.15.5 release notes Change-Id: Ib7144291e22de825f8bcd6dc63e6f6a35f78ca35 commit 243cb5eede7284dbc68afec5853142046a748edf Author: Dan Callaghan Date: Mon Feb 24 14:23:58 2014 +1000 add index on command_queue.status This is important for efficiently querying queued commands in the labcontroller.get_queued_commands XML-RPC method used by beaker-provision. Bug: 1062469 Change-Id: I7f55cc5a425222182d374a9c713c3591f7200a7c commit 0839d3b83fa6bc6e9488a620761994744d7a1aed Author: Nick Coghlan Date: Tue Feb 18 17:14:50 2014 +1000 Use
instead of
in task results This avoids wasting vertical space when displaying recipes tasks that haven't started. Bug: 1066122 Change-Id: Ie3ec6f99d5fd705e3fc1bb70a594e80d2de0f8a6 commit 1bc923d5e6b98034f17eb76dfac861ff5e23a3a0 Author: Raymond Mancy Date: Fri Feb 21 10:42:47 2014 +1000 Speed up slow metrics queries There is no need for HAVING on these queries, so replaced with WHERE Change-Id: I55fe17969888ba0d6cfffcab3166da9f275aa13c commit 9bef049879e84b7f8d726e528344be1d501a4604 Author: Dan Callaghan Date: Wed Feb 19 12:29:05 2014 +1000 lab controller API to allow harnesses to update task name and version Bug: 1057459 Change-Id: I96498bfd52fd18d92af492ee3006381d55c5acce commit bbd0d35c779bbad4858358c7dbef3a679df3ea4c Author: Dan Callaghan Date: Wed Feb 19 10:52:20 2014 +1000 record task version in each recipe-task Bug: 576304 Change-Id: I76987182c27b5db8ae8c808890491accddab79ee commit 07869a2c0e33c56ac0f22c9ae5c7402d481cfceb Author: Dan Callaghan Date: Tue Feb 18 17:48:47 2014 +1000 external tasks A recipe task no longer needs to reference the task library, instead the job XML can specify a "fetch URL". Based on a patch contributed by Bill Peck . Bug: 1057459 Change-Id: Ib3b5415c623c01343228447d3cf4a0298a9bcd70 commit 04641b426c70048424ae20ec8a1c8f06d03dbfd3 Author: Raymond Mancy Date: Wed Feb 19 11:43:40 2014 +1000 Fix quiescent period calculation. Bug: 867761 Change-Id: Ic4b47da9bc157c9c29dcf4b4bdee2ef6e99c7d9b commit c0912fb6cd3e6368d89732f15e1fb472990310c2 Author: Dan Callaghan Date: Fri Feb 7 17:01:20 2014 +1000 tests: ported test_jobs to WebDriver Change-Id: Ifa37b08737344227c0d14f21cd42487ea16c7c2c commit e07d0b37d082151150a0d362ad8dd9b59cabe9fb Author: Dan Callaghan Date: Fri Feb 7 16:31:55 2014 +1000 tests: ported test_my_menu_tests to WebDriver Change-Id: Icde1a54e94e1df9ba61ac03ba57d4d3a41e5de49 commit 8bba6921384f678eda60b4272357f652e1ec4e63 Author: Dan Callaghan Date: Fri Feb 7 16:23:18 2014 +1000 tests: ported test_product to WebDriver Change-Id: I7382ea66edc86531fcb08c14732f49a6bd04223f commit 048bc520595e2c5044396557e50eea13496d44cb Author: Dan Callaghan Date: Fri Feb 7 11:29:02 2014 +1000 tests: ported test_motd to WebDriver Change-Id: Icb01b64debbf968fa4fb75f74a118fdee5167a98 commit b1613c211b9c5e8e464055589119bc509f835c37 Author: Dan Callaghan Date: Fri Feb 7 09:14:01 2014 +1000 beaker-repo-update: only run createrepo if we fetched new packages Bug: 1027516 Change-Id: Ideb5d6dd8bf9a487c9c9c8e27495fb6bac20247f commit 5206dff6765dcba6a89a40d5e57cd82dc2bdf90f Author: Dan Callaghan Date: Fri Feb 7 15:34:11 2014 +1000 requests 1.2 compatibility: need to handle redirects ourselves It seems requests 1.2.3 now converts DELETE requests to GET on 302 (I can't find anything in the changelog about it) but we really do want to issue the DELETE so we have to implement redirection handling ourselves. Change-Id: I183ddcee821f2a33506aacc88dbbd75900955df7 commit 809780702e6967aa69d08c08b23016cc414c378a Author: Dan Callaghan Date: Fri Feb 7 12:41:45 2014 +1000 use sqlalchemy.inspect instead of poking in private attributes, when possible The ._AliasedClass__target attribute doesn't work in SQLAlchemy 0.9, luckily there is an official inspection API which we can use on newer versions instead. Change-Id: I96ec5eebb62f08cdeb3ccd07369b67690f765c5b commit 221b0554633ce20292bb37acddcd169cd01ee534 Author: Dan Callaghan Date: Thu Feb 6 16:44:50 2014 +1000 createrepo 0.10 compatibility: invalid RPMs are now an error, not a warning Older createrepo would just warn about these invalid RPMs we were creating in the test suite, but with createrepo 0.10 it actually errors out, causing the recipe to abort. Change-Id: I9bb059ceda0e36c66dcf39ffd6b1aaea1cd5110c commit e8905c41b204106c789b58ab21115c608b6cf15e Author: Dan Callaghan Date: Thu Feb 6 15:58:30 2014 +1000 Werkzeug 0.9 compatibility: .get_description() now returns markup ... so we just use .description instead. Change-Id: I15ff04f729939b759fd9f9ae68fe7c8bb9a05cb4 commit 18b56e777a3e964fdf5ae7aa5c89859444d6f60d Author: Dan Callaghan Date: Thu Feb 6 16:01:06 2014 +1000 fix order_by for System.command_queue relationship This was a typo when porting to declarative style. In SQLAlchemy < 0.8 the typo doesn't matter, because SystemActivity.id refers to the activity.id column, however in SQLAlchemy >= 0.8 it refers to the system_activity.id column instead, which is wrong in this case. This also necessitated rearranged the CommandActivity class definition to be above System. Change-Id: Ia405307f67a6db926bde7986fe95a00bc45adeda commit 3984e2fd6e95993fede2472472914e8b99d7d13f Author: Dan Callaghan Date: Wed Feb 12 13:42:01 2014 +1000 tests: need to log in before importing CSV This was accidentally introduced in merge commit 4e1c6414. commit 4e0b0650ca46ca7af2f9d3ca8b9f2de70dff6287 Author: Dan Callaghan Date: Fri Feb 7 11:28:29 2014 +1000 tests: send logs from server unit tests to stdout instead of stderr Also moved the remaining server unit tests from bkr.server into bkr.server.tests so that they are covered by bkr.server.tests.setup_package which sets up logging appropriately. Change-Id: I1a3c568b2b40db3a00d902ab0b5f40f732bcd5e1 commit da6966ce2d5bebcafb98b846a7d1add5881f3c50 Author: Raymond Mancy Date: Tue Feb 4 12:29:57 2014 +1000 Introduce a 'quiescent' period to power commands Change-Id: Icf54095a6ff2716ab1736e6ab9ac54b1f03e4559 Bug: 867761 commit aa834136bab6df56ca8807132ece8e52967d6c4f Author: Dan Callaghan Date: Wed Feb 5 10:47:44 2014 +1000 don't add empty element to Bug: 999056 Change-Id: Ibaaaeb40a874991b0ad55e4e77a0640b5266c295 commit e0ef6bfa8321310a157be84f06d8ae472b7fade6 Author: Dan Callaghan Date: Wed Feb 5 11:41:50 2014 +1000 Graphite counter for recipes submitted Bug: 958357 Change-Id: I3b73aa7365863cb89ccfc4a71264c76e65f07b07 commit b772b08afeee6af060e1dad387635937579df057 Author: Dan Callaghan Date: Wed Feb 5 11:13:00 2014 +1000 don't define Fedora updates repo if 'no_updates_repos' is set Variable name is chosen for consistency with existing no_*_repos mechanism for disabling yum repos. Bug: 874191 Change-Id: Ied69b649eb98de1cc7c81acfec04c66aab9424b3 commit db25ab1c40b19a1d0e9bed07f8b9b4faf6c0bea2 Author: Dan Callaghan Date: Tue Feb 4 13:09:40 2014 +1000 docs: mention install options which must typically be set for a system Bug: 994644 Change-Id: I61b61b092257584572b1ad5221580535ed6cdc23 commit f2df9e26c6eab59987d2106ddf224fde3e117960 Author: Dan Callaghan Date: Thu Jan 2 16:32:02 2014 +1000 port model classes to SQLAlchemy declarative style Change-Id: I88a1bd869362b4d60d1357288e39cbe962a4ad22 commit 2f739a28d2503203936ed2fc229117fe1c09670f Author: Dan Callaghan Date: Sat Dec 28 15:28:44 2013 +1000 remove unused SystemObject base class Change-Id: Iaea72c8b878e09b4db3f9e7cf0338ba63500c7c0 commit 1e8e5df804147d6ef469f56a2ebc60ae9dfd278e Author: Dan Callaghan Date: Sat Dec 28 15:14:46 2013 +1000 remove implicit invocation of session.add() in MappedObject.__init__ Change-Id: I11ab3fcde8fa94d774d72aca97f7ca241b101707 commit f7cdb9b3b84f69df478289e6e411de08de8ad09c Author: Dan Callaghan Date: Tue Feb 4 12:43:20 2014 +1000 docs: add back Kobo reference accidentally deleted in commit a6ea04a2 Change-Id: I70d391d249d5745a6406bdcbf5c83eaee68c1003 commit 171bf6058c6ee9fa4444ecd27a35a7b06854a8b9 Author: Dan Callaghan Date: Mon Feb 3 17:57:09 2014 +1000 back-populated release notes for 0.9 and 0.10 This includes the upgrade instructions from cobbler-migration.txt in Beaker's web site, which can now be removed to tidy things up a bit. Change-Id: Icaf808afab9a5599b7e423865d22645fb0599244 commit a6ea04a20a1e308ce27512d7b5fbb8eb92366245 Author: Raymond Mancy Date: Wed Dec 18 16:51:46 2013 +1000 Remove dependency on kobo. This patch moves a lot of code from kobo to Beaker. Some unused code has already not been transferred over, but further efforts should be made at some point to remove unecessary code that has been transferred over. Also some code that came from multiple modules in kobo has been crammed into one (bkr.client.command for example). Change-Id: I7436d630152d6dcec10ebeb8e90a94f5a9581057 commit 46a9c9f69b513e4a1a7e48ee78eb2efc23d4be2e Author: Raymond Mancy Date: Thu Jan 23 17:16:21 2014 +1000 Fix man pages so that long opts display correctly in sphinx Change-Id: I5aa2f6df9097a72660b3977a37b62e20ab3a31d0 commit fb01643cf8338d7e3ae11e8b887d7cf52aff5695 Author: Dan Callaghan Date: Wed Jan 15 13:00:44 2014 +1000 ported test_remove_lc to WebDriver Change-Id: I01d636347a6833ad12166bea106b536e9e9e65b0 commit d164a1e694209c8c20173577f9734cf7dd38764d Author: Dan Callaghan Date: Tue Jan 14 13:01:39 2014 +1000 move test for bz920018 to test_system_availability Change-Id: I1289941f9f96923caf8adc1cdff4159ce13cd5ba commit 8d8a9c6610ce175efa62532bda879c2a0ed0d1fd Author: Dan Callaghan Date: Tue Jan 14 12:47:01 2014 +1000 ported test_system_view to WebDriver Change-Id: I5736c826604d62f27453b26614916b5b12314ac4 commit cbb4f1a8cb24f443c5c29b68810f2be01d1e76f6 Author: Dan Callaghan Date: Fri Jan 10 15:39:31 2014 +1000 don't mask build failures in Makefile The pipe to tee was discarding the exit status from python setup.py build which means that errors were ignored (although most errors would trigger a proper failure later on during rpmbuild). The grep'ing for ImportError stuff is obsolete anyway, since docs are now built separately, so just remove the pipe entirely. Change-Id: I0bf1752ec3f9c6346dea89b2f801da0f49820a01 commit ad16d9d268e08d66adbf33d085d22d855733cafc Author: Dan Callaghan Date: Mon Sep 30 16:29:55 2013 +1000 test_distro_import: better assertion messages Change-Id: I86d9259d15681e1e01c11272b44528f0b73db5db commit 1e93e00a7101d0ab2340ab51ae2cd6a14894bdc9 Author: Dan Callaghan Date: Thu Jan 9 16:13:38 2014 +1000 tests: set allow_reuse_address in http_server.py This is needed for tests where the fake http_server.py is started by different tests in quick succession. Change-Id: Iec1c35ea2f4505f8e3b18bc74b737aa69ec0e797 commit 38af0edf796d84ea19bc58c315d43de97ccda963 Author: Dan Callaghan Date: Fri Jan 3 11:32:44 2014 +1000 eliminate debug junk from passlib Change-Id: Ic22d67bc11da7d5986ad0c4942fb8a45fe1d31d8 commit 5e9f889f21fe3b43d7e62907207b30614c30adac Author: Dan Callaghan Date: Fri Jan 3 10:12:49 2014 +1000 enable compression and name mangling for JavaScript assets Change-Id: Ie8c2dce459fc85ffab110039e544d30b496d9f66 commit 78cf100ae0482d7f20224e38f147624c01af3274 Author: Dan Callaghan Date: Sat Dec 28 13:49:53 2013 +1000 tests: gevent.run() -> gevent.wait() This was renamed in the final release of gevent 1.0. Change-Id: I4cb0a42cffd9ce652da172ca0c70bffd8dd56070 commit c0be4e628ad43a82b22ac5329410aaceeb850ae0 Author: Dan Callaghan Date: Tue Dec 24 12:19:38 2013 +1000 enable assets auto_build when running tests locally Change-Id: I08433e10d9384b4e426d4ed70822870d5c0896e7 commit c6101de1f657b3127f55e69674305984a9414e23 Author: Dan Callaghan Date: Thu Dec 19 15:06:28 2013 +1000 "view" permission in system access policy Change-Id: Iaf2988502c3530df7d8afded06a87794bff97f5e commit 9d893fe2366ee92fb4aad56322984cfa52e205d8 Author: Dan Callaghan Date: Tue Dec 24 12:24:11 2013 +1000 delete generated CSS This was accidentally left behind in commit 8b7fa234. commit 8b7fa2341a0be34356939e16f754aa43f36adda2 Author: Dan Callaghan Date: Thu Dec 19 18:03:21 2013 +1000 compile assets during build, instead of committing them to git Change-Id: I060cdd4ed6265d04bf87e415928019cc6a791abc commit be0cfe5c7d0a5d03e0875a89e7433a7cf5ace465 Author: Dan Callaghan Date: Wed Dec 18 14:01:28 2013 +1000 use git submodules for backbone and underscore Change-Id: Ib49c8acd903c22abf4ec859b8c719cdc0bdfce13 commit 81812e8e398b34daa855456c4bcb31ce9ffd90ad Author: Dan Callaghan Date: Mon Dec 9 10:24:42 2013 +1000 split out scheduler-related classes Change-Id: I2bdc8959344f055dde0e0b285213eea9e9835603 commit d491146b8e1ddb35f6c4f2d20fb605fe0661e83f Author: Dan Callaghan Date: Mon Dec 9 09:54:29 2013 +1000 split out System and related classes Change-Id: I809b7cd2fd768cf7ae924a94b3c5befd5f07e0a4 commit 656d0b70149794db59b4f5d096f1e4d87d7d5452 Author: Dan Callaghan Date: Mon Dec 9 09:22:26 2013 +1000 split out VirtManager Change-Id: Ie0e04113ae2831d10d29d0f683d210d0b65c41c3 commit c5ce98b670cdba7ddeb2fd8d099905c4eb1c5bad Author: Dan Callaghan Date: Mon Dec 9 08:55:02 2013 +1000 split out task library classes Change-Id: Ice46319de62e4a72f6ae235035a8e1fff1a4d02f commit 2505a17ec68cafe42fd3140ef2f349b1be27b04a Author: Dan Callaghan Date: Sun Dec 8 15:40:35 2013 +1000 split out distro library classes Change-Id: I5b92563e7dc1336778a18082c353ade75f4620a4 commit d5a8181f16db97c00de4862c5706b388ee46914c Author: Dan Callaghan Date: Sun Dec 8 15:17:39 2013 +1000 split out LabController and related classes Change-Id: I586071216e26cc3f9bdb5cd64e8efdab65e4480b commit fa1de1f4d6930899ea9f10e8408e656242560e6b Author: Dan Callaghan Date: Sun Dec 8 14:39:53 2013 +1000 split out User, Group, and related classes Change-Id: Ic4d425e990f8851f5846a99f14dfe0035cc2a9ed commit 702106a66d74ca3a57007854b56a5eeae6803f64 Author: Dan Callaghan Date: Sat Dec 7 13:44:40 2013 +1000 split out ConfigItem Change-Id: Ic0cdd9ecb1b6a6faba4db62c2885bd6c7a5652bd commit 4acf0af33381e86de0bc49c815b6b6fd9cad83aa Author: Dan Callaghan Date: Sat Dec 7 13:26:42 2013 +1000 split out Activity base class Change-Id: I700b0455559c65af684895f5affeecef0bfe0de6 commit 091f5cded13463c20737b0a9381e547ebdf7393b Author: Dan Callaghan Date: Fri Dec 6 17:25:46 2013 +1000 split out database type definitions Change-Id: Ifdb5d1b6855733b0edb903ecefd47e2f20599120 commit 32853f118bda7a2e70bd6c85560157fca2c74730 Author: Dan Callaghan Date: Fri Dec 6 16:57:26 2013 +1000 split out SQL utilities and base classes Change-Id: I84f56dca28b7ec01d3cb658beb67036590beabc7 commit 4dfbb102b5fbf575982bda0fc76cf9ee63e6057a Author: Dan Callaghan Date: Fri Dec 6 16:36:37 2013 +1000 convert model.py from module into package Change-Id: I4624dd729ca87e6183695a5183b347073be11260 commit 0a70d701ee5b9c3df659c5e244100bb03b8309b7 Author: Dan Callaghan Date: Mon Dec 9 09:01:27 2013 +1000 drop unused tables Change-Id: I0bd2c03bde8f977c31a5dab77e86463581364fab commit 99c090fb3601cc0a1cb9a73afbf4392ad5cd8bee Author: Dan Callaghan Date: Wed Dec 11 10:00:36 2013 +1000 remove star imports Change-Id: I48e97406a115208d5e9ab1eed3127997f3aa331c commit 010d9afebe55c50d3cc88272ad0a42f78de8e829 Author: Dan Callaghan Date: Wed Dec 4 13:44:17 2013 +1000 restore development gunicorn to 8 workers We need more than 1 worker for certain parts of the web UI to function properly, and to resemble a production system. For example, the Executed Tasks widget shows a spinner image but the HTTP request for that will be blocked on the request for /tasks/do_search so the spinner will never appear. Pass --workers 1 to run-server.sh if you want to debug the workers. Change-Id: Ideca3e2b3fc5d13a4a473f6e34ed15c1f52d8037 commit be5512c7db9b79d5ee76fc47738804544f74e5af Author: Dan Callaghan Date: Thu Nov 28 15:16:58 2013 +1000 use passlib to store salted password hashes Bug: 994751 Change-Id: I1a9af3799722ad056d17e315d4f6a05e37f79ebc commit 9d97cffb6d7e6039ce720fff92597dc4f35a2081 Author: Dan Callaghan Date: Thu Nov 28 14:28:26 2013 +1000 tests: port test_login.py to WebDriver Change-Id: I5b9fa3c967da1758db496ff5c268497105547d24 commit 3b1960572abedd37cd1711d32e83c263801bd1d7 Author: Dan Callaghan Date: Fri Nov 22 17:29:15 2013 +1000 tasks have moved to separate git repos The following tasks which are essential to Beaker's operation have been moved to beaker-core-tasks: http://git.beaker-project.org/cgit/beaker-core-tasks/ /distribution/install /distribution/inventory /distribution/reservesys /distribution/updateDistro /distribution/virt/install /distribution/virt/start The following tasks for testing Beaker itself have been moved to beaker-meta-tasks: http://git.beaker-project.org/cgit/beaker-meta-tasks/ /distribution/beaker/Sanity/bz880440-fqdn-self-reporting /distribution/beaker/Sanity/sync-set_block-tests /distribution/beaker/custom_kickstart /distribution/beaker/dogfood /distribution/beaker/fake_systems /dsitribution/beaker/import /dsitribution/beaker/setup Change-Id: I18ec2a2debe01058ceecdd0a58c2cd0b1ffdda7c commit a64aec0b2e56171a54be100aa19c75dc441f0249 Author: Dan Callaghan Date: Fri Nov 22 08:32:46 2013 +1000 docs: some details about system setup and provisioning In particular, added a description of how the boot order stuff is supposed to work for EFI now that I actually understand it properly. Bug: 1030172 Change-Id: I972cda183b27cf3a4cdc76b6a179aa5fb6418d70 commit 87d4d05943c299d1fa8c9aa427092813ce5e5289 Author: Dan Callaghan Date: Wed Nov 20 15:10:29 2013 +1000 uncomment whats-new/next Change-Id: I2fb58b80f70c36c2823a512db948dc2212f5f515 commit 21b84a3da04918e5833ae9635d1c70cd655f6786 Author: Dan Callaghan Date: Wed Nov 13 14:48:38 2013 +1000 remove "provisional" warning from harness API Change-Id: I204485d4ea010fc8b4513aad0044b2c5ac64b975 commit 73c99e8b66aee21d46e4251ab4b81419760df02f Author: Raymond Mancy Date: Mon Oct 28 14:16:55 2013 +1000 Makes local debugging easier when the thread doesn't timeout in 30 seconds. Change-Id: Ifb0e427a7ad0b3abe9441cda3dd96790b5cbbe1c commit 0d9c5760c8fe83f681e709eb492e5e534940745a Author: Dan Callaghan Date: Wed Oct 2 09:46:36 2013 +1000 test_async: run gevent loop to completion in each test LoopExit should actually be expected in all tests, as an indication that all running greenlets have terminated. But rather than catching it directly, the proper interface is gevent.run(). The body of each test should also be spawned in a separate greenlet so that everything works properly. Change-Id: I68875226837c1087c1d7e77650a9ddfa58bd1da6 commit 1ccabdb92758d74dc2a47cdbcc3eccc77469e941 Author: Dan Callaghan Date: Thu Oct 10 10:28:25 2013 +1000 beaker-repo-update: use logging instead of printing to stderr This lets us avoid stderr spew during tests ("Cannot retrieve repository metdata" for rubbish OSMajors created during the test run). Also added a --debug switch to control verbosity, bringing beaker-repo-update more in line with other command-line tools which follow a similar pattern. Change-Id: I162e17eec2a468d45fdc4898ac0a909ad9acfcc5 commit 263a59abf0eb053144642f68257121b77fb8e8a9 Author: Dan Callaghan Date: Fri Sep 27 16:42:10 2013 +1000 test_retentiontag: ported Selenium tests to WebDriver Change-Id: I68bfc66f39033b9c335693086219fc6f35f8f6ff commit 42bebf2ff76e4b8b9a365eb3377b7add380cf1c5 Author: Dan Callaghan Date: Fri Sep 27 16:41:22 2013 +1000 allow admins to edit retention tag expiry time Bug: 1012389 Change-Id: I926bde64fa9039e2c7f8da0cfde11e60be169b56 commit faf4d2afbb6e387efda26dbe877a6378debab380 Author: Dan Callaghan Date: Fri Sep 27 16:10:42 2013 +1000 allow retention tag names to be updated Also converted some flash-message-based error handling to use TG validators. Bug: 1012389 Change-Id: Ib9810928b718270b22874dc889599b3adae05b90 commit a228c67f581dca30186bf13cbf9e8fa2e33af615 Author: Dan Callaghan Date: Fri Jul 26 16:10:43 2013 +1000 /distribution/inventory: extracted beaker-system-scan Change-Id: I3a3046df666d08fc34484367a0ca3a7b7c634aeb commit 69e09b7128c59a7591fa50d6518a29127f6bf9e3 Author: Amit Saha Date: Fri Sep 27 13:22:12 2013 +1000 /distribution/beaker/setup This patch aims to make the setup task compatible to run on both RHEL and Fedora. The changes mainly fall into the realm of starting/enabling the appropriate daemons using the appropriate mechanism. Change-Id: I53df819ffea0fb732b0711ee0b7f9fdaf2d7dcd4 commit eb617c8420180cb30b5cce07bd06dd6bec8892ac Author: Raymond Mancy Date: Fri Sep 20 15:08:32 2013 +1000 Fix test error when testing createrepo output From createrepo 0.9.9 (RHEL 6.4 onwards), generating database output is the default. This patch tries to ensure that database output is not generated. Change-Id: I5eb6fb887a7d0ec523bf8fb076c3ee0a800a7ebb commit 99a4addd65058e941d2e473e74181db39fd5b25b Author: Nick Coghlan Date: Wed Sep 25 18:08:34 2013 +1000 Improved JIRA sync support and status checks Change-Id: I1bea1a676b4b6a89d7e163e9a31943d56eeaac27 commit 021a0da7a498a9ccf198136311fed73e824b5096 Author: Amit Saha Date: Mon Sep 23 10:47:08 2013 +1000 Updates to test setup scripts - Update beaker_setup.sh to also perform 'make build' - Remove beaker_test_run.sh Change-Id: Ic59d24cfa455031f021c4c07b19e7d9de4c884c6 commit 0c14454940121ce0fc8631462c5a3f64debeed87 Author: Amit Saha Date: Tue Sep 24 21:45:03 2013 +1000 distribution/beaker/setup: Add dependency on rpm-build commit a16a750de4efeb3bfba7ccf0bc9fff319072b4b0 Author: Nick Coghlan Date: Tue Sep 24 19:36:03 2013 +1000 Improved JIRA tracking issue creation Change-Id: I395eec0e8c5b7d5eac9be0ea79c9dbd09de27b11