Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-6977

The oak-run process started by UpgradeIT interferes with Surefire

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7.12, 1.8.0
    • segment-tar
    • None

    Description

      Running UpgradeIT produces the following output.

      [INFO] Running org.apache.jackrabbit.oak.segment.upgrade.UpgradeIT
      [WARNING] Corrupted STDOUT by directly writing to native stream in forked JVM 1. See FAQ web page and the dump file C:\Users\Francesco\src\svn\oak\trunk\oak-segment-tar\target\failsafe-reports\2017-11-23T01-34-55_578-jvmRun1.dumpstream
      [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 27.772 s - in org.apache.jackrabbit.oak.segment.upgrade.UpgradeIT
      

      According to SUREFIRE-1359, SUREFIRE-1410, and the Maven Surefire Plugin FAQ, this is caused by the oak-run processes spawned by the test. In particular, the error is due to those processes being forked with their stdout/stdin inherited from the parent process.

      Attachments

        Activity

          People

            frm Francesco Mari
            frm Francesco Mari
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: