New issue
Advanced search Search tips

Issue 735320 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 1
Type: Bug



Sign in to add a comment

"MHTMLGenerationTest.InvalidPath" is flaky

Project Member Reported by chromium...@appspot.gserviceaccount.com, Jun 21 2017

Issue description

"MHTMLGenerationTest.InvalidPath" is flaky.

This issue was created automatically by the chromium-try-flakes app. Please find the right owner to fix the respective test/step and assign this issue to them. If the step/test is infrastructure-related, please add Infra-Troopers label and change issue status to Untriaged. When done, please remove the issue from Sheriff Bug Queue by removing the Sheriff-Chromium label.

We have detected 3 recent flakes. List of all flakes can be found at https://chromium-try-flakes.appspot.com/all_flake_occurrences?key=ahVzfmNocm9taXVtLXRyeS1mbGFrZXNyKgsSBUZsYWtlIh9NSFRNTEdlbmVyYXRpb25UZXN0LkludmFsaWRQYXRoDA.

Flaky tests should be disabled within 30 minutes unless culprit CL is found and reverted. Please see more details here: https://sites.google.com/a/chromium.org/dev/developers/tree-sheriffs/sheriffing-bug-queues#triaging-auto-filed-flakiness-bugs
 

Comment 1 by vabr@chromium.org, Jun 21 2017

The failure log is:

[ RUN      ] MHTMLGenerationTest.InvalidPath
[4612:4080:0620/152522.507:10326907:INFO:media_foundation_video_encode_accelerator_win.cc(330)] Windows versions earlier than 8 are not supported.
[2488:6216:0620/152522.594:10326985:WARNING:embedded_test_server.cc(219)] Request not handled. Returning 404: /download/local-about-blank-subframes.html
[2488:2476:0620/152525.253:10329653:ERROR:process_win.cc(140)] Unable to terminate process: Access is denied. (0x5)
e:\b\c\b\win\src\content\browser\download\mhtml_generation_browsertest.cc(142): error: Value of: NavigateToURL(shell(), net::FilePathToFileURL(params.file_path))
  Actual: false
Expected: true
Error navigating to the generated MHTML file
e:\b\c\b\win\src\content\browser\download\mhtml_generation_browsertest.cc(385): error:       Expected: file_size()
      Which is: 802
To be equal to: -1
e:\b\c\b\win\src\base\test\histogram_tester.cc(178): error:       Expected: expected_count
      Which is: 1
To be equal to: actual_count
      Which is: 0
Histogram "PageSerialization.MhtmlGeneration.FinalSaveStatus" does not have the right number of samples (1) in the expected bucket (2). It has (0).
[  FAILED  ] MHTMLGenerationTest.InvalidPath, where TypeParam =  and GetParam() =  (2850 ms)
[ RUN      ] MHTMLGenerationTest.InvalidPath
[2428:5256:0620/152953.103:10597491:INFO:media_foundation_video_encode_accelerator_win.cc(330)] Windows versions earlier than 8 are not supported.
[5856:5912:0620/152953.312:10597693:WARNING:embedded_test_server.cc(219)] Request not handled. Returning 404: /download/local-about-blank-subframes.html
e:\b\c\b\win\src\content\browser\download\mhtml_generation_browsertest.cc(142): error: Value of: NavigateToURL(shell(), net::FilePathToFileURL(params.file_path))
  Actual: false
Expected: true
Error navigating to the generated MHTML file
e:\b\c\b\win\src\content\browser\download\mhtml_generation_browsertest.cc(385): error:       Expected: file_size()
      Which is: 802
To be equal to: -1
e:\b\c\b\win\src\base\test\histogram_tester.cc(178): error:       Expected: expected_count
      Which is: 1
To be equal to: actual_count
      Which is: 0
Histogram "PageSerialization.MhtmlGeneration.FinalSaveStatus" does not have the right number of samples (1) in the expected bucket (2). It has (0).
[  FAILED  ] MHTMLGenerationTest.InvalidPath, where TypeParam =  and GetParam() =  (2996 ms)
[ RUN      ] MHTMLGenerationTest.InvalidPath
[5584:5544:0620/153002.220:10606601:INFO:media_foundation_video_encode_accelerator_win.cc(330)] Windows versions earlier than 8 are not supported.
[4376:6868:0620/153002.441:10606819:WARNING:embedded_test_server.cc(219)] Request not handled. Returning 404: /download/local-about-blank-subframes.html
e:\b\c\b\win\src\content\browser\download\mhtml_generation_browsertest.cc(142): error: Value of: NavigateToURL(shell(), net::FilePathToFileURL(params.file_path))
  Actual: false
Expected: true
Error navigating to the generated MHTML file
e:\b\c\b\win\src\content\browser\download\mhtml_generation_browsertest.cc(385): error:       Expected: file_size()
      Which is: 802
To be equal to: -1
e:\b\c\b\win\src\base\test\histogram_tester.cc(178): error:       Expected: expected_count
      Which is: 1
To be equal to: actual_count
      Which is: 0
Histogram "PageSerialization.MhtmlGeneration.FinalSaveStatus" does not have the right number of samples (1) in the expected bucket (2). It has (0).
[  FAILED  ] MHTMLGenerationTest.InvalidPath, where TypeParam =  and GetParam() =  (798 ms)
[ RUN      ] MHTMLGenerationTest.InvalidPath
[6284:4080:0620/153003.086:10607459:INFO:media_foundation_video_encode_accelerator_win.cc(330)] Windows versions earlier than 8 are not supported.
[6220:3600:0620/153003.235:10607615:WARNING:embedded_test_server.cc(219)] Request not handled. Returning 404: /download/local-about-blank-subframes.html
e:\b\c\b\win\src\content\browser\download\mhtml_generation_browsertest.cc(142): error: Value of: NavigateToURL(shell(), net::FilePathToFileURL(params.file_path))
  Actual: false
Expected: true
Error navigating to the generated MHTML file
e:\b\c\b\win\src\content\browser\download\mhtml_generation_browsertest.cc(385): error:       Expected: file_size()
      Which is: 802
To be equal to: -1
e:\b\c\b\win\src\base\test\histogram_tester.cc(178): error:       Expected: expected_count
      Which is: 1
To be equal to: actual_count
      Which is: 0
Histogram "PageSerialization.MhtmlGeneration.FinalSaveStatus" does not have the right number of samples (1) in the expected bucket (2). It has (0).
[  FAILED  ] MHTMLGenerationTest.InvalidPath, where TypeParam =  and GetParam() =  (682 ms)

Comment 2 by vabr@chromium.org, Jun 21 2017

Labels: -Sheriff-Chromium OS-Windows
Owner: carlosk@chromium.org
Status: Assigned (was: Untriaged)
Assigning to carlosk@, author of https://codereview.chromium.org/2866873002 which changed the code of the flaking test recently.

Marking as Windows-only, because the tests only flake there.
Project Member

Comment 3 by bugdroid1@chromium.org, Jun 21 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/a6ac84d4a0cbf393c2360a704e4cce8192ebf633

commit a6ac84d4a0cbf393c2360a704e4cce8192ebf633
Author: Vaclav Brozek <vabr@chromium.org>
Date: Wed Jun 21 09:13:50 2017

Disable the flaky MHTMLGenerationTest.InvalidPath on Win

TBR=carlosk@chromium.org
BUG=735320, 672313 

Change-Id: I2e5edd020e46b4b6ace4ca946f750d34885b723f
Reviewed-on: https://chromium-review.googlesource.com/542836
Reviewed-by: Vaclav Brozek <vabr@chromium.org>
Commit-Queue: Vaclav Brozek <vabr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#481154}
[modify] https://crrev.com/a6ac84d4a0cbf393c2360a704e4cce8192ebf633/content/browser/download/mhtml_generation_browsertest.cc

Sign in to add a comment