Repository navigation
[SR-5845] Multiple tests (16) failing on Linux/ARM #48415
Description
| 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: 16I 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.
Activity
swift-ci commentedon Nov 11, 2017
Comment by Umberto Raimondi (JIRA)
An update after running the tests for 4.0.2-FINAL, there are new failures in `stdlib/WeakMirror.swift`:
Test output: test402nodbg.txt
swift-ci commentedon Jan 23, 2018
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 commentedon May 6, 2018
Comment by Marco Chini (JIRA)
https://github.com/chnmrc/swift4arm