Skip to content

WindowsInstaller.Tests.ps1 failed on debian #4663

Closed

Description

I couldn't replicate the failure when run in isolation

Description: Should have download link about Universal C runtime that is reachable
Name: Windows Installer.Visual Studio C++ Redistributables Link.Should have download link about Universal C runtime that is reachable
message:
Error 404 - Not FoundWarning: This site requires the use of scripts, which your browser does not currently allow.See how to enable scripts

-->
stack-trace:
at line: 22 in /TEST/PowerShell/test/powershell/Installer/WindowsInstaller.Tests.ps1
1 tests in test/powershell failed
At /TEST/PowerShell/build.psm1:994 char:9

  •     throw "$($x.'test-results'.failures) tests in $TestArea faile ...
    
  •     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : OperationStopped: (1 tests in test/powershell failed:String) [], RuntimeException
    • FullyQualifiedErrorId : 1 tests in test/powershell failed
Name                           Value                                                                                                       
----                           -----                                                                                                       
PSVersion                      6.0.0-beta                                                                                                  
PSEdition                      Core                                                                                                        
GitCommitId                    v6.0.0-beta.5-81-gcfe173ac0e90d1bc189c469464fd589f3f16ac3b                                                  
OS                             Linux 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1+deb8u2 (2017-03-07)                                            
Platform                       Unix                                                                                                        
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                                     
PSRemotingProtocolVersion      2.3                                                                                                         
SerializationVersion           1.1.0.1                                                                                                     
WSManStackVersion              3.0     

Activity

  1. iSazonov commented on Aug 25, 2017

    @iSazonov
    Collaborator
  2. bergmeister commented on Aug 25, 2017

    @bergmeister
    Contributor

    Sounds like a random sporadic failure that is not specific to this test. Running this test on non-Windows systems as well has no value but it should still not fail on non-
    Windows systems(because it does not call any Windows specific API) which indicates that there is a different bug in PowerShell itself. The test simply checks that the content of an Xml file contains a certain download link and that this link is not dead. The tag 'Scenario' was chosen because those tests do not need to be part of CI, so maybe a different tag would be better?

  3. iSazonov commented on Aug 25, 2017

    @iSazonov
    Collaborator

    I don't see skipping. Should we test run only on Windows?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions