• Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • robot-plugin
    • None
    • Windows 11

      At end of a run the RF logfiles are copied. The resuld is such:

      The RF is version 7.0, and selenium is the newest.

       
      00:03:29.830 Robot results publisher started...00:03:29.832 -Parsing output xml:00:03:29.905 Done!00:03:29.906 -Copying log files to build dir:00:03:37.823 Done!00:03:37.823 -Assigning results to build:00:03:37.823 ERROR: Build step failed with exception*00:03:37.824* java.lang.NullPointerException: Cannot invoke "String.length()" because "text" is null*00:03:37.824* at java.base/java.text.SimpleDateFormat.parse(SimpleDateFormat.java:1474)00:03:37.824 at java.base/java.text.DateFormat.parse(DateFormat.java:397)00:03:37.824 at hudson.plugins.robot.model.RobotCaseResult.timeDifference(RobotCaseResult.java:68)00:03:37.824 at hudson.plugins.robot.model.RobotCaseResult.getDuration(RobotCaseResult.java:117)00:03:37.824 at hudson.plugins.robot.model.RobotSuiteResult.tally(RobotSuiteResult.java:405)00:03:37.824 at hudson.plugins.robot.model.RobotResult.tally(RobotResult.java:422)00:03:37.824 at hudson.plugins.robot.RobotBuildAction.setResult(RobotBuildAction.java:124)00:03:37.824 at hudson.plugins.robot.RobotBuildAction.<init>(RobotBuildAction.java:95)00:03:37.824 at hudson.plugins.robot.RobotPublisher.perform(RobotPublisher.java:299)00:03:37.824 at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:80)00:03:37.824 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)00:03:37.824 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:818)00:03:37.824 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:767)00:03:37.824 at hudson.model.Build$BuildExecution.post2(Build.java:179)00:03:37.824 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:711)00:03:37.824 at hudson.model.Run.execute(Run.java:1918)00:03:37.824 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44)00:03:37.824 at hudson.model.ResourceController.execute(ResourceController.java:101)00:03:37.824 at hudson.model.Executor.run(Executor.java:442)00:03:37.824 Build step 'Publish Robot Framework test results' marked build as failure*00:03:37.911* Finished: FAILURE

      And the whole run is then designated as failure independently what was the result of the run.

          [JENKINS-72565] Robot Framework logfile copy problem

          Gyorgy created issue -
          Gyorgy made changes -
          Description Original: At end of a run the RF logfiles are copied. The resuld is such:

           
          *00:03:29.830* Robot results publisher started...*00:03:29.832* -Parsing output xml:*00:03:29.905* Done!*00:03:29.906* -Copying log files to build dir:*00:03:37.823* Done!*00:03:37.823* -Assigning results to build:*00:03:37.823* ERROR: Build step failed with exception*00:03:37.824* java.lang.NullPointerException: Cannot invoke "String.length()" because "text" is null*00:03:37.824* at java.base/java.text.SimpleDateFormat.parse(SimpleDateFormat.java:1474)*00:03:37.824* at java.base/java.text.DateFormat.parse(DateFormat.java:397)*00:03:37.824* at hudson.plugins.robot.model.RobotCaseResult.timeDifference(RobotCaseResult.java:68)*00:03:37.824* at hudson.plugins.robot.model.RobotCaseResult.getDuration(RobotCaseResult.java:117)*00:03:37.824* at hudson.plugins.robot.model.RobotSuiteResult.tally(RobotSuiteResult.java:405)*00:03:37.824* at hudson.plugins.robot.model.RobotResult.tally(RobotResult.java:422)*00:03:37.824* at hudson.plugins.robot.RobotBuildAction.setResult(RobotBuildAction.java:124)*00:03:37.824* at hudson.plugins.robot.RobotBuildAction.<init>(RobotBuildAction.java:95)*00:03:37.824* at hudson.plugins.robot.RobotPublisher.perform(RobotPublisher.java:299)*00:03:37.824* at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:80)*00:03:37.824* at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)*00:03:37.824* at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:818)*00:03:37.824* at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:767)*00:03:37.824* at hudson.model.Build$BuildExecution.post2(Build.java:179)*00:03:37.824* at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:711)*00:03:37.824* at hudson.model.Run.execute(Run.java:1918)*00:03:37.824* at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44)*00:03:37.824* at hudson.model.ResourceController.execute(ResourceController.java:101)*00:03:37.824* at hudson.model.Executor.run(Executor.java:442)*00:03:37.824* Build step 'Publish Robot Framework test results' marked build as failure*00:03:37.911* Finished: FAILURE

          And the whole run is then designated as failure independently what was the result of the run.
          New: At end of a run the RF logfiles are copied. The resuld is such:

          The RF is version 7.0, and selenium is the newest.

           
          *00:03:29.830* Robot results publisher started...{*}00:03:29.832{*} -Parsing output xml:{*}00:03:29.905{*} Done!{*}00:03:29.906{*} -Copying log files to build dir:{*}00:03:37.823{*} Done!{*}00:03:37.823{*} -Assigning results to build:{*}00:03:37.823{*} ERROR: Build step failed with exception*00:03:37.824* java.lang.NullPointerException: Cannot invoke "String.length()" because "text" is null*00:03:37.824* at java.base/java.text.SimpleDateFormat.parse(SimpleDateFormat.java:1474){*}00:03:37.824{*} at java.base/java.text.DateFormat.parse(DateFormat.java:397){*}00:03:37.824{*} at hudson.plugins.robot.model.RobotCaseResult.timeDifference(RobotCaseResult.java:68){*}00:03:37.824{*} at hudson.plugins.robot.model.RobotCaseResult.getDuration(RobotCaseResult.java:117){*}00:03:37.824{*} at hudson.plugins.robot.model.RobotSuiteResult.tally(RobotSuiteResult.java:405){*}00:03:37.824{*} at hudson.plugins.robot.model.RobotResult.tally(RobotResult.java:422){*}00:03:37.824{*} at hudson.plugins.robot.RobotBuildAction.setResult(RobotBuildAction.java:124){*}00:03:37.824{*} at hudson.plugins.robot.RobotBuildAction.<init>(RobotBuildAction.java:95){*}00:03:37.824{*} at hudson.plugins.robot.RobotPublisher.perform(RobotPublisher.java:299){*}00:03:37.824{*} at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:80){*}00:03:37.824{*} at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20){*}00:03:37.824{*} at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:818){*}00:03:37.824{*} at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:767){*}00:03:37.824{*} at hudson.model.Build$BuildExecution.post2(Build.java:179){*}00:03:37.824{*} at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:711){*}00:03:37.824{*} at hudson.model.Run.execute(Run.java:1918){*}00:03:37.824{*} at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44){*}00:03:37.824{*} at hudson.model.ResourceController.execute(ResourceController.java:101){*}00:03:37.824{*} at hudson.model.Executor.run(Executor.java:442){*}00:03:37.824{*} Build step 'Publish Robot Framework test results' marked build as failure*00:03:37.911* Finished: FAILURE

          And the whole run is then designated as failure independently what was the result of the run.

          Aleksi Simell added a comment -

          The plugin doesn't support Robot Framework 7.0 just yet. There is already an open ticket about that: JENKINS-72562 and an open pull request to add support for Robot Framework 7.0: https://github.com/jenkinsci/robot-plugin/pull/64. Closing this as duplicate.

          Aleksi Simell added a comment - The plugin doesn't support Robot Framework 7.0 just yet. There is already an open ticket about that: JENKINS-72562 and an open pull request to add support for Robot Framework 7.0: https://github.com/jenkinsci/robot-plugin/pull/64 . Closing this as duplicate.
          Aleksi Simell made changes -
          Link New: This issue blocks JENKINS-72562 [ JENKINS-72562 ]
          Aleksi Simell made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

            aleksisimell Aleksi Simell
            gyurik Gyorgy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: