[Swift CI] Build Failure: OSS - Swift Package - Ubuntu 14.04 (master) #2703

Report

[FAILURE] oss-swift-package-linux-ubuntu-14_04 [#2703]

Build URL:
https://ci.swift.org/job/oss-swift-package-linux-ubuntu-14_04/2703/
Project:
oss-swift-package-linux-ubuntu-14_04
Date of build:
Fri, 30 Nov 2018 02:50:05 -0600
Build duration:
2 hr 45 min

Identified problems:

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

Changes

  • Commit 16a4af0e5b1223ac197f7b2fa1f174db2d9cd3d4 by compnerd:
    build: assume a parallel tree layout for unified builds

    • edit: cmake/modules/SwiftSharedCMakeConfig.cmake
  • Commit 8bd71d2cc34cac228efb12e4ef3638174fb89b1c by mark.lacey:
    Add another test for @_implements when calling from a generic context.

    • edit: test/attr/attr_implements_fp.swift
  • Commit e9902a2eaedbb35f451e5865826388e5592b7a05 by mark.lacey:
    Introduce Cauxmparable in place of Comparable in a couple @_implements

    • edit: test/attr/attr_implements_fp.swift
    • edit: test/attr/attr_implements_serial.swift
  • Commit 36aca0275b1d615bf9faee848052c27f391d3bbb by mark.lacey:
    Rename Cauxmparables requirement from '

    • edit: test/attr/attr_implements_fp.swift
  • Commit ccadad06962f98c8a18fedf5d8ae16c507a0f33f by mark.lacey:
    Restate the .< requirement as a @_nonoverride in @_implements test.

    • edit: test/attr/attr_implements_fp.swift
  • Commit 35f6428034949ec9b5edf04404999670cf3b993b by mark.lacey:
    Add new @_implements tests for calling through another generic context.

    • edit: test/attr/attr_implements_fp.swift
  • Commit 80a1c084a56a48826e244647f7ff69a257692153 by mark.lacey:
    Use designated types in test of @_implements, to ensure we maintain the

    • edit: test/attr/attr_implements_serial.swift
    • edit: test/attr/attr_implements_fp.swift
  • Commit c129066b39b0e7a7c959269f6f3ebf9c9a7cb61a by david_smith:
    Add simple benchmarks for JSON coding

    • add: benchmark/single-source/JSON.swift
    • edit: benchmark/utils/main.swift
    • edit: benchmark/CMakeLists.txt
  • Commit 7b43e1d04debfaea6ee2e75cac820c0b3cd95d85 by harlan:
    [FrontendTool] [NFC] Reduce scope of FrontendObserver

    • edit: include/swift/FrontendTool/FrontendTool.h
    • edit: lib/FrontendTool/FrontendTool.cpp
    • edit: tools/swift-remoteast-test/swift-remoteast-test.cpp
  • Commit 3d1839a016b819f313e0b3b2b080ecdf407256a7 by compnerd:
    build: support SWIFT_MODULE_DEPENDS_WINDOWS

    • edit: cmake/modules/AddSwift.cmake
  • Commit 94173e9cdb6fa81fe55e198e94b4bcbc125a349e by compnerd:
    SwiftPrivateThreadExtras: correct dependency for Windows

    • edit: stdlib/private/SwiftPrivateThreadExtras/CMakeLists.txt
  • Commit 9af20c71f09f068701990b4b3ee9a5db4bdbdce9 by spestov:
    Evolution: Clean up superclass insertion tests a bit

    • edit: validation-test/Evolution/Inputs/class_insert_superclass.swift
    • edit: validation-test/Evolution/test_class_resilient_superclass_properties.swift
    • edit: validation-test/Evolution/test_class_resilient_superclass_methods.swift
  • Commit fcb52172fc2906b6003a12b327c9b6acd32bcd0f by spestov:
    AST: Change isResilient() to do the cheaper check first

    • edit: lib/AST/Decl.cpp
  • Commit 09027413bcf04ba48ccaf7b4ac2d31a546c3e963 by spestov:
    IRGen: Emit field offsets before vtable entries

    • edit: lib/IRGen/ClassMetadataVisitor.h
    • edit: test/IRGen/class_metadata.swift
    • edit: test/IRGen/generic_classes.sil
    • edit: test/IRGen/class_resilience.swift
    • edit: test/IRGen/completely_fragile_class_layout.sil
    • edit: test/Serialization/Recovery/typedefs.swift
    • edit: test/IRGen/class_resilience_objc.swift
    • edit: test/IRGen/generic_types.swift
    • edit: test/IRGen/mixed_mode_class_with_unimportable_fields.swift
    • edit: test/IRGen/objc_class_export.swift
    • edit: test/IRGen/subclass.swift
    • edit: test/IRGen/objc_super.swift
  • Commit 4289f76064904e4ed6350633941df2048e606171 by spestov:
    AST: Introduce ClassDecl::hasResilientMetadata()

    • edit: include/swift/AST/Decl.h
    • edit: lib/IRGen/GenDecl.cpp
    • edit: lib/IRGen/IRGenModule.h
    • edit: lib/AST/Decl.cpp
  • Commit 16a459d0f1758f27712649b98378eab9927075c2 by spestov:
    IRGen: Refactor ClassLayoutBuilder a bit to help distinguish

    • edit: lib/IRGen/Linking.cpp
    • edit: lib/IRGen/ClassMetadataVisitor.h
    • edit: lib/IRGen/GenClass.cpp
  • Commit ff09603f30d9ae45947cc437a4ff85c1c7fcc7f4 by spestov:
    IRGen: @_fixed_layout classes still have resilient metadata

    • edit: lib/IRGen/GenMeta.cpp
    • edit: test/IRGen/super.sil
    • edit: test/Interpreter/class_resilience.swift
    • edit: test/SILGen/partial_apply_super.swift
    • edit: lib/IRGen/MetadataLayout.cpp
    • edit: lib/IRGen/IRGenSIL.cpp
    • edit: lib/SIL/SILDeclRef.cpp
    • edit: test/SILGen/super.swift
    • edit: lib/IRGen/GenClass.cpp
    • edit: test/IRGen/class_resilience.swift
    • edit: lib/TBDGen/TBDGen.cpp
    • add: test/Inputs/fixed_layout_class.swift
    • edit: test/Inputs/resilient_class.swift
    • edit: lib/IRGen/ClassMetadataVisitor.h
    • add: test/IRGen/fixed_layout_class.swift
  • Commit a5abb9d7edf128adf0800bd6d055e33da4894663 by spestov:
    Evolution: Add some tests for @_fixed_layout classes

    • add: validation-test/Evolution/Inputs/class_fixed_layout_add_virtual_method.swift
    • add: validation-test/Evolution/test_class_fixed_layout_add_virtual_method.swift
    • add: validation-test/Evolution/test_class_fixed_layout_add_virtual_method_subclass.swift
    • add: validation-test/Evolution/test_class_fixed_layout_superclass_reorder_methods.swift
    • add: validation-test/Evolution/Inputs/class_fixed_layout_add_virtual_method_subclass.swift
    • add: validation-test/Evolution/Inputs/class_fixed_layout_superclass_reorder_methods.swift
  • Commit f8d28811bc2226b42c78499ed7a0b5c3598cefc0 by spestov:
    IRGen: Relax an assertion

    • edit: lib/IRGen/GenCall.cpp
    • edit: test/Inputs/resilient_class_thunks.swift
    • edit: test/IRGen/class_resilience_thunks.swift
  • Commit 027837d5b431e6eaa4b8519b24bcc57203f31dfd by mgottesman:
    Add a test that makes sure a static Foundation is included in toolchains

    • edit: lit.cfg
    • add: test-static-stdlib/test-static-stdlib.test
    • add: test-static-stdlib/main.swift
  • Commit d5bb30e9408ba7a0a7584b7fd4da4f735dd15e15 by jfbastien:
    CGDecl::emitStoresForConstant fix synthesized constant's name

    • edit: test/CodeGenCXX/float128-declarations.cpp
    • edit: test/CodeGenOpenCL/partial_initializer.cl
    • edit: test/Modules/templates.mm
    • edit: test/CodeGenCXX/amdgcn-string-literal.cpp
    • edit: test/CodeGen/decl.c
    • edit: test/CodeGen/dump-struct-builtin.c
    • edit: test/CodeGenOpenCL/amdgpu-nullptr.cl
    • edit: test/CodeGenOpenCL/constant-addr-space-globals.cl
    • edit: lib/CodeGen/CGDecl.cpp
    • edit: test/CodeGenCXX/float16-declarations.cpp
    • edit: test/CodeGenOpenCL/private-array-initialization.cl
    • edit: test/CodeGenCXX/const-init-cxx11.cpp
  • Commit 422ab52b70796d07cf0f50ad118f4e909ba17505 by ankit_aggarwal:
    [PackageDescription4] Update platforms API according to latest revisions

    • edit: Sources/PackageLoading/PackageDescription4Loader.swift
    • edit: Sources/PackageModel/ResolvedModels.swift
    • edit: Tests/PackageGraphTests/RepositoryPackageContainerProviderTests.swift
    • edit: Tests/PackageLoadingTests/PD5LoadingTests.swift
    • edit: Tests/PackageGraphPerformanceTests/PackageGraphPerfTests.swift
    • edit: Sources/Build/BuildPlan.swift
    • edit: Tests/BuildTests/BuildPlanTests.swift
    • edit: Sources/Xcodeproj/pbxproj().swift
    • edit: Tests/PackageLoadingTests/PD4_2LoadingTests.swift
    • edit: Sources/PackageGraph/PackageGraphLoader.swift
    • edit: Tests/WorkspaceTests/WorkspaceTests.swift
    • edit: Sources/PackageModel/Target.swift
    • edit: Sources/TestSupport/TestWorkspace.swift
    • edit: Sources/PackageDescription4/SupportedPlatforms.swift
    • edit: Sources/TestSupport/Manifest.swift
    • edit: Tests/BuildTests/XCTestManifests.swift
    • edit: Sources/Build/llbuild.swift
    • edit: Sources/PackageModel/Manifest.swift
    • edit: Sources/TestSupport/MockDependencyGraph.swift
    • edit: Sources/PackageDescription4/Package.swift
    • edit: Sources/PackageLoading/PackageBuilder.swift
    • edit: Sources/PackageModel/Product.swift
    • edit: Sources/PackageModel/Platform.swift
    • edit: Tests/PackageLoadingTests/PackageBuilderTests.swift
  • Commit e4e43539f749eead9289599de67a78427ff09762 by ankit_aggarwal:
    Sort targets in Xcode project (#1882)

    • edit: Sources/Xcodeproj/pbxproj().swift
  • Commit 5f2c57ae83cc26b79ee0c275e455431d36eb88c0 by ankit_aggarwal:
    [PackageGraph] Disallow unsafe build flags in dependencies

    • edit: Sources/PackageModel/BuildSettings.swift
    • edit: Tests/PackageGraphTests/PackageGraphTests.swift
    • edit: Tests/PackageGraphTests/XCTestManifests.swift
    • edit: Sources/PackageGraph/PackageGraphLoader.swift
  • Commit cfc07672d1fd65f37158a774e8ff792d2dc1f1ad by ankit_aggarwal:
    [Xcodeproj] Add declared build settings to the generated Xcode project

    • edit: Sources/Xcodeproj/XcodeProjectModel.swift
    • edit: Sources/Xcodeproj/pbxproj().swift
    • edit: Sources/Xcodeproj/XcodeProjectModelSerialization.swift
    • edit: Tests/XcodeprojTests/PackageGraphTests.swift
    • edit: Sources/Xcodeproj/PropertyList.swift
  • Commit 45befd572c3a8ab2abbad2d9e1abda5f9988bfd8 by ankit_aggarwal:
    Rename Compile to Compiling to fix tense

    • edit: Sources/Build/llbuild.swift
    • edit: Tests/BuildTests/IncrementalBuildTests.swift
    • edit: Tests/CommandsTests/RunToolTests.swift
    • edit: Utilities/bootstrap
  • Commit b060e8e46ea1d8ae15c909405bb6ff7e7251a8cb by ankit_aggarwal:
    Improve OS version number validation in SupportedPlatforms

    • edit: Tests/PackageLoadingTests/PD5LoadingTests.swift
    • edit: Sources/PackageDescription4/SupportedPlatforms.swift
  • Commit e9dde5a1cfd7e28b24747d9244b51dcfc1a8181d by ankit_aggarwal:
    Refactor progress animations and introduce ninja-based progress (#1876)

    • delete: Sources/Utility/ProgressBar.swift
    • add: Tests/UtilityTests/ProgressAnimationTests.swift
    • edit: Sources/Commands/SwiftTestTool.swift
    • delete: Tests/UtilityTests/ProgressBarTests.swift
    • edit: Tests/UtilityTests/XCTestManifests.swift
    • add: Sources/Utility/ProgressAnimation.swift

******************* TEST 'swift-package-tests :: test-static-stdlib/test-static-stdlib.test' FAILED ********************

And there are bunch of errors about missing symbols in the log:

**05:34:22** /home/buildnode/jenkins/workspace/oss-swift-package-linux-ubuntu-14_04/build/buildbot_linux/none-swift_package_sandbox_linux-x86_64/usr/lib/swift_static/linux/libFoundation.a(Thread.swift.o):Thread.swift.o:function $s10Foundation16NSThreadSpecificC3getyxxyXEF: error: undefined reference to '_CFThreadSpecificGet' **05:34:22** /home/buildnode/jenkins/workspace/oss-swift-package-linux-ubuntu-14_04/build/buildbot_linux/none-swift_package_sandbox_linux-x86_64/usr/lib/swift_static/linux/libFoundation.a(Thread.swift.o):Thread.swift.o:function $s10Foundation16NSThreadSpecificC3getyxxyXEF: error: undefined reference to '_CFThreadSpecificSet' **05:34:22** /home/buildnode/jenkins/workspace/oss-swift-package-linux-ubuntu-14_04/build/buildbot_linux/none-swift_package_sandbox_linux-x86_64/usr/lib/swift_static/linux/libFoundation.a(Thread.swift.o):Thread.swift.o:function $s10Foundation16NSThreadSpecificC3setyyxF: error: undefined reference to '_CFThreadSpecificSet'

I’m going to create a radar for this problem.

Ok, looks like next build has succeeded.

I disabled the test. My understanding was that this was supposed to work. So the integration test succeeded in its purpose!

I filed: SR-9384 to track compiling -fPIC and re-enabling the test.

Thanks for the explanation, Mishal!