Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

content_browsertests tests failure with Dr.Memory #1528

Open
derekbruening opened this issue Nov 28, 2014 · 11 comments
Open

content_browsertests tests failure with Dr.Memory #1528

derekbruening opened this issue Nov 28, 2014 · 11 comments

Comments

@derekbruening
Copy link
Contributor

From zhao...@google.com on April 23, 2014 11:34:50

This is a summary issue for all content_browsertests failures under Dr.Memory.

Original issue: http://code.google.com/p/drmemory/issues/detail?id=1528

@derekbruening
Copy link
Contributor Author

From zhao...@google.com on April 23, 2014 08:37:09

Dr.Memory light mode: http://build.chromium.org/p/chromium.fyi/builders/Windows%20Content%20%28DrMemory%20light%29/builds/35 29 tests failed:
RenderViewImplTest.SendProgressCompletionUpdates
WebRtcBrowserTests/WebRtcBrowserTest.CallAndVerifyVideoMutingWorks/0
WebRtcBrowserTests/WebRtcBrowserTest.CallAndVerifyVideoMutingWorks/1
WebRtcBrowserTests/WebRtcBrowserTest.CallWithAecDump/0
WebRtcBrowserTests/WebRtcBrowserTest.CallWithAecDump/1
WebRtcBrowserTests/WebRtcBrowserTest.CallWithAecDumpEnabledThenDisabled/0
WebRtcBrowserTests/WebRtcBrowserTest.CallWithAecDumpEnabledThenDisabled/1
WebRtcBrowserTests/WebRtcBrowserTest.CallWithDataAndMedia/0
WebRtcBrowserTests/WebRtcBrowserTest.CallWithDataAndMedia/1
WebRtcBrowserTests/WebRtcBrowserTest.CallWithDataOnly/0
WebRtcBrowserTests/WebRtcBrowserTest.CallWithDataOnly/1
WebRtcBrowserTests/WebRtcBrowserTest.CallWithNewVideoMediaStream/0
WebRtcBrowserTests/WebRtcBrowserTest.CallWithNewVideoMediaStream/1
WebRtcBrowserTests/WebRtcBrowserTest.CallWithSctpDataAndMedia/0
WebRtcBrowserTests/WebRtcBrowserTest.CallWithSctpDataAndMedia/1
WebRtcBrowserTests/WebRtcBrowserTest.CallWithSctpDataOnly/0
WebRtcBrowserTests/WebRtcBrowserTest.CallWithSctpDataOnly/1
WebRtcBrowserTests/WebRtcBrowserTest.CanSetupAudioAndVideoCall/0
WebRtcBrowserTests/WebRtcBrowserTest.CanSetupAudioAndVideoCall/1
WebRtcBrowserTests/WebRtcBrowserTest.CanSetupAudioAndVideoCallWithoutMsidAndBundle/0
WebRtcBrowserTests/WebRtcBrowserTest.CanSetupAudioAndVideoCallWithoutMsidAndBundle/1
WebRtcBrowserTests/WebRtcBrowserTest.CanSetupDefaultVideoCall/0
WebRtcBrowserTests/WebRtcBrowserTest.CanSetupDefaultVideoCall/1
WebRtcBrowserTests/WebRtcBrowserTest.CanSetupLegacyCall/0
WebRtcBrowserTests/WebRtcBrowserTest.CanSetupLegacyCall/1
WebRtcBrowserTests/WebRtcBrowserTest.CanSetupVideoCallWith1To1AspecRatio/0
WebRtcBrowserTests/WebRtcBrowserTest.CanSetupVideoCallWith1To1AspecRatio/1
WebRtcBrowserTests/WebRtcBrowserTest.NegotiateOfferWithBLine/0
WebRtcBrowserTests/WebRtcBrowserTest.NegotiateOfferWithBLine/1

[ RUN ] WebRtcBrowserTests/WebRtcBrowserTest.CanSetupVideoCallWith1To1AspecRatio/0

[2476:932:0423/081029:7352217:ERROR:renderer_main.cc(227)] Running without renderer sandbox

[3264:3696:0423/081041:7363605:INFO:CONSOLE(57)] "Looking at video in element remote-view-1", source: http://127.0.0.1:51640/media/webrtc_test_utilities.js (57)
[3264:3696:0423/081041:7363652:INFO:CONSOLE(57)] "Looking at video in element remote-view-2", source: http://127.0.0.1:51640/media/webrtc_test_utilities.js (57)
[3264:3696:0423/081043:7365571:INFO:CONSOLE(692)] "Negotiating call...", source: http://127.0.0.1:51640/media/peerconnection-call.html (692)
[3264:3696:0423/081043:7366398:INFO:CONSOLE(715)] "Receiving offer...", source: http://127.0.0.1:51640/media/peerconnection-call.html (715)
[3264:3696:0423/081046:7369502:INFO:CONSOLE(793)] "Receiving answer...", source: http://127.0.0.1:51640/media/peerconnection-call.html (793)
[3264:3696:0423/081047:7369986:INFO:CONSOLE(823)] "Receiving remote stream...", source: http://127.0.0.1:51640/media/peerconnection-call.html (823)
[3264:3516:0423/081048:7370782:INFO:socket_host_udp.cc(289)] sendto() has failed twice returning a transient error. Dropping the packet.
[3264:3696:0423/081048:7370797:INFO:CONSOLE(823)] "Receiving remote stream...", source: http://127.0.0.1:51640/media/peerconnection-call.html (823)
[3264:3516:0423/081048:7370969:INFO:socket_host_udp.cc(289)] sendto() has failed twice returning a transient error. Dropping the packet.
[3264:3516:0423/081048:7371359:INFO:socket_host_udp.cc(289)] sendto() has failed twice returning a transient error. Dropping the packet.
[3264:3516:0423/081049:7371702:INFO:socket_host_udp.cc(289)] sendto() has failed twice returning a transient error. Dropping the packet.
e:\b\build\slave\drm-cr\build\src\content\test\webrtc_content_browsertest_base.cc(43): error: Value of: ExecuteScriptAndExtractString(shell()->web_contents(), javascript, &result)
Actual: false
Expected: true
From javascript: e:\b\build\slave\drm-cr\build\src\content\test\webrtc_content_browsertest_base.cc(52): error: Failed
[ FAILED ] WebRtcBrowserTests/WebRtcBrowserTest.CanSetupVideoCallWith1To1AspecRatio/0, where GetParam() = false (39674 ms)

@derekbruening
Copy link
Contributor Author

From zhao...@google.com on April 24, 2014 08:25:46

light mode: the tests are flaky:
[146/594] BrowserPluginHostTest.InputMethod (TIMED OUT)
[163/595] DeviceInertialSensorBrowserTest.OrientationNullTestWithAlert (TIMED OUT)
[189/595] DeviceInertialSensorBrowserTest.MotionNullTestWithAlert (TIMED OUT)
[318/595] PluginTest.GetURLRequestFailWrite (TIMED OUT)
[300/594] PluginTest.MultipleInstancesSyncCalls (TIMED OUT)
[320/595] PluginTest.EnsureScriptingWorksInDestroy (TIMED OUT)
[ FAILED ] TouchActionBrowserTest.TouchActionNone,
[ FAILED ] RenderViewImplTest.DontIgnoreBackAfterNavEntryLimit (15039 ms)
[ FAILED ] RenderViewImplTest.SendSwapOutACK (16317 ms)
[ FAILED ] ResourceFetcherTests.ResourceFetcherDidFail
[ FAILED ] OpenedByDOMTest.CrossProcessPopup

@derekbruening
Copy link
Contributor Author

From zhao...@google.com on April 25, 2014 20:11:15

light mode:
[315/578] PluginTest.PluginSingleRangeRequest (TIMED OUT)
[316/578] PluginTest.PrivateEnabled (TIMED OUT)
[ FAILED ] TouchActionBrowserTest.TouchActionNone

strangely, the test are passed but failure still reported:
[579/581] TouchActionBrowserTest.TouchActionNone (31407 ms)
[580/581] PluginTest.PluginSingleRangeRequest (43278 ms)
[581/581] PluginTest.PrivateEnabled (43621 ms)
SUCCESS: all tests passed.

Owner: zhao...@google.com

@derekbruening
Copy link
Contributor Author

From zhao...@google.com on April 30, 2014 15:21:44

full mode: RenderViewImplTest.StaleNavigationsIgnored
[ RUN ] RenderViewImplTest.StaleNavigationsIgnored

[1888:2504:0430/123223:5180247:WARNING:resource_bundle.cc(283)] locale_file_path.empty()
e:\b\build\slave\drm-cr\build\src\content\renderer\render_view_browsertest.cc(721): error: Value of: msg_A
Actual: false
Expected: true
Dr.M
Dr.M Error #1: UNINITIALIZED READ: reading 0x02c483ad-0x02c484ac 255 byte(s) within 0x02c483ac-0x02c484ac
Dr.M # 0 system call NtUserSetKeyboardState parameter #0
Dr.M # 1 content::MockKeyboardDriverWin::~MockKeyboardDriverWin [content\test\mock_keyboard_driver_win.cc:36]
Dr.M # 2 content::RenderViewImplTest_OnExtendSelectionAndDelete_Test::`scalar deleting destructor'
Dr.M # 3 testing::Test::DeleteSelf_ [testing\gtest\include\gtest\gtest.h:427]
Dr.M # 4 testing::TestInfo::Run [testing\gtest\src\gtest.cc:2243]
Dr.M Note: @0:00:27.801 in thread 2504
[ FAILED ] RenderViewImplTest.StaleNavigationsIgnored (25414 ms)

Can be reporduced locally.
$ ~/Workspace/DrMemory/builds/build_x86_drm_rel.git/bin/drmemory.exe -no_count_leaks -suppress ./tools/valgrind/drmemory/suppressions_full.txt -- ./out/Debug/content_browsertests.exe --gtest_filter=RenderViewImplTest.StaleNavigationsIgnored --gtest_print_time --no-sandbox --single-process-tests --single_process --test-launcher-bot-mode --test-tiny-timeout=1000 --ui-test-action-max-timeout=800000 --ui-test-action-timeout=400000 --use-fake-device-for-media-stream --use-fake-ui-for-media-stream
Dr.M Dr. Memory version 1.6.1852
Dr.M Running "./out/Debug/content_browsertests.exe --gtest_filter=RenderViewImplTest.StaleNavigationsIgnored --gtest_print_time --no-sandbox --single-process-tests --single_process --test-launcher-bot-mode --test-tiny-timeout=1000 --ui-test-action-max-timeout=800000 --ui-test-action-timeout=400000 --use-fake-device-for-media-stream --use-fake-ui-for-media-stream"
Dr.M Recorded 276 suppression(s) from user D:\src\chrome-int\src\tools\valgrind\drmemory\suppressions_full.txt
Note: Google Test filter = RenderViewImplTest.StaleNavigationsIgnored
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from RenderViewImplTest
[ RUN ] RenderViewImplTest.StaleNavigationsIgnored
[1824:9056:0430/232028:1184141:WARNING:resource_bundle.cc(283)] locale_file_path.empty()
[1824:9056:0430/232046:1203017:ERROR:singleton_hwnd.cc(43)] Cannot create windows on non-UI thread!
d:\src\chrome-int\src\content\renderer\render_view_browsertest.cc(721): error: Value of: msg_A
Actual: false
Expected: true
Dr.M
Dr.M Error #1: UNINITIALIZED READ: reading 0x0d2493d5-0x0d2494d4 255 byte(s) within 0x0d2493d4-0x0d2494d4
Dr.M # 0 system call NtUserSetKeyboardState parameter #0
Dr.M # 1 content::MockKeyboardDriverWin::~MockKeyboardDriverWin [d:\src\chrome-int\src\content\test\mock_keyboard_driver_win.cc:36]
Dr.M # 2 content::MockKeyboard::~MockKeyboard [d:\src\chrome-int\src\content\test\mock_keyboard.cc:17]
Dr.M # 3 content::MockKeyboard::scalar deleting destructor' \~~Dr.M~~ # 4 base::DefaultDeleter<>::operator() [d:\src\chrome-int\src\base\memory\scoped_ptr.h:137] \~~Dr.M~~ # 5 base::internal::scoped_ptr_impl<>::~scoped_ptr_impl<> [d:\src\chrome-int\src\base\memory\scoped_ptr.h:220] \~~Dr.M~~ # 6 scoped_ptr<>::~scoped_ptr<> \~~Dr.M~~ # 7 content::anonymous namespace'::RenderViewImplTest::~RenderViewImplTest [d:\src\chrome-int\src\content\renderer\render_view_browsertest.cc:135]
Dr.M # 8 content::RenderViewImplTest_StaleNavigationsIgnored_Test::~RenderViewImplTest_StaleNavigationsIgnored_Test
Dr.M # 9 content::RenderViewImplTest_StaleNavigationsIgnored_Test::scalar deleting destructor' \~~Dr.M~~#10testing::Test::DeleteSelf_ [d:\src\chrome-int\src\testing\gtest\include\gtest\gtest.h:427] \~~Dr.M~~#11` testing::internal::HandleExceptionsInMethodIfSupported<> [d:\src\chrome-int\src\testing\gtest\src\gtest.cc:2045]
Dr.M Note: @0:01:03.338 in thread 9056
[ FAILED ] RenderViewImplTest.StaleNavigationsIgnored (58560 ms)
[----------] 1 test from RenderViewImplTest (58601 ms total)

It passed in light mode, so more likely the full mode changes the test behavior.

@derekbruening
Copy link
Contributor Author

From zhao...@google.com on May 10, 2014 11:05:16

Dr.Memory full mode test timeout:

BrowserPluginHostTest.EmbedderChangedAfterSwap

DownloadContentTest.ResumeInterruptedDownload
DownloadContentTest.ResumeInterruptedDownloadNoRange

EncryptedMediaTest.UnknownKeySystemThrowsException

File/MediaTest.VideoTulipWebm/0

FrameTreeBrowserTest.FrameTreeShape
FrameTreeBrowserTest.FrameTreeShape2
FrameTreeBrowserTest.NavigateWithLeftoverFrames
FrameTreeBrowserTest.FrameTreeAfterCrash

Http/MediaTest.VideoBearWavPcm192kHz/0
Http_MediaTest.VideoTulipWebm_0

MediaSourceTest.Playback_VideoAudio_WebM
MediaSourceTest.Playback_VideoOnly_WebM
MediaSourceTest.Playback_AudioOnly_Opus_WebM

MSE_ClearKey/EncryptedMediaTest.Playback_AudioOnly_WebM/0
MSE_ClearKey_EncryptedMediaTest.Playback_AudioClearVideo_WebM_0
MSE_ClearKey/EncryptedMediaTest.Playback_VideoAudio_WebM/0
MSE_ClearKey/EncryptedMediaTest.Playback_VideoOnly_WebM/0
MSE_ClearKey/EncryptedMediaTest.FrameSizeChangeVideo/0

OpenedByDOMTest.Popup

RenderViewBrowserTest.ConfirmCacheInformationPlumbed

ResourceFetcherTests.ResourceFetcherSetHeader

RenderFrameHostManagerTest.SwapProcessWithRelNoreferrerAndTargetBlank
RenderFrameHostManagerTest.SwapProcessWithSameSiteRelNoreferrer
RenderFrameHostManagerTest.DontSwapProcessWithOnlyTargetBlank
RenderFrameHostManagerTest.NoScriptAccessAfterSwapOut
RenderFrameHostManagerTest.DontShowLoadingURLIfNotInitialNav
RenderFrameHostManagerTest.BackForwardNotStale
RenderFrameHostManagerTest.ShowLoadingURLUntilSpoof
RenderFrameHostManagerTest.ClickLinkAfter204Error
RenderFrameHostManagerTest.SupportCrossProcessPostMessageWithMessagePort
RenderFrameHostManagerTest.SupportCrossProcessPostMessage
RenderFrameHostManagerTest.AllowTargetedNavigationsAfterSwap

SecurityExploitBrowserTest.AttemptDuplicateRenderViewHost
SecurityExploitBrowserTest.AttemptDuplicateRenderWidgetHost
SecurityExploitBrowserTest.SetWebUIProperty

SRC_ClearKey/EncryptedMediaTest.Playback_VideoAudio_WebM/0
SRC_ClearKey/EncryptedMediaTest.Playback_VideoClearAudio_WebM/0
SRC_ClearKey/EncryptedMediaTest.Playback_VideoOnly_WebM/0
SRC_ClearKey/EncryptedMediaTest.Playback_AudioClearVideo_WebM/0
SRC_ClearKey/EncryptedMediaTest.Playback_AudioOnly_WebM/0

TouchActionBrowserTest.TouchActionNone

WebContentsImplBrowserTest.RenderFrameCreatedCorrectProcessForObservers

WebContentsViewAuraTest.ScreenshotForSwappedOutRenderViews
WebContentsViewAuraTest.ContentWindowClose

WebKitBrowserTest.PrerenderNoCrash
WebKitBrowserTest.XsltBadImport
WebKitBrowserTest.AbortOnEnd

WebRtcBrowserTests_WebRtcBrowserTest.AddTwoMediaStreamsToOnePC_1

WorkerTest.SharedWorkerHttpAuth

@derekbruening
Copy link
Contributor Author

From zhao...@google.com on May 10, 2014 18:36:07

timeout:
ResourceFetcherTests.ResourceFetcherDownload
Http/MediaTest.VideoTulipWebm/0
WebRtcBrowserTests_WebRtcBrowserTest.AddTwoMediaStreamsToOnePC_1
RenderViewImplTest.ReloadWhileSwappedOut
SRC_ClearKey/EncryptedMediaTest.FrameSizeChangeVideo/0

@derekbruening
Copy link
Contributor Author

From zhao...@google.com on May 11, 2014 20:07:50

IndexedDBBrowserTest.ConnectionsClosedOnTabClose

@derekbruening
Copy link
Contributor Author

From zhao...@google.com on May 12, 2014 13:00:14

WebRtcBrowserTests/WebRtcBrowserTest.AddTwoMediaStreamsToOnePC_1
ResourceFetcherTests.ResourceFetcher404

@derekbruening
Copy link
Contributor Author

From bruen...@google.com on July 21, 2014 13:47:53

full mode failure:
IndexedDBBrowserTest.DeleteCompactsBackingStore http://build.chromium.org/p/chromium.memory.fyi/builders/Windows%20Content%20Browser%20%28DrMemory%20full%29%20%281%29/builds/490/steps/memory%20test%3A%20content_browsertests/logs/stdio [ RUN ] IndexedDBBrowserTest.DeleteCompactsBackingStore
[3728:3764:0721/110801:1772311:INFO:indexed_db_browsertest.cc(76)] Navigating to URL and blocking.
[3264:2008:0721/110823:1793855:ERROR:renderer_main.cc(204)] Running without renderer sandbox
[3728:3764:0721/110856:1826444:INFO:indexed_db_browsertest.cc(78)] Navigation done.
[3728:3764:0721/110856:1826490:INFO:indexed_db_browsertest.cc(76)] Navigating to URL and blocking.
[3728:3764:0721/110905:1836053:INFO:indexed_db_browsertest.cc(78)] Navigation done.
c:\b\build\slave\drm-cr\build\src\content\browser\indexed_db\indexed_db_browsertest.cc(645): error: Expected: (after_deleting) < (kTestCompactBytes), actual: 494135 vs 10240
[ FAILED ] IndexedDBBrowserTest.DeleteCompactsBackingStore, where TypeParam = and GetParam() = (101473 ms)

@derekbruening
Copy link
Contributor Author

From bruen...@google.com on August 17, 2014 07:41:48

light mode timeouts: http://build.chromium.org/p/chromium.memory.fyi/builders/Windows%20Content%20Browser%20%28DrMemory%29/builds/522 [ RUN ] SitePerProcessBrowserTest.CrashSubframe
HTTP server started on http://127.0.0.1:50729..
sending server_data: {"host": "127.0.0.1", "port": 50729} (36 bytes)
[3476:596:0817/054138:6424214:ERROR:renderer_main.cc(204)] Running without renderer sandbox
[352/610] SitePerProcessBrowserTest.CrashSubframe (TIMED OUT)
1 test timed out:
SitePerProcessBrowserTest.CrashSubframe http://build.chromium.org/p/chromium.memory.fyi/builders/Windows%20Content%20Browser%20%28DrMemory%29/builds/532 1 test timed out:
OutOfProcessPPAPITest.VideoDecoder

@derekbruening
Copy link
Contributor Author

Some more failures:

http://build.chromium.org/p/chromium.memory.fyi/builders/Windows%20Content%20Browser%20%28DrMemory%29/builds/4230

DumpAccessibilityEventsTest.AccessibilityEventsMenuListNext
WebContentsViewAuraTest.WebContentsViewReparent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant