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

False positive for LLVM/Clang

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • warnings-plugin
    • None
    • Jenkins 2.46.2

      01 Copying the source file '2018-02-12 01' from the workspace to the build folder '258888bd.tmp' on the Jenkins master failed.
      02 Seems that the path is relative, however an absolute path is required when copying the sources.
      03 Is the file '2018-02-12 01' contained more than once in your workspace?
      04 Is the file '2018-02-12 01' a valid filename?
      05 If you are building on a slave: please check if the file is accessible under '$JENKINS_HOME/[job-name]/2018-02-12 01'
      06 If you are building on the master: please check if the file is accessible under '$JENKINS_HOME/[job-name]/workspace/2018-02-12 01'

       

      Follow up for https://wiki.jenkins.io/display/JENKINS/Warnings+Plugin?focusedCommentId=138446333&refresh=1515495766539#app-switcher

       

      The part of the log which is producing the issue is this:

      Test Case '-[AuthenticationTests test_mockError]' started.
      2018-02-12 01:40:47.179785+0100 App[94246:19282931] ERROR: Error Domain=mockError Code=12345 "(null)" (-[ServerConnection getInitialSessionWithToken:success:error:handleResponse:tryCount:]_block_invoke in ServerConnection.m:911)
      Test Case '-[AuthenticationTests test_mockError]' passed (0.004 seconds).

      This is printed during our test run, where we in debug mode print the function with 

      __PRETTY_FUNCTION__
      

      As soon as the function has something named `error:` it generates a false positive, it does not matter whether error is last part of the function or not (e.g. `[QueryManager refreshFeaturesWithSuccess:error:]` generates an error as well.

       

      Seems somehow related to -JENKINS-36817-

            drulli Ulli Hafner
            nef10 Steffen Kötte
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: