[Swift CI] Build Still Failing: 0. OSS - LLDB Incremental - OS X (master) #419

There appears to be two issues now:

#1 [TestSwiftFoundationTypeNotification.py FAILED]

Started failing at this build:
https://ci.swift.org/job/oss-lldb-incremental-osx/415/

Clang changes:
clang-refactor-test: dispose of the TU
Add virtual destructor to DeclPredicateNode to avoid a leak in subclass
[refactor] dispose of the previous replacement string when merging

Swift changes:
[dead-function-elimination] Do not consider transparent functions as
IRGen: Treat class layout for classes from other modules a bit more
Code size: destroy_addr outline
mark enum's outlined retain/releases as no inline

#2 [TestObjCIvarDiscovery.py FAILED]

Assertion failed: (ShiftAmt <= BitWidth && "Invalid shift amount"), function lshrInPlace, file /Users/buildnode/jenkins/workspace/oss-lldb-incremental-osx/llvm/include/llvm/ADT/APInt.h, line 967.
Stack dump:
0. HandleCommand(command = "frame variable -d run --show-types --ptr-depth=1")

I’m not sure what triggered this one.

-Andy

···

On Nov 18, 2017, at 9:41 PM, no-reply@swift.org wrote:

New issue found!

[FAILURE] oss-lldb-incremental-osx [#419]

Build URL: https://ci.swift.org/job/oss-lldb-incremental-osx/419/
Project: oss-lldb-incremental-osx
Date of build: Sat, 18 Nov 2017 22:40:18 -0600
Build duration: 1 hr 0 min
Identified problems:

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-lldb-incremental-osx/419/consoleFull#879569241ba62d58e-7248-467b-91e0-c7508d5cf947&gt;
Assertion failure: This build failed because of an assertion failure. Below is a list of all errors in the build log:
Indication 1 <https://ci.swift.org//job/oss-lldb-incremental-osx/419/consoleFull#1256565552ef3c3c00-f496-40b9-85a7-0eb69d0f491b&gt;
Changes

Commit 678341631f68a860d72d3a18d174aa6e72ba5886 by ahatanaka:
Fix undefined behavior that is caused by not always initializing a bool.

edit: lib/AST/ExprConstant.cpp

Commit c1079720cd0b9f20a9caa8486ed94f779241682d by nhawes:
[ASTPrinter] Print subscript generic parameters and requirments

edit: test/IDE/print_ast_tc_function_bodies.swift
edit: lib/AST/ASTPrinter.cpp

Commit 8b55a0f61bed9606d968a12384f778fa655888b8 by mark.lacey:
SE-0054: Rework diagnostics for IUOs and revise Swift 3 /4 semantics.

edit: test/SILGen/objc_currying.swift
edit: include/swift/AST/KnownIdentifiers.def
edit: test/Constraints/keyword_arguments.swift
edit: test/type/protocol_composition.swift
edit: test/decl/overload.swift
edit: test/SILGen/opaque_values_silgen.swift
edit: validation-test/compiler_crashers_fixed/28638-anonymous-namespace-verifier-checksametype-swift-type-swift-type-char-const.swift
edit: validation-test/stdlib/Glibc.swift
edit: test/SILOptimizer/specialize_inherited.sil
edit: test/type/types.swift
edit: test/SILGen/objc_bridging.swift
edit: test/SILGen/function_conversion.swift
edit: lib/Sema/TypeCheckType.cpp
edit: test/ClangImporter/blocks_parse.swift
edit: test/Sema/diag_erroneous_iuo.swift
edit: include/swift/AST/DiagnosticsSema.def
edit: test/Interpreter/FunctionConversion.swift
edit: test/Parse/optional.swift
edit: test/attr/attr_escaping.swift
edit: test/ClangImporter/objc_bridging.swift
edit: test/ClangImporter/objc_parse.swift
edit: test/Constraints/protocols.swift
edit: validation-test/Sema/type_checker_crashers_fixed/rdar28048391.swift
edit: test/Migrator/Inputs/API.json
edit: test/Sema/diag_deprecated_iuo.swift
edit: test/stdlib/Optional.swift
edit: test/decl/class/override.swift

Commit be1512c89f92863177750e7d70478be143e879b6 by spestov:
Serialization: Don't serialize the 'self' parameter

edit: lib/AST/Decl.cpp
edit: lib/Serialization/Deserialization.cpp
edit: include/swift/Serialization/ModuleFormat.h
edit: lib/Serialization/Serialization.cpp
edit: test/NameBinding/named_lazy_member_loading_swift_proto.swift
edit: test/Serialization/xref-extensions.swift

Commit 8ffcf761af0e374f5a28ab93f9d0d9de3189a364 by atrick:
[sil-opaque-values] Fix EscapeAnalysis to track opaque values.

edit: include/swift/SILOptimizer/Analysis/EscapeAnalysis.h
edit: lib/SILOptimizer/Analysis/EscapeAnalysis.cpp

Commit 65f1324393ef3acc5723c07d695cf6ba4fb5c3a8 by bob.wilson:
Update a test so that it is not broken by function merging.

edit: test/stdlib/SwiftObjectNSObject.swift

Commit bd9701609afbc971b1cfd4deafa241b7d5d60db2 by mgottesman:
[rvalue] Add a conversion to bool for RValue.

edit: lib/SILGen/RValue.h

The TestSwiftFoundationTypeNotification failure is still there. For the sake of people at Apple, I filed a radar:
<rdar://problem/35650693> Swift CI: lldb assertion failed: 'frame variable notification' returns expected result

···

On Nov 19, 2017, at 11:59 AM, Andrew Trick <atrick@apple.com> wrote:

There appears to be two issues now:

#1 [TestSwiftFoundationTypeNotification.py FAILED]

Started failing at this build:
https://ci.swift.org/job/oss-lldb-incremental-osx/415/

Clang changes:
clang-refactor-test: dispose of the TU
Add virtual destructor to DeclPredicateNode to avoid a leak in subclass
[refactor] dispose of the previous replacement string when merging

Swift changes:
[dead-function-elimination] Do not consider transparent functions as
IRGen: Treat class layout for classes from other modules a bit more
Code size: destroy_addr outline
mark enum's outlined retain/releases as no inline

#2 [TestObjCIvarDiscovery.py FAILED]

Assertion failed: (ShiftAmt <= BitWidth && "Invalid shift amount"), function lshrInPlace, file /Users/buildnode/jenkins/workspace/oss-lldb-incremental-osx/llvm/include/llvm/ADT/APInt.h, line 967.
Stack dump:
0. HandleCommand(command = "frame variable -d run --show-types --ptr-depth=1")

I’m not sure what triggered this one.

-Andy

On Nov 18, 2017, at 9:41 PM, no-reply@swift.org <mailto:no-reply@swift.org> wrote:

New issue found!

[FAILURE] oss-lldb-incremental-osx [#419]

Build URL: https://ci.swift.org/job/oss-lldb-incremental-osx/419/
Project: oss-lldb-incremental-osx
Date of build: Sat, 18 Nov 2017 22:40:18 -0600
Build duration: 1 hr 0 min
Identified problems:

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-lldb-incremental-osx/419/consoleFull#879569241ba62d58e-7248-467b-91e0-c7508d5cf947&gt;
Assertion failure: This build failed because of an assertion failure. Below is a list of all errors in the build log:
Indication 1 <https://ci.swift.org//job/oss-lldb-incremental-osx/419/consoleFull#1256565552ef3c3c00-f496-40b9-85a7-0eb69d0f491b&gt;
Changes

Commit 678341631f68a860d72d3a18d174aa6e72ba5886 by ahatanaka:
Fix undefined behavior that is caused by not always initializing a bool.

edit: lib/AST/ExprConstant.cpp

Commit c1079720cd0b9f20a9caa8486ed94f779241682d by nhawes:
[ASTPrinter] Print subscript generic parameters and requirments

edit: test/IDE/print_ast_tc_function_bodies.swift
edit: lib/AST/ASTPrinter.cpp

Commit 8b55a0f61bed9606d968a12384f778fa655888b8 by mark.lacey:
SE-0054: Rework diagnostics for IUOs and revise Swift 3 /4 semantics.

edit: test/SILGen/objc_currying.swift
edit: include/swift/AST/KnownIdentifiers.def
edit: test/Constraints/keyword_arguments.swift
edit: test/type/protocol_composition.swift
edit: test/decl/overload.swift
edit: test/SILGen/opaque_values_silgen.swift
edit: validation-test/compiler_crashers_fixed/28638-anonymous-namespace-verifier-checksametype-swift-type-swift-type-char-const.swift
edit: validation-test/stdlib/Glibc.swift
edit: test/SILOptimizer/specialize_inherited.sil
edit: test/type/types.swift
edit: test/SILGen/objc_bridging.swift
edit: test/SILGen/function_conversion.swift
edit: lib/Sema/TypeCheckType.cpp
edit: test/ClangImporter/blocks_parse.swift
edit: test/Sema/diag_erroneous_iuo.swift
edit: include/swift/AST/DiagnosticsSema.def
edit: test/Interpreter/FunctionConversion.swift
edit: test/Parse/optional.swift
edit: test/attr/attr_escaping.swift
edit: test/ClangImporter/objc_bridging.swift
edit: test/ClangImporter/objc_parse.swift
edit: test/Constraints/protocols.swift
edit: validation-test/Sema/type_checker_crashers_fixed/rdar28048391.swift
edit: test/Migrator/Inputs/API.json
edit: test/Sema/diag_deprecated_iuo.swift
edit: test/stdlib/Optional.swift
edit: test/decl/class/override.swift

Commit be1512c89f92863177750e7d70478be143e879b6 by spestov:
Serialization: Don't serialize the 'self' parameter

edit: lib/AST/Decl.cpp
edit: lib/Serialization/Deserialization.cpp
edit: include/swift/Serialization/ModuleFormat.h
edit: lib/Serialization/Serialization.cpp
edit: test/NameBinding/named_lazy_member_loading_swift_proto.swift
edit: test/Serialization/xref-extensions.swift

Commit 8ffcf761af0e374f5a28ab93f9d0d9de3189a364 by atrick:
[sil-opaque-values] Fix EscapeAnalysis to track opaque values.

edit: include/swift/SILOptimizer/Analysis/EscapeAnalysis.h
edit: lib/SILOptimizer/Analysis/EscapeAnalysis.cpp

Commit 65f1324393ef3acc5723c07d695cf6ba4fb5c3a8 by bob.wilson:
Update a test so that it is not broken by function merging.

edit: test/stdlib/SwiftObjectNSObject.swift

Commit bd9701609afbc971b1cfd4deafa241b7d5d60db2 by mgottesman:
[rvalue] Add a conversion to bool for RValue.

edit: lib/SILGen/RValue.h