[Swift CI] [Master] Swift iPhone simulator i386 test failing


(Mishal Shah) #1

Swift iPhone simulator i386 test are broken after following commits:

https://ci.swift.org/job/oss-swift_tools-RA_stdlib-DA_test-simulator/645/

  • [Parser] Couple "expected declaration" Diagnose With A Note (detail)
  • [Parser] updated tests for "expected declaration" companion note (detail)
  • [stdlib] Rename "PrivateDarwin" to "PrivateLibc" (detail)
  • [Omit needless words] More Cocoa verbs: activate, deactivate, reattach. (detail)
  • [Omit needless words] Treat "Mask" as a skippable type suffix. (detail)
  • ASTPrinter: Move the logic for collecting all module groups from (detail)
  • Module group: Address @natecook1000 and @dabrahams's comments. (detail)
  • Module group: Add Optional and Pointer groups. (detail)
  • Improve handling of unreachable blocks in mem2reg. (detail)
  • stdlib: Fix handling of standard library types in _typeByName. (detail)
  • Switch NecessaryBindings to use PolymorphicConvention, making it much (detail)
  • Module group: Move Bit.swift to Math. (detail)
  • Module group: Add protocol group. (detail)
  • [upstream-update] dexonsmith in an upstream commit realized he missed an (detail)
  • Disable test/Interpreter/property_behavior.swift optimized execution (detail)
  • Remove some now-unnecessary code, since associated types are no longer (detail)
  • Refactor some ArraySemanticsCall code. NFC. (detail)
  • Handle array.get_element semantics calls with direct results in SIL (detail)
  • Support for mangling of generic specializations with different (detail)
  • refactoring: move static function isPartialApplyOfReabstractionThunk (detail)
  • GenericSpecializer: When specializing a generic function, convert (detail)
  • [Omit needless words] "de-" is a verb prefix. (detail)
  • [Omit needless words] Don't infer empty option sets for setters. (detail)
  • [Omit needless words] Don't prefix-strip when dumping APIs. (detail)

******************** TEST 'Swift :: IRGen/protocol_resilience.sil' FAILED ********************

Script:

···

--
/Users/buildnode/jenkins/workspace/oss-swift_tools-RA_stdlib-DA_test-simulator/Ninja-ReleaseAssert/swift-macosx-x86_64/bin/swiftc -frontend -target i386-apple-ios7.0 -module-cache-path '/var/folders/_8/79jmzf2142z2xydc_01btlx00000gn/T/swift-testsuite-clang-module-cacheJGYIrV' -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.2.sdk -I /Users/buildnode/jenkins/workspace/oss-swift_tools-RA_stdlib-DA_test-simulator/swift/test/IRGen/../Inputs -enable-source-import -emit-ir -enable-resilience /Users/buildnode/jenkins/workspace/oss-swift_tools-RA_stdlib-DA_test-simulator/swift/test/IRGen/protocol_resilience.sil | FileCheck /Users/buildnode/jenkins/workspace/oss-swift_tools-RA_stdlib-DA_test-simulator/swift/test/IRGen/protocol_resilience.sil
/Users/buildnode/jenkins/workspace/oss-swift_tools-RA_stdlib-DA_test-simulator/Ninja-ReleaseAssert/swift-macosx-x86_64/bin/swiftc -frontend -target i386-apple-ios7.0 -module-cache-path '/var/folders/_8/79jmzf2142z2xydc_01btlx00000gn/T/swift-testsuite-clang-module-cacheJGYIrV' -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.2.sdk -I /Users/buildnode/jenkins/workspace/oss-swift_tools-RA_stdlib-DA_test-simulator/swift/test/IRGen/../Inputs -enable-source-import -emit-ir -enable-resilience -O /Users/buildnode/jenkins/workspace/oss-swift_tools-RA_stdlib-DA_test-simulator/swift/test/IRGen/protocol_resilience.sil
--
Exit Code: 1

Command Output (stderr):
--

/Users/buildnode/jenkins/workspace/oss-swift_tools-RA_stdlib-DA_test-simulator/swift/test/IRGen/protocol_resilience.sil:94:17: error: expected string not found in input

// CHECK-NEXT: [[LAYOUT:%.*]] = bitcast %swift.refcounted* [[CONTEXT]] to <{ %swift.refcounted, [{{8|16}} x i8], i8* }>*
                ^
<stdin>:84:186: note: scanning from here
%5 = call noalias %swift.refcounted* @swift_allocObject(%swift.type* getelementptr inbounds (%swift.full_boxmetadata, %swift.full_boxmetadata* @metadata, i32 0, i32 2), i32 20, i32 3) #2
                                                                                                                                                                                         ^
<stdin>:84:186: note: with variable "CONTEXT" equal to "%5"
%5 = call noalias %swift.refcounted* @swift_allocObject(%swift.type* getelementptr inbounds (%swift.full_boxmetadata, %swift.full_boxmetadata* @metadata, i32 0, i32 2), i32 20, i32 3) #2
                                                                                                                                                                                         ^
<stdin>:85:2: note: possible intended match here
%6 = bitcast %swift.refcounted* %5 to <{ %swift.refcounted, [4 x i8], i8* }>*
^

--

********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..

Testing Time: 2933.43s
********************
Failing Tests (1):
    Swift :: IRGen/protocol_resilience.sil


(Slava Pestov) #2

I'll fix it.

it appears that @swift-ci doesn't run these tests?

Slava

···

On Feb 23, 2016, at 10:29 AM, Mishal Shah via swift-dev <swift-dev@swift.org> wrote:

Swift iPhone simulator i386 test are broken after following commits:

https://ci.swift.org/job/oss-swift_tools-RA_stdlib-DA_test-simulator/645/

  • [Parser] Couple &quot;expected declaration&quot; Diagnose With A Note (detail)
  • [Parser] updated tests for &quot;expected declaration&quot; companion note (detail)
  • [stdlib] Rename &quot;PrivateDarwin&quot; to &quot;PrivateLibc&quot; (detail)
  • [Omit needless words] More Cocoa verbs: activate, deactivate, reattach. (detail)
  • [Omit needless words] Treat &quot;Mask&quot; as a skippable type suffix. (detail)
  • ASTPrinter: Move the logic for collecting all module groups from (detail)
  • Module group: Address @natecook1000 and @dabrahams&#039;s comments. (detail)
  • Module group: Add Optional and Pointer groups. (detail)
  • Improve handling of unreachable blocks in mem2reg. (detail)
  • stdlib: Fix handling of standard library types in _typeByName. (detail)
  • Switch NecessaryBindings to use PolymorphicConvention, making it much (detail)
  • Module group: Move Bit.swift to Math. (detail)
  • Module group: Add protocol group. (detail)
  • [upstream-update] dexonsmith in an upstream commit realized he missed an (detail)
  • Disable test/Interpreter/property_behavior.swift optimized execution (detail)
  • Remove some now-unnecessary code, since associated types are no longer (detail)
  • Refactor some ArraySemanticsCall code. NFC. (detail)
  • Handle array.get_element semantics calls with direct results in SIL (detail)
  • Support for mangling of generic specializations with different (detail)
  • refactoring: move static function isPartialApplyOfReabstractionThunk (detail)
  • GenericSpecializer: When specializing a generic function, convert (detail)
  • [Omit needless words] &quot;de-&quot; is a verb prefix. (detail)
  • [Omit needless words] Don&#039;t infer empty option sets for setters. (detail)
  • [Omit needless words] Don&#039;t prefix-strip when dumping APIs. (detail)

******************** TEST 'Swift :: IRGen/protocol_resilience.sil' FAILED ********************

Script:
--
/Users/buildnode/jenkins/workspace/oss-swift_tools-RA_stdlib-DA_test-simulator/Ninja-ReleaseAssert/swift-macosx-x86_64/bin/swiftc -frontend -target i386-apple-ios7.0 -module-cache-path '/var/folders/_8/79jmzf2142z2xydc_01btlx00000gn/T/swift-testsuite-clang-module-cacheJGYIrV' -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.2.sdk -I /Users/buildnode/jenkins/workspace/oss-swift_tools-RA_stdlib-DA_test-simulator/swift/test/IRGen/../Inputs -enable-source-import -emit-ir -enable-resilience /Users/buildnode/jenkins/workspace/oss-swift_tools-RA_stdlib-DA_test-simulator/swift/test/IRGen/protocol_resilience.sil | FileCheck /Users/buildnode/jenkins/workspace/oss-swift_tools-RA_stdlib-DA_test-simulator/swift/test/IRGen/protocol_resilience.sil
/Users/buildnode/jenkins/workspace/oss-swift_tools-RA_stdlib-DA_test-simulator/Ninja-ReleaseAssert/swift-macosx-x86_64/bin/swiftc -frontend -target i386-apple-ios7.0 -module-cache-path '/var/folders/_8/79jmzf2142z2xydc_01btlx00000gn/T/swift-testsuite-clang-module-cacheJGYIrV' -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.2.sdk -I /Users/buildnode/jenkins/workspace/oss-swift_tools-RA_stdlib-DA_test-simulator/swift/test/IRGen/../Inputs -enable-source-import -emit-ir -enable-resilience -O /Users/buildnode/jenkins/workspace/oss-swift_tools-RA_stdlib-DA_test-simulator/swift/test/IRGen/protocol_resilience.sil
--
Exit Code: 1

Command Output (stderr):
--

/Users/buildnode/jenkins/workspace/oss-swift_tools-RA_stdlib-DA_test-simulator/swift/test/IRGen/protocol_resilience.sil:94:17: error: expected string not found in input

// CHECK-NEXT: [[LAYOUT:%.*]] = bitcast %swift.refcounted* [[CONTEXT]] to <{ %swift.refcounted, [{{8|16}} x i8], i8* }>*
                ^
<stdin>:84:186: note: scanning from here
%5 = call noalias %swift.refcounted* @swift_allocObject(%swift.type* getelementptr inbounds (%swift.full_boxmetadata, %swift.full_boxmetadata* @metadata, i32 0, i32 2), i32 20, i32 3) #2
                                                                                                                                                                                         ^
<stdin>:84:186: note: with variable "CONTEXT" equal to "%5"
%5 = call noalias %swift.refcounted* @swift_allocObject(%swift.type* getelementptr inbounds (%swift.full_boxmetadata, %swift.full_boxmetadata* @metadata, i32 0, i32 2), i32 20, i32 3) #2
                                                                                                                                                                                         ^
<stdin>:85:2: note: possible intended match here
%6 = bitcast %swift.refcounted* %5 to <{ %swift.refcounted, [4 x i8], i8* }>*
^

--

********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..

Testing Time: 2933.43s
********************
Failing Tests (1):
    Swift :: IRGen/protocol_resilience.sil

_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev


(Mishal Shah) #3

Hi Slava,

The pull request testing should run “check-swift-all-iphonesimulator-i386”, If you are not seeing it with "@swift-ci Please test” please let me know this is a bug.

Thanks,
Mishal Shah

···

On Feb 23, 2016, at 1:05 PM, Slava Pestov <spestov@apple.com> wrote:

I'll fix it.

it appears that @swift-ci doesn't run these tests?

Slava

On Feb 23, 2016, at 10:29 AM, Mishal Shah via swift-dev <swift-dev@swift.org <mailto:swift-dev@swift.org>> wrote:

Swift iPhone simulator i386 test are broken after following commits:

https://ci.swift.org/job/oss-swift_tools-RA_stdlib-DA_test-simulator/645/

  • [Parser] Couple &quot;expected declaration&quot; Diagnose With A Note (detail)
  • [Parser] updated tests for &quot;expected declaration&quot; companion note (detail)
  • [stdlib] Rename &quot;PrivateDarwin&quot; to &quot;PrivateLibc&quot; (detail)
  • [Omit needless words] More Cocoa verbs: activate, deactivate, reattach. (detail)
  • [Omit needless words] Treat &quot;Mask&quot; as a skippable type suffix. (detail)
  • ASTPrinter: Move the logic for collecting all module groups from (detail)
  • Module group: Address @natecook1000 and @dabrahams&#039;s comments. (detail)
  • Module group: Add Optional and Pointer groups. (detail)
  • Improve handling of unreachable blocks in mem2reg. (detail)
  • stdlib: Fix handling of standard library types in _typeByName. (detail)
  • Switch NecessaryBindings to use PolymorphicConvention, making it much (detail)
  • Module group: Move Bit.swift to Math. (detail)
  • Module group: Add protocol group. (detail)
  • [upstream-update] dexonsmith in an upstream commit realized he missed an (detail)
  • Disable test/Interpreter/property_behavior.swift optimized execution (detail)
  • Remove some now-unnecessary code, since associated types are no longer (detail)
  • Refactor some ArraySemanticsCall code. NFC. (detail)
  • Handle array.get_element semantics calls with direct results in SIL (detail)
  • Support for mangling of generic specializations with different (detail)
  • refactoring: move static function isPartialApplyOfReabstractionThunk (detail)
  • GenericSpecializer: When specializing a generic function, convert (detail)
  • [Omit needless words] &quot;de-&quot; is a verb prefix. (detail)
  • [Omit needless words] Don&#039;t infer empty option sets for setters. (detail)
  • [Omit needless words] Don&#039;t prefix-strip when dumping APIs. (detail)

******************** TEST 'Swift :: IRGen/protocol_resilience.sil' FAILED ********************

Script:
--
/Users/buildnode/jenkins/workspace/oss-swift_tools-RA_stdlib-DA_test-simulator/Ninja-ReleaseAssert/swift-macosx-x86_64/bin/swiftc -frontend -target i386-apple-ios7.0 -module-cache-path '/var/folders/_8/79jmzf2142z2xydc_01btlx00000gn/T/swift-testsuite-clang-module-cacheJGYIrV' -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.2.sdk -I /Users/buildnode/jenkins/workspace/oss-swift_tools-RA_stdlib-DA_test-simulator/swift/test/IRGen/../Inputs -enable-source-import -emit-ir -enable-resilience /Users/buildnode/jenkins/workspace/oss-swift_tools-RA_stdlib-DA_test-simulator/swift/test/IRGen/protocol_resilience.sil | FileCheck /Users/buildnode/jenkins/workspace/oss-swift_tools-RA_stdlib-DA_test-simulator/swift/test/IRGen/protocol_resilience.sil
/Users/buildnode/jenkins/workspace/oss-swift_tools-RA_stdlib-DA_test-simulator/Ninja-ReleaseAssert/swift-macosx-x86_64/bin/swiftc -frontend -target i386-apple-ios7.0 -module-cache-path '/var/folders/_8/79jmzf2142z2xydc_01btlx00000gn/T/swift-testsuite-clang-module-cacheJGYIrV' -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.2.sdk -I /Users/buildnode/jenkins/workspace/oss-swift_tools-RA_stdlib-DA_test-simulator/swift/test/IRGen/../Inputs -enable-source-import -emit-ir -enable-resilience -O /Users/buildnode/jenkins/workspace/oss-swift_tools-RA_stdlib-DA_test-simulator/swift/test/IRGen/protocol_resilience.sil
--
Exit Code: 1

Command Output (stderr):
--

/Users/buildnode/jenkins/workspace/oss-swift_tools-RA_stdlib-DA_test-simulator/swift/test/IRGen/protocol_resilience.sil:94:17: error: expected string not found in input

// CHECK-NEXT: [[LAYOUT:%.*]] = bitcast %swift.refcounted* [[CONTEXT]] to <{ %swift.refcounted, [{{8|16}} x i8], i8* }>*
                ^
<stdin>:84:186: note: scanning from here
%5 = call noalias %swift.refcounted* @swift_allocObject(%swift.type* getelementptr inbounds (%swift.full_boxmetadata, %swift.full_boxmetadata* @metadata, i32 0, i32 2), i32 20, i32 3) #2
                                                                                                                                                                                         ^
<stdin>:84:186: note: with variable "CONTEXT" equal to "%5"
%5 = call noalias %swift.refcounted* @swift_allocObject(%swift.type* getelementptr inbounds (%swift.full_boxmetadata, %swift.full_boxmetadata* @metadata, i32 0, i32 2), i32 20, i32 3) #2
                                                                                                                                                                                         ^
<stdin>:85:2: note: possible intended match here
%6 = bitcast %swift.refcounted* %5 to <{ %swift.refcounted, [4 x i8], i8* }>*
^

--

********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..

Testing Time: 2933.43s
********************
Failing Tests (1):
    Swift :: IRGen/protocol_resilience.sil

_______________________________________________
swift-dev mailing list
swift-dev@swift.org <mailto:swift-dev@swift.org>
https://lists.swift.org/mailman/listinfo/swift-dev