pipeline-input-step:2.8 Test cases run failed (Server Issue)
shivsrivastava opened this issue · 10 comments
Jenkins and plugins versions report
Environment
Paste the output here
What Operating System are you using (both controller, and any agents involved in the problem)?
I want to run test cases for pipeline-input-step:2.8 . But after running mvn test, I am getting test failure.
and exception is "[28 10:25:55.417] | Running org.jenkinsci.plugins.workflow.support.steps.input.InputStepConfigTest
[28 10:26:11.601] | Tests run: 6, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 15.963 sec <<< FAILURE! - in org.jenkinsci.plugins.workflow.support.steps.input.InputStepConfigTest
[28 10:26:11.601] | configRoundTrip(org.jenkinsci.plugins.workflow.support.steps.input.InputStepConfigTest) Time elapsed: 1.55 sec <<< ERROR!
[28 10:26:11.601] | com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException: 500 org/dom4j/DocumentException for http://localhost:46261/jenkins/job/test0/configure
[28 10:26:11.601] | at com.gargoylesoftware.htmlunit.WebClient.throwFailingHttpStatusCodeExceptionIfNecessary(WebClient.java:535)
[28 10:26:11.601] | at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:360)"
I have already used JDK - 8 , 11 , 17 but got failed. Please help me with correct JDK, Maven version.
Reproduction steps
I want to run test cases for pipeline-input-step:2.8 . But after running mvn test, I am getting test failure.
and exception is "[28 10:25:55.417] | Running org.jenkinsci.plugins.workflow.support.steps.input.InputStepConfigTest
[28 10:26:11.601] | Tests run: 6, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 15.963 sec <<< FAILURE! - in org.jenkinsci.plugins.workflow.support.steps.input.InputStepConfigTest
[28 10:26:11.601] | configRoundTrip(org.jenkinsci.plugins.workflow.support.steps.input.InputStepConfigTest) Time elapsed: 1.55 sec <<< ERROR!
[28 10:26:11.601] | com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException: 500 org/dom4j/DocumentException for http://localhost:46261/jenkins/job/test0/configure
[28 10:26:11.601] | at com.gargoylesoftware.htmlunit.WebClient.throwFailingHttpStatusCodeExceptionIfNecessary(WebClient.java:535)
[28 10:26:11.601] | at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:360)"
Expected Results
Should be pass
Actual Results
failed
Anything else?
NA
Are you interested in contributing a fix?
No response
I'm closing this issue as there are no information to reproduce the problem, to analyze the issue or showing it is related to the official Docker image for Jenkins controllers.
You should open a discussion on the community forum to get help from the whole community at community.jenkins.io.
Also, note the issue templates asking for environment description is there for a reason: if you don't provide this kind of information, chances of getting a solution are close to zero: what is the Jenkins version? How is it installed? What are the installed plugins in which version?
Getting same above issue for mvn
I am also facing same thing.
@meetankit24 @sourabhmagdum45 as explained by @dduportal we need more details and context.
@meetankit24 @sourabhmagdum45 as explained by @dduportal we need more details and context.
Have used JDK 8 , 11 and 17 to run UT cases. Let me know what are required more?
@meetankit24 @sourabhmagdum45 as explained by @dduportal we need more details and context.
Have used JDK 8 , 11 and 17 to run UT cases. Let me know what are required more?
Please read my previous message.
Please find the attached log file.
build-pipeline-input-step-2.8.txt
Please find the attached log file. build-pipeline-input-step-2.8.txt
If you keep ignoring maintainers comment and instructions, you will never get help.
Last comment before I lock this issue: read my message at #1843 (comment) , and follow the instructions by opening a thread in the community forum with the requested information. If we don't know what jenkins version, plugins, pipeline, etc. you are doing, we cannot help.
Please find the attached log file. build-pipeline-input-step-2.8.txt
If you keep ignoring maintainers comment and instructions, you will never get help.
Last comment before I lock this issue: read my message at #1843 (comment) , and follow the instructions by opening a thread in the community forum with the requested information. If we don't know what jenkins version, plugins, pipeline, etc. you are doing, we cannot help.
We have already tried with below information.
Java - 8,11,17
Maven - 3.3.1 to 3.9.4
jenkins - 2.361. 1
Please let me know , what are correct version to be used.
I'm locking the conversation as the requester does not make the effort to read and follow my instructions. This is not the place for this is issue (community forum are) and no valid information for reproduction or analysis are provided as requested.