Skip to content

Instantly share code, notes, and snippets.

@choco-bot
Created May 8, 2024 03:49
Show Gist options
  • Save choco-bot/0058e9f7db845a8276e489a49979162e to your computer and use it in GitHub Desktop.
Save choco-bot/0058e9f7db845a8276e489a49979162e to your computer and use it in GitHub Desktop.
server-jre v8.0.192 - Failed - Package Tests Results

server-jre v8.0.192 - Failed - Package Test Results

  • https://community.chocolatey.org/packages/server-jre/8.0.192
  • Tested 08 May 2024 03:49:22 +00:00
  • Tested against chocolatey/test-environment 3.0.0 (Windows Server 2019)
  • Tested with the latest version of choco, possibly a beta version.
  • Tested with chocolatey-package-verifier service v1.1.0
  • Install failed. Note that the process may have hung, indicating a not completely silent install. This is usually seen when the last entry in the log is calling the install. This can also happen when a window pops up and needs to be closed to continue.
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\server-jre\server-jre.nupkg" checksum="9DFB48EF6558DA80C87ECFFADB9E20B3" />
<file path="C:\ProgramData\chocolatey\lib\server-jre\server-jre.nuspec" checksum="641E5DF726F83DB3789A1CA3B8365AFB" />
</files>
</fileSnapshot>
2024-05-08 03:48:58,460 3168 [DEBUG] - XmlConfiguration is now operational
2024-05-08 03:48:58,579 3168 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-05-08 03:48:58,579 3168 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-05-08 03:48:58,604 3168 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-05-08 03:48:58,604 3168 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2024-05-08 03:48:58,614 3168 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-05-08 03:48:58,614 3168 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2024-05-08 03:48:58,635 3168 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-05-08 03:48:58,635 3168 [DEBUG] - Adding new type 'RubyGemsService' for type 'IListSourceRunner' from assembly 'choco'
2024-05-08 03:48:58,647 3168 [DEBUG] - Adding new type 'RubyGemsService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-05-08 03:48:58,647 3168 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2024-05-08 03:48:58,647 3168 [DEBUG] - Adding new type 'CacheFolderLockdownValidation' for type 'IValidation' from assembly 'choco'
2024-05-08 03:48:59,354 3168 [DEBUG] - Adding new type 'EmptyOrInvalidUrlMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-08 03:48:59,365 3168 [DEBUG] - Adding new type 'FrameWorkReferencesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-08 03:48:59,365 3168 [DEBUG] - Adding new type 'IconMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-08 03:48:59,365 3168 [DEBUG] - Adding new type 'LicenseMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-08 03:48:59,365 3168 [DEBUG] - Adding new type 'PackageTypesMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-08 03:48:59,365 3168 [DEBUG] - Adding new type 'ReadmeMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-08 03:48:59,365 3168 [DEBUG] - Adding new type 'RepositoryMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-08 03:48:59,386 3168 [DEBUG] - Adding new type 'RequireLicenseAcceptanceMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-08 03:48:59,386 3168 [DEBUG] - Adding new type 'ServicableMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-08 03:48:59,386 3168 [DEBUG] - Adding new type 'VersionMetadataRule' for type 'IMetadataRule' from assembly 'choco'
2024-05-08 03:48:59,396 3168 [DEBUG] - Registering new command 'cache' in assembly 'choco'
2024-05-08 03:48:59,420 3168 [DEBUG] - Registering new command 'list' in assembly 'choco'
2024-05-08 03:48:59,425 3168 [DEBUG] - Registering new command 'template' in assembly 'choco'
2024-05-08 03:48:59,425 3168 [DEBUG] - Registering new command 'export' in assembly 'choco'
2024-05-08 03:48:59,425 3168 [DEBUG] - Registering new command 'info' in assembly 'choco'
2024-05-08 03:48:59,425 3168 [DEBUG] - Registering new command 'help' in assembly 'choco'
2024-05-08 03:48:59,425 3168 [DEBUG] - Registering new command 'config' in assembly 'choco'
2024-05-08 03:48:59,425 3168 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2024-05-08 03:48:59,450 3168 [DEBUG] - Registering new command 'new' in assembly 'choco'
2024-05-08 03:48:59,450 3168 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2024-05-08 03:48:59,457 3168 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2024-05-08 03:48:59,457 3168 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2024-05-08 03:48:59,457 3168 [DEBUG] - Registering new command 'push' in assembly 'choco'
2024-05-08 03:48:59,457 3168 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2024-05-08 03:48:59,457 3168 [DEBUG] - Registering new command 'source' in assembly 'choco'
2024-05-08 03:48:59,457 3168 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2024-05-08 03:48:59,479 3168 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2024-05-08 03:48:59,479 3168 [DEBUG] - Registering new command 'search' in assembly 'choco'
2024-05-08 03:48:59,479 3168 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2024-05-08 03:48:59,491 3168 [DEBUG] - Registering new command 'install' in assembly 'choco'
2024-05-08 03:48:59,742 3168 [INFO ] - ============================================================
2024-05-08 03:49:00,102 3168 [INFO ] - Chocolatey v2.2.2
2024-05-08 03:49:00,131 3168 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2024-05-08 03:49:00,131 3168 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2024-05-08 03:49:00,131 3168 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2024-05-08 03:49:00,163 3168 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install server-jre --version 8.0.192 -fdvy --execution-timeout=2700 --allow-downgrade
2024-05-08 03:49:00,177 3168 [DEBUG] - Received arguments: install server-jre --version 8.0.192 -fdvy --execution-timeout=2700 --allow-downgrade
2024-05-08 03:49:00,336 3168 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2024-05-08 03:49:00,367 3168 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2024-05-08 03:49:00,397 3168 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2024-05-08 03:49:00,629 3168 [DEBUG] - Performing validation checks.
2024-05-08 03:49:00,662 3168 [DEBUG] - Global Configuration Validation Checks:
2024-05-08 03:49:00,662 3168 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2024-05-08 03:49:00,680 3168 [DEBUG] - System State Validation Checks:
2024-05-08 03:49:00,680 3168 [DEBUG] - Reboot Requirement Checks:
2024-05-08 03:49:00,707 3168 [DEBUG] - - Pending Computer Rename = Checked
2024-05-08 03:49:00,707 3168 [DEBUG] - - Pending Component Based Servicing = Checked
2024-05-08 03:49:00,707 3168 [DEBUG] - - Pending Windows Auto Update = Checked
2024-05-08 03:49:00,735 3168 [DEBUG] - - Pending File Rename Operations = Ignored
2024-05-08 03:49:00,735 3168 [DEBUG] - - Pending Windows Package Installer = Checked
2024-05-08 03:49:00,735 3168 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2024-05-08 03:49:00,769 3168 [DEBUG] - Cache Folder Lockdown Checks:
2024-05-08 03:49:00,769 3168 [DEBUG] - - Elevated State = Checked
2024-05-08 03:49:00,789 3168 [DEBUG] - - Folder Exists = Checked
2024-05-08 03:49:00,806 3168 [DEBUG] - - Folder lockdown = Checked
2024-05-08 03:49:00,817 3168 [INFO ] - 3 validations performed. 3 success(es), 0 warning(s), and 0 error(s).
2024-05-08 03:49:00,865 3168 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
2024-05-08 03:49:00,865 3168 [DEBUG] -
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
2024-05-08 03:49:00,897 3168 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
SourceType='normal'|ShowOnlineHelp='False'|Debug='True'|Verbose='True'|
Trace='False'|Force='True'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|DisableCompatibilityChecks='False'|
AcceptLicense='True'|AllowUnofficialBuild='False'|Input='server-jre'|
Version='8.0.192'|AllVersions='False'|
SkipPackageInstallProvider='False'|SkipHookScripts='False'|
PackageNames='server-jre'|Prerelease='False'|ForceX86='False'|
OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
CacheExpirationInMinutes='30'|AllowDowngrade='True'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='2.2.2.0'|
Information.ChocolateyProductVersion='2.2.2'|
Information.FullName='choco, Version=2.2.2.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
Information.UserName='vagrant'|
Information.UserDomainName='WIN-MPPTIJQT65D'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|
Information.IsLicensedAssemblyLoaded='False'|
Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\vagrant'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='False'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
ListCommand.LocalOnly='False'|ListCommand.IdOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
ListCommand.ByTagOnly='False'|ListCommand.IdStartsWith='False'|
ListCommand.OrderByPopularity='False'|ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
ListCommand.ExplicitPageSize='False'|
ListCommand.ExplicitSource='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='Unknown'|
ApiKeyCommand.Command='Unknown'|PinCommand.Command='Unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|CacheCommand.Command='Unknown'|
CacheCommand.RemoveExpiredItemsOnly='False'|
2024-05-08 03:49:00,914 3168 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2024-05-08 03:49:00,927 3168 [INFO ] - Installing the following packages:
2024-05-08 03:49:00,927 3168 [INFO ] - server-jre
2024-05-08 03:49:00,945 3168 [INFO ] - By installing, you accept licenses for the packages.
2024-05-08 03:49:00,959 3168 [DEBUG] - Current environment values (may contain sensitive data):
2024-05-08 03:49:00,959 3168 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
2024-05-08 03:49:00,959 3168 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2024-05-08 03:49:00,978 3168 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
2024-05-08 03:49:00,978 3168 [DEBUG] - * 'ChocolateyLastPathUpdate'='133595608804514180' ('User')
2024-05-08 03:49:00,992 3168 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
2024-05-08 03:49:00,992 3168 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
2024-05-08 03:49:00,992 3168 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
2024-05-08 03:49:00,992 3168 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;' ('Machine')
2024-05-08 03:49:01,010 3168 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
2024-05-08 03:49:01,010 3168 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
2024-05-08 03:49:01,020 3168 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
2024-05-08 03:49:01,020 3168 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
2024-05-08 03:49:01,020 3168 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
2024-05-08 03:49:01,146 3168 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
2024-05-08 03:49:01,146 3168 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
2024-05-08 03:49:01,146 3168 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='10' ('Machine')
2024-05-08 03:49:01,146 3168 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
2024-05-08 03:49:01,146 3168 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 85 Stepping 7, GenuineIntel' ('Machine')
2024-05-08 03:49:01,146 3168 [DEBUG] - * 'PROCESSOR_REVISION'='5507' ('Machine')
2024-05-08 03:49:01,167 3168 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
2024-05-08 03:49:01,612 3168 [DEBUG] - Running list with the following filter = ''
2024-05-08 03:49:01,612 3168 [DEBUG] - --- Start of List ---
2024-05-08 03:49:01,675 3168 [DEBUG] - Resolving resource PackageSearchResource for source C:\ProgramData\chocolatey\lib
2024-05-08 03:49:02,116 3168 [DEBUG] - chocolatey 2.2.2
2024-05-08 03:49:02,132 3168 [DEBUG] - chocolatey-windowsupdate.extension 1.0.5
2024-05-08 03:49:02,132 3168 [DEBUG] - KB2919355 1.0.20160915
2024-05-08 03:49:02,150 3168 [DEBUG] - KB2919442 1.0.20160915
2024-05-08 03:49:02,150 3168 [DEBUG] - KB2999226 1.0.20181019
2024-05-08 03:49:02,162 3168 [DEBUG] - KB3035131 1.0.3
2024-05-08 03:49:02,162 3168 [DEBUG] - KB3118401 1.0.5
2024-05-08 03:49:02,191 3168 [DEBUG] - virtualbox-guest-additions-guest.install 7.0.18
2024-05-08 03:49:02,191 3168 [DEBUG] - --- End of List ---
2024-05-08 03:49:02,214 3168 [DEBUG] - Resolving resource PackageMetadataResource for source c:\cached-packages
2024-05-08 03:49:02,911 3168 [DEBUG] - Resolving resource PackageMetadataResource for source https://community.chocolatey.org/api/v2/
2024-05-08 03:49:03,740 3168 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='server-jre',Version='8.0.192')
2024-05-08 03:49:04,005 3168 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='server-jre',Version='8.0.192') 249ms
2024-05-08 03:49:04,409 3168 [DEBUG] - Resolving resource DependencyInfoResource for source c:\cached-packages
2024-05-08 03:49:05,707 3168 [DEBUG] - Resolving resource DependencyInfoResource for source https://community.chocolatey.org/api/v2/
2024-05-08 03:49:05,726 3168 [INFO ] - [NuGet] CACHE https://community.chocolatey.org/api/v2/Packages(Id='server-jre',Version='8.0.192')
2024-05-08 03:49:06,866 3168 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/$metadata
2024-05-08 03:49:06,928 3168 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/$metadata 53ms
2024-05-08 03:49:07,071 3168 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/FindPackagesById()?id='server-jre8'&semVerLevel=2.0.0
2024-05-08 03:49:07,409 3168 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/FindPackagesById()?id='server-jre8'&semVerLevel=2.0.0 345ms
2024-05-08 03:49:07,583 3168 [INFO ] - [NuGet] GET http://community.chocolatey.org/api/v2/FindPackagesById?id='server-jre8'&$skiptoken='1707592715107','8.0.192','server-jre8'
2024-05-08 03:49:07,941 3168 [INFO ] - [NuGet] OK http://community.chocolatey.org/api/v2/FindPackagesById?id='server-jre8'&$skiptoken='1707592715107','8.0.192','server-jre8' 341ms
2024-05-08 03:49:09,163 3168 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/FindPackagesById()?id='wget'&semVerLevel=2.0.0
2024-05-08 03:49:09,490 3168 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/FindPackagesById()?id='wget'&semVerLevel=2.0.0 324ms
2024-05-08 03:49:09,584 3168 [INFO ] - [NuGet] GET http://community.chocolatey.org/api/v2/FindPackagesById?id='wget'&$skiptoken='1711308805343','1.21.1','wget'
2024-05-08 03:49:09,945 3168 [INFO ] - [NuGet] OK http://community.chocolatey.org/api/v2/FindPackagesById?id='wget'&$skiptoken='1711308805343','1.21.1','wget' 352ms
2024-05-08 03:49:10,647 3168 [INFO ] - [NuGet] Resolving dependency information took 0 ms
2024-05-08 03:49:10,678 3168 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/Packages(Id='server-jre8',Version='8.0.202')
2024-05-08 03:49:10,731 3168 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/Packages(Id='server-jre8',Version='8.0.202') 48ms
2024-05-08 03:49:10,742 3168 [DEBUG] - Resolving resource DownloadResource for source https://community.chocolatey.org/api/v2/
2024-05-08 03:49:10,836 3168 [DEBUG] - Attempting to delete file "".
2024-05-08 03:49:10,883 3168 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/server-jre8/8.0.202
2024-05-08 03:49:11,273 3168 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/server-jre8/8.0.202 383ms
2024-05-08 03:49:11,353 3168 [INFO ] - [NuGet] Acquiring lock for the installation of server-jre8 8.0.202
2024-05-08 03:49:11,429 3168 [INFO ] - [NuGet] Acquired lock for the installation of server-jre8 8.0.202
2024-05-08 03:49:12,100 3168 [INFO ] - [NuGet] Installed server-jre8 8.0.202 from https://community.chocolatey.org/api/v2/ with content hash gnBVD8cKU6UIUxiIxvfxro+PWxJi4PC4RhD3SU78GEbkbXHEaQ2TinWghOLi5RyuSZMNE9dHwzkwOjBCMrLszg==.
2024-05-08 03:49:12,166 3168 [INFO ] - [NuGet] Adding package 'server-jre8.8.0.202' to folder 'C:\ProgramData\chocolatey\lib'
2024-05-08 03:49:12,273 3168 [INFO ] - [NuGet] Added package 'server-jre8.8.0.202' to folder 'C:\ProgramData\chocolatey\lib'
2024-05-08 03:49:12,317 3168 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\server-jre8/8.0.202\server-jre8.8.0.202.nupkg".
2024-05-08 03:49:12,317 3168 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\server-jre8/8.0.202\.nupkg.metadata".
2024-05-08 03:49:12,335 3168 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\chocolatey\ChocolateyScratch\server-jre8/8.0.202\server-jre8.8.0.202.nupkg.sha512".
2024-05-08 03:49:12,335 3168 [INFO ] -
server-jre8 v8.0.202 (forced) [Approved]
2024-05-08 03:49:12,440 3168 [INFO ] - server-jre8 package files install completed. Performing other installation steps.
2024-05-08 03:49:12,503 3168 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\server-jre8\tools\chocolateyInstall.ps1':
2024-05-08 03:49:12,535 3168 [DEBUG] - $packageName = $env:chocolateyPackageName
# The buildNumber should be easier to determine or pass from the nuspec
$buildNumber = "08"
$checksum = "7c46e565a353f4b318760aa7082a435458f9bba7e5b89d9e3fd6c190242093d9"
$downloadHash = "1961070e4c9b4e26a04e7f5a083f551e"
# Discard any -pre/-beta/-testing appended to avoid releasing an unfinished on Chocolatey.org
$semanticVersion = $env:chocolateyPackageVersion.Split("-")[0]
#8.0.xx to jdk1.8.0_xx
$versionArray = $semanticVersion.Split(".")
$majorVersion = $versionArray[0]
$minorVersion = $versionArray[1]
$updateVersion = $versionArray[2]
$folderVersion = "jdk1.$majorVersion.$($minorVersion)_$updateVersion"
$fileNameBase = "server-jre-$($majorVersion)u$($updateVersion)-windows-x64"
$fileName = "$fileNameBase.tar.gz"
# Oracle got clever and is throwing a hash/sessionID into the path
$url = "http://download.oracle.com/otn-pub/java/jdk/$($majorVersion)u$($updateVersion)-b$buildNumber/$($downloadHash)/$fileName"
$osBitness = Get-ProcessorBits
# 32-bit not supported
if ($osBitness -eq 32) {
Throw "The package $packageName is only available for 64-bit architectures"
}
$arguments = @{}
# Now we can use the $env:chocolateyPackageParameters inside the Chocolatey package
$packageParameters = $env:chocolateyPackageParameters
# Default value
# uses deprecated Get-BinRoot
#$InstallationPath = Join-Path (Get-BinRoot) "Java/server-jre"
$InstallationPath = Join-Path (Get-ToolsLocation) "Java/server-jre"
$ForceEnvVars = $false
$EnvVariableType = "Machine"
# Now parse the packageParameters using good old regular expression
if ($packageParameters) {
$match_pattern = "\/(?<option>([a-zA-Z0-9]+)):(?<value>([`"'])?([a-zA-Z0-9- \(\)\s_\\:\.]+)([`"'])?)|\/(?<option>([a-zA-Z]+))"
$option_name = 'option'
$value_name = 'value'
if ($packageParameters -match $match_pattern ){
$results = $packageParameters | Select-String $match_pattern -AllMatches
$results.matches | % {
$arguments.Add(
$_.Groups[$option_name].Value.Trim(),
$_.Groups[$value_name].Value.Trim())
}
}
else
{
Throw "Package Parameters were found but were invalid (REGEX Failure)"
}
if ($arguments.ContainsKey("InstallationPath")) {
Write-Host "InstallationPath Argument Found"
$InstallationPath = $arguments["InstallationPath"]
}
if ($arguments.ContainsKey("Force")) {
Write-Host "Force Argument Found"
$ForceEnvVars = $true
}
if ($arguments.ContainsKey("User")) {
Write-Host "User Argument Found"
$EnvVariableType = "User"
}
} else {
Write-Debug "No Package Parameters Passed in"
}
Write-Debug "Installing to $InstallationPath, Params: ForceEnvVars=$ForceEnvVars, EnvVariableType=$EnvVariableType"
# Future state, write install options file to use in uninstall (ie /Machine or /User /InstallationPath)
# This would be easier if installed with Install-ChocolateyZipFile and writing the parameters to $toolsDir aka Invocation.
#Create Temp Folder
$chocTempDir = Join-Path $env:TEMP "chocolatey"
$tempDir = Join-Path $chocTempDir "$packageName"
if ($env:packageVersion -ne $null) {$tempDir = Join-Path $tempDir "$env:packageVersion"; }
if (![System.IO.Directory]::Exists($tempDir)) {[System.IO.Directory]::CreateDirectory($tempDir) | Out-Null}
$tarGzFile = "$tempDir\$fileName"
$tarFile = "$tempDir\$fileNameBase.tar"
if ([System.IO.File]::Exists($tarGzFile)) {
Write-Debug "Checking if existing file $tarGzFile matches checksum"
#Check sum of existing file
Try {
Get-ChecksumValid -File $tarGzFile -Checksum $checksum -ChecksumType SHA256 -ErrorAction Stop
}
Catch{
Write-Debug "Checksum failed, deleting old file $tarGzFile"
Remove-Item $tarGzFile
}
}
# Added some .NET code to remove the dependency on wget
# If chocolatey >= 0.9.10 could use Get-ChocolateyWebFile with $options
# Currently investigating a bug where it doesn't seem to pass the cookie in properly
#if ($env:ChocolateyVersion -gt "0.9.10") {
#$options =
#@{
# Headers = @{
# Cookie = " oraclelicense=accept-securebackup-cookie";
# }
#}
#
#Write-Debug "Downloading file $tarGzFile using Get-ChocolateyWebFile"
#Get-ChocolateyWebFile -PackageName $packageName -FileFullPath $tarGzFile -Url $url -Checksum $checksum -ChecksumType SHA256 -Options $options
# } # End Get-ChocolateyWebFile
#
# } else {
# Native .NET download for choco < 0.9.10
Write-Debug "Downloading file $tarGzFile using System.Net.WebClient"
$wc = New-Object System.Net.WebClient
$wc.Headers.Add([System.Net.HttpRequestHeader]::Cookie, "oraclelicense=accept-securebackup-cookie");
$wc.Proxy.Credentials = [System.Net.CredentialCache]::DefaultNetworkCredentials
$wc.DownloadFile($url, $tarGzFile)
Get-ChecksumValid -File $tarGzFile -Checksum $checksum -ChecksumType SHA256
# } # End native .NET block
# Wget dependency block {
#if (![System.IO.File]::Exists($tarGzFile)) {
# $wget = Join-Path "$env:ChocolateyInstall" '\bin\wget.exe'
# Write-Debug "wget found at `'$wget`'"
#
# #Download file. Must set Cookies to accept license
# Write-Debug "Downloading file $tarGzFile"
# .$wget --quiet --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" $url -O $tarGzFile
# Get-ChecksumValid -File $tarGzFile -Checksum $checksum -ChecksumType SHA256
#}
# } # End wget dependency block
#Extract gz to .tar File
Get-ChocolateyUnzip $tarGzFile $tempDir
#Extract tar to destination
Get-ChocolateyUnzip $tarFile $InstallationPath
$newJavaHome = Join-Path $InstallationPath $folderVersion
$oldJavaHome = Get-EnvironmentVariable "JAVA_HOME" $EnvVariableType
if(($oldJavaHome -eq "") -or $ForceEnvVars) {
Write-Host "Setting JAVA_HOME to $newJavaHome"
Install-ChocolateyEnvironmentVariable -variableName "JAVA_HOME" -variableValue $newJavaHome -variableType $EnvVariableType
}
else {
Write-Debug "JAVA_HOME already set to $oldJavaHome."
}
# Need to do an existance check to see if the variable version is already in PATH
Install-ChocolateyPath '%JAVA_HOME%\bin' $EnvVariableType
Get-EnvironmentVariable -Name 'PATH' -Scope $EnvVariableType -PreserveVariables
#Remove-Item -Recurse $tempDir
2024-05-08 03:49:12,599 3168 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\server-jre8\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
2024-05-08 03:49:12,630 3168 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2024-05-08 03:49:13,649 3168 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
2024-05-08 03:49:14,349 3168 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-05-08 03:49:14,368 3168 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-05-08 03:49:14,383 3168 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-05-08 03:49:14,383 3168 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-05-08 03:49:14,399 3168 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-05-08 03:49:14,399 3168 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-05-08 03:49:14,415 3168 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2024-05-08 03:49:14,430 3168 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2024-05-08 03:49:14,430 3168 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-05-08 03:49:14,445 3168 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-05-08 03:49:14,445 3168 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-05-08 03:49:14,463 3168 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-05-08 03:49:14,477 3168 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-05-08 03:49:14,477 3168 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-05-08 03:49:14,477 3168 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-05-08 03:49:14,497 3168 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-05-08 03:49:14,497 3168 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-05-08 03:49:14,509 3168 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-05-08 03:49:14,509 3168 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-05-08 03:49:14,509 3168 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-05-08 03:49:14,509 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-05-08 03:49:14,509 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-05-08 03:49:14,529 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-05-08 03:49:14,529 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-05-08 03:49:14,540 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-05-08 03:49:14,540 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2024-05-08 03:49:14,553 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-05-08 03:49:14,553 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-05-08 03:49:14,553 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-05-08 03:49:14,573 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-05-08 03:49:14,585 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-05-08 03:49:14,600 3168 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-05-08 03:49:14,615 3168 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2024-05-08 03:49:14,632 3168 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-05-08 03:49:14,651 3168 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-05-08 03:49:14,679 3168 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2024-05-08 03:49:14,708 3168 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-05-08 03:49:14,708 3168 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-05-08 03:49:14,725 3168 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-05-08 03:49:14,725 3168 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-05-08 03:49:14,725 3168 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2024-05-08 03:49:14,725 3168 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-05-08 03:49:14,754 3168 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-05-08 03:49:14,754 3168 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-05-08 03:49:14,754 3168 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-05-08 03:49:14,754 3168 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-05-08 03:49:14,754 3168 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-05-08 03:49:14,754 3168 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-05-08 03:49:14,784 3168 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-05-08 03:49:14,786 3168 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-05-08 03:49:14,786 3168 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-05-08 03:49:14,868 3168 [DEBUG] - Loading community extensions
2024-05-08 03:49:14,930 3168 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2024-05-08 03:49:14,950 3168 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2024-05-08 03:49:15,133 3168 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-05-08 03:49:15,133 3168 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-05-08 03:49:15,163 3168 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-05-08 03:49:15,163 3168 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-05-08 03:49:15,163 3168 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2024-05-08 03:49:15,193 3168 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2024-05-08 03:49:15,193 3168 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyConfigValue'.
2024-05-08 03:49:15,193 3168 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
2024-05-08 03:49:15,220 3168 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2024-05-08 03:49:15,225 3168 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2024-05-08 03:49:15,225 3168 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2024-05-08 03:49:15,225 3168 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2024-05-08 03:49:15,225 3168 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2024-05-08 03:49:15,255 3168 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2024-05-08 03:49:15,255 3168 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2024-05-08 03:49:15,255 3168 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2024-05-08 03:49:15,255 3168 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2024-05-08 03:49:15,255 3168 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2024-05-08 03:49:15,255 3168 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2024-05-08 03:49:15,284 3168 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2024-05-08 03:49:15,287 3168 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2024-05-08 03:49:15,287 3168 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2024-05-08 03:49:15,317 3168 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2024-05-08 03:49:15,336 3168 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2024-05-08 03:49:15,336 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2024-05-08 03:49:15,356 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2024-05-08 03:49:15,356 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2024-05-08 03:49:15,372 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2024-05-08 03:49:15,372 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2024-05-08 03:49:15,387 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2024-05-08 03:49:15,402 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2024-05-08 03:49:15,402 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2024-05-08 03:49:15,402 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2024-05-08 03:49:15,419 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2024-05-08 03:49:15,419 3168 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2024-05-08 03:49:15,429 3168 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2024-05-08 03:49:15,445 3168 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2024-05-08 03:49:15,445 3168 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2024-05-08 03:49:15,460 3168 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2024-05-08 03:49:15,460 3168 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2024-05-08 03:49:15,460 3168 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2024-05-08 03:49:15,460 3168 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-05-08 03:49:15,484 3168 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2024-05-08 03:49:15,492 3168 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2024-05-08 03:49:15,492 3168 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2024-05-08 03:49:15,513 3168 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2024-05-08 03:49:15,513 3168 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2024-05-08 03:49:15,513 3168 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2024-05-08 03:49:15,527 3168 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2024-05-08 03:49:15,527 3168 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2024-05-08 03:49:15,527 3168 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2024-05-08 03:49:15,527 3168 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2024-05-08 03:49:15,548 3168 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2024-05-08 03:49:15,553 3168 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2024-05-08 03:49:15,553 3168 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2024-05-08 03:49:15,553 3168 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2024-05-08 03:49:15,553 3168 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2024-05-08 03:49:15,553 3168 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2024-05-08 03:49:15,579 3168 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2024-05-08 03:49:15,584 3168 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyConfigValue'.
2024-05-08 03:49:15,584 3168 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
2024-05-08 03:49:15,584 3168 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2024-05-08 03:49:15,611 3168 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2024-05-08 03:49:15,616 3168 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2024-05-08 03:49:15,616 3168 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2024-05-08 03:49:15,616 3168 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2024-05-08 03:49:15,616 3168 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2024-05-08 03:49:15,616 3168 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2024-05-08 03:49:15,646 3168 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2024-05-08 03:49:15,646 3168 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2024-05-08 03:49:15,646 3168 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2024-05-08 03:49:15,646 3168 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2024-05-08 03:49:15,646 3168 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2024-05-08 03:49:15,646 3168 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2024-05-08 03:49:15,646 3168 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2024-05-08 03:49:15,679 3168 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2024-05-08 03:49:15,679 3168 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2024-05-08 03:49:15,679 3168 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2024-05-08 03:49:15,679 3168 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2024-05-08 03:49:15,703 3168 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2024-05-08 03:49:15,710 3168 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2024-05-08 03:49:15,710 3168 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2024-05-08 03:49:15,710 3168 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2024-05-08 03:49:15,710 3168 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2024-05-08 03:49:15,710 3168 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2024-05-08 03:49:15,710 3168 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2024-05-08 03:49:15,743 3168 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2024-05-08 03:49:15,743 3168 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2024-05-08 03:49:15,743 3168 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2024-05-08 03:49:15,743 3168 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2024-05-08 03:49:15,743 3168 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2024-05-08 03:49:15,765 3168 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2024-05-08 03:49:15,765 3168 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2024-05-08 03:49:15,774 3168 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2024-05-08 03:49:15,774 3168 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2024-05-08 03:49:15,774 3168 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2024-05-08 03:49:15,794 3168 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2024-05-08 03:49:15,794 3168 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2024-05-08 03:49:15,794 3168 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2024-05-08 03:49:15,808 3168 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2024-05-08 03:49:15,808 3168 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2024-05-08 03:49:15,808 3168 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2024-05-08 03:49:15,825 3168 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2024-05-08 03:49:15,825 3168 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2024-05-08 03:49:15,825 3168 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2024-05-08 03:49:15,825 3168 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2024-05-08 03:49:15,839 3168 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2024-05-08 03:49:15,839 3168 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2024-05-08 03:49:15,839 3168 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2024-05-08 03:49:15,857 3168 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2024-05-08 03:49:15,962 3168 [DEBUG] - ---------------------------Script Execution---------------------------
2024-05-08 03:49:15,982 3168 [DEBUG] - Running 'ChocolateyScriptRunner' for server-jre8 v8.0.202 with packageScript 'C:\ProgramData\chocolatey\lib\server-jre8\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\server-jre8', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
2024-05-08 03:49:16,025 3168 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\server-jre8\tools\chocolateyInstall.ps1'
2024-05-08 03:49:16,131 3168 [DEBUG] - Running Get-ProcessorBits
2024-05-08 03:49:16,184 3168 [DEBUG] - Running Get-ToolsLocation
2024-05-08 03:49:16,290 3168 [DEBUG] - Running Set-EnvironmentVariable -Name 'ChocolateyToolsLocation' -Value 'C:\tools' -Scope 'User'
2024-05-08 03:49:16,339 3168 [DEBUG] - Registry type for ChocolateyToolsLocation is/will be String
2024-05-08 03:49:16,445 3168 [DEBUG] -
using System;
using System.Runtime.InteropServices;
namespace Win32
{
public class NativeMethods
{
[DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)]
public static extern IntPtr SendMessageTimeout(
IntPtr hWnd, uint Msg, UIntPtr wParam, string lParam,
uint fuFlags, uint uTimeout, out UIntPtr lpdwResult);
}
}
2024-05-08 03:49:16,823 3168 [DEBUG] - Running Update-SessionEnvironment
2024-05-08 03:49:16,841 3168 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2024-05-08 03:49:17,370 3168 [DEBUG] - No Package Parameters Passed in
2024-05-08 03:49:17,370 3168 [DEBUG] - Installing to C:\tools\Java\server-jre, Params: ForceEnvVars=False, EnvVariableType=Machine
2024-05-08 03:49:17,402 3168 [DEBUG] - Downloading file C:\Users\vagrant\AppData\Local\Temp\chocolatey\server-jre8\8.0.202\server-jre-8u202-windows-x64.tar.gz using System.Net.WebClient
2024-05-08 03:49:19,212 3168 [ERROR] - ERROR: Exception calling "DownloadFile" with "2" argument(s): "The remote server returned an error: (404) Not Found."
at <ScriptBlock>, C:\ProgramData\chocolatey\lib\server-jre8\tools\chocolateyInstall.ps1: line 124
at <ScriptBlock>, C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1: line 63
at <ScriptBlock>, <No file>: line 1
2024-05-08 03:49:19,232 3168 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\server-jre8\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '-1'.
2024-05-08 03:49:19,245 3168 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2024-05-08 03:49:19,386 3168 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2024-05-08 03:49:19,419 3168 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
2024-05-08 03:49:19,419 3168 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2024-05-08 03:49:19,434 3168 [DEBUG] - * ChocolateyLastPathUpdate='133596137567607987' (User)
2024-05-08 03:49:19,434 3168 [DEBUG] - * ChocolateyToolsLocation='C:\tools' (User)
2024-05-08 03:49:19,620 3168 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\server-jre8'
2024-05-08 03:49:19,620 3168 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\server-jre8\server-jre8.nupkg'
with checksum '06872787D43B2C1FC8DCE5C1BE514E67'
2024-05-08 03:49:19,639 3168 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\server-jre8\server-jre8.nuspec'
with checksum '181FFF175A322FBC727D22933B2625E3'
2024-05-08 03:49:19,639 3168 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\server-jre8\tools\chocolateyInstall.ps1'
with checksum '471B798AAB6CF757465017CFA01FB0E8'
2024-05-08 03:49:19,639 3168 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\server-jre8\tools\chocolateyUninstall.ps1'
with checksum '6B1472C53E04599ACE54B13D57E2C830'
2024-05-08 03:49:19,700 3168 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\server-jre8.8.0.202".
2024-05-08 03:49:19,730 3168 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\server-jre8.8.0.202\.files'
2024-05-08 03:49:19,778 3168 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\server-jre8.8.0.202\.arguments".
2024-05-08 03:49:19,778 3168 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\server-jre8.8.0.202\.extra".
2024-05-08 03:49:19,792 3168 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\server-jre8.8.0.202\.version".
2024-05-08 03:49:19,792 3168 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\server-jre8.8.0.202\.sxs".
2024-05-08 03:49:19,792 3168 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\server-jre8.8.0.202\.pin".
2024-05-08 03:49:19,810 3168 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2024-05-08 03:49:19,825 3168 [ERROR] - The install of server-jre8 was NOT successful.
2024-05-08 03:49:19,841 3168 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\server-jre8\tools\chocolateyInstall.ps1'.
See log for details.
2024-05-08 03:49:19,841 3168 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad".
2024-05-08 03:49:19,855 3168 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad\server-jre8".
2024-05-08 03:49:19,855 3168 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\server-jre8 to C:\ProgramData\chocolatey\lib-bad\server-jre8\8.0.202
2024-05-08 03:49:19,875 3168 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\server-jre8'
to 'C:\ProgramData\chocolatey\lib-bad\server-jre8\8.0.202'
2024-05-08 03:49:21,914 3168 [DEBUG] - Attempting to delete file "".
2024-05-08 03:49:21,914 3168 [INFO ] - [NuGet] GET https://community.chocolatey.org/api/v2/package/server-jre/8.0.192
2024-05-08 03:49:22,072 3168 [INFO ] - [NuGet] OK https://community.chocolatey.org/api/v2/package/server-jre/8.0.192 149ms
2024-05-08 03:49:22,072 3168 [INFO ] - [NuGet] Acquiring lock for the installation of server-jre 8.0.192
2024-05-08 03:49:22,072 3168 [INFO ] - [NuGet] Acquired lock for the installation of server-jre 8.0.192
2024-05-08 03:49:22,103 3168 [INFO ] - [NuGet] Installed server-jre 8.0.192 from https://community.chocolatey.org/api/v2/ with content hash 09yX6xjASskxr8gTfi3+kWnfvmZazvMWIMhlRkIZDN0lnsZMBm4rUvrm86nNFH5ckVmtm6SFOSBsirQdvNp2NQ==.
2024-05-08 03:49:22,127 3168 [INFO ] - [NuGet] Adding package 'server-jre.8.0.192 : server-jre8 [8.0.192, )' to folder 'C:\ProgramData\chocolatey\lib'
2024-05-08 03:49:22,134 3168 [INFO ] - [NuGet] Added package 'server-jre.8.0.192 : server-jre8 [8.0.192, )' to folder 'C:\ProgramData\chocolatey\lib'
2024-05-08 03:49:22,134 3168 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\ChocolateyScratch\server-jre/8.0.192\server-jre.8.0.192.nupkg".
2024-05-08 03:49:22,134 3168 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\ChocolateyScratch\server-jre/8.0.192\.nupkg.metadata".
2024-05-08 03:49:22,134 3168 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\Temp\ChocolateyScratch\server-jre/8.0.192\server-jre.8.0.192.nupkg.sha512".
2024-05-08 03:49:22,158 3168 [INFO ] -
server-jre v8.0.192 (forced) [Approved] - Possibly broken
2024-05-08 03:49:22,165 3168 [INFO ] - server-jre package files install completed. Performing other installation steps.
2024-05-08 03:49:22,195 3168 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\server-jre'
2024-05-08 03:49:22,195 3168 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\server-jre\server-jre.nupkg'
with checksum '9DFB48EF6558DA80C87ECFFADB9E20B3'
2024-05-08 03:49:22,195 3168 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\server-jre\server-jre.nuspec'
with checksum '641E5DF726F83DB3789A1CA3B8365AFB'
2024-05-08 03:49:22,226 3168 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\server-jre.8.0.192".
2024-05-08 03:49:22,226 3168 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\server-jre.8.0.192\.files'
2024-05-08 03:49:22,257 3168 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\server-jre.8.0.192\.extra".
2024-05-08 03:49:22,257 3168 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\server-jre.8.0.192\.version".
2024-05-08 03:49:22,257 3168 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\server-jre.8.0.192\.sxs".
2024-05-08 03:49:22,257 3168 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\server-jre.8.0.192\.pin".
2024-05-08 03:49:22,257 3168 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2024-05-08 03:49:22,257 3168 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\server-jre\.chocolateyPending".
2024-05-08 03:49:22,285 3168 [INFO ] - The install of server-jre was successful.
2024-05-08 03:49:22,288 3168 [INFO ] - Software installed to 'C:\ProgramData\chocolatey\lib\server-jre'
2024-05-08 03:49:22,288 3168 [WARN ] -
Chocolatey installed 1/2 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2024-05-08 03:49:22,316 3168 [INFO ] -
2024-05-08 03:49:22,320 3168 [ERROR] - Failures
2024-05-08 03:49:22,320 3168 [ERROR] - - server-jre8 (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\server-jre8\tools\chocolateyInstall.ps1'.
See log for details.
2024-05-08 03:49:22,320 3168 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2024-05-08 03:49:22,345 3168 [DEBUG] - Exiting with -1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment