From e8a27809fdd53abf28fc6736592ce04c52f4e53422d2f6451c141a95bdc7fd03 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Mon, 27 Nov 2017 07:35:17 +0000 Subject: [PATCH] - Update to version 4.5.1511709996.0670f622: * Use OPENQA_TEST_IPC for 12-admin-workers.t (#1506) * Poll status less often not to stress the server * Adapt coverage threshold * Mark workers dead when they disconnect from WS * Make full stack test more robust by adding more assertions * /tests/overview: Change sorting to show all machine variants together (#1489) * Use Cpanel::JSON::XS directly to avoid overwrite mess * Extend apparmor permissions for /usr/share/openqa/lib/** (#1504) - adapt build dependencies to Cpanel::JSON::XS - Update to version 4.5.1511506873.8fe54c73: * /tests/overview: Change sorting to show all machine variants together (#1489) * Use Cpanel::JSON::XS directly to avoid overwrite mess * Extend apparmor permissions for /usr/share/openqa/lib/** (#1504) * Test multiple perl versions in travis CI * Ignore specific 404 errors in the javascript console * Click away the feature tour in full stack * Make 21-admin-needles more robust * Clean VHD and VHDX images in cache * Fix function names in ui tests * Rename PhantomTest to SeleniumTest * Remove support/work arounds for phantomjs * Use headless chrome instead of phantomjs * Use proper name and directory for PhantomTest - replace phantomjs with chromium/chromedriver - Update to version 4.5.1511347518.17262556: OBS-URL: https://build.opensuse.org/package/show/devel:openQA:tested/openQA?expand=0&rev=41 --- openQA-4.5.1509961847.95758466.tar.xz | 3 - openQA-4.5.1511709996.0670f622.tar.xz | 3 + openQA.changes | 199 ++++++++++++++++++++++++++ openQA.spec | 10 +- 4 files changed, 207 insertions(+), 8 deletions(-) delete mode 100644 openQA-4.5.1509961847.95758466.tar.xz create mode 100644 openQA-4.5.1511709996.0670f622.tar.xz diff --git a/openQA-4.5.1509961847.95758466.tar.xz b/openQA-4.5.1509961847.95758466.tar.xz deleted file mode 100644 index 5242f50..0000000 --- a/openQA-4.5.1509961847.95758466.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1a1104546b264778d919f2d4dc1c13de58ae549a91002f17e134ffeca933b2b8 -size 1433560 diff --git a/openQA-4.5.1511709996.0670f622.tar.xz b/openQA-4.5.1511709996.0670f622.tar.xz new file mode 100644 index 0000000..a81e777 --- /dev/null +++ b/openQA-4.5.1511709996.0670f622.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a47c0affce30b860022fd01d28a0d0bf9442968d873c1677f303bcfce708ba1e +size 1435488 diff --git a/openQA.changes b/openQA.changes index 4316985..0fb9ec7 100644 --- a/openQA.changes +++ b/openQA.changes @@ -1,3 +1,202 @@ +------------------------------------------------------------------- +Mon Nov 27 07:30:40 UTC 2017 - rd-ops-cm@suse.de + +- Update to version 4.5.1511709996.0670f622: + * Use OPENQA_TEST_IPC for 12-admin-workers.t (#1506) + * Poll status less often not to stress the server + * Adapt coverage threshold + * Mark workers dead when they disconnect from WS + * Make full stack test more robust by adding more assertions + * /tests/overview: Change sorting to show all machine variants together (#1489) + * Use Cpanel::JSON::XS directly to avoid overwrite mess + * Extend apparmor permissions for /usr/share/openqa/lib/** (#1504) + +------------------------------------------------------------------- +Fri Nov 24 07:06:32 UTC 2017 - coolo@suse.com + +- adapt build dependencies to Cpanel::JSON::XS + +------------------------------------------------------------------- +Fri Nov 24 07:01:35 UTC 2017 - rd-ops-cm@suse.de + +- Update to version 4.5.1511506873.8fe54c73: + * /tests/overview: Change sorting to show all machine variants together (#1489) + * Use Cpanel::JSON::XS directly to avoid overwrite mess + * Extend apparmor permissions for /usr/share/openqa/lib/** (#1504) + * Test multiple perl versions in travis CI + * Ignore specific 404 errors in the javascript console + * Click away the feature tour in full stack + * Make 21-admin-needles more robust + * Clean VHD and VHDX images in cache + * Fix function names in ui tests + * Rename PhantomTest to SeleniumTest + * Remove support/work arounds for phantomjs + * Use headless chrome instead of phantomjs + * Use proper name and directory for PhantomTest + +------------------------------------------------------------------- +Wed Nov 22 11:40:53 UTC 2017 - coolo@suse.com + +- replace phantomjs with chromium/chromedriver + +------------------------------------------------------------------- +Wed Nov 22 11:30:49 UTC 2017 - rd-ops-cm@suse.de + +- Update to version 4.5.1511347518.17262556: + * Ignore specific 404 errors in the javascript console + * Click away the feature tour in full stack + * Make 21-admin-needles more robust + * Clean VHD and VHDX images in cache + * Treat VHD and VHDX images as HDD assets + * Replace logrotate config with what we use in production (#1500) + * Fix function names in ui tests + * Rename PhantomTest to SeleniumTest + * Remove support/work arounds for phantomjs + * Use headless chrome instead of phantomjs + * Use proper name and directory for PhantomTest + * Update Cache documentation (#1495) + * Make path of changelog configurable via config file + * Add changelog for web UI + * Avoid creating useless commits (#1497) + * Add _ONLY_OBSOLETE_SAME_BUILD, _NOOBSOLETEBUILD -> _NO_OBSOLETE + * Multiple loggings channels + * Log Uniformization + * Make threshold for worker_checker a constant, and tight the bond between the status timer and the timer for checking inactive workers + * Remove already superseded default inactivity timeout from script/openqa-websockets + * Remove keepalive message and introduce dynamic slot allocation for worker_status timer + * Mention repos for Leap 42.3 + * Fixing the package to build with newer assetpack (#1485) + * Prevent showing duplicated bugrefs twice + * Fix name of the SUSE company + * Allow admins to fetch the worker status by json + * docs: Prevent parsing of '#' as markup + * Add API description for worker route + * Make heartbeat timeout for rabbitmq configurable (#1479) + * Worker: Wrap asset_lookup() query in eval/if + * Return 0 by default on worker's try_lock_asset() + * Worker: Reset state also when we loose current_host (due to failure contacting webserver) + * Make job update take into account of ASSIGNED and SETUP state + * Switching to safe_call in ResourceAllocator + * Add safe_call to OpenQA::Utils + * OpenQA::ServerStartup: set also appropriate handle when setting up logging, since now FakeApp has STDOUT as default handle + * Adjust scheduler full tests after the split + * Use schema from ResourceAllocator instance, refactor to use exists_worker + * Create exists_worker in OpenQA::Utils + * Split fullstack tests in different build matrix + * Create ResourceAllocator DBus service + * docs: Add hint about performance impact of VM snapshots (#1474) + * Cherry pick perltidy fixes from @henrich (#1475) + * Fix missing log_warning import on IPC.pm (#1473) + * Ignore .pc directory for perltidy (#1472) + * Fix regression introduced in https://github.com/os-autoinst/openQA/pull/1460 + * Test enabling result filter on 'All Tests' page via query + * Fix filtering by result on 'All tests' page for some results + * Adapt bugzilla link to new SLE15 installer (#1466) + * Add query param for filtering 'All tests' table by result + * Allow filtering by result on 'All tests' page + * Add log function log_fatal + * make Makefile non-bash environment friendly (#1465) + * Log IPC errors + * Improve documentation for contributors + * Fix missing openQA::Client import introduced in 7c91a962 + * Add support for getting test results as json + * Move read_test_modules to OpenQA::Utils + * Switch to live view by default in full stack test + * Allow info/debug messages in javascript_console_is_empty + * Ensure streams for live view are only consumed when tab is active + * Make details the default tab also for running jobs + * Untie live stream from live log + * Disable live log/terminal by default + * Trim less text in overview tables by using CSS instead of custom code + * Ensure use of symlinked applications for clone_job/dump_templates/load_templates + * Test 404 error page + * Add setup state to be polled and tidy up + * Ensure CSS classes are used for Datatables + * Replace tabs with spaces and fix indentation. + * Better reflect job execution through states + * Use cache_tests from isotovideo engine + * Sync needles when caching is enabled + * Fix use of undefined $email by using default icon instead (#1444) + * Changes the log level to debug if --debug or --verbose is applied. Default is info level. + * Cover main OpenQA.pm, which was left with low coverage + * Refactor worker status messages + * Use Mojo::Log for logging worker's output + * Include all relevant distros when linking overview + * Cover the websocket server to avoid uncovered changes with CI builds + * Check whether description available before printing it + * Dereference hashrefs before using 'keys' + * Websocket: Do not kill connections due to inactivity (meant mostly for browsers) + * Add support for multiple distri/version/group on /tests/overview + * Worker: Do not cleanup if pooldir is not set + * Worker: reset internal state if we fail contacting the WebUI + * Subscribe start_job/stop_job events before we call send on websocket connection + * Treat ASSIGNED state as in execution + * Fix accessing job module stat 'unk' + * Remove all remaining uses of job_module_stats + * Fix sorting in table for previous jobs of worker + * Prevent use of job_module_stats when showing jobs of worker + * Add missing figure for closed ticket labels + * Add tests for WebSocket disconnection handling + * WebSockets: enable required plugin on setup + * Workers: print debug output when connection is closed + * WebSockets: finish connection when we don't have the worker registered + * Utils: Flush log output when we don't use Mojo::Log + * Templates: improve error handling in running_table (#1427) + * Replace old DEPENDENCIES.txt references to cpanfile (#1423) + * Adjust ui test + * Enable feature tour by changing database entry + * Add a quick tour to openQA + * Add description part for api routes at not_found page + * Fix sporadic problem of systemd service start (poo#21004) (#1430) + * Make auto refresh rate adjustable + * Add autorefresh for builds and comments in group overview + * Fix uninitialized value error and typos + * Add fullscreen to group overview and rewind comments part + * Add disable comments feature in group overview + * Include just show latest comment feature + * Create base for fullscreen mode on group overview site + * Websocket: wrap database transactions in try catch so we can debug dbus service errors + * Websockets: set default appname - which is used in error templates + * WebSockets: reset to schedule state if we detect stale assigned jobs + * Adapt scheduler tests to new sleep mode + * Scheduler: sleep when we have nothing to do + * Add 'report Bug' for OpenQA product + * Seperate footer links from footer legal part + * Worker: increase keepalive timer + * Fix staging link for CaaSP + * Add support for custom links in footer + * WebSockets: use set_running when updating job status (#1426) + * Scheduler: now job allocation checks are not needed anymore inside scheduler + * Scheduler/WebSockets/Worker: update job state to running from worker responses + * Workers: collect error if we fail dispatching commands to websocket dbus service + * Scheduler test: simulate unstable workers + * Worker: do not die in the loop when current_host is not set + * Websockets: remove (now) misleading debug message + * Websockets: print details of messages received from unknown workers + * Worker/Websockets: Make worker send status messages, and websockets reaping jobs that are not matching states + * Scheduler: use another state for jobs that have been assigned but are not yet in running status + * Scheduler: remove retrials and workers cache + * Scheduler: Add basic unit testing + * Conflict no-cleanup worker with normal worker (#1417) + * Improve error if a worker cannot connect to a WebSocket (#1416) + * Websockets: distinct error while dispatching job over ws + * Scheduler: schedule() now returns allocated jobs and failures + * Scheduler: Remove shuffle option. Is new default now, if we don't shuffle free workers we might go into starvation since they can keep failing + * Scheduler: Remove EXPBACKOFF option and default to binary + * Include '.' in INC for 24-feature-tour.t (#1420) + * Scheduler: add code comments, refactorize and simplify code + * Use OPENQA_TEST_IPC in more tests due to scheduler changes + * docs: Add description of closed issue visualization + * docs: Move label and bugrefs doc from wiki + * Job: Return error messages when worker doesn't send id + * Worker: send worker_id when updating setup status + * Revert "Permit a dropped test coverage for now" as we are covered now + * API/Worker: Get updates from job that match the worker id + * Adjust full-stack tests scheduler default values + * Scheduler: add option to wakeup when we receive new jobs + * Scheduler: implement retrials before declaring a job not accepted by a worker + * More prominent color for closed bug references, old ones for open bugs (#1412) + ------------------------------------------------------------------- Wed Nov 08 04:10:22 UTC 2017 - rd-ops-cm@suse.de diff --git a/openQA.spec b/openQA.spec index 9f1e2a1..2294b5c 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::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) +%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) Name: openQA -Version: 4.5.1509961847.95758466 +Version: 4.5.1511709996.0670f622 Release: 0 Summary: The openQA web-frontend, scheduler and tools License: GPL-2.0+ @@ -85,11 +85,11 @@ ExcludeArch: i586 %{?systemd_requires} %if %{with tests} BuildRequires: perl-App-cpanminus -BuildRequires: phantomjs +BuildRequires: chromium chromedriver BuildRequires: perl(Mojo::RabbitMQ::Client) BuildRequires: perl(Perl::Critic) BuildRequires: perl(Perl::Tidy) -BuildRequires: perl(Selenium::Remote::Driver) +BuildRequires: perl(Selenium::Remote::Driver) >= 1.20 BuildRequires: perl(Test::Compile) BuildRequires: perl(Test::MockObject) BuildRequires: perl(Test::Warnings) @@ -151,7 +151,7 @@ Group: Development/Tools/Other Requires: perl(Config::IniFiles) Requires: perl(Data::Dump) Requires: perl(Getopt::Long) -Requires: perl(JSON) +Requires: perl(Cpanel::JSON::XS) Requires: perl(Mojolicious) %description client