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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Fixed
    • 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

    Description

      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.
      

      Attachments

        Issue Links

          Activity

            flabrie Francis Labrie created issue -
            flabrie Francis Labrie made changes -
            Field Original Value New Value
            Description 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. }}
            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}
            flabrie Francis Labrie made changes -
            Link This issue is duplicated by JENKINS-62038 [ JENKINS-62038 ]
            flabrie Francis Labrie made changes -
            Assignee Kazuhide Takahashi [ kazuhidet ]
            markewaite Mark Waite made changes -
            Epic Link JENKINS-68446 [ 215257 ]
            markewaite Mark Waite made changes -
            Link This issue relates to JENKINS-62038 [ JENKINS-62038 ]
            markewaite Mark Waite made changes -
            Link This issue relates to JENKINS-62038 [ JENKINS-62038 ]
            flabrie Francis Labrie made changes -
            Attachment Xcode-PlugIn-Test-App.zip [ 58014 ]
            flabrie 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} ]
            markewaite Mark Waite made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            markewaite Mark Waite made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            markewaite Mark Waite made changes -
            Remote Link This issue links to "PR 113 with the fix (Web Link)" [ 27752 ]
            alecharp Adrien Lecharpentier made changes -
            Resolution Fixed [ 1 ]
            Status In Review [ 10005 ] Fixed but Unreleased [ 10203 ]
            markewaite Mark Waite made changes -
            Released As 2.0.17-565.v1c48051d46ef
            Status Fixed but Unreleased [ 10203 ] Closed [ 6 ]

            People

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

              Dates

                Created:
                Updated:
                Resolved: