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

          Francis Labrie created issue -
          Francis Labrie made changes -
          Description Original: 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 '}}{{Foo}}{{Tests' passed at 2021-02-22 11:07:56.161.FATAL: Implementation of JAXB-API has not been found on module path or classpath. }}
          New: When I execute unit test in Xcode job, the test runs correctly, but the report generator fails to create the xml:

          {code}
          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.
          {code}
          Francis Labrie made changes -
          Link New: This issue is duplicated by JENKINS-62038 [ JENKINS-62038 ]
          Francis Labrie made changes -
          Assignee New: Kazuhide Takahashi [ kazuhidet ]
          Mark Waite made changes -
          Epic Link New: JENKINS-68446 [ 215257 ]
          Mark Waite made changes -
          Link New: This issue relates to JENKINS-62038 [ JENKINS-62038 ]
          Mark Waite made changes -
          Link Original: This issue relates to JENKINS-62038 [ JENKINS-62038 ]
          Francis Labrie made changes -
          Attachment New: Xcode-PlugIn-Test-App.zip [ 58014 ]
          Francis Labrie made changes -
          Comment [ Wrong binary, I need to reinstall the plugin, please ignore.

          -I’ve installed the latest proposed fix. I’m glad, there are progresses: I can see the test cases in the log. But unfortunately, the XML reports are still empty, and I get this message:-

          -_{color:#de350b}FATAL: Implementation of JAXB-API has not been found on module path or classpath.{color}_-
          {code:java}
          Test Case '-[Xcode_PlugIn_Test_AppUITests.Xcode_PlugIn_Test_AppUITests testLaunchPerformance]' started.
              t = 0.00s Start Test at 2022-05-11 08:26:18.362
              t = 0.03s Set Up
              t = 0.03s Open io.jenkins.Xcode-PlugIn-Test-App
              t = 0.07s Launch io.jenkins.Xcode-PlugIn-Test-App
              t = 0.07s Terminate io.jenkins.Xcode-PlugIn-Test-App:10152
              t = 1.38s Setting up automation session
              t = 1.38s Wait for io.jenkins.Xcode-PlugIn-Test-App to idle
              t = 12.53s Open io.jenkins.Xcode-PlugIn-Test-App
              t = 12.54s Launch io.jenkins.Xcode-PlugIn-Test-App
              t = 12.54s Terminate io.jenkins.Xcode-PlugIn-Test-App:10153
              t = 13.85s Setting up automation session
              t = 13.87s Wait for io.jenkins.Xcode-PlugIn-Test-App to idle
              t = 24.96s Open io.jenkins.Xcode-PlugIn-Test-App
              t = 24.99s Launch io.jenkins.Xcode-PlugIn-Test-App
              t = 24.99s Terminate io.jenkins.Xcode-PlugIn-Test-App:10166
              t = 26.27s Setting up automation session
              t = 26.29s Wait for io.jenkins.Xcode-PlugIn-Test-App to idle
              t = 37.39s Open io.jenkins.Xcode-PlugIn-Test-App
              t = 37.41s Launch io.jenkins.Xcode-PlugIn-Test-App
              t = 37.41s Terminate io.jenkins.Xcode-PlugIn-Test-App:10172
              t = 38.73s Setting up automation session
              t = 38.76s Wait for io.jenkins.Xcode-PlugIn-Test-App to idle
              t = 49.85s Open io.jenkins.Xcode-PlugIn-Test-App
              t = 49.87s Launch io.jenkins.Xcode-PlugIn-Test-App
              t = 49.87s Terminate io.jenkins.Xcode-PlugIn-Test-App:10177
              t = 51.17s Setting up automation session
              t = 51.18s Wait for io.jenkins.Xcode-PlugIn-Test-App to idle
              t = 62.27s Open io.jenkins.Xcode-PlugIn-Test-App
              t = 62.29s Launch io.jenkins.Xcode-PlugIn-Test-App
              t = 62.29s Terminate io.jenkins.Xcode-PlugIn-Test-App:10181
              t = 63.60s Setting up automation session
              t = 63.62s Wait for io.jenkins.Xcode-PlugIn-Test-App to idle
          /Users/flabrie/.jenkins/workspace/Expérimentation/iOS Application Xcode PlugIn Test/Xcode-PlugIn-Test-App/Xcode-PlugIn-Test-AppUITests/Xcode_PlugIn_Test_AppUITests.swift:36: Test Case '-[Xcode_PlugIn_Test_AppUITests.Xcode_PlugIn_Test_AppUITests testLaunchPerformance]' measured [Duration (AppLaunch), s] average: 0.226, relative standard deviation: 3.625%, values: [0.230946, 0.217407, 0.238716, 0.218110, 0.222379], performanceMetricID:com.apple.dt.XCTMetric_ApplicationLaunch-AppLaunch.duration, baselineName: "", baselineAverage: , polarity: prefers smaller, maxPercentRegression: 10.000%, maxPercentRelativeStandardDeviation: 10.000%, maxRegression: 0.000, maxStandardDeviation: 0.000
              t = 74.72s Tear Down
          Test Case '-[Xcode_PlugIn_Test_AppUITests.Xcode_PlugIn_Test_AppUITests testLaunchPerformance]' passed (74.935 seconds).
          Test Suite 'Xcode_PlugIn_Test_AppUITests' passed at 2022-05-11 08:27:33.298.FATAL: Implementation of JAXB-API has not been found on module path or classpath.
          Enregistrement des résultats des tests
          {code} ]
          Mark Waite made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Mark Waite made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]

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

              Created:
              Updated:
              Resolved: