Code Monkey home page Code Monkey logo

Comments (7)

keyboardDrummer avatar keyboardDrummer commented on July 17, 2024 1

Here is my preferred fix: #5393

from dafny.

robin-aws avatar robin-aws commented on July 17, 2024

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.

stefan-aws avatar stefan-aws commented on July 17, 2024

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.

robin-aws avatar robin-aws commented on July 17, 2024

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.

keyboardDrummer avatar keyboardDrummer commented on July 17, 2024

Looks like a bug in the implementation, not in the tests.

from dafny.

keyboardDrummer avatar keyboardDrummer commented on July 17, 2024

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.

keyboardDrummer avatar keyboardDrummer commented on July 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.