[Swift CI] Build Failure: 0. OSS - Swift Incremental RA - Ubuntu 16.10 - Long Test (master) #295

These look like “same type constraint” errors.
-Andy

···

On Sep 22, 2017, at 7:39 PM, no-reply@swift.org wrote:

swift/Runtime/Concurrent.h
edit: include/swift/Runtime/MutexPThread.h
edit: stdlib/private/SwiftPrivateLibcExtras/CMakeLists.txt
edit: stdlib/private/SwiftPrivateLibcExtras/Subprocess.swift
edit: lib/Basic/LangOptions.cpp
edit: lib/Basic/TaskQueue.cpp
edit: stdlib/private/SwiftPrivateLibcExtras/Subprocess.c
edit: stdlib/public/Platform/CMakeLists.txt
edit: stdlib/public/runtime/CMakeLists.txt
edit: utils/swift_build_support/swift_build_support/targets.py
edit: stdlib/private/SwiftPrivateLibcExtras/SwiftPrivateLibcExtras.swift
edit: stdlib/private/SwiftPrivatePthreadExtras/CMakeLists.txt
edit: CMakeLists.txt
edit: stdlib/public/runtime/Errors.cpp
edit: stdlib/private/StdlibUnittest/StdlibUnittest.swift.gyb
edit: include/swift/Runtime/Mutex.h
edit: stdlib/public/Platform/TiocConstants.swift
add: stdlib/public/runtime/HaikuPort.cpp
edit: stdlib/private/SwiftPrivatePthreadExtras/SwiftPrivatePthreadExtras.swift
edit: stdlib/public/Platform/glibc.modulemap.gyb
edit: stdlib/public/SwiftShims/LibcShims.h
edit: lib/Basic/Platform.cpp
edit: stdlib/public/stubs/LibcShims.cpp
edit: utils/build-script-impl
edit: stdlib/private/StdlibUnittest/StdlibCoreExtras.swift
edit: lib/Driver/ToolChains.cpp
edit: stdlib/public/Platform/tgmath.swift.gyb
edit: stdlib/private/StdlibUnittest/RaceTest.swift
edit: stdlib/private/StdlibUnittest/CMakeLists.txt
edit: stdlib/public/stubs/Stubs.cpp
edit: cmake/modules/AddSwift.cmake
edit: lib/Driver/Driver.cpp
edit: stdlib/public/Platform/Platform.swift
edit: test/CMakeLists.txt
edit: utils/swift_build_support/swift_build_support/toolchain.py
edit: lib/Basic/Statistic.cpp
edit: stdlib/private/SwiftPrivatePthreadExtras/PthreadBarriers.swift
edit: cmake/modules/FindICU.cmake
edit: stdlib/public/runtime/ImageInspectionELF.cpp
edit: include/swift/Basic/LangOptions.h

All the long stdlib parsing tests are failing on all the bots:
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10-long-test/buildbot_incremental/swift-linux-x86_64/validation-test-linux-x86_64/SIL/Output/parse_stdlib_15.sil.tmp.sil:77289:199: warning: redundant same-type constraint 'Base.Element.SubSequence' == 'Base.Element.SubSequence.SubSequence'
sil [serialized] [thunk] [always_inline] @_T0s17FlattenCollectionV19underestimatedCountSivg : $@convention(method) <Base where Base : Collection, Base.Element : Collection, Base.Element.SubSequence == Base.Element.SubSequence.SubSequence> (@in_guaranteed FlattenCollection<Base>) -> Int {
                                                                                                                                                                                                      ^
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10-long-test/buildbot_incremental/swift-linux-x86_64/validation-test-linux-x86_64/SIL/Output/parse_stdlib_15.sil.tmp.sil:77289:160: note: previous same-type constraint 'Base.Element.SubSequence' == 'Base.Element.SubSequence' implied here
sil [serialized] [thunk] [always_inline] @_T0s17FlattenCollectionV19underestimatedCountSivg : $@convention(method) <Base where Base : Collection, Base.Element : Collection, Base.Element.SubSequence == Base.Element.SubSequence.SubSequence> (@in_guaranteed FlattenCollection<Base>) -> Int {
                                                                                                                                                               ^

Regards,
—Joe |  | :e-mail: shajrawi@apple.com <mailto:shajrawi@apple.com> | :iphone:(+1) 408-930-5203

···

On Sep 22, 2017, at 19:45, Andrew Trick <atrick@apple.com> wrote:

These look like “same type constraint” errors.
-Andy

On Sep 22, 2017, at 7:39 PM, no-reply@swift.org <mailto:no-reply@swift.org> wrote:

swift/Runtime/Concurrent.h
edit: include/swift/Runtime/MutexPThread.h
edit: stdlib/private/SwiftPrivateLibcExtras/CMakeLists.txt
edit: stdlib/private/SwiftPrivateLibcExtras/Subprocess.swift
edit: lib/Basic/LangOptions.cpp
edit: lib/Basic/TaskQueue.cpp
edit: stdlib/private/SwiftPrivateLibcExtras/Subprocess.c
edit: stdlib/public/Platform/CMakeLists.txt
edit: stdlib/public/runtime/CMakeLists.txt
edit: utils/swift_build_support/swift_build_support/targets.py
edit: stdlib/private/SwiftPrivateLibcExtras/SwiftPrivateLibcExtras.swift
edit: stdlib/private/SwiftPrivatePthreadExtras/CMakeLists.txt
edit: CMakeLists.txt
edit: stdlib/public/runtime/Errors.cpp
edit: stdlib/private/StdlibUnittest/StdlibUnittest.swift.gyb
edit: include/swift/Runtime/Mutex.h
edit: stdlib/public/Platform/TiocConstants.swift
add: stdlib/public/runtime/HaikuPort.cpp
edit: stdlib/private/SwiftPrivatePthreadExtras/SwiftPrivatePthreadExtras.swift
edit: stdlib/public/Platform/glibc.modulemap.gyb
edit: stdlib/public/SwiftShims/LibcShims.h
edit: lib/Basic/Platform.cpp
edit: stdlib/public/stubs/LibcShims.cpp
edit: utils/build-script-impl
edit: stdlib/private/StdlibUnittest/StdlibCoreExtras.swift
edit: lib/Driver/ToolChains.cpp
edit: stdlib/public/Platform/tgmath.swift.gyb
edit: stdlib/private/StdlibUnittest/RaceTest.swift
edit: stdlib/private/StdlibUnittest/CMakeLists.txt
edit: stdlib/public/stubs/Stubs.cpp
edit: cmake/modules/AddSwift.cmake
edit: lib/Driver/Driver.cpp
edit: stdlib/public/Platform/Platform.swift
edit: test/CMakeLists.txt
edit: utils/swift_build_support/swift_build_support/toolchain.py
edit: lib/Basic/Statistic.cpp
edit: stdlib/private/SwiftPrivatePthreadExtras/PthreadBarriers.swift
edit: cmake/modules/FindICU.cmake
edit: stdlib/public/runtime/ImageInspectionELF.cpp
edit: include/swift/Basic/LangOptions.h

This could certainly be me, but it’s not reproducing anywhere else and ci.swift.org is down right now. These are all warnings, which are “fine”; the actual failure was just “Killed” for these tests, which makes me wonder if we timed out somehow.

  - Doug

···

On Sep 22, 2017, at 9:44 PM, Joe Shajrawi <shajrawi@apple.com> wrote:

All the long stdlib parsing tests are failing on all the bots:
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10-long-test/buildbot_incremental/swift-linux-x86_64/validation-test-linux-x86_64/SIL/Output/parse_stdlib_15.sil.tmp.sil:77289:199: warning: redundant same-type constraint 'Base.Element.SubSequence' == 'Base.Element.SubSequence.SubSequence'
sil [serialized] [thunk] [always_inline] @_T0s17FlattenCollectionV19underestimatedCountSivg : $@convention(method) <Base where Base : Collection, Base.Element : Collection, Base.Element.SubSequence == Base.Element.SubSequence.SubSequence> (@in_guaranteed FlattenCollection<Base>) -> Int {
                                                                                                                                                                                                      ^
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10-long-test/buildbot_incremental/swift-linux-x86_64/validation-test-linux-x86_64/SIL/Output/parse_stdlib_15.sil.tmp.sil:77289:160: note: previous same-type constraint 'Base.Element.SubSequence' == 'Base.Element.SubSequence' implied here
sil [serialized] [thunk] [always_inline] @_T0s17FlattenCollectionV19underestimatedCountSivg : $@convention(method) <Base where Base : Collection, Base.Element : Collection, Base.Element.SubSequence == Base.Element.SubSequence.SubSequence> (@in_guaranteed FlattenCollection<Base>) -> Int {
                                                                                                                                                               ^

Regards,
—Joe |  | :e-mail: shajrawi@apple.com <mailto:shajrawi@apple.com> | :iphone:(+1) 408-930-5203

On Sep 22, 2017, at 19:45, Andrew Trick <atrick@apple.com <mailto:atrick@apple.com>> wrote:

These look like “same type constraint” errors.
-Andy

On Sep 22, 2017, at 7:39 PM, no-reply@swift.org <mailto:no-reply@swift.org> wrote:

swift/Runtime/Concurrent.h
edit: include/swift/Runtime/MutexPThread.h
edit: stdlib/private/SwiftPrivateLibcExtras/CMakeLists.txt
edit: stdlib/private/SwiftPrivateLibcExtras/Subprocess.swift
edit: lib/Basic/LangOptions.cpp
edit: lib/Basic/TaskQueue.cpp
edit: stdlib/private/SwiftPrivateLibcExtras/Subprocess.c
edit: stdlib/public/Platform/CMakeLists.txt
edit: stdlib/public/runtime/CMakeLists.txt
edit: utils/swift_build_support/swift_build_support/targets.py
edit: stdlib/private/SwiftPrivateLibcExtras/SwiftPrivateLibcExtras.swift
edit: stdlib/private/SwiftPrivatePthreadExtras/CMakeLists.txt
edit: CMakeLists.txt
edit: stdlib/public/runtime/Errors.cpp
edit: stdlib/private/StdlibUnittest/StdlibUnittest.swift.gyb
edit: include/swift/Runtime/Mutex.h
edit: stdlib/public/Platform/TiocConstants.swift
add: stdlib/public/runtime/HaikuPort.cpp
edit: stdlib/private/SwiftPrivatePthreadExtras/SwiftPrivatePthreadExtras.swift
edit: stdlib/public/Platform/glibc.modulemap.gyb
edit: stdlib/public/SwiftShims/LibcShims.h
edit: lib/Basic/Platform.cpp
edit: stdlib/public/stubs/LibcShims.cpp
edit: utils/build-script-impl
edit: stdlib/private/StdlibUnittest/StdlibCoreExtras.swift
edit: lib/Driver/ToolChains.cpp
edit: stdlib/public/Platform/tgmath.swift.gyb
edit: stdlib/private/StdlibUnittest/RaceTest.swift
edit: stdlib/private/StdlibUnittest/CMakeLists.txt
edit: stdlib/public/stubs/Stubs.cpp
edit: cmake/modules/AddSwift.cmake
edit: lib/Driver/Driver.cpp
edit: stdlib/public/Platform/Platform.swift
edit: test/CMakeLists.txt
edit: utils/swift_build_support/swift_build_support/toolchain.py
edit: lib/Basic/Statistic.cpp
edit: stdlib/private/SwiftPrivatePthreadExtras/PthreadBarriers.swift
edit: cmake/modules/FindICU.cmake
edit: stdlib/public/runtime/ImageInspectionELF.cpp
edit: include/swift/Basic/LangOptions.h

Yeah, that error I saw was really just an @error. But I don’t see any bots that have passed with long tests and don’t see any other commits that would affect the stdlib serialized SIL.

It should reproduce locally with
python /s/s/llvm/utils/lit/lit.py ./validation-test-macosx-x86_64 -v --filter=parse_stdlib_0 --param swift_test_subset=only_long -a

Or maybe just by copying the sil-opt lines

./bin/sil-opt -target x86_64-apple-macosx10.9 -assume-parsing-unqualified-ownership-sil -enable-sil-verify-all=false -sil-disable-ast-dump ./lib/swift/macosx/x86_64/Swift.swiftmodule -module-name=Swift -o parse_stdlib_0.sil.tmp.sil

sil-opt -target x86_64-apple-macosx10.9 -assume-parsing-unqualified-ownership-sil -enable-sil-verify-all=false parse_stdlib_0.sil.tmp.sil -ast-verifier-process-count=17 -ast-verifier-process-id=0

Unfortunately I can’t get to my machine to try it.

-Andy

···

On Sep 22, 2017, at 11:46 PM, Douglas Gregor <dgregor@apple.com> wrote:

This could certainly be me, but it’s not reproducing anywhere else and ci.swift.org <http://ci.swift.org/&gt; is down right now. These are all warnings, which are “fine”; the actual failure was just “Killed” for these tests, which makes me wonder if we timed out somehow.

  - Doug

On Sep 22, 2017, at 9:44 PM, Joe Shajrawi <shajrawi@apple.com <mailto:shajrawi@apple.com>> wrote:

All the long stdlib parsing tests are failing on all the bots:
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10-long-test/buildbot_incremental/swift-linux-x86_64/validation-test-linux-x86_64/SIL/Output/parse_stdlib_15.sil.tmp.sil:77289:199: warning: redundant same-type constraint 'Base.Element.SubSequence' == 'Base.Element.SubSequence.SubSequence'
sil [serialized] [thunk] [always_inline] @_T0s17FlattenCollectionV19underestimatedCountSivg : $@convention(method) <Base where Base : Collection, Base.Element : Collection, Base.Element.SubSequence == Base.Element.SubSequence.SubSequence> (@in_guaranteed FlattenCollection<Base>) -> Int {
                                                                                                                                                                                                      ^
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10-long-test/buildbot_incremental/swift-linux-x86_64/validation-test-linux-x86_64/SIL/Output/parse_stdlib_15.sil.tmp.sil:77289:160: note: previous same-type constraint 'Base.Element.SubSequence' == 'Base.Element.SubSequence' implied here
sil [serialized] [thunk] [always_inline] @_T0s17FlattenCollectionV19underestimatedCountSivg : $@convention(method) <Base where Base : Collection, Base.Element : Collection, Base.Element.SubSequence == Base.Element.SubSequence.SubSequence> (@in_guaranteed FlattenCollection<Base>) -> Int {
                                                                                                                                                               ^

Regards,
—Joe |  | :e-mail: shajrawi@apple.com <mailto:shajrawi@apple.com> | :iphone:(+1) 408-930-5203

On Sep 22, 2017, at 19:45, Andrew Trick <atrick@apple.com <mailto:atrick@apple.com>> wrote:

These look like “same type constraint” errors.
-Andy

On Sep 22, 2017, at 7:39 PM, no-reply@swift.org <mailto:no-reply@swift.org> wrote:

swift/Runtime/Concurrent.h
edit: include/swift/Runtime/MutexPThread.h
edit: stdlib/private/SwiftPrivateLibcExtras/CMakeLists.txt
edit: stdlib/private/SwiftPrivateLibcExtras/Subprocess.swift
edit: lib/Basic/LangOptions.cpp
edit: lib/Basic/TaskQueue.cpp
edit: stdlib/private/SwiftPrivateLibcExtras/Subprocess.c
edit: stdlib/public/Platform/CMakeLists.txt
edit: stdlib/public/runtime/CMakeLists.txt
edit: utils/swift_build_support/swift_build_support/targets.py
edit: stdlib/private/SwiftPrivateLibcExtras/SwiftPrivateLibcExtras.swift
edit: stdlib/private/SwiftPrivatePthreadExtras/CMakeLists.txt
edit: CMakeLists.txt
edit: stdlib/public/runtime/Errors.cpp
edit: stdlib/private/StdlibUnittest/StdlibUnittest.swift.gyb
edit: include/swift/Runtime/Mutex.h
edit: stdlib/public/Platform/TiocConstants.swift
add: stdlib/public/runtime/HaikuPort.cpp
edit: stdlib/private/SwiftPrivatePthreadExtras/SwiftPrivatePthreadExtras.swift
edit: stdlib/public/Platform/glibc.modulemap.gyb
edit: stdlib/public/SwiftShims/LibcShims.h
edit: lib/Basic/Platform.cpp
edit: stdlib/public/stubs/LibcShims.cpp
edit: utils/build-script-impl
edit: stdlib/private/StdlibUnittest/StdlibCoreExtras.swift
edit: lib/Driver/ToolChains.cpp
edit: stdlib/public/Platform/tgmath.swift.gyb
edit: stdlib/private/StdlibUnittest/RaceTest.swift
edit: stdlib/private/StdlibUnittest/CMakeLists.txt
edit: stdlib/public/stubs/Stubs.cpp
edit: cmake/modules/AddSwift.cmake
edit: lib/Driver/Driver.cpp
edit: stdlib/public/Platform/Platform.swift
edit: test/CMakeLists.txt
edit: utils/swift_build_support/swift_build_support/toolchain.py
edit: lib/Basic/Statistic.cpp
edit: stdlib/private/SwiftPrivatePthreadExtras/PthreadBarriers.swift
edit: cmake/modules/FindICU.cmake
edit: stdlib/public/runtime/ImageInspectionELF.cpp
edit: include/swift/Basic/LangOptions.h

Yeah, that error I saw was really just an @error. But I don’t see any bots that have passed with long tests and don’t see any other commits that would affect the stdlib serialized SIL.

It should reproduce locally with
python /s/s/llvm/utils/lit/lit.py ./validation-test-macosx-x86_64 -v --filter=parse_stdlib_0 --param swift_test_subset=only_long -a

I’ve done this on both Mac and Linux—everything passes for me. Will try to match configurations tomorrow.

···

Sent from my iPhone

On Sep 23, 2017, at 12:20 AM, Andrew Trick <atrick@apple.com> wrote:

Or maybe just by copying the sil-opt lines

./bin/sil-opt -target x86_64-apple-macosx10.9 -assume-parsing-unqualified-ownership-sil -enable-sil-verify-all=false -sil-disable-ast-dump ./lib/swift/macosx/x86_64/Swift.swiftmodule -module-name=Swift -o parse_stdlib_0.sil.tmp.sil

sil-opt -target x86_64-apple-macosx10.9 -assume-parsing-unqualified-ownership-sil -enable-sil-verify-all=false parse_stdlib_0.sil.tmp.sil -ast-verifier-process-count=17 -ast-verifier-process-id=0

Unfortunately I can’t get to my machine to try it.

-Andy

On Sep 22, 2017, at 11:46 PM, Douglas Gregor <dgregor@apple.com> wrote:

This could certainly be me, but it’s not reproducing anywhere else and ci.swift.org is down right now. These are all warnings, which are “fine”; the actual failure was just “Killed” for these tests, which makes me wonder if we timed out somehow.

  - Doug

On Sep 22, 2017, at 9:44 PM, Joe Shajrawi <shajrawi@apple.com> wrote:

All the long stdlib parsing tests are failing on all the bots:
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10-long-test/buildbot_incremental/swift-linux-x86_64/validation-test-linux-x86_64/SIL/Output/parse_stdlib_15.sil.tmp.sil:77289:199: warning: redundant same-type constraint 'Base.Element.SubSequence' == 'Base.Element.SubSequence.SubSequence'
sil [serialized] [thunk] [always_inline] @_T0s17FlattenCollectionV19underestimatedCountSivg : $@convention(method) <Base where Base : Collection, Base.Element : Collection, Base.Element.SubSequence == Base.Element.SubSequence.SubSequence> (@in_guaranteed FlattenCollection<Base>) -> Int {
                                                                                                                                                                                                      ^
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10-long-test/buildbot_incremental/swift-linux-x86_64/validation-test-linux-x86_64/SIL/Output/parse_stdlib_15.sil.tmp.sil:77289:160: note: previous same-type constraint 'Base.Element.SubSequence' == 'Base.Element.SubSequence' implied here
sil [serialized] [thunk] [always_inline] @_T0s17FlattenCollectionV19underestimatedCountSivg : $@convention(method) <Base where Base : Collection, Base.Element : Collection, Base.Element.SubSequence == Base.Element.SubSequence.SubSequence> (@in_guaranteed FlattenCollection<Base>) -> Int {
                                                                                                                                                               ^

Regards,
—Joe |  | :e-mail: shajrawi@apple.com | :iphone:(+1) 408-930-5203

On Sep 22, 2017, at 19:45, Andrew Trick <atrick@apple.com> wrote:

These look like “same type constraint” errors.
-Andy

On Sep 22, 2017, at 7:39 PM, no-reply@swift.org wrote:

swift/Runtime/Concurrent.h
edit: include/swift/Runtime/MutexPThread.h
edit: stdlib/private/SwiftPrivateLibcExtras/CMakeLists.txt
edit: stdlib/private/SwiftPrivateLibcExtras/Subprocess.swift
edit: lib/Basic/LangOptions.cpp
edit: lib/Basic/TaskQueue.cpp
edit: stdlib/private/SwiftPrivateLibcExtras/Subprocess.c
edit: stdlib/public/Platform/CMakeLists.txt
edit: stdlib/public/runtime/CMakeLists.txt
edit: utils/swift_build_support/swift_build_support/targets.py
edit: stdlib/private/SwiftPrivateLibcExtras/SwiftPrivateLibcExtras.swift
edit: stdlib/private/SwiftPrivatePthreadExtras/CMakeLists.txt
edit: CMakeLists.txt
edit: stdlib/public/runtime/Errors.cpp
edit: stdlib/private/StdlibUnittest/StdlibUnittest.swift.gyb
edit: include/swift/Runtime/Mutex.h
edit: stdlib/public/Platform/TiocConstants.swift
add: stdlib/public/runtime/HaikuPort.cpp
edit: stdlib/private/SwiftPrivatePthreadExtras/SwiftPrivatePthreadExtras.swift
edit: stdlib/public/Platform/glibc.modulemap.gyb
edit: stdlib/public/SwiftShims/LibcShims.h
edit: lib/Basic/Platform.cpp
edit: stdlib/public/stubs/LibcShims.cpp
edit: utils/build-script-impl
edit: stdlib/private/StdlibUnittest/StdlibCoreExtras.swift
edit: lib/Driver/ToolChains.cpp
edit: stdlib/public/Platform/tgmath.swift.gyb
edit: stdlib/private/StdlibUnittest/RaceTest.swift
edit: stdlib/private/StdlibUnittest/CMakeLists.txt
edit: stdlib/public/stubs/Stubs.cpp
edit: cmake/modules/AddSwift.cmake
edit: lib/Driver/Driver.cpp
edit: stdlib/public/Platform/Platform.swift
edit: test/CMakeLists.txt
edit: utils/swift_build_support/swift_build_support/toolchain.py
edit: lib/Basic/Statistic.cpp
edit: stdlib/private/SwiftPrivatePthreadExtras/PthreadBarriers.swift
edit: cmake/modules/FindICU.cmake
edit: stdlib/public/runtime/ImageInspectionELF.cpp
edit: include/swift/Basic/LangOptions.h