diff --git a/Dockerfile b/Dockerfile
index d7d1ef3..85c5c48 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -115,6 +115,7 @@ RUN zypper in -y -C \
'perl(Test::Output)' \
'perl(Socket::MsgHdr)' \
'perl(Test::Warnings)' \
+ 'perl(Text::Diff)' \
'perl(Text::Markdown)' \
'perl(Time::ParseDate)' \
'perl(XSLoader) >= 0.24' \
diff --git a/_service b/_service
index 9387dd5..696d8f5 100644
--- a/_service
+++ b/_service
@@ -4,6 +4,7 @@
docker/travis_test/Dockerfile
openQA.spec
openQA-test.spec
+ openQA-worker-test.spec
git://github.com/os-autoinst/openQA.git
master
4.6
diff --git a/openQA-4.6.1562157181.8465317e.obscpio b/openQA-4.6.1562157181.8465317e.obscpio
deleted file mode 100644
index a144db7..0000000
--- a/openQA-4.6.1562157181.8465317e.obscpio
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:db214639f411d02c406c722f80e1223f7fc44f22bad408aea54da026484f6764
-size 9624589
diff --git a/openQA-4.6.1562333920.03805636.obscpio b/openQA-4.6.1562333920.03805636.obscpio
new file mode 100644
index 0000000..497c368
--- /dev/null
+++ b/openQA-4.6.1562333920.03805636.obscpio
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:717cbe9042f95329012433603a5aad07200e5b17c963ace495f3f9d0c506ba9c
+size 9718285
diff --git a/openQA-test.changes b/openQA-test.changes
index aa65081..235b2a8 100644
--- a/openQA-test.changes
+++ b/openQA-test.changes
@@ -1,3 +1,44 @@
+-------------------------------------------------------------------
+Fri Jul 05 22:35:10 UTC 2019 - coolo@suse.com
+
+- Update to version 4.6.1562333920.03805636:
+ * openqa-bootstrap-container: Fix package list passed as single string
+ * Add Text::Diff dependency to spec and Dockerfile
+ * Fix handling of unknown workers in the websocket server
+ * Activate strictures in tests as soon as possible
+ * openqa-clone-job: Add support for full test URLs
+ * tidy: Apply to all regular perl modules and scripts
+ * worker: Improve log messages, e.g. avoid contractions
+ * worker: Do not use bare returns
+ * docs: Point to wrapper client-script for shorter path
+ * docs: Replace the confusing table of triplets with a simple scenario list
+ * docs: Revamp the "job templates" section
+ * docs: Combine "asset cleanup" with "asset handling"
+ * docs: Stress older versions of Leap less
+ * docs: Better classify the different installation methods
+ * docs: Clarify job groups display on index page
+ * docs: Ensure "Installation & Users guide" are prominently featured in "Getting Started"
+ * docs: Include all feature descriptions from wiki
+ * docs: Also explain "medium types" directly in the glossary
+ * Delete unused helper "limit_previous_link"
+ * t: Fix warning in full-stack.t
+ * t: Output isotovideo log files in case of incomplete jobs within the full stack test
+ * t: Delete superfluous setting delete
+ * docs: Add hint how to get coverage for individual tests
+ * Do not trigger test cleanup code from forked processes
+ * Always use spaces in CodeMirror editor
+ * fetchneedles: Go back to old, quiet mode
+ * t: Fix warning in full-stack.t
+ * t: Delete superfluous setting delete
+ * docs: Add hint how to get coverage for individual tests
+ * Move 'create_worker' method to single place where used
+ * client: Prevent warnings when receiving no HTML status code at all
+ * Add package self-test for worker as well
+ * Add make target "test-with-database" for easier test database setup
+ * t: Fix typo in testrules.yml
+ * Makefile: Use explicit target name for non-travis specifics
+ * Lock test suites in YAML-based groups for manual updates and deletion
+
-------------------------------------------------------------------
Wed Jul 03 14:34:58 UTC 2019 - coolo@suse.com
diff --git a/openQA-test.spec b/openQA-test.spec
index d8b38b0..f0e5053 100644
--- a/openQA-test.spec
+++ b/openQA-test.spec
@@ -18,7 +18,7 @@
%define short_name openQA
Name: %{short_name}-test
-Version: 4.6.1562157181.8465317e
+Version: 4.6.1562333920.03805636
Release: 0
Summary: Test package for openQA
License: GPL-2.0-or-later
diff --git a/openQA-worker-test.spec b/openQA-worker-test.spec
new file mode 100644
index 0000000..7d48f67
--- /dev/null
+++ b/openQA-worker-test.spec
@@ -0,0 +1,43 @@
+#
+# spec file for package openQA-worker-test
+#
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
+#
+
+
+%define short_name openQA-worker
+Name: %{short_name}-test
+Version: 4.6.1562333920.03805636
+Release: 0
+Summary: Test package for %{short_name}
+License: GPL-2.0-or-later
+BuildRequires: %{short_name} == %{version}
+ExcludeArch: i586
+
+%description
+.
+
+%prep
+# workaround to prevent post/install failing assuming this file for whatever
+# reason
+touch %{_sourcedir}/%{short_name}
+
+%build
+/usr/share/openqa/script/worker --help
+
+%install
+# disable debug packages in package test to prevent error about missing files
+%define debug_package %{nil}
+
+%changelog
diff --git a/openQA.changes b/openQA.changes
index 47b8d39..5b49de6 100644
--- a/openQA.changes
+++ b/openQA.changes
@@ -1,3 +1,44 @@
+-------------------------------------------------------------------
+Fri Jul 05 22:35:10 UTC 2019 - coolo@suse.com
+
+- Update to version 4.6.1562333920.03805636:
+ * openqa-bootstrap-container: Fix package list passed as single string
+ * Add Text::Diff dependency to spec and Dockerfile
+ * Fix handling of unknown workers in the websocket server
+ * Activate strictures in tests as soon as possible
+ * openqa-clone-job: Add support for full test URLs
+ * tidy: Apply to all regular perl modules and scripts
+ * worker: Improve log messages, e.g. avoid contractions
+ * worker: Do not use bare returns
+ * docs: Point to wrapper client-script for shorter path
+ * docs: Replace the confusing table of triplets with a simple scenario list
+ * docs: Revamp the "job templates" section
+ * docs: Combine "asset cleanup" with "asset handling"
+ * docs: Stress older versions of Leap less
+ * docs: Better classify the different installation methods
+ * docs: Clarify job groups display on index page
+ * docs: Ensure "Installation & Users guide" are prominently featured in "Getting Started"
+ * docs: Include all feature descriptions from wiki
+ * docs: Also explain "medium types" directly in the glossary
+ * Delete unused helper "limit_previous_link"
+ * t: Fix warning in full-stack.t
+ * t: Output isotovideo log files in case of incomplete jobs within the full stack test
+ * t: Delete superfluous setting delete
+ * docs: Add hint how to get coverage for individual tests
+ * Do not trigger test cleanup code from forked processes
+ * Always use spaces in CodeMirror editor
+ * fetchneedles: Go back to old, quiet mode
+ * t: Fix warning in full-stack.t
+ * t: Delete superfluous setting delete
+ * docs: Add hint how to get coverage for individual tests
+ * Move 'create_worker' method to single place where used
+ * client: Prevent warnings when receiving no HTML status code at all
+ * Add package self-test for worker as well
+ * Add make target "test-with-database" for easier test database setup
+ * t: Fix typo in testrules.yml
+ * Makefile: Use explicit target name for non-travis specifics
+ * Lock test suites in YAML-based groups for manual updates and deletion
+
-------------------------------------------------------------------
Wed Jul 03 14:34:58 UTC 2019 - coolo@suse.com
diff --git a/openQA.obsinfo b/openQA.obsinfo
index d580e0b..7b6f5d0 100644
--- a/openQA.obsinfo
+++ b/openQA.obsinfo
@@ -1,5 +1,5 @@
name: openQA
-version: 4.6.1562157181.8465317e
-mtime: 1562157181
-commit: 8465317eb1b58e0b1921f1ae1b2513dab851bab1
+version: 4.6.1562333920.03805636
+mtime: 1562333920
+commit: 03805636f7abec341d00c7d14825064f68c6bf51
diff --git a/openQA.spec b/openQA.spec
index 33d44f4..53bc7b6 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::DeploymentHandler) 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(JSON::Validator) perl(YAML::XS) 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) perl(Mojo::SQLite) perl(Minion::Backend::SQLite)
+%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::DeploymentHandler) 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::Diff) perl(Text::Markdown) perl(JSON::Validator) perl(YAML::XS) 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) perl(Mojo::SQLite) perl(Minion::Backend::SQLite)
Name: openQA
-Version: 4.6.1562157181.8465317e
+Version: 4.6.1562333920.03805636
Release: 0
Summary: The openQA web-frontend, scheduler and tools
License: GPL-2.0-or-later
@@ -227,10 +227,7 @@ rm -f t/00-tidy.t
#make test
rm -rf %{buildroot}/DB
export LC_ALL=en_US.UTF-8
-./t/test_postgresql %{buildroot}/DB
-export TEST_PG="DBI:Pg:dbname=openqa_test;host=%{buildroot}/DB"
-OBS_RUN=1 prove -rv || true
-pg_ctl -D %{buildroot}/DB stop
+make test-with-database OBS_RUN=1 PROVE_ARGS='-rv' TEST_PG_PATH=%{buildroot}/DB || true
rm -rf %{buildroot}/DB
%endif