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

TestFoundation test suite failing while building Swift Toolchain

    XMLWordPrintable

    Details

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

      powerpc64le

      Description

      Hi,

      I have been trying to build Swift 5.0 master on PowerPC(powerpc64le) using the build-toolchain script to run the test suite as well. I had been facing issues with tests in lldb suite(#SR-9808). After skipping the failing lldb tests, I am able to complete the libdispatch test suite. However, facing the following issues in TestFoundation test suite:-

      [257/257][100%][91.650s] Running utility command for TestFoundation

      — Running tests for foundation

      ------ test —

      + /usr/bin/cmake --build /root/swift-source/build/buildbot_linux/foundation-linux-powerpc64le – -j8 test

      [0/1][  0%][0.000s] Running tests...

      Test project /root/swift-source/build/buildbot_linux/foundation-linux-powerpc64le   

      Start 1: TestFoundation

      1/1 Test #1: TestFoundation ...................***Failed    0.00 sec

      /root/swift-source/build/buildbot_linux/foundation-linux-powerpc64le/TestFoundation/TestFoundation: error while loading shared libraries: libicui18nswift.so.61: cannot open shared object file: No such file or directory

       

      0% tests passed, 1 tests failed out of 1

      Total Test time (real) =   0.00 sec

      The following tests FAILED:  

      1 - TestFoundation (Failed)

      Errors while running CTest

      FAILED: CMakeFiles/test.util 

      cd /root/swift-source/build/buildbot_linux/foundation-linux-powerpc64le && /usr/bin/ctest --force-new-ctest-process

      ninja: build stopped: subcommand failed.

      Building the standard library for: swift-stdlib-linux-powerpc64le

      Running Swift tests for: check-swift-all-linux-powerpc64le check-swift-all-optimize-linux-powerpc64le

      ./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:
              stamba Sarvesh Tamba
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: