Uploaded image for project: 'Swift'
  1. Swift
  2. SR-5845

Multiple tests (16) failing on Linux/ARM

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Component/s: Compiler
    • Labels:
    • Environment:

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

      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.

        Attachments

        1. test402nodbg.txt
          634 kB
        2. test41branch.txt.zip
          22 kB
        3. testsoutput.txt
          603 kB

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              uraimo Umberto Raimondi
            • Votes:
              14 Vote for this issue
              Watchers:
              19 Start watching this issue

              Dates

              • Created:
                Updated: