-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Open
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.build-scriptArea → utils: The build scriptArea → utils: The build scriptutilsArea: the build system and other accessory scripts under the "utils" directoryArea: the build system and other accessory scripts under the "utils" directory
Description
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.
- /usr/bin/cmake --build /home/work/sw/swift5/build/Ninja-ReleaseAssert/swift-linux-x86_64 – -j2 SwiftUnitTests
-
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] [-single-process]j N] [-config-prefix NAME] [-D NAME=VAL]
[q] [-show-suites]s] [-max-failures MAXFAILURES]v] [-xunit-xml-output XUNIT_OUTPUT_FILE]vv] [-no-execute]a] [-vg]o PATH] [-no-progress-bar]
[show-unsupported] [show-xfail] [path PATH] [
[vg-leak] [vg-arg ARG] [time-tests] [
[
[timeout MAXINDIVIDUALTESTTIME] [
[max-tests N] [max-time N] [shuffle] [i] [-filter REGEX]
[num-shards M] [run-shard N] [debug] [
[show-tests] [
[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
- /usr/bin/cmake --build /home/work/sw/swift5/build/Ninja-ReleaseAssert/swift-linux-x86_64 – -j2 check-swift-validation-linux-x86_64-custom
-
-
The previous release version v4.2 works with the same command
It seems the build script has problems.
Metadata
Metadata
Assignees
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.build-scriptArea → utils: The build scriptArea → utils: The build scriptutilsArea: the build system and other accessory scripts under the "utils" directoryArea: the build system and other accessory scripts under the "utils" directory