SHA256
1
0
forked from pool/openQA

Accepting request 738233 from devel:openQA:tested

- No changelog - see openQA.changes
- No changelog - see openQA.changes
- Reset changes in test subpackages (useless duplication)

- Update to version 4.6.1570902364.4f271c31:
  * Accept a list of machines in defaults and job templates
  * Collect coverage aretifacts in CircleCI
  * There should be no need to update the flags
  * Split data creation and update into two methods
  * Fix cgroup creation
  * Add unstable tests with retry to circleci
  * Make job template code for testsuites clearer
  * Lock test suites/machines/products used in YAML
  * Add RETRY parameter to test targets in Makefile
  * Add GLOBIGNORE to Makefile
  * Add coverage and build.docs to circleci
  * Add apparmor local overrides
  * Split off creation/ update of job templates
  * Dependency cron 191009000530 (#2380)
  * Recompute worker's broken state after job finished
  * Add test for refusing 'grab_jobs' when worker broken
  * Remove dead code from WebSocket server
  * Fix confusing test names in test for worker's QEMU check
  * Store test JUnit results for CircleCI
  * Update reference after saving YAML in editor
  * Make clickable links if a setting looks like a URL
  * Too many webui requests take more than a second to be processed, so limiting concurrency is much safer for now
  * Add note about plugins not to enable on typical production setups
  * apparmor: Update profile based on current o3 state
  * Elaborate on differences between table and YAML

OBS-URL: https://build.opensuse.org/request/show/738233
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openQA?expand=0&rev=81
This commit is contained in:
Dominique Leuenberger 2019-10-14 12:54:38 +00:00 committed by Git OBS Bridge
commit f1f856c00a
12 changed files with 151 additions and 1776 deletions

View File

@ -5,6 +5,7 @@
<param name="extract">openQA.spec</param> <param name="extract">openQA.spec</param>
<param name="extract">openQA-test.spec</param> <param name="extract">openQA-test.spec</param>
<param name="extract">openQA-worker-test.spec</param> <param name="extract">openQA-worker-test.spec</param>
<param name="extract">openQA-devel-test.spec</param>
<param name="url">git://github.com/os-autoinst/openQA.git</param> <param name="url">git://github.com/os-autoinst/openQA.git</param>
<param name="revision">master</param> <param name="revision">master</param>
<param name="versionprefix">4.6</param> <param name="versionprefix">4.6</param>

View File

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

View File

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

View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Mon Oct 14 09:00:51 UTC 2019 - coolo@suse.com
- No changelog - see openQA.changes

43
openQA-devel-test.spec Normal file
View File

@ -0,0 +1,43 @@
#
# spec file for package openQA-devel-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-devel
Name: %{short_name}-test
Version: 4.6.1570902364.4f271c312
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
# just test requirements by installation
%install
# disable debug packages in package test to prevent error about missing files
%define debug_package %{nil}
%changelog

File diff suppressed because it is too large Load Diff

View File

@ -18,7 +18,7 @@
%define short_name openQA %define short_name openQA
Name: %{short_name}-test Name: %{short_name}-test
Version: 4.6.1568795030.c377d780b Version: 4.6.1570902364.4f271c312
Release: 0 Release: 0
Summary: Test package for openQA Summary: Test package for openQA
License: GPL-2.0-or-later License: GPL-2.0-or-later

View File

@ -1,152 +1,4 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Sep 18 11:58:58 UTC 2019 - coolo@suse.com Mon Oct 14 09:00:51 UTC 2019 - coolo@suse.com
- Update to version 4.6.1568795030.c377d780b:
* Fix test failures on Leap 15.1
* Fix warning in 24-worker-overall.t
* Test scheduler code for assigning multiple jobs to a worker
* Sort directly chained children within same parent by test name
* Adapt existing tests to adjustments for directly chained dependencies
* Assign cluster of directly chained jobs to worker
* Show assigned jobs as such under 'All tests'
* Enforce consistent WORKER_CLASS when creating directly chained dependencies
* Add compution of directly chained job hierarchy
* Verify that inserting dependency cycles is prevented
* Improve string formatting in scheduler code
* Add circleci
* Fix formatting of developer mode documentation
* Update dep graph desc for START_DIRECTLY_AFTER_TEST
* Update documentation for START_DIRECTLY_AFTER_TEST
* Ignore SQL deprecate warning when querying job modules that are running
-------------------------------------------------------------------
Thu Aug 22 17:14:16 UTC 2019 - coolo@suse.com
- Update to version 4.6.1566476274.5f4e21fe:
* Render a diff of the job group YAML in preview/ save
* Use purple for blocked jobs
* Distinguish scheduled and blocked jobs on test result overview
* Delete vim footer in files that still have it
* Makefile: Allow again to select single test cases with PROVE_ARGS
* Preserve QEMU PID file on pool dir cleanup if QEMU still running
* Improve tests for triggering pool directory cleanup
* Test support for non-ASCII chars in needle JSON only in description
* Handle newline characters in form parameters correctly
* Always include the group property editor
* Do not delete assets based on empty size
* job cancel: Explicitly return a number to avoid warning
* Fix warning about undefined $testresdir
* Fix flaky test t/api/11-bugs.t
* scheduler: Fix warnings about undefined variables
* Fix rendering of the openqa.cmd
* openqa-bootstrap: Fix logic of git clone
* Add machine filter in 'Test result overview'
* docs: Mention most simple installation instructions and "clone-job" first
* docs: Add documentation for immediate bootstrap+clone
* docs: Fix internal link
* branding: Prevent undefined flavor in external_reporting.html.ep
* apparmor: Allow virtio_console based on named PIPE
* apparmor: Allow loading of client.conf in usual home of geekotest
* apparmor: Allow loading override templates in /etc/openqa/templates/
* branding: Prevent warnings about undefined $distri in external_reporting.html.ep
* Test worker behavior if _upload_log_file fails
* Improve needle editor test
* Improve calculating preferred machine
* Fix error when saving needle JSON with non-ASCII characters
* Modify workaround property to support adding reason
* Fix 30-test_parser.t warnings
* Remove exported functions from OpenQA::File and stop using private methods as part of the public API
* docs: Fix explanation for masquerading which is needed on all involved zones
* docs: Simplify firewalld commands by using the runtime variants
* docs: Make the current "firewalld" approach more prominent than old SuSEfirewall2
* Fix PROVE_ARGS in spec file
* docs: Remove obsolete section about "wicked < 0.6.23"
* load_templates: fix --clean and reading perl templates
* Do not handle arguments in reverse and move OpenQA::Files class into a proper package
* Make worker retry-delay configurable
* Test retry behavior of worker
* Extend retry delay of worker to 60 seconds if web UI busy
* Adapt codecov target to current coverage of 85%
* Allow * placeholders in product names
* docs: Fix marking for 2nd level list about "wicked pros"
* Prevent over-escaping of bug titles in test result overview
* Adjust web socket server test
* Avoid 'return;' in web socket code
* Fix sending web socket message when job not exists
* Improve transaction handling in web socket server
* AMQP: allow no message prefix
* Fix '--no-cleanup' on worker start regression
* Remove OpenQA::Schema::Result::Jobs::set_scheduling_worker
* Replace Text::Markdown and HTML::Restrict with CommonMark for much better comment rendering speed and security
* Adding a new parameter to support not schedule parent test suite
* Timeout for wait_for_ajax
* Let prove handle @INC for us
* Expose saving and hiding of the legacy editor in the UI
* Scrub dangerous HTML from comments
* Abstract out markdown handling into a new class
* worker: Consider ws disconnects as uncritical during job execution
* Fix worker crash when sending job ID
* YAML: don't merge scenarios with multiple machines with defaults
* Add dependency on CommonMark, which will soon replace Text::Markdown for a 1000% performance increase (#2228)
* Ignore cpu_modelname in worker test
* Let worker pass current job ID on re-registration
* Allow worker to pass its current job on registration
* Improve test for checking job status and output
* Improve error message when rejecting status update
* Add YAML support to {dump,load}_templates
* Add systemd timer to trigger daily audit event cleanup
* Delete old audit events according to configured storage duration
* AMQP: don't encode message body to JSON before publishing
* Handle reusing existing connection in devel fullstack test
* Improve documentation about running test of openQA itself
* Timeout for wait_for_developer_console_contains_log_message
* Override default exception handler in extra daemons
* Fix default route of live handler to prevent template errors
* Docs for the job group editor and YAML REST
* AMQP: allow passing headers to publish_amqp
* Add note about openQA's CLI interface
* openqa-bootstrap: Fix lookup of configure-web-proxy
* Improve rendering summary in test result overview
* t/api/03-auth.t: don't actually wipe asset files from disk
* Mojo::Pg 4.14 requires the "delete $dbh->{private_...}" feature from DBI 1.632
* Log errors when reading worker config
* Add type/additionalProperties to products spec
* spec: Fix SLE12 build with patched out python subpackage
* Start a documentation section on how to build openQA plugins
* templates: Update references to documentation in help texts
* docs: Update references to target versions in our issue tracker
* Document adding new dependencies
* Improve doc section about starting webserver from Git
* Move testing with production data to database section
* Improve documentation about OPENQA_BASEDIR
* Replay cmds in devel mode console only if connected to os-autoinst
* Make sure all four levels of API access have named routes for plugins and tests
* Add undef to return
* Prevent cleaning pool directory in worker availability check
* Add helper script 'openqa-label-all'
* Set log for failing to stop cmd srv to info level
* Do not fail fullstack test when connection closed
* Split api request to own route
* Extend unit tests for OpenQA::Worker
* Do not stop current job twice when stopping during setup
* Remove unused function from worker
* Remove check for cpu_opmode from worker test
* Stop job directly with reason 'api-failure' on API failures
* Give the API authentication routes plugins will use names and test them
* Log sent commands in the developer console as well
* Replay commands send though developer console while offline
* Add put method with disabled test
* Fix test doing an equality check on an exception instead of a regular expression comparison
* Fix html
* Adapt codecov target to current coverage
* Small tweaks
* Default to HTTPS instead of HTTP with openqa-client
* Add Operator menu item
* Remove duplicate use
* Small CR adjustment
* Make routes restricted
* Add ObsRsync plugin
* Expand Machine and Medium Type settings when creating job with 'jobs post' When users created jobs using 'client jobs post', the jobs settings did not expand Machine and Medium Type settings. This PR is used to support to expand settings from Machine and Medium Type when creating jobs with 'jobs post'.
* .travis.yml: Save travis CI some testing time
* Add Test::More based error handler to SeleniumTest
- No changelog - see openQA.changes

View File

@ -18,7 +18,7 @@
%define short_name openQA-worker %define short_name openQA-worker
Name: %{short_name}-test Name: %{short_name}-test
Version: 4.6.1568795030.c377d780b Version: 4.6.1570902364.4f271c312
Release: 0 Release: 0
Summary: Test package for %{short_name} Summary: Test package for %{short_name}
License: GPL-2.0-or-later License: GPL-2.0-or-later

View File

@ -1,3 +1,92 @@
-------------------------------------------------------------------
Mon Oct 14 09:07:30 UTC 2019 - Stephan Kulow <coolo@suse.com>
- Reset changes in test subpackages (useless duplication)
-------------------------------------------------------------------
Mon Oct 14 09:06:50 UTC 2019 - coolo@suse.com
- Update to version 4.6.1570902364.4f271c31:
* Accept a list of machines in defaults and job templates
* Collect coverage aretifacts in CircleCI
* There should be no need to update the flags
* Split data creation and update into two methods
* Fix cgroup creation
* Add unstable tests with retry to circleci
* Make job template code for testsuites clearer
* Lock test suites/machines/products used in YAML
* Add RETRY parameter to test targets in Makefile
* Add GLOBIGNORE to Makefile
* Add coverage and build.docs to circleci
* Add apparmor local overrides
* Split off creation/ update of job templates
* Dependency cron 191009000530 (#2380)
* Recompute worker's broken state after job finished
* Add test for refusing 'grab_jobs' when worker broken
* Remove dead code from WebSocket server
* Fix confusing test names in test for worker's QEMU check
* Store test JUnit results for CircleCI
* Update reference after saving YAML in editor
* Make clickable links if a setting looks like a URL
* Too many webui requests take more than a second to be processed, so limiting concurrency is much safer for now
* Add note about plugins not to enable on typical production setups
* apparmor: Update profile based on current o3 state
* Elaborate on differences between table and YAML
* Use fork for nightly circleci job (#2365)
* Retry limit asset job on key constraint violations during scans
* Improve job dependencies documentation
* Consider 'not yet' as most recent when sorting running tests by 'Started' (#2369)
* Dependency cron 191002000541
* Fix "Sync Now" button in OBS Plugin
* Ignore errors loading dashboard if just navigating away
* Update filter form label without page-reload
* Correctly propagate job template name from YAML
* Fix "timeago" rendering on AJAX-enabled dashboard
* circleci: Remove whitespace at EOL
* Fix publishing documentation via Travis
* Don't silently exit doc generation if asciidoctor not available
* Retry limit asset job on key constraint violations
* Make t/37-limit_assets.t independent of t/14-grutasks.t
* Load build results on dashboard via AJAX
* Update perl-DBIx-Class-DeploymentHandler dependency to 0.002233 (#2359)
* Move stale job detection from ws server to scheduler
* Remove obsolete comment regarding offline workers
* Rely on t_updated for the worker's online status in the web UI
* Prevent failures in feature tour test
* Set default check interval for wait_util to 1 second
* Enforce same width for nodes in dependency graph
* Move test helper embed_server_for_testing to test utilities
* Add unit test for test schedule change processing
* Avoid race condition if test_order.json changes too often
* Reload test_order.json if it changes at test runtime
* Refactor job result file path concatenation
* Move incompletion logic when worker shows up again to scheduler
* Add missing api tests to circleci
* Explicitly specify constraint with JobTemplates->find_or_create
* Update tidy to 20190915
* Update .circleci/dependencies.txt
* Make the version number a simple link to the changelog
* Enable nightly circleci dependency job on master (#2343)
* spec: Fix missing dependency on IPC::Run in client (#2347)
* Tolerate exceptions in OBS api call from ObsRsync plugin
* Improve deleting a single asset in WebUI
* Prevent loading arbitrary plugins in live view handler
* Improve language of locking API documentation
* Prevent the ws server to query itself
* Clean up resource lock code a little bit
* Move helper that had been accidentally placed in OpenQA::Utils to the helper plugin
* Enforce consistent order for pending jobs of worker
* Add colors for more job results in dependency graph
* Use create instead of new/insert (overloads should still be fine)
* Include more columns in unique constraint to be more future proof
* Do not be lazy and use proper names for variables used more than once
* Delete duplicate records before creating the unique constraint
* Use a unique constraint to prevent a race condition that could result in the same module being added more than once under heavy load
* Don't show nested folders in OBS plugin
* Polish UI of OBS plugin
* Reuse Mojo::UserAgent in OBS plugin
* Don't parse XML with regex in OBS plugin
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Sep 18 11:58:58 UTC 2019 - coolo@suse.com Wed Sep 18 11:58:58 UTC 2019 - coolo@suse.com

View File

@ -1,5 +1,5 @@
name: openQA name: openQA
version: 4.6.1568795030.c377d780b version: 4.6.1570902364.4f271c312
mtime: 1568795030 mtime: 1570902364
commit: c377d780b5414476e252b799775e081ba75f1f25 commit: 4f271c3123fa98bed13f3b987b3d19d3983f37b0

View File

@ -49,7 +49,7 @@
%define common_requires perl(Config::IniFiles) perl(Cpanel::JSON::XS) perl(Cwd) perl(Data::Dump) perl(Data::Dumper) perl(Digest::MD5) perl(Getopt::Long) perl(Minion) => 9.09, perl(Mojolicious) >= 7.92, perl(Try::Tiny) perl(Regexp::Common), perl(Storable) %define common_requires perl(Config::IniFiles) perl(Cpanel::JSON::XS) perl(Cwd) perl(Data::Dump) perl(Data::Dumper) perl(Digest::MD5) perl(Getopt::Long) perl(Minion) => 9.09, perl(Mojolicious) >= 7.92, perl(Try::Tiny) perl(Regexp::Common), perl(Storable)
# runtime requirements for the main package that are not required by other sub-packages # runtime requirements for the main package that are not required by other sub-packages
%define main_requires %assetpack_requires git-core perl(Carp::Always) perl(Date::Format) perl(DateTime::Format::Pg) perl(DBD::Pg) >= 3.7.4, perl(DBI) >= 1.632, perl(DBIx::Class) => 0.082801, perl(DBIx::Class::DeploymentHandler) perl(DBIx::Class::DynamicDefault) perl(DBIx::Class::Schema::Config) perl(DBIx::Class::Storage::Statistics) perl(DBIx::Class::OptimisticLocking) perl(File::Copy::Recursive) perl(Net::OpenID::Consumer) perl(Module::Pluggable) perl(aliased) perl(Config::Tiny) perl(Text::Diff) perl(CommonMark) perl(JSON::Validator) perl(IPC::Run) perl(Archive::Extract) perl(Time::ParseDate) perl(Sort::Versions) perl(BSD::Resource) perl(Pod::POM) perl(Mojo::Pg) perl(Mojo::RabbitMQ::Client) => 0.2, perl(SQL::Translator) perl(YAML::XS) perl(LWP::UserAgent) %define main_requires %assetpack_requires git-core perl(Carp::Always) perl(Date::Format) perl(DateTime::Format::Pg) perl(DBD::Pg) >= 3.7.4, perl(DBI) >= 1.632, perl(DBIx::Class) => 0.082801, perl(DBIx::Class::DeploymentHandler) perl(DBIx::Class::DynamicDefault) perl(DBIx::Class::Schema::Config) perl(DBIx::Class::Storage::Statistics) perl(DBIx::Class::OptimisticLocking) perl(File::Copy::Recursive) perl(Net::OpenID::Consumer) perl(Module::Pluggable) perl(aliased) perl(Config::Tiny) perl(Text::Diff) perl(CommonMark) perl(JSON::Validator) perl(IPC::Run) perl(Archive::Extract) perl(Time::ParseDate) perl(Sort::Versions) perl(BSD::Resource) perl(Pod::POM) perl(Mojo::Pg) perl(Mojo::RabbitMQ::Client) => 0.2, perl(SQL::Translator) perl(YAML::XS) perl(LWP::UserAgent)
%define client_requires git-core perl(IO::Socket::SSL) >= 2.009, perl(LWP::UserAgent) %define client_requires git-core perl(IO::Socket::SSL) >= 2.009, perl(LWP::UserAgent) perl(IPC::Run)
%define worker_requires os-autoinst < 5, perl(Mojo::IOLoop::ReadWriteProcess) > 0.19, perl(Minion::Backend::SQLite) perl(Mojo::SQLite) openQA-client optipng %define worker_requires os-autoinst < 5, perl(Mojo::IOLoop::ReadWriteProcess) > 0.19, perl(Minion::Backend::SQLite) perl(Mojo::SQLite) openQA-client optipng
%define build_requires rubygem(sass) %assetpack_requires %define build_requires rubygem(sass) %assetpack_requires
@ -60,7 +60,7 @@
%define devel_requires %build_requires %test_requires rsync curl postgresql-devel qemu qemu-kvm tar postgresql-server xorg-x11-fonts sudo perl(Devel::Cover) perl(Devel::Cover::Report::Codecov) perl(Perl::Tidy) %define devel_requires %build_requires %test_requires rsync curl postgresql-devel qemu qemu-kvm tar postgresql-server xorg-x11-fonts sudo perl(Devel::Cover) perl(Devel::Cover::Report::Codecov) perl(Perl::Tidy)
Name: openQA Name: openQA
Version: 4.6.1568795030.c377d780b Version: 4.6.1570902364.4f271c312
Release: 0 Release: 0
Summary: The openQA web-frontend, scheduler and tools Summary: The openQA web-frontend, scheduler and tools
License: GPL-2.0-or-later License: GPL-2.0-or-later