Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
swift-ci opened this issue Jan 3, 2019 · 1 comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. build-script Area → utils: The build script

Comments

@swift-ci
Copy link
Collaborator

swift-ci commented Jan 3, 2019

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.

@belkadan
Copy link
Contributor

belkadan commented Jan 7, 2019

Rostepher (JIRA User), do you know anything about this?

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. build-script Area → utils: The build script
Projects
None yet
Development

No branches or pull requests

2 participants