[JIRA] [cucumber-testresult-plugin] (JENKINS-25203) support embedded content in json
Title: Message Title James Nord commented on JENKINS-25203 Re: support embedded content in json 1.580 is needed for JENKINS-25280 if you don't care about that it should be possible to back port if you as a dependency on security-144-compat But you should upgrade Jenkins instead Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [cucumber-testresult-plugin] (JENKINS-25203) support embedded content in json
Title: Message Title SCM/JIRA link daemon commented on JENKINS-25203 Re: support embedded content in json Code changed in jenkins User: James Nord Path: src/main/java/org/jenkinsci/plugins/cucumber/jsontestsupport/EmbeddedItem.java http://jenkins-ci.org/commit/cucumber-testresult-plugin/3b68644d94b18d9a26a0654b116be8a7930bd855 Log: JENKINS-25203 Make EmbeddedItem serializable. Should fix the issue when the plugin is not run on the master. Compare: https://github.com/jenkinsci/cucumber-testresult-plugin/compare/b50b86c7dcd1...3b68644d94b1 Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [cucumber-testresult-plugin] (JENKINS-25203) support embedded content in json
Title: Message Title SCM/JIRA link daemon resolved as Fixed Jenkins / JENKINS-25203 support embedded content in json Change By: SCM/JIRA link daemon Status: Open Resolved Resolution: Fixed Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [cucumber-testresult-plugin] (JENKINS-25203) support embedded content in json
Title: Message Title SCM/JIRA link daemon commented on JENKINS-25203 Re: support embedded content in json Code changed in jenkins User: James Nord Path: pom.xml src/main/java/org/jenkinsci/plugins/cucumber/jsontestsupport/CucumberJSONParser.java src/main/java/org/jenkinsci/plugins/cucumber/jsontestsupport/CucumberModelException.java src/main/java/org/jenkinsci/plugins/cucumber/jsontestsupport/CucumberPluginException.java src/main/java/org/jenkinsci/plugins/cucumber/jsontestsupport/CucumberTestResultArchiver.java src/main/java/org/jenkinsci/plugins/cucumber/jsontestsupport/CucumberUtils.java src/main/java/org/jenkinsci/plugins/cucumber/jsontestsupport/DefaultTestResultParserImpl.java src/main/java/org/jenkinsci/plugins/cucumber/jsontestsupport/EmbeddedItem.java src/main/java/org/jenkinsci/plugins/cucumber/jsontestsupport/GherkinCallback.java src/main/java/org/jenkinsci/plugins/cucumber/jsontestsupport/ScenarioResult.java src/main/java/org/jenkinsci/plugins/cucumber/jsontestsupport/ScenarioToHTML.java src/test/java/org/jenkinsci/plugins/cucumber/jsontestsupport/CucumberJSONParserTest.java src/test/resources/org/jenkinsci/plugins/cucumber/jsontestsupport/ScenarioResultTest/cucumber-embedded-item.json http://jenkins-ci.org/commit/cucumber-testresult-plugin/3f6844ee4777030e2f0b5f1741d201d6b6aece60 Log: [FIXED JENKINS-25203] Add support for embedded items in the json result. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [cucumber-testresult-plugin] (JENKINS-25203) support embedded content in json
Title: Message Title James Nord commented on JENKINS-25203 Re: support embedded content in json Updated build at https://jenkins.ci.cloudbees.com/job/plugins/job/cucumber-testresult-plugin/54/org.jenkins-ci.plugins$cucumber-testresult-plugin/artifact/org.jenkins-ci.plugins/cucumber-testresult-plugin/0.8-SNAPSHOT/cucumber-testresult-plugin-0.8-SNAPSHOT.hpi Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [cucumber-testresult-plugin] (JENKINS-25203) support embedded content in json
Title: Message Title Kanstantsin Shautsou commented on JENKINS-25203 Re: support embedded content in json I built myself this commit and it looks working. Accessing screenshot requires additional clicks, but it can be redesigned later. Will it be also possible to backport this feature for 1.580 core? Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [cucumber-testresult-plugin] (JENKINS-25203) support embedded content in json
Title: Message Title Kanstantsin Shautsou commented on JENKINS-25203 Re: support embedded content in json [~jtnord] Any updates? If you want get more feedback, then just release, nobody uses experimental UC. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [cucumber-testresult-plugin] (JENKINS-25203) support embedded content in json
Title: Message Title Kanstantsin Shautsou edited a comment on JENKINS-25203 Re: support embedded content in json [~ jtnord teilo ]Anyupdates?Ifyouwantgetmorefeedback,thenjustrelease,nobodyusesexperimentalUC. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [cucumber-testresult-plugin] (JENKINS-25203) support embedded content in json
Dominic Bishop commented on JENKINS-25203 support embedded content in json I've just completed some initial quick tests with the snapshot. When running the build on Jenkins master it completed without error and successfully parsed the screenshot that was embedded in the JSON. I was able to view this ok by following the embedded link from the test scenario result page. It would be nice if this could be inlined there however if possible to avoid the extra click to see the image. I am using this to capture a browser screenshot on failure of a UI scenario so being able to see it in context of the assertion message would be much easier to work with than having them on 2 different URLs. When I tested with the job running on a slave however the publish of results failed, here is the stacktrace I received: 21:09:47 Cucumber Tests Parsing results. 21:09:47 Cucumber Tests parsing report.json 21:09:48 ERROR: Failed to archive cucumber reports 21:09:48 java.io.IOException: remote file operation failed: /tank/jenkins/workspace/Cucumber_Plugin_Test at hudson.remoting.Channel@4538bceb:jenkins-minion-001.vagrant.com: java.io.IOException: Unable to serialize org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberTestResult@58776ea5 21:09:48 at hudson.FilePath.act(FilePath.java:985) 21:09:48 at hudson.FilePath.act(FilePath.java:967) 21:09:48 at org.jenkinsci.plugins.cucumber.jsontestsupport.DefaultTestResultParserImpl.parse(DefaultTestResultParserImpl.java:100) 21:09:48 at org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberJSONParser.parse(CucumberJSONParser.java:114) 21:09:48 at org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberTestResultArchiver.perform(CucumberTestResultArchiver.java:95) 21:09:48 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 21:09:48 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761) 21:09:48 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:721) 21:09:48 at hudson.model.Build$BuildExecution.post2(Build.java:183) 21:09:48 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:670) 21:09:48 at hudson.model.Run.execute(Run.java:1766) 21:09:48 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) 21:09:48 at hudson.model.ResourceController.execute(ResourceController.java:98) 21:09:48 at hudson.model.Executor.run(Executor.java:374) 21:09:48 Caused by: java.io.IOException: Unable to serialize org.jenkinsci.plugins.cucumber.jsontestsupport.CucumberTestResult@58776ea5 21:09:48 at hudson.remoting.UserRequest.serialize(UserRequest.java:169) 21:09:48 at hudson.remoting.UserRequest.perform(UserRequest.java:129) 21:09:48 at hudson.remoting.UserRequest.perform(UserRequest.java:49) 21:09:48 at hudson.remoting.Request$2.run(Request.java:324) 21:09:48 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) 21:09:48 at java.util.concurrent.FutureTask.run(FutureTask.java:262) 21:09:48 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 21:09:48 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 21:09:48 at hudson.remoting.Engine$1$1.run(Engine.java:63) 21:09:48 at java.lang.Thread.run(Thread.java:745) 21:09:48 at ..remote call to jenkins-minion-001.vagrant.com(Native Method) 21:09:48 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1360) 21:09:48 at hudson.remoting.UserResponse.retrieve(UserRequest.java:221) 21:09:48 at hudson.remoting.Channel.call(Channel.java:753) 21:09:48 at hudson.FilePath.act(FilePath.java:978) 21:09:48 ... 13 more 21:09:48 Caused by: java.io.NotSerializableException: org.jenkinsci.plugins.cucumber.jsontestsupport.EmbeddedItem 21:09:48 at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1183) 21:09:48 at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) 21:09:48 at java.util.ArrayList.writeObject(ArrayList.java:742) 21:09:48 at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) 21:09:48 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 21:09:48 at java.lang.reflect.Method.invoke(Method.java:606) 21:09:48 at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988) 21:09:48 at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1495) 21:09:48 at
[JIRA] [cucumber-testresult-plugin] (JENKINS-25203) support embedded content in json
Dominic Bishop commented on JENKINS-25203 support embedded content in json A further follow up to this. I'm seeing some very weird behaviour with the URL to access the embedded item. I got a 404 at one point and I have done a little bit more experimentation. If I have a URL to an embedded item open, e.g. http://192.168.0.2:8080/job/Cucumber_Plugin_Test/lastCompletedBuild/cucumberTestReport/checkout-flows/anonymous-checkout-flow/embed/cuke_2848226563976186823.embed and repeatedly refresh the page then it alternates between showing me the image and giving me a 404: HTTP ERROR 404 Problem accessing /job/Cucumber_Plugin_Test/lastCompletedBuild/cucumberTestReport/checkout-flows/anonymous-checkout-flow/embed/cuke_2848226563976186823.embed. Reason: Not Found This isn't random, it is a cycle between found-not found-found-not found etc. In the Jenkins log I see this appear everytime the 404 is served: Apr 18, 2015 9:33:31 PM WARNING org.eclipse.jetty.util.log.JavaUtilLog warn Committed before 404 null This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [cucumber-testresult-plugin] (JENKINS-25203) support embedded content in json
Dominic Bishop commented on JENKINS-25203 support embedded content in json It's good to see more progress on this. Is there a TODO of what work is still outstanding? This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [cucumber-testresult-plugin] (JENKINS-25203) support embedded content in json
James Nord commented on JENKINS-25203 support embedded content in json It needs some testing, you can download the build from https://jenkins.ci.cloudbees.com/job/plugins/job/cucumber-testresult-plugin/53/org.jenkins-ci.plugins$cucumber-testresult-plugin/artifact/org.jenkins-ci.plugins/cucumber-testresult-plugin/0.7-SNAPSHOT/cucumber-testresult-plugin-0.7-SNAPSHOT.hpi This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [cucumber-testresult-plugin] (JENKINS-25203) support embedded content in json
SCM/JIRA link daemon commented on JENKINS-25203 support embedded content in json Code changed in jenkins User: James Nord Path: src/main/java/org/jenkinsci/plugins/cucumber/jsontestsupport/CucumberTestResultArchiver.java http://jenkins-ci.org/commit/cucumber-testresult-plugin/6f76c44df6160072b84ff60f38f2ff0f6bb56ff3 Log: ISSUE JENKINS-25203 remove redundant import This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [cucumber-testresult-plugin] (JENKINS-25203) support embedded content in json
SCM/JIRA link daemon commented on JENKINS-25203 support embedded content in json Code changed in jenkins User: James Nord Path: pom.xml src/main/java/org/jenkinsci/plugins/cucumber/jsontestsupport/CucumberJSONParser.java src/main/java/org/jenkinsci/plugins/cucumber/jsontestsupport/CucumberTestResultArchiver.java src/main/java/org/jenkinsci/plugins/cucumber/jsontestsupport/DefaultTestResultParserImpl.java src/main/java/org/jenkinsci/plugins/cucumber/jsontestsupport/EmbeddedItem.java src/main/java/org/jenkinsci/plugins/cucumber/jsontestsupport/ScenarioResult.java src/main/java/org/jenkinsci/plugins/cucumber/jsontestsupport/ScenarioToHTML.java src/test/java/org/jenkinsci/plugins/cucumber/jsontestsupport/CucumberJSONParserTest.java http://jenkins-ci.org/commit/cucumber-testresult-plugin/168125ae8bf99e7f7fd19e9166f9bb7f79234afc Log: ISSUE JENKINS-25203 Add support for embedded items in the json result. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [cucumber-testresult-plugin] (JENKINS-25203) support embedded content in json
Dominic Bishop commented on JENKINS-25203 support embedded content in json Is this issue still being actively progressed? This feature would be extremely useful to me. If this has stalled I'll try and start looking in to it myself but as I have no experience of Jenkins development yet I'd rather not invest that amount of effort if this is still on-going. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.