Bug 58695 - I-G-T/prime_udl fail
Summary: I-G-T/prime_udl fail
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-24 01:28 UTC by shui yangwei
Modified: 2017-10-06 14:47 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
prime_udl dmesg (101.18 KB, text/plain)
2012-12-24 01:28 UTC, shui yangwei
no flags Details
dmesg: prime_udl (78.62 KB, text/plain)
2013-05-02 03:09 UTC, shui yangwei
no flags Details

Description shui yangwei 2012-12-24 01:28:35 UTC
Created attachment 72049 [details]
prime_udl dmesg

Environment:
-------------------------
Kernel: (drm-intel-next-queued)c0c36b941b6f0be6ac74f340040cbb29d6a0b06c
Some additional commit info:
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Wed Dec 19 16:08:43 2012 +0000

    drm/i915: Return the real error code from intel_set_mode()

Description:
-------------------------
After running I-G-T/prime_udl, screen output:
    prime_test: failed test 1
    prime_test: failed test 2 -1
Comment 1 Daniel Vetter 2013-01-07 16:43:50 UTC
Blargh, we need to teach prime_udl skip support.
Comment 2 Daniel Vetter 2013-05-01 09:24:58 UTC
This should be fixed with

commit c97a45ff098ba1e9772b5d1ebeedf52ec2b64652
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Thu Apr 4 11:36:27 2013 +0200

    tests/prime_udl: skip harder

in intel-gpu-tools.
Comment 3 shui yangwei 2013-05-02 03:09:08 UTC
Created attachment 78751 [details]
dmesg: prime_udl

(In reply to comment #2)
> This should be fixed with
> 
> commit c97a45ff098ba1e9772b5d1ebeedf52ec2b64652
> Author: Daniel Vetter <daniel.vetter@ffwll.ch>
> Date:   Thu Apr 4 11:36:27 2013 +0200
> 
>     tests/prime_udl: skip harder
> 
> in intel-gpu-tools.

I have tried this commit and the latest intel-gpu-tools source, both of them failed on this case. I tested it with -next-queued and -nightly top.
STD-OUT:
--------------
[root@x-pk2 tests]# ./prime_udl
failed to find intel and udl GPU
Comment 4 Daniel Vetter 2013-05-02 07:26:12 UTC
Ah, a little bit of dirt in stderr, but the test should still have correctly returned the skip error code (77).

commit 53d251ac23d8a3f5c4d0144794788a1423a5fa14
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Thu May 2 08:10:15 2013 +0200

    tests/prime_udl: don't put dirt into stderr when skipping


Does your testrunner unconditionally fail a test if there's stderr output? piglit only marks it as "warn".
Comment 5 shui yangwei 2013-05-02 07:35:32 UTC
(In reply to comment #4)
> Ah, a little bit of dirt in stderr, but the test should still have correctly
> returned the skip error code (77).
> 
> commit 53d251ac23d8a3f5c4d0144794788a1423a5fa14
> Author: Daniel Vetter <daniel.vetter@ffwll.ch>
> Date:   Thu May 2 08:10:15 2013 +0200
> 
>     tests/prime_udl: don't put dirt into stderr when skipping
> 
> 
> Does your testrunner unconditionally fail a test if there's stderr output?
> piglit only marks it as "warn".

OK, I know the return value of skipped case is 77 now, verified here.
Comment 6 Elizabeth 2017-10-06 14:47:21 UTC
Closing old verified.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.