[Swift CI] Build Failure: 0. OSS - Swift Incremental RA - Ubuntu 16.04 (master) #6111

Report

[FAILURE] oss-swift-incremental-RA-linux-ubuntu-16_04 [#6111]

Build URL:
https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-16_04/6111/
Project:
oss-swift-incremental-RA-linux-ubuntu-16_04
Date of build:
Mon, 12 Nov 2018 14:39:54 -0600
Build duration:
48 min

Identified problems:

  • Swift Compile Error: Swift compiler error
  • Compile Error: This build failed because of a compile error. Below is a list of all errors in the build log:
  • Regression test failed: This build failed because a regression test in the test suite FAILed. Below is a list of all errors:

Tests:

Name: Swift(linux-x86_64)
Failed: 8 test(s), Passed: 9688 test(s), Total: 10951 test(s)

Bruno, your change looks the most relevant:

/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/swift/test/ClangImporter/objc_redeclared_properties_incompatible.swift:18:12: error: CHECK: expected string not found in input 15:27:54 // CHECK: [[@LINE-1]]:20: error: cannot convert value of type 'Base' to specified type 'Int' 15:27:54 ^ 15:27:54 :1:1: note: scanning from here 15:27:54 :0: error: compilation involves pch was enabled in PCH file but is currently disabled 15:27:54 ^ 15:27:54 :1:1: note: with expression "@LINE-1" equal to "17" 15:27:54 :0: error: compilation involves pch was enabled in PCH file but is currently disabled 15:27:54 ^ 15:27:54 :3:10: note: possible intended match here 15:27:54 :0: error: clang importer creation failed 15:27:54 ^ 15:27:54
15:27:54 -- 15:27:54

Hi,

My commit changes the signature of PCMs and PCHs, and attempts to reuse an old PCH will fail, I wonder if these tests are not doing the appropriate cleanup. Also, I didn't see any of these problems while testing the PR.

For instance, in the beginning of the test:

rm -rf "/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/buildbot_incremental/swift-linux-x86_64/test-linux-x86_64/Driver/Output/bridging-pch.swift.tm

the error:

:0: error: PCH was compiled with module cache path '/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/buildbot_incremental/swift-linux-x86_64/swift-test-results/x86_64-unknown-linux-gnu/clang-module-cache/WQZIU94U4W5', but the path is currently '/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/buildbot_incremental/swift-linux-x86_64/swift-test-results/x86_64-unknown-linux-gnu/clang-module-cache/OP19HZO07EA1'

:0: error: clang importer creation failed

note that the module cache is not wiped out before hand. How can we force a clean build here?

New issue found!

It could also be the commit missing from master. Here are the PRs to close the gap with other branches.

https://github.com/apple/swift/pull/20240
https://github.com/apple/swift-clang/pull/222