* [Bug 111630] Generate a list of tags for the machine that runs the testsuite
@ 2019-09-10 10:28 bugzilla-daemon
2019-09-10 10:52 ` bugzilla-daemon
2019-11-12 7:41 ` bugzilla-daemon
0 siblings, 2 replies; 3+ messages in thread
From: bugzilla-daemon @ 2019-09-10 10:28 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1237 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=111630
Bug ID: 111630
Summary: Generate a list of tags for the machine that runs the
testsuite
Product: DRI
Version: XOrg git
Hardware: Other
OS: All
Status: NEW
Severity: not set
Priority: not set
Component: IGT
Assignee: dri-devel@lists.freedesktop.org
Reporter: martin.peres@free.fr
Bug filing is done based on machine tags. They can be indicating a platform
(TGL, SKL, ...), or a configuration (HDMI, PSR, CHAMELIUM, ...).
This tagging is currently done manually, but it often is not in sync with the
current platform state, which makes bug filing difficult and leads to random
noise in CI until the proper tag is set.
Since we would like individual developers and CI machines to have a consistent
way of creating these tags (so as individual developers can filter out the
known issues from their run locally), having an IGT test/utility to generate
these tags would be ideal.
I'll let Arek explain how it could be done :)
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2527 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 3+ messages in thread* [Bug 111630] Generate a list of tags for the machine that runs the testsuite
2019-09-10 10:28 [Bug 111630] Generate a list of tags for the machine that runs the testsuite bugzilla-daemon
@ 2019-09-10 10:52 ` bugzilla-daemon
2019-11-12 7:41 ` bugzilla-daemon
1 sibling, 0 replies; 3+ messages in thread
From: bugzilla-daemon @ 2019-09-10 10:52 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 2165 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=111630
Arek Hiler <arkadiusz.hiler@intel.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |petri.latvala@intel.com
--- Comment #1 from Arek Hiler <arkadiusz.hiler@intel.com> ---
Martin first suggested to have something like
igt_require_feature(TWO_DISPLAYS), with a set of different defines/function
pointers, or whatever - so we have a single way of checking for a number of
connected displays and it's simple to tie it with a cibuglog tag.
I find that hard both hard to use (using names instead of numbers, changing
almost all of test to use this new framework) and implement (centralizing a lot
of knowledge, how to do the display checks without passing igt_display, fd,
etc). But it would be easy to assure consistency in the skip messages.
What I would to propose instead is a special igt test that would do the
discovery:
/* has to be before KMS/DISPALY checks to enable all outputs */
igt_subtest("CHAMELIUM") {
chamelium = chamelium_init(fd);
igt_require(chamelium);
/* deinit && plug all */
}
igt_subtest_group {
volatile igt_display display;
igt_fixture {
igt_require_display(&display, fd);
}
igt_subtest("DISPLAY")
{ /* intentionaly left blank */ }
igt_subtest("TWO_OUTPUTS") {
igt_require_n_outputs(&display, 2);
}
igt_feature("THREE_OUTPUTS") {
igt_require_n_outputs(&display, 3);
}
}
Then you can run it like that: `igt_runner -m -t feature_detection ...` which
would get you a nice parsable, piglit-style json as well as sample skip
messages.
It will still need a lot of test changes to assure consistency, but arguably
fewer than the igt_require_feature(XYZ). Since it's also a piglit-format json
we can ingest it easily and check for flip-floppers on those tags :-)
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 3604 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 3+ messages in thread* [Bug 111630] Generate a list of tags for the machine that runs the testsuite
2019-09-10 10:28 [Bug 111630] Generate a list of tags for the machine that runs the testsuite bugzilla-daemon
2019-09-10 10:52 ` bugzilla-daemon
@ 2019-11-12 7:41 ` bugzilla-daemon
1 sibling, 0 replies; 3+ messages in thread
From: bugzilla-daemon @ 2019-11-12 7:41 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 815 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=111630
Martin Peres <martin.peres@free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |MOVED
Status|NEW |RESOLVED
--- Comment #2 from Martin Peres <martin.peres@free.fr> ---
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.
You can subscribe and participate further through the new bug through this link
to our GitLab instance:
https://gitlab.freedesktop.org/drm/igt-gpu-tools/issues/29.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2432 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-11-12 7:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-10 10:28 [Bug 111630] Generate a list of tags for the machine that runs the testsuite bugzilla-daemon
2019-09-10 10:52 ` bugzilla-daemon
2019-11-12 7:41 ` bugzilla-daemon
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.