linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* v4l2-test-controls.cpp(325): expected 8 private controls, got 7
@ 2023-02-20 14:42 Naresh Kamboju
  2023-02-20 15:09 ` Hans Verkuil
  0 siblings, 1 reply; 2+ messages in thread
From: Naresh Kamboju @ 2023-02-20 14:42 UTC (permalink / raw)
  To: open list, Linux Media Mailing List
  Cc: Tomi Valkeinen, Hans Verkuil, Laurent Pinchart,
	Mauro Carvalho Chehab, nicolas, xavier.claessens,
	benjamin.gaignard

Following v4l2 tests are failing on Linux mainline v6.2 on arm64 hikey device.
Am I missing anything in my test environment ?

Driver Info:
----------
  Driver name      : vivid
  Bus info         : platform:vivid-000
  Driver version   : 6.2.0

Fail  log:
---------
    fail: v4l2-test-controls.cpp(325): expected 8 private controls, got 7
  test VIDIOC_QUERY_EXT_CTRL/QUERYMENU: FAIL
    fail: v4l2-test-controls.cpp(366): qctrl.step || qctrl.minimum ||
qctrl.maximum || qctrl.default_value
  test VIDIOC_QUERYCTRL: FAIL
..
    fail: v4l2-test-controls.cpp(473): g_ctrl returned an error (22)
  test VIDIOC_G/S_CTRL: FAIL
..
    fail: v4l2-test-controls.cpp(593): returned control value out of range
    fail: v4l2-test-controls.cpp(706): invalid control 0098f90f
  test VIDIOC_G/S/TRY_EXT_CTRLS: FAIL
..
    fail: v4l2-test-formats.cpp(264): fmtdesc.description mismatch:
was 'Y/UV 4:2:0', expected 'Y/CbCr 4:2:0'
  test VIDIOC_ENUM_FMT/FRAMESIZES/FRAMEINTERVALS: FAIL


Test details,
https://qa-reports.linaro.org/lkft/linux-mainline-master/build/v6.2/testrun/14859062/suite/v4l2-compliance/tests/
https://qa-reports.linaro.org/lkft/linux-mainline-master/build/v6.2/testrun/14859062/suite/v4l2-compliance/test/VIDIOC_ENUM_FMT-FRAMESIZES-FRAMEINTERVALS/log

--
Linaro LKFT
https://lkft.linaro.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: v4l2-test-controls.cpp(325): expected 8 private controls, got 7
  2023-02-20 14:42 v4l2-test-controls.cpp(325): expected 8 private controls, got 7 Naresh Kamboju
@ 2023-02-20 15:09 ` Hans Verkuil
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Verkuil @ 2023-02-20 15:09 UTC (permalink / raw)
  To: Naresh Kamboju, open list, Linux Media Mailing List
  Cc: Tomi Valkeinen, Laurent Pinchart, Mauro Carvalho Chehab, nicolas,
	xavier.claessens, benjamin.gaignard

On 20/02/2023 15:42, Naresh Kamboju wrote:
> Following v4l2 tests are failing on Linux mainline v6.2 on arm64 hikey device.
> Am I missing anything in my test environment ?
> 
> Driver Info:
> ----------
>   Driver name      : vivid
>   Bus info         : platform:vivid-000
>   Driver version   : 6.2.0
> 
> Fail  log:
> ---------
>     fail: v4l2-test-controls.cpp(325): expected 8 private controls, got 7
>   test VIDIOC_QUERY_EXT_CTRL/QUERYMENU: FAIL
>     fail: v4l2-test-controls.cpp(366): qctrl.step || qctrl.minimum ||
> qctrl.maximum || qctrl.default_value
>   test VIDIOC_QUERYCTRL: FAIL
> ..
>     fail: v4l2-test-controls.cpp(473): g_ctrl returned an error (22)
>   test VIDIOC_G/S_CTRL: FAIL
> ..
>     fail: v4l2-test-controls.cpp(593): returned control value out of range
>     fail: v4l2-test-controls.cpp(706): invalid control 0098f90f
>   test VIDIOC_G/S/TRY_EXT_CTRLS: FAIL
> ..
>     fail: v4l2-test-formats.cpp(264): fmtdesc.description mismatch:
> was 'Y/UV 4:2:0', expected 'Y/CbCr 4:2:0'

This suggests that you are running with an old(er) v4l-utils version, since I adapted
v4l2-compliance to avoid this failure. It's due to a change in the kernel, so currently
both old and new descriptions are accepted.

Looking at the logs:

v4l2-compliance SHA: 5d8c459c1bf9 2021-04-08 13:28:26

That's much too old.

Regards,

	Hans

>   test VIDIOC_ENUM_FMT/FRAMESIZES/FRAMEINTERVALS: FAIL
> 
> 
> Test details,
> https://qa-reports.linaro.org/lkft/linux-mainline-master/build/v6.2/testrun/14859062/suite/v4l2-compliance/tests/
> https://qa-reports.linaro.org/lkft/linux-mainline-master/build/v6.2/testrun/14859062/suite/v4l2-compliance/test/VIDIOC_ENUM_FMT-FRAMESIZES-FRAMEINTERVALS/log
> 
> --
> Linaro LKFT
> https://lkft.linaro.org


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-02-20 15:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-20 14:42 v4l2-test-controls.cpp(325): expected 8 private controls, got 7 Naresh Kamboju
2023-02-20 15:09 ` Hans Verkuil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).