https://bugzilla.wikimedia.org/show_bug.cgi?id=62787

            Bug ID: 62787
           Summary: hhvm Jenkins job fill up /tmp with stacktraces files
           Product: Wikimedia
           Version: wmf-deployment
          Hardware: All
                OS: All
            Status: NEW
          Keywords: hiphop
          Severity: normal
          Priority: Unprioritized
         Component: Continuous integration
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: has...@free.fr
                CC: g...@wikimedia.org, has...@free.fr,
                    innocentkil...@gmail.com, krinklem...@gmail.com
       Web browser: ---
   Mobile Platform: ---

The Jenkins job running MediaWiki core unit tests under hhvm produces files
such as /tmp/stacktrace\d+.log which are filling out /tmp on the Jenkins
slaves.


Looking at hhvm source code, the path can apparently be configured with
CoreDumpReportDirectory. It should probably be set to the current working
directory.


$ git grep --before-context 1  stacktrace.*\.log
hphp/doc/debug.server-
hphp/doc/debug.server:Normally a crash generates /tmp/stacktrace.<pid>.log file
that has stacktrace
--
hphp/runtime/base/crash-reporter.cpp-  char
tracefn[RuntimeOption::CoreDumpReportDirectory.length()
hphp/runtime/base/crash-reporter.cpp:               +
strlen("/stacktrace..log") + strlen(pid) + 1];
hphp/runtime/base/crash-reporter.cpp:  sprintf(tracefn, "%s/stacktrace.%s.log",
--
hphp/util/stack-trace.h-  /**
hphp/util/stack-trace.h:   * Add extra information to log together with a crash
stacktrace log.
$

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to