[Swift CI] Build Failure: 1. OSS - Swift ASAN - OS X (master) #3883


[FAILURE] oss-swift-incremental-ASAN-RA-osx [#3883]

Build URL:
Date of build:
Fri, 11 Oct 2019 18:07:57 -0500
Build duration:
4 hr 3 min


  • Commit f7e60fbe9c51c3d572cda05b3dcc3ba89a5173ae by ankit_aggarwal:
    [CMake] Export libllbuild target

    • edit: CMakeLists.txt
    • add: cmake/modules/LLBuildConfig.cmake.in
    • add: cmake/modules/CMakeLists.txt
    • edit: products/libllbuild/CMakeLists.txt
  • Commit e48654aabeb973c2ce0250952442dee7d8694f43 by lwalkin:
    Fix FS resolution sensitivity

    • edit: tests/Ninja/Build/order-only-skip.ninja
  • Commit 6997adfc03e2803e134454fe6102adde78166bec by lwalkin:
    Syntactically normalize path names

    • edit: lib/Commands/NinjaBuildCommand.cpp
    • edit: lib/Ninja/Manifest.cpp
    • edit: include/llbuild/Ninja/Manifest.h
    • add: tests/Ninja/Build/normalize-path.ninja
    • edit: unittests/Ninja/CMakeLists.txt
    • add: unittests/Ninja/ManifestTest.cpp
  • Commit ffe637a7d6a4bc8f06d858d7b3109b89b4ce7559 by github:
    Get ClangdXPC.framework building (barely) with CMake's Xcode generator

    • edit: clangd/xpc/cmake/modules/CreateClangdXPCFramework.cmake
  • Commit fd3a8804eb4606a5210134d1b23071d5e3af0998 by rxrwei:
    [AutoDiff upstream] [AST] Add 'AutoDiffIndexSubset' data structure.

    • edit: include/swift/AST/ASTContext.h
    • edit: lib/AST/ASTContext.cpp
    • add: lib/AST/AutoDiff.cpp
    • add: include/swift/AST/AutoDiff.h
    • add: unittests/AST/AutoDiffIndexSubsetTests.cpp
    • edit: unittests/AST/CMakeLists.txt
    • edit: lib/AST/CMakeLists.txt
  • Commit 773ac24bc983aa22be809a5b5304e0ee40c98ad9 by pyaskevich:
    [ConstraintSystem] Detect and diagnose type mismatch failures of inout

    • edit: test/Constraints/diagnostics.swift
    • edit: lib/Sema/ConstraintSystem.cpp
    • edit: lib/Sema/ConstraintSystem.h
    • edit: test/expr/postfix/dot/init_ref_delegation.swift
    • edit: lib/Sema/CSDiagnostics.cpp
    • edit: lib/Sema/CSSimplify.cpp
  • Commit eb61ae79714e2ff8cbfae12ab8a9ad0d5f420a79 by dgregor:
    [Type checker] Factor out ConstraintSystem::addJoinConstraint().

    • edit: lib/Sema/ConstraintSystem.h
    • edit: lib/Sema/CSGen.cpp
    • edit: lib/Sema/CSSimplify.cpp
  • Commit c128f6f3aa911958e85f932dd9514a6167c12e85 by dgregor:
    [Constraint system] Generalize ParamDecl type tracking to VarDecl.

    • edit: lib/Sema/ConstraintSystem.h
  • Commit 87b5df7333c3ebde8e836d2b4f7c183d882416e4 by dgregor:
    [Constraint system] Abstract the record of an applied function builder.

    • edit: lib/Sema/CSSolver.cpp
    • edit: lib/Sema/ConstraintSystem.h
    • edit: lib/Sema/BuilderTransform.cpp
    • edit: lib/Sema/CSApply.cpp
  • Commit 95e73433ef5a1841b503238e3d5e0b1fac99fc44 by aprantl:
    Only pass -DLLVM_USE_SPLIT_DWARF in DebugInfo-enable builds.

    • edit: utils/build-script-impl
  • Commit 060cbb293f46099e25fcba17c8287938c093012b by rwidmann:
    [NFC] Downgrade The TypeLoc in VarDecl to a TypeRepr

    • edit: lib/Sema/TypeCheckDeclOverride.cpp
    • edit: lib/AST/GenericSignatureBuilder.cpp
    • edit: lib/IDE/SwiftSourceDocInfo.cpp
    • edit: lib/AST/ASTWalker.cpp
    • edit: lib/Sema/CSGen.cpp
    • edit: lib/Sema/TypeCheckStorage.cpp
    • edit: lib/Sema/TypeCheckGeneric.cpp
    • edit: lib/Sema/DerivedConformanceEquatableHashable.cpp
    • edit: lib/Sema/TypeCheckProtocol.cpp
    • edit: lib/Parse/ParsePattern.cpp
    • edit: lib/Sema/TypeCheckAccess.cpp
    • edit: tools/SourceKit/lib/SwiftLang/SwiftDocSupport.cpp
    • edit: lib/Sema/CSDiagnostics.cpp
    • edit: lib/Parse/ParseExpr.cpp
    • edit: tools/SourceKit/lib/SwiftLang/SwiftLangSupport.cpp
    • edit: lib/Sema/TypeCheckDecl.cpp
    • edit: lib/AST/ASTPrinter.cpp
    • edit: lib/AST/Decl.cpp
    • edit: include/swift/AST/Decl.h
    • edit: lib/Sema/CodeSynthesis.cpp
    • edit: lib/Migrator/APIDiffMigratorPass.cpp
    • edit: lib/Sema/TypeCheckDeclObjC.cpp
    • edit: lib/Sema/TypeCheckPattern.cpp
  • Commit 2516089cb6849de8d72ed589f04ae99f6def550a by rwidmann:
    Clean up the pseudo-clone-constructor for ParamDecl

    • edit: lib/AST/Decl.cpp
    • edit: include/swift/AST/ParameterList.h
    • edit: include/swift/AST/Decl.h
    • edit: lib/Sema/CSDiagnostics.cpp
    • edit: lib/Sema/TypeCheckStorage.cpp
    • edit: lib/AST/Parameter.cpp
    • edit: lib/Sema/DerivedConformanceEquatableHashable.cpp
    • edit: lib/Sema/CodeSynthesis.cpp
    • edit: lib/Parse/ParsePattern.cpp
  • Commit 1036d2a2bf9d5419e0d086bdca47ce0fbbc14f2d by rishizaki:
    [SyntaxParse] Parse ObjC keypath expression syntax

    • edit: lib/Parse/ParseExpr.cpp
    • edit: utils/gyb_syntax_support/ExprNodes.py
    • edit: include/swift/Parse/ASTGen.h
    • edit: test/expr/primary/keypath/keypath-objc.swift
    • edit: include/swift/Parse/Parser.h
    • edit: lib/Parse/ASTGen.cpp
  • Commit 8e16aa4b8d619f0b7ceed0b9746501a1a014b815 by pyaskevich:
    [Diagnostics] Extend argument-to-parameter mismatch note to cover

    • edit: include/swift/AST/DiagnosticsSema.def
    • edit: lib/Sema/CSDiagnostics.cpp
    • edit: test/expr/postfix/dot/init_ref_delegation.swift
  • Commit 9765858d31f2babf89381c3cd0c17eb39a80da1e by rxwei:
    Rename to 'IndexSubset' and move it to its own file.

    • edit: include/swift/AST/ASTContext.h
    • edit: unittests/AST/CMakeLists.txt
    • delete: include/swift/AST/AutoDiff.h
    • add: unittests/AST/IndexSubsetTests.cpp
    • delete: unittests/AST/AutoDiffIndexSubsetTests.cpp
    • edit: lib/AST/CMakeLists.txt
    • add: include/swift/AST/IndexSubset.h
    • delete: lib/AST/AutoDiff.cpp
    • edit: lib/AST/ASTContext.cpp
    • add: lib/AST/IndexSubset.cpp
  • Commit c55962c97ef8b6bf8a8d913a7d2e902fa26ddd12 by rxwei:
    Fix indentation in tests and remove unrelated tests.

    • edit: unittests/AST/IndexSubsetTests.cpp
  • Commit ad57896b7b213cacc7ebc634091ea98b390982ef by github:
    Update include in ASTContext.cpp.

    • edit: lib/AST/ASTContext.cpp
  • Commit 0e9425ee382e2b2a378a53459d2600f3e4810b81 by github:
    Fix indentation.

    • edit: lib/AST/ASTContext.cpp
  • Commit 660f66d7c0d45577b9a56686d2136b662d59e4c3 by rwidmann:
    Delete the IsTypeLocImplicit Bit

    • edit: lib/AST/ASTPrinter.cpp
    • edit: lib/AST/Decl.cpp
    • edit: include/swift/AST/Decl.h
    • edit: test/Constraints/closures.swift
    • edit: lib/AST/ASTWalker.cpp
    • edit: lib/Parse/ParseDecl.cpp
  • Commit 05e24c0aaf6467e42815d6bf422cd28e2d761843 by rkandhadaimadhav:
    [OSLogOptimization] Improve a comment in the OSLogOptimization pass and

    • edit: lib/SILOptimizer/Mandatory/OSLogOptimization.cpp
  • Commit 5acc4175fdd7f447a653db205659a6be42468dbb by github:
    Revert "[SkipFunctionBodies] Build everything but the stdlib with

    • edit: cmake/modules/SwiftSource.cmake
  • Commit ce61fe69e903f9594e433a5ede30e649d0294e04 by github:
    Update the llvm project to use llvm-project-v3

    • edit: utils/update_checkout/update-checkout-config.json
  • Commit fc8457aeec7774137f16102ee7263ea97e103d57 by ankit_aggarwal:
    [CMake] Use find_package to discover tsc and llbuild

    • edit: Sources/CMakeLists.txt
    • edit: Sources/TSCUtility/CMakeLists.txt
    • add: Utilities/build-using-cmake
    • edit: .gitignore
    • edit: Sources/TSCclibc/CMakeLists.txt
    • edit: CMakeLists.txt
    • edit: Sources/SPMLLBuild/CMakeLists.txt
    • edit: Sources/SourceControl/CMakeLists.txt
    • edit: Sources/TSCLibc/CMakeLists.txt
    • edit: Sources/PackageDescription4/CMakeLists.txt
    • edit: Sources/TSCBasic/CMakeLists.txt
  • Commit dac679de18534f0c751c622fb4823036ea6df023 by ankit_aggarwal:
    [CMake] Support linking against llbuild framework

    • edit: CMakeLists.txt
    • edit: Sources/SPMLLBuild/CMakeLists.txt
  • Commit ff7d398f6b82d7316639a7eebe0b1f13c9ab316c by ankit_aggarwal:
    [CMake] Start working on new bootstrap script using the CMake build

    • add: Utilities/BuildRuntimesOnly/CMakeLists.txt
    • add: Utilities/new-bootstrap
    • edit: Sources/PackageDescription4/CMakeLists.txt

@rxwei would this be from your changes?

Failing Tests (6):
Swift-Unit :: AST/./SwiftASTTests/IndexSubset.Equality
Swift-Unit :: AST/./SwiftASTTests/IndexSubset.Initializers
Swift-Unit :: AST/./SwiftASTTests/IndexSubset.Bits
Swift-Unit :: AST/./SwiftASTTests/IndexSubset.Iteration
Swift-Unit :: AST/./SwiftASTTests/IndexSubset.SupersetAndSubset
Swift-Unit :: AST/./SwiftASTTests/IndexSubset.Insertion

Yes, I can look into it today.


Hi Nathan,

I can't see the logs from the link. Can you post the configuration/build-preset that was used for the run?

I tried building swift with ASAN enabled as follows:

swift/utils/build-script --assertions --no-swift-stdlib-assertions --swift-enable-ast-verifier=0 --release --enable-asan

Unfortunately, clang failed when building libdispatch with the following error:

fatal error: error in backend: Cannot select: 0x55a0945134e8: i64 = truncate 0x55a09454cdd0                                                                              
In function: _dispatch_bug_kevent_vanished                                                                                                                               
clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)                                                                                 
clang version 6.0.1-10 (tags/RELEASE_601/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
clang: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
clang: note: diagnostic msg:

Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/init-32786b.c
clang: note: diagnostic msg: /tmp/init-32786b.sh
clang: note: diagnostic msg:
1 Like

Hi Gogul,

The job is still failing so you can check out the logs from one of the more recent builds by going up a level in the URL: https://ci.swift.org/job/oss-swift-incremental-ASAN-RA-osx/. This is the most recent one at the moment.

The bot is using the preset below:

utils/build-script --preset "buildbot_incremental_asan,tools=RDA,stdlib=RDA"

and the build directory ends up at ../build/buildbot_incremental_asan (relative to the swift checkout).

Hope that helps, and thanks for looking into this!