Skip to content

hls-eval-plugin test error in ubuntu related with interactive linking #2253

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

Closed
jneira opened this issue Oct 4, 2021 · 7 comments
Closed
Labels
CI Continuous integration component: hls-eval-plugin type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..

Comments

@jneira
Copy link
Member

jneira commented Oct 4, 2021

  • there had been two builds failing in the eval plugin with:
Evaluation of expressions:                                                                          FAIL (1.55s)
    Test output was different from 'test/testdata/T1.expected.hs'. Output of ["git","-c","core.fileMode=false","diff","--no-index","--text","--exit-code","test/testdata/T1.expected.hs","/tmp/T1.expected84426-112.actual"]:
    diff --git a/test/testdata/T1.expected.hs b/tmp/T1.expected84426-112.actual
    index 622b9c1..8053d04 100644
    --- a/test/testdata/T1.expected.hs
    +++ b/tmp/T1.expected84426-112.actual
    @@ -3,6 +3,16 @@ module T1 where
     import Data.List (unwords)
     
     -- >>> unwords example
    --- "This is an example of evaluation"
    +-- <BLANKLINE>
    +-- ByteCodeLink.lookupCE
    +-- During interactive linking, GHCi couldn't find the following symbol:
    +--   interactive_Ghci1_evalPrint_closure
    +-- This may be due to you not asking GHCi to load extra object files,
    +-- archives or DLLs needed by your current session.  Restart GHCi, specifying
    +-- the missing library using the -L/path/to/object/dir and -lmissinglibname
    +-- flags, or simply by naming the relevant files on the GHCi command line.
    +-- Alternatively, this link failure might indicate a bug in GHCi.
    +-- If you suspect the latter, please send a bug report to:
    +--   [email protected]
     example :: [String]
     example = ["This","is","an","example","of","eva<truncated>
    Use --accept or increase --size-cutoff to see full output.
    Use -p '$0=="eval.Evaluation of expressions"' to rerun this test only.

for ghc-8.8.4

Maybe related with the recent update of github vms: https://github.com/actions/virtual-environments/releases/tag/ubuntu18%2F20210929.1

Haskell
    Cabal 3.6.0.0
    GHCup 0.1.17.1

Worths try updating the cache?

@jneira jneira added CI Continuous integration os: linux type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc.. labels Oct 4, 2021
@jneira jneira changed the title hls-eval-plugin test error in ubuntu hls-eval-plugin test error in ubuntu related with interactive linking Oct 4, 2021
@jneira
Copy link
Member Author

jneira commented Oct 4, 2021

@jneira
Copy link
Member Author

jneira commented Oct 4, 2021

@jneira
Copy link
Member Author

jneira commented Oct 4, 2021

The failing test was reported by @maralorn for nix here: #610
It seems in that case the error was transient, i wonder if it is cache related

@jneira
Copy link
Member Author

jneira commented Oct 5, 2021

Some pr's has hit the issue and other has not. It seems the pr's which trigger the error are the ones updating the cabal project index state and invalidating the cache (or bringing a new dependency triggering the error as @georgefst suggested). Pr's affected:

@jneira
Copy link
Member Author

jneira commented Oct 5, 2021

works

@jneira
Copy link
Member Author

jneira commented Oct 6, 2021

Well the error was transient, as noted by @maralorn in #610, dont know he root cause, to investigate

@jneira
Copy link
Member Author

jneira commented Jan 31, 2022

No time to investigate until it arises again

@jneira jneira closed this as completed Jan 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous integration component: hls-eval-plugin type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..
Projects
None yet
Development

No branches or pull requests

1 participant