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

Building toolchain fails when running test-lldb-with-swiftpm

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Component/s: LLDB for Swift
    • Labels:
      None
    • Environment:

      Swift @ master: 40e40103a83f39fd7a4d36a5e9263f99201a1f8f

      Description

      Steps to repro: run ./utils-build-toolchain local.swift

      FAIL: swift-package-tests :: test-lldb-with-swiftpm/README.txt (25 of 30)
      ******************** TEST 'swift-package-tests :: test-lldb-with-swiftpm/README.txt' FAILED ********************
      Script:
      --
      : 'RUN: at line 4';   rm -rf /Users/jsimard/Projects/build/buildbot_osx/none-swift_package_sandbox_macosx-x86_64/tests/test-lldb-with-swiftpm/Output/README.txt.tmp.dir
      : 'RUN: at line 5';   mkdir -p /Users/jsimard/Projects/build/buildbot_osx/none-swift_package_sandbox_macosx-x86_64/tests/test-lldb-with-swiftpm/Output/README.txt.tmp.dir
      : 'RUN: at line 6';   cp -r /Users/jsimard/Projects/swift-integration-tests/test-lldb-with-swiftpm/* /Users/jsimard/Projects/build/buildbot_osx/none-swift_package_sandbox_macosx-x86_64/tests/test-lldb-with-swiftpm/Output/README.txt.tmp.dir/
      : 'RUN: at line 9';   /Users/jsimard/Projects/build/buildbot_osx/none-swift_package_sandbox_macosx-x86_64/Library/Developer/Toolchains/swift-LOCAL-2019-09-30-a.xctoolchain/usr/bin/swift build --package-path /Users/jsimard/Projects/build/buildbot_osx/none-swift_package_sandbox_macosx-x86_64/tests/test-lldb-with-swiftpm/Output/README.txt.tmp.dir 2>&1 | tee /Users/jsimard/Projects/build/buildbot_osx/none-swift_package_sandbox_macosx-x86_64/tests/test-lldb-with-swiftpm/Output/README.txt.tmp.build-log
      : 'RUN: at line 12';   test -x /Users/jsimard/Projects/build/buildbot_osx/none-swift_package_sandbox_macosx-x86_64/tests/test-lldb-with-swiftpm/Output/README.txt.tmp.dir/.build/debug/exec
      : 'RUN: at line 14';   /Users/jsimard/Projects/build/buildbot_osx/none-swift_package_sandbox_macosx-x86_64/tests/test-lldb-with-swiftpm/Output/README.txt.tmp.dir/.build/debug/exec > /Users/jsimard/Projects/build/buildbot_osx/none-swift_package_sandbox_macosx-x86_64/tests/test-lldb-with-swiftpm/Output/README.txt.tmp.out
      : 'RUN: at line 15';   /Users/jsimard/Projects/build/buildbot_osx/llvm-macosx-x86_64/bin/FileCheck --check-prefix CHECK-APP-OUTPUT --input-file /Users/jsimard/Projects/build/buildbot_osx/none-swift_package_sandbox_macosx-x86_64/tests/test-lldb-with-swiftpm/Output/README.txt.tmp.out /Users/jsimard/Projects/swift-integration-tests/test-lldb-with-swiftpm/README.txt
      : 'RUN: at line 20';   /Users/jsimard/Projects/build/buildbot_osx/none-swift_package_sandbox_macosx-x86_64/Library/Developer/Toolchains/swift-LOCAL-2019-09-30-a.xctoolchain/usr/bin/lldb /Users/jsimard/Projects/build/buildbot_osx/none-swift_package_sandbox_macosx-x86_64/tests/test-lldb-with-swiftpm/Output/README.txt.tmp.dir/.build/debug/exec -o "b core.swift:5" -o r -o "po value" -b &> /Users/jsimard/Projects/build/buildbot_osx/none-swift_package_sandbox_macosx-x86_64/tests/test-lldb-with-swiftpm/Output/README.txt.tmp.lldb
      : 'RUN: at line 21';   /Users/jsimard/Projects/build/buildbot_osx/llvm-macosx-x86_64/bin/FileCheck --check-prefix CHECK-LLDB-LOG --input-file /Users/jsimard/Projects/build/buildbot_osx/none-swift_package_sandbox_macosx-x86_64/tests/test-lldb-with-swiftpm/Output/README.txt.tmp.lldb /Users/jsimard/Projects/swift-integration-tests/test-lldb-with-swiftpm/README.txt
      --
      Exit Code: 1
      
      Command Output (stdout):
      --
      $ ":" "RUN: at line 4"
      $ "rm" "-rf" "/Users/jsimard/Projects/build/buildbot_osx/none-swift_package_sandbox_macosx-x86_64/tests/test-lldb-with-swiftpm/Output/README.txt.tmp.dir"
      $ ":" "RUN: at line 5"
      $ "mkdir" "-p" "/Users/jsimard/Projects/build/buildbot_osx/none-swift_package_sandbox_macosx-x86_64/tests/test-lldb-with-swiftpm/Output/README.txt.tmp.dir"
      $ ":" "RUN: at line 6"
      $ "cp" "-r" "/Users/jsimard/Projects/swift-integration-tests/test-lldb-with-swiftpm/*" "/Users/jsimard/Projects/build/buildbot_osx/none-swift_package_sandbox_macosx-x86_64/tests/test-lldb-with-swiftpm/Output/README.txt.tmp.dir/"
      $ ":" "RUN: at line 9"
      $ "/Users/jsimard/Projects/build/buildbot_osx/none-swift_package_sandbox_macosx-x86_64/Library/Developer/Toolchains/swift-LOCAL-2019-09-30-a.xctoolchain/usr/bin/swift" "build" "--package-path" "/Users/jsimard/Projects/build/buildbot_osx/none-swift_package_sandbox_macosx-x86_64/tests/test-lldb-with-swiftpm/Output/README.txt.tmp.dir"
      $ "tee" "/Users/jsimard/Projects/build/buildbot_osx/none-swift_package_sandbox_macosx-x86_64/tests/test-lldb-with-swiftpm/Output/README.txt.tmp.build-log"
      # command output:
      [1/2] Compiling See see.c
      [2/3] Compiling Core core.swift
      [3/4] Merging module Core
      [4/5] Compiling exec main.swift
      [5/6] Merging module exec
      [6/6] Linking exec
      
      $ ":" "RUN: at line 12"
      $ "test" "-x" "/Users/jsimard/Projects/build/buildbot_osx/none-swift_package_sandbox_macosx-x86_64/tests/test-lldb-with-swiftpm/Output/README.txt.tmp.dir/.build/debug/exec"
      $ ":" "RUN: at line 14"
      $ "/Users/jsimard/Projects/build/buildbot_osx/none-swift_package_sandbox_macosx-x86_64/tests/test-lldb-with-swiftpm/Output/README.txt.tmp.dir/.build/debug/exec"
      $ ":" "RUN: at line 15"
      $ "/Users/jsimard/Projects/build/buildbot_osx/llvm-macosx-x86_64/bin/FileCheck" "--check-prefix" "CHECK-APP-OUTPUT" "--input-file" "/Users/jsimard/Projects/build/buildbot_osx/none-swift_package_sandbox_macosx-x86_64/tests/test-lldb-with-swiftpm/Output/README.txt.tmp.out" "/Users/jsimard/Projects/swift-integration-tests/test-lldb-with-swiftpm/README.txt"
      $ ":" "RUN: at line 20"
      $ "/Users/jsimard/Projects/build/buildbot_osx/none-swift_package_sandbox_macosx-x86_64/Library/Developer/Toolchains/swift-LOCAL-2019-09-30-a.xctoolchain/usr/bin/lldb" "/Users/jsimard/Projects/build/buildbot_osx/none-swift_package_sandbox_macosx-x86_64/tests/test-lldb-with-swiftpm/Output/README.txt.tmp.dir/.build/debug/exec" "-o" "b core.swift:5" "-o" "r" "-o" "po value" "-b"
      $ ":" "RUN: at line 21"
      $ "/Users/jsimard/Projects/build/buildbot_osx/llvm-macosx-x86_64/bin/FileCheck" "--check-prefix" "CHECK-LLDB-LOG" "--input-file" "/Users/jsimard/Projects/build/buildbot_osx/none-swift_package_sandbox_macosx-x86_64/tests/test-lldb-with-swiftpm/Output/README.txt.tmp.lldb" "/Users/jsimard/Projects/swift-integration-tests/test-lldb-with-swiftpm/README.txt"
      # command stderr:
      /Users/jsimard/Projects/swift-integration-tests/test-lldb-with-swiftpm/README.txt:22:20: error: CHECK-LLDB-LOG: expected string not found in input
      // CHECK-LLDB-LOG: (lldb) po value
                         ^
      /Users/jsimard/Projects/build/buildbot_osx/none-swift_package_sandbox_macosx-x86_64/tests/test-lldb-with-swiftpm/Output/README.txt.tmp.lldb:1:1: note: scanning from here
      Breakpoint 1: no locations (pending).
      ^
      /Users/jsimard/Projects/build/buildbot_osx/none-swift_package_sandbox_macosx-x86_64/tests/test-lldb-with-swiftpm/Output/README.txt.tmp.lldb:21:1: note: possible intended match here
      (lyft) po value
      ^
      
      error: command failed with exit status: 1
      
      --
      
      ********************
      Testing Time: 25.90s
      ********************
      Failing Tests (1):
          swift-package-tests :: test-lldb-with-swiftpm/README.txt
      
        Expected Passes    : 14
        Unsupported Tests  : 15
        Unexpected Failures: 1
      ./utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting
      ./utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting
      

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated: