Giter Club home page Giter Club logo

Comments (2)

dhess avatar dhess commented on June 22, 2024

Also this one:


Tests
--
  | EvalFullInterp
  | two interp agree:                                   FAIL (11.74s)
  | ✗ two interp agree failed at test/Tests/EvalFullInterp.hs:467:60
  | after 725 tests, 5 shrinks and 623 discards.
  | shrink path: 725/623:cA2cJ
  | both terminated         99% ███████████████████▉
  | one failed to terminate  0% ····················
  |  
  | ┏━━ test/Tests/Eval/Utils.hs ━━━
  | 51 ┃ genDirTm :: PropertyT WT (Dir, Expr, Type' () ())
  | 52 ┃ genDirTm = do
  | 53 ┃   dir <- forAllT $ Gen.element @[] [Chk, Syn]
  | ┃   │ Chk
  | 54 ┃   (t', ty) <- case dir of
  | 55 ┃     Chk -> do
  | 56 ┃       ty' <- forAllT $ genWTType $ KType ()
  | ┃       │ TApp () (TEmptyHole ()) (TEmptyHole ())
  | 57 ┃       t' <- forAllT $ genChk ty'
  | ┃       │ Letrec
  | ┃       │   ()
  | ┃       │   LocalName { unLocalName = "y" }
  | ┃       │   (EmptyHole ())
  | ┃       │   (TEmptyHole ())
  | ┃       │   (Let
  | ┃       │      ()
  | ┃       │      LocalName { unLocalName = "y" }
  | ┃       │      (EmptyHole ())
  | ┃       │      (Hole
  | ┃       │         ()
  | ┃       │         (Case
  | ┃       │            ()
  | ┃       │            (Ann
  | ┃       │               ()
  | ┃       │               (EmptyHole ())
  | ┃       │               (TCon
  | ┃       │                  ()
  | ┃       │                  GlobalName
  | ┃       │                    { qualifiedModule =
  | ┃       │                        ModuleName { unModuleName = "Primitives" :\| [] }
  | ┃       │                    , baseName = "Char"
  | ┃       │                    }))
  | ┃       │            []
  | ┃       │            (CaseFallback
  | ┃       │               (Var
  | ┃       │                  ()
  | ┃       │                  (GlobalVarRef
  | ┃       │                     GlobalName
  | ┃       │                       { qualifiedModule = ModuleName { unModuleName = "M" :\| [] }
  | ┃       │                       , baseName = "idChar"
  | ┃       │                       }))))))
  | 58 ┃       pure (t', ty')
  | 59 ┃     Syn -> forAllT genSyn
  | 60 ┃   t <- generateIDs t'
  | 61 ┃   pure (dir, t, ty)
  |  
  | ┏━━ test/Tests/EvalFullInterp.hs ━━━
  | 454 ┃ tasty_two_interp_agree :: Property
  | 455 ┃ tasty_two_interp_agree = withTests 1000
  | 456 ┃   $ withDiscards 2000
  | 457 ┃   $ propertyWT testModules
  | 458 ┃   $ do
  | 459 ┃     let globs = foldMap' moduleDefsQualified $ create' $ sequence testModules
  | 460 ┃     tds <- asks typeDefs
  | 461 ┃     (dir, t, _ty) <- genDirTm
  | 462 ┃     let optsV = ViewRedexOptions{groupedLets = True, aggressiveElision = True, avoidShadowing = False}
  | 463 ┃     let optsR = RunRedexOptions{pushAndElide = True}
  | 464 ┃     (_, ss) <- failWhenSevereLogs $ evalFullStepCount @EvalLog UnderBinders optsV optsR tds globs 100 dir t
  | 465 ┃     si <- liftIO (evalFullTest' (MicroSec 10_000) tds globs dir $ forgetMetadata t)
  | 466 ┃     case (ss, si) of
  | 467 ┃       (Right ss', Right si') -> label "both terminated" >> Hedgehog.diff (forgetMetadata ss') alphaEq si'
  | ┃       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  | ┃       │ ━━━ Failed (- lhs) (+ rhs) ━━━
  | ┃       │   Hole
  | ┃       │     ()
  | ┃       │ -   Ann
  | ┃       │ -     ()
  | ┃       │ -     (Lam
  | ┃       │ -        ()
  | ┃       │ -        LocalName { unLocalName = "x" }
  | ┃       │ -        (Var () (LocalVarRef LocalName { unLocalName = "x" })))
  | ┃       │ -     (TFun
  | ┃       │ -        ()
  | ┃       │ -        (TCon
  | ┃       │ -           ()
  | ┃       │ -           GlobalName
  | ┃       │ -             { qualifiedModule =
  | ┃       │ -                 ModuleName { unModuleName = "Primitives" :\| [] }
  | ┃       │ -             , baseName = "Char"
  | ┃       │ -             })
  | ┃       │ -        (TCon
  | ┃       │ -           ()
  | ┃       │ -           GlobalName
  | ┃       │ -             { qualifiedModule =
  | ┃       │ -                 ModuleName { unModuleName = "Primitives" :\| [] }
  | ┃       │ -             , baseName = "Char"
  | ┃       │ -             }))
  | ┃       │ +   Lam
  | ┃       │ +     ()
  | ┃       │ +     LocalName { unLocalName = "x" }
  | ┃       │ +     (Var () (LocalVarRef LocalName { unLocalName = "x" }))
  | 468 ┃       _ -> label "one failed to terminate"
  |  
  | This failure can be reproduced by running:
  | > recheckAt (Seed 267242377111036614 4435999987528114339) "725/623:cA2cJ" two interp agree
  |  
  | Use "--pattern '$NF ~ /two interp agree/' --hedgehog-replay '725/623:cA2cJ Seed 267242377111036614 4435999987528114339'" to reproduce from the command-line.
  |  
  | Use -p '/two interp agree/' to rerun this test only.
  |  
  | 1 out of 862 tests failed (91.94s)


Ref:

Logs: primer-ci_build_65_linux-x86-64-linux-primer-test-primer-test-0-dot-7-2-dot-0-check.log

from primer.

dhess avatar dhess commented on June 22, 2024

Another:

https://buildkite.com/hackworthltd/primer-ci/builds/113#018fdaf9-1d16-4455-b88a-aac16645e4ff/16-33

             This failure can be reproduced by running:
              > recheckAt (Seed 12448919876317083484 8517633342112724275) "88/249:cDeYbA2" multiple requests accepted
          Use "--pattern '$NF ~ /multiple requests accepted/' --hedgehog-replay '88/249:cDeYbA2 Seed 12448919876317083484 8517633342112724275'" to reproduce from the command-line.

from primer.

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.