Skip to content
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

Fix "parse error expected" test hang on Ubuntu 16.04 #2278

Closed
andyleejordan opened this issue Sep 15, 2016 · 3 comments · May be fixed by baophucct/PowerShell#3, Ngugisenior/PowerShell#2 or baophucct/PowerShell#7
Assignees
Labels
Issue-Bug Issue has been identified as a bug in the product OS-Linux WG-Quality-Test issues in a test or in test infrastructure

Comments

@andyleejordan
Copy link
Member

Steps to reproduce

Start-PSPester on Ubuntu 16.04 (passes on 14.04).

Expected behavior

Test to pass.

Actual behavior

   Context Parse error expected: <<class A : C {}; class B : A {}; class C : B {}>>
    [!] error should happen at parse time, not at runtime 54ms

Tests don't continue.

Environment data

> $PSVersionTable
Name                           Value                                                              
----                           -----                                                              
PSVersion                      6.0.0-alpha                                                        
PSEdition                      Core                                                               
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                            
BuildVersion                   3.0.0.0                                                            
GitCommitId                    v6.0.0-alpha.9                                                     
CLRVersion                                                                                        
WSManStackVersion              3.0                                                                
PSRemotingProtocolVersion      2.3                                                                
SerializationVersion           1.1.0.1                                                            

Failing test is test/powershell/Language/LanguageTestSupport.psm1 which is added and touched by cb08681 and 312ec5f.

@andyleejordan andyleejordan added Issue-Bug Issue has been identified as a bug in the product OS-Linux labels Sep 15, 2016
@SteveL-MSFT SteveL-MSFT added the WG-Quality-Test issues in a test or in test infrastructure label Sep 16, 2016
@andyleejordan
Copy link
Member Author

Same deal on CentOS 7, running Linux 4.4.

@JamesWTruher
Copy link
Member

is this still failing on 16.04? I'm not seeing a repro on

PS> uname -a
Linux jimtru-ub16d 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

PS> $psversiontable

Name                           Value
----                           -----
PSVersion                      6.0.0-alpha
PSEdition                      Core
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   3.0.0.0
GitCommitId                    v6.0.0-alpha.9-488-g0e190e0bb8d0de2927cf70819a485356e1c1c72e
CLRVersion
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

@andyleejordan
Copy link
Member Author

Sweet, no repro any more for me either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug Issue has been identified as a bug in the product OS-Linux WG-Quality-Test issues in a test or in test infrastructure
Projects
None yet
4 participants