From a086e334e0c0c63381d09692c16df930ef1b651c51f8b23a188b2fb27b1dd8dd Mon Sep 17 00:00:00 2001 From: Oliver Kurz Date: Sat, 17 Feb 2018 01:02:19 +0000 Subject: [PATCH 1/4] Offline generation of 4.5.1518796046.f83e310a OBS-URL: https://build.opensuse.org/package/show/devel:openQA:tested/openQA?expand=0&rev=71 --- crash-after-job.diff | 11 ++++++ openQA-4.5.1518003872.3977d2f5.tar.xz | 3 -- openQA-4.5.1518796046.f83e310a.tar.xz | 3 ++ openQA.changes | 53 +++++++++++++++++++++++++++ openQA.spec | 6 ++- 5 files changed, 71 insertions(+), 5 deletions(-) create mode 100644 crash-after-job.diff delete mode 100644 openQA-4.5.1518003872.3977d2f5.tar.xz create mode 100644 openQA-4.5.1518796046.f83e310a.tar.xz diff --git a/crash-after-job.diff b/crash-after-job.diff new file mode 100644 index 00000000..fcdd06b9 --- /dev/null +++ b/crash-after-job.diff @@ -0,0 +1,11 @@ +diff -ru openQA-4.5.1518622805.99504b89.orig/lib/OpenQA/Worker/Jobs.pm openQA-4.5.1518622805.99504b89/lib/OpenQA/Worker/Jobs.pm +--- openQA-4.5.1518622805.99504b89.orig/lib/OpenQA/Worker/Jobs.pm 2018-02-14 16:40:05.000000000 +0100 ++++ openQA-4.5.1518622805.99504b89/lib/OpenQA/Worker/Jobs.pm 2018-02-16 12:36:02.902349709 +0100 +@@ -156,6 +156,7 @@ + $stop_job_running = 0; + $current_host = undef; + Mojo::IOLoop->singleton->emit("stop_job"); ++ die "better don't do it twice"; + } + + sub _upload_state { diff --git a/openQA-4.5.1518003872.3977d2f5.tar.xz b/openQA-4.5.1518003872.3977d2f5.tar.xz deleted file mode 100644 index a65bf678..00000000 --- a/openQA-4.5.1518003872.3977d2f5.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f4dd883ac5ac26efcc403465849ad270fdc9376edec0bec1d84585d508802dc2 -size 1464424 diff --git a/openQA-4.5.1518796046.f83e310a.tar.xz b/openQA-4.5.1518796046.f83e310a.tar.xz new file mode 100644 index 00000000..c7d2818b --- /dev/null +++ b/openQA-4.5.1518796046.f83e310a.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e45ccf7699463fb0a4eaa1eb4dc24216cb93fd0bf6486d0fee92912cb7031ba9 +size 1477044 diff --git a/openQA.changes b/openQA.changes index b2dca86b..c221b371 100644 --- a/openQA.changes +++ b/openQA.changes @@ -1,3 +1,56 @@ +------------------------------------------------------------------- +Sat Feb 17 01:02:00 UTC 2018 - coolo@suse.com + +- Update to version 4.5.1518796046.f83e310a: + * Use rwp also to call rsync (#1585) + * Force a restart when the children or grand-children processes die + * OpenQA::Parser::Format::JUnit mark testsuite failed if one of testcases fails + * Replace the exec call with ReadWriteProcess module + * Add use Mojo::DOM in JUnit and XUnit Parser (#1580) + * Use the generated Mojo::URL as Client base_url + * Add get_piece() in OpenQA::File to ease writing of downloader class + * Add test for OpenQA::Files's prepare() + * Make integration tests of uploader with fixed chunk size + * Fire events inside subprocess before and after chunk processing. + * Move uri checks inside common function in OpenQA::Client::Handler and guard from not configured scheme in host + * Add test to check if retrials numbers are matching + * Use subprocess for potential loop blocks + * Adapt workers to error handling + * Add tests for OpenQA::Client::Upload retrials on failures, and events propagation + * Emit errors on OpenQA::Client::Upload + * Swap multi-chunk uploader in worker with OpenQA::Client + * Make OpenQA::Handlers EventEmitter(s) + * Split OpenQA::Client + * Wipe out content of written chunk, try only weak check and back to Storable + * Do not always perform total cksum + * Drop Mojo force to File asset, display stats of uploaded chunks + * Write as we receive in a temp file + * Avoid to relay too much on the serializer + * Use C backend to read whole file when computing total cksum + * Enhance error detection + * Allow to chunks to dynamically grow and shrink + * Make total checksum verification run faster + * Let specify chunk size in config file, and default to 1000000 bytes + * Also add API endpoint to inform of upload status, adapt tests + * Do not make split() to load the file + * Pass asset option in multichunk upload + * Create empty file before writing it if doesn't exist + * Try to swap current uploader with multi-chunked one for assets + * Add spurt to OpenQA::Files + * Add write_verify_chunks() and write_chunks to OpenQA::Files + * Add methods to verify against chunks, also add test when joining/verifying in-place + * Add serialize/deserialize also to single result of parser + * Add OpenQA::File, wraps Mojo::File and adds seek capabilities + * Add worker version check on the server. (#1552) + * Add basic test for OpenQA::WebAPI::Description + * Add POD documentation to Controller/API/V1 packages + * Test 27-errorpages.t with a predefined API desc + * Replace Pod::Tree for Pod::POM in WebAPI::Description + * Add POD documentation to Controller/API/V1 packages + * Move API description methods to its own package + * Add POD documentation to Controller/API/V1 packages + * WebAPI: Add API description from Controller's POD + ------------------------------------------------------------------- Sat Feb 10 01:01:54 UTC 2018 - coolo@suse.com diff --git a/openQA.spec b/openQA.spec index 350507d8..357b3d04 100644 --- a/openQA.spec +++ b/openQA.spec @@ -34,9 +34,9 @@ %bcond_with tests %endif # 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) +%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) Name: openQA -Version: 4.5.1518003872.3977d2f5 +Version: 4.5.1518796046.f83e310a Release: 0 Summary: The openQA web-frontend, scheduler and tools License: GPL-2.0+ @@ -47,6 +47,7 @@ Source0: %{name}-%{version}.tar.xz # use update-cache to update it Source1: cache.txz Source101: update-cache.sh +Patch0: crash-after-job.diff BuildRequires: %{t_requires} BuildRequires: fdupes BuildRequires: os-autoinst @@ -184,6 +185,7 @@ Covering both openQA and also os-autoinst test engine. %prep %setup -q -a1 +%patch0 -p1 %build make %{?_smp_mflags} From 421bd4a42f0cf7cea72aeafe7da5c015cf04e82fc0c72f6ce62625a7e933ae06 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Sat, 17 Feb 2018 07:05:22 +0000 Subject: [PATCH 2/4] Offline generation of 4.5.1518796046.f83e310a OBS-URL: https://build.opensuse.org/package/show/devel:openQA:tested/openQA?expand=0&rev=72 --- crash-after-job.diff | 11 ----------- openQA.changes | 2 +- openQA.spec | 2 +- 3 files changed, 2 insertions(+), 13 deletions(-) delete mode 100644 crash-after-job.diff diff --git a/crash-after-job.diff b/crash-after-job.diff deleted file mode 100644 index fcdd06b9..00000000 --- a/crash-after-job.diff +++ /dev/null @@ -1,11 +0,0 @@ -diff -ru openQA-4.5.1518622805.99504b89.orig/lib/OpenQA/Worker/Jobs.pm openQA-4.5.1518622805.99504b89/lib/OpenQA/Worker/Jobs.pm ---- openQA-4.5.1518622805.99504b89.orig/lib/OpenQA/Worker/Jobs.pm 2018-02-14 16:40:05.000000000 +0100 -+++ openQA-4.5.1518622805.99504b89/lib/OpenQA/Worker/Jobs.pm 2018-02-16 12:36:02.902349709 +0100 -@@ -156,6 +156,7 @@ - $stop_job_running = 0; - $current_host = undef; - Mojo::IOLoop->singleton->emit("stop_job"); -+ die "better don't do it twice"; - } - - sub _upload_state { diff --git a/openQA.changes b/openQA.changes index c221b371..858c23a0 100644 --- a/openQA.changes +++ b/openQA.changes @@ -1,5 +1,5 @@ ------------------------------------------------------------------- -Sat Feb 17 01:02:00 UTC 2018 - coolo@suse.com +Sat Feb 17 07:04:04 UTC 2018 - coolo@suse.com - Update to version 4.5.1518796046.f83e310a: * Use rwp also to call rsync (#1585) diff --git a/openQA.spec b/openQA.spec index 357b3d04..08cdc95d 100644 --- a/openQA.spec +++ b/openQA.spec @@ -39,7 +39,7 @@ Name: openQA Version: 4.5.1518796046.f83e310a 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 From 1f8cdd36f90ff732617965fdd03a583a96322105b41365f2157ae8bafbefe7d0 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Sat, 17 Feb 2018 07:07:39 +0000 Subject: [PATCH 3/4] Offline generation of 4.5.1518796046.f83e310a OBS-URL: https://build.opensuse.org/package/show/devel:openQA:tested/openQA?expand=0&rev=73 --- openQA.changes | 2 +- openQA.spec | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/openQA.changes b/openQA.changes index 858c23a0..96bdfdbe 100644 --- a/openQA.changes +++ b/openQA.changes @@ -1,5 +1,5 @@ ------------------------------------------------------------------- -Sat Feb 17 07:04:04 UTC 2018 - coolo@suse.com +Sat Feb 17 07:06:26 UTC 2018 - coolo@suse.com - Update to version 4.5.1518796046.f83e310a: * Use rwp also to call rsync (#1585) diff --git a/openQA.spec b/openQA.spec index 08cdc95d..332a1135 100644 --- a/openQA.spec +++ b/openQA.spec @@ -47,7 +47,6 @@ Source0: %{name}-%{version}.tar.xz # use update-cache to update it Source1: cache.txz Source101: update-cache.sh -Patch0: crash-after-job.diff BuildRequires: %{t_requires} BuildRequires: fdupes BuildRequires: os-autoinst @@ -185,7 +184,6 @@ Covering both openQA and also os-autoinst test engine. %prep %setup -q -a1 -%patch0 -p1 %build make %{?_smp_mflags} From 950ad359d4e212faf45199de828c271755f070ff9d7ab325eafa6b198774ae7d Mon Sep 17 00:00:00 2001 From: Oliver Kurz Date: Tue, 20 Feb 2018 13:01:23 +0000 Subject: [PATCH 4/4] Offline generation of 4.5.1519128406.810fb68b OBS-URL: https://build.opensuse.org/package/show/devel:openQA:tested/openQA?expand=0&rev=74 --- openQA-4.5.1518796046.f83e310a.tar.xz | 3 --- openQA-4.5.1519128406.810fb68b.tar.xz | 3 +++ openQA.changes | 5 +++-- openQA.spec | 4 ++-- 4 files changed, 8 insertions(+), 7 deletions(-) delete mode 100644 openQA-4.5.1518796046.f83e310a.tar.xz create mode 100644 openQA-4.5.1519128406.810fb68b.tar.xz diff --git a/openQA-4.5.1518796046.f83e310a.tar.xz b/openQA-4.5.1518796046.f83e310a.tar.xz deleted file mode 100644 index c7d2818b..00000000 --- a/openQA-4.5.1518796046.f83e310a.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e45ccf7699463fb0a4eaa1eb4dc24216cb93fd0bf6486d0fee92912cb7031ba9 -size 1477044 diff --git a/openQA-4.5.1519128406.810fb68b.tar.xz b/openQA-4.5.1519128406.810fb68b.tar.xz new file mode 100644 index 00000000..897d998c --- /dev/null +++ b/openQA-4.5.1519128406.810fb68b.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1dc83f066b1e24176f87c10472e4abb541b979d5758e78581382e17f17172638 +size 1477020 diff --git a/openQA.changes b/openQA.changes index 96bdfdbe..1f3d62f0 100644 --- a/openQA.changes +++ b/openQA.changes @@ -1,7 +1,8 @@ ------------------------------------------------------------------- -Sat Feb 17 07:06:26 UTC 2018 - coolo@suse.com +Tue Feb 20 12:06:58 UTC 2018 - coolo@suse.com -- Update to version 4.5.1518796046.f83e310a: +- Update to version 4.5.1519128406.810fb68b: + * Show correct port for created job (#1578) * Use rwp also to call rsync (#1585) * Force a restart when the children or grand-children processes die * OpenQA::Parser::Format::JUnit mark testsuite failed if one of testcases fails diff --git a/openQA.spec b/openQA.spec index 332a1135..9584e2d9 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) Name: openQA -Version: 4.5.1518796046.f83e310a +Version: 4.5.1519128406.810fb68b Release: 0 Summary: The openQA web-frontend, scheduler and tools -License: GPL-2.0-or-later +License: GPL-2.0+ Group: Development/Tools/Other Url: http://os-autoinst.github.io/openQA/ Source0: %{name}-%{version}.tar.xz