Skip to content

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

Open

Description

@swift-ci
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.

Activity

  1. swift-ci commented on Nov 11, 2017

    @swift-ci
    ContributorAuthor

    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

  2. swift-ci commented on Jan 23, 2018

    @swift-ci
    ContributorAuthor

    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.

  3. swift-ci commented on May 6, 2018

    @swift-ci
    ContributorAuthor

    Comment by Marco Chini (JIRA)

    https://github.com/chnmrc/swift4arm

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

    LinuxPlatform: LinuxarmArchitecture: any ARMarmv7Architecture: ARMv7bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler itselfswift 4.0

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions