From 685c7871f802567d44917c2c3a376672c283bb9ef88fa6e6e846b045f422fe80 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 5 Dec 2017 13:10:41 +0000 Subject: [PATCH] Offline generation of 4.5.1512479051.2ac0be95 OBS-URL: https://build.opensuse.org/package/show/devel:openQA:tested/openQA?expand=0&rev=49 --- openQA-4.5.1511814842.53907890.tar.xz | 3 -- openQA-4.5.1512479051.2ac0be95.tar.xz | 3 ++ openQA.changes | 52 +++++++++++++++++++++++---- openQA.spec | 20 +++++++---- 4 files changed, 62 insertions(+), 16 deletions(-) delete mode 100644 openQA-4.5.1511814842.53907890.tar.xz create mode 100644 openQA-4.5.1512479051.2ac0be95.tar.xz diff --git a/openQA-4.5.1511814842.53907890.tar.xz b/openQA-4.5.1511814842.53907890.tar.xz deleted file mode 100644 index b9cea22..0000000 --- a/openQA-4.5.1511814842.53907890.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d77c2c1be871334c37d84a8fbdf6a8e8f1cbba6eec95a9b1f7ad066f89b51d60 -size 1436016 diff --git a/openQA-4.5.1512479051.2ac0be95.tar.xz b/openQA-4.5.1512479051.2ac0be95.tar.xz new file mode 100644 index 0000000..78cbc45 --- /dev/null +++ b/openQA-4.5.1512479051.2ac0be95.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:00f9698c94b0af66f397584ac4ed568db3d284b7732b519d47c37f1b3fe4c438 +size 1430588 diff --git a/openQA.changes b/openQA.changes index f314fb5..c2c821f 100644 --- a/openQA.changes +++ b/openQA.changes @@ -1,11 +1,51 @@ ------------------------------------------------------------------- -Tue Nov 28 06:03:39 UTC 2017 - coolo@suse.com +Tue Dec 05 13:10:13 UTC 2017 - coolo@suse.com -- Update to version 4.5.1511814842.53907890: - * Make barrier option to automatically destroy the barrier if jobs belonging to it fails (#1498) - * Improve web editor (#1510) - * Remove outdated imports of JSON module (#1509) - * Use Cpanel::JSON::XS in step/edit.html (#1508) +- Update to version 4.5.1512479051.2ac0be95: + * Accept a lower coverage - we removed code + * Move worker log test to 24-worker.t + * Schema.pm: Remove unused functions (increase coverage) + * Remove SQL files for SQlite and for 2016 + * Have our services require postgresql server to be up + * Adopt generate-packaged-asset to use postgresql + * Import log_error in OpenQA::IPC + * Test: increment unstable_worker ticks and wait for each one to be ready + * Remove more traces of Sqlite support + * Provide t/test_postgresql to setup a temporary postgresql + * Fix more test cases + * Prepare a proper DB for the scheduler full test + * Fix t/ui/22-job_group_order.t by providing sort_order in fixtures + * t/ui/13-admin.t: Postgresql sorts RAID at the end + * Sort table settings by key to have reliable tests + * t/api/02-iso.t: Do not rely on hardcoded job number + * Give WebSockets server its assets + * Sort the previous jobs in worker table by ids + * Skip all tests requiring a database + * Test fixtures: restart the postgresql sequence + * Fix t/17-build_tagging.t not to depend on Sqlite specifics + * ui/04-api_keys.t: Don't rely on ids in fixtures + * 14-grutasks: don't rely on DB sort order + * Drop sqlite3 support + * branding: Update SLE staging links (#1523) + * Use log_info for worker activities (#1519) + * branding: openSUSE: Add caasp (different bugzilla naming variant) (#1522) + * Tidy the sources + * Do not cast to int worker_status timer + * Propagate error on IPC dispatch call + * Use WORKERS_CHECKER_THRESHOLD to detect dead workers as well + * Remove printing to debug the result of safe_call + * Reduce OpenQA tests verbosity + * limit_assets: don't wipe assets for PENDING jobs (#1518) + * Allow same group name within different parent groups (#1507) + * Apply log level correctly (#1516) + * Check if job is valid before starting working on it. + * Upload workers log to the webUI (#1502) + * Only test basic tests on perl 5.26 (#1512) + * Remove IDs from fixtures if they are in sequence (#1513) + * Move the $shared_dir to setup_share_dir + * Print project directory upon worker's init failure + * Fix documentation generation script + * Avoid warnings during test runs (#1511) ------------------------------------------------------------------- Mon Nov 27 07:55:45 UTC 2017 - coolo@suse.com diff --git a/openQA.spec b/openQA.spec index 54db76d..1d96cb0 100644 --- a/openQA.spec +++ b/openQA.spec @@ -24,7 +24,7 @@ %{_bindir}/systemd-tmpfiles --create %{?*} || : \ %{nil} %endif -%if 0%{?suse_version} >= 1730 +%if 0%{?suse_version} >= 1500 %ifarch x86_64 %bcond_without tests %else @@ -34,9 +34,9 @@ %bcond_with tests %endif # runtime requirements that also the testsuite needs -%define t_requires perl(DBD::SQLite) perl(DBIx::Class) perl(Config::IniFiles) perl(SQL::Translator) perl(Date::Format) perl(File::Copy::Recursive) perl(DateTime::Format::SQLite) 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) +%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) Name: openQA -Version: 4.5.1511814842.53907890 +Version: 4.5.1512479051.2ac0be95 Release: 0 Summary: The openQA web-frontend, scheduler and tools License: GPL-2.0+ @@ -69,17 +69,15 @@ Requires: perl(LWP::Protocol::https) Requires: perl(URI) # we need to have the same sha1 as expected %requires_eq perl-Mojolicious-Plugin-AssetPack +Requires: postgresql-server +BuildRequires: postgresql-server Requires(post): coreutils -Requires(post): sqlite3 Requires(post): perl(DBIx::Class::DeploymentHandler) Requires(post): perl(SQL::SplitStatement) Recommends: apache2 Recommends: apparmor-profiles Recommends: apparmor-utils Recommends: logrotate -Recommends: perl(DBD::Pg) -# for postgresql -Recommends: perl(DateTime::Format::Pg) BuildArch: noarch ExcludeArch: i586 %{?systemd_requires} @@ -87,6 +85,7 @@ ExcludeArch: i586 BuildRequires: chromedriver BuildRequires: chromium BuildRequires: perl-App-cpanminus +BuildRequires: perl(DBD::SQLite) BuildRequires: perl(Mojo::RabbitMQ::Client) BuildRequires: perl(Perl::Critic) BuildRequires: perl(Perl::Tidy) @@ -133,6 +132,7 @@ Summary: The openQA worker Group: Development/Tools/Other Requires: openQA-client = %{version} Requires: os-autoinst < 5 +Requires: perl(DBD::SQLite) Requires: perl(SQL::SplitStatement) # FIXME: use proper Requires(pre/post/preun/...) PreReq: openQA-common = %{version} @@ -184,7 +184,13 @@ rm -f t/00-tidy.t %if %{with tests} #make test +# workaround https://progress.opensuse.org/issues/28857 +export MOJO_LOG_LEVEL=debug +rm -rf %{buildroot}/DB +#./t/test_postgresql %{buildroot}/DB +#export TEST_PG="DBI:Pg:dbname=openqa_test;host=%{buildroot}/DB" OBS_RUN=1 prove -r -j2 -v +#pg_ctl -D %{buildroot}/DB stop %endif %install