[GHC] #16285: Hadrian fails to run the testsuite.
#16285: Hadrian fails to run the testsuite. -------------------------------------+------------------------------------- Reporter: AndreasK | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.6.3 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- This is on windows with a tree based on the commit below. {{{ commit a5373c1f (master) Author: Simon Peyton Jones <simonpj@microsoft.com> Date: Wed Jan 16 16:34:24 2019 +0000 Fix bogus worker for newtypes }}} Output as follows. {{{ $ hadrian/build.bat -c -j8 --flavour=quick test Up to date Up to date hadrian: Encountered missing dependencies: libiserv ==8.7 shakeArgsWith 0.001s 0% Function shake 0.010s 0% Database read 0.516s 13% === Database compression 0.074s 1% With database 0.018s 0% Running rules 3.280s 84% ========================= Total 3.900s 100% Error when running Shake build system: at src/Main.hs:58:30-42: * Depends on: test at src/Rules/Test.hs:90:5-17: * Depends on: _build/stage1/lib/bin/ghc-iserv.exe at src/Development/Shake/Internal/Rules/Oracle.hs:157:43-68: * Depends on: OracleQ (ContextDataKey (Context {stage = Stage1, package = Package {pkgType = Program, pkgName = "iserv", pkgPath = "utils/iserv"}, way = v})) at src/Hadrian/Haskell/Cabal/Parse.hs:202:5-36: * Depends on: _build/stage1/utils/iserv/setup-config * Raised the exception: ExitFailure 1 }}} Regular build with hadrian works. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/16285> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#16285: Hadrian fails to run the testsuite. -------------------------------------+------------------------------------- Reporter: AndreasK | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Build System | Version: 8.6.3 (Hadrian) | Resolution: | Keywords: Operating System: Windows | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by AndreasK): * os: Unknown/Multiple => Windows * component: Compiler => Build System (Hadrian) -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/16285#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#16285: Hadrian fails to run the testsuite. -------------------------------------+------------------------------------- Reporter: AndreasK | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Build System | Version: 8.6.3 (Hadrian) | Resolution: | Keywords: Operating System: Windows | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by alpmestan): * cc: alpmestan (added) -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/16285#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#16285: Hadrian fails to run the testsuite. -------------------------------------+------------------------------------- Reporter: AndreasK | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Build System | Version: 8.6.3 (Hadrian) | Resolution: | Keywords: Operating System: Windows | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by AndreasK): Verbose output: https://www.irccloud.com/pastebin/rWn7WMsx/ -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/16285#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#16285: Hadrian fails to run the testsuite. -------------------------------------+------------------------------------- Reporter: AndreasK | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Build System | Version: 8.6.3 (Hadrian) | Resolution: | Keywords: Operating System: Windows | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by alpmestan): * cc: snowleopard (added) Comment: Andrey, any idea of what's going on here? -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/16285#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#16285: Hadrian fails to run the testsuite. -------------------------------------+------------------------------------- Reporter: AndreasK | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Build System | Version: 8.6.3 (Hadrian) | Resolution: | Keywords: Operating System: Windows | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by snowleopard): Alp, thanks for tagging me! As far as I understand, `iserv` is not supported on Windows, so when running the testsuite on Windows, we shouldn't depend on it and skip all associated tests. I guess, this line may be relevant: https://gitlab.haskell.org/ghc/ghc/blob/aad05fb3b36b93b919622f8a6dc032109d04... Andreas: perhaps, you could try making `iserv` conditional, as for example, here: https://gitlab.haskell.org/ghc/ghc/blob/aad05fb3b36b93b919622f8a6dc032109d04... Does this help? -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/16285#comment:5> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#16285: Hadrian fails to run the testsuite. -------------------------------------+------------------------------------- Reporter: AndreasK | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Build System | Version: 8.6.3 (Hadrian) | Resolution: | Keywords: Operating System: Windows | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by alpmestan): Great, thanks for replying Andrey. Note that this `stage<N>Packages` & `testsuitePackages` split has been bothering me a fair bit recently for WIP patches that I have, and it should all probably be revisited, but one thing at a time. :-) -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/16285#comment:6> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC