[GHC] #14706: T11489 fails if run as root

#14706: T11489 fails if run as root -------------------------------------+------------------------------------- Reporter: bgamari | Owner: bgamari Type: bug | Status: new Priority: normal | Milestone: Component: Continuous | Version: 8.5 Integration | 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: -------------------------------------+------------------------------------- The testcase `T11489` tests for #11489 by creating a `.prof` file, removing its write bit, and trying to run a program with profiling enabled. Usually the program would fail with an error message as the RTS can't open the `.prof` file for writing. However, when run as `root` the test succeeds. "What madman would compile GHC as `root`?" you ask? Well, CircleCI runs builds as `root` by default. It seems like running builds under Docker is one way around this, although this seems like a pretty large hammer just to eliminate a single test failure. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14706 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14706: T11489 fails if run as root -------------------------------------+------------------------------------- Reporter: bgamari | Owner: dfeuer Type: bug | Status: new Priority: normal | Milestone: Component: Continuous | Version: 8.5 Integration | Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * owner: bgamari => dfeuer -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14706#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14706: T11489 fails if run as root -------------------------------------+------------------------------------- Reporter: bgamari | Owner: dfeuer Type: bug | Status: patch Priority: normal | Milestone: 8.6.1 Component: Continuous | Version: 8.5 Integration | Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D4360 Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: new => patch * differential: => Phab:D4360 * milestone: => 8.6.1 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14706#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14706: T11489 fails if run as root -------------------------------------+------------------------------------- Reporter: bgamari | Owner: bgamari Type: bug | Status: patch Priority: normal | Milestone: 8.6.1 Component: Continuous | Version: 8.5 Integration | Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D4360 Wiki Page: | -------------------------------------+------------------------------------- Changes (by dfeuer): * owner: dfeuer => bgamari -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14706#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14706: T11489 fails if run as root -------------------------------------+------------------------------------- Reporter: bgamari | Owner: mrkkrp Type: bug | Status: patch Priority: normal | Milestone: 8.6.1 Component: Continuous | Version: 8.5 Integration | Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D4360 Wiki Page: | -------------------------------------+------------------------------------- Changes (by mrkkrp): * owner: bgamari => mrkkrp -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14706#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14706: T11489 fails if run as root -------------------------------------+------------------------------------- Reporter: bgamari | Owner: mrkkrp Type: bug | Status: patch Priority: normal | Milestone: 8.6.1 Component: Continuous | Version: 8.5 Integration | Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D4360 Wiki Page: | -------------------------------------+------------------------------------- Changes (by facundo.dominguez): * cc: facundo.dominguez (added) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14706#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14706: T11489 fails if run as root -------------------------------------+------------------------------------- Reporter: bgamari | Owner: mrkkrp Type: bug | Status: closed Priority: normal | Milestone: 8.6.1 Component: Continuous | Version: 8.5 Integration | Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D4360 Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: patch => closed * resolution: => fixed Comment: This is resolved as we now run the CI jobs under Docker. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14706#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC