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

Assertion failure when running tests with Swift 5.2 on Linux

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Done
    • Labels:
      None
    • Environment:

      Swift 5.2 docker

      Description

      $ git clone https://github.com/realm/SwiftLint.git
      $ cd SwiftLint
      $ git checkout da3e1a793baf5c408ecec5022b79056f00f2be63
      $ docker run -v `pwd`:`pwd` -w `pwd` --name swiftlint --rm swift:5.2 swift test --parallel
      Test Suite 'Selected tests' started at 2020-04-03 23:36:55.618
      Test Suite 'DeploymentTargetRuleTests' started at 2020-04-03 23:36:55.621
      Test Case 'DeploymentTargetRuleTests.testMacOSAttributeReason' started at 2020-04-03 23:36:55.621
      SwiftLintPackageTests.xctest: /home/buildnode/jenkins/workspace/oss-swift-5.2-package-linux-ubuntu-18_04/swift/lib/IDE/SyntaxModel.cpp:1196: bool (anonymous namespace)::ModelASTWalker::handleSpecialDeclAttribute(const swift::DeclAttribute *, ArrayRef<swift::Token>): Assertion `0 && "Attribute's TokenNodes already consumed?"' failed.
      Stack dump:
      0.	While walking into decl 'A' (at 8004087135770073511:2:1)
      Exited with signal code 6
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            jpsim JP Simard
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: