Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4,859
    • Issues 4,859
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 454
    • Merge requests 454
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #15587
Closed
Open
Created Aug 31, 2018 by Ömer Sinan Ağacan@osa1Maintainer

traceEvent tests failing in slow validate

traceEvent tests are failing in slow validate when testing in GHCi way:

=====> traceEvent(ghci) 1 of 2 [0, 0, 0]
cd "rts/traceEvent.run" && "/home/omer/haskell/ghc/inplace/test   spaces/ghc-stage2" traceEvent.hs -dcore-lint -dcmm-lint -no-user-package-db -rtsopts -fno-warn-missed-specialisations -fshow-warning-groups -fdiagnostics-color=never -fno-diagnostics-show-caret -dno-debug-output  --interactive -v0 -ignore-dot-ghci -fno-ghci-history +RTS -I0.1 -RTS -eventlog< traceEvent.genscript
Actual stderr output differs from expected:
diff -uw "rts/traceEvent.run/traceEvent.stderr.normalised" "rts/traceEvent.run/traceEvent.run.stderr.normalised"
--- rts/traceEvent.run/traceEvent.stderr.normalised     2018-08-31 12:48:13.548375420 +0300
+++ rts/traceEvent.run/traceEvent.run.stderr.normalised 2018-08-31 12:48:13.548375420 +0300
@@ -1 +0,0 @@
-traceEvent: Event size exceeds EVENT_PAYLOAD_SIZE_MAX, bail out
*** unexpected failure for traceEvent(ghci)
=====> traceBinaryEvent(ghci) 2 of 2 [0, 1, 0]
cd "rts/traceBinaryEvent.run" && "/home/omer/haskell/ghc/inplace/test   spaces/ghc-stage2" traceBinaryEvent.hs -dcore-lint -dcmm-lint -no-user-package-db -rtsopts -fno-warn-missed-specialisations -fshow-warning-groups -fdiagnostics-color=never -fno-diagnostics-show-caret -dno-debug-output  --interactive -v0 -ignore-dot-ghci -fno-ghci-history +RTS -I0.1 -RTS -eventlog< traceBinaryEvent.genscript
Actual stderr output differs from expected:
diff -uw "rts/traceBinaryEvent.run/traceBinaryEvent.stderr.normalised" "rts/traceBinaryEvent.run/traceBinaryEvent.run.stderr.normalised"
--- rts/traceBinaryEvent.run/traceBinaryEvent.stderr.normalised 2018-08-31 12:48:13.712373185 +0300
+++ rts/traceBinaryEvent.run/traceBinaryEvent.run.stderr.normalised     2018-08-31 12:48:13.712373185 +0300
@@ -1 +0,0 @@
-traceBinaryEvent: Event size exceeds EVENT_PAYLOAD_SIZE_MAX, bail out
*** unexpected failure for traceBinaryEvent(ghci)

Unexpected results from:
TEST="traceBinaryEvent traceEvent"

I think GHCi doesn't generate eventlogs so there's no way to make these pass. I submitted D5119 to skip these tests in GHCi way.

Trac metadata
Trac field Value
Version 8.5
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Test Suite
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking