[Swift CI] Build Failure: 0. OSS - Swift Incremental RA - Ubuntu 16.10 (swift 4.1) #477

swift-corelibs-dev, any clue why this suddenly started failing?

TestFoundation/TestURLSession.swift:776: error: TestURLSession.test_simpleUploadWithDelegate : XCTAssertEqual failed: ("0") is not equal to ("16384") -

···

On Dec 19, 2017, at 4:02 PM, swift-ci@swift.org wrote:

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

Build URL: https://ci.swift.org/job/oss-swift-4.1-incremental-RA-linux-ubuntu-16_10/477/
Project: oss-swift-4.1-incremental-RA-linux-ubuntu-16_10
Date of build: Tue, 19 Dec 2017 17:12:38 -0600
Build duration: 50 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-4.1-incremental-RA-linux-ubuntu-16_10/477/consoleFull#-3002049213122a513-f36a-4c87-8ed7-cbc36a1ec144&gt;
Tests:

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

Changes

Commit d2505ab28dd999057f9da70ccdd98b536038ef93 by dgregor:
[Runtime] Warn about dynamically querying conditional conformances.

edit: stdlib/public/runtime/ProtocolConformance.cpp
add: test/Interpreter/conditional_conformances_warning.swift

Commit 2e14e88b96a5a4eae4a9a9918f88d87647fcfccf by dgregor:
Revert "[SE-0143] Put conditional conformances behind an "experimental"

edit: test/SILOptimizer/devirt_conditional_conformance.swift
edit: test/Interpreter/conditional_conformances_modules.swift
edit: test/decl/ext/generic.swift
edit: test/SILGen/conditional_conformance.swift
edit: test/decl/var/properties.swift
edit: include/swift/AST/DiagnosticsSema.def
edit: lib/Sema/TypeCheckProtocol.cpp
edit: lib/Frontend/CompilerInvocation.cpp
edit: test/Sema/enum_equatable_conditional.swift
edit: include/swift/Option/Options.td
edit: test/SIL/Parser/witness_tables.sil
edit: tools/sil-opt/SILOpt.cpp
edit: test/Generics/conditional_conformances.swift
edit: test/Generics/conditional_conformances_execute_smoke.swift
edit: test/Interpreter/conditional_conformances_smoke.swift
edit: stdlib/public/core/CMakeLists.txt
edit: lib/Driver/ToolChains.cpp
edit: test/IRGen/conditional_conformances.swift
edit: test/Interpreter/conditional_conformances.swift
edit: test/Generics/requirement_inference.swift
edit: include/swift/Basic/LangOptions.h
edit: test/Generics/conditional_conformances_operators.swift

Commit 3883b9319c66c261c90cf87d2340819d3f4f8820 by dgregor:
Eliminate extraneous uses of

edit: test/Constraints/array_literal.swift
edit: test/stmt/foreach.swift
edit: test/Interpreter/conditional_conformances_warning.swift
edit: test/IRGen/protocol_conformance_records.swift
edit: test/Prototypes/Algorithms.swift.gyb

Commit e68f77be5aa54db89dde6c321951153f2bdfbe20 by dgregor:
[Runtime] Print demangled names in conditional conformances warning.

edit: stdlib/public/runtime/ProtocolConformance.cpp
edit: test/Interpreter/conditional_conformances_warning.swift

Commit cf33f86c1171f505611b61aab464fef2d25e8805 by dgregor:
[Runtime] Update field names for the 4.1 branch

edit: stdlib/public/runtime/ProtocolConformance.cpp

Commit 1ac71826854a809f67ae15ddacaaa9a6eb8189e8 by aleksei_lorenz:
[driver][darwin] Take the OS version specified in "-target" as the

edit: lib/Driver/ToolChains/Darwin.cpp
edit: test/Driver/objc-weak.m
edit: test/Driver/darwin-version.c
edit: test/Driver/pic.c
edit: test/Driver/unavailable_aligned_allocation.cpp

Commit 4a9ce31c969cc4c9429e306d463610c0c623baa9 by aleksei_lorenz:
Don't warn about superfluous -m-version-min option in

edit: lib/Driver/ToolChains/Darwin.cpp
edit: test/Driver/darwin-version.c

Last change in this area was 5 days ago:

820e3a88 : (5 days ago) Naoki Ishikawa : use optional binding
Foundation/URLSession/http/HTTPURLProtocol.swift | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

but that does not look promising as a source of a regression.

When did this start failing? Is it possible a change in swift or the standard library caused the problem?

- Tony

···

On Dec 19, 2017, at 4:12 PM, Michael Ilseman <milseman@apple.com> wrote:

swift-corelibs-dev, any clue why this suddenly started failing?

TestFoundation/TestURLSession.swift:776: error: TestURLSession.test_simpleUploadWithDelegate : XCTAssertEqual failed: ("0") is not equal to ("16384") -

On Dec 19, 2017, at 4:02 PM, swift-ci@swift.org <mailto:swift-ci@swift.org> wrote:

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

Build URL: https://ci.swift.org/job/oss-swift-4.1-incremental-RA-linux-ubuntu-16_10/477/
Project: oss-swift-4.1-incremental-RA-linux-ubuntu-16_10
Date of build: Tue, 19 Dec 2017 17:12:38 -0600
Build duration: 50 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-4.1-incremental-RA-linux-ubuntu-16_10/477/consoleFull#-3002049213122a513-f36a-4c87-8ed7-cbc36a1ec144&gt;
Tests:

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

Changes

Commit d2505ab28dd999057f9da70ccdd98b536038ef93 by dgregor:
[Runtime] Warn about dynamically querying conditional conformances.

edit: stdlib/public/runtime/ProtocolConformance.cpp
add: test/Interpreter/conditional_conformances_warning.swift

Commit 2e14e88b96a5a4eae4a9a9918f88d87647fcfccf by dgregor:
Revert "[SE-0143] Put conditional conformances behind an "experimental"

edit: test/SILOptimizer/devirt_conditional_conformance.swift
edit: test/Interpreter/conditional_conformances_modules.swift
edit: test/decl/ext/generic.swift
edit: test/SILGen/conditional_conformance.swift
edit: test/decl/var/properties.swift
edit: include/swift/AST/DiagnosticsSema.def
edit: lib/Sema/TypeCheckProtocol.cpp
edit: lib/Frontend/CompilerInvocation.cpp
edit: test/Sema/enum_equatable_conditional.swift
edit: include/swift/Option/Options.td
edit: test/SIL/Parser/witness_tables.sil
edit: tools/sil-opt/SILOpt.cpp
edit: test/Generics/conditional_conformances.swift
edit: test/Generics/conditional_conformances_execute_smoke.swift
edit: test/Interpreter/conditional_conformances_smoke.swift
edit: stdlib/public/core/CMakeLists.txt
edit: lib/Driver/ToolChains.cpp
edit: test/IRGen/conditional_conformances.swift
edit: test/Interpreter/conditional_conformances.swift
edit: test/Generics/requirement_inference.swift
edit: include/swift/Basic/LangOptions.h
edit: test/Generics/conditional_conformances_operators.swift

Commit 3883b9319c66c261c90cf87d2340819d3f4f8820 by dgregor:
Eliminate extraneous uses of

edit: test/Constraints/array_literal.swift
edit: test/stmt/foreach.swift
edit: test/Interpreter/conditional_conformances_warning.swift
edit: test/IRGen/protocol_conformance_records.swift
edit: test/Prototypes/Algorithms.swift.gyb

Commit e68f77be5aa54db89dde6c321951153f2bdfbe20 by dgregor:
[Runtime] Print demangled names in conditional conformances warning.

edit: stdlib/public/runtime/ProtocolConformance.cpp
edit: test/Interpreter/conditional_conformances_warning.swift

Commit cf33f86c1171f505611b61aab464fef2d25e8805 by dgregor:
[Runtime] Update field names for the 4.1 branch

edit: stdlib/public/runtime/ProtocolConformance.cpp

Commit 1ac71826854a809f67ae15ddacaaa9a6eb8189e8 by aleksei_lorenz:
[driver][darwin] Take the OS version specified in "-target" as the

edit: lib/Driver/ToolChains/Darwin.cpp
edit: test/Driver/objc-weak.m
edit: test/Driver/darwin-version.c
edit: test/Driver/pic.c
edit: test/Driver/unavailable_aligned_allocation.cpp

Commit 4a9ce31c969cc4c9429e306d463610c0c623baa9 by aleksei_lorenz:
Don't warn about superfluous -m-version-min option in

edit: lib/Driver/ToolChains/Darwin.cpp
edit: test/Driver/darwin-version.c

That’s the thing, there doesn’t look to be a relevant change. Subsequent builds passed. Is there any non-determinism or external causes of failure for these tests?

···

On Dec 19, 2017, at 5:15 PM, Tony Parker <anthony.parker@apple.com> wrote:

Last change in this area was 5 days ago:

820e3a88 : (5 days ago) Naoki Ishikawa : use optional binding
Foundation/URLSession/http/HTTPURLProtocol.swift | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

but that does not look promising as a source of a regression.

When did this start failing? Is it possible a change in swift or the standard library caused the problem?

- Tony

On Dec 19, 2017, at 4:12 PM, Michael Ilseman <milseman@apple.com <mailto:milseman@apple.com>> wrote:

swift-corelibs-dev, any clue why this suddenly started failing?

TestFoundation/TestURLSession.swift:776: error: TestURLSession.test_simpleUploadWithDelegate : XCTAssertEqual failed: ("0") is not equal to ("16384") -

On Dec 19, 2017, at 4:02 PM, swift-ci@swift.org <mailto:swift-ci@swift.org> wrote:

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

Build URL: https://ci.swift.org/job/oss-swift-4.1-incremental-RA-linux-ubuntu-16_10/477/
Project: oss-swift-4.1-incremental-RA-linux-ubuntu-16_10
Date of build: Tue, 19 Dec 2017 17:12:38 -0600
Build duration: 50 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-4.1-incremental-RA-linux-ubuntu-16_10/477/consoleFull#-3002049213122a513-f36a-4c87-8ed7-cbc36a1ec144&gt;
Tests:

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

Changes

Commit d2505ab28dd999057f9da70ccdd98b536038ef93 by dgregor:
[Runtime] Warn about dynamically querying conditional conformances.

edit: stdlib/public/runtime/ProtocolConformance.cpp
add: test/Interpreter/conditional_conformances_warning.swift

Commit 2e14e88b96a5a4eae4a9a9918f88d87647fcfccf by dgregor:
Revert "[SE-0143] Put conditional conformances behind an "experimental"

edit: test/SILOptimizer/devirt_conditional_conformance.swift
edit: test/Interpreter/conditional_conformances_modules.swift
edit: test/decl/ext/generic.swift
edit: test/SILGen/conditional_conformance.swift
edit: test/decl/var/properties.swift
edit: include/swift/AST/DiagnosticsSema.def
edit: lib/Sema/TypeCheckProtocol.cpp
edit: lib/Frontend/CompilerInvocation.cpp
edit: test/Sema/enum_equatable_conditional.swift
edit: include/swift/Option/Options.td
edit: test/SIL/Parser/witness_tables.sil
edit: tools/sil-opt/SILOpt.cpp
edit: test/Generics/conditional_conformances.swift
edit: test/Generics/conditional_conformances_execute_smoke.swift
edit: test/Interpreter/conditional_conformances_smoke.swift
edit: stdlib/public/core/CMakeLists.txt
edit: lib/Driver/ToolChains.cpp
edit: test/IRGen/conditional_conformances.swift
edit: test/Interpreter/conditional_conformances.swift
edit: test/Generics/requirement_inference.swift
edit: include/swift/Basic/LangOptions.h
edit: test/Generics/conditional_conformances_operators.swift

Commit 3883b9319c66c261c90cf87d2340819d3f4f8820 by dgregor:
Eliminate extraneous uses of

edit: test/Constraints/array_literal.swift
edit: test/stmt/foreach.swift
edit: test/Interpreter/conditional_conformances_warning.swift
edit: test/IRGen/protocol_conformance_records.swift
edit: test/Prototypes/Algorithms.swift.gyb

Commit e68f77be5aa54db89dde6c321951153f2bdfbe20 by dgregor:
[Runtime] Print demangled names in conditional conformances warning.

edit: stdlib/public/runtime/ProtocolConformance.cpp
edit: test/Interpreter/conditional_conformances_warning.swift

Commit cf33f86c1171f505611b61aab464fef2d25e8805 by dgregor:
[Runtime] Update field names for the 4.1 branch

edit: stdlib/public/runtime/ProtocolConformance.cpp

Commit 1ac71826854a809f67ae15ddacaaa9a6eb8189e8 by aleksei_lorenz:
[driver][darwin] Take the OS version specified in "-target" as the

edit: lib/Driver/ToolChains/Darwin.cpp
edit: test/Driver/objc-weak.m
edit: test/Driver/darwin-version.c
edit: test/Driver/pic.c
edit: test/Driver/unavailable_aligned_allocation.cpp

Commit 4a9ce31c969cc4c9429e306d463610c0c623baa9 by aleksei_lorenz:
Don't warn about superfluous -m-version-min option in

edit: lib/Driver/ToolChains/Darwin.cpp
edit: test/Driver/darwin-version.c

Hi Michael,

It’s possible that this test is not deterministic. Some contributors to the project have been working on improving this over time.

- Tony

···

On Dec 19, 2017, at 5:49 PM, Michael Ilseman <milseman@apple.com> wrote:

That’s the thing, there doesn’t look to be a relevant change. Subsequent builds passed. Is there any non-determinism or external causes of failure for these tests?

On Dec 19, 2017, at 5:15 PM, Tony Parker <anthony.parker@apple.com <mailto:anthony.parker@apple.com>> wrote:

Last change in this area was 5 days ago:

820e3a88 : (5 days ago) Naoki Ishikawa : use optional binding
Foundation/URLSession/http/HTTPURLProtocol.swift | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

but that does not look promising as a source of a regression.

When did this start failing? Is it possible a change in swift or the standard library caused the problem?

- Tony

On Dec 19, 2017, at 4:12 PM, Michael Ilseman <milseman@apple.com <mailto:milseman@apple.com>> wrote:

swift-corelibs-dev, any clue why this suddenly started failing?

TestFoundation/TestURLSession.swift:776: error: TestURLSession.test_simpleUploadWithDelegate : XCTAssertEqual failed: ("0") is not equal to ("16384") -

On Dec 19, 2017, at 4:02 PM, swift-ci@swift.org <mailto:swift-ci@swift.org> wrote:

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

Build URL: https://ci.swift.org/job/oss-swift-4.1-incremental-RA-linux-ubuntu-16_10/477/
Project: oss-swift-4.1-incremental-RA-linux-ubuntu-16_10
Date of build: Tue, 19 Dec 2017 17:12:38 -0600
Build duration: 50 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-4.1-incremental-RA-linux-ubuntu-16_10/477/consoleFull#-3002049213122a513-f36a-4c87-8ed7-cbc36a1ec144&gt;
Tests:

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

Changes

Commit d2505ab28dd999057f9da70ccdd98b536038ef93 by dgregor:
[Runtime] Warn about dynamically querying conditional conformances.

edit: stdlib/public/runtime/ProtocolConformance.cpp
add: test/Interpreter/conditional_conformances_warning.swift

Commit 2e14e88b96a5a4eae4a9a9918f88d87647fcfccf by dgregor:
Revert "[SE-0143] Put conditional conformances behind an "experimental"

edit: test/SILOptimizer/devirt_conditional_conformance.swift
edit: test/Interpreter/conditional_conformances_modules.swift
edit: test/decl/ext/generic.swift
edit: test/SILGen/conditional_conformance.swift
edit: test/decl/var/properties.swift
edit: include/swift/AST/DiagnosticsSema.def
edit: lib/Sema/TypeCheckProtocol.cpp
edit: lib/Frontend/CompilerInvocation.cpp
edit: test/Sema/enum_equatable_conditional.swift
edit: include/swift/Option/Options.td
edit: test/SIL/Parser/witness_tables.sil
edit: tools/sil-opt/SILOpt.cpp
edit: test/Generics/conditional_conformances.swift
edit: test/Generics/conditional_conformances_execute_smoke.swift
edit: test/Interpreter/conditional_conformances_smoke.swift
edit: stdlib/public/core/CMakeLists.txt
edit: lib/Driver/ToolChains.cpp
edit: test/IRGen/conditional_conformances.swift
edit: test/Interpreter/conditional_conformances.swift
edit: test/Generics/requirement_inference.swift
edit: include/swift/Basic/LangOptions.h
edit: test/Generics/conditional_conformances_operators.swift

Commit 3883b9319c66c261c90cf87d2340819d3f4f8820 by dgregor:
Eliminate extraneous uses of

edit: test/Constraints/array_literal.swift
edit: test/stmt/foreach.swift
edit: test/Interpreter/conditional_conformances_warning.swift
edit: test/IRGen/protocol_conformance_records.swift
edit: test/Prototypes/Algorithms.swift.gyb

Commit e68f77be5aa54db89dde6c321951153f2bdfbe20 by dgregor:
[Runtime] Print demangled names in conditional conformances warning.

edit: stdlib/public/runtime/ProtocolConformance.cpp
edit: test/Interpreter/conditional_conformances_warning.swift

Commit cf33f86c1171f505611b61aab464fef2d25e8805 by dgregor:
[Runtime] Update field names for the 4.1 branch

edit: stdlib/public/runtime/ProtocolConformance.cpp

Commit 1ac71826854a809f67ae15ddacaaa9a6eb8189e8 by aleksei_lorenz:
[driver][darwin] Take the OS version specified in "-target" as the

edit: lib/Driver/ToolChains/Darwin.cpp
edit: test/Driver/objc-weak.m
edit: test/Driver/darwin-version.c
edit: test/Driver/pic.c
edit: test/Driver/unavailable_aligned_allocation.cpp

Commit 4a9ce31c969cc4c9429e306d463610c0c623baa9 by aleksei_lorenz:
Don't warn about superfluous -m-version-min option in

edit: lib/Driver/ToolChains/Darwin.cpp
edit: test/Driver/darwin-version.c