[Swift CI] Build Failure: OSS - Swift Package - Ubuntu 16.04 (master) #844

Report

[FAILURE] oss-swift-package-linux-ubuntu-16_04 [#844]

Build URL:
https://ci.swift.org/job/oss-swift-package-linux-ubuntu-16_04/844/
Project:
oss-swift-package-linux-ubuntu-16_04
Date of build:
Wed, 19 Apr 2017 15:16:08 -0700
Build duration:
1 hr 16 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:
  • Compile Error: This build failed because of a compile error. Below is a list of all errors in the build log:

Changes

  • Commit 3a79d832332119e602573b2173bee81fecf7de75 by Graydon Hoare:
    Forward declare TypeRepr in TypeLoc.h, adjust other code to compensate.

    • edit: lib/ClangImporter/ImportName.cpp
    • edit: lib/Sema/TypeCheckRequest.cpp
    • edit: include/swift/AST/TypeLoc.h
    • edit: lib/AST/ASTScope.cpp
    • edit: lib/AST/Type.cpp
    • edit: include/swift/AST/Decl.h
    • edit: include/swift/AST/Expr.h
    • edit: lib/AST/Decl.cpp
    • edit: include/swift/AST/GenericSignatureBuilder.h
    • edit: include/swift/AST/LazyResolver.h
    • edit: include/swift/AST/DiagnosticEngine.h
    • edit: unittests/AST/TestContext.h
    • edit: lib/RemoteAST/RemoteAST.cpp
  • Commit c71295a12a71df4856e259b4a0cf6d460616f9d0 by Graydon Hoare:
    Add @_implements decl attribute.

    • edit: lib/Sema/TypeCheckAttr.cpp
    • edit: lib/Sema/TypeCheckDecl.cpp
    • edit: include/swift/AST/Attr.h
    • edit: include/swift/AST/Attr.def
    • edit: include/swift/Serialization/ModuleFormat.h
    • edit: lib/AST/Attr.cpp
    • edit: lib/Serialization/Serialization.cpp
  • Commit 6eddd7f0e4dfd5c1f4b2617fb57011b8fa85d5a0 by Graydon Hoare:
    Wire up @_implements to witness lookup.

    • edit: lib/Sema/TypeCheckProtocol.cpp
  • Commit e191b9296663f984abb803560498ee53ba8bdcef by Graydon Hoare:
    Add mode to Parser::parseUnqualifiedDeclName to handle operator

    • edit: lib/Parse/ParseExpr.cpp
    • edit: include/swift/Parse/Parser.h
  • Commit 4d9ea18e5908ec43a504511488cbd4ec583b9351 by Graydon Hoare:
    Add mode to Parser::parseUnqualifiedDeclName for 0-arg compound names.

    • edit: include/swift/Parse/Parser.h
    • edit: lib/Parse/ParseExpr.cpp
  • Commit 3d5c995615dc799bb73cb43184590d8e74d8f254 by Graydon Hoare:
    Parse @_implements(Proto, DeclName)

    • edit: include/swift/AST/DiagnosticsParse.def
    • edit: lib/Parse/ParseDecl.cpp
    • edit: include/swift/Parse/Parser.h
  • Commit db515885f81a7a5edcb4ea10cbb80902c9431d4c by Graydon Hoare:
    Typecheck contents of @_implements attribute.

    • edit: lib/Sema/TypeCheckAttr.cpp
    • edit: include/swift/AST/DiagnosticsSema.def
  • Commit 1b3815ecaf9684b9a62c86452c0c55ad741ad3c2 by Graydon Hoare:
    Add testcase for @_implements

    • add: test/attr/attr_implements.swift
  • Commit 089446486291ccc2f85ee155a22c6d9f325eed82 by Graydon Hoare:
    Add testcase for @_implements parser diagnostics.

    • add: test/attr/attr_implements_bad_parse.swift
  • Commit 7af45399cada491e2e60731c640416a5689586b6 by Graydon Hoare:
    Add testcase for @_implements typechecking diagnostics.

    • add: test/attr/attr_implements_bad_types.swift
  • Commit b662c3ab4ea75c90e1497c0c9b69e1d8eed3da60 by Graydon Hoare:
    Print @_implements to AST printer.

    • edit: lib/AST/Attr.cpp
  • Commit 2ec32c2d77622aee7a418faf8faa6f5d6d03234a by Slava Pestov:
    IRGen: Allow pure-ObjC refcounting class existentials

    • edit: lib/IRGen/GenExistential.cpp
  • Commit c25210f6eb3f3afb7de6f91a71aa0908eee9d5f8 by Graydon Hoare:
    Move IsUserAccessible bit from VarDecl up to ValueDecl (and adjust

    • edit: lib/AST/Decl.cpp
    • edit: include/swift/AST/Decl.h
  • Commit 3955f5ee660f1e18711b0b1eb1e3fab21a2201de by Graydon Hoare:
    Don't code-complete any ValueDecl that's not user accessible.

    • edit: lib/IDE/CodeCompletion.cpp
  • Commit e6027eeb4ea023006fcfc6e415f3528a12003d03 by Graydon Hoare:
    Derive @implements(Equatable, ==(:_:)) _DerivedEnumEquals, not func==.

    • edit: test/IRGen/enum_derived.swift
    • edit: lib/Sema/DerivedConformanceEquatableHashable.cpp
    • edit: include/swift/AST/KnownIdentifiers.def
    • edit: test/IDE/print_ast_tc_decls.swift
  • Commit cd1b0d100fd50b5162505c3703486d513575816d by Slava Pestov:
    ClangImporter: Support for subclass existentials

    • add: test/ClangImporter/subclass_existentials.swift
    • add: test/ClangImporter/objc_bridging_generics_swift3.swift
    • edit: test/Inputs/clang-importer-sdk/usr/include/objc_generics.h
    • add: test/ClangImporter/subclass_existentials_swift3.swift
    • edit: test/ClangImporter/objc_bridging_generics.swift
    • add: test/ClangImporter/subclass_existentials_ir.swift
    • edit: test/Inputs/clang-importer-sdk/usr/include/Foundation.h
    • edit: lib/ClangImporter/ImportType.cpp
  • Commit a8360095c1a3429754972e9b6f430f87789d3b1e by Slava Pestov:
    Try to fix race in getExistentialMetadata() unit tests

    • edit: unittests/runtime/Metadata.cpp
  • Commit 57b2c059dbf3db545d366c7197dda8083a31d65e by Slava Pestov:
    Serialization: Fix serialization of layout constraints

    • edit: include/swift/Serialization/ModuleFormat.h
    • edit: lib/Serialization/Serialization.cpp
    • edit: lib/Serialization/Deserialization.cpp
  • Commit 830b2edf545af89d7cb661ac66d09f5d38fe31ea by Max Moiseev:
    [stdlib] Check overflow in integer init from literal

    • edit: test/SILOptimizer/constant_propagation_diagnostics.swift
    • edit: test/stdlib/Integers.swift.gyb
    • edit: stdlib/public/core/Integers.swift.gyb
    • edit: test/Interpreter/repl_diagnostics.swift
  • Commit e152d4ac1f7fb94f796281ea3a4da1b1a0887f91 by Argyrios Kyrtzidis:
    [index] Mark indexed methods as 'dynamic' when appropriate

    • edit: test/SourceKit/Indexing/Inputs/implicit-vis/b.index.response
    • edit: test/SourceKit/Indexing/sr_3815.swift.response
    • edit: test/SourceKit/Indexing/Inputs/implicit-vis/a.index.response
    • edit: test/SourceKit/Indexing/index_constructors.swift.response
    • edit: lib/Index/Index.cpp
    • edit: test/SourceKit/Indexing/index_is_test_candidate_objc.swift.response
    • edit: test/SourceKit/Indexing/Inputs/test_module.index.response
    • edit: test/Index/index_system_module.swift
    • edit: test/Index/kinds.swift
    • edit: test/Index/roles.swift
    • edit: test/SourceKit/Indexing/Inputs/cycle-depend/A.response
  • Commit d9c71e8bd7dedc917e6d646491f5a6dd27a66ebc by Erik Eckstein:
    EscapeAnalysis: handle fix_lifetime instructions

    • edit: lib/SILOptimizer/Analysis/EscapeAnalysis.cpp
    • add: test/SILOptimizer/stack_promotion_array_literal.swift
    • edit: test/SILOptimizer/escape_analysis.sil
  • Commit ffe98c4288da07c5bc5c89009d3236af94a7e2bb by Saleem Abdulrasool:
    build: add a cmake based build system

    • add: CMakeLists.txt
    • add: os/CMakeLists.txt
    • add: private/CMakeLists.txt
    • add: src/CMakeLists.txt
    • add: dispatch/CMakeLists.txt
    • add: tests/CMakeLists.txt
    • add: cmake/modules/DispatchAppleOptions.cmake
    • add: cmake/modules/FindLibRT.cmake
    • add: cmake/config.h.in
    • add: man/CMakeLists.txt
  • Commit d55489c675e788e6d3c80db5bfc206c70614e3ea by Matthias Braun:
    Revert "ARMFrameLowering: Reserve emergency spill slot for large

    • edit: lib/Target/ARM/ARMFrameLowering.cpp
    • delete: test/CodeGen/ARM/fpoffset_overflow.mir
  • Commit b34f8827334fd93bb03826e9ed9401069aae2452 by Matthias Braun:
    ARMFrameLowering: Reserve emergency spill slot for large arguments

    • add: test/CodeGen/ARM/fpoffset_overflow.mir
    • edit: lib/Target/ARM/ARMFrameLowering.cpp
  • Commit 36190bfd34d3aad8c8bda83d84a41a9085ef602e by Akira Hatanaka:
    [Sema][ObjC] Disallow jumping into ObjC fast enumeration loops.

    • edit: include/clang/Basic/DiagnosticSemaKinds.td
    • edit: test/SemaObjC/foreach.m
    • edit: lib/Sema/SemaStmt.cpp
    • edit: lib/Sema/JumpDiagnostics.cpp
  • Commit 5d95d6432fbe19148c993eeafbc1fafe03be7a01 by Johannes Weiß:
    add Result.flatMap and tests

    • edit: Tests/BasicTests/ResultTests.swift
    • edit: Sources/Basic/Result.swift
  • Commit c7803f272da13663b53c7c38bfcc6a87bca33c94 by Ankit Aggarwal:
    [Workspace] Remove bang from loadManifest(forDependency)

    • edit: Sources/Workspace/Workspace.swift
  • Commit c946f313e5ba5f96ebbed3e424befe45d41a2c8e by Ankit Aggarwal:
    Update tools version to 4.0

    • edit: Tests/CommandsTests/PackageToolTests.swift
    • edit: Sources/Workspace/InitPackage.swift
    • edit: Tests/WorkspaceTests/InitTests.swift
    • edit: Sources/PackageLoading/PackageBuilder.swift
    • edit: Tests/PackageLoadingTests/PackageBuilderTests.swift
    • edit: Tests/PackageModelTests/ModuleTests.swift
    • edit: Tests/FunctionalTests/ToolsVersionTests.swift
    • edit: Tests/BuildTests/BuildPlanTests.swift
    • edit: Sources/Build/BuildPlan.swift
    • edit: Sources/Utility/Versioning.swift
    • edit: Sources/PackageModel/Module.swift
    • edit: Sources/Commands/SwiftTool.swift
    • edit: Tests/PackageLoadingTests/PackageBuilderV4Tests.swift
    • edit: Package.swift
  • Commit 4df874b23aeb2e96e8dde6fda39f6562de77ea0c by Ankit Aggarwal:
    add script to build Ubuntu cross compilation toolchain (#1099)

    • add: Utilities/build_ubuntu_cross_compilation_toolchain
  • Commit 7fe28f9beb65a77121bf9d1bca90546ad99e8510 by Jim Ingham:
    Add CopyDiagnostic to the DiagnosticManager.

    • edit: include/lldb/Expression/DiagnosticManager.h
    • edit: source/Expression/DiagnosticManager.cpp
  • Commit babecb2de2512c427cb7714a68ae1f1ea71f8a12 by Max Moiseev:
    Arithmetic methods for Swift 3 compatibility

    • edit: Foundation/NSDecimal.swift
  • Commit 015ded4d70a7cf4b2741d7206fc60a3d1ceffe03 by Philippe Hausler:
    Fix for a race condition in URLSession (#949)

    • edit: Foundation/NSURLSession/MultiHandle.swift

Hi Philippe,

this failing test seems to be flaky. Is it possible to fix this? Maybe increase the timeout?

TestFoundation/TestNSURLSession.swift:254: error: TestURLSession.test_downloadTaskWithURLAndHandler : Asynchronous wait failed - Exceeded timeout of 12.0 seconds, with unfulfilled expectations: download task with handler

Thanks,
Erik

···

On Apr 19, 2017, at 9:05 PM, no-reply@swift.org wrote:

New issue found!

[FAILURE] oss-swift-package-linux-ubuntu-16_04 [#845]

Build URL: https://ci.swift.org/job/oss-swift-package-linux-ubuntu-16_04/845/
Project: oss-swift-package-linux-ubuntu-16_04
Date of build: Wed, 19 Apr 2017 19:42:56 -0700
Build duration: 1 hr 22 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-package-linux-ubuntu-16_04/845/consoleFull#2072898497ee1a197b-acac-4b17-83cf-a53b95139a76&gt;
Changes

Commit 86607e9364f583969abccb82fdea5f8470a993c3 by Daniel Dunbar:
Fix typo in comment.

edit: products/libllbuild/public-api/llbuild/buildsystem.h

Commit b0dc90bb06d94d5b5296a25cde5ff63a457311ee by Adrian Prantl:
Fix bug that caused DwarfExpression to drop DW_OP_deref from FI

edit: lib/CodeGen/AsmPrinter/DwarfExpression.cpp
edit: lib/CodeGen/AsmPrinter/DwarfUnit.cpp
edit: lib/CodeGen/AsmPrinter/DwarfDebug.cpp
add: test/DebugInfo/X86/fi-expr.ll
edit: lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
edit: lib/CodeGen/AsmPrinter/DwarfExpression.h

Commit d1d460b5a093eb04cba6914a05546a9fd165a589 by Sean Callanan:
[Expression parser] Don't try to materialize empty Swift structs.

edit: source/Expression/Materializer.cpp
add: packages/Python/lldbsuite/test/lang/swift/expression/empty_self/Makefile
add: packages/Python/lldbsuite/test/lang/swift/expression/empty_self/TestEmptySelf.py
add: packages/Python/lldbsuite/test/lang/swift/expression/empty_self/main.swift

Commit eb173567d971dad88c342d6750cb7b82c7977bd0 by Jim Ingham:
Fix !N and !-N commands and add a test case.

edit: source/Commands/CommandObjectCommands.cpp
add: packages/Python/lldbsuite/test/functionalities/history/TestHistoryRecall.py
edit: source/Interpreter/CommandHistory.cpp

Commit 1d09ebab8f94055e2b1a7c6057ffca67f72fcc98 by Jim Ingham:
x-fail this test while Adrian is working on a fix.

edit: packages/Python/lldbsuite/test/lang/swift/variables/generic_struct_debug_info/generic_flatmap/TestSwiftGenericStructDebugInfoGenericFlatMap.py

This failure has been coming up very intermittently for a while when running TestFoundation locally.

Pushkar N Kulkarni,

IBM Runtimes

Simplicity is prerequisite for reliability - Edsger W. Dijkstra

Though we have a new commit in URLSession (015ded4d70a7cf4b2741d7206fc60a3d1ceffe03), I don't think that change can trigger this failure. Nevertheless, I'll try to reproduce it locally and investigate.

this failing test seems to be flaky. Is it possible to fix this? Maybe increase the timeout?

TestFoundation/TestNSURLSession.swift:254: error: TestURLSession.test_downloadTaskWithURLAndHandler : Asynchronous wait failed - Exceeded timeout of 12.0 seconds, with unfulfilled expectations: download task with handler

Thanks,

Erik

···

On Apr 19, 2017, at 9:05 PM, no-reply@swift.org wrote:

New issue found!

[FAILURE] oss-swift-package-linux-ubuntu-16_04 [#845]

Build URL:
https://ci.swift.org/job/oss-swift-package-linux-ubuntu-16_04/845/
Project:
oss-swift-package-linux-ubuntu-16_04
Date of build:
Wed, 19 Apr 2017 19:42:56 -0700
Build duration:
1 hr 22 min

Identified problems:

  • Compile Error: This build failed because of a compile error. Below is a list of all errors in the build log:

Changes

  • Commit 86607e9364f583969abccb82fdea5f8470a993c3 by Daniel Dunbar:
    Fix typo in comment.
  • edit: products/libllbuild/public-api/llbuild/buildsystem.h

  • Commit b0dc90bb06d94d5b5296a25cde5ff63a457311ee by Adrian Prantl:
    Fix bug that caused DwarfExpression to drop DW_OP_deref from FI

  • edit: lib/CodeGen/AsmPrinter/DwarfExpression.cpp

  • edit: lib/CodeGen/AsmPrinter/DwarfUnit.cpp

  • edit: lib/CodeGen/AsmPrinter/DwarfDebug.cpp

  • add: test/DebugInfo/X86/fi-expr.ll

  • edit: lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp

  • edit: lib/CodeGen/AsmPrinter/DwarfExpression.h

  • Commit d1d460b5a093eb04cba6914a05546a9fd165a589 by Sean Callanan:
    [Expression parser] Don't try to materialize empty Swift structs.

  • edit: source/Expression/Materializer.cpp

  • add: packages/Python/lldbsuite/test/lang/swift/expression/empty_self/Makefile

  • add: packages/Python/lldbsuite/test/lang/swift/expression/empty_self/TestEmptySelf.py

  • add: packages/Python/lldbsuite/test/lang/swift/expression/empty_self/main.swift

  • Commit eb173567d971dad88c342d6750cb7b82c7977bd0 by Jim Ingham:
    Fix !N and !-N commands and add a test case.

  • edit: source/Commands/CommandObjectCommands.cpp

  • add: packages/Python/lldbsuite/test/functionalities/history/TestHistoryRecall.py

  • edit: source/Interpreter/CommandHistory.cpp

  • Commit 1d09ebab8f94055e2b1a7c6057ffca67f72fcc98 by Jim Ingham:
    x-fail this test while Adrian is working on a fix.

  • edit: packages/Python/lldbsuite/test/lang/swift/variables/generic_struct_debug_info/generic_flatmap/TestSwiftGenericStructDebugInfoGenericFlatMap.py

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

To: Philippe Hausler phausler@apple.com
From: Erik Eckstein via swift-dev
Sent by: swift-dev-bounces@swift.org
Date: 04/20/2017 10:00AM
Cc: Jim Ingham jingham@apple.com, swift-dev swift-dev@swift.org
Subject: Re: [swift-dev] [Swift CI] Build Still Failing: OSS - Swift Package - Ubuntu 16.04 (master) #845

Hi Philippe,

-----swift-dev-bounces@swift.org wrote: -----

ok, thanks.
I filed [SR-4647] foundation: TestFoundation/TestNSURLSession.swift test sometimes fails with a timeout · Issue #693 · apple/swift-corelibs-libdispatch · GitHub
and disabled the test for now: 8e8dd9bc73c5565e7b5423d809ee7bfdd39b30f7

Erik

···

On Apr 20, 2017, at 12:24 AM, Pushkar N Kulkarni <pushkar.nk@in.ibm.com> wrote:

This failure has been coming up very intermittently for a while when running TestFoundation locally.

Though we have a new commit in URLSession (015ded4d70a7cf4b2741d7206fc60a3d1ceffe03), I don't think that change can trigger this failure. Nevertheless, I'll try to reproduce it locally and investigate.

Pushkar N Kulkarni,
IBM Runtimes

Simplicity is prerequisite for reliability - Edsger W. Dijkstra

-----swift-dev-bounces@swift.org <mailto:-----swift-dev-bounces@swift.org> wrote: -----
To: Philippe Hausler <phausler@apple.com <mailto:phausler@apple.com>>
From: Erik Eckstein via swift-dev
Sent by: swift-dev-bounces@swift.org <mailto:swift-dev-bounces@swift.org>
Date: 04/20/2017 10:00AM
Cc: Jim Ingham <jingham@apple.com <mailto:jingham@apple.com>>, swift-dev <swift-dev@swift.org <mailto:swift-dev@swift.org>>
Subject: Re: [swift-dev] [Swift CI] Build Still Failing: OSS - Swift Package - Ubuntu 16.04 (master) #845

Hi Philippe,

this failing test seems to be flaky. Is it possible to fix this? Maybe increase the timeout?

TestFoundation/TestNSURLSession.swift:254: error: TestURLSession.test_downloadTaskWithURLAndHandler : Asynchronous wait failed - Exceeded timeout of 12.0 seconds, with unfulfilled expectations: download task with handler

Thanks,
Erik

On Apr 19, 2017, at 9:05 PM, no-reply@swift.org <mailto:no-reply@swift.org> wrote:

New issue found!

[FAILURE] oss-swift-package-linux-ubuntu-16_04 [#845]

Build URL: https://ci.swift.org/job/oss-swift-package-linux-ubuntu-16_04/845/
Project: oss-swift-package-linux-ubuntu-16_04
Date of build: Wed, 19 Apr 2017 19:42:56 -0700
Build duration: 1 hr 22 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-package-linux-ubuntu-16_04/845/consoleFull#2072898497ee1a197b-acac-4b17-83cf-a53b95139a76&gt;
Changes

Commit 86607e9364f583969abccb82fdea5f8470a993c3 by Daniel Dunbar:
Fix typo in comment.

edit: products/libllbuild/public-api/llbuild/buildsystem.h

Commit b0dc90bb06d94d5b5296a25cde5ff63a457311ee by Adrian Prantl:
Fix bug that caused DwarfExpression to drop DW_OP_deref from FI

edit: lib/CodeGen/AsmPrinter/DwarfExpression.cpp
edit: lib/CodeGen/AsmPrinter/DwarfUnit.cpp
edit: lib/CodeGen/AsmPrinter/DwarfDebug.cpp
add: test/DebugInfo/X86/fi-expr.ll
edit: lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
edit: lib/CodeGen/AsmPrinter/DwarfExpression.h

Commit d1d460b5a093eb04cba6914a05546a9fd165a589 by Sean Callanan:
[Expression parser] Don't try to materialize empty Swift structs.

edit: source/Expression/Materializer.cpp
add: packages/Python/lldbsuite/test/lang/swift/expression/empty_self/Makefile
add: packages/Python/lldbsuite/test/lang/swift/expression/empty_self/TestEmptySelf.py
add: packages/Python/lldbsuite/test/lang/swift/expression/empty_self/main.swift

Commit eb173567d971dad88c342d6750cb7b82c7977bd0 by Jim Ingham:
Fix !N and !-N commands and add a test case.

edit: source/Commands/CommandObjectCommands.cpp
add: packages/Python/lldbsuite/test/functionalities/history/TestHistoryRecall.py
edit: source/Interpreter/CommandHistory.cpp

Commit 1d09ebab8f94055e2b1a7c6057ffca67f72fcc98 by Jim Ingham:
x-fail this test while Adrian is working on a fix.

edit: packages/Python/lldbsuite/test/lang/swift/variables/generic_struct_debug_info/generic_flatmap/TestSwiftGenericStructDebugInfoGenericFlatMap.py

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