diff --git a/openQA-4.6.1536756702.f75303c1.obscpio b/openQA-4.6.1536756702.f75303c1.obscpio deleted file mode 100644 index 121773c..0000000 --- a/openQA-4.6.1536756702.f75303c1.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fd09e4e935f6c7593e97029c3dd3842c87b029695339626cb651f1644ef22100 -size 9542157 diff --git a/openQA-4.6.1537939546.7aa7ed58.obscpio b/openQA-4.6.1537939546.7aa7ed58.obscpio new file mode 100644 index 0000000..002676d --- /dev/null +++ b/openQA-4.6.1537939546.7aa7ed58.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5f7b0b0f7c6d5afbf6b634b208473c9320116c7d1622341a02b9cf27dc5f12c5 +size 9549837 diff --git a/openQA-test.changes b/openQA-test.changes index 34be4ec..f2ffa11 100644 --- a/openQA-test.changes +++ b/openQA-test.changes @@ -1,3 +1,38 @@ +------------------------------------------------------------------- +Wed Sep 26 06:38:31 UTC 2018 - coolo@suse.com + +- Update to version 4.6.1537939546.7aa7ed58: + * all tests page: Fix parameter passing for timestamp rendering (#1806) + * Make asset cleanup more verbose (#1803) + * Fix 'last_match' param of AJAX route for needle table (#1802) + * Use AJAX for all tables on /tests + * Don't pre-compute IDs for finished jobs when loading HTML + * Optimize all tests page + * doc: remove mention of openQA-devel package (#1800) + * Make sure multimachine jobs get a worker eventually + * Some code restructing in the scheduler function + * Delete empty settings in clone job + * Display progress bar when downloading asset + * Cache infos about scheduled jobs + * Limit logs and results for groupless jobs (#1798) + * Release job networks more often (#1795) + * Fix removal of untracked assets (#1796) + * Enable the scheduler on updates (and the webui is enabled) (#1785) + * docs: Write Leap installation repo in more timeless way (#1791) + * Run inserting screenshots in a transaction (#1792) + * Update AppArmor profile to allow worker to use cgroups + * Set specific slice for worker service + * Better detect of systemd slice + * Inform worker about devel session to reduce posting status info (#1789) + * Correct typo (#1790) + * Require RabbitMQ::Client 0.2 + * Make AMQP sending less fragile + * Make web socket and livehandler daemons listen on IPv4 and IPv6 (#1787) + * Prevent worker to endlessly retry non-critical API calls (#1788) + * Fix typo in t/api/02-iso.t + * Make asset download feature usable by both "jobs post" and "isos post" + * docs: Cover different asset types and asset options + ------------------------------------------------------------------- Thu Sep 13 15:13:01 UTC 2018 - coolo@suse.com diff --git a/openQA-test.spec b/openQA-test.spec index 6bee396..7e5a026 100644 --- a/openQA-test.spec +++ b/openQA-test.spec @@ -18,7 +18,7 @@ %define short_name openQA Name: %{short_name}-test -Version: 4.6.1536756702.f75303c1 +Version: 4.6.1537939546.7aa7ed58 Release: 0 Summary: Test package for openQA License: GPL-2.0+ diff --git a/openQA.changes b/openQA.changes index dcde542..6d2ce67 100644 --- a/openQA.changes +++ b/openQA.changes @@ -1,3 +1,38 @@ +------------------------------------------------------------------- +Wed Sep 26 06:38:31 UTC 2018 - coolo@suse.com + +- Update to version 4.6.1537939546.7aa7ed58: + * all tests page: Fix parameter passing for timestamp rendering (#1806) + * Make asset cleanup more verbose (#1803) + * Fix 'last_match' param of AJAX route for needle table (#1802) + * Use AJAX for all tables on /tests + * Don't pre-compute IDs for finished jobs when loading HTML + * Optimize all tests page + * doc: remove mention of openQA-devel package (#1800) + * Make sure multimachine jobs get a worker eventually + * Some code restructing in the scheduler function + * Delete empty settings in clone job + * Display progress bar when downloading asset + * Cache infos about scheduled jobs + * Limit logs and results for groupless jobs (#1798) + * Release job networks more often (#1795) + * Fix removal of untracked assets (#1796) + * Enable the scheduler on updates (and the webui is enabled) (#1785) + * docs: Write Leap installation repo in more timeless way (#1791) + * Run inserting screenshots in a transaction (#1792) + * Update AppArmor profile to allow worker to use cgroups + * Set specific slice for worker service + * Better detect of systemd slice + * Inform worker about devel session to reduce posting status info (#1789) + * Correct typo (#1790) + * Require RabbitMQ::Client 0.2 + * Make AMQP sending less fragile + * Make web socket and livehandler daemons listen on IPv4 and IPv6 (#1787) + * Prevent worker to endlessly retry non-critical API calls (#1788) + * Fix typo in t/api/02-iso.t + * Make asset download feature usable by both "jobs post" and "isos post" + * docs: Cover different asset types and asset options + ------------------------------------------------------------------- Thu Sep 13 15:13:01 UTC 2018 - coolo@suse.com diff --git a/openQA.obsinfo b/openQA.obsinfo index d75c9f2..0cd9600 100644 --- a/openQA.obsinfo +++ b/openQA.obsinfo @@ -1,5 +1,5 @@ name: openQA -version: 4.6.1536756702.f75303c1 -mtime: 1536756702 -commit: f75303c1d077bccef9fa4b28def960ad10e6db93 +version: 4.6.1537939546.7aa7ed58 +mtime: 1537939546 +commit: 7aa7ed581a704bd25a86fb556160e4176d75bad4 diff --git a/openQA.spec b/openQA.spec index 139dfa7..0f15881 100644 --- a/openQA.spec +++ b/openQA.spec @@ -36,10 +36,10 @@ # runtime requirements that also the testsuite needs %define t_requires perl(DBD::Pg) perl(DBIx::Class) perl(Config::IniFiles) perl(SQL::Translator) perl(Date::Format) perl(File::Copy::Recursive) perl(DateTime::Format::Pg) perl(Net::OpenID::Consumer) perl(Mojolicious::Plugin::RenderFile) perl(Mojolicious::Plugin::AssetPack) perl(aliased) perl(Config::Tiny) perl(DBIx::Class::DynamicDefault) perl(DBIx::Class::Schema::Config) perl(DBIx::Class::Storage::Statistics) perl(IO::Socket::SSL) perl(Data::Dump) perl(DBIx::Class::OptimisticLocking) perl(Text::Markdown) perl(Net::DBus) perl(IPC::Run) perl(Archive::Extract) perl(CSS::Minifier::XS) perl(JavaScript::Minifier::XS) perl(Time::ParseDate) perl(Sort::Versions) perl(Mojo::RabbitMQ::Client) perl(BSD::Resource) perl(Cpanel::JSON::XS) perl(Pod::POM) perl(Mojo::IOLoop::ReadWriteProcess) perl(Minion) perl(Mojo::Pg) Name: openQA -Version: 4.6.1536756702.f75303c1 +Version: 4.6.1537939546.7aa7ed58 Release: 0 Summary: The openQA web-frontend, scheduler and tools -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Development/Tools/Other Url: http://os-autoinst.github.io/openQA/ Source0: %{name}-%{version}.tar.xz @@ -60,6 +60,7 @@ BuildRequires: perl(Mojolicious::Plugin::AssetPack) >= 1.36 BuildRequires: rubygem(sass) Requires: dbus-1 Requires: perl(Minion) >= 9.02 +Requires: perl(Mojo::RabbitMQ::Client) >= 0.2 # needed for test suite Requires: git-core Requires: openQA-client = %{version} @@ -93,7 +94,7 @@ BuildRequires: dejavu-fonts BuildRequires: google-roboto-fonts BuildRequires: perl-App-cpanminus BuildRequires: perl(DBD::SQLite) -BuildRequires: perl(Mojo::RabbitMQ::Client) +BuildRequires: perl(Mojo::RabbitMQ::Client) >= 0.2 BuildRequires: perl(Perl::Critic) BuildRequires: perl(Perl::Tidy) BuildRequires: perl(Selenium::Remote::Driver) >= 1.20 @@ -229,11 +230,11 @@ ln -s %{_datadir}/openqa/script/load_templates %{buildroot}%{_bindir}/openqa-loa cd %{buildroot} grep -rl %{_bindir}/env . | while read file; do - sed -e 's,%{_bindir}/env perl,%{_bindir}/perl,' -i $file + sed -e 's,%{_bindir}/env perl,%{_bindir}/perl,' -i $file done mkdir -p %{buildroot}%{_sbindir} -for i in webui gru worker resource-allocator scheduler websockets slirpvde vde_switch; do - ln -s ../sbin/service %{buildroot}%{_sbindir}/rcopenqa-$i +for i in webui gru worker resource-allocator scheduler websockets slirpvde vde_switch livehandler; do + ln -s ../sbin/service %{buildroot}%{_sbindir}/rcopenqa-$i done # install -D -m 644 /dev/null %{buildroot}%{_localstatedir}/log/openqa @@ -246,8 +247,8 @@ mkdir %{buildroot}%{_localstatedir}/lib/openqa/cache %pre if ! getent passwd geekotest > /dev/null; then - %{_sbindir}/useradd -r -g nogroup -c "openQA user" \ - -d %{_localstatedir}/lib/openqa geekotest 2>/dev/null || : + %{_sbindir}/useradd -r -g nogroup -c "openQA user" \ + -d %{_localstatedir}/lib/openqa geekotest 2>/dev/null || : fi %service_add_pre %{openqa_services} @@ -283,15 +284,20 @@ if [ ! -e %{_localstatedir}/log/openqa ]; then fi if [ $1 -eq 1 ]; then - echo "### copy and edit %{_sysconfdir}/apache2/vhosts.d/openqa.conf.template!" - echo "### run sudo %{_datadir}/openqa/script/fetchneedles" - + echo "### copy and edit %{_sysconfdir}/apache2/vhosts.d/openqa.conf.template!" + echo "### run sudo %{_datadir}/openqa/script/fetchneedles" else - if [ -d "%{_localstatedir}/lib/openqa/share/testresults" ]; then - # remove the symlink - rm "%{_localstatedir}/lib/openqa/testresults" - mv "%{_localstatedir}/lib/openqa/share/testresults" "%{_localstatedir}/lib/openqa/" - fi + if [ -d "%{_localstatedir}/lib/openqa/share/testresults" ]; then + # remove the symlink + rm "%{_localstatedir}/lib/openqa/testresults" + mv "%{_localstatedir}/lib/openqa/share/testresults" "%{_localstatedir}/lib/openqa/" + fi + + # we don't want to require the scheduler for the webui (so we can stop it independent) + # but it should be enabled together with the webui + if test "$(systemctl is-enabled openqa-webui.service)" = "enabled"; then + systemctl enable openqa-scheduler.service + fi fi %service_add_post %{openqa_services} @@ -329,6 +335,7 @@ fi %{_sbindir}/rcopenqa-resource-allocator %{_sbindir}/rcopenqa-websockets %{_sbindir}/rcopenqa-webui +%{_sbindir}/rcopenqa-livehandler %dir %{_sysconfdir}/openqa %config(noreplace) %attr(-,geekotest,root) %{_sysconfdir}/openqa/openqa.ini %config(noreplace) %attr(-,geekotest,root) %{_sysconfdir}/openqa/database.ini