Project

General

Profile

Actions

coordination #65271

open

[epic] Various feature requests

Added by okurz over 4 years ago. Updated 11 days ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Feature requests
Target version:
QA (public, currently private due to #173521) - future
Start date:
2020-04-03
Due date:
% Done:

0%

Estimated time:

Description

List of ideas

  • Offer a way for jobs to dynamically schedule children #12876
  • Offer publishing a snapshotted qcow from developer mode: "Lea has trouble reproducing a bug reported from openQA and Tim would like to help by providing a snapshot of a VM reproducing the bug. For this Tim goes into developer mode, pauses at the module, triggers the bug even by stepping through the test or by doing it through VNC to then publish a snapshotted VM on openqa." #41045
  • Save and publish snapshots of failing modules before rollback (on demand), see #104805, also see #90347
  • In order to aid debugging when watching the video recording of a test it would be nice to display other information at the same time such as, line of test executed, key presses and mouse movements sent to the SuT, serial output from the SuT, misc measurements depending on backend such as cpu load, power consumption etc. For that to work the information could probably be embedded into the video using streams and then displayed in the browser by using some javascript #34345
  • Supply data folder to qemu VMs using https://qemu.weilnetz.de/doc/qemu-doc.html#disk_005fimages_005ffat_005fimages instead of extracting a data folder for all tests
  • Document data structures of files written by os-autoinst, As part of our retrospective we covered how the failures discovered in #57419 were handled, and the data structures should be better documented #64117
  • Validate input in WebUI (testsuite names etc.). Currently it is even possible to add a testsuite ' '. The rules should match those of the jobtemplate editor #62861
  • worker complains about "empty" workers.ini with error but works just fine regardless with default worker class #59294#note-2
  • proposal: link to staging dashboards and maintenance incidents with links in settings page. With #15384 resolved we can followup with the original idea to link to staging dashboards or maintenance incidents. What about putting something like STAGING_DASHBOARD=https://build.suse.de/project/staging_projects/SUSE:SLE-%VERSION%:GA/D on https://openqa.suse.de/admin/products for "Server-DVD-D-Staging" and accordingly for other projects? We could do it with ObsRsync as well I guess. #58025
  • make sure os-autoinst multi-machine docs are referenced (and not duplicated) in open.qa/docs . http://open.qa/docs/#_multi_machine_tests_setup has some information. https://github.com/os-autoinst/os-autoinst/blob/master/doc/networking.md has more but seems to be not referenced on the former. Also https://github.com/os-autoinst/os-autoinst/blob/master/doc/openvswitch-init-example is nice but also does not seem to be referenced anywhere #54782
  • Allow running tests of openQA itself in parallel. There is already the file testrules.yml in the openQA repository which lists tests which are supposed to be able to run in parallel. It would be nice if there was a Makefile target which allows to run tests in parallel according to that list. Note that the -j flag has no effect on the current test target. #53954
  • Add a description to every OpenQA module. In https://github.com/os-autoinst/openQA/pull/1922 i've proposed that we add at least some very basic documentation to every Perl module in the openQA repo (Synopsis and Description). And i think we've reached agreement that this is a reasonable first step towards making it easier for new programmers to get started with working on the openQA code. #45293
  • [tools][s390x] Extend 'expect_3270' functionality to provide similiar Info output as 'wait_serial' does. In consoles/s3270.pm is the 'wait_serial' implementation for s390-zVM which works quite well, but compared to wait_serial it's not providing well visualized output like here: https://openqa.suse.de/tests/1157233#step/reconnect_s390/2 #25188
  • Improve documentation and usage examples of AMQP plugin. Since #15086 we have a AMQP plugin and we already use it for internal IRC notifications. Our documentation does not mention this anywhere and also there are no examples available or referenced in the openQA repo itself. AC1: The use of the AMQP plugin should be covered by at least one of documentation, example, reference implementation #27841
  • Hyper-V relies on NFS to get images. On Hyper-V images are copied from ad hoc mounted NFS server to local cache on disk D. See bootloader_hyperv. #32299
  • Add automated check for isotovideo::INTERFACE . To avoid situations where changes to the testapi or locking api don't bump the interface version, a check should be added. As a very rudimentary idea could be looking for changes in those two modules (looking for the subs, check if there is one more in comparison to the previous version? and then simply fail the test if there's no change to the interface version either. #36250
  • Display the command to spawn a VM for virtualization backends. Certain backends use a command to spawn a VM that a test developer or a third party would be interested in using to spawn/respawn the VM, regardless of the backend (Qemu for now would be the main target). Having the webUI to display the command used to spawn the vm would be helpful. #36601
  • [backend] Make HDD and PUBLISH_HDD variables platform-independent (qcow suffix). HDD & PUBLISH_HDD_1 variables in test suite definition are usually set like this: HDD_1=sle-12-SP3-Server-DVD-%ARCH%-allpatterns.qcow2 That is, they expect the image to go with qcow2 suffix. That is incompatible with platforms which export other formats (like VHDX for Hyper-V). In some cases this can be workarounded in runtime like s/qcow2/vhdx/ in bootloader_hyper.pm, but still the original HDD file with .qcow2 has to exist, otherwise job will be canceled by openQA. The other workaround is to "deep copy" the test suite to ${testsuite}_hyperv (e.g. om_proxyscc_sles12sp3_allpatterns_full_update_by_yast_hyperv on OSD) and go with this one for Hyper-V. #39209
  • Add verification of keyboard events sent through vnc. To improve the missing keys behavior, the following patch has been added to qemu (Basically it works only in debug mode): https://bugzilla.suse.com/show_bug.cgi?id=1031692 , http://lists.nongnu.org/archive/html/qemu-devel/2017-03/msg06018.html #18620
  • implement favorite job groups. openqa meanwhile has lots of job groups. it would be nice if I could select the ones I am interested in and the order I want them to be displayed on the main page. That would only work for logged in users of course. #12042
  • add linuxvnc based console. linuxvnc allows to export tty device over vnc. With this openQA can handle backends without actual graphic cards present, such as IPMI machines and exotic architectures, see https://github.com/LibVNC/vncterm #11566
  • Use Virgil to test 3d accelerated graphics in openQA. https://virgil3d.github.io/ and https://blog.martin-graesslin.com/blog/2019/11/setting-up-a-virtual-machine-with-virgil-support/ #10680
  • Restrict workers to have full API access by random, individual tokens. workers currently use user tokens and therefore have access to the full API. Workers should have differnt privileges that only allows them to grab jobs, set jobs to finish etc. That makes sure test code run by a worker cannot accidentally nor intentionally mess with the API. #6096
  • Suppress the prompt sign in the "expected output" of serial consoles (or virtio-console). For reviewers of serial console (virtio) based tests the current ">_" thumbnails appear for all the executed command, the output as well as the prompt sign which is not really adding valuable information and should be supressed. #45143
  • Improve code for updating test modules on job details page while running. The way thumbnail reloads are triggered needs clarification. The update algorithm might also miss test modules completely (e.g. the isosize module is often not updated correctly).
  • openQA became very good at restarting all tests correctly when a worker machine goes down. How about we try to suspend tests and VMs on the workers when shutting down and try to resume after reboot? If resume fails then just start over, i.e. in the currently save way of "abandoning" the job which should be retriggered automatically. Similar to what jenkins does on shutdown to not accept new jobs but still finish old ones.
  • custom install mentions web proxy script but does not pull in apache2 as dependency or does not report with a helpful message
  • nightly CI job that upgrades dependencies additionally from CPAN and runs openQA tests #65975
  • Ensure jobs are regarded as passed if all modules passed but time is exceeded #65657
  • Sometimes tests are unstable and fail and it is not easy to fix or test maintainers just do not know how to do that. Add a RETRY option for individual test modules as well as complete scenarios (only retry if certain modules failed)
  • Save space in openqa by keeping dot of job results in database for longer but delete everything on filesystem (maybe even move database content to slow different database); quota for results and logs to show that important builds take up more space #66922#note-1
  • Add support for SSH from Host to SUT VM, e.g. using qemu parameters like -net user,hostfwd=tcp::7777-:8001 and also start an ssh server within SUT and unblock in firewall #31417
  • Calculate/check checksum of generated/used assets, especially fixed assets, at least show in vars.json so that "investigation" shows any difference #67288
  • Generic bugref in comments. Find a generic way to define bugrefs without having the individual issue tracker URL specified within the openQA source code, e.g. with bug:<url> #38432
  • Include failed tests with closed issues assigned in another level of the "TODO test overview" as these tests are relevant for reviewers. Also please keep in mind that in many cases a label linking a "closed" issue is actually still valid, e.g. a "RESOLVED FIXED" bug but the bugfix has not reached the product. #48998
  • filter and group by product issue / test issue, e.g. in build overview bar to distinguish "failed due to product issue" from "failed due to test issue"
  • Add support to add manual users that are not managed over external identify provider, e.g. dedicated "users" for workers over API, optionally API #6558
  • openqa-scheduler should not stay "running" but inoperative on Mojo::Reactor::Poll: Timer failed: Can't open database lock file /var/lib/openqa/db/db.lock! at /usr/share/openqa/script/../lib/OpenQA/Schema.pm line 87. -> #69523
  • Improve displaying serial results (further ideas mentioned in #70648)
    • If the test (soft)failed, collapse green test modules (except for a linked #anchor), those aren't the main point of interest anyway
    • Treat successive terminal output/input more like an actual terminal and use an inline line break instead of separate boxes
    • If the output matched, only show the output (with leading and trailing newlines removed) and not the "# wait_serial expected..." and "result:" lines
    • If the space is too narrow for the "Report bug" buttons, hide them until the relevant step is clicked or hovered
    • Allow expanding all serial results (within a test module) at once
    • I'd keep the boxes as quick links into the single long terminal view. When you click the box, it'll open the terminal view and jump to the location of the corresponding output.
    • I'd much prefer to get rid of the # wait_serial expected: blahblahblah as much as possible. (See #70648#note-7 for details.)
  • Improve asset upload performance from worker to webui, so optimizations like the local upload feature are not necessary anymore
    • Currently the chunk size is one 1 MB (not MiB) which can be configured via the global worker setting UPLOAD_CHUNK_SIZE. Maybe we should increase the chunk size to reduce overhead as 1 MB seems needlessly small.
  • Improve artifact upload performance
    • Allow the worker to upload multiple artifacts in one go to improve the performance when uploading many small text results. Also images can just be a few KiB so supposedly this makes even sense for uploading images.
      • This would at least reduce the request processing, routing, validation and a little bit database overhead overhead. Multiple calls to account_result_size could be combined into one.
  • (Semi-)automatic cleanup of old needles: In very active needle repos outdated needles should be deleted from time to time when they are not matched or used for long. We have a UI for that but we could improve with automation. Also see https://chat.suse.de/channel/testing?msg=rYLtgxCr4a7GeKTsh and following messages
  • Generate I/O salt monitoring and alert panels dynamically, see #70834
  • Cache service
    • Restarting the worker cache while an openqa worker instance waits for assets the worker instance will be stuck until restarted. The worker should not be stuck, e.g. abort with timeout or be informed about the cache service to terminate
    • Prevent purging of assets before the worker has the chance to hardlink the asset. (See #71827 and #71827#note-22 in particular.)
    • Avoid workers showing up as broken due to Worker cache not available … shortly after booting (see #154927#note-8 for how this could be achieved and the overall ticket #154927 for further context).
  • As discussed in SUSE QE Tools weekly 2020-11-20 we encountered the problem that some team member were never subscribed to certain projects, mailing lists, etc. . We should look for a single source of truth for team roster and then at best automatically derive everything else from that.
  • Add configuration option to give "operator" or "admin" permissions to user by default, e.g. for trusted instances or public instances that are meant to be used for personal use cases
  • Improve logs analysis experience:
    • Colorize the logs of the "Logs & Assets".
    • Add filter option to show only the lines that match one criteria ( e.g. criticality)
    • Add a time range selector to show only the lines between
    • Add a filter to search text by field (component, message, ...)
    • NOTE: Take in consideration lnav
    • suggestion from ybonatakis: Kafka+Elk
  • Monitoring check based on a passive performance measurement regarding throughput on network interfaces (#78127) e.g. grafana alerts
  • Try to post auto-review comments as "auto-review", not "geekotest" with corresponding user account keys, etc. , e.g. check what user "geekotest" is doing, either just use new api-key and secret or sudo? (#77899)
  • Show results from openQA investigation jobs directly on /tests/overview (based on discussion between okurz and dimstar in https://matrix.to/#/!ZzdoIxkFyLxnxddLqM:matrix.org/$1612021254698548YsMQD:matrix.org?via=matrix.org ("my usual worlflow in the morning is the todo view, looking at the build fails/modules. maybe if the investihation job info would be visible there directly instead of being behind a few clicks note that i do this initial task usually on the phone screen before moving to the office. i would rather think of 'status result symbols'. interesting would be if the rerun failed the same way or different or success in case of same fail, i could likely skip the manual rerun, different or success would still make my rerun interesting"
  • Warn if sum of configured quotas on https://openqa.opensuse.org/admin/assets (excluding "Untracked") exceeds available space on filesystem
  • Execute tests in containers instead of VMs
  • Provide proof of readiness with our container definitions
  • Provide API to setup, spawn and inspect containers (currently has to be done via CLI)
  • Similar as for job details reflect tests overview summary within favicon, e.g. same color as the summary box, red if any failed, and so on
  • Provide links to JSON representations of pages directly on the page. Similar to what redmine does in the footer of pages: "Also available in: Atom/PDF/JSON/XML"
  • Consider using https://prettier.io/ for files like .json, .css, .yaml, .html
  • openqa scheduling with clone job or jobs post uses _GROUP=0 to schedule a job outside any group, with isos post the parameter is used to limit the matching to a group
  • in https://progress.opensuse.org/issues/67006 the problem was that there are too many needles so that the check takes very long. We could add an option to check_or_assert_screen to make that fatal for time-critical checks, e.g. grub2 with timeout
  • email notifications for done jobs -> specify list of notification recipients in tests and send notification
  • run kubernetes on internal cloud and runners on there, especially non-qemu ones, to free workers to run qemu and move to o3
  • feedback from SUSE QE Tools workshop 2021-03-19: asmorodskyi: limitation in multi-machine tests: TAP devices need to be handled outside the tests and be in line with tests. So the setup is difficult and error prone. Would be nice to have API calls to create/manage TAP devices or automatically create TAP devices based on test variables that specify the requirements
  • Create openQA and/or os-autoinst tutorial using https://cloud.google.com/shell/docs/cloud-shell-tutorials/tutorials
  • Similar to __ONLY_OBSOLETE_SAME_BUILD we could have __ONLY_OBSOLETE_OTHER_BUILDS, see #90131
  • fix build cycle in https://github.com/os-autoinst/openQA/blob/master/dist/rpm/openQA.spec openQA requiring %test_requires requires %worker_requires requires openQA-client which is built by openQA (see https://matrix.to/#/!ZzdoIxkFyLxnxddLqM:matrix.org/$1617012235540396JPrIK:matrix.org?via=matrix.org&via=opensuse.org )
  • API call that allows to search for test suites by one or more settings? and possibly to filter either with perl expressions/operators or something that allows such behavior see #38807
  • URLs on /admin/productlog should be clickable as well, e.g. https://openqa.suse.de/admin/productlog?id=695518 shows a URL. On other pages the URLs are already parsed to be clickable
  • Skip investigation (within the openqa-investigate script) when the developer mode has been opened (as the failure is likely a unique result of messing with the test manually)
  • show number of skipped test modules per job in /tests/overview as well, see https://chat.suse.de/channel/testing?msg=zxABmL5wiSFuDpM3H
  • By default the needle editor is making it too easy for users to "just create a new needle" when in many cases more elaborate choices are a better alternative. For example a slight font rendering difference is solved by most(?) needle creators by creating an additional needle with default match level instead of replacing existing needles with a slightly lower match level to cover the slight rendering differences. Motivated by discussion in https://chat.suse.de/channel/testing?msg=jYW7YwKn32c8WA9v6
  • Would be nice to complete the job started with #91527 to get a complete human-readable and parser-readable autoinst-log where all the new lines starts with the same "[date] [level] ..." format or with two spaces for multi-line entries. See the detected cases at https://progress.opensuse.org/issues/91527#note-9
  • Unassign jobs back to the openQA scheduler if the specific backend reports that test requirements can not be met, e.g. if not enough memory is available, see https://progress.opensuse.org/issues/93112#note-1
  • isos post request processing should be more strict and decline requests when not all dependencies are met ( e.g. missing START_AFTER_TEST job )
  • Offer an API route to update job settings, e.g. to patch "WORKER_CLASS" if a worker class is replaced by another machine
  • In the openQA needle editor make the possibility and suitability of lower-than-default match ratio visible. Also, the ratio is for each area in the needle, the UI doesn't highlight if a needle is created with lower or upper match ratio. So consider highlighting that a needle is created with different match ratio than default? #94231
  • When trying to update existing openQA medium types which are used in job templates an error message is shown Bad Request: Group Test must be updated through the YAML template. Instead the error message should explain that better that if you want to change anything but settings and that medium is referenced in job templates then you would invalidate job templates which needs to have that product string exactly matching the parameters. You would need to at least temporarily prevent the product to be used anywhere. Likely the easiest way is to define a new medium, then update job templates to use the new product, then delete the old medium
  • In multi-machine test scenarios when barrier_wait is called before barrier_init the according jobs fail. This can happen e.g. if the job intended to call barrier_init is slower to startup due to asset syncing, setup, etc. . Instead of failing jobs could wait in barrier_wait until the according barrier is initialized (suggested by acarvajal+okurz in SUSE QE Tools workshop 2021-07-16)
  • Job details already point to what triggered the jobs with a link to auditlog, e.g. Scheduled product: [opensuse-Tumbleweed-DVD-x86_64-20210714](https://openqa.opensuse.org/admin/productlog?id=220381). For retriggered jobs it says Scheduled product: job has not been created by posting an ISO (but possibly the [original job](link)). Would be nice for investigation what account triggered a job (suggested by acarvajal+foursixnine+okurz in SUSE QE Tools workshop 2021-07-16)
  • clone_job logic needs to verify HDD_* / ISO_* to cover case when asset was deleted by garbage collection. Important point that verification should check not actual test assets vs. variables in settings , but actual assets on target openQA server vs. variable settings . Which allow cloning of the job anyway after manually downloading missing asset
  • configuration applicable to all jobs for one openQA instance -> #95299#note-17
  • optimize or limit grep expressions in os-autoinst/scripts to prevent overload when long log files are grepped, e.g. only allow a subset of regex groups, limit the size that we read from logfiles, etc. -> #96713
  • The list of scheduled products can grow quite large. On OSD we still have products from 6 years ago and the huge table has very long loading times. It would make sense to have a cleanup for this table, similar to how we cleanup audit events.
  • Jobs can take very long uploading and downloading assets if there are many concurrent job using assets, e.g. https://openqa.suse.de/tests/7126196 ran from 13:40 to 14:14 (28%), uploading from 14:14 to 15:43 (72%) . Here the limitation of openQA and test designs based on relatively big qcow files (4.7 GB) shows: Tests can run in parallel on many workers, the assets all need to be uploaded to the central storage and downloaded again from there which does not scale that well. mdoucha suggests the following three features:
    • automatically put uploaded assets into local cache service
    • make scheduler aware of worker cache contents and prioritize jobs which will use existing cached assets
    • allow worker slots to start a new job while the previous one is still uploading results
  • https://gitlab.suse.de/qa-maintenance/bot-ng/-/blob/c0a66f2f190b2ac4a2d5c7097a0a1656a9873b61/openqabot/approver.py#L100 should provide more details in the message about based on what results the approval was done (https://suse.slack.com/archives/C02CANHLANP/p1631783883288200 and following messages. Specific suggestion by coolo: "I would welcome if the dashboard-openqa review comment was a little more detailed. Not a comment that triggers a mail notification, but just like the human reviewers leave a log file with details. "approved" is a bit hard to challenge a week after")
  • Feedback from SUSE QE Tools workshop 2021-09-17:
  • Originally okurz thought that in https://github.com/os-autoinst/openQA/pull/1135 we would show up "$version-$build" on job group overview pages when multiple builds for different versions show up or even different versions with the same value for build. We should show up the version if the current dataset is ambiguous in this regard.
  • Ensure that assets are correctly generated/uploaded/downloaded with checksums to prevent problems of "wrong format", see #98727
  • try to rephrase "Blocking SIGCHLD and SIGTERM" debug messages to make them less scary. Also they are repeated twice
  • on job group overview in popup record times of how many jobs have been restarted if any, also if some jobs have forced results
  • Use syncthing (or another synchronisation solution or distributed filesystem) to sync tests and shared assets to workers to not overload a central instance so much?
  • Combine builds for multiple versions depending on configuration. Idea from jlausuch in #53264#note-13: it would be nice that same build numbers are grouped together instead of having different entries for the same build as you can see in the image https://progress.opensuse.org/attachments/12412/wicked_view.png
  • Feedback from SUSE QE Tools workshop 2022-01-28:
    • vpelcak proposed that force_result should not be applicable or bot-ng should still not approve if there are any skipped modules. idea from mdoucha show module results like from /tests on /tests/overview so that reviewers can see skipped modules. I wouldn't block on skipped modules but just stay on "blocked if jobs fail". Then the logic within the tests can still decide what effect skipped modules should have. What I took from the workshop is that we can try to make the presence of skipped modules more prominent. For example showing an icon like the "ban" icon we already use on /tests next to the failed modules but only if there are any failed modules
    • from fniederwanger there could be warnings that are shown on the level of test overview. okurz suggests to display as flash icon for test issues like in other cases. We could try to extend github references to git permalinks. maybe it already works like this
    • question from vpelcak and okurz: do reviewers look into the details of jobs which modules are skipped before approving the overall release?
  • custom github actions for triggering openQA jobs based on "@openqa" mention
  • to ease auto-approval in SUSE maintenance tests "openqa-fail-softener": search all failed tests that have bugref, update result to soft-failed if test issue or bug with low severity && !blocker
  • Add section to documentation how to better investigate failed jobs, e.g. including FORCE_PUBLISH_HDD, see #104805
  • From #103317#note-5 the idea was for jobs to show how many jobs are in the backlog, could be both in total and for the specific worker class settings. This would allow to better know what to expect, identify misconfigurations, worker class bottlenecks, etc. I envision a message like `scheduled (since about 2 hours, 1234 jobs in the queue for the same worker class). Also we could estimate how long it took for jobs in the same worker class in the past
  • Configurable and exponential backoff for the openQA retry feature (from SUSE QE Tools workshop 2022-02-11)
  • Allow openQA to be configured to always retry on "new" failures, e.g. previous job in same scenario did not fail, but suggest to only do that when good monitoring exists to find such cases aka. "Usage of Stochastic Methods in Error Analysing and Reporting to Save 30% of Emails"
  • Pages like https://openqa.suse.de/admin/machines are read-only to everyone. While this is good this prevents people putting secret credentials into openQA, e.g. see https://gitlab.suse.de/openqa/salt-pillars-openqa/-/merge_requests/386 . How about simply not showing any variables matching _SECRET_ or PASSWORD similar as we do in os-autoinst but in the openQA webUI as well as openQA settings page (alternative: just mask the value with *****)
  • Document and show in examples how openQA tests can be integrated into other CIs, e.g. see https://github.com/os-autoinst/openQA/pull/4517 with artifacts uploaded including videos of openQA test runs like https://circle-production-customer-artifacts.s3.amazonaws.com/picard/forks/58f7029dc9e77c000129905e/166030180/620fe84f027593008eb8a92f-0-build/artifacts/artifacts/full-stack.d/openqa/testresults/00000/00000007-tinycore-1-flavor-i386-Build1-core%40coolone/video.ogv?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20220221T084448Z&X-Amz-SignedHeaders=host&X-Amz-Expires=60&X-Amz-Credential=AKIAJR3Q6CR467H7Z55A%2F20220221%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=59300f61fa4f3b44a6e7c5f7a426173bc1bcaa72259c6902e358a90373eb25d4 (might vanish again soon though)
  • offer to clone from a "latest" URL
  • Additional to WORKER_CLASS allow to filter scheduling by CPU flags, CPU features or architecture versions (#107989)
  • Mark "important jobs" as such visible to webUI users, e.g. similar to how we do for archived jobs, fancy icon, etc. (#108004)
  • qem-bot: Allow to provide single metadata YAML files by command line parameter, maybe also HTTP route, in https://gitlab.suse.de/qa-maintenance/bot-ng to allow to reparse metadata YAML for a subset of tests (user story from fniederwanger+jlausuch in SUSE QE Tools meeting 2022-04-22)
  • Dry run of isos post so that one sees which jobs would be scheduled (or create actual jobs that are outside any job group and never picked up by workers)
  • It seems we always show a screenshot before failing regardless if the current console is actually a VNC console, e.g. in the case of serial consoles
  • Workshop feedback, have information how often test was restarted already in overview page, maybe with hover but touch-interface friendly, e.g. confirmation click dialog
  • Add a custom hint on every failed job what could be next steps to follow, e.g. to use https://github.com/os-autoinst/scripts/blob/master/README.md#auto-review---automatically-detect-known-issues-in-openqa-jobs-label-openqa-jobs-with-ticket-references-and-optionally-retrigger . Maybe could be done by a branding template to allow to customize?
  • Email based notifications
    • The list of failed modules would be great addition
    • The log excerpt (which the docs say should be there) is missing
  • Reference our team/products/Workshop on openSUSE wiki
  • Generic SQL query interface on the webUI interface, of course read-only, restricted to admin users, etc., similar as for what we already allow with the readonly SQL access from non-localhost, e.g. (readonly) SQL over REST, using https://postgrest.org/
  • Allow to clone always latest job in a scenario
  • Trigger multiple jobs as described in https://progress.opensuse.org/projects/openqatests/wiki/Wiki#Statistical-investigation with a single API call instead of a for loop and N requests for N jobs #122953
  • Include ideas from https://progress.opensuse.org/projects/openqatests/wiki/Wiki#Statistical-investigation into a convenient openQA API to trigger a set of jobs, e.g. investigation jobs
  • "Quality of Service"/Rate Limiting for requests to deliberately slow down requests when the system is too loaded. Like rate limits for certain slow endpoints. There are likely reverse-proxy modules, e.g. for apache, nginx, haproxy (#112859)
  • label/comments for SQL queries to be able to identify them (#112859)
  • Control every machine in a server room using openQA so as openQA worker or bare-metal machine for "asset tracking", ensuring efficient ressource use and also as kind of "reservation system", potentially replacing orthos and such
  • do something like https://nextjs.org/blog/next-12-2#on-demand-incremental-static-regeneration-stable to update openQA pages, e.g. /tests/overview when tests finish
  • If test cases have a .git, show fork button or point to github
  • Make the web UI / scheduler keep track of how well a worker behaves with a scoring system to avoid assigning a job to stuck worker slots again and again (see #115106#note-9 for motivation).
  • Avoid sending images from the backend to the test process when adding a screenshot result. This would reduce communication overhead (encoding image data as ppm, passing it though json and base64 encoder/decoder, creating a new image instance from ppm data). I suppose the backend would still be responsive enough if it would simply write the image to disk itself (including the scaling which is necessary to make the thumbnail).
  • An idea from phoenix from workshop 2022-11-25. If isos post fails to schedule some tests then rather not schedule any at all
  • Related to the above idea by phoenix: Run checks, e.g. check expected number of tests, raise it as virtual test results
  • Add locks (for resources) on scheduler-level
    • Worker slots would specify the names of resources they need exclusive access to via a variable (like the WORKER_CLASS is specified). The scheduler would consider the worker slot only free if no other slots using the specified resources are using them.
    • This would be helpful for e.g. the s390x worker slots. Those slots can currently not be provided redundantly by multiple worker hosts because the backing host would then tried to be accessed concurrently by multiple worker slots. The locking could be used to resolve this.
  • Regarding #124146
    • If the potentially recursive asset check finds out that even the parent(s) does not have any necessary root assets anymore, e.g. the original Tumbleweed DVD ISO file, then report that explicitly to the user in the output of openqa-investigate that ends up in openQA comments
    • If the asset check finds out that an asset is missing but a parent should be able to create it then openqa-clone-job on request or automatically trying to be "smart" should include the asset generation parent in the clone call
    • openqa-clone-job should be smart enough to handle private assets for the option "--within-instance" as we should trust that the private asset actually exists there.
  • Idea during SUSE QE Tools workshop by iob/ibonatakis: Show the investigation tab also for passed, "last good" is just previous one to compare to. Or maybe generalize to a "compare" functionality where one can select two jobs to compare in the "next & previous" job and then show a compare tab
  • Idea during SUSE QE Tools workshop by phoenix/fniederwanger: Allow to specify wait interval in RETRY_INTERVAL (next to RETRY) or more fancy configuration like exponential backoff, e.g. RETRY_INTERVAL=<sleep_in_seconds>[:<factor>] with sleep_in_seconds being the sleep time in seconds between each retry and factor being a exponential back-off factor multiplying the sleep time bringing the complete wait time between two consecutive retries to "sleep time of former retry" times "factor"
  • needle Editor: Add a configurable regex that checks the format of the needlename and rejects if necessary; e.g. in needles-opensuse we want a timestamp separated by [-_]
  • worker status: Add information about "hold back" workers in the webUI, there is already a log line. See #135644 for details
  • Use telegraf to scrape the grafana alerting api and make use of the metrics to conditionally fire alerts only, if another alert is not already firing (example: only fire "package loss"-alert if no "host up"-alert for the same machine is already firing)
  • Labeling a job with chained dependencies, should also label its dependencies (See https://suse.slack.com/archives/C02D16TCP99/p1695208595869959?thread_ts=1695133435.282229&cid=C02D16TCP99)
  • As an openQA reviewer, I would like to know whether a setting was modified during runtime or is the original one so that I can understand decisions made by the openQA and or backend (diff vars.json and test settings)
  • As an openQA reviewer I would like to be able to retrigger jobs and modify job settings directly from the webUI when in developer mode so that I can debug better.
  • Consider moving the "check state of packages" CI check as part of https://gitlab.suse.de/openqa/osd-deployment out as livdywan and nicksinger see it as the wrong place
  • Set the cost of (R)STP path cose see here between multi machine nodes according to the XOR between one multi machine worker and its peer so that a jump across different networks/locations increase the cost of path enough to make them unlikely if not really needed
  • okurz: From SUSE QE Tools workshop 2024-09-20: Offer a simple way for openQA test developer beginners to develop application tests by providing a logged in desktop session by default with something like "latest openSUSE Tumbleweed" as default but allowing to configure

Further details

Many ideas from the above list can be considered "entrance level issue" or "easy"


Related issues 1 (0 open1 closed)

Has duplicate openQA Project (public) - action #34345: use streams in ogg format to embed more information in the videoRejectedokurz2018-04-05

Actions
Actions #1

Updated by okurz over 4 years ago

  • Description updated (diff)
Actions #2

Updated by okurz over 4 years ago

  • Has duplicate action #34345: use streams in ogg format to embed more information in the video added
Actions #3

Updated by okurz over 4 years ago

  • Description updated (diff)
Actions #4

Updated by okurz over 4 years ago

  • Description updated (diff)
Actions #5

Updated by okurz over 4 years ago

  • Description updated (diff)
Actions #6

Updated by okurz over 4 years ago

  • Description updated (diff)
Actions #7

Updated by okurz over 4 years ago

  • Description updated (diff)
Actions #8

Updated by okurz over 4 years ago

  • Description updated (diff)
Actions #9

Updated by okurz over 4 years ago

  • Description updated (diff)
Actions #10

Updated by mkittler over 4 years ago

  • Description updated (diff)
Actions #11

Updated by okurz over 4 years ago

  • Description updated (diff)
Actions #12

Updated by okurz over 4 years ago

  • Description updated (diff)

Adding new idea to description: openQA became very good at restarting all tests correctly when a worker machine goes down. How about we try to suspend tests and VMs on the workers when shutting down and try to resume after reboot? If resume fails then just start over, i.e. in the currently save way of "abandoning" the job which should be retriggered automatically

Actions #13

Updated by okurz over 4 years ago

  • Description updated (diff)
Actions #14

Updated by okurz over 4 years ago

  • Description updated (diff)
Actions #15

Updated by okurz over 4 years ago

  • Description updated (diff)
Actions #16

Updated by okurz over 4 years ago

  • Description updated (diff)
Actions #17

Updated by okurz over 4 years ago

  • Description updated (diff)
Actions #18

Updated by okurz over 4 years ago

  • Description updated (diff)

Added details for #31417

Actions #19

Updated by okurz over 4 years ago

  • Description updated (diff)

Added idea from #67288#note-6

Actions #20

Updated by okurz over 4 years ago

  • Description updated (diff)
Actions #21

Updated by okurz over 4 years ago

  • Description updated (diff)
Actions #22

Updated by okurz over 4 years ago

  • Description updated (diff)

Add one idea based on discussion with mawerner: filter and group by product issue / test issue, e.g. in build overview bar to distinguish "failed due to product issue" from "failed due to test issue"

Actions #23

Updated by okurz over 4 years ago

  • Description updated (diff)

Added idea from #6558

Actions #24

Updated by okurz over 4 years ago

  • Description updated (diff)
Actions #25

Updated by mkittler about 4 years ago

  • Description updated (diff)
Actions #26

Updated by kraih about 4 years ago

  • Description updated (diff)
Actions #27

Updated by szarate about 4 years ago

  • Tracker changed from action to coordination
Actions #29

Updated by okurz about 4 years ago

  • Description updated (diff)

Add "(Semi-)automatic cleanup of old needles"

Actions #30

Updated by okurz about 4 years ago

  • Description updated (diff)

idea from #70834 included

Actions #31

Updated by mkittler about 4 years ago

  • Description updated (diff)
Actions #32

Updated by okurz about 4 years ago

  • Description updated (diff)

Add idea "As discussed in SUSE QE Tools weekly 2020-11-20 we encountered the problem that some team member were never subscribed to certain projects, mailing lists, etc. . We should look for a single source of truth for team roster and then at best automatically derive everything else from that."

Actions #33

Updated by nicksinger about 4 years ago

  • re-read workers.ini if you send a SIGHUP to openqa-worker service
    • use this to make complete automated salt-deployments of workers.ini
Actions #34

Updated by okurz about 4 years ago

nicksinger wrote:

  • re-read workers.ini if you send a SIGHUP to openqa-worker service
    • use this to make complete automated salt-deployments of workers.ini

I am thinking that could be easier by just re-reading workers.ini before any new job is picked up, see #80910

Actions #35

Updated by okurz almost 4 years ago

  • Description updated (diff)

Added new idea "Add configuration option to give "operator" or "admin" permissions to user by default, e.g. for trusted instances or public instances that are meant to be used for personal use cases"

Actions #36

Updated by ilausuch almost 4 years ago

  • Description updated (diff)
Actions #37

Updated by okurz almost 4 years ago

  • Description updated (diff)

Add idea from #78127

Actions #38

Updated by okurz almost 4 years ago

  • Description updated (diff)

Include idea from #77899

Actions #39

Updated by okurz almost 4 years ago

  • Description updated (diff)

Added result from chat between dimstar and me about investigation job details on tests overview page.

Actions #40

Updated by okurz almost 4 years ago

  • Description updated (diff)
Actions #41

Updated by livdywan almost 4 years ago

  • Description updated (diff)
Actions #42

Updated by livdywan almost 4 years ago

  • Description updated (diff)
Actions #43

Updated by okurz almost 4 years ago

  • Description updated (diff)
Actions #44

Updated by okurz almost 4 years ago

  • Description updated (diff)
Actions #45

Updated by okurz almost 4 years ago

  • Description updated (diff)
Actions #46

Updated by okurz over 3 years ago

  • Description updated (diff)

Add three more ideas from minutes in personal discussions:

  • openqa scheduling with clone job or jobs post uses _GROUP=0 to schedule a job outside any group, with isos post the parameter is used to limit the matching to a group
  • in https://progress.opensuse.org/issues/67006 the problem was that there are too many needles so that the check takes very long. We could add an option to check_or_assert_screen to make that fatal for time-critical checks, e.g. grub2 with timeout
  • email notifications for done jobs -> specify list of notification recipients in tests and send notification
Actions #47

Updated by okurz over 3 years ago

  • Description updated (diff)
Actions #48

Updated by okurz over 3 years ago

  • Description updated (diff)

https://openqa.opensuse.org/admin/assets/ shows a wrench icon next to "Untracked" linking to https://openqa.opensuse.org/admin/job_templates/0 which yields "Not Found" was solved in #88745

Actions #49

Updated by okurz over 3 years ago

  • Description updated (diff)
Actions #50

Updated by okurz over 3 years ago

  • Description updated (diff)

Add "Create openQA and/or os-autoinst tutorial using https://cloud.google.com/shell/docs/cloud-shell-tutorials/tutorials"

Actions #51

Updated by okurz over 3 years ago

  • Description updated (diff)
Actions #52

Updated by okurz over 3 years ago

  • Description updated (diff)
Actions #53

Updated by okurz over 3 years ago

  • Description updated (diff)
Actions #54

Updated by ilausuch over 3 years ago

About the section:
Improve logs analysis experience:
Colorize the logs of the "Logs & Assets".
Add filter option to show only the lines that match one criteria ( e.g. criticality)
Add a time range selector to show only the lines between
Add a filter to search text by field (component, message, ...)
NOTE: Take in consideration lnav

Check this Hackweek project

Actions #55

Updated by okurz over 3 years ago

  • Description updated (diff)

Add suggestions from SUSE QE Tools Workshop 2021-04-09

Actions #56

Updated by szarate over 3 years ago

  • Description updated (diff)
Actions #57

Updated by okurz over 3 years ago

  • Description updated (diff)
Actions #58

Updated by mkittler over 3 years ago

  • Description updated (diff)

Add skipping investigation when the developer mode has been opened

Actions #59

Updated by okurz over 3 years ago

  • Description updated (diff)
Actions #60

Updated by okurz over 3 years ago

  • Description updated (diff)
Actions #61

Updated by ilausuch over 3 years ago

  • Description updated (diff)
Actions #62

Updated by okurz over 3 years ago

  • Description updated (diff)
Actions #63

Updated by asmorodskyi over 3 years ago

  • Description updated (diff)
Actions #64

Updated by okurz over 3 years ago

  • Description updated (diff)
Actions #65

Updated by okurz over 3 years ago

  • Description updated (diff)

Added suggestion for "lower-than-default" match ratio, see #94231

Actions #66

Updated by okurz over 3 years ago

  • Description updated (diff)

Add request from oorlov to improve error message when trying to update medium types that are used in job templates (https://chat.suse.de/channel/testing?msg=LZ34LkoXxk2BgacWd)

Actions #67

Updated by okurz over 3 years ago

  • Description updated (diff)

Added two ideas that came up during SUSE QE Tools workshop 2021-07-16

Actions #68

Updated by asmorodskyi over 3 years ago

  • Description updated (diff)
Actions #69

Updated by okurz over 3 years ago

  • Description updated (diff)
Actions #70

Updated by okurz over 3 years ago

  • Description updated (diff)
Actions #71

Updated by mkittler about 3 years ago

  • Description updated (diff)
Actions #72

Updated by okurz about 3 years ago

  • Description updated (diff)

Adding ideas about more efficient use of assets

Actions #73

Updated by okurz about 3 years ago

  • Description updated (diff)
Actions #74

Updated by okurz about 3 years ago

  • Description updated (diff)
Actions #75

Updated by okurz about 3 years ago

  • Description updated (diff)
Actions #76

Updated by okurz about 3 years ago

  • Description updated (diff)
Actions #77

Updated by okurz about 3 years ago

  • Description updated (diff)

The point

  • Rework ambiguous term "Online" in /admin/workers , see https://chat.suse.de/channel/testing?msg=Dizwgosx8P3QbcPiS for an incident of confusion about the meaning of "Online". Currently "Online" means "Idle" as in reactive to requests but not currently working on jobs. Proposals: Rename "Online" to "Idle" and define a new "Not-Offline" and soon rename that to "Online". Or define a new aggregated state like "[Online, Working]" or "[Idle, Working]"

was solved in https://github.com/os-autoinst/openQA/pull/4208, removed from description.

Actions #78

Updated by okurz almost 3 years ago

  • Description updated (diff)
Actions #79

Updated by okurz almost 3 years ago

  • Description updated (diff)

moved idea from #105118

Actions #80

Updated by okurz almost 3 years ago

  • Description updated (diff)

Noting down ideas and questions from "auto-review with force-result" workshop 2022-01-28 and two more ideas I had in my personal todo list.

Actions #81

Updated by okurz almost 3 years ago

  • Description updated (diff)
Actions #82

Updated by okurz almost 3 years ago

  • Description updated (diff)

Add idea from #103317

Actions #83

Updated by okurz almost 3 years ago

  • Description updated (diff)
Actions #84

Updated by okurz almost 3 years ago

  • Description updated (diff)
Actions #85

Updated by okurz almost 3 years ago

  • Description updated (diff)
Actions #86

Updated by okurz almost 3 years ago

  • Description updated (diff)
Actions #87

Updated by okurz almost 3 years ago

  • Description updated (diff)
Actions #88

Updated by okurz almost 3 years ago

  • Description updated (diff)

Add idea how to integrate openQA tests into other CIs from https://github.com/os-autoinst/openQA/pull/4517

Actions #89

Updated by okurz almost 3 years ago

  • Description updated (diff)
Actions #90

Updated by okurz almost 3 years ago

  • Description updated (diff)

Add ideas from #107989

Actions #91

Updated by okurz over 2 years ago

  • Description updated (diff)

Added

Mark "important jobs" as such visible to webUI users, e.g. similar to how we do for archived jobs, fancy icon, etc. (#108004)

Actions #92

Updated by okurz over 2 years ago

  • Tags set to easy, entry level
  • Description updated (diff)
Actions #93

Updated by okurz over 2 years ago

  • Description updated (diff)
Actions #94

Updated by okurz over 2 years ago

  • Description updated (diff)

Adding ideas from SUSE QE Tools 2022-04-22

Actions #95

Updated by okurz over 2 years ago

  • Description updated (diff)
Actions #96

Updated by okurz over 2 years ago

  • Description updated (diff)
Actions #97

Updated by okurz over 2 years ago

  • Description updated (diff)
Actions #98

Updated by okurz over 2 years ago

  • Description updated (diff)
Actions #99

Updated by okurz over 2 years ago

  • Description updated (diff)
Actions #100

Updated by okurz over 2 years ago

  • Description updated (diff)
Actions #101

Updated by okurz over 2 years ago

  • Description updated (diff)

Add ideas from #112859

Actions #102

Updated by okurz over 2 years ago

  • Description updated (diff)
Actions #103

Updated by okurz over 2 years ago

  • Description updated (diff)
Actions #104

Updated by okurz over 2 years ago

  • Description updated (diff)
Actions #105

Updated by okurz over 2 years ago

  • Description updated (diff)
Actions #106

Updated by okurz over 2 years ago

  • Description updated (diff)
Actions #107

Updated by mkittler over 2 years ago

  • Description updated (diff)
Actions #108

Updated by mkittler over 2 years ago

  • Description updated (diff)
Actions #109

Updated by mkittler over 2 years ago

  • Description updated (diff)
Actions #110

Updated by okurz about 2 years ago

  • Description updated (diff)
Actions #111

Updated by okurz about 2 years ago

  • Description updated (diff)

Add notes from workshop 2022-11-25

Actions #112

Updated by mkittler almost 2 years ago

  • Description updated (diff)

Added idea for locks on scheduler-level

Actions #113

Updated by okurz almost 2 years ago

  • Description updated (diff)

Add notes from #124146 about future ideas.

Actions #114

Updated by okurz over 1 year ago

  • Description updated (diff)

Add two ideas from SUSE QE Tools workshop 2023-05-05 roadmap discussion

Actions #115

Updated by mkittler over 1 year ago

  • Description updated (diff)

When working on #129068 I noticed that the artifact upload is very slow so I'm adding this to the list.

Actions #116

Updated by tinita over 1 year ago

  • Description updated (diff)
Actions #117

Updated by okurz about 1 year ago

  • Description updated (diff)
Actions #118

Updated by nicksinger about 1 year ago

  • Description updated (diff)
Actions #119

Updated by szarate about 1 year ago

  • Description updated (diff)
Actions #120

Updated by szarate about 1 year ago

  • Description updated (diff)
Actions #121

Updated by szarate about 1 year ago

  • Description updated (diff)
Actions #122

Updated by okurz about 1 year ago

  • Description updated (diff)

added suggestions as part of #150824

Actions #123

Updated by mkittler 10 months ago

  • Description updated (diff)

Move all cache service related ideas under "Cache service".

Actions #124

Updated by mkittler 10 months ago

  • Description updated (diff)
Actions #125

Updated by dheidler 10 months ago

  • Description updated (diff)
Actions #126

Updated by okurz 3 months ago

  • Description updated (diff)
Actions #127

Updated by okurz 11 days ago

  • Description updated (diff)

Added idea about linking obs_rsync run from scheduled product page

Actions #128

Updated by okurz 11 days ago

  • Description updated (diff)

moved latest addition to separate ticket #166556 on request by szarate

Actions

Also available in: Atom PDF