Skip to content

[SR-9600] Validation test an individual case has script error on the master and swift-5.0-branch #52047

@swift-ci

Description

@swift-ci
Previous ID SR-9600
Radar None
Original Reporter samding01 (JIRA User)
Type Bug
Environment

X86_64, Ubuntu 18.04
Master branch and swift-5.0-branch

Additional Detail from JIRA
Votes 0
Component/s
Labels Bug, BuildScript
Assignee None
Priority Medium

md5: 09358d56ff02f713fb53a1fd1620e803

Issue Description:

When test an individual validation test case with the command:

  ./utils/build-script -j 2 --assertions --release --test --validation-test --lit-args=-v --test-paths test/Interpreter/collection_casts.swift

it turns out an errors:

      • Building tests for swift ---

        • /usr/bin/cmake --build /home/work/sw/swift5/build/Ninja-ReleaseAssert/swift-linux-x86_64 – -j2 SwiftUnitTests
          [1/4] Performing build step for 'libdispatch'
          ninja: no work to do.
      • Running tests for swift ---

      • check-swift-validation-linux-x86_64 ---

        • /usr/bin/cmake --build /home/work/sw/swift5/build/Ninja-ReleaseAssert/swift-linux-x86_64 – -j2 check-swift-validation-linux-x86_64-custom
          [1/8] Performing build step for 'libdispatch'
          ninja: no work to do.
          [1/2] Running validation Swift tests for x86_64-unknown-linux-gnu from custom test locations
          usage: lit.py [h] [version] [j N] [-config-prefix NAME] [-D NAME=VAL]
          [q] [s] [v] [vv] [a] [o PATH] [-no-progress-bar]
          [show-unsupported] [show-xfail] [path PATH] [
          -vg]
          [vg-leak] [vg-arg ARG] [time-tests] [
          -no-execute]
          [
          -xunit-xml-output XUNIT_OUTPUT_FILE]
          [timeout MAXINDIVIDUALTESTTIME] [
          -max-failures MAXFAILURES]
          [max-tests N] [max-time N] [shuffle] [i] [-filter REGEX]
          [num-shards M] [run-shard N] [debug] [
          -show-suites]
          [show-tests] [
          -single-process]
          [test_paths [test_paths ...]]
          lit.py: error: No inputs specified
          FAILED: test/CMakeFiles/check-swift-validation-linux-x86_64-custom
          cd /home/work/sw/swift5/build/Ninja-ReleaseAssert/swift-linux-x86_64/test && /usr/bin/cmake -E remove_directory /home/work/sw/swift5/build/Ninja-ReleaseAssert/swift-linux-x86_64/./swift-test-results/x86_64-unknown-linux-gnu && /usr/bin/cmake -E make_directory /home/work/sw/swift5/build/Ninja-ReleaseAssert/swift-linux-x86_64/./swift-test-results/x86_64-unknown-linux-gnu && /usr/bin/python /home/work/sw/swift5/llvm/utils/lit/lit.py --incremental -v --xunit-xml-output=/home/work/sw/swift5/build/Ninja-ReleaseAssert/swift-linux-x86_64/./swift-test-results/x86_64-unknown-linux-gnu/lit-tests.xml --param swift_test_subset=validation --param swift_test_mode=optimize_none
          ninja: build stopped: subcommand failed.
          ./utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting

The previous release version v4.2 works with the same command
It seems the build script has problems.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.build-scriptArea → utils: The build scriptutilsArea: the build system and other accessory scripts under the "utils" directory

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions