Open 41412bb9-c79a-4f5a-8a7f-383cb40aa74b opened 8 years ago
Issue Description:
This test failure is seen in https://github.com/apple/swift/pull/5041
FAIL: llbuild :: BuildSystem/Build/missing-inputs.llbuild (20 of 118) ******************** TEST 'llbuild :: BuildSystem/Build/missing-inputs.llbuild' FAILED ******************** Script: -- rm -rf /home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/llbuild-linux-x86_64/tests/BuildSystem/Build/Output/missing-inputs.llbuild.tmp.build mkdir -p /home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/llbuild-linux-x86_64/tests/BuildSystem/Build/Output/missing-inputs.llbuild.tmp.build cp /home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/llbuild/tests/BuildSystem/Build/missing-inputs.llbuild /home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/llbuild-linux-x86_64/tests/BuildSystem/Build/Output/missing-inputs.llbuild.tmp.build/build.llbuild '/home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/llbuild-linux-x86_64/bin/llbuild' buildsystem build --serial --chdir /home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/llbuild-linux-x86_64/tests/BuildSystem/Build/Output/missing-inputs.llbuild.tmp.build &> /home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/llbuild-linux-x86_64/tests/BuildSystem/Build/Output/missing-inputs.llbuild.tmp.out || true /home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/llvm-linux-x86_64/bin/FileCheck /home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/llbuild/tests/BuildSystem/Build/missing-inputs.llbuild --input-file /home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/llbuild-linux-x86_64/tests/BuildSystem/Build/Output/missing-inputs.llbuild.tmp.out --check-prefix=CHECK-FAILURE touch /home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/llbuild-linux-x86_64/tests/BuildSystem/Build/Output/missing-inputs.llbuild.tmp.build/input '/home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/llbuild-linux-x86_64/bin/llbuild' buildsystem build --serial --chdir /home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/llbuild-linux-x86_64/tests/BuildSystem/Build/Output/missing-inputs.llbuild.tmp.build &> /home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/llbuild-linux-x86_64/tests/BuildSystem/Build/Output/missing-inputs.llbuild.tmp2.out || true /home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/llvm-linux-x86_64/bin/FileCheck /home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/llbuild/tests/BuildSystem/Build/missing-inputs.llbuild --input-file /home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/llbuild-linux-x86_64/tests/BuildSystem/Build/Output/missing-inputs.llbuild.tmp2.out --check-prefix=CHECK-FAILURE-2 -- Exit Code: 1 Command Output (stdout): -- $ "rm" "-rf" "/home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/llbuild-linux-x86_64/tests/BuildSystem/Build/Output/missing-inputs.llbuild.tmp.build" $ "mkdir" "-p" "/home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/llbuild-linux-x86_64/tests/BuildSystem/Build/Output/missing-inputs.llbuild.tmp.build" $ "cp" "/home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/llbuild/tests/BuildSystem/Build/missing-inputs.llbuild" "/home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/llbuild-linux-x86_64/tests/BuildSystem/Build/Output/missing-inputs.llbuild.tmp.build/build.llbuild" $ "/home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/llbuild-linux-x86_64/bin/llbuild" "buildsystem" "build" "--serial" "--chdir" "/home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/llbuild-linux-x86_64/tests/BuildSystem/Build/Output/missing-inputs.llbuild.tmp.build" # redirected output from '/home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/llbuild-linux-x86_64/tests/BuildSystem/Build/Output/missing-inputs.llbuild.tmp.out': /bin/sh -c true <unknown>:0: error: build had 1 command failures <unknown>:0: error: cannot build 'output-1' due to missing input note: command had no output on stdout or stderr error: command failed with exit status: 1 $ "true" $ "/home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/llvm-linux-x86_64/bin/FileCheck" "/home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/llbuild/tests/BuildSystem/Build/missing-inputs.llbuild" "--input-file" "/home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/llbuild-linux-x86_64/tests/BuildSystem/Build/Output/missing-inputs.llbuild.tmp.out" "--check-prefix=CHECK-FAILURE" # command stderr: /home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/llbuild/tests/BuildSystem/Build/missing-inputs.llbuild:12:18: error: expected string not found in input # CHECK-FAILURE: missing input 'input' and no rule to build it ^ /home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/llbuild-linux-x86_64/tests/BuildSystem/Build/Output/missing-inputs.llbuild.tmp.out:1:1: note: scanning from here /bin/sh -c true ^ /home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/llbuild-linux-x86_64/tests/BuildSystem/Build/Output/missing-inputs.llbuild.tmp.out:4:26: note: possible intended match here <unknown>:0: error: cannot build 'output-1' due to missing input ^ error: command failed with exit status: 1
Added some additional logging in https://github.com/apple/swift-llbuild/commit/c845f82f3d099784dfcf8b91096b4285c046aae1 to try to figure out what is happening.
Environment
Ubuntu 14.04Additional Detail from JIRA
| | | |------------------|-----------------| |Votes | 0 | |Component/s | llbuild | |Labels | Bug | |Assignee | @ddunbar | |Priority | Medium | md5: d06dc9883097ab9209de220a65bf9778Issue Description:
This test failure is seen in https://github.com/apple/swift/pull/5041