Skip to content

Account for core dumps on CI machines #196

Description

@evanlucas

Related: nodejs/node#2776

This above PR verifies that the --abort-on-uncaught-exception flag works properly. If core dumps are enabled, this could begin filling up space quickly. Another option would be to change the location of core dumps to be inside the repo as they would be git cleaned on the next run.

For now, the PR put the test into test/abort and the test will not be run on the CI servers until we can get this sorted out per IRC.

/cc @orangemocha @trevnorris

Activity

  1. misterdjules commented on Sep 15, 2016

    @misterdjules
    Contributor

    I think that tests that are currently testing the --abort-on-uncaught-exception command line option don't use the core file that is produced as the result of the process aborting. Thus, disabling core file generation on the system on which the tests run is enough to not fill up space.

    This is already done in most tests of --abort-on-uncaught-exception by using ulimit -c 0 on anything except Windows.

    Moreover, I think core dump are not generated when a process aborts on Windows unless explicitly enabled, so we should be already OK on that platform.

    Thus, I think test/abort/test-abort-uncaught-exception.js could implement the same mechanism and be moved to a folder that contains tests that are run by the CI platform.

  2. gibfahn commented on Sep 15, 2016

    @gibfahn
    Member

    @misterdjules I think you are correct regarding windows not dumping with --abort-on-uncaught-exception, when I last checked it was impossible to enable coredumps without using an external tool (see nodejs/node#7733).

  3. Trott commented on May 23, 2018

    @Trott
    Member

    Is this still an issue? Or can it be closed?

  4. maclover7 commented on May 24, 2018

    @maclover7
    Contributor

    Seems to be a stale issue, closing for now. Please reopen if this is still needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions