-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Subsequent delta updates on Windows fail 2/2 #29469
Comments
Reopening this because my fix in #17882 only fixed one cause of the problem. But at least one other cause still exists. |
That's a different issue, I think you meant to point to the full link of the commit. |
Thank you @stephendonner, yes, I meant brave/brave-core#17882. |
Added OS/macOS label as per the testplan , Widevine functionality needs to be tested on macOS. Specifically:
more info: https://bravesoftware.slack.com/archives/C012NN4F6UU/p1683648954812479 |
Verification
|
Brave | 1.52.94 Chromium: 113.0.5672.92 (Official Build) beta (x86_64) |
---|---|
Revision | b6f521170062a1fa8a82c33fb223b06fec566da1-refs/branch-heads/5672_63@{#10} |
OS | macOS Version 11.7.6 (Build 20G1231) |
Widevine component details:
Confirmed via brave://components
that Widevine Content Decryption Module - Version: 4.10.2652.1
was downloaded, in all cases
brave://components |
WidevineCdm folder |
---|---|
Netflix - PASSED
Steps:
- installed
1.52.94
- launched Brave
- loaded
netflix.com
- clicked on the
Sign In
link - entered my credentials
- clicked on the
Sign In
button - confirmed I got prompted to
Install and run Widevine
- clicked
Allow
- clicked on my user avatar
- played
Our Planet
(https://www.netflix.com/watch/80094026
)
Confirmed the content was streamed in High-Definition (HD) quality (through visual inspection)
Widevine prompt |
HD content |
---|---|
Amazon Prime - PASSED
Steps:
- installed
1.52.94
- launched Brave
- loaded
amazon.com
- clicked on
Prime Video
- logged in
- confirmed I was prompted to
Install and run Widevine
- clicked on
Allow
- clicked to play
John Wick 3
-https://www.amazon.com/gp/video/detail/B07SZZNFRM/ref=atv_hm_hom_c_lZOsi7_2_4?jic=8%7CEgNhbGw%3D
Confirmed the content was streamed in High-Definition (HD) quality, "Best" quality level @ 1080p
(6.48 GB per hour)
Widevine prompt |
HD content |
---|---|
HBOMax - PASSED
Steps:
- installed
1.52.94
- launched Brave
- loaded
hbomax.com
- clicked on the
Sign In
button - clicked
Sign in to your account
- clicked
Sign in With a Provider
button - finally signed in
- clicked on my username/avatar
- confirmed I was prompted to
Install and run Widevine
- clicked on
Moonage Daydream
Confirmed the content was streamed in High-Definition (HD) quality, through visual inspection
Widevine prompt |
HD content |
---|---|
I believe the milestone for this should be 1.53.x and have changed it from 1.52.x. There were two PRs that fix this issue: 17882 is in 1.52.x while 18043 is in 1.53.x. I believe this can only be fully tested with 1.53.x. What do you think @stephendonner @MadhaviSeelam? |
Makes perfect sense to me, @mherrmann 👍 |
@mherrmann we usually keep issues in the milestone were the PRs landed. Ideally, we would have two issues for the above scenario. One via For now, leaving this in |
Removing |
awesome, thanks @mherrmann 👍 Assuming #30551 doesn't block |
No, it doesn't. Not in theory and also not in practice - I just checked from v1.52.109 and v1.52.102 and successfully received updates to v1.53.66. |
Verification
Pre-requisites:
Upgrade
Confirmed Delta updates received via
|
1.53.66 | 1.53.66 Installed logs | Update | 1.53.76 | Delta logs |
---|---|---|---|---|
Upgrade 1.53.71
--> 1.53.74
Note: Confirmed Delta updates not received via brave_installer-delta-x64.exe
for 1.53.71-->
1.53.74`
1.53.66 | 1.53.66 Installed logs | Update | 1.53.76 | Delta logs |
---|---|---|---|---|
Re- verified as following for 1.53.76 -->1.53.82-->1.53.83
- Install Brave 1.53.76 using its offline installer.
- Accepted the UAC prompt to perform a system-wide installation.
- Closed Brave and disconnected from internet so Brave doesn't accidentally get updated.
- Open a Windows command prompt with Administrator privileges (right-click->"Run as Administrator").
- Download the delta installer to go from Brave 1.53.76 to 1.53.82.
- Enter the following in the command prompt: set BraveSoftwareUpdateIsMachine=1.
- Execute the delta installer in the same command prompt. For example by typing: C:\Users\mseel\Downloads\brave_installer-delta-x64.exe --chrome-beta.
- Repeat steps 5 - 7 for the delta installer to go from Brave 1.53.82 to 1.53.83
- Start Brave.
Actual Results:
- Got Deltas for the first update 1.52.76-->1.52.82
- However also see unspecified installation failure error.
- Looks like
1.53.83
is failed to install as I didn't see UAC when I executed delta installer for 1.53.82->1.53.83 - tried updating via brave://settings/help. Got the Update error
- Refresh the page and got full update.
[06/07/23 14:54:47.793][BraveUpdate:goopdate][31768:13864][Installing][display name: Brave Beta][app id: {103BD053-949B-43A8-9120-2E424887DE11}][installer path: C:\Program Files (x86)\BraveSoftware\Update\Install\{6951E7F1-EF83-4EA7-87DF-DB8E739D54E7}\brave_installer-delta-x64.exe][manifest args: --chrome-beta][installer data: ][untrusted data: ][priority: 0]
[06/07/23 14:54:47.793][BraveUpdate:goopdate][31768:13864][Running installer][C:\Program Files (x86)\BraveSoftware\Update\Install\{6951E7F1-EF83-4EA7-87DF-DB8E739D54E7}\brave_installer-delta-x64.exe][--chrome-beta][{103BD053-949B-43A8-9120-2E424887DE11}]
[06/07/23 14:54:58.629][BraveUpdate:goopdate][31768:13864][InstallerResult][{103BD053-949B-43A8-9120-2E424887DE11}][1]
[06/07/23 14:54:58.629][BraveUpdate:goopdate][31768:13864][Installer failed][C:\Program Files (x86)\BraveSoftware\Update\Install\{6951E7F1-EF83-4EA7-87DF-DB8E739D54E7}\brave_installer-delta-x64.exe][--chrome-beta][8]
[06/07/23 14:54:58.629][BraveUpdate:goopdate][31768:13864][InstallApp returned][0x80040902][{103BD053-949B-43A8-9120-2E424887DE11}][type:4][code: 8][Installation failed due to unspecified error. Please download Brave again.][]
ex | ex | ex | ex | ex |
---|---|---|---|---|
image |
Verification
|
Brave | 1.53.83 Chromium: 114.0.5735.110 (Official Build) beta (64-bit) |
---|---|
Revision | 1c828682b85bbc70230a48f5e345489ec447373e-refs/branch-heads/5735_90@{#13} |
OS | Windows 10 Version 22H2 (Build 19045.3031) |
Prerequisites
- Uninstall Brave from your system (all channels)
- Run the following in an Administrator command prompt:
"C:\Program Files (x86)\BraveSoftware\Update\BraveUpdate.exe" /uninstall
- The following registry key should now NOT exist:
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\BraveSoftware\Update\Clients
- Delete the following file if it exists:
C:\ProgramData\BraveSoftware\Update\Log\BraveUpdate.log
- Set the registry value
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\BraveSoftware\UpdateDev\IsEnabledLogToFile
toDWORD
1
Upgrade 1.53.82
-> 1.53.83
- PASSED
Steps:
(continued from Prerequisites
, above)
- installed
https://github.com/brave/brave-browser/releases/download/v1.53.82/BraveBrowserStandaloneBetaSetup.exe
- launched Brave
- opened
brave://settings/help
- clicked
Relaunch
- confirmed Brave updated to latest public-beta version (at the time),
1.53.83
Confirmed delta
updated received via brave_installer-delta-x64.exe
going from 1.53.82
to 1.53.83
1.53.82 |
installed logs |
Update |
1.53.83 |
Delta logs |
---|---|---|---|---|
Upgrade 1.53.76
-> 1.53.x
- FAILED*
NOTE: Fails due to #30748
Steps:
- installed Brave
1.53.76
using its offline installer - accepted the UAC prompt to perform a system-wide installation
- closed Brave and disconnected from Wi-Fi/internet, so Brave doesn't accidentally get updated
- opened a Windows command prompt with Administrator privileges (right-clicked->"Run as Administrator").
- downloaded the delta installer to go from Brave 1.53.76 to 1.53.82.
- entered the following in the command prompt:
set BraveSoftwareUpdateIsMachine=1
- executed the delta installer in the same command prompt. Entered:
C:\Users\steph\Downloads\brave_installer-delta-x64.exe --chrome-beta
- confirmed UAC prompt to update
- repeated steps 5 - 7 for the delta installer to go from Brave 1.53.82 to 1.53.83
- started Brave
example | example | example | example | example |
---|---|---|---|---|
[06/08/23 12:31:48.068][BraveUpdate:goopdate][2500:3744][InstallerResult][{103BD053-949B-43A8-9120-2E424887DE11}][1]
[06/08/23 12:31:48.068][BraveUpdate:goopdate][2500:3744][Installer failed][C:\Program Files (x86)\BraveSoftware\Update\Install\{5F516FFD-95F7-482C-903D-710159AB3B5F}\brave_installer-delta-x64.exe][--chrome-beta][8]
[06/08/23 12:31:48.068][BraveUpdate:goopdate][2500:3744][InstallApp returned][0x80040902][{103BD053-949B-43A8-9120-2E424887DE11}][type:4][code: 8][Installation failed due to unspecified error. Please download Brave again.][]
Encountered:
@mherrmann can you review actual results section for cc: @stephendonner |
Perhaps (probably) due to #30748 (comment)? |
Yes, unfortunately there was the second regression mentioned in #30748 by @stephendonner; I'm sorry. |
No worries, and thanks for confirming. Marking as |
@mherrmann we're still ok for 1.53.x without the fix to #30748, correct? it seems that users still get updated, they just get the full installer? |
@LaurenWags Correct! |
Excellent, thanks for confirming @mherrmann 👍🏻 |
Verified with
Performing Widevine checks as per brave/brave-core#18043 (comment). Netflix - PASSEDCompared Netflix quality on 1.53.91 to 1.52.122 by playing the same video on both. Max (formerly HBOMax) - PASSEDCompared Max quality on 1.53.91 to 1.52.122 by playing the same video on both. Amazon Prime - PASSEDCompared Max quality on 1.53.91 to 1.52.122 by playing the same video on both.
|
Changing to @rebron @kjozwiak @mherrmann ok with this? |
SGTM 👍 No objections re: excluding the above till we have everything fixed/addressed. |
Description
On Windows, a delta update that gets applied after another delta update always fails and falls back to the full update.
Steps to Reproduce
set BraveSoftwareUpdateIsMachine=1
.C:\Users\micha\Downloads\brave_installer-delta-x64.exe
. If you are testing Release, don't append anything. If you are testing Nightly, append--chrome-sxs
. If you are testing Beta, append--chrome-beta
. For example:brave_installer-delta-x64.exe --chrome-beta
.The above delta installer URLs are for the Release channel. For Beta, use and modify https://updates-cdn.bravesoftware.com/delta/Brave-Browser-Beta/x64-be/win/113.1.52.94/113.1.52.92/brave_installer-delta-x64.exe.
Actual result:
The version on
brave://settings/help
is 1.49.128.Expected result:
The version on
brave://settings/help
should be 1.49.132.Reproduces how often:
Always.
Steps to Reproduce more generally
Repeat the steps above for another first, second and third public versions of Brave. You can construct the delta URLs from the version numbers. Note: Deltas are only available for subsequent public versions. For example, there is also a 1.49.131 non-public/pre-release version. But because it isn't public, there is no delta for it.
Related issues
The following issue also affects delta updates on Windows: #28989
The text was updated successfully, but these errors were encountered: