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

Xcode Plugin fails to generate unit test report on macOS Catalina: JAXB-API issue

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • xcode-plugin
    • None
    • Jenkins 2.280
      Xcode-Plugin 2.0.14
      Xcode 12.4, Build version 12D4e
      macOS 10.15.7 Catalina
      java openjdk version "11.0.9" 2020-10-20
    • 2.0.17-565.v1c48051d46ef

      When I execute unit test in Xcode job, the test runs correctly, but the report generator fails to create the xml:

      Test Case '-[FooTests testBundle]' passed (0.001 seconds). Test Suite 'FooTests' passed at 2021-02-22 11:07:56.161.FATAL: Implementation of JAXB-API has not been found on module path or classpath.
      

          [JENKINS-64917] Xcode Plugin fails to generate unit test report on macOS Catalina: JAXB-API issue

          Mark Waite added a comment -

          Mark Waite added a comment - Build of the plugin with the proposed fix can be downloaded from https://repo.jenkins-ci.org/incrementals/org/jenkins-ci/plugins/xcode-plugin/2.0.16-rc561.606f7470d78f/xcode-plugin-2.0.16-rc561.606f7470d78f.hpi

          Wow! It works, thank you so much!

          Francis Labrie added a comment - Wow! It works, thank you so much!

          Paul Jacobs added a comment -

          It worked for me also.  I can't think you enough for fixing the issue!!!

          Paul Jacobs added a comment - It worked for me also.  I can't think you enough for fixing the issue!!!

          Mark Waite added a comment -

          kazuhidet are you able to review the proposed change, merge it, and release it, or would you rather that someone else adopts the plugin, merges it, and releases it?

          Mark Waite added a comment - kazuhidet are you able to review the proposed change, merge it, and release it, or would you rather that someone else adopts the plugin, merges it, and releases it?

          markewaite I'm sorry, I'm busy with work now and I couldn't maintain it in time.
          We will work to release this fix as soon as possible.
          Maybe we can release it on the weekends.

          Kazuhide Takahashi added a comment - markewaite I'm sorry, I'm busy with work now and I couldn't maintain it in time. We will work to release this fix as soon as possible. Maybe we can release it on the weekends.

          Basil Crow added a comment -

          kazuhidet Thank you for your reply. I highly appreciate your diligence in maintaining this plugin. As a gentle reminder, we are planning on requiring Java 11 in the Jenkins weekly release line as of June 21, 2022. Ideally, we would be able to release this plugin prior to that date to ensure a smooth experience for users of the weekly release line.

          Basil Crow added a comment - kazuhidet  Thank you for your reply. I highly appreciate your diligence in maintaining this plugin. As a gentle reminder, we are planning on requiring Java 11 in the Jenkins weekly release line as of June 21, 2022. Ideally, we would be able to release this plugin prior to that date to ensure a smooth experience for users of the weekly release line.

          Basil Crow added a comment -

          To be clear, it looks like an attempt to perform a release was made in https://github.com/jenkinsci/xcode-plugin/releases/tag/xcode-plugin-2.0.16 but there is no 2.0.16 release visible on the Plugin Site or on Artifactory:

          Kazuhide, let us know if you need assistance with resetting your credentials to perform a release.

          Basil Crow added a comment - To be clear, it looks like an attempt to perform a release was made in https://github.com/jenkinsci/xcode-plugin/releases/tag/xcode-plugin-2.0.16 but there is no 2.0.16 release visible on the Plugin Site or on Artifactory: https://plugins.jenkins.io/xcode-plugin/ https://repo.jenkins-ci.org/artifactory/releases/org/jenkins-ci/plugins/xcode-plugin/ Kazuhide, let us know if you need assistance with resetting your credentials to perform a release.

          Basil Crow added a comment -

          Hi kazuhidet, 2.0.16 has still not been released to the Update Center. Were you able to reset your credentials and perform a release? Let us know if we can help. To reset your credentials: https://accounts.jenkins.io/ For documentation: https://www.jenkins.io/doc/developer/publishing/releasing-manually/

          Basil Crow added a comment - Hi kazuhidet , 2.0.16 has still not been released to the Update Center. Were you able to reset your credentials and perform a release? Let us know if we can help. To reset your credentials: https://accounts.jenkins.io/ For documentation: https://www.jenkins.io/doc/developer/publishing/releasing-manually/

          basil Thank you for your advice.
          The plugin release system still had the old manual release mechanism, and there was an error in credential authentication, so I updated this to the new automatic release mechanism.
          From now on, if someone approves the PR, the immediate release should be triggered.

          Kazuhide Takahashi added a comment - basil Thank you for your advice. The plugin release system still had the old manual release mechanism, and there was an error in credential authentication, so I updated this to the new automatic release mechanism. From now on, if someone approves the PR, the immediate release should be triggered.

          Mark Waite added a comment - - edited

          Mark Waite added a comment - - edited https://github.com/jenkins-infra/repository-permissions-updater/pull/2560 has been merged to enable continuous delivery and https://github.com/jenkinsci/xcode-plugin/releases/tag/2.0.17-565.v1c48051d46ef has been released. Thanks very much!

            kazuhidet Kazuhide Takahashi
            flabrie Francis Labrie
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: