Comments (7)
Here is my preferred fix: #5393
from dafny.
Actually looks like a legit regression since it failed on retry as well: https://github.com/dafny-lang/dafny/actions/runs/8910687756/job/24474173302#step:22:412
from dafny.
It passed on the third try. The problem was that a timeout was expected after 1 second, but occurred after 6 seconds. This is the only test that has the timeout hardcoded in this way. The relevant function has its timelimit set to 1 second, so it is unclear to me why it can fail after 6 seconds. I'll close the issue as the immediate problem is resolved and suggest we reopen and perhaps ignore that function if this particular test throws an error again.
from dafny.
Thanks for unblocking the nightly build @stefan-aws. Reopening this as we want to track flaky tests in general and drive them down, though. This one seems very likely to recur to me given it failed on 2 out of 3 attempts.
from dafny.
Looks like a bug in the implementation, not in the tests.
from dafny.
Possibly a race condition in the multiple mechanisms for timing out in the pipeline?
I removed one of them so I think it's only Boogie handling the timeout now.
from dafny.
I think I changed the time out reporting so that it reports the actual amount of seconds the run took, instead of the configured time, and that makes this test unstable. Note that the current code has a bug anyways because it calls TimeSpan.Seconds
instead of TimeSpan.TotalSeconds
.
Here's a PR that lets it report the configured time out instead of the actual time taken: #5392
Alternatively, we can change the test so it redacts the line on which it is currently failing, so it won't be unstable
from dafny.
Related Issues (20)
- Dafny language server does not clean up z3 child processes HOT 3
- Missing autocut step from some downstream customer nightly tests
- `fresh` doesn't imply inequality with `--general-traits=datatype` HOT 4
- Flaky test failure: Microsoft.Dafny.LanguageServer.IntegrationTest.ProjectFiles.StandardLibrary.EditWhenUsingStandardLibrary HOT 4
- Type checking sometimes doesn't terminate when using `--type-system-refresh` HOT 1
- Unstable test NoExtraThreadAfterEachChange HOT 2
- TEST ISSUE PLEASE IGNORE
- Support (!new) on trait HOT 1
- Flaky test failure: dafny0/snapshots/Snapshots9.run.legacy.dfy HOT 2
- [PRERELEASE REGRESSION] Dafny prerelease regression from smithy-lang/smithy-dafny HOT 1
- Clean up gomodule tests to not check in generated content
- [PRERELEASE REGRESSION] Dafny prerelease regression from smithy-lang/smithy-dafny HOT 1
- [PRERELEASE REGRESSION] Dafny prerelease regression from smithy-lang/smithy-dafny HOT 1
- non-non-non-optional semicolons give horrible error messages - LOW SEVERITY HOT 3
- forall statement and expression syntax gratuitously inconsistent -> horrible error messages LOW SEVERITY HOT 4
- internal error on match with static const of newtype HOT 2
- Add `dafny migrate` to support migration and reduce backwards compatibility requirements HOT 2
- [PRERELEASE REGRESSION] Dafny prerelease regression from smithy-lang/smithy-dafny HOT 2
- --warn-missing-constructor-parentheses doesn't warn when missing constructor arguments
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dafny.