[Swift CI] Build Failure: 1. OSS - Swift ASAN - OS X (master) #718


(Michael Ilseman) #1

Jordan, are you currently tracking this?

Script:

···

--
rm -rf /Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/buildbot_incremental_asan/swift-macosx-x86_64/test-macosx-x86_64/APINotes/Output/versioned-objc.swift.tmp && mkdir -p /Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/buildbot_incremental_asan/swift-macosx-x86_64/test-macosx-x86_64/APINotes/Output/versioned-objc.swift.tmp
not /Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/buildbot_incremental_asan/swift-macosx-x86_64/bin/swiftc -frontend -target x86_64-apple-macosx10.9 -module-cache-path '/var/folders/_8/79jmzf2142z2xydc_01btlx00000gn/T/swift-testsuite-clang-module-cacheyxFbSP' -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -swift-version 3 -typecheck -F /Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/swift/test/APINotes/Inputs/custom-frameworks -swift-version 4 /Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/swift/test/APINotes/versioned-objc.swift 2>&1 | /Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/swift/utils/PathSanitizingFileCheck --sanitize 'BUILD_DIR=/Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/buildbot_incremental_asan/swift-macosx-x86_64' --sanitize 'SOURCE_DIR=/Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/swift' --use-filecheck '/Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/buildbot_incremental_asan/llvm-macosx-x86_64/./bin/FileCheck' -check-prefix=CHECK-DIAGS -check-prefix=CHECK-DIAGS-4 /Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/swift/test/APINotes/versioned-objc.swift
not /Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/buildbot_incremental_asan/swift-macosx-x86_64/bin/swiftc -frontend -target x86_64-apple-macosx10.9 -module-cache-path '/var/folders/_8/79jmzf2142z2xydc_01btlx00000gn/T/swift-testsuite-clang-module-cacheyxFbSP' -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -swift-version 3 -typecheck -F /Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/swift/test/APINotes/Inputs/custom-frameworks -swift-version 3 /Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/swift/test/APINotes/versioned-objc.swift 2>&1 | /Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/swift/utils/PathSanitizingFileCheck --sanitize 'BUILD_DIR=/Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/buildbot_incremental_asan/swift-macosx-x86_64' --sanitize 'SOURCE_DIR=/Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/swift' --use-filecheck '/Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/buildbot_incremental_asan/llvm-macosx-x86_64/./bin/FileCheck' -check-prefix=CHECK-DIAGS -check-prefix=CHECK-DIAGS-3 /Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/swift/test/APINotes/versioned-objc.swift
--
Exit Code: 1

Command Output (stderr):
--
/Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/swift/test/APINotes/versioned-objc.swift:49:20: error: expected string not found in input
// CHECK-DIAGS-4: [[@LINE-1]]:{{[0-9]+}}: error: 'classWithManyRenamesForInt' has been replaced by 'init(swift4Factory:)'
                   ^
<stdin>:42:2: note: scanning from here
let _: RenamedGeneric<SwiftClass> = OldRenamedGeneric<SwiftClass>()
^
<stdin>:42:2: note: with expression "@LINE-1" equal to "48"
let _: RenamedGeneric<SwiftClass> = OldRenamedGeneric<SwiftClass>()
^
<stdin>:47:46: note: possible intended match here
SOURCE_DIR/test/APINotes/versioned-objc.swift:48:28: error: 'classWithManyRenamesForInt' has been replaced by 'init(for:)'
                                             ^

--

On May 16, 2017, at 2:05 PM, no-reply@swift.org wrote:

[FAILURE] oss-swift-incremental-ASAN-RA-osx [#718]

Build URL: https://ci.swift.org/job/oss-swift-incremental-ASAN-RA-osx/718/
Project: oss-swift-incremental-ASAN-RA-osx
Date of build: Tue, 16 May 2017 10:26:23 -0700
Build duration: 3 hr 39 min
Identified problems:

Compile Error: This build failed because of a compile error. Below is a list of all errors in the build log:
Indication 1 <https://ci.swift.org//job/oss-swift-incremental-ASAN-RA-osx/718/consoleFull#1594731716ee1a197b-acac-4b17-83cf-a53b95139a76>
Regression test failed: This build failed because a regression test in the test suite FAILed. Below is a list of all errors:
Indication 1 <https://ci.swift.org//job/oss-swift-incremental-ASAN-RA-osx/718/consoleFull#-720194941fca400bf-2f4a-462e-b517-e058d770b2d7>
Tests:

Name: Swift(macosx-x86_64)
Failed: 1 test(s), Passed: 9393 test(s), Total: 9394 test(s)
Failed: Swift(macosx-x86_64).APINotes.versioned-objc.swift <https://ci.swift.org/job/oss-swift-incremental-ASAN-RA-osx/718/testReport/junit/Swift(macosx-x86_64)/APINotes/versioned_objc_swift>
Name: Swift-Unit
Failed: 0 test(s), Passed: 492 test(s), Total: 492 test(s)

Changes

Commit 478fdd7716a6382833eb04c592592731d072b822 by Jordan Rose:
[ClangImporter] Remove remaining references to "Swift 2 variants".

edit: lib/ClangImporter/ImportDecl.cpp

Commit 280dacea4cc6fdd847347f151dc81b6d2add30c7 by Jordan Rose:
[ClangImporter] Import ObjC members under Swift 3 and 4 names.

edit: test/IDE/print_omit_needless_words.swift
edit: test/APINotes/Inputs/custom-frameworks/APINotesFrameworkTest.framework/Headers/Protocols.h
edit: test/APINotes/versioned-objc.swift
edit: test/ClangImporter/Inputs/SwiftPrivateAttr.txt
edit: test/IDE/print_clang_decls_AppKit.swift
edit: lib/ClangImporter/ImportDecl.cpp
edit: test/APINotes/Inputs/custom-frameworks/APINotesFrameworkTest.framework/Headers/Classes.h
edit: test/APINotes/Inputs/custom-frameworks/APINotesFrameworkTest.framework/Headers/APINotesFrameworkTest.apinotes
edit: test/IDE/print_clang_swift_name.swift

Commit 94d9d6a33a1b719fa5590b107a141555cb2db5e9 by Jordan Rose:
[ClangImporter] Shrink EffectiveClangContext on 32-bit platforms.

edit: lib/ClangImporter/SwiftLookupTable.h

Commit ec23dcaaac86bb48cbc8cb58c8842bc24915e377 by Jordan Rose:
[ClangImporter] Find Swift 3 / 4 names via dynamic lookup too.

add: test/APINotes/versioned-objc-dynamic-lookup.swift
edit: lib/ClangImporter/ClangImporter.cpp
edit: lib/ClangImporter/ImportDecl.cpp
edit: test/APINotes/Inputs/custom-frameworks/APINotesFrameworkTest.framework/Headers/APINotesFrameworkTest.apinotes
edit: test/APINotes/Inputs/custom-frameworks/APINotesFrameworkTest.framework/Headers/Classes.h
edit: lib/ClangImporter/ImporterImpl.h

Commit d522618bacb45aac99e70b5b07ce39565e12bcf1 by Roman Levenstein:
Add a new builtin called is_same_metatype for checking the equality

edit: lib/IRGen/GenBuiltin.cpp
edit: lib/SIL/ValueOwnershipKindClassifier.cpp
edit: stdlib/public/core/Builtin.swift
edit: lib/SIL/SILOwnershipVerifier.cpp
edit: include/swift/AST/Builtins.def
edit: test/IRGen/builtins.swift
add: test/SILOptimizer/compare_types.swift
edit: lib/AST/Builtins.cpp

Commit caf5f68c94b5bdda13ab4cb84124dd6603ea960d by github:
[Foundation] Correct symbolic availability for CFURL component characer

edit: stdlib/public/SwiftShims/CFCharacterSetShims.h
edit: stdlib/public/SwiftShims/CMakeLists.txt
edit: stdlib/public/SDK/Foundation/CharacterSet.swift
add: stdlib/public/SwiftShims/NSCharacterSetShims.h
edit: stdlib/public/SwiftShims/FoundationOverlayShims.h


(Jordan Rose) #2

Just looking into it now, was in the migration fest.

···

On May 16, 2017, at 14:09, Michael Ilseman <milseman@apple.com> wrote:

Jordan, are you currently tracking this?

Script:
--
rm -rf /Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/buildbot_incremental_asan/swift-macosx-x86_64/test-macosx-x86_64/APINotes/Output/versioned-objc.swift.tmp && mkdir -p /Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/buildbot_incremental_asan/swift-macosx-x86_64/test-macosx-x86_64/APINotes/Output/versioned-objc.swift.tmp
not /Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/buildbot_incremental_asan/swift-macosx-x86_64/bin/swiftc -frontend -target x86_64-apple-macosx10.9 -module-cache-path '/var/folders/_8/79jmzf2142z2xydc_01btlx00000gn/T/swift-testsuite-clang-module-cacheyxFbSP' -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -swift-version 3 -typecheck -F /Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/swift/test/APINotes/Inputs/custom-frameworks -swift-version 4 /Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/swift/test/APINotes/versioned-objc.swift 2>&1 | /Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/swift/utils/PathSanitizingFileCheck --sanitize 'BUILD_DIR=/Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/buildbot_incremental_asan/swift-macosx-x86_64' --sanitize 'SOURCE_DIR=/Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/swift' --use-filecheck '/Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/buildbot_incremental_asan/llvm-macosx-x86_64/./bin/FileCheck' -check-prefix=CHECK-DIAGS -check-prefix=CHECK-DIAGS-4 /Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/swift/test/APINotes/versioned-objc.swift
not /Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/buildbot_incremental_asan/swift-macosx-x86_64/bin/swiftc -frontend -target x86_64-apple-macosx10.9 -module-cache-path '/var/folders/_8/79jmzf2142z2xydc_01btlx00000gn/T/swift-testsuite-clang-module-cacheyxFbSP' -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -swift-version 3 -typecheck -F /Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/swift/test/APINotes/Inputs/custom-frameworks -swift-version 3 /Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/swift/test/APINotes/versioned-objc.swift 2>&1 | /Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/swift/utils/PathSanitizingFileCheck --sanitize 'BUILD_DIR=/Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/buildbot_incremental_asan/swift-macosx-x86_64' --sanitize 'SOURCE_DIR=/Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/swift' --use-filecheck '/Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/buildbot_incremental_asan/llvm-macosx-x86_64/./bin/FileCheck' -check-prefix=CHECK-DIAGS -check-prefix=CHECK-DIAGS-3 /Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/swift/test/APINotes/versioned-objc.swift
--
Exit Code: 1

Command Output (stderr):
--
/Users/buildnode/jenkins/workspace/oss-swift-incremental-ASAN-RA-osx/swift/test/APINotes/versioned-objc.swift:49:20: error: expected string not found in input
// CHECK-DIAGS-4: [[@LINE-1]]:{{[0-9]+}}: error: 'classWithManyRenamesForInt' has been replaced by 'init(swift4Factory:)'
                   ^
<stdin>:42:2: note: scanning from here
let _: RenamedGeneric<SwiftClass> = OldRenamedGeneric<SwiftClass>()
^
<stdin>:42:2: note: with expression "@LINE-1" equal to "48"
let _: RenamedGeneric<SwiftClass> = OldRenamedGeneric<SwiftClass>()
^
<stdin>:47:46: note: possible intended match here
SOURCE_DIR/test/APINotes/versioned-objc.swift:48:28: error: 'classWithManyRenamesForInt' has been replaced by 'init(for:)'
                                             ^

--

On May 16, 2017, at 2:05 PM, no-reply@swift.org <mailto:no-reply@swift.org> wrote:

[FAILURE] oss-swift-incremental-ASAN-RA-osx [#718]

Build URL: https://ci.swift.org/job/oss-swift-incremental-ASAN-RA-osx/718/
Project: oss-swift-incremental-ASAN-RA-osx
Date of build: Tue, 16 May 2017 10:26:23 -0700
Build duration: 3 hr 39 min
Identified problems:

Compile Error: This build failed because of a compile error. Below is a list of all errors in the build log:
Indication 1 <https://ci.swift.org//job/oss-swift-incremental-ASAN-RA-osx/718/consoleFull#1594731716ee1a197b-acac-4b17-83cf-a53b95139a76>
Regression test failed: This build failed because a regression test in the test suite FAILed. Below is a list of all errors:
Indication 1 <https://ci.swift.org//job/oss-swift-incremental-ASAN-RA-osx/718/consoleFull#-720194941fca400bf-2f4a-462e-b517-e058d770b2d7>
Tests:

Name: Swift(macosx-x86_64)
Failed: 1 test(s), Passed: 9393 test(s), Total: 9394 test(s)
Failed: Swift(macosx-x86_64).APINotes.versioned-objc.swift <https://ci.swift.org/job/oss-swift-incremental-ASAN-RA-osx/718/testReport/junit/Swift(macosx-x86_64)/APINotes/versioned_objc_swift>
Name: Swift-Unit
Failed: 0 test(s), Passed: 492 test(s), Total: 492 test(s)

Changes

Commit 478fdd7716a6382833eb04c592592731d072b822 by Jordan Rose:
[ClangImporter] Remove remaining references to "Swift 2 variants".

edit: lib/ClangImporter/ImportDecl.cpp

Commit 280dacea4cc6fdd847347f151dc81b6d2add30c7 by Jordan Rose:
[ClangImporter] Import ObjC members under Swift 3 and 4 names.

edit: test/IDE/print_omit_needless_words.swift
edit: test/APINotes/Inputs/custom-frameworks/APINotesFrameworkTest.framework/Headers/Protocols.h
edit: test/APINotes/versioned-objc.swift
edit: test/ClangImporter/Inputs/SwiftPrivateAttr.txt
edit: test/IDE/print_clang_decls_AppKit.swift
edit: lib/ClangImporter/ImportDecl.cpp
edit: test/APINotes/Inputs/custom-frameworks/APINotesFrameworkTest.framework/Headers/Classes.h
edit: test/APINotes/Inputs/custom-frameworks/APINotesFrameworkTest.framework/Headers/APINotesFrameworkTest.apinotes
edit: test/IDE/print_clang_swift_name.swift

Commit 94d9d6a33a1b719fa5590b107a141555cb2db5e9 by Jordan Rose:
[ClangImporter] Shrink EffectiveClangContext on 32-bit platforms.

edit: lib/ClangImporter/SwiftLookupTable.h

Commit ec23dcaaac86bb48cbc8cb58c8842bc24915e377 by Jordan Rose:
[ClangImporter] Find Swift 3 / 4 names via dynamic lookup too.

add: test/APINotes/versioned-objc-dynamic-lookup.swift
edit: lib/ClangImporter/ClangImporter.cpp
edit: lib/ClangImporter/ImportDecl.cpp
edit: test/APINotes/Inputs/custom-frameworks/APINotesFrameworkTest.framework/Headers/APINotesFrameworkTest.apinotes
edit: test/APINotes/Inputs/custom-frameworks/APINotesFrameworkTest.framework/Headers/Classes.h
edit: lib/ClangImporter/ImporterImpl.h

Commit d522618bacb45aac99e70b5b07ce39565e12bcf1 by Roman Levenstein:
Add a new builtin called is_same_metatype for checking the equality

edit: lib/IRGen/GenBuiltin.cpp
edit: lib/SIL/ValueOwnershipKindClassifier.cpp
edit: stdlib/public/core/Builtin.swift
edit: lib/SIL/SILOwnershipVerifier.cpp
edit: include/swift/AST/Builtins.def
edit: test/IRGen/builtins.swift
add: test/SILOptimizer/compare_types.swift
edit: lib/AST/Builtins.cpp

Commit caf5f68c94b5bdda13ab4cb84124dd6603ea960d by github:
[Foundation] Correct symbolic availability for CFURL component characer

edit: stdlib/public/SwiftShims/CFCharacterSetShims.h
edit: stdlib/public/SwiftShims/CMakeLists.txt
edit: stdlib/public/SDK/Foundation/CharacterSet.swift
add: stdlib/public/SwiftShims/NSCharacterSetShims.h
edit: stdlib/public/SwiftShims/FoundationOverlayShims.h