Issue Type: Bug Bug
Assignee: Unassigned
Components: jiratestresultreporter
Created: 15/Oct/14 11:32 AM
Description:

I have configured jira test result reporter plugin with Jenkins. After build gets failed, reporting JIRA issue is done and build status is FAILURE. But issue is not seen anywhere in jira.

Configured Jenkins and Jira integration process with this URL: https://github.com/jenkinsci/JiraTestResultReporter-plugin

Versions:

Jenkins ver. 1.580
JiraTestResultReporter plugin 1.0.5
JIRA: 6.4

Error:

BUILD FAILED
/home/hduser/workspace/Guidanz-Test/build.xml:48: The tests failed.

Total time: 1 minute 7 seconds
Build step 'Invoke Ant' marked build as failure
[htmlpublisher] Archiving HTML reports...
[htmlpublisher] Archiving at BUILD level /home/hduser/workspace/Guidanz-Test/test-output/html to /home/hduser/jobs/Guidanz-Test/builds/2014-10-15_14-44-30/htmlreports/HTML_Report
TestNG Reports Processing: START
Looking for TestNG results report in workspace using pattern: **/testng-results.xml
Saving reports...
Processing '/home/hduser/jobs/Guidanz-Test/builds/2014-10-15_14-44-30/testng/testng-results.xml'
Failed Tests/Configs found. Marking build as UNSTABLE.
TestNG Reports Processing: FINISH
[JiraTestResultReporter] [INFO] Examining test results...
[JiraTestResultReporter] [DEBUG] Build result is FAILURE

[JiraTestResultReporter] [DEBUG] [JiraTestResultReporter] [INFO] Workspace is /home/hduser/workspace/Guidanz-Test

[JiraTestResultReporter] [DEBUG] projectKey: QAA
[JiraTestResultReporter] [DEBUG] errorDetails: Unable to locate element: {"method":"id","selector":"login-emailid"}
Command duration or timeout: 30.09 seconds
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '2.43.1', revision: '5163bce', time: '2014-09-10 16:27:58'
System info: host: 'master', ip: '127.0.0.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.11.0-15-generic', java.version: '1.7.0_67'
Session ID: c0f59121-bcba-4a63-a0b2-e95542f618d6
Driver info: org.openqa.selenium.firefox.FirefoxDriver
Capabilities [{platform=LINUX, acceptSslCerts=true, _javascript_Enabled=true, cssSelectorsEnabled=true, databaseEnabled=true, browserName=firefox, handlesAlerts=true, browserConnectionEnabled=true, webStorageEnabled=true, nativeEvents=false, rotatable=false, locationContextEnabled=true, applicationCacheEnabled=true, takesScreenshot=true, version=26.0}]
[JiraTestResultReporter] [DEBUG] fullName: unnamed.testUntitled
[JiraTestResultReporter] [DEBUG] simpleName: unnamed
[JiraTestResultReporter] [DEBUG] title: Case Result: testUntitled
[JiraTestResultReporter] [DEBUG] packageName: (root)
[JiraTestResultReporter] [DEBUG] name: testUntitled
[JiraTestResultReporter] [DEBUG] className: login
[JiraTestResultReporter] [DEBUG] failedSince: 0
[JiraTestResultReporter] [DEBUG] status: FAILED
[JiraTestResultReporter] [DEBUG] age: 0
[JiraTestResultReporter] [DEBUG] ErrorStackTrace: org.openqa.selenium.NoSuchElementException: Unable to locate element: {"method":"id","selector":"login-emailid"}
Command duration or timeout: 30.09 seconds
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '2.43.1', revision: '5163bce', time: '2014-09-10 16:27:58'
System info: host: 'master', ip: '127.0.0.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.11.0-15-generic', java.version: '1.7.0_67'
Session ID: c0f59121-bcba-4a63-a0b2-e95542f618d6
Driver info: org.openqa.selenium.firefox.FirefoxDriver
Capabilities [{platform=LINUX, acceptSslCerts=true, _javascript_Enabled=true, cssSelectorsEnabled=true, databaseEnabled=true, browserName=firefox, handlesAlerts=true, browserConnectionEnabled=true, webStorageEnabled=true, nativeEvents=false, rotatable=false, locationContextEnabled=true, applicationCacheEnabled=true, takesScreenshot=true, version=26.0}]

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:204)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:156)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:599)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:352)
at org.openqa.selenium.remote.RemoteWebDriver.findElementById(RemoteWebDriver.java:393)
at org.openqa.selenium.By$ById.findElement(By.java:214)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:344)
at allpks.login.testUntitled(login.java:32)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
at org.testng.TestRunner.privateRun(TestRunner.java:767)
at org.testng.TestRunner.run(TestRunner.java:617)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
at org.testng.SuiteRunner.run(SuiteRunner.java:240)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.testng.TestNG.privateMain(TestNG.java:1364)
at org.testng.TestNG.main(TestNG.java:1333)
Caused by: org.openqa.selenium.NoSuchElementException: Unable to locate element: {"method":"id","selector":"login-emailid"}
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '2.43.1', revision: '5163bce', time: '2014-09-10 16:27:58'
System info: host: 'master', ip: '127.0.0.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.11.0-15-generic', java.version: '1.7.0_67'
Driver info: driver.version: unknown
at <anonymous class>.FirefoxDriver.prototype.findElementInternal_(file:///tmp/anonymous2488142102386434392webdriver-profile/extensions/[email protected]/components/driver-component.js:9618)
at <anonymous class>.fxdriver.Timer.prototype.setTimeout/<.notify(file:///tmp/anonymous2488142102386434392webdriver-profile/extensions/[email protected]/components/driver-component.js:548)
[JiraTestResultReporter] [DEBUG] affectedFile: org.openqa.selenium.NoSuchElementException: Unable to locate element: {"method":"id","selector":"login-emailid"}
Command duration or timeout: 30.09 seconds
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '2.43.1', revision: '5163bce', time: '2014-09-10 16:27:58'
System info: host: 'master', ip: '127.0.0.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.11.0-15-generic', java.version: '1.7.0_67'
Session ID: c0f59121-bcba-4a63-a0b2-e95542f618d6
Driver info: org.openqa.selenium.firefox.FirefoxDriver
Capabilities [{platform=LINUX, acceptSslCerts=true, _javascript_Enabled=true, cssSelectorsEnabled=true, databaseEnabled=true, browserName=firefox, handlesAlerts=true, browserConnectionEnabled=true, webStorageEnabled=true, nativeEvents=false, rotatable=false, locationContextEnabled=true, applicationCacheEnabled=true, takesScreenshot=true, version=26.0}]

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:204)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:156)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:599)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:352)
at org.openqa.selenium.remote.RemoteWebDriver.findElementById(RemoteWebDriver.java:393)
at org.openqa.selenium.By$ById.findElement(By.java:214)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:344)
at allpks.login.testUntitled(login.java:32)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
at org.testng.TestRunner.privateRun(TestRunner.java:767)
at org.testng.TestRunner.run(TestRunner.java:617)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
at org.testng.SuiteRunner.run(SuiteRunner.java:240)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.testng.TestNG.privateMain(TestNG.java:1364)
at org.testng.TestNG.main(TestNG.java:1333)
Caused by: org.openqa.selenium.NoSuchElementException: Unable to locate element: {"method":"id","selector":"login-emailid"}
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '2.43.1', revision: '5163bce', time: '2014-09-10 16:27:58'
System info: host: 'master', ip: '127.0.0.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.11.0-15-generic', java.version: '1.7.0_67'
Driver info: driver.version: unknown
at <anonymous class>.FirefoxDriver.prototype.findElementInternal_(file:///tmp/anonymous2488142102386434392webdriver-profile/extensions/[email protected]/components/driver-component.js:9618)
at <anonymous class>.fxdriver.Timer.prototype.setTimeout/<.notify(file:///tmp/anonymous2488142102386434392webdriver-profile/extensions/[email protected]/components/driver-component.js:548)
[JiraTestResultReporter] [DEBUG] ----------------------------
[JiraTestResultReporter] [DEBUG] Creating issue in project QAA at URL https://example.atlassian.net/rest/api/2/issue/

[JiraTestResultReporter] [INFO] Reporting issue.
[JiraTestResultReporter] [INFO] Done.
Email was triggered for: Always
Sending email for trigger: Always
Sending email to: [email protected]
Finished: FAILURE

Project: Jenkins
Priority: Critical Critical
Reporter: Praveen Lakshmanan
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to