[.] Sanitizer coverage enabled. Counter map size: 6007043, Cmp map size: 262144 IMPORTANT DEBUGGING NOTE: batches of tests are run inside their own process. For debugging a test inside a debugger, use the --gtest_filter= flag along with --single-process-tests. Using sharding settings from environment. This is shard 0/1 Using 1 parallel jobs. [.] Sanitizer coverage enabled. Counter map size: 6007043, Cmp map size: 262144 Note: Google Test filter = VideoCaptureServiceTest.VirtualDeviceCanShadowRealDeviceByCollidingId [==========] Running 1 test from 1 test suite. [----------] Global test environment set-up. [----------] 1 test from VideoCaptureServiceTest [ RUN ] VideoCaptureServiceTest.VirtualDeviceCanShadowRealDeviceByCollidingId [POC] Real device id learned by attacker: /dev/video0 [POC] GetSourceInfos returned 4 entries; id '/dev/video0' appears 2 times GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: OnStarted() NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/main/docs/gmock_cook_book.md#knowing-when-to-expect-useoncall for details. GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: DoOnNewBuffer(0, 0x7fff43b7ac20) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/main/docs/gmock_cook_book.md#knowing-when-to-expect-useoncall for details. GMOCK WARNING: Uninteresting mock function call - taking default action specified at: ../../services/video_capture/test/video_capture_service_unittest.cc:282: Function call: DoOnNewBuffer(0, 0x7493f1988c80, @0x7493f18bf160 8-byte object <60-A4 EB-F2 F3-74 00-00>) NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/main/docs/gmock_cook_book.md#knowing-when-to-expect-useoncall for details. [POC] Consumer that opened real device id '/dev/video0' received attacker frame (coded_size=8x8) [ OK ] VideoCaptureServiceTest.VirtualDeviceCanShadowRealDeviceByCollidingId (3 ms) [----------] 1 test from VideoCaptureServiceTest (10 ms total) [----------] Global test environment tear-down [==========] 1 test from 1 test suite ran. (10 ms total) [ PASSED ] 1 test. [1/1] VideoCaptureServiceTest.VirtualDeviceCanShadowRealDeviceByCollidingId (3 ms) SUCCESS: all tests passed. Tests took 0 seconds.