Comments (8)
The issue is that 119
is listed in the stable channel at the moment: https://versionhistory.googleapis.com/v1/chrome/platforms/win64/channels/stable/versions/all/releases. We need to determine whether there are additional properties in the update feed to filter to find the current release version.
from evergreen.
Confirmed here as well just now:
The version of GoogleChrome Stable x64 msi reported by Get-EvergreenApp is 119.0.6045.59 but the downloadeded .msi is version 118.0.5993.118 (which the Chrome download site reports as the correct stable channel version).
PS > Get-EvergreenApp googlechrome
Version : 119.0.6045.59
Architecture : x86
Channel : beta
Type : msi
URI : https://dl.google.com/dl/chrome/install/beta/googlechromebetastandaloneenterprise.msi
Version : 119.0.6045.59
Architecture : x64
Channel : beta
Type : msi
URI : https://dl.google.com/dl/chrome/install/beta/googlechromebetastandaloneenterprise64.msi
Version : 120.0.6091.0
Architecture : x86
Channel : canary
Type : exe
URI : https://dl.google.com/update2/installers/ChromeSetup.exe
Version : 120.0.6073.0
Architecture : x64
Channel : dev
Type : msi
URI : https://dl.google.com/dl/chrome/install/dev/googlechromedevstandaloneenterprise64.msi
Version : 120.0.6073.0
Architecture : x86
Channel : dev
Type : msi
URI : https://dl.google.com/dl/chrome/install/dev/googlechromedevstandaloneenterprise.msi
Version : 118.0.5993.118
Architecture : x86
Channel : extended
Type : msi
URI : https://dl.google.com/dl/chrome/install/googlechromestandaloneenterprise.msi
Version : 118.0.5993.118
Architecture : x64
Channel : extended
Type : msi
URI : https://dl.google.com/dl/chrome/install/googlechromestandaloneenterprise64.msi
Version : 119.0.6045.59
Architecture : x86
Channel : stable
Type : msi
URI : https://dl.google.com/dl/chrome/install/googlechromestandaloneenterprise.msi
Version : 119.0.6045.59
Architecture : x64
Channel : stable
Type : zip
URI : https://dl.google.com/dl/chrome/install/GoogleChromeEnterpriseBundle64.zip
Version : 119.0.6045.59
Architecture : x64
Channel : stable
Type : msi
URI : https://dl.google.com/dl/chrome/install/googlechromestandaloneenterprise64.msi
from evergreen.
Me too.
Evergreen
Version : 119.0.6045.105
Architecture : x64
Channel : stable
Type : zip
URI : https://dl.google.com/dl/chrome/install/GoogleChromeEnterpriseBundle64.zip
MSI
from evergreen.
Mee too - now the reportet stable version is the 120.0.6099.62
Version Architecture Channel Type URI
120.0.6099.62 x64 beta msi https://dl.google.com/dl/chrome/install/beta/googlechromebetastandaloneenterprise64.msi
120.0.6099.62 x86 beta msi https://dl.google.com/dl/chrome/install/beta/googlechromebetastandaloneenterprise.msi
121.0.6166.0 x86 canary exe https://dl.google.com/update2/installers/ChromeSetup.exe
121.0.6156.3 x64 dev msi https://dl.google.com/dl/chrome/install/dev/googlechromedevstandaloneenterprise64.msi
121.0.6156.3 x86 dev msi https://dl.google.com/dl/chrome/install/dev/googlechromedevstandaloneenterprise.msi
118.0.5993.159 x64 extended msi https://dl.google.com/dl/chrome/install/googlechromestandaloneenterprise64.msi
118.0.5993.159 x86 extended msi https://dl.google.com/dl/chrome/install/googlechromestandaloneenterprise.msi
120.0.6099.62 x64 stable msi https://dl.google.com/dl/chrome/install/googlechromestandaloneenterprise64.msi
120.0.6099.62 x64 stable zip https://dl.google.com/dl/chrome/install/GoogleChromeEnterpriseBundle64.zip
120.0.6099.62 x86 stable msi https://dl.google.com/dl/chrome/install/googlechromestandaloneenterprise.msi
the file (googlechromestandaloneenterprise64.msi) behind is the correct stable version 119.0.6045.200
from evergreen.
The stable and beta version have the same version number. 119.0.6045.200 is the correct version for the stable release.
Version : 120.0.6099.62
Architecture : x64
Channel : beta
Type : msi
URI : https://dl.google.com/dl/chrome/install/beta/googlechromebetastandaloneenterprise64.msi
Version : 121.0.6156.3
Architecture : x64
Channel : dev
Type : msi
URI : https://dl.google.com/dl/chrome/install/dev/googlechromedevstandaloneenterprise64.msi
Version : 118.0.5993.159
Architecture : x64
Channel : extended
Type : msi
URI : https://dl.google.com/dl/chrome/install/googlechromestandaloneenterprise64.msi
Version : 120.0.6099.62
Architecture : x64
Channel : stable
Type : msi
URI : https://dl.google.com/dl/chrome/install/googlechromestandaloneenterprise64.msi
from evergreen.
IMHO I think Evergreen is working exactly as it should in this case.
What we are seeing is the fact that Google have released "Chrome 120.0.6099.56 Early Stable Update" - Note the 'Early' in the name. (Previously raised in Issue 562)
https://chromereleases.googleblog.com/2023/11/early-stable-update-for-desktop.html
I think it should be considered that Google are 'Beta testing' their 'Early release stable channels' on a very small number of users (randomly chosen), so I suspect the URL that the software is downloaded from may either serve the Stable Release (at time of writing v119.0.6045.200) to the majority of users or 'Early' Stable Release (at time of writing v120.0.6099.62).
As Google decide by an algorithm which file is served from the Download URI, I'd have to assume the versions detailed in the JSON that Google supplies is at times inaccurate.
My other bug bear is that Google often decide to release two different version numbers at the same time - most recent example: https://chromereleases.googleblog.com/2023/11/stable-channel-update-for-desktop_28.html
So... Evergreen can not be expected to know accurately which version will be served by the Google algorithm
from evergreen.
I have found today that the stable version is 120.0.6099.109 (or .110) where as the extended version is 120.0.6099.110, (https://chromereleases.googleblog.com/2023/12/stable-channel-update-for-desktop_12.html)
The problem is both versions are served from exactly the same URI:
https://dl.google.com/dl/chrome/install/googlechromestandaloneenterprise64.msi
N.B. This location is defined (the same for both) in the Evergreen manifest file "C:\Program Files\WindowsPowerShell\Modules\Evergreen\<version>\Manifests\GoogleChrome.json"
file
Evergreen is currently showing Stable is .109 and extended is .110
Get-EvergreenApp Googlechrome -verbose | Where-Object {$_.Architecture -eq "x64" -and $_.Type -eq "msi" -and ($_.Channel -eq "stable" -or $_.Channel -eq "extended")} | Sort-Object Version
VERBOSE: Function path: C:\Program Files\WindowsPowerShell\Modules\Evergreen\2312.878\Apps\Get-Googlechrome.ps1
VERBOSE: Function exists: C:\Program Files\WindowsPowerShell\Modules\Evergreen\2312.878\Apps\Get-Googlechrome.ps1.
VERBOSE: Dot sourcing: C:\Program Files\WindowsPowerShell\Modules\Evergreen\2312.878\Apps\Get-Googlechrome.ps1.
VERBOSE: Get-FunctionResource: read application resource strings from [C:\Program Files\WindowsPowerShell\Modules\Evergreen\2312.878\Manifests\Googlechrome.json]
VERBOSE: Calling: Get-Googlechrome.
VERBOSE: Get-GoogleChrome: Channel: extended.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: UserAgent: Mozilla/5.0 (Windows NT 10.0; Microsoft Windows 10.0.19045; en-GB) AppleWebKit/534.6 (KHTML, like Gecko) Chrome/7.0.500.0 Safari/534.6.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: Uri: https://versionhistory.googleapis.com/v1/chrome/platforms/win64/channels/extended/versions/all/releases.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: ContentType: application/json; charset=utf-8.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: MaximumRedirection: 2.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: Method: Default.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: DisableKeepAlive: True.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: UseBasicParsing: True.
VERBOSE: Requested HTTP/1.1 GET with 0-byte payload
VERBOSE: Received HTTP/1.1 response of content type application/json of unknown size
VERBOSE: Content encoding: utf-8
VERBOSE: Get-GoogleChrome: Version: 120.0.6099.110
VERBOSE: Get-FileType: found extension: [msi]
VERBOSE: Get-Architecture: Architecture not found in https://dl.google.com/dl/chrome/install/googlechromestandaloneenterprise.msi, defaulting to x86.
VERBOSE: Get-FileType: found extension: [msi]
VERBOSE: Get-GoogleChrome: Channel: stable.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: UserAgent: Mozilla/5.0 (Windows NT 10.0; Microsoft Windows 10.0.19045; en-GB) AppleWebKit/534.6 (KHTML, like Gecko) Chrome/7.0.500.0 Safari/534.6.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: Uri: https://versionhistory.googleapis.com/v1/chrome/platforms/win64/channels/stable/versions/all/releases.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: ContentType: application/json; charset=utf-8.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: MaximumRedirection: 2.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: Method: Default.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: DisableKeepAlive: True.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: UseBasicParsing: True.
VERBOSE: Requested HTTP/1.1 GET with 0-byte payload
VERBOSE: Received HTTP/1.1 response of content type application/json of unknown size
VERBOSE: Content encoding: utf-8
VERBOSE: Get-GoogleChrome: Version: 120.0.6099.109
VERBOSE: Get-FileType: found extension: [msi]
VERBOSE: Get-FileType: found extension: [zip]
VERBOSE: Get-Architecture: Architecture not found in https://dl.google.com/dl/chrome/install/googlechromestandaloneenterprise.msi, defaulting to x86.
VERBOSE: Get-FileType: found extension: [msi]
VERBOSE: Get-GoogleChrome: Channel: beta.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: UserAgent: Mozilla/5.0 (Windows NT 10.0; Microsoft Windows 10.0.19045; en-GB) AppleWebKit/534.6 (KHTML, like Gecko) Chrome/7.0.500.0 Safari/534.6.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: Uri: https://versionhistory.googleapis.com/v1/chrome/platforms/win64/channels/beta/versions/all/releases.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: ContentType: application/json; charset=utf-8.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: MaximumRedirection: 2.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: Method: Default.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: DisableKeepAlive: True.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: UseBasicParsing: True.
VERBOSE: Requested HTTP/1.1 GET with 0-byte payload
VERBOSE: Received HTTP/1.1 response of content type application/json of unknown size
VERBOSE: Content encoding: utf-8
VERBOSE: Get-GoogleChrome: Version: 121.0.6167.16
VERBOSE: Get-FileType: found extension: [msi]
VERBOSE: Get-Architecture: Architecture not found in https://dl.google.com/dl/chrome/install/beta/googlechromebetastandaloneenterprise.msi, defaulting to x86.
VERBOSE: Get-FileType: found extension: [msi]
VERBOSE: Get-GoogleChrome: Channel: dev.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: UserAgent: Mozilla/5.0 (Windows NT 10.0; Microsoft Windows 10.0.19045; en-GB) AppleWebKit/534.6 (KHTML, like Gecko) Chrome/7.0.500.0 Safari/534.6.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: Uri: https://versionhistory.googleapis.com/v1/chrome/platforms/win64/channels/dev/versions/all/releases.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: ContentType: application/json; charset=utf-8.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: MaximumRedirection: 2.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: Method: Default.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: DisableKeepAlive: True.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: UseBasicParsing: True.
VERBOSE: Requested HTTP/1.1 GET with 0-byte payload
VERBOSE: Received HTTP/1.1 response of content type application/json of unknown size
VERBOSE: Content encoding: utf-8
VERBOSE: Get-GoogleChrome: Version: 122.0.6170.5
VERBOSE: Get-FileType: found extension: [msi]
VERBOSE: Get-Architecture: Architecture not found in https://dl.google.com/dl/chrome/install/dev/googlechromedevstandaloneenterprise.msi, defaulting to x86.
VERBOSE: Get-FileType: found extension: [msi]
VERBOSE: Get-GoogleChrome: Channel: canary.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: UserAgent: Mozilla/5.0 (Windows NT 10.0; Microsoft Windows 10.0.19045; en-GB) AppleWebKit/534.6 (KHTML, like Gecko) Chrome/7.0.500.0 Safari/534.6.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: Uri: https://versionhistory.googleapis.com/v1/chrome/platforms/win64/channels/canary/versions/all/releases.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: ContentType: application/json; charset=utf-8.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: MaximumRedirection: 2.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: Method: Default.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: DisableKeepAlive: True.
VERBOSE: Invoke-EvergreenRestMethod: Invoke-RestMethod parameter: UseBasicParsing: True.
VERBOSE: Requested HTTP/1.1 GET with 0-byte payload
VERBOSE: Received HTTP/1.1 response of content type application/json of unknown size
VERBOSE: Content encoding: utf-8
VERBOSE: Get-GoogleChrome: Version: 122.0.6184.0
VERBOSE: Get-Architecture: Architecture not found in https://dl.google.com/update2/installers/ChromeSetup.exe, defaulting to x86.
VERBOSE: Get-FileType: found extension: [exe]
Version : 120.0.6099.109
Architecture : x64
Channel : stable
Type : msi
URI : https://dl.google.com/dl/chrome/install/googlechromestandaloneenterprise64.msi
Version : 120.0.6099.110
Architecture : x64
Channel : extended
Type : msi
URI : https://dl.google.com/dl/chrome/install/googlechromestandaloneenterprise64.msi
Unsure if this helps anyone else, But in my case I don't really care whether it's the stable or extended channel - I just want the latest version of either.
So I have a workaround - I can always grab the latest version number, by returning both extended and stable, then sorting by Version and finally grabbing the last (or highest) version number with the following PowerShell :
Get-EvergreenApp Googlechrome | Where-Object {$_.Architecture -eq "x64" -and $_.Type -eq "msi" -and ($_.Channel -eq "stable" -or $_.Channel -eq "extended")} | Sort-Object Version | Select-Object -Last 1
Version : 120.0.6099.110
Architecture : x64
Channel : extended
Type : msi
URI : https://dl.google.com/dl/chrome/install/googlechromestandaloneenterprise64.msi
If this still doesn't solve the version number reliability, I may resort to a sanity check of the downloaded msi file using Get-FileMetaData
e.g.
((Get-FileMetaData -Folder "<Folder where MSI resides>\file.msi" | Select-Object Comments -ExpandProperty Comments)-split(" "))[0]
from evergreen.
I just hit this issue today also... Stable/Extended showing as 122.0.6261.69 and 122.0.6261.70 respectively, but both from the same URL (which downloads the Extended one ending in .70).
I guess I could just switch to using the Extended channel if this is always the version that gets served up by the fixed URL, but I will have to test that over a time period to see if it's viable.
from evergreen.
Related Issues (20)
- [Update]: Update 1Password with the Windows Installer
- [New app]: 1Password CLI
- [Bug]: Beyond Compare not currently returning any results HOT 4
- [New app]: Proton Drive
- [New app]: Proton VPN HOT 2
- [New app]: Flameshot
- [Feature]: How to contribute on the API project HOT 5
- [New App]: BankID HOT 6
- [Bug]: R Studio does not report the latest version HOT 1
- [Bug]: MasterPackager changed their web feed HOT 2
- [New app]: Qgis HOT 4
- [New app]: Adobe Digital Editons HOT 6
- [Bug]: The github repository filter doesn't catch .msixbundle HOT 1
- [Feature]: MicrosoftTeamsPreview shouldn't be preview anymore :-) HOT 4
- [New app]: OpenSSL HOT 3
- [New app]: Grafana Agent
- [Bug]: MicrosoftOneDrive sha256 is in base64(?) format HOT 4
- [Feature]: New Microsoft Teams Bootstrapper download HOT 1
- Podman repo doesn't include Windows release HOT 1
- [New app]: Rancher Desktop
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from evergreen.