Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-13021] Flaky AutoDiff tests on Linux: "Bus error (core dumped)" #55466

Open
dan-zheng opened this issue Jun 15, 2020 · 0 comments
Open

[SR-13021] Flaky AutoDiff tests on Linux: "Bus error (core dumped)" #55466

dan-zheng opened this issue Jun 15, 2020 · 0 comments
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself

Comments

@dan-zheng
Copy link
Collaborator

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.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself
Projects
None yet
Development

No branches or pull requests

1 participant