[GHC] #11569: make -j24 test
#11569: make -j24 test ----------------------------------+-------------------------- Reporter: mfox | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Test Suite | Version: 8.1 Keywords: | Operating System: Linux Architecture: aarch64 | Type of failure: Other Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: ----------------------------------+-------------------------- My computer is slow but has many cores. I find several hundred tests fail "bad stderr" when I set the environment variable: {{{ export MAKEFLAGS=-j24 make test }}} I'll update with the list of failing tests in a few hours when I'm done running the testsuite serially. But one is T3307. It even fails when run by itself like: {{{ export MAKEFLAGS=-j24 make test TESTS="T3307" }}} But otherwise passes if {{{ unset MAKEFLAGS make test TESTS="T3307" }}} Building version 99cb627a45afacde5f86799671c53baf81daee41 -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11569> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#11569: make -j24 test -------------------------------+------------------------------- Reporter: mfox | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Test Suite | Version: 8.1 Resolution: | Keywords: Operating System: Linux | Architecture: aarch64 Type of failure: Other | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------+------------------------------- Comment (by thomie): Use `make THREADS=24` instead. See [wiki:Building/RunningTests]. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11569#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#11569: make -j24 test -------------------------------+------------------------------- Reporter: mfox | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Test Suite | Version: 8.1 Resolution: invalid | Keywords: Operating System: Linux | Architecture: aarch64 Type of failure: Other | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------+------------------------------- Changes (by thomie): * status: new => closed * resolution: => invalid -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11569#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#11569: make -j24 test -------------------------------+------------------------------- Reporter: mfox | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Test Suite | Version: 8.1 Resolution: invalid | Keywords: Operating System: Linux | Architecture: aarch64 Type of failure: Other | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------+------------------------------- Comment (by mfox): Hey, whoever closed my ticket. This isn't just about making tests. This is an environment variable I keep set for efficiency on slow but massively parallel build machine. Why should the tests fail with this flag? They should be cool. And so should you. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11569#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#11569: make -j24 test -------------------------------+------------------------------- Reporter: mfox | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Test Suite | Version: 8.1 Resolution: | Keywords: Operating System: Linux | Architecture: aarch64 Type of failure: Other | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------+------------------------------- Changes (by thomie): * status: closed => new * resolution: invalid => -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11569#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#11569: make -j24 test -------------------------------+------------------------------- Reporter: mfox | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Test Suite | Version: 8.1 Resolution: | Keywords: Operating System: Linux | Architecture: aarch64 Type of failure: Other | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------+------------------------------- Comment (by rwbarton): The failure for T3307 is due to this warning printed by the `make` run by the test: {{{ make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. }}} I suggest just unsetting `MAKEFLAGS` in `mk/test.mk`. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11569#comment:5> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#11569: make -j24 test -------------------------------+------------------------------- Reporter: mfox | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Test Suite | Version: 8.1 Resolution: | Keywords: Operating System: Linux | Architecture: aarch64 Type of failure: Other | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------+------------------------------- Comment (by Thomas Miedema <thomasmiedema@…>): In [changeset:"9634e24519981c32b9c2a6570898b87aa9111405/ghc" 9634e24/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="9634e24519981c32b9c2a6570898b87aa9111405" unexport MAKEFLAGS when running tests (#11569) }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11569#comment:6> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#11569: make -j24 test -------------------------------+------------------------------- Reporter: mfox | Owner: Type: bug | Status: closed Priority: normal | Milestone: 8.2.1 Component: Test Suite | Version: 8.1 Resolution: fixed | Keywords: Operating System: Linux | Architecture: aarch64 Type of failure: Other | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------+------------------------------- Changes (by thomie): * status: new => closed * resolution: => fixed * milestone: => 8.2.1 Comment: Ok, that should fix it, but please reopen if it is still not working correctly. And sorry for misunderstanding the problem at first. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11569#comment:7> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#11569: make -j24 test -------------------------------+------------------------------- Reporter: mfox | Owner: Type: bug | Status: closed Priority: normal | Milestone: 8.2.1 Component: Test Suite | Version: 8.1 Resolution: fixed | Keywords: Operating System: Linux | Architecture: aarch64 Type of failure: Other | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------+------------------------------- Comment (by Thomas Miedema <thomasmiedema@…>): In [changeset:"6e691cacd6484b02df72f3e46a1d2ed0779a3107/ghc" 6e691cac/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="6e691cacd6484b02df72f3e46a1d2ed0779a3107" Testsuite: pass '-s --no-print-directory' to MAKE This seems necessary after 9634e24 (#11569). }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11569#comment:8> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#11569: make -j24 test -------------------------------+------------------------------- Reporter: mfox | Owner: Type: bug | Status: closed Priority: normal | Milestone: 8.2.1 Component: Test Suite | Version: 8.1 Resolution: fixed | Keywords: Operating System: Linux | Architecture: aarch64 Type of failure: Other | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------+------------------------------- Comment (by Thomas Miedema <thomasmiedema@…>): In [changeset:"a3e0e9365e4f195d5dad9389955869744f2cdba9/ghc" a3e0e936/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="a3e0e9365e4f195d5dad9389955869744f2cdba9" Testsuite: MAKEFLAGS is magic, do not unexport it Call `+$(PYTHON) ...` to fix #11569 instead. See Note [Communicating options and variables to a submake]. }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11569#comment:9> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC