Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Update test fails #3337

Closed
luixxiul opened this issue Aug 23, 2016 · 15 comments
Closed

Update test fails #3337

luixxiul opened this issue Aug 23, 2016 · 15 comments

Comments

@luixxiul
Copy link
Contributor

luixxiul commented Aug 23, 2016

Describe the issue you encountered: Test that updating using BRAVE_UPDATE_VERSION=0.8.3 env variable does not works correctly.

Expected behavior:

Setting a milestone for now.

@luixxiul luixxiul added this to the 0.11.6dev milestone Aug 23, 2016
@aekeus aekeus self-assigned this Aug 24, 2016
@bbondy
Copy link
Member

bbondy commented Aug 25, 2016

@aekeus fixed this here:
57b7dc0

@bbondy bbondy closed this as completed Aug 25, 2016
@aekeus
Copy link
Member

aekeus commented Aug 25, 2016

grep -r 'request(' * | grep -v extensions

ledger.js: request.request({ url: url, responseType: 'blob' }, (err, response, blob) => {
ledger.js: request.request(options, (err, response, body) => {
updater.js: request(queryString, (err, response, body) => {

It looks like we only use the request call in the updater and ledger - so we should be all good.

@aekeus
Copy link
Member

aekeus commented Aug 26, 2016

Tested this on OSX and Win10. OSx is working as expected Windows is not retrieving metadata from the update server.

@aekeus
Copy link
Member

aekeus commented Aug 27, 2016

More details - MacOS is updating correctly. Windows is retrieving metadata in dev, but not in the RC4 release.

2016-08-26T19:38:07.478Z - checkForUpdates
2016-08-26T19:38:07.478Z - lastCheckYMD = 2016-08-26
2016-08-26T19:38:07.478Z - lastCheckWOY = 34
2016-08-26T19:38:07.478Z - lastCheckMonth = 8
2016-08-26T19:38:07.478Z - firstCheckMade = true
2016-08-26T19:38:07.478Z - https://brave-laptop-updates.global.ssl.fastly.net/1/releases/dev/0.8.3/winx64?daily=false&weekly=false&monthly=false&first=false
2016-08-26T19:38:07.853Z - Metadata: {"version":"0.11.5","name":"Brave 0.11.5","pub_date":"2016-08-15T18:31:32.610Z","notes":"Stability and minor bug fixes. More details: https://github.com/brave/browser-laptop/releases/tag/v0.11.5dev\n\nMore data clearing options, tab page previews, printing fix on Windows, memory leak fixes, crash fixes and more: https://github.com/brave/browser-laptop/releases/tag/v0.11.4dev\n\nPDF, zoom, URL bar fixes, and libchromiumcontent 52.0.2743.116. Full details: https://github.com/brave/browser-laptop/releases/tag/v0.11.3dev\n\nLong tap history on back button, search shortcuts like 'yt cat videos', tab and nav cloning, and much more: https://github.com/brave/browser-laptop/releases/tag/v0.11.2dev\n\nPDF viewing, more data clearing options, navigator.registerProtocolHandler support, copy image option and more: https://github.com/brave/browser-laptop/releases/tag/v0.11.1dev\n\nLastPass support, WebRTC fingerprinting protection, Flash click to play if Flash is enabled, and more: https://github.com/brave/browser-laptop/releases/tag/v0.11.0dev\n\nAutocomplete, new suggestions UX, experimental Flash support and more: https://github.com/brave/browser-laptop/releases/v0.10.4dev\n\nUpdate to libchromiumcontent 51.0.2704.84\n\nCrash fix for Windows with some link types.\n\nFingerprint protection in the Bravery panel and various fixes. Full notes: https://github.com/brave/browser-laptop/releases/v0.10.1dev\n\nPer site Bravery panel, error pages, and much more. Full detail: https://github.com/brave/browser-laptop/releases/tag/v0.10.0dev\n\nChromium 50.0.2661.102 and various bug fixes. Full details: https://github.com/brave/browser-laptop/releases/tag/v0.9.6dev\n\nSpell check, script blocking similar to NoScript, and much more. Full details: https://github.com/brave/browser-laptop/releases/tag/v0.9.5dev\n\nStartup fix if profile dir does not exist\n\nDashlane support, external protocol handling, permission prompts, Chromium 50.0.2661.86, and more\n\nWindows 32-bit support, Windows default browser handling, fingerprinting protection, zoom fixes, multi language support, printing fix, and more. Full details: https://github.com/brave/browser-laptop/releases/tag/v0.9.2dev\n\nVarious fixes. Full details: https://github.com/brave/browser-laptop/releases/tag/v0.9.1dev\n\n1Password support, malware protection, phishing protection and more. Details: https://github.com/brave/browser-laptop/releases/tag/v0.9.0dev"}
2016-08-26T19:38:07.853Z - Error: Can not find Squirrel
2016-08-26T20:01:07.492Z - platformBaseUrl = https://brave-laptop-updates.global.ssl.fastly.net/1/releases/dev/0.8.3/winx64
2016-08-26T20:01:07.492Z - updateUrl = https://brave-download.global.ssl.fastly.net/multi-channel/releases/dev/winx64
2016-08-26T20:01:25.382Z - checkForUpdates
2016-08-26T20:01:25.382Z - lastCheckYMD = 2016-08-26
2016-08-26T20:01:25.382Z - lastCheckWOY = 34
2016-08-26T20:01:25.382Z - lastCheckMonth = 8
2016-08-26T20:01:25.382Z - firstCheckMade = true
2016-08-26T20:01:25.382Z - https://brave-laptop-updates.global.ssl.fastly.net/1/releases/dev/0.8.3/winx64?daily=false&weekly=false&monthly=false&first=false
2016-08-26T20:01:25.731Z - null

@bbondy
Copy link
Member

bbondy commented Aug 27, 2016

I'm thinking due to locked file

@aekeus
Copy link
Member

aekeus commented Aug 27, 2016

Yup, just tested on latest RC. Works as expected now.

@aekeus aekeus closed this as completed Aug 27, 2016
@luixxiul
Copy link
Contributor Author

On the 0.11.6 beta5 still I have the same error on Windows 7 64 bit.

@bbondy
Copy link
Member

bbondy commented Aug 28, 2016

Did you mean beta5 @aekeus ?

@bbondy
Copy link
Member

bbondy commented Aug 28, 2016

@luixxiul did you try rebooting and then testing? Please send a new update log after rebooting if it still fails.

@bbondy
Copy link
Member

bbondy commented Aug 28, 2016

Re-opening for now since @luixxiul said something is still up

@bbondy bbondy reopened this Aug 28, 2016
@aekeus
Copy link
Member

aekeus commented Aug 28, 2016

I tested this again on Win 10 64-bit. To ensure I had the latest version I deleted my brave folder within AppData\Local and reinstalled beta5.

screen shot 2016-08-28 at 1 49 35 pm

screen shot 2016-08-28 at 1 50 12 pm

screen shot 2016-08-28 at 1 51 15 pm

@aekeus
Copy link
Member

aekeus commented Aug 28, 2016

It would be good to get an independent verification before I close this, so waiting.

@bbondy
Copy link
Member

bbondy commented Aug 28, 2016

@alexwykoff please try this one

@luixxiul
Copy link
Contributor Author

It works now on the latest beta on Windows 7 64 bit! I think it is OK to close this 👍

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

No branches or pull requests

4 participants