Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-55215

Log from cmake/ctest steps isn't fully captured on OsX

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • cmakebuilder-plugin
    • Jenkins 2.150.1
      CMake plugin 2.6.0
      Pipeline 2.6
      macOS 10.13.6
      Remoting version: 3.27

      After some updates I've noticed that console isn't showing full log for cmake build and ctest run steps.

      "try {
      ...
      cmakeBuild buildDir: ..., cmakeArgs: cmake_params, generator: 'Xcode', installation: '(default)', sourceDir: source_dir, steps: [[args: '--config '+BuildConfiguration+' -- -j 4 -quiet', withCmake: true]]
      if (RunTests.toBoolean())

      { ctest arguments: '-C '+BuildConfiguration+' --output-on-failure', installation: '(default)', workingDir: ... }

      } finally {
      sh 'umount ${WORKSPACE}/mnt/ThirdParties || true'
      }"

      I'm attaching examples. In one case there were failing unittests, but 'sh' step is shown in the middle of ctest log. In other cases with successful unittests log is missing last steps and some additional info from ctest.

        1. log_race3.png
          log_race3.png
          5 kB
        2. log_race2.png
          log_race2.png
          6 kB
        3. log_race.png
          log_race.png
          8 kB

            Unassigned Unassigned
            nekto Marian Klymov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: