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


(Joe Shajrawi) #1

During PR testing we saw “bootstrap failure” - looks different here:
Test Case 'PackageDescription4LoadingTests.testTargetDependencies' started at 2017-05-01 15:24:47.575
<>SwiftPMPackageTests.xctest: /home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swift/include/swift/Runtime/../../../stdlib/public/SwiftShims/RefCount.h:399: bool swift::RefCountBitsT<swift::RefCountInlinedness::RefCountIsInline>::doDecrementStrongExtraRefCount(uint32_t) [refcountIsInline = swift::RefCountInlinedness::RefCountIsInline, clearPinnedFlag = swift::ClearPinnedFlag::DontClearPinnedFlag]: Assertion `getStrongExtraRefCount() >= dec && "releasing reference whose refcount is already zero"' failed.--- bootstrap: error: tests failed with exit status 1

Investigating on rad-main to see if this is my fault or not.

Regards,
—Joe |  | :e-mail: shajrawi@apple.com | :iphone:(+1) 408-930-5203

···

On May 1, 2017, at 1:24 PM, no-reply@swift.org wrote:

[FAILURE] oss-swift-incremental-RA-linux-ubuntu-16_10 [#3390]

Build URL: https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-16_10/3390/
Project: oss-swift-incremental-RA-linux-ubuntu-16_10
Date of build: Mon, 01 May 2017 12:58:28 -0700
Build duration: 26 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-RA-linux-ubuntu-16_10/3390/consoleFull#640790743ee1a197b-acac-4b17-83cf-a53b95139a76>
Tests:

Name: Swift(linux-x86_64)
Failed: 0 test(s), Passed: 9316 test(s), Total: 9316 test(s)
Name: Swift-Unit
Failed: 0 test(s), Passed: 417 test(s), Total: 417 test(s)

Changes

Commit d17258cac729b5bd6da4e021f4b99113a65dc054 by Joe Shajrawi:
@in_constant calling convention - part of passing large loadable types

edit: lib/IRGen/GenProto.cpp
edit: lib/SIL/SILOwnershipVerifier.cpp
edit: include/swift/SIL/SILArgumentConvention.h
edit: docs/SIL.rst
edit: lib/IRGen/GenClangType.cpp
edit: lib/SILGen/SILGenApply.cpp
edit: lib/IRGen/GenCall.cpp
edit: lib/Demangling/Demangler.cpp
edit: include/swift/SIL/SILFunctionConventions.h
edit: lib/SIL/SILVerifier.cpp
edit: lib/SILGen/SILGenProlog.cpp
edit: include/swift/AST/Types.h
edit: lib/SILGen/SILGenBridging.cpp
edit: lib/SIL/SILValue.cpp
edit: lib/SILOptimizer/SILCombiner/SILCombinerApplyVisitors.cpp
edit: lib/IRGen/GenObjC.cpp
edit: lib/AST/ASTPrinter.cpp
edit: lib/SILOptimizer/Mandatory/DIMemoryUseCollector.cpp
edit: include/swift/AST/Attr.def
edit: lib/IRGen/GenFunc.cpp
edit: lib/SILOptimizer/Mandatory/DIMemoryUseCollectorOwnership.cpp
edit: include/swift/Serialization/ModuleFormat.h
edit: lib/SIL/SILPrinter.cpp
edit: lib/SILOptimizer/Utils/Local.cpp
edit: lib/Serialization/Deserialization.cpp
edit: docs/ABI.rst
edit: lib/Demangling/Remangler.cpp
edit: lib/SILGen/SILGenPoly.cpp
edit: lib/Serialization/Serialization.cpp
edit: lib/Sema/TypeCheckType.cpp
edit: lib/AST/ASTMangler.cpp

Commit 0d0cac357acc0365acd0577e3bf6a4a632b59adb by Joe Shajrawi:
retain_value_addr and release_value_addr SIL instructions: take as an

edit: lib/SILOptimizer/SILCombiner/SILCombinerMiscVisitors.cpp
edit: lib/Demangling/NodePrinter.cpp
edit: include/swift/Serialization/ModuleFormat.h
edit: lib/Demangling/Remangler.cpp
edit: lib/SIL/SILVerifier.cpp
edit: lib/SILOptimizer/Utils/SILInliner.cpp
edit: lib/IRGen/GenDecl.cpp
edit: docs/ABI.rst
edit: include/swift/SIL/SILCloner.h
edit: utils/vim/syntax/sil.vim
edit: lib/Demangling/Demangler.cpp
edit: include/swift/SIL/SILBuilder.h
edit: lib/SIL/ValueOwnershipKindClassifier.cpp
edit: lib/SILOptimizer/SILCombiner/SILCombiner.h
edit: lib/SIL/SILOwnershipVerifier.cpp
edit: lib/SIL/SILPrinter.cpp
edit: utils/sil-mode.el
edit: lib/Serialization/DeserializeSIL.cpp
edit: lib/Serialization/SerializeSIL.cpp
edit: docs/SIL.rst
edit: lib/IRGen/IRGenModule.h
edit: lib/SIL/SILInstruction.cpp
edit: lib/IRGen/IRGenMangler.h
edit: include/swift/Demangling/DemangleNodes.def
edit: lib/IRGen/GenEnum.cpp
edit: lib/IRGen/IRGenSIL.cpp
edit: include/swift/SIL/PatternMatch.h
edit: include/swift/SIL/SILInstruction.h
edit: lib/Parse/ParseSIL.cpp
edit: include/swift/SIL/SILNodes.def

Commit 4dc080178521288ef080b8242ea1f676c2b3eea3 by Joe Shajrawi:
IRGen Mandatory Module Pass: Pass large loadable types by address

edit: test/DebugInfo/guard-let.swift
edit: test/IRGen/weak.sil
edit: include/swift/SILOptimizer/PassManager/Transforms.h
edit: include/swift/SIL/SILFunction.h
edit: include/swift/SILOptimizer/PassManager/Passes.def
edit: test/IRGen/value_buffers.sil
edit: lib/IRGen/CMakeLists.txt
edit: include/swift/IRGen/IRGenSILPasses.h
edit: test/IRGen/indirect_argument.sil
edit: test/IRGen/copy_value_destroy_value.sil
edit: include/swift/SILOptimizer/PassManager/PassManager.h
edit: lib/SILOptimizer/PassManager/PassPipeline.cpp
edit: lib/IRGen/AllocStackHoisting.cpp
edit: test/Interpreter/enum.swift
edit: test/IRGen/c_layout.sil
edit: test/IRGen/enum.sil
add: lib/IRGen/LoadableByAddress.cpp


(Ankit Aggarwal) #2

It is most likely this: <rdar://problem/31932807> Test Case
'PackageDescription4LoadingTests.testTargetDependencies' - failed

···

On Tue, May 2, 2017 at 2:06 AM, Joe Shajrawi via swift-dev < swift-dev@swift.org> wrote:

During PR testing we saw “bootstrap failure” - looks different here:
Test Case 'PackageDescription4LoadingTests.testTargetDependencies'
started at 2017-05-01 15:24:47.575 SwiftPMPackageTests.xctest:
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-
16_10/swift/include/swift/Runtime/../../../stdlib/
public/SwiftShims/RefCount.h:399: bool swift::RefCountBitsT<swift::
RefCountInlinedness::RefCountIsInline>::doDecrementStrongExtraRefCount(uint32_t)
[refcountIsInline = swift::RefCountInlinedness::RefCountIsInline,
clearPinnedFlag = swift::ClearPinnedFlag::DontClearPinnedFlag]: Assertion
`getStrongExtraRefCount() >= dec && "releasing reference whose refcount is
already zero"' failed.--- bootstrap: error: tests failed with exit status 1

Investigating on rad-main to see if this is my fault or not.

Regards,
—Joe |  | :e-mail: shajrawi@apple.com | :iphone:(+1) 408-930-5203 <(408)%20930-5203>

On May 1, 2017, at 1:24 PM, no-reply@swift.org wrote:

[FAILURE] oss-swift-incremental-RA-linux-ubuntu-16_10 [#3390]
Build URL: https://ci.swift.org/job/oss-swift-incremental-RA-linux-
ubuntu-16_10/3390/
Project: oss-swift-incremental-RA-linux-ubuntu-16_10
Date of build: Mon, 01 May 2017 12:58:28 -0700
Build duration: 26 minIdentified 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-RA-linux-ubuntu-16_10/3390/consoleFull#640790743ee1a197b-acac-4b17-83cf-a53b95139a76>

Tests:
Name: *Swift(linux-x86_64)*
Failed: 0 test(s), Passed: 9316 test(s), Total: 9316 test(s)
Name: *Swift-Unit*
Failed: 0 test(s), Passed: 417 test(s), Total: 417 test(s)

Changes

   - Commit *d17258cac729b5bd6da4e021f4b99113a65dc054* by *Joe Shajrawi:*

   @in_constant calling convention - part of passing large loadable types
   - *edit*: lib/IRGen/GenProto.cpp
      - *edit*: lib/SIL/SILOwnershipVerifier.cpp
      - *edit*: include/swift/SIL/SILArgumentConvention.h
      - *edit*: docs/SIL.rst
      - *edit*: lib/IRGen/GenClangType.cpp
      - *edit*: lib/SILGen/SILGenApply.cpp
      - *edit*: lib/IRGen/GenCall.cpp
      - *edit*: lib/Demangling/Demangler.cpp
      - *edit*: include/swift/SIL/SILFunctionConventions.h
      - *edit*: lib/SIL/SILVerifier.cpp
      - *edit*: lib/SILGen/SILGenProlog.cpp
      - *edit*: include/swift/AST/Types.h
      - *edit*: lib/SILGen/SILGenBridging.cpp
      - *edit*: lib/SIL/SILValue.cpp
      - *edit*: lib/SILOptimizer/SILCombiner/SILCombinerApplyVisitors.cpp
      - *edit*: lib/IRGen/GenObjC.cpp
      - *edit*: lib/AST/ASTPrinter.cpp
      - *edit*: lib/SILOptimizer/Mandatory/DIMemoryUseCollector.cpp
      - *edit*: include/swift/AST/Attr.def
      - *edit*: lib/IRGen/GenFunc.cpp
      - *edit*: lib/SILOptimizer/Mandatory/DIMemoryUseCollectorOwnership.
      cpp
      - *edit*: include/swift/Serialization/ModuleFormat.h
      - *edit*: lib/SIL/SILPrinter.cpp
      - *edit*: lib/SILOptimizer/Utils/Local.cpp
      - *edit*: lib/Serialization/Deserialization.cpp
      - *edit*: docs/ABI.rst
      - *edit*: lib/Demangling/Remangler.cpp
      - *edit*: lib/SILGen/SILGenPoly.cpp
      - *edit*: lib/Serialization/Serialization.cpp
      - *edit*: lib/Sema/TypeCheckType.cpp
      - *edit*: lib/AST/ASTMangler.cpp

   - Commit *0d0cac357acc0365acd0577e3bf6a4a632b59adb* by *Joe Shajrawi:*

   retain_value_addr and release_value_addr SIL instructions: take as an
   - *edit*: lib/SILOptimizer/SILCombiner/SILCombinerMiscVisitors.cpp
      - *edit*: lib/Demangling/NodePrinter.cpp
      - *edit*: include/swift/Serialization/ModuleFormat.h
      - *edit*: lib/Demangling/Remangler.cpp
      - *edit*: lib/SIL/SILVerifier.cpp
      - *edit*: lib/SILOptimizer/Utils/SILInliner.cpp
      - *edit*: lib/IRGen/GenDecl.cpp
      - *edit*: docs/ABI.rst
      - *edit*: include/swift/SIL/SILCloner.h
      - *edit*: utils/vim/syntax/sil.vim
      - *edit*: lib/Demangling/Demangler.cpp
      - *edit*: include/swift/SIL/SILBuilder.h
      - *edit*: lib/SIL/ValueOwnershipKindClassifier.cpp
      - *edit*: lib/SILOptimizer/SILCombiner/SILCombiner.h
      - *edit*: lib/SIL/SILOwnershipVerifier.cpp
      - *edit*: lib/SIL/SILPrinter.cpp
      - *edit*: utils/sil-mode.el
      - *edit*: lib/Serialization/DeserializeSIL.cpp
      - *edit*: lib/Serialization/SerializeSIL.cpp
      - *edit*: docs/SIL.rst
      - *edit*: lib/IRGen/IRGenModule.h
      - *edit*: lib/SIL/SILInstruction.cpp
      - *edit*: lib/IRGen/IRGenMangler.h
      - *edit*: include/swift/Demangling/DemangleNodes.def
      - *edit*: lib/IRGen/GenEnum.cpp
      - *edit*: lib/IRGen/IRGenSIL.cpp
      - *edit*: include/swift/SIL/PatternMatch.h
      - *edit*: include/swift/SIL/SILInstruction.h
      - *edit*: lib/Parse/ParseSIL.cpp
      - *edit*: include/swift/SIL/SILNodes.def

   - Commit *4dc080178521288ef080b8242ea1f676c2b3eea3* by *Joe Shajrawi:*

   IRGen Mandatory Module Pass: Pass large loadable types by address
   - *edit*: test/DebugInfo/guard-let.swift
      - *edit*: test/IRGen/weak.sil
      - *edit*: include/swift/SILOptimizer/PassManager/Transforms.h
      - *edit*: include/swift/SIL/SILFunction.h
      - *edit*: include/swift/SILOptimizer/PassManager/Passes.def
      - *edit*: test/IRGen/value_buffers.sil
      - *edit*: lib/IRGen/CMakeLists.txt
      - *edit*: include/swift/IRGen/IRGenSILPasses.h
      - *edit*: test/IRGen/indirect_argument.sil
      - *edit*: test/IRGen/copy_value_destroy_value.sil
      - *edit*: include/swift/SILOptimizer/PassManager/PassManager.h
      - *edit*: lib/SILOptimizer/PassManager/PassPipeline.cpp
      - *edit*: lib/IRGen/AllocStackHoisting.cpp
      - *edit*: test/Interpreter/enum.swift
      - *edit*: test/IRGen/c_layout.sil
      - *edit*: test/IRGen/enum.sil
      - *add*: lib/IRGen/LoadableByAddress.cpp

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