v4l2-compliance errors

Hello all,

I have a camera driver working fine in qv4l2, but it is not passing all v4l2-compliance tests and does not work in gstreamer’s v4l2src.

Here are the error messages:

nvidia@tegra-ubuntu:~$ gst-launch-1.0 -v v4l2src device=/dev/video0 ! "video/x-bayer, format=(string)rggb, framerate=30/1" ! fakesink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
0:00:00.101507872  2630       0x6195e0 DEBUG                v4l2src gstv4l2src.c:300:gst_v4l2src_negotiate:<v4l2src0> caps of src: video/x-raw, format=(string)I420, framerate=(fraction)[ 0/1, 2147483647/1 ], width=(int)4096, height=(int)2778, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)2:4:7:1; video/x-raw, format=(string)YV12, framerate=(fraction)[ 0/1, 2147483647/1 ], width=(int)4096, height=(int)2778, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)2:4:7:1; video/x-raw, format=(string)BGR, framerate=(fraction)[ 0/1, 2147483647/1 ], width=(int)4096, height=(int)2778, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)sRGB; video/x-raw, format=(string)RGB, framerate=(fraction)[ 0/1, 2147483647/1 ], width=(int)4096, height=(int)2778, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)sRGB
0:00:00.101723870  2630       0x6195e0 DEBUG                v4l2src gstv4l2src.c:301:gst_v4l2src_negotiate:<v4l2src0> thiscaps: video/x-raw, format=(string)I420, framerate=(fraction)[ 0/1, 2147483647/1 ], width=(int)4096, height=(int)2778, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)2:4:7:1; video/x-raw, format=(string)YV12, framerate=(fraction)[ 0/1, 2147483647/1 ], width=(int)4096, height=(int)2778, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)2:4:7:1; video/x-raw, format=(string)BGR, framerate=(fraction)[ 0/1, 2147483647/1 ], width=(int)4096, height=(int)2778, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)sRGB; video/x-raw, format=(string)RGB, framerate=(fraction)[ 0/1, 2147483647/1 ], width=(int)4096, height=(int)2778, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)sRGB
Setting pipeline to PLAYING ...
0:00:00.101985404  2630       0x6195e0 DEBUG                v4l2src gstv4l2src.c:309:gst_v4l2src_negotiate:<v4l2src0> caps of peer: video/x-bayer, format=(string)rggb, framerate=(fraction)30/1
0:00:00.102030108  2630       0x6195e0 DEBUG                v4l2src gstv4l2src.c:310:gst_v4l2src_negotiate:<v4l2src0> peercaps: video/x-bayer, format=(string)rggb, framerate=(fraction)30/1
0:00:00.102076252  2630       0x6195e0 DEBUG                v4l2src gstv4l2src.c:320:gst_v4l2src_negotiate:<v4l2src0> peer: video/x-bayer, format=(string)rggb, framerate=(fraction)30/1
0:00:00.102111387  2630       0x6195e0 DEBUG                v4l2src gstv4l2src.c:321:gst_v4l2src_negotiate:<v4l2src0> ipcaps: video/x-bayer, format=(string)rggb, framerate=(fraction)30/1
0:00:00.102153179  2630       0x6195e0 DEBUG                v4l2src gstv4l2src.c:333:gst_v4l2src_negotiate:<v4l2src0> intersect: (NULL)
0:00:00.102180443  2630       0x6195e0 DEBUG                v4l2src gstv4l2src.c:334:gst_v4l2src_negotiate:<v4l2src0> icaps: (NULL)
0:00:00.102664375  2630       0x60b870 WARN                 v4l2src gstv4l2src.c:545:gst_v4l2src_query:<v4l2src0> Can't give latency since framerate isn't fixated !
0:00:00.102929685  2630       0x6195e0 DEBUG                v4l2src gstv4l2src.c:300:gst_v4l2src_negotiate:<v4l2src0> caps of src: video/x-raw, format=(string)I420, framerate=(fraction)[ 0/1, 2147483647/1 ], width=(int)4096, height=(int)2778, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)2:4:7:1; video/x-raw, format=(string)YV12, framerate=(fraction)[ 0/1, 2147483647/1 ], width=(int)4096, height=(int)2778, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)2:4:7:1; video/x-raw, format=(string)BGR, framerate=(fraction)[ 0/1, 2147483647/1 ], width=(int)4096, height=(int)2778, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)sRGB; video/x-raw, format=(string)RGB, framerate=(fraction)[ 0/1, 2147483647/1 ], width=(int)4096, height=(int)2778, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)sRGB
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data flow error.
Additional debug info:
gstbasesrc.c(2948): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming task paused, reason not-negotiated (-4)
Execution ended after 0:00:00.000162239
0:00:00.103058868  2630       0x6195e0 DEBUG                v4l2src gstv4l2src.c:301:gst_v4l2src_negotiate:<v4l2src0> thiscaps: video/x-raw, format=(string)I420, framerate=(fraction)[ 0/1, 2147483647/1 ], width=(int)4096, height=(int)2778, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)2:4:7:1; video/x-raw, format=(string)YV12, framerate=(fraction)[ 0/1, 2147483647/1 ], width=(int)4096, height=(int)2778, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)2:4:7:1; video/x-raw, format=(string)BGR, framerate=(fraction)[ 0/1, 2147483647/1 ], width=(int)4096, height=(int)2778, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)sRGB; video/x-raw, format=(string)RGB, framerate=(fraction)[ 0/1, 2147483647/1 ], width=(int)4096, height=(int)2778, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)sRGB
Setting pipeline to PAUSED ...
0:00:00.103199699  2630       0x6195e0 DEBUG                v4l2src gstv4l2src.c:309:gst_v4l2src_negotiate:<v4l2src0> caps of peer: video/x-bayer, format=(string)rggb, framerate=(fraction)30/1
0:00:00.103237747  2630       0x6195e0 DEBUG                v4l2src gstv4l2src.c:310:gst_v4l2src_negotiate:<v4l2src0> peercaps: video/x-bayer, format=(string)rggb, framerate=(fraction)30/1
0:00:00.103281426  2630       0x6195e0 DEBUG                v4l2src gstv4l2src.c:320:gst_v4l2src_negotiate:<v4l2src0> peer: video/x-bayer, format=(string)rggb, framerate=(fraction)30/1
0:00:00.103315826  2630       0x6195e0 DEBUG                v4l2src gstv4l2src.c:321:gst_v4l2src_negotiate:<v4l2src0> ipcaps: video/x-bayer, format=(string)rggb, framerate=(fraction)30/1
0:00:00.103353458  2630       0x6195e0 DEBUG                v4l2src gstv4l2src.c:333:gst_v4l2src_negotiate:<v4l2src0> intersect: (NULL)
0:00:00.103380338  2630       0x6195e0 DEBUG                v4l2src gstv4l2src.c:334:gst_v4l2src_negotiate:<v4l2src0> icaps: (NULL)
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
nvidia@tegra-ubuntu:~$ v4l2-compliance -f
v4l2-compliance SHA   : not available

Driver Info:
	Driver name   : tegra-video
	Card type     : vi-output, imx294 30-001a
	Bus info      : platform:15700000.vi:0
	Driver version: 4.4.38
	Capabilities  : 0x84200001
		Video Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps   : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format

Compliance test for device /dev/video0 (not using libv4l2):

Required ioctls:
	test VIDIOC_QUERYCAP: OK

Allow for multiple opens:
	test second video open: OK
	test VIDIOC_QUERYCAP: OK
	test VIDIOC_G/S_PRIORITY: OK
	test for unlimited opens: OK

Debug ioctls:
	test VIDIOC_DBG_G/S_REGISTER: OK (Not Supported)
	test VIDIOC_LOG_STATUS: OK

Input ioctls:
	test VIDIOC_G/S_TUNER/ENUM_FREQ_BANDS: OK (Not Supported)
	test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
	test VIDIOC_S_HW_FREQ_SEEK: OK (Not Supported)
	test VIDIOC_ENUMAUDIO: OK (Not Supported)
	test VIDIOC_G/S/ENUMINPUT: OK
	test VIDIOC_G/S_AUDIO: OK (Not Supported)
	Inputs: 1 Audio Inputs: 0 Tuners: 0

Output ioctls:
	test VIDIOC_G/S_MODULATOR: OK (Not Supported)
	test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
	test VIDIOC_ENUMAUDOUT: OK (Not Supported)
	test VIDIOC_G/S/ENUMOUTPUT: OK (Not Supported)
	test VIDIOC_G/S_AUDOUT: OK (Not Supported)
	Outputs: 0 Audio Outputs: 0 Modulators: 0

Input/Output configuration ioctls:
	test VIDIOC_ENUM/G/S/QUERY_STD: OK (Not Supported)
	test VIDIOC_ENUM/G/S/QUERY_DV_TIMINGS: OK (Not Supported)
	test VIDIOC_DV_TIMINGS_CAP: OK (Not Supported)
	test VIDIOC_G/S_EDID: OK (Not Supported)

Test input 0:

	Control ioctls:
		test VIDIOC_QUERY_EXT_CTRL/QUERYMENU: OK
		test VIDIOC_QUERYCTRL: OK
		test VIDIOC_G/S_CTRL: OK
		test VIDIOC_G/S/TRY_EXT_CTRLS: OK
		test VIDIOC_(UN)SUBSCRIBE_EVENT/DQEVENT: OK
		test VIDIOC_G/S_JPEGCOMP: OK (Not Supported)
		Standard Controls: 1 Private Controls: 15

	Format ioctls:
		test VIDIOC_ENUM_FMT/FRAMESIZES/FRAMEINTERVALS: OK
		fail: v4l2-test-formats.cpp(1184): ret && node->has_frmintervals
		test VIDIOC_G/S_PARM: FAIL
		test VIDIOC_G_FBUF: OK (Not Supported)
		test VIDIOC_G_FMT: OK
		test VIDIOC_TRY_FMT: OK
		test VIDIOC_S_FMT: OK
		test VIDIOC_G_SLICED_VBI_CAP: OK (Not Supported)
		test Cropping: OK (Not Supported)
		test Composing: OK (Not Supported)
		test Scaling: OK (Not Supported)

	Codec ioctls:
		test VIDIOC_(TRY_)ENCODER_CMD: OK (Not Supported)
		test VIDIOC_G_ENC_INDEX: OK (Not Supported)
		test VIDIOC_(TRY_)DECODER_CMD: OK (Not Supported)

	Buffer ioctls:
		test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: OK
		test VIDIOC_EXPBUF: OK

Test input 0:

Stream using all formats:
	test MMAP for Format RG12, Frame Size 4096x2778@44.00 Hz:
		Video Capture: Frame #000 Field None   		fail: v4l2-test-buffers.cpp(1334): buf.g_flags() & V4L2_BUF_FLAG_DONE
		Stride 8192, Field None: FAIL   
		fail: v4l2-test-buffers.cpp(1521): fmt.g_sizeimage() <= size
		fail: v4l2-test-buffers.cpp(1317): q.reqbufs(node, 3)
		Stride 8256, Field None: FAIL   
		fail: v4l2-test-buffers.cpp(1317): q.reqbufs(node, 3)
		Stride 0, Field Top: FAIL   
		fail: v4l2-test-buffers.cpp(1521): fmt.g_sizeimage() <= size
		fail: v4l2-test-buffers.cpp(1317): q.reqbufs(node, 3)
		Stride 8256, Field None: FAIL   
		fail: v4l2-test-buffers.cpp(1317): q.reqbufs(node, 3)
		Stride 0, Field Bottom: FAIL   
		fail: v4l2-test-buffers.cpp(1521): fmt.g_sizeimage() <= size
		fail: v4l2-test-buffers.cpp(1317): q.reqbufs(node, 3)
		Stride 8256, Field None: FAIL   
		fail: v4l2-test-buffers.cpp(1317): q.reqbufs(node, 3)
		Stride 0, Field Interlaced: FAIL   
		fail: v4l2-test-buffers.cpp(1521): fmt.g_sizeimage() <= size
		fail: v4l2-test-buffers.cpp(1317): q.reqbufs(node, 3)
		Stride 8256, Field None: FAIL   
		fail: v4l2-test-buffers.cpp(1317): q.reqbufs(node, 3)
		Stride 0, Field Sequential Top-Bottom: FAIL   
		fail: v4l2-test-buffers.cpp(1521): fmt.g_sizeimage() <= size
		fail: v4l2-test-buffers.cpp(1317): q.reqbufs(node, 3)
		Stride 8256, Field None: FAIL   
		fail: v4l2-test-buffers.cpp(1317): q.reqbufs(node, 3)
		Stride 0, Field Sequential Bottom-Top: FAIL   
		fail: v4l2-test-buffers.cpp(1521): fmt.g_sizeimage() <= size
		fail: v4l2-test-buffers.cpp(1317): q.reqbufs(node, 3)
		Stride 8256, Field None: FAIL   
		fail: v4l2-test-buffers.cpp(1317): q.reqbufs(node, 3)
		Stride 0, Field Alternating: FAIL   
		fail: v4l2-test-buffers.cpp(1521): fmt.g_sizeimage() <= size
		fail: v4l2-test-buffers.cpp(1317): q.reqbufs(node, 3)
		Stride 8256, Field None: FAIL   
		fail: v4l2-test-buffers.cpp(1317): q.reqbufs(node, 3)
		Stride 0, Field Interlaced Top-Bottom: FAIL   
		fail: v4l2-test-buffers.cpp(1521): fmt.g_sizeimage() <= size
		fail: v4l2-test-buffers.cpp(1317): q.reqbufs(node, 3)
		Stride 8256, Field None: FAIL   
		fail: v4l2-test-buffers.cpp(1317): q.reqbufs(node, 3)
		Stride 0, Field Interlaced Bottom-Top: FAIL   
		fail: v4l2-test-buffers.cpp(1521): fmt.g_sizeimage() <= size
		fail: v4l2-test-buffers.cpp(1317): q.reqbufs(node, 3)
		Stride 8256, Field None: FAIL   

Total: 61, Succeeded: 42, Failed: 19, Warnings: 0
nvidia@tegra-ubuntu:~$ v4l2-compliance -w
v4l2-compliance SHA   : not available

Driver Info:
	Driver name   : tegra-video
	Card type     : vi-output, imx294 30-001a
	Bus info      : platform:15700000.vi:0
	Driver version: 4.4.38
	Capabilities  : 0x85200001
		Video Capture
		Read/Write
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps   : 0x05200001
		Video Capture
		Read/Write
		Streaming
		Extended Pix Format

Compliance test for device /dev/video0 (using libv4l2):

Required ioctls:
	test VIDIOC_QUERYCAP: OK

Allow for multiple opens:
	test second video open: OK
	test VIDIOC_QUERYCAP: OK
	test VIDIOC_G/S_PRIORITY: OK
	test for unlimited opens: OK

Debug ioctls:
	test VIDIOC_DBG_G/S_REGISTER: OK (Not Supported)
	test VIDIOC_LOG_STATUS: OK

Input ioctls:
	test VIDIOC_G/S_TUNER/ENUM_FREQ_BANDS: OK (Not Supported)
	test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
	test VIDIOC_S_HW_FREQ_SEEK: OK (Not Supported)
	test VIDIOC_ENUMAUDIO: OK (Not Supported)
	test VIDIOC_G/S/ENUMINPUT: OK
	test VIDIOC_G/S_AUDIO: OK (Not Supported)
	Inputs: 1 Audio Inputs: 0 Tuners: 0

Output ioctls:
	test VIDIOC_G/S_MODULATOR: OK (Not Supported)
	test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
	test VIDIOC_ENUMAUDOUT: OK (Not Supported)
	test VIDIOC_G/S/ENUMOUTPUT: OK (Not Supported)
	test VIDIOC_G/S_AUDOUT: OK (Not Supported)
	Outputs: 0 Audio Outputs: 0 Modulators: 0

Input/Output configuration ioctls:
	test VIDIOC_ENUM/G/S/QUERY_STD: OK (Not Supported)
	test VIDIOC_ENUM/G/S/QUERY_DV_TIMINGS: OK (Not Supported)
	test VIDIOC_DV_TIMINGS_CAP: OK (Not Supported)
	test VIDIOC_G/S_EDID: OK (Not Supported)

Test input 0:

	Control ioctls:
		test VIDIOC_QUERY_EXT_CTRL/QUERYMENU: OK
		test VIDIOC_QUERYCTRL: OK
		test VIDIOC_G/S_CTRL: OK
		test VIDIOC_G/S/TRY_EXT_CTRLS: OK
		test VIDIOC_(UN)SUBSCRIBE_EVENT/DQEVENT: OK
		test VIDIOC_G/S_JPEGCOMP: OK (Not Supported)
		Standard Controls: 1 Private Controls: 15

	Format ioctls:
		test VIDIOC_ENUM_FMT/FRAMESIZES/FRAMEINTERVALS: OK
		fail: v4l2-test-formats.cpp(1184): ret && node->has_frmintervals
		test VIDIOC_G/S_PARM: FAIL
		test VIDIOC_G_FBUF: OK (Not Supported)
		test VIDIOC_G_FMT: OK
		G_FMT:     4096x2778, 32314752, 1, 8192, 22757376, 8, 0, 0, feedcafe
		TRY/S_FMT: 4096x2778, 32314752, 1, 8192, 22806528, 8, 0, 0, feedcafe
		fail: v4l2-test-formats.cpp(684): Video Capture: TRY_FMT(G_FMT) != G_FMT
		test VIDIOC_TRY_FMT: FAIL
		G_FMT:     4096x2778, 32314752, 1, 8192, 22757376, 8, 0, 0, feedcafe
		TRY/S_FMT: 4096x2778, 32314752, 1, 8192, 22806528, 8, 0, 0, feedcafe
		fail: v4l2-test-formats.cpp(1027): Video Capture: S_FMT(G_FMT) != G_FMT
		test VIDIOC_S_FMT: FAIL
		test VIDIOC_G_SLICED_VBI_CAP: OK (Not Supported)
		test Cropping: OK (Not Supported)
		test Composing: OK (Not Supported)
		test Scaling: OK (Not Supported)

	Codec ioctls:
		test VIDIOC_(TRY_)ENCODER_CMD: OK (Not Supported)
		test VIDIOC_G_ENC_INDEX: OK (Not Supported)
		test VIDIOC_(TRY_)DECODER_CMD: OK (Not Supported)

	Buffer ioctls:
(hangs)

Let me know what you think!

nvidia@tegra-ubuntu:~$ v4l2-compliance -s
v4l2-compliance SHA   : not available

Driver Info:
	Driver name   : tegra-video
	Card type     : vi-output, imx294 30-001a
	Bus info      : platform:15700000.vi:0
	Driver version: 4.4.38
	Capabilities  : 0x84200001
		Video Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps   : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format

Compliance test for device /dev/video0 (not using libv4l2):

Required ioctls:
	test VIDIOC_QUERYCAP: OK

Allow for multiple opens:
	test second video open: OK
	test VIDIOC_QUERYCAP: OK
	test VIDIOC_G/S_PRIORITY: OK
	test for unlimited opens: OK

Debug ioctls:
	test VIDIOC_DBG_G/S_REGISTER: OK (Not Supported)
	test VIDIOC_LOG_STATUS: OK

Input ioctls:
	test VIDIOC_G/S_TUNER/ENUM_FREQ_BANDS: OK (Not Supported)
	test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
	test VIDIOC_S_HW_FREQ_SEEK: OK (Not Supported)
	test VIDIOC_ENUMAUDIO: OK (Not Supported)
	test VIDIOC_G/S/ENUMINPUT: OK
	test VIDIOC_G/S_AUDIO: OK (Not Supported)
	Inputs: 1 Audio Inputs: 0 Tuners: 0

Output ioctls:
	test VIDIOC_G/S_MODULATOR: OK (Not Supported)
	test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
	test VIDIOC_ENUMAUDOUT: OK (Not Supported)
	test VIDIOC_G/S/ENUMOUTPUT: OK (Not Supported)
	test VIDIOC_G/S_AUDOUT: OK (Not Supported)
	Outputs: 0 Audio Outputs: 0 Modulators: 0

Input/Output configuration ioctls:
	test VIDIOC_ENUM/G/S/QUERY_STD: OK (Not Supported)
	test VIDIOC_ENUM/G/S/QUERY_DV_TIMINGS: OK (Not Supported)
	test VIDIOC_DV_TIMINGS_CAP: OK (Not Supported)
	test VIDIOC_G/S_EDID: OK (Not Supported)

Test input 0:

	Control ioctls:
		test VIDIOC_QUERY_EXT_CTRL/QUERYMENU: OK
		test VIDIOC_QUERYCTRL: OK
		test VIDIOC_G/S_CTRL: OK
		test VIDIOC_G/S/TRY_EXT_CTRLS: OK
		test VIDIOC_(UN)SUBSCRIBE_EVENT/DQEVENT: OK
		test VIDIOC_G/S_JPEGCOMP: OK (Not Supported)
		Standard Controls: 1 Private Controls: 15

	Format ioctls:
		test VIDIOC_ENUM_FMT/FRAMESIZES/FRAMEINTERVALS: OK
		fail: v4l2-test-formats.cpp(1184): ret && node->has_frmintervals
		test VIDIOC_G/S_PARM: FAIL
		test VIDIOC_G_FBUF: OK (Not Supported)
		test VIDIOC_G_FMT: OK
		test VIDIOC_TRY_FMT: OK
		test VIDIOC_S_FMT: OK
		test VIDIOC_G_SLICED_VBI_CAP: OK (Not Supported)
		test Cropping: OK (Not Supported)
		test Composing: OK (Not Supported)
		test Scaling: OK (Not Supported)

	Codec ioctls:
		test VIDIOC_(TRY_)ENCODER_CMD: OK (Not Supported)
		test VIDIOC_G_ENC_INDEX: OK (Not Supported)
		test VIDIOC_(TRY_)DECODER_CMD: OK (Not Supported)

	Buffer ioctls:
		test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: OK
		test VIDIOC_EXPBUF: OK

Test input 0:

Streaming ioctls:
		fail: v4l2-test-buffers.cpp(627): ret >= 0 || errno != EINVAL
	test read/write: FAIL
		fail: v4l2-test-buffers.cpp(292): !g_timestamp().tv_sec && !g_timestamp().tv_usec
		fail: v4l2-test-buffers.cpp(707): buf.check(q, last_seq)
		fail: v4l2-test-buffers.cpp(977): captureBufs(node, q, m2m_q, frame_count, false)
	test MMAP: FAIL
		fail: v4l2-test-buffers.cpp(1077): can_stream && ret != EINVAL
	test USERPTR: FAIL
	test DMABUF: Cannot test, specify --expbuf-device


Total: 46, Succeeded: 42, Failed: 4, Warnings: 0

Please check the sensor programing guide in l4t document from download center to implement your sensor driver to pass the test first.