Open
Description
Previous ID | SR-13021 |
Radar | None |
Original Reporter | @dan-zheng |
Type | Bug |
Additional Detail from JIRA
Votes | 0 |
Component/s | Compiler |
Labels | Bug |
Assignee | None |
Priority | Medium |
md5: 0798650a0cc204bcff960afbbf668fb6
is blocked by:
- SR-14088 Re-enable SIL verification for
differentiable_function
and SIL diff witnesses
relates to:
- TF-1312 Ubuntu 16 Regression: sr12886-sr112887-vjp-emitter-definite-initialization.swift Crashes the Linker
Issue Description:
Some AutoDiff tests occasionally flake on Linux:
12:26:01 ******************** TEST 'Swift(linux-x86_64) :: AutoDiff/compiler_crashers_fixed/sr12493-differentiable-function-extract-subst-function-type.swift' FAILED ********************
12:26:01 Script:
12:26:01 --
12:26:01 : 'RUN: at line 1'; /home/buildnode/jenkins/workspace/swift-PR-Linux/branch-master/buildbot_linux/swift-linux-x86_64/bin/swiftc -target x86_64-unknown-linux-gnu -toolchain-stdlib-rpath -module-cache-path '/home/buildnode/jenkins/workspace/swift-PR-Linux/branch-master/buildbot_linux/swift-linux-x86_64/swift-test-results/x86_64-unknown-linux-gnu/clang-module-cache' -swift-version 4 -Xfrontend -ignore-module-source-info -O /home/buildnode/jenkins/workspace/swift-PR-Linux/branch-master/swift/test/AutoDiff/compiler_crashers_fixed/sr12493-differentiable-function-extract-subst-function-type.swift
12:26:01 --
12:26:01 Exit Code: 254
12:26:01
12:26:01 Command Output (stderr):
12:26:01 --
12:26:01
clang-10: error: unable to execute command: Bus error (core dumped)
12:26:01 clang-10: error: linker command failed due to signal (use -v to see invocation)
12:26:01 <unknown>:0: error: link command failed with exit code 254 (use -v to see invocation)
12:26:01
12:26:01 --
12:26:01
12:26:01 ********************
More context: #30817 (comment)
Affected tests:
The RUN lines of flaky tests were simple:
-
%target-build-swift -O %s
-
%target-build-swift -g %s
This issue tracks fixing the flakiness and re-enabling the tests.