Closed Bug 1571134 Opened 6 years ago Closed 3 years ago

Intermittent testing\firefox-ui\tests\functional\safebrowsing\test_initial_download.py TestSafeBrowsingInitialDownload.test_safe_browsing_initial_download | AssertionError: 'base-track-digest256.vlpset' not found in [u'google4']

Categories

(Toolkit :: Safe Browsing, defect, P5)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1775718

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure, regression)

Filed by: cbrindusan [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=259710145&repo=autoland
Full log: https://queue.taskcluster.net/v1/task/b2GxlnirQEqsU1PNqSs5gA/runs/0/artifacts/public/logs/live_backing.log


[task 2019-08-02T23:03:29.564Z] 23:03:29 INFO - 1564787009560 Marionette DEBUG 3 <- [1,12415,null,{"value":"chrome"}]
[task 2019-08-02T23:03:29.565Z] 23:03:29 INFO - 1564787009561 Marionette DEBUG 3 -> [0,12416,"Marionette:SetContext",{"value":"chrome"}]
[task 2019-08-02T23:03:29.565Z] 23:03:29 INFO - 1564787009561 Marionette DEBUG 3 <- [1,12416,null,{"value":null}]
[task 2019-08-02T23:03:29.568Z] 23:03:29 INFO - 1564787009562 Marionette DEBUG 3 -> [0,12417,"WebDriver:ExecuteScript",{"script":"Components.utils.import("resource://gre/modules/Preferences.jsm");\n\n ... me":"Z:\task_1564780916\build\venv\lib\site-packages\marionette_driver\marionette.py","sandbox":"default","line":732}]
[task 2019-08-02T23:03:29.568Z] 23:03:29 INFO - 1564787009564 Marionette DEBUG 3 <- [1,12417,null,{"value":"1"}]
[task 2019-08-02T23:03:29.568Z] 23:03:29 INFO - 1564787009565 Marionette DEBUG 3 -> [0,12418,"Marionette:SetContext",{"value":"chrome"}]
[task 2019-08-02T23:03:29.568Z] 23:03:29 INFO - 1564787009565 Marionette DEBUG 3 <- [1,12418,null,{"value":null}]
[task 2019-08-02T23:03:29.667Z] 23:03:29 INFO - 1564787009652 Marionette DEBUG 3 -> [0,12419,"Marionette:GetContext",{}]
[task 2019-08-02T23:03:29.667Z] 23:03:29 INFO - 1564787009653 Marionette DEBUG 3 <- [1,12419,null,{"value":"chrome"}]
[task 2019-08-02T23:03:29.667Z] 23:03:29 INFO - 1564787009653 Marionette DEBUG 3 -> [0,12420,"Marionette:SetContext",{"value":"chrome"}]
[task 2019-08-02T23:03:29.667Z] 23:03:29 INFO - 1564787009654 Marionette DEBUG 3 <- [1,12420,null,{"value":null}]
[task 2019-08-02T23:03:29.667Z] 23:03:29 INFO - 1564787009655 Marionette DEBUG 3 -> [0,12421,"WebDriver:ExecuteScript",{"script":"Components.utils.import("resource://gre/modules/Preferences.jsm");\n\n ... me":"Z:\task_1564780916\build\venv\lib\site-packages\marionette_driver\marionette.py","sandbox":"default","line":732}]
[task 2019-08-02T23:03:29.667Z] 23:03:29 INFO - 1564787009656 Marionette DEBUG 3 <- [1,12421,null,{"value":"1564788675936"}]
[task 2019-08-02T23:03:29.668Z] 23:03:29 INFO - 1564787009657 Marionette DEBUG 3 -> [0,12422,"Marionette:SetContext",{"value":"chrome"}]
[task 2019-08-02T23:03:29.668Z] 23:03:29 INFO - 1564787009657 Marionette DEBUG 3 <- [1,12422,null,{"value":null}]
[task 2019-08-02T23:03:29.668Z] 23:03:29 INFO - 1564787009658 Marionette DEBUG 3 -> [0,12423,"Marionette:GetContext",{}]
[task 2019-08-02T23:03:29.668Z] 23:03:29 INFO - 1564787009658 Marionette DEBUG 3 <- [1,12423,null,{"value":"chrome"}]
[task 2019-08-02T23:03:29.668Z] 23:03:29 INFO - 1564787009659 Marionette DEBUG 3 -> [0,12424,"Marionette:SetContext",{"value":"chrome"}]
[task 2019-08-02T23:03:29.668Z] 23:03:29 INFO - 1564787009659 Marionette DEBUG 3 <- [1,12424,null,{"value":null}]
[task 2019-08-02T23:03:29.668Z] 23:03:29 INFO - 1564787009660 Marionette DEBUG 3 -> [0,12425,"WebDriver:ExecuteScript",{"script":"Components.utils.import("resource://gre/modules/Preferences.jsm");\n\n ... me":"Z:\task_1564780916\build\venv\lib\site-packages\marionette_driver\marionette.py","sandbox":"default","line":732}]
[task 2019-08-02T23:03:29.668Z] 23:03:29 INFO - 1564787009662 Marionette DEBUG 3 <- [1,12425,null,{"value":"1"}]
[task 2019-08-02T23:03:29.668Z] 23:03:29 INFO - 1564787009663 Marionette DEBUG 3 -> [0,12426,"Marionette:SetContext",{"value":"chrome"}]
[task 2019-08-02T23:03:29.668Z] 23:03:29 INFO - 1564787009663 Marionette DEBUG 3 <- [1,12426,null,{"value":null}]
[task 2019-08-02T23:03:29.763Z] 23:03:29 INFO - 1564787009752 Marionette DEBUG 3 -> [0,12427,"Marionette:GetContext",{}]
[task 2019-08-02T23:03:29.763Z] 23:03:29 INFO - 1564787009752 Marionette DEBUG 3 <- [1,12427,null,{"value":"chrome"}]
[task 2019-08-02T23:03:29.763Z] 23:03:29 INFO - 1564787009752 Marionette DEBUG 3 -> [0,12428,"Marionette:SetContext",{"value":"chrome"}]
[task 2019-08-02T23:03:29.763Z] 23:03:29 INFO - 1564787009753 Marionette DEBUG 3 <- [1,12428,null,{"value":null}]
[task 2019-08-02T23:03:29.763Z] 23:03:29 INFO - 1564787009754 Marionette DEBUG 3 -> [0,12429,"WebDriver:ExecuteScript",{"script":"Components.utils.import("resource://gre/modules/Preferences.jsm");\n\n ... me":"Z:\task_1564780916\build\venv\lib\site-packages\marionette_driver\marionette.py","sandbox":"default","line":732}]
[task 2019-08-02T23:03:29.763Z] 23:03:29 INFO - 1564787009755 Marionette DEBUG 3 <- [1,12429,null,{"value":"1564788675936"}]
[task 2019-08-02T23:03:29.763Z] 23:03:29 INFO - 1564787009756 Marionette DEBUG 3 -> [0,12430,"Marionette:SetContext",{"value":"chrome"}]
[task 2019-08-02T23:03:29.764Z] 23:03:29 INFO - 1564787009756 Marionette DEBUG 3 <- [1,12430,null,{"value":null}]
[task 2019-08-02T23:03:29.764Z] 23:03:29 INFO - 1564787009757 Marionette DEBUG 3 -> [0,12431,"Marionette:GetContext",{}][task 2019-08-02T23:03:29.764Z] 23:03:29 INFO - 1564787009757 Marionette DEBUG 3 <- [1,12431,null,{"value":"chrome"}]
[task 2019-08-02T23:03:29.764Z] 23:03:29 INFO - 1564787009758 Marionette DEBUG 3 -> [0,12432,"Marionette:SetContext",{"value":"chrome"}]
[task 2019-08-02T23:03:29.764Z] 23:03:29 INFO - 1564787009758 Marionette DEBUG 3 <- [1,12432,null,{"value":null}]
[task 2019-08-02T23:03:29.764Z] 23:03:29 INFO - 1564787009759 Marionette DEBUG 3 -> [0,12433,"WebDriver:ExecuteScript",{"script":"Components.utils.import("resource://gre/modules/Preferences.jsm");\n\n ... me":"Z:\task_1564780916\build\venv\lib\site-packages\marionette_driver\marionette.py","sandbox":"default","line":732}]
[task 2019-08-02T23:03:29.767Z] 23:03:29 INFO - 1564787009761 Marionette DEBUG 3 <- [1,12433,null,{"value":"1"}]
[task 2019-08-02T23:03:29.767Z] 23:03:29 INFO - 1564787009762 Marionette DEBUG 3 -> [0,12434,"Marionette:SetContext",{"value":"chrome"}]
[task 2019-08-02T23:03:29.767Z] 23:03:29 INFO - 1564787009762 Marionette DEBUG 3 <- [1,12434,null,{"value":null}]
[task 2019-08-02T23:03:29.862Z] 23:03:29 INFO - 1564787009851 Marionette DEBUG 3 -> [0,12435,"Marionette:GetContext",{}]
[task 2019-08-02T23:03:29.862Z] 23:03:29 INFO - 1564787009851 Marionette DEBUG 3 <- [1,12435,null,{"value":"chrome"}]
[task 2019-08-02T23:03:29.862Z] 23:03:29 INFO - 1564787009852 Marionette DEBUG 3 -> [0,12436,"Marionette:SetContext",{"value":"chrome"}]
[task 2019-08-02T23:03:29.862Z] 23:03:29 INFO - 1564787009852 Marionette DEBUG 3 <- [1,12436,null,{"value":null}]
[task 2019-08-02T23:03:29.862Z] 23:03:29 INFO - 1564787009853 Marionette DEBUG 3 -> [0,12437,"WebDriver:TakeScreenshot",{"highlights":null,"full":true,"hash":false,"id":null,"scroll":true}]
[task 2019-08-02T23:03:29.901Z] 23:03:29 INFO - 1564787009897 Marionette DEBUG 3 <- [1,12437,null,{"value":"iVBORw0KGgoAAAANSUhEUgAABQAAAAQuCAYAAACDNZAFAAAgAElEQVR4nOzdW5CcdZ3w8bl+r1P1erFXubDKqvfCKjS1e6F7kVJqQ ... AAAABjAhAAAAAAxgQgAAAAAIwJQAAAAAAYE4AAAAAAMCYAAQAAAGBMAAIAAADAmAAEAAAAgDEBCAAAAABjAhAAAAAAxgKWxkLOoxlhagAAAABJRU5ErkJggg=="}]
[task 2019-08-02T23:03:29.908Z] 23:03:29 INFO - 1564787009899 Marionette DEBUG 3 -> [0,12438,"Marionette:SetContext",{"value":"chrome"}]
[task 2019-08-02T23:03:29.908Z] 23:03:29 INFO - 1564787009899 Marionette DEBUG 3 <- [1,12438,null,{"value":null}]
[task 2019-08-02T23:03:29.908Z] 23:03:29 INFO - 1564787009900 Marionette DEBUG 3 -> [0,12439,"Marionette:GetContext",{}]
[task 2019-08-02T23:03:29.908Z] 23:03:29 INFO - 1564787009900 Marionette DEBUG 3 <- [1,12439,null,{"value":"chrome"}]
[task 2019-08-02T23:03:29.908Z] 23:03:29 INFO - 1564787009901 Marionette DEBUG 3 -> [0,12440,"Marionette:SetContext",{"value":"content"}]
[task 2019-08-02T23:03:29.908Z] 23:03:29 INFO - 1564787009901 Marionette DEBUG 3 <- [1,12440,null,{"value":null}]
[task 2019-08-02T23:03:29.908Z] 23:03:29 INFO - 1564787009902 Marionette DEBUG 3 -> [0,12441,"WebDriver:GetPageSource",{}]
[task 2019-08-02T23:03:29.911Z] 23:03:29 INFO - 1564787009905 Marionette DEBUG 3 <- [1,12441,null,{"value":"<html><head></head><body></body></html>"}]
[task 2019-08-02T23:03:29.911Z] 23:03:29 INFO - 1564787009906 Marionette DEBUG 3 -> [0,12442,"Marionette:SetContext",{"value":"chrome"}]
[task 2019-08-02T23:03:29.927Z] 23:03:29 INFO - TEST-UNEXPECTED-FAIL | testing\firefox-ui\tests\functional\safebrowsing\test_initial_download.py TestSafeBrowsingInitialDownload.test_safe_browsing_initial_download | AssertionError: 'base-track-digest256.vlpset' not found in [u'google4']

Component: Firefox UI Tests → Safe Browsing
Product: Testing → Toolkit
QA Contact: hskupin
Version: Version 3 → unspecified
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
See Also: → 1592187

It's not me who is triaging this component but Dimi. Was there a safebrowsing related change lately?

Cosmin, which branches does it affect? And with backfilling you was not able to find a regression range?

Flags: needinfo?(hskupin) → needinfo?(dlee)

The full log actually shows an update error for safebrowsing which is definitely the fault here:

[task 2019-10-29T13:20:14.755Z] 13:20:14 INFO - listmanager: 13:20:14 GMT+0000 (Coordinated Universal Time): update error for mozplugin-block-digest256,ads-track-digest256,social-track-digest256,analytics-track-digest256,content-track-digest256,mozstd-trackwhite-digest256,base-track-digest256,allow-flashallow-digest256,except-flashallow-digest256,block-flash-digest256,except-flash-digest256,block-flashsubdoc-digest256,except-flashsubdoc-digest256,base-fingerprinting-track-digest256,base-cryptomining-track-digest256,social-tracking-protection-digest256,social-tracking-protection-facebook-digest256,social-tracking-protection-linkedin-digest256,social-tracking-protection-twitter-digest256 from https://shavar.services.mozilla.com/downloads?client=navclient-auto-ffox&appver=72.0a&pver=2.2: NS_ERROR_FAILURE

NS_ERROR_FAILURE isn't pretty helpful. Running the test locally I can see the exact same failure and that for Firefox Nightly and Beta too:

mach firefox-ui-functional testing/firefox-ui/tests/functional/safebrowsing/test_initial_download.py -vv --gecko-log -

This is clearly a problem Dimi has to look into.

Also CC'ing Ethan given that this seems to be a wider exposure for our Firefox users. Maybe a remote service is down to get those updates from?

Flags: needinfo?(ettseng)

This seems to have been gone since 1pm yesterday. Maybe it was really some kind of server outage. Not sure whom to ask about that. But leaving the needinfo for Ethan, and Dimi.

YI, the last affected test job on autoland is:
https://treeherder.mozilla.org/#/jobs?repo=autoland&searchStr=firefox-ui&revision=45856f355629679c4f8708fe4d1d97027aa58e8d

Status: REOPENED → RESOLVED
Closed: 6 years ago6 years ago
Resolution: --- → WORKSFORME

I believe this is because of adding too many sites to our tracking protection whitelist, which caused Safe Browsing failing to update when the size of a list was over a certain threshold.
This issue is now fixed so it doesn't occur anymore!

Flags: needinfo?(ettseng)
Flags: needinfo?(dlee)

(In reply to Dimi Lee [:dimi][:dlee] from comment #12)

I believe this is because of adding too many sites to our tracking protection whitelist, which caused Safe Browsing failing to update when the size of a list was over a certain threshold.
This issue is now fixed so it doesn't occur anymore!

Thanks for the investigation!

Ah good to know! Great that we got it fixed.

Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Severity: normal → S3
Status: REOPENED → RESOLVED
Closed: 6 years ago3 years ago
Resolution: --- → DUPLICATE
Severity: S3 → S4
You need to log in before you can comment on or make changes to this bug.