Services/TrackingProtection/Shavar Server - Testing: Difference between revisions

Jump to navigation Jump to search
→‎List Additions / Deletions Tests: moztestpub: fix the list names (they should all point to the end-to-end test lists)
(→‎verify disabled: using stage URLs in the expected console output)
(→‎List Additions / Deletions Tests: moztestpub: fix the list names (they should all point to the end-to-end test lists))
Line 697: Line 697:
==== verify enabled ====  
==== verify enabled ====  


* Follow setup instructions for moz(test)pub file here: [[#Setup|Setup]]  
* Follow setup instructions for moztestpub file here: [[#Setup|Setup]]  
* Pull up this test page: https://people.mozilla.org/~fmarier/tracking-test/
* Pull up this test page: https://people.mozilla.org/~fmarier/tracking-test/
* ensure that the resource is blocked:
* ensure that the resource is blocked:
Line 707: Line 707:
==== delete from blacklist ====  
==== delete from blacklist ====  


* Follow setup instructions for moz(test)pub file here: [[#Setup|Setup]]  
* Follow setup instructions for moztestpub file here: [[#Setup|Setup]]  
* Remove the extremetracking.com json blob from the blacklist (track.json) on https://github.com/mozilla-services/shavar-test-lists
* Remove the extremetracking.com json blob from the blacklist (track.json) on https://github.com/mozilla-services/shavar-test-lists
* This will trigger the stage list creation script (Cloud Services QA or Ops team can monitor this in Jenkins)
* This will trigger the stage list creation script (Cloud Services QA or Ops team can monitor this in Jenkins)
Line 714: Line 714:


* Restart Firefox from terminal to force list updates on client
* Restart Firefox from terminal to force list updates on client
* Start Debuggging
* Start Debugging


Verify debugging log (in terminal where you launched Firefox).
Verify debugging log (in terminal where you launched Firefox).
Line 722: Line 722:


'''update URL has registered correctly'''
'''update URL has registered correctly'''
* i.e: listmanager: 09:44:04 GMT-0700 (PDT): registering mozpub-track-digest256 with https://shavar.stage.mozaws.net/downloads?client=SAFEBROWSING_ID&appver=43.0a1&pver=2.2
* i.e: listmanager: 09:44:04 GMT-0700 (PDT): registering moztestpub-track-digest256 with https://shavar.stage.mozaws.net/downloads?client=SAFEBROWSING_ID&appver=43.0a1&pver=2.2


'''Registering whitelist- mozstd-trackwhite-digest256'''
'''Registering whitelist- mozstd-trackwhite-digest256'''
* listmanager: 09:44:04 GMT-0700 (PDT): registering mozpub-trackwhite-digest256 with https://shavar.stage.mozaws.net/downloads?client=SAFEBROWSING_ID&appver=43.0a1&pver=2.2
* listmanager: 09:44:04 GMT-0700 (PDT): registering moztestpub-trackwhite-digest256 with https://shavar.stage.mozaws.net/downloads?client=SAFEBROWSING_ID&appver=43.0a1&pver=2.2


'''Checking for updates on shavar server'''
'''Checking for updates on shavar server'''
Line 731: Line 731:


'''Request to shavar server begins'''
'''Request to shavar server begins'''
* listmanager: 09:44:07 GMT-0700 (PDT): makeUpdateRequestForEntry_: request mozpub-track-digest256;a:1440776223
* listmanager: 09:44:07 GMT-0700 (PDT): makeUpdateRequestForEntry_: request moztestpub-track-digest256;a:1440776223


'''Update success for both lists'''
'''Update success for both lists'''
* listmanager: 09:44:07 GMT-0700 (PDT): update success for mozpub-track-digest256,mozpub-trackwhite-digest256 from https://shavar.stage.mozaws.net/downloads?client=SAFEBROWSING_ID&appver=43.0a1&pver=2.2: 2700
* listmanager: 09:44:07 GMT-0700 (PDT): update success for mozpub-track-digest256,moztestpub-trackwhite-digest256 from https://shavar.stage.mozaws.net/downloads?client=SAFEBROWSING_ID&appver=43.0a1&pver=2.2: 2700


'''VERIFY'''
'''VERIFY'''
Line 781: Line 781:


'''update URL has registered correctly'''
'''update URL has registered correctly'''
* i.e: listmanager: 09:44:04 GMT-0700 (PDT): registering mozpub-track-digest256 with https://shavar.stage.mozaws.net/downloads?client=SAFEBROWSING_ID&appver=43.0a1&pver=2.2
* i.e: listmanager: 09:44:04 GMT-0700 (PDT): registering moztestpub-track-digest256 with https://shavar.stage.mozaws.net/downloads?client=SAFEBROWSING_ID&appver=43.0a1&pver=2.2


'''Registering whitelist- mozpub-trackwhite-digest256'''
'''Registering whitelist- moztestpub-trackwhite-digest256'''
* listmanager: 09:44:04 GMT-0700 (PDT): registering mozpub-trackwhite-digest256 with https://shavar.stage.mozaws.net/downloads?client=SAFEBROWSING_ID&appver=43.0a1&pver=2.2
* listmanager: 09:44:04 GMT-0700 (PDT): registering moztestpub-trackwhite-digest256 with https://shavar.stage.mozaws.net/downloads?client=SAFEBROWSING_ID&appver=43.0a1&pver=2.2


'''Checking for updates on shavar server'''
'''Checking for updates on shavar server'''
Line 792: Line 792:


'''Update success for both lists'''
'''Update success for both lists'''
* listmanager: 09:44:07 GMT-0700 (PDT): update success for mozpub-track-digest256,mozpub-trackwhite-digest256 from https://shavar.stage.mozaws.net/downloads?client=SAFEBROWSING_ID&appver=43.0a1&pver=2.2: 2700
* listmanager: 09:44:07 GMT-0700 (PDT): update success for moztestpub-track-digest256,moztestpub-trackwhite-digest256 from https://shavar.stage.mozaws.net/downloads?client=SAFEBROWSING_ID&appver=43.0a1&pver=2.2: 2700


'''NOTE'''
'''NOTE'''
Confirmed users
908

edits

Navigation menu