[Swift CI] Build Failure: 0. OSS - Swift Incremental RA - Ubuntu 14.04 (master) #1339

It does not look like TestFoundation was rebuild which is definitely necessary after my change.

A clean build and/or Increase the version number after single payload enum change by aschwaighofer · Pull Request #12676 · apple/swift · GitHub (Increase the version number after single payload enum change) hopefully fixes this.

--- Finished tests for libdispatch ---
--- Running tests for foundation ---
+ pushd /home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift-corelibs-foundation
~/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift-corelibs-foundation ~/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04
+ /home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/buildbot_incremental/ninja-build/ninja TestFoundation
ninja: no work to do.
+ popd
~/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04
+ env LD_LIBRARY_PATH=//usr//lib/swift/:/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/buildbot_incremental/foundation-linux-x86_64/Foundation:/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/buildbot_incremental/xctest-linux-x86_64:/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/buildbot_incremental/libdispatch-linux-x86_64/src/.libs: /home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/buildbot_incremental/foundation-linux-x86_64/TestFoundation/TestFoundation
Test Suite 'All tests' started at 2017-10-30 20:57:29.435
Test Suite 'TestFoundation.xctest' started at 2017-10-30 20:57:29.437
Test Suite 'TestAffineTransform' started at 2017-10-30 20:57:29.437
Test Case 'TestAffineTransform.test_BasicConstruction' started at 2017-10-30 20:57:29.437
Test Case 'TestAffineTransform.test_BasicConstruction' passed (0.0 seconds)
Test Case 'TestAffineTransform.test_IdentityTransformation' started at 2017-10-30 20:57:29.438
Test Case 'TestAffineTransform.test_IdentityTransformation' passed (0.0 seconds)
Test Case 'TestAffineTransform.test_Scale' started at 2017-10-30 20:57:29.438
Test Case 'TestAffineTransform.test_Scale' passed (0.0 seconds)
Test Case 'TestAffineTransform.test_Scaling' started at 2017-10-30 20:57:29.438
Test Case 'TestAffineTransform.test_Scaling' passed (0.0 seconds)
Test Case 'TestAffineTransform.test_TranslationScaling' started at 2017-10-30 20:57:29.438
Test Case 'TestAffineTransform.test_TranslationScaling' passed (0.0 seconds)
Test Case 'TestAffineTransform.test_ScalingTranslation' started at 2017-10-30 20:57:29.438
Test Case 'TestAffineTransform.test_ScalingTranslation' passed (0.0 seconds)
Test Case 'TestAffineTransform.test_Rotation_Degrees' started at 2017-10-30 20:57:29.438
Test Case 'TestAffineTransform.test_Rotation_Degrees' passed (0.0 seconds)
Test Case 'TestAffineTransform.test_Rotation_Radians' started at 2017-10-30 20:57:29.438
Test Case 'TestAffineTransform.test_Rotation_Radians' passed (0.0 seconds)
Test Case 'TestAffineTransform.test_Inversion' started at 2017-10-30 20:57:29.438
Test Case 'TestAffineTransform.test_Inversion' passed (0.0 seconds)
Test Case 'TestAffineTransform.test_IdentityTransformation' started at 2017-10-30 20:57:29.438
Test Case 'TestAffineTransform.test_IdentityTransformation' passed (0.0 seconds)
Test Case 'TestAffineTransform.test_Translation' started at 2017-10-30 20:57:29.438
Test Case 'TestAffineTransform.test_Translation' passed (0.0 seconds)

···

On Oct 30, 2017, at 1:57 PM, no-reply@swift.org wrote:

[FAILURE] oss-swift-incremental-RA-linux-ubuntu-14_04 [#1339]

Build URL: https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-14_04/1339/
Project: oss-swift-incremental-RA-linux-ubuntu-14_04
Date of build: Mon, 30 Oct 2017 15:34:15 -0500
Build duration: 24 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

Changes

  • Commit 43b9d13a2e8e53b84aaedd7bbbf2904ff654eb08 by aschwaighofer:
Add value witnesses for single payload enums

    • edit: lib/Demangling/NodePrinter.cpp
    • edit: lib/IRGen/GenEnum.cpp
    • edit: lib/IRGen/FixedTypeInfo.h
    • add: stdlib/public/runtime/EnumImpl.h
    • edit: include/swift/Demangling/ValueWitnessMangling.def
    • edit: include/swift/Runtime/Metadata.h
    • edit: lib/IRGen/GenValueWitness.cpp
    • edit: lib/IRGen/GenOpaque.cpp
    • edit: lib/IRGen/GenOpaque.h
    • edit: include/swift/ABI/ValueWitness.def
    • edit: lib/IRGen/ResilientTypeInfo.h
    • edit: lib/IRGen/NonFixedTypeInfo.h
    • edit: stdlib/public/runtime/Enum.cpp
    • edit: lib/IRGen/TypeInfo.h
    • edit: lib/IRGen/GenType.cpp
    • edit: stdlib/public/runtime/MetadataImpl.h
    • edit: stdlib/public/runtime/Metadata.cpp
    • edit: lib/IRGen/IRGenMangler.cpp

  • Commit 5dcb4f2dd4e1878622fad7c61365a1acd821b812 by aschwaighofer:
Fix some test cases

    • edit: test/IRGen/indexing.sil
    • edit: test/IRGen/global_resilience.sil
    • edit: test/IRGen/lifetime.sil
    • edit: test/IRGen/type_layout.swift
    • edit: test/IRGen/type_layout_reference_storage_objc.swift
    • edit: test/IRGen/enum_dynamic_multi_payload.sil
    • edit: test/IRGen/enum_value_semantics.sil
    • edit: test/IRGen/generic_structs.sil
    • edit: test/IRGen/partial_apply.sil
    • edit: test/IRGen/generic_tuples.swift
    • edit: test/IRGen/enum_resilience.swift
    • edit: test/IRGen/struct_resilience.swift
    • edit: test/IRGen/generic_classes.sil

  • Commit dfda8e7f4926415431c3a8f96e0a3e92b8bac299 by aschwaighofer:
Don't use switch instructions

    • edit: lib/IRGen/GenType.cpp

  • Commit 8c01c08c2779f85bfb20b3fbcfb08e71c9f098e5 by aschwaighofer:
More updated test cases

    • edit: test/IRGen/globals.swift
    • edit: test/IRGen/generic_casts.swift
    • edit: test/IRGen/existentials_opaque_boxed.sil
    • edit: test/IRGen/type_layout_objc.swift
    • edit: test/IRGen/type_layout_reference_storage.swift
    • edit: test/IRGen/enum.sil

  • Commit 2923153a06d3c09e07aa209b60f1806fad37e02e by aschwaighofer:
Fix emitSpecializedMemOperation

    • edit: lib/IRGen/GenType.cpp

  • Commit 0d06bea602988eb4c8e07fb1c648943e25b6f492 by aschwaighofer:
Fix generic *EnumTagSinglePayload implementation

    • edit: stdlib/public/runtime/EnumImpl.h

  • Commit 79d9a33f10744a11ee162e7b69c383c54776a2bf by aschwaighofer:
Fix one more test case

    • edit: test/IRGen/builtins.swift

  • Commit c53807714a5dcd8d5363a2f89ff0a5ebb9a82d6d by aschwaighofer:
Fix small_memcpy of three bytes

    • edit: stdlib/public/runtime/EnumImpl.h

  • Commit 0f2bafb624ba58aaac039c3aeddccbc38a5cea82 by aschwaighofer:
Fix indentation

    • edit: lib/IRGen/GenType.cpp

  • Commit 53a967f953c2ba18ad0fad973327cd7e1cb090af by aschwaighofer:
Add a readonly function attribute to the getEnumTagSinglePayloadWitness

    • edit: lib/IRGen/GenOpaque.cpp