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

[SR-5845] Multiple tests (16) failing on Linux/ARM #48415

Open
swift-ci opened this issue Sep 6, 2017 · 3 comments
Open

[SR-5845] Multiple tests (16) failing on Linux/ARM #48415

swift-ci opened this issue Sep 6, 2017 · 3 comments
Labels
arm Architecture: any ARM armv7 Architecture: ARMv7 bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself Linux Platform: Linux swift 4.0

Comments

@swift-ci
Copy link
Collaborator

swift-ci commented Sep 6, 2017

Previous ID SR-5845
Radar None
Original Reporter uraimo (JIRA User)
Type Bug

Attachment: Download

Environment

Linux (Ubuntu Mate 16.04LTS) on RaspberryPi2 (armv7).

Additional Detail from JIRA
Votes 14
Component/s Compiler
Labels Bug, Linux, Swift4, arm, armv7
Assignee None
Priority Medium

md5: 89656a20308e60932675f896da49f4a4

Issue Description:

Compiling the latest sources from swift-4.0-branch I'm seeing multiple test failures, among those Runtime/weak-reference-racetests.swift (that makes SPM build fail) and a good amount of tests in *stdlib/ErrorHandling.swift (issues with throw and try!)*._

Despite the name, the weak-reference-racetests issue does not seem to be related to race conditions as the name would imply. I'm opening a separate issue (SR-5846) for that since it's what I'm investigating right now.

I'm attaching the full output, but to recap what is failing:

Failing Tests (16):
Swift(linux-armv7) :: Runtime/weak-reference-racetests.swift
Swift(linux-armv7) :: Runtime/backtrace.swift
Swift(linux-armv7) :: SILOptimizer/specialize_partial_apply.swift
Swift(linux-armv7) :: stdlib/ErrorHandling.swift
Swift(linux-armv7) :: stdlib/Runtime.swift.gyb
Swift(linux-armv7) :: stdlib/ParameterPassing.swift.gyb
Swift(linux-armv7) :: IRGen/c_layout.sil
Swift(linux-armv7) :: ClangImporter/clang_builtins.swift
Swift(linux-armv7) :: SILOptimizer/redundant_load_elim.sil
Swift(linux-armv7) :: IRGen/condfail.sil
Swift(linux-armv7) :: stdlib/Error.swift
Swift(linux-armv7) :: Interpreter/wildcard_dispatch_on_catch.swift
Swift(linux-armv7) :: Interpreter/throwing_initializers.swift
Swift(linux-armv7) :: Interpreter/protocol_initializers.swift
Swift(linux-armv7) :: Interpreter/errors.swift
Swift(linux-armv7) :: Interpreter/dynamic_self.swift

Expected Passes : 2773
Expected Failures : 85
Unsupported Tests : 898
Unexpected Failures: 16

I opened this umbrella bug to leave a trace of the issue but plan on opening separate reports for the bug I'll try to tackle.

@swift-ci
Copy link
Collaborator Author

Comment by Umberto Raimondi (JIRA)

An update after running the tests for 4.0.2-FINAL, there are new failures in `stdlib/WeakMirror.swift`:

Failing Tests (17):
 Swift(linux-armv7) :: Runtime/weak-reference-racetests.swift
 Swift(linux-armv7) :: Runtime/backtrace.swift
 Swift(linux-armv7) :: SILOptimizer/specialize_partial_apply.swift
 Swift(linux-armv7) :: stdlib/ErrorHandling.swift
 Swift(linux-armv7) :: stdlib/Runtime.swift.gyb
 Swift(linux-armv7) :: stdlib/ParameterPassing.swift.gyb
 Swift(linux-armv7) :: IRGen/c_layout.sil
 Swift(linux-armv7) :: ClangImporter/clang_builtins.swift
 Swift(linux-armv7) :: SILOptimizer/redundant_load_elim.sil
 Swift(linux-armv7) :: IRGen/condfail.sil
 Swift(linux-armv7) :: stdlib/Error.swift
 Swift(linux-armv7) :: Interpreter/wildcard_dispatch_on_catch.swift
 Swift(linux-armv7) :: Interpreter/throwing_initializers.swift
 Swift(linux-armv7) :: Interpreter/protocol_initializers.swift
 Swift(linux-armv7) :: Interpreter/errors.swift
 Swift(linux-armv7) :: Interpreter/dynamic_self.swift
 Swift(linux-armv7) :: stdlib/WeakMirror.swift

Expected Passes : 2777
 Expected Failures : 84
 Unsupported Tests : 904
 Unexpected Failures: 17

Test output: test402nodbg.txt

@swift-ci
Copy link
Collaborator Author

Comment by Umberto Raimondi (JIRA)

Another update, these are the results of the tests ran January 17th using `swift-4.1-branch`:

```
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
Testing Time: 2259.75s
********************
Failing Tests (8):
Swift(linux-armv7) :: Runtime/weak-reference-racetests.swift
Swift(linux-armv7) :: Runtime/backtrace.swift
Swift(linux-armv7) :: stdlib/Runtime.swift.gyb
Swift(linux-armv7) :: IRGen/c_layout.sil
Swift(linux-armv7) :: ClangImporter/clang_builtins.swift
Swift(linux-armv7) :: SILOptimizer/redundant_load_elim.sil
Swift(linux-armv7) :: IRGen/condfail.sil
Swift(linux-armv7) :: Misc/expression_too_complex.swift

Expected Passes : 2989
Expected Failures : 78
Unsupported Tests : 1047
Unexpected Failures: 8
```
Full test output: test41branch.txt.zip

The multiple Error Handling issues seem to be completely fixed now!
If someone is wondering about it, SPM still doesn't compile, see SR-6812.

@swift-ci
Copy link
Collaborator Author

swift-ci commented May 6, 2018

Comment by Marco Chini (JIRA)

https://github.com/chnmrc/swift4arm

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arm Architecture: any ARM armv7 Architecture: ARMv7 bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself Linux Platform: Linux swift 4.0
Projects
None yet
Development

No branches or pull requests

1 participant