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

xcode build fails when using NodeLabel plugin with FAILURE in /Library/Caches/com.apple.xbs/Sources/DVTFrameworks/DVTFrameworks-10179/DVTFoundation/MacroExpansion/DVTMacroDefinitionConditionSet.mm:154

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Blocker because xcode ios builds cannot be run when the NodeLabel plugin is used in the job.

      We were able to isolate the issue to the use of the NodeLabel plugin and were baffled that this plugin could have this side effect. We are using a standard xcode build running on a MacPro connected to our jenkins master.

      This is what we see in the console:

      xcodebuild[6784:2033931] [MT] DVTAssertions: ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/DVTFrameworks/DVTFrameworks-10179/DVTFoundation/MacroExpansion/DVTMacroDefinitionConditionSet.mm:154
      15:54:41 Details: stringRep should be a non-empty string, but it's an empty string
      15:54:41 Object: <DVTMacroDefinitionConditionSet>
      15:54:41 Method: +conditionSetFromStringRepresentation:getBaseMacroName:error:
      15:54:41 Thread: <NSThread: 0x7ff783514cd0>

      {number = 1, name = main}

      15:54:41 Hints: None
      15:54:41 Backtrace:
      15:54:41 0 -[DVTAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in DVTFoundation)
      15:54:41 1 _DVTAssertionHandler (in DVTFoundation)
      15:54:41 2 _DVTAssertionFailureHandler (in DVTFoundation)

        Attachments

          Activity

          Hide
          imod Dominik Bartholdi added a comment -

          that stacktrace does not contain a single line of jenkins code, therefore I can not say anything about the root cause.

          • how did you isolate the problem to say its a problem of this nodelabel plugin?
          • what do you change to make the build work?
          • what about the logs before and after this stacktrace?
          • what other plugins are used in the build?
          • what plugin version?
          • what jenkins version?
          • how do you trigger xcode? (CLI? Plugin?)
          • ...
          Show
          imod Dominik Bartholdi added a comment - that stacktrace does not contain a single line of jenkins code, therefore I can not say anything about the root cause. how did you isolate the problem to say its a problem of this nodelabel plugin? what do you change to make the build work? what about the logs before and after this stacktrace? what other plugins are used in the build? what plugin version? what jenkins version? how do you trigger xcode? (CLI? Plugin?) ...
          Hide
          imod Dominik Bartholdi added a comment -

          closing because of missing feedback...

          Show
          imod Dominik Bartholdi added a comment - closing because of missing feedback...
          Hide
          mike_goldenrat M Douglas added a comment -

          For what it's worth, I'm seeing this bug as well. The only workaround I've found is to remove the node selection and force the build on to a particular node.

          Show
          mike_goldenrat M Douglas added a comment - For what it's worth, I'm seeing this bug as well. The only workaround I've found is to remove the node selection and force the build on to a particular node.

            People

            Assignee:
            domi Dominik Bartholdi
            Reporter:
            dirk_hain Dirk Hain
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: