You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What Operating System are you using (both controller, and any agents involved in the problem)?
Amazon Linux 2.
Reproduction steps
A free style Jenkins job using Cucumber reports plugin, while processing 90+ test results intermittently fails with this error
[CucumberReport] Using Cucumber Reports version 5.5.0
[CucumberReport] JSON report directory is "target/project/target/surefire-reports/"
[CucumberReport] Copied 59 json files from workspace "/WORKSPACE/target/project/target/surefire-reports" to reports directory "/var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache"
[CucumberReport] Copied 0 properties files from workspace "/WORKSPACE/target/project/target/surefire-reports" to reports directory "/var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache"
[CucumberReport] Processing 59 json files:
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.activity.activityTest.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.assignment.create.assignWhenEngagementOver.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.assignment.create.duplicateAssignment.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.assignment.create.duplicateAssignmentWithDiffeRole.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.assignment.delete.unassignExpert.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.assignment.swap.swapWithDiffRole.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.assignment.swap.swapWithIdempotence.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.assignment.swap.swapWithNewAssignments.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.assignment.update.updateAssignmentStatus.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.bulk.bulkTest.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.engagement.close.badCloseReason.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.engagement.close.closeStartedUnassignedEngagement.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.engagement.close.closeUnstartedEngagement.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.engagement.close.closeWithReasonCLOSED.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.engagement.close.closeWithReasonREVOKED.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.engagement.create.createEngagementTwiceDifYears.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.engagement.create.createEngagementTwiceDupes.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.engagement.create.createEngagementTwiceOneClosed.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.engagement.create.createEngagementWithAccountId.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.engagement.list.getEngagementsForExpert.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.engagement.list.getEngagementsForTaxPayer.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.engagement.search.searchEngagementBadId.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.engagement.update.badEngagementStatusUpdate.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.engagement.update.updateEngagementStatus.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.graphql.closeEngagement.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.graphql.createEngagement.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.graphql.getEngagementById.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.graphql.getEngagementDefinition.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.graphql.getFirmBasedIdentity.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.graphql.searchBulkAssignments.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.graphql.searchEngagementUseEngagementSearchV2.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.graphql.searchEngagementsByBusinessRole.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.graphql.searchEngagementsCustomFilters.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.graphql.searchEngagementsFrontendQuery.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.graphql.searchEngagementsUnauthorized.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.graphql.searchEngagementsWildcardSearch.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.graphql.searchEngagementsWithExpertName.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.graphql.searchEngagementsWithOwnerSort.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.graphql.searchEngagementsWithOwnerSortFilterType.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.graphql.sortEngagements.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.graphql.swapEngagement.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.graphql.updateEngagementDueDate.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.graphql.updatecloseableStatusEngagement.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.ingestor.ingestorTest.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.resource.create.createResource.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.resource.get.InvalidGet.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.resource.get.ValidGet.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.resource.search.InvalidSearch.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.core.resource.search.ValidSearch.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.sampleEngagement.completeLifecycle.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.sampleEngagement.createTestEngagement.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.sampleEngagement.milestone.complete.badCompleteRequestAutomatic.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.sampleEngagement.milestone.complete.badCompleteRequestManual.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.sampleEngagement.milestone.complete.validCompleteRequest.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.sampleEngagement.milestone.override.badOverrideRequest.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.sampleEngagement.milestone.override.validOverrideRequest.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.sampleEngagement.milestone.start.badStartRequest.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.sampleEngagement.milestone.start.validStartRequest.json
[CucumberReport] /var/jenkins_home/jobs/JOB/builds/3085/cucumber-html-reports/.cache/integration.live.sampleEngagement.work.get.getWorks.json
ERROR: Build step failed with exception
org.apache.velocity.exception.VelocityException: The specified class for ResourceManager (org.apache.velocity.runtime.resource.ResourceManagerImpl) does not implement org.apache.velocity.runtime.resource.ResourceManager; Velocity is not initialized correctly.
at org.apache.velocity.runtime.RuntimeInstance.initializeResourceManager(RuntimeInstance.java:816)
at org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:282)
at org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:742)
at org.apache.velocity.app.VelocityEngine.init(VelocityEngine.java:123)
at net.masterthought.cucumber.generators.AbstractPage.<init>(AbstractPage.java:60)
at net.masterthought.cucumber.generators.ErrorPage.<init>(ErrorPage.java:18)
at net.masterthought.cucumber.ReportBuilder.generateErrorPage(ReportBuilder.java:229)
at net.masterthought.cucumber.ReportBuilder.generateReports(ReportBuilder.java:109)
at net.masterthought.jenkins.CucumberReportPublisher.generateReport(CucumberReportPublisher.java:470)
at net.masterthought.jenkins.CucumberReportPublisher.perform(CucumberReportPublisher.java:369)
at jenkins.tasks.SimpleBuildStep.perform(SimpleBuildStep.java:112)
at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
at hudson.model.Build$BuildExecution.post2(Build.java:186)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
at hudson.model.Run.execute(Run.java:1919)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:428)
Build step 'Cucumber reports' marked build as failure
Results
Expected result:
Even when Cucumber reports plugins is not able to process the report, the build should not be marked as failed. So that subsequent stages in the pipeline could be executed.
Actual result:
Build is marked as failed.
The text was updated successfully, but these errors were encountered:
Version report
Jenkins and plugins versions report:
Jenkins 2.249.3
Cucumber reports Plugin: 5.5.0
Reproduction steps
Results
Expected result:
Even when Cucumber reports plugins is not able to process the report, the build should not be marked as failed. So that subsequent stages in the pipeline could be executed.
Actual result:
Build is marked as failed.
The text was updated successfully, but these errors were encountered: