SHA256
1
0
forked from pool/openQA

Offline generation of 4.5.1518796046.f83e310a

OBS-URL: https://build.opensuse.org/package/show/devel:openQA:tested/openQA?expand=0&rev=71
This commit is contained in:
Oliver Kurz 2018-02-17 01:02:19 +00:00 committed by Git OBS Bridge
parent 38c3f771af
commit a086e334e0
5 changed files with 71 additions and 5 deletions

11
crash-after-job.diff Normal file
View File

@ -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 {

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f4dd883ac5ac26efcc403465849ad270fdc9376edec0bec1d84585d508802dc2
size 1464424

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e45ccf7699463fb0a4eaa1eb4dc24216cb93fd0bf6486d0fee92912cb7031ba9
size 1477044

View File

@ -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

View File

@ -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}