My favorites | Sign in
Project Home Downloads Wiki Issues Code Search
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 47596: Chrome Frame Tests ie8 bot failing in extract build step
2 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ana...@chromium.org
Closed:  Sep 2010
Cc:  ana...@chromium.org, nsylv...@chromium.org
M-8

Restricted
  • Only users with EditIssue permission may comment.


Sign in to add a comment
 
Project Member Reported by thestig@chromium.org, Jun 25, 2010
When I rdesktop into the bot, there's a copy of IE with a pop up that says "Your current security settings do not allow this file to be downloaded." I think this IE window is keeping a dll open, so we cannot clobber the directory for the next build. If I press ok, the IE window does away and the next build succeeds.

Extract build error is below:

Try 1: Fetching build from http://codg26.jail.google.com/b/slave/chromium-rel-builder/chrome_staging/full-build-win32_50922.zip...
..............
Download complete
Extracting build full-build-win32.zip to c:\b\slave\Chrome_Frame_Tests__ie8_\build\src\build...
Failed to delete 'c:\\b\\slave\\Chrome_Frame_Tests__ie8_\\build\\src\\build\\Release\\servers\\npchrome_frame.dll': trying again
Failed to extract the build.
Try 2: Fetching build from http://codg26.jail.google.com/b/slave/chromium-rel-builder/chrome_staging/full-build-win32_50922.zip...
........
Download complete
Extracting build full-build-win32.zip to c:\b\slave\Chrome_Frame_Tests__ie8_\build\src\build...
Failed to delete 'c:\\b\\slave\\Chrome_Frame_Tests__ie8_\\build\\src\\build\\Release\\servers\\npchrome_frame.dll': trying again
Failed to extract the build.
Try 3: Fetching build from http://codg26.jail.google.com/b/slave/chromium-rel-builder/chrome_staging/full-build-win32_50922.zip...
........
Download complete
Extracting build full-build-win32.zip to c:\b\slave\Chrome_Frame_Tests__ie8_\build\src\build...
Failed to delete 'c:\\b\\slave\\Chrome_Frame_Tests__ie8_\\build\\src\\build\\Release\\servers\\npchrome_frame.dll': trying again
Failed to extract the build.
Traceback (most recent call last):
  File "..\..\..\scripts\slave\extract_build.py", line 107, in main
    chromium_utils.RemoveDirectory(target_build_output_dir)
  File "c:\b\scripts\common\chromium_utils.py", line 248, in RemoveDirectory
    remove_with_retry(os.remove, os.path.join(root, name))
  File "c:\b\scripts\common\chromium_utils.py", line 221, in RemoveWithRetry_win
    return rmfunc(path)
WindowsError: [Error 5] Access is denied: 'c:\\b\\slave\\Chrome_Frame_Tests__ie8_\\build\\src\\build\\Release\\servers\\npchrome_frame.dll'
Traceback (most recent call last):
  File "..\..\..\scripts\slave\extract_build.py", line 107, in main
    chromium_utils.RemoveDirectory(target_build_output_dir)
  File "c:\b\scripts\common\chromium_utils.py", line 248, in RemoveDirectory
    remove_with_retry(os.remove, os.path.join(root, name))
  File "c:\b\scripts\common\chromium_utils.py", line 221, in RemoveWithRetry_win
    return rmfunc(path)
WindowsError: [Error 5] Access is denied: 'c:\\b\\slave\\Chrome_Frame_Tests__ie8_\\build\\src\\build\\Release\\servers\\npchrome_frame.dll'
Traceback (most recent call last):
  File "..\..\..\scripts\slave\extract_build.py", line 107, in main
    chromium_utils.RemoveDirectory(target_build_output_dir)
  File "c:\b\scripts\common\chromium_utils.py", line 248, in RemoveDirectory
    remove_with_retry(os.remove, os.path.join(root, name))
  File "c:\b\scripts\common\chromium_utils.py", line 221, in RemoveWithRetry_win
    return rmfunc(path)
WindowsError: [Error 5] Access is denied: 'c:\\b\\slave\\Chrome_Frame_Tests__ie8_\\build\\src\\build\\Release\\servers\\npchrome_frame.dll'
program finished with exit code -1
elapsedTime=142.438000




The previous build that left the message box doesn't look very happy:
c:\b\slave\Chrome_Frame_Tests__ie8_\build\src\build\Release\chrome_frame_tests.exe --gtest_print_time
.\test_utils.cc(65): error: Expected: ((*register_server)()) succeeds.
  Actual: 0x80070005 Access is denied.

.\test_utils.cc(72): error: Expected: ((*register_npapi_server)()) succeeds.
  Actual: 0x80070005 Access is denied.

[==========] Running 145 tests from 12 test cases.
[----------] Global test environment set-up.
.\test_utils.cc(65): error: Expected: ((*register_server)()) succeeds.
  Actual: 0x80070005 Access is denied.

.\test_utils.cc(72): error: Expected: ((*register_npapi_server)()) succeeds.
  Actual: 0x80070005 Access is denied.

[----------] 6 tests from NoInterferenceTest
[ RUN      ] NoInterferenceTest.FLAKY_SimpleFocus
[       OK ] NoInterferenceTest.FLAKY_SimpleFocus (14268 ms)
[ RUN      ] NoInterferenceTest.FLAKY_JavascriptWindowOpen
.\test\no_interference_test.cc(175): error: Actual function call count doesn't match EXPECT_CALL(new_window_mock, OnQuit())...
         Expected: to be called once
           Actual: never called - unsatisfied and active
.\test\no_interference_test.cc(162): error: Actual function call count doesn't match EXPECT_CALL(new_window_mock, OnNavigateComplete2(_, testing::Field(&VARIANT::bstrVal, testing::StrCaseEq(empty_page_url()))))...
         Expected: to be called once
           Actual: never called - unsatisfied and active
.\test\no_interference_test.cc(155): error: Actual function call count doesn't match EXPECT_CALL(new_window_mock, OnBeforeNavigate2(_, testing::Field(&VARIANT::bstrVal, testing::StrCaseEq(empty_page_url())), _, _, _, _, _))...
         Expected: to be called once
...

Jun 25, 2010
#1 thestig@chromium.org
(No comment was entered for this change.)
Summary: Chrome Frame Tests ie8 bot failing in extract build step
Cc: ana...@chromium.org nsylv...@chromium.org
Jun 25, 2010
#2 thestig@chromium.org
To clarify:
build N fails in some bad way and leaves an IE window open.
build N+1 fails in the extract step, but if I RDP in and clear the message box, then
build N+2 though N+M succeeds
builds N+M+1 fails like build N...

Jul 1, 2010
#3 bugdroid1@gmail.com
The following revision refers to this bug:
    http://src.chromium.org/viewvc/chrome?view=rev&revision=51333 

------------------------------------------------------------------------
r51333 | ananta@chromium.org | 2010-06-30 19:02:34 -0700 (Wed, 30 Jun 2010) | 7 lines
Changed paths:
   M http://src.chromium.org/viewvc/chrome/trunk/src/chrome_frame/test/test_mock_with_web_server.cc?r1=51333&r2=51332

Disabling the ChromeFrame NavigationToRestrictedSite test as it causes IE8 to not terminate at times leading to
extract build failures.

TBR=amit
Bug=47596

Review URL: http://codereview.chromium.org/2838036
------------------------------------------------------------------------

Jul 6, 2010
#4 tommi@chromium.org
(No comment was entered for this change.)
Status: Assigned
Owner: ana...@chromium.org
Aug 9, 2010
#5 a...@chromium.org
(No comment was entered for this change.)
Labels: Mstone-7
Aug 23, 2010
#6 ana...@chromium.org
(No comment was entered for this change.)
Labels: -Mstone-7 Mstone-8
Sep 7, 2010
#7 a...@chromium.org
(No comment was entered for this change.)
Labels: Tests
Sep 14, 2010
#8 bugdroid1@gmail.com
The following revision refers to this bug:
    http://src.chromium.org/viewvc/chrome?view=rev&revision=59470

------------------------------------------------------------------------
r59470 | ananta@chromium.org | Tue Sep 14 17:33:47 PDT 2010

Changed paths:
 M http://src.chromium.org/viewvc/chrome/trunk/src/chrome_frame/test/ie_event_sink.cc?r1=59470&r2=59469&pathrev=59470
 M http://src.chromium.org/viewvc/chrome/trunk/src/chrome_frame/test/chrome_frame_test_utils.cc?r1=59470&r2=59469&pathrev=59470

As a best effort terminate IE at the end of each chrome frame test run on an error.

Bug=47596

Review URL: http://codereview.chromium.org/3432005
------------------------------------------------------------------------
Sep 14, 2010
#9 ana...@chromium.org
(No comment was entered for this change.)
Status: Fixed
Nov 12, 2010
#10 bugdroid1@gmail.com
The following revision refers to this bug:
    http://src.chromium.org/viewvc/chrome?view=rev&revision=65994

------------------------------------------------------------------------
r65994 | amit@chromium.org | Fri Nov 12 13:23:17 PST 2010

Changed paths:
 M http://src.chromium.org/viewvc/chrome/trunk/src/chrome_frame/test/ui_test.cc?r1=65994&r2=65993&pathrev=65994
 M http://src.chromium.org/viewvc/chrome/trunk/src/chrome_frame/test/navigation_test.cc?r1=65994&r2=65993&pathrev=65994

Fix flakiness

Fix expectations and check for locked workstation to make
tests depending on user input non-flaky.

BUG=47596,26549
TEST=FullTabUITest.CtrlN,FullTabUITest.KeyboardBackForward

Review URL: http://codereview.chromium.org/4866002
------------------------------------------------------------------------
Mar 18, 2011
#11 lafo...@chromium.org
When I rdesktop into the bot, there's a copy of IE with a pop up that says "Your current security settings do not allow this file to be downloaded." I think this IE window is keeping a dll open, so we cannot clobber the directory for the next build. If I press ok, the IE window does away and the next build succeeds.

Extract build error is below:

Try 1: Fetching build from http://codg26.jail.google.com/b/slave/chromium-rel-builder/chrome_staging/full-build-win32_50922.zip...
..............
Download complete
Extracting build full-build-win32.zip to c:\b\slave\Chrome_Frame_Tests__ie8_\build\src\build...
Failed to delete 'c:\\b\\slave\\Chrome_Frame_Tests__ie8_\\build\\src\\build\\Release\\servers\\npchrome_frame.dll': trying again
Failed to extract the build.
Try 2: Fetching build from http://codg26.jail.google.com/b/slave/chromium-rel-builder/chrome_staging/full-build-win32_50922.zip...
........
Download complete
Extracting build full-build-win32.zip to c:\b\slave\Chrome_Frame_Tests__ie8_\build\src\build...
Failed to delete 'c:\\b\\slave\\Chrome_Frame_Tests__ie8_\\build\\src\\build\\Release\\servers\\npchrome_frame.dll': trying again
Failed to extract the build.
Try 3: Fetching build from http://codg26.jail.google.com/b/slave/chromium-rel-builder/chrome_staging/full-build-win32_50922.zip...
........
Download complete
Extracting build full-build-win32.zip to c:\b\slave\Chrome_Frame_Tests__ie8_\build\src\build...
Failed to delete 'c:\\b\\slave\\Chrome_Frame_Tests__ie8_\\build\\src\\build\\Release\\servers\\npchrome_frame.dll': trying again
Failed to extract the build.
Traceback (most recent call last):
  File "..\..\..\scripts\slave\extract_build.py", line 107, in main
    chromium_utils.RemoveDirectory(target_build_output_dir)
  File "c:\b\scripts\common\chromium_utils.py", line 248, in RemoveDirectory
    remove_with_retry(os.remove, os.path.join(root, name))
  File "c:\b\scripts\common\chromium_utils.py", line 221, in RemoveWithRetry_win
    return rmfunc(path)
WindowsError: [Error 5] Access is denied: 'c:\\b\\slave\\Chrome_Frame_Tests__ie8_\\build\\src\\build\\Release\\servers\\npchrome_frame.dll'
Traceback (most recent call last):
  File "..\..\..\scripts\slave\extract_build.py", line 107, in main
    chromium_utils.RemoveDirectory(target_build_output_dir)
  File "c:\b\scripts\common\chromium_utils.py", line 248, in RemoveDirectory
    remove_with_retry(os.remove, os.path.join(root, name))
  File "c:\b\scripts\common\chromium_utils.py", line 221, in RemoveWithRetry_win
    return rmfunc(path)
WindowsError: [Error 5] Access is denied: 'c:\\b\\slave\\Chrome_Frame_Tests__ie8_\\build\\src\\build\\Release\\servers\\npchrome_frame.dll'
Traceback (most recent call last):
  File "..\..\..\scripts\slave\extract_build.py", line 107, in main
    chromium_utils.RemoveDirectory(target_build_output_dir)
  File "c:\b\scripts\common\chromium_utils.py", line 248, in RemoveDirectory
    remove_with_retry(os.remove, os.path.join(root, name))
  File "c:\b\scripts\common\chromium_utils.py", line 221, in RemoveWithRetry_win
    return rmfunc(path)
WindowsError: [Error 5] Access is denied: 'c:\\b\\slave\\Chrome_Frame_Tests__ie8_\\build\\src\\build\\Release\\servers\\npchrome_frame.dll'
program finished with exit code -1
elapsedTime=142.438000




The previous build that left the message box doesn't look very happy:
c:\b\slave\Chrome_Frame_Tests__ie8_\build\src\build\Release\chrome_frame_tests.exe --gtest_print_time
.\test_utils.cc(65): error: Expected: ((*register_server)()) succeeds.
  Actual: 0x80070005 Access is denied.

.\test_utils.cc(72): error: Expected: ((*register_npapi_server)()) succeeds.
  Actual: 0x80070005 Access is denied.

[==========] Running 145 tests from 12 test cases.
[----------] Global test environment set-up.
.\test_utils.cc(65): error: Expected: ((*register_server)()) succeeds.
  Actual: 0x80070005 Access is denied.

.\test_utils.cc(72): error: Expected: ((*register_npapi_server)()) succeeds.
  Actual: 0x80070005 Access is denied.

[----------] 6 tests from NoInterferenceTest
[ RUN      ] NoInterferenceTest.FLAKY_SimpleFocus
[       OK ] NoInterferenceTest.FLAKY_SimpleFocus (14268 ms)
[ RUN      ] NoInterferenceTest.FLAKY_JavascriptWindowOpen
.\test\no_interference_test.cc(175): error: Actual function call count doesn't match EXPECT_CALL(new_window_mock, OnQuit())...
         Expected: to be called once
           Actual: never called - unsatisfied and active
.\test\no_interference_test.cc(162): error: Actual function call count doesn't match EXPECT_CALL(new_window_mock, OnNavigateComplete2(_, testing::Field(&VARIANT::bstrVal, testing::StrCaseEq(empty_page_url()))))...
         Expected: to be called once
           Actual: never called - unsatisfied and active
.\test\no_interference_test.cc(155): error: Actual function call count doesn't match EXPECT_CALL(new_window_mock, OnBeforeNavigate2(_, testing::Field(&VARIANT::bstrVal, testing::StrCaseEq(empty_page_url())), _, _, _, _, _))...
         Expected: to be called once
...
Labels: -Area-BuildTools bulkmove Area-Build
Mar 29, 2011
#12 lafo...@chromium.org
(No comment was entered for this change.)
Labels: -Area-ChromeFrame Feature-ChromeFrame
Oct 12, 2012
#13 bugdroid1@chromium.org
This issue has been closed for some time. No one will pay attention to new comments.
If you are seeing this bug or have new data, please click New Issue to start a new bug.
Labels: Restrict-AddIssueComment-Commit
Mar 9, 2013
#14 bugdroid1@chromium.org
(No comment was entered for this change.)
Labels: -Mstone-8 -Tests -Area-Build -Feature-ChromeFrame M-8 Cr-ChromeFrame Build Cr-Tests
Mar 13, 2013
#15 bugdroid1@chromium.org
(No comment was entered for this change.)
Labels: -Restrict-AddIssueComment-Commit Restrict-AddIssueComment-EditIssue
Sign in to add a comment

Powered by Google Project Hosting