Skip to content

Instantly share code, notes, and snippets.

@naveensrinivasan
Created December 7, 2015 02:00
Show Gist options
  • Save naveensrinivasan/3f6a6c66e33cb4cbc157 to your computer and use it in GitHub Desktop.
Save naveensrinivasan/3f6a6c66e33cb4cbc157 to your computer and use it in GitHub Desktop.
Gist created with unicode characters for the folder Gist_20151205_212007_4893

MongoDb30 v3.0.2.1 - Failed - Package Test Results

  • https://chocolatey.org/packages/MongoDb30/3.0.2.1
  • Tested 06 Dec 2015 05:20:07 +00:00
  • Tested against win2012r2x64 (Windows Server 2012 R2 x64)
  • Tested with chocolatey-package-verifier service v0.3.0-25-g8d3e427
  • 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.
<?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\MongoDb30\MongoDb30.nupkg" checksum="D277E1E3F21F4FF6A690CB44F5860CC4" />
<file path="C:\ProgramData\chocolatey\lib\MongoDb30\tools\chocolateyInstall.ps1" checksum="0975E20D93FDD46BAD2C2F162245665F" />
</files>
</fileSnapshot>
==> default: Running provisioner: shell...
default: Running: shell/VagrantAction.ps1 as c:\tmp\vagrant-shell.ps1
==> default: Chocolatey is running on Windows v 6.3.9600.0
==> default: Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
==> default: Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
==> default: Command line: "C:\ProgramData\chocolatey\choco.exe" install MongoDb30 --version 3.0.2.1 -fdvy
==> default: Received arguments: install MongoDb30 --version 3.0.2.1 -fdvy
==> default: NOTE: Hiding sensitive configuration data! Please double and triple
==> default: check to be sure no sensitive data is shown, especially if copying
==> default: output to a gist for review.
==> default: Configuration: CommandName='install'|
==> default: CacheLocation='C:\Users\ADMINI~1\AppData\Local\Temp'|
==> default: ContainsLegacyPackageInstalls='True'|
==> default: CommandExecutionTimeoutSeconds='2700'|
==> default: Sources='https://chocolatey.org/api/v2/'|Debug='True'|Verbose='True'|
==> default: Force='True'|Noop='False'|HelpRequested='False'|RegularOutput='True'|
==> default: QuietOutput='False'|PromptForConfirmation='False'|AcceptLicense='True'|
==> default: AllowUnofficialBuild='False'|Input='MongoDb30'|Version='3.0.2.1'|
==> default: AllVersions='False'|SkipPackageInstallProvider='False'|
==> default: PackageNames='MongoDb30'|Prerelease='False'|ForceX86='False'|
==> default: OverrideArguments='False'|NotSilent='False'|IgnoreDependencies='False'|
==> default: AllowMultipleVersions='False'|AllowDowngrade='False'|
==> default: ForceDependencies='False'|Information.PlatformType='Windows'|
==> default: Information.PlatformVersion='6.3.9600.0'|
==> default: Information.PlatformName='Windows Server 2012 R2'|
==> default: Information.ChocolateyVersion='0.9.9.11'|
==> default: Information.ChocolateyProductVersion='0.9.9.11'|
==> default: Information.FullName='choco, Version=0.9.9.11, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
==> default:
==> default: Information.Is64Bit='True'|Information.IsInteractive='False'|
==> default: Information.IsUserAdministrator='True'|
==> default: Information.IsProcessElevated='True'|Features.AutoUninstaller='True'|
==> default: Features.CheckSumFiles='True'|Features.FailOnAutoUninstaller='False'|
==> default: ListCommand.LocalOnly='False'|
==> default: ListCommand.IncludeRegistryPrograms='False'|
==> default: UpgradeCommand.FailOnUnfound='False'|
==> default: UpgradeCommand.FailOnNotInstalled='False'|
==> default: UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
==> default: NewCommand.AutomaticPackage='False'|SourceCommand.Command='unknown'|
==> default: SourceCommand.Priority='0'|FeatureCommand.Command='unknown'|
==> default: ConfigCommand.Command='unknown'|PushCommand.TimeoutInSeconds='0'|
==> default: PinCommand.Command='unknown'|
==> default: _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
==> default: Installing the following packages:
==> default: MongoDb30
==> default: By installing you accept licenses for the packages.
==> default: [NuGet] Installing 'MongoDb30 3.0.2.1'.
==> default:
==> default: [NuGet] Added file 'chocolateyInstall.ps1' to folder 'MongoDb30\tools'.
==> default: [NuGet] Added file 'MongoDb30.nupkg' to folder 'MongoDb30'.
==> default: [NuGet] Successfully installed 'MongoDb30 3.0.2.1'.
==> default:
==> default: MongoDb30 v3.0.2.1 (forced)
==> default: Contents of 'C:\ProgramData\chocolatey\lib\MongoDb30\tools\chocolateyInstall.ps1':
==> default: $package_name = 'MongoDb30'
==> default: $package_version = '3.0.7'
==> default: $package_dir=Join-Path "c:\mongodb" $package_version
==> default: $fileName = "mongodb-win32-x86_64-2008plus-ssl-$package_version-signed.msi"
==> default: $url = "https://www.mongodb.org/dr/fastdl.mongodb.org/win32/$fileName/download"
==> default:
==> default: $client = new-object System.Net.WebClient
==> default: $msiFlePath = Join-Path $env:TEMP $fileName
==> default: $client.DownloadFile($url, $msiFlePath)
==> default:
==> default: $log_dir = $(Join-Path $package_dir "log")
==> default: $current_datetime = Get-Date -format yyyyddMMhhmm
==> default: $package_backup_dir = "${package_dir}-old_${current_datetime}"
==> default:
==> default: try {
==> default: Install-ChocolateyInstallPackage '${package_name}' 'msi' '/quiet' msiFlePath
==> default:
==> default: Move-Item "$(Join-Path ${package_dir} ${package_file_name}\*)" "${package_dir}" -Force
==> default: Remove-Item $(Join-Path ${package_dir} ${package_file_name}) -Force -Recurse
==> default: Write-Host "Making sure ${package_dir} is in place"
==> default: if (!(Test-Path -path $package_dir)) {New-Item $package_dir -Type Directory | Out-Null}
==> default:
==> default:
==> default: Write-Host "Making sure ${log_dir} is in place"
==> default: if (!(Test-Path -path $log_dir)) { New-Item $log_dir -Type Directory | Out-Null }
==> default:
==> default: Write-ChocolateySuccess $package_name
==> default:
==> default: } catch {
==> default: Write-ChocolateyFailure $package_name "$($_.Exception.Message)"
==> default: throw
==> default: }
==> default: Calling command ['"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -NoLogo -ExecutionPolicy Bypass -Command "[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\MongoDb30\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''"']
==> default: DEBUG: Posh version is 4.0
==> default:
==> default: VERBOSE: Exporting function 'Get-BinRoot'.
==> default: VERBOSE: Exporting function 'Get-ChecksumValid'.
==> default: VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
==> default: VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
==> default: VERBOSE: Exporting function 'Get-EnvironmentVariable'.
==> default: VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
==> default: VERBOSE: Exporting function 'Get-FtpFile'.
==> default: VERBOSE: Exporting function 'Get-ProcessorBits'.
==> default: VERBOSE: Exporting function 'Get-UACEnabled'.
==> default: VERBOSE: Exporting function 'Get-VirusCheckValid'.
==> default: VERBOSE: Exporting function 'Get-WebFile'.
==> default: VERBOSE: Exporting function 'Get-WebHeaders'.
==> default: VERBOSE: Exporting function 'Install-BinFile'.
==> default: VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
==> default: VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
==> default: VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
==> default: VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
==> default: VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
==> default: VERBOSE: Exporting function 'Install-ChocolateyPackage'.
==> default: VERBOSE: Exporting function 'Install-ChocolateyPath'.
==> default: VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
==> default: VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
==> default: VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
==> default: VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
==> default: VERBOSE: Exporting function 'Install-Vsix'.
==> default: VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
==> default: VERBOSE: Exporting function 'Set-EnvironmentVariable'.
==> default: VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
==> default: VERBOSE: Exporting function 'Test-ProcessAdminRights'.
==> default: VERBOSE: Exporting function 'Uninstall-BinFile'.
==> default: VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
==> default: VERBOSE: Exporting function 'UnInstall-ChocolateyZipPackage'.
==> default: VERBOSE: Exporting function 'Update-SessionEnvironment'.
==> default: VERBOSE: Exporting function 'Write-ChocolateyFailure'.
==> default: VERBOSE: Exporting function 'Write-ChocolateySuccess'.
==> default: VERBOSE: Exporting function 'Write-FileUpdateLog'.
==> default: VERBOSE: Exporting alias 'Generate-BinFile'.
==> default: VERBOSE: Exporting alias 'Add-BinFile'.
==> default: VERBOSE: Exporting alias 'Remove-BinFile'.
==> default: DEBUG: Running 'Install-ChocolateyInstallPackage' for ${package_name} with
==> default: file:'msiFlePath', args: '/quiet', fileType: 'msi', validExitCodes: '0'
==> default:
==> default: Installing ${package_name}...
==> default: DEBUG: Running 'Start-ChocolateyProcessAsAdmin' with exeToRun:'msiexec',
==> default:
==> default: statements: '/i "msiFlePath" /quiet '
==> default: DEBUG: Elevating Permissions and running msiexec /i "msiFlePath" /quiet . This
==> default: may take a while, depending on the statements.
==> default: This installation package could not be opened. Verify that the package exists and that you can access it, or contact the applic
==> default: ation vendor to verify that this is a valid Windows Installer package.
==> default:
==> default: WARNING: Write-ChocolateyFailure is deprecated. If you are the package
==> default:
==> default: maintainer, please use 'throw $_.Exception' instead.
==> default: [ERROR] Running msiexec with /i "msiFlePath" /quiet was not successful. Exit
==> default:
==> default: code was '1619' Error Message:
==> default: .
==> default: At C:\ProgramData\chocolatey\helpers\functions\Write-ChocolateyFailure.ps1:24
==> default: char:3
==> default: + throw "$failureMessage"
==> default: + ~~~~~~~~~~~~~~~~~~~~~~~
==> default: + CategoryInfo : OperationStopped: ([ERROR] Running...or Message:
==> default: .:String) [], RuntimeException
==> default: + FullyQualifiedErrorId : [ERROR] Running msiexec with /i "msiFlePath" /qu
==> default: iet was not successful. Exit code was '1619' Error Message:
==> default: .
==> default: Command ['"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -NoLogo -ExecutionPolicy Bypass -Command "[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import
==> default: -module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\MongoDb30\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''"'] exited with '1'
==> default: Calling command ['"shutdown" /a']
==> default: Command ['"shutdown" /a'] exited with '1116'
==> default: Capturing package files in 'C:\ProgramData\chocolatey\lib\MongoDb30'
==> default: Found 'C:\ProgramData\chocolatey\lib\MongoDb30\MongoDb30.nupkg'
==> default: with checksum 'D277E1E3F21F4FF6A690CB44F5860CC4'
==> default: Found 'C:\ProgramData\chocolatey\lib\MongoDb30\tools\chocolateyInstall.ps1'
==> default: with checksum '0975E20D93FDD46BAD2C2F162245665F'
==> default: Adding 'Hidden' attribute(s) to 'C:\ProgramData\chocolatey\.chocolatey'.
==> default: Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\MongoDb30.3.0.2.1".
==> default:
==> default: Attempting to copy "C:\ProgramData\chocolatey\.chocolatey\MongoDb30.3.0.2.1\.files.update"
==> default: to "C:\ProgramData\chocolatey\.chocolatey\MongoDb30.3.0.2.1\.files".
==> default: Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\MongoDb30.3.0.2.1\.files.update".
==> default: Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\MongoDb30.3.0.2.1\.sxs".
==> default: Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\MongoDb30.3.0.2.1\.pin".
==> default: The install of mongodb30 was NOT successful.
==> default: Error while running 'C:\ProgramData\chocolatey\lib\MongoDb30\tools\chocolateyInstall.ps1'.
==> default: See log for details.
==> default: Attempting to create directory "C:\ProgramData\chocolatey\lib-bad".
==> default: Moving 'C:\ProgramData\chocolatey\lib\MongoDb30'
==> default: to 'C:\ProgramData\chocolatey\lib-bad\MongoDb30'
==> default: Chocolatey installed 0/1 package(s). 1 package(s) failed.
==> default: See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
==> default: Failures:
==> default: - mongodb30
==> default: Exiting with 1
[ERROR] The following WinRM command responded with a non-zero exit status.
[ERROR] Vagrant assumes that this means the command failed!
[ERROR] powershell -ExecutionPolicy Bypass -OutputFormat Text -file c:\tmp\vagrant-shell.ps1
[ERROR] Stdout from the command:
[ERROR] Stderr from the command:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment