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

Failures not copied when path contains whitespaces

      The scan-build step fails to write to paths that contain spaces.

      From the build log:

      EXECUTING COMMAND:[/Volumes/Overmind HD/Jenkins/checker-264/scan-build, -k, -v, -v, -o, /Volumes/Overmind HD/Jenkins/Home/jobs/Project Example-Develop/workspace/clangScanBuildReports, xcodebuild, -target, ProjectExample, -configuration, Debug, -sdk, iphonesimulator, clean, build]
      [workspace] $ "/Volumes/Overmind HD/Jenkins/checker-264/scan-build" -k -v -v -o "/Volumes/Overmind HD/Jenkins/Home/jobs/Project Example-Develop/workspace/clangScanBuildReports" xcodebuild -target ProjectExample -configuration Debug -sdk iphonesimulator clean build
      scan-build: Emitting reports for this run to '/Volumes/Overmind HD/Jenkins/Home/jobs/Project Example-Develop/workspace/clangScanBuildReports/2012-05-23-1'.
      (...)
      scan-build: 0 bugs found.
      scan-build: The analyzer encountered problems on some source files.
      scan-build: Preprocessed versions of these sources were deposited in '/Volumes/Overmind HD/Jenkins/Home/jobs/Project Example-Develop/workspace/clangScanBuildReports/2012-05-23-1/failures'.
      scan-build: Please consider submitting a bug report using these files:
      scan-build:   http://clang-analyzer.llvm.org/filing_bugs.html
      

      Checking /Volumes after the build there is a file named "Overmind" containing various scan-build path error related messages, as in:

      usage: uname [-amnprsv]
      Apple clang version 3.1 (tags/Apple/clang-318.0.58) (based on LLVM 3.1svn)
      Target: x86_64-apple-darwin11.4.0
      Thread model: posix
      clang: error: no such file or directory: 'HD/Jenkins/Home/jobs/Project'
      clang: error: no such file or directory: 'Example-Develop/workspace/clangScanBuildReports/2012-05-23-1/failures/clang_other_error_khPht3.mi.info.txt'
      (...)
      

          [JENKINS-13885] Failures not copied when path contains whitespaces

          Paul Eipper created issue -
          Paul Eipper made changes -
          Description Original: The scan-build step fails to write to paths that contain spaces:

          {code}
          EXECUTING COMMAND:[/Volumes/Overmind HD/Jenkins/checker-264/scan-build, -k, -v, -v, -o, /Volumes/Overmind HD/Jenkins/Home/jobs/Project Example-Develop/workspace/clangScanBuildReports, xcodebuild, -target, ProjectExample, -configuration, Debug, -sdk, iphonesimulator, clean, build]
          [workspace] $ "/Volumes/Overmind HD/Jenkins/checker-264/scan-build" -k -v -v -o "/Volumes/Overmind HD/Jenkins/Home/jobs/Project Example-Develop/workspace/clangScanBuildReports" xcodebuild -target ProjectExample -configuration Debug -sdk iphonesimulator clean build
          scan-build: Emitting reports for this run to '/Volumes/Overmind HD/Jenkins/Home/jobs/Project Example-Develop/workspace/clangScanBuildReports/2012-05-23-1'.

          (...)

          scan-build: 0 bugs found.
          scan-build: The analyzer encountered problems on some source files.
          scan-build: Preprocessed versions of these sources were deposited in '/Volumes/Overmind HD/Jenkins/Home/jobs/Project Example-Develop/workspace/clangScanBuildReports/2012-05-23-1/failures'.
          scan-build: Please consider submitting a bug report using these files:
          scan-build: http://clang-analyzer.llvm.org/filing_bugs.html
          {code}

          Checking /Volumes after the build there is an file named "Overmind" containing various scan-build path error related messages, as in:

          {code}
          usage: uname [-amnprsv]
          Apple clang version 3.1 (tags/Apple/clang-318.0.58) (based on LLVM 3.1svn)
          Target: x86_64-apple-darwin11.4.0
          Thread model: posix
          clang: error: no such file or directory: 'HD/Jenkins/Home/jobs/Project'
          clang: error: no such file or directory: 'Example-Develop/workspace/clangScanBuildReports/2012-05-23-1/failures/clang_other_error_khPht3.mi.info.txt'
          (...)
          {code}
          New: The scan-build step fails to write to paths that contain spaces.

          From the build log:
          {noformat}
          EXECUTING COMMAND:[/Volumes/Overmind HD/Jenkins/checker-264/scan-build, -k, -v, -v, -o, /Volumes/Overmind HD/Jenkins/Home/jobs/Project Example-Develop/workspace/clangScanBuildReports, xcodebuild, -target, ProjectExample, -configuration, Debug, -sdk, iphonesimulator, clean, build]
          [workspace] $ "/Volumes/Overmind HD/Jenkins/checker-264/scan-build" -k -v -v -o "/Volumes/Overmind HD/Jenkins/Home/jobs/Project Example-Develop/workspace/clangScanBuildReports" xcodebuild -target ProjectExample -configuration Debug -sdk iphonesimulator clean build
          scan-build: Emitting reports for this run to '/Volumes/Overmind HD/Jenkins/Home/jobs/Project Example-Develop/workspace/clangScanBuildReports/2012-05-23-1'.
          (...)
          scan-build: 0 bugs found.
          scan-build: The analyzer encountered problems on some source files.
          scan-build: Preprocessed versions of these sources were deposited in '/Volumes/Overmind HD/Jenkins/Home/jobs/Project Example-Develop/workspace/clangScanBuildReports/2012-05-23-1/failures'.
          scan-build: Please consider submitting a bug report using these files:
          scan-build: http://clang-analyzer.llvm.org/filing_bugs.html
          {noformat}



          Checking /Volumes after the build there is a file named "Overmind" containing various scan-build path error related messages, as in:

          {noformat}
          usage: uname [-amnprsv]
          Apple clang version 3.1 (tags/Apple/clang-318.0.58) (based on LLVM 3.1svn)
          Target: x86_64-apple-darwin11.4.0
          Thread model: posix
          clang: error: no such file or directory: 'HD/Jenkins/Home/jobs/Project'
          clang: error: no such file or directory: 'Example-Develop/workspace/clangScanBuildReports/2012-05-23-1/failures/clang_other_error_khPht3.mi.info.txt'
          (...)
          {noformat}
          Craig Rodrigues made changes -
          Resolution New: Cannot Reproduce [ 5 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Craig Rodrigues made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 144353 ] New: JNJira + In-Review [ 205877 ]

            jkennedy1980 Josh Kennedy
            lkraider Paul Eipper
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: