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

standalone/FileTest crashes when running multiple tests #657

Closed
ghost opened this issue Dec 1, 2011 · 3 comments
Closed

standalone/FileTest crashes when running multiple tests #657

ghost opened this issue Dec 1, 2011 · 3 comments
Assignees
Labels
area-test Cross-cutting test issues (use area- labels for specific failures; not used for package:test).

Comments

@ghost
Copy link

ghost commented Dec 1, 2011

Running tests with --mode=all crashes standalone/FileTest because two binaries (release and debug) are accessing the same file ("tests/vm/data/fixed_length_file_out_truncate"). The crash has been confirmed on Mac OS X. The solution is probably to to use a unique name.

=== debugia32 vm standalone/FileTest ===
Path: standalone/FileTest
Unhandled exception:
Expect.fail('testTruncate: No errors expected')
 0. Function: 'Expect._fail@127eafe4' url: 'bootstrap' line:1078 col:5
 1. Function: 'Expect.fail' url: 'bootstrap' line:893 col:10
 2. Function: 'FileTest.function' url: '/sources/dall/dart/tests/standalone/src/FileTest.dart' line:335 col:18
 3. Function: '[email protected]' url: 'dart:builtin' line:1271 col:22
 4. Function: '[email protected]' url: 'dart:builtin' line:1122 col:15
 5. Function: 'ReceivePortSingleShotImpl.function' url: 'bootstrap_impl' line:1728 col:15
 6. Function: 'ReceivePortImpl._handleMessage@924b4b8' url: 'bootstrap_impl' line:1707 col:22
Command: xcodebuild/Debug_ia32/dart --ignore-unrecognized-flags /sources/dall/dart/tests/standalone/src/FileTest.dart

@DartBot
Copy link

DartBot commented Dec 1, 2011

This comment was originally written by [email protected]


Added Area-Test, Triaged labels.

@whesse
Copy link
Contributor

whesse commented Dec 2, 2011

Fixing this by placing the modified files in a temporary directory, which is guaranteed to be not shared.


cc @madsager.
cc @sgjesse.
Set owner to @whesse.
Added Accepted label.

@whesse
Copy link
Contributor

whesse commented Dec 2, 2011

Fixed in r2020.


Added Fixed label.

@ghost ghost added Type-Defect area-test Cross-cutting test issues (use area- labels for specific failures; not used for package:test). labels Dec 2, 2011
@ghost ghost assigned whesse Dec 2, 2011
copybara-service bot pushed a commit that referenced this issue Jun 8, 2022
…ions)

https://dart.googlesource.com/protobuf/+log/b149f801cf7a..408f69b98b2d

2022-06-08 [email protected] Update documentation according to Effective Dart documentation guide (#664)
2022-06-02 [email protected] Move closures in proto3 deserializer to top-level (#668)
2022-06-02 [email protected] Refactor protobuf bench runners, update README: (#665)
2022-06-02 [email protected] Benchmarks: add proto3 ser/deser benchs, move common code to common.dart (#667)
2022-06-02 [email protected] Remove makeLongInt helper (#666)
2022-05-31 [email protected] Use `-O4` when compiling benchmarks. (#552)
2022-05-25 [email protected] Remove invalid check in `_FieldSet.writeFieldValue` (#660)
2022-05-20 [email protected] Refactor file locations, update READMEs (#657)
2022-05-19 [email protected] Remove trailing whitespace in protoc_plugin/README

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/dart-protobuf-dart-sdk
Please CC [email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Dart Protobuf Support: https://github.com/dart-lang/protobuf/issues
To file a bug in Dart SDK: https://github.com/dart-lang/sdk/issues

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Tbr: [email protected]
Change-Id: I0f1aa66ee6fe167f37443957234f4d0140828416
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/247467
Reviewed-by: Devon Carew <[email protected]>
Commit-Queue: Devon Carew <[email protected]>
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-test Cross-cutting test issues (use area- labels for specific failures; not used for package:test).
Projects
None yet
Development

No branches or pull requests

2 participants