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-9228] CI blocker on master: ClangImporter tests fail with 'error: compilation involves pch was enabled in PCH file but is currently disabled' #51716

Closed
millenomi opened this issue Nov 12, 2018 · 2 comments
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself

Comments

@millenomi
Copy link
Contributor

Previous ID SR-9228
Radar rdar://problem/52193119
Original Reporter @millenomi
Type Bug
Status Closed
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug
Assignee None
Priority Medium

md5: f4a1fd8183631bfb7f1a77c6de45024f

Issue Description:

Tests are failing on CI with: (see https://ci.swift.org/job/swift-corelibs-foundation-PR-Linux/1550/console)

17:29:17 : 'RUN: at line 4';   not /home/buildnode/jenkins/workspace/swift-corelibs-foundation-PR-Linux/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift -frontend -target x86_64-unknown-linux-gnu  -module-cache-path '/home/buildnode/jenkins/workspace/swift-corelibs-foundation-PR-Linux/Ninja-ReleaseAssert/swift-linux-x86_64/swift-test-results/x86_64-unknown-linux-gnu/clang-module-cache' -swift-version 4  -typecheck /home/buildnode/jenkins/workspace/swift-corelibs-foundation-PR-Linux/swift/test/ClangImporter/diags-with-many-imports.swift -I /home/buildnode/jenkins/workspace/swift-corelibs-foundation-PR-Linux/swift/test/ClangImporter/Inputs/many-imports -enable-objc-interop -import-objc-header /home/buildnode/jenkins/workspace/swift-corelibs-foundation-PR-Linux/swift/test/ClangImporter/Inputs/many-imports/obsoleted.h -pch-output-dir /home/buildnode/jenkins/workspace/swift-corelibs-foundation-PR-Linux/Ninja-ReleaseAssert/swift-linux-x86_64/test-linux-x86_64/ClangImporter/Output/diags-with-many-imports.swift.tmp/pch 2>&1 | /home/buildnode/jenkins/workspace/swift-corelibs-foundation-PR-Linux/swift/utils/PathSanitizingFileCheck --sanitize 'BUILD_DIR=/home/buildnode/jenkins/workspace/swift-corelibs-foundation-PR-Linux/Ninja-ReleaseAssert/swift-linux-x86_64' --sanitize 'SOURCE_DIR=/home/buildnode/jenkins/workspace/swift-corelibs-foundation-PR-Linux/swift' --use-filecheck '/home/buildnode/jenkins/workspace/swift-corelibs-foundation-PR-Linux/Ninja-ReleaseAssert/llvm-linux-x86_64/bin/FileCheck' /home/buildnode/jenkins/workspace/swift-corelibs-foundation-PR-Linux/swift/test/ClangImporter/diags-with-many-imports.swift
17:29:17 --
17:29:17 Exit Code: 1
17:29:17 
17:29:17 Command Output (stderr):
17:29:17 --
17:29:17 /home/buildnode/jenkins/workspace/swift-corelibs-foundation-PR-Linux/swift/test/ClangImporter/diags-with-many-imports.swift:109:11: error: CHECK: expected string not found in input
17:29:17 // CHECK: [[@LINE-1]]:1: error:
17:29:17           ^
17:29:17 <stdin>:1:1: note: scanning from here
17:29:17 <unknown>:0: error: compilation involves pch was enabled in PCH file but is currently disabled
17:29:17 ^
17:29:17 <stdin>:1:1: note: with expression "@LINE-1" equal to "108"
17:29:17 <unknown>:0: error: compilation involves pch was enabled in PCH file but is currently disabled
17:29:17 ^
17:29:17 <stdin>:1:10: note: possible intended match here
17:29:17 <unknown>:0: error: compilation involves pch was enabled in PCH file but is currently disabled
17:29:17          ^
17:29:17 
17:29:17 --
17:29:17 

This is blocking PR testing. Starting with Compiler, but feel free to move around as needed.

@millenomi
Copy link
Contributor Author

@swift-ci create

@millenomi
Copy link
Contributor Author

#20240

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
This issue was closed.
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. compiler The Swift compiler in itself
Projects
None yet
Development

No branches or pull requests

1 participant