Hi, I got a problem with exporting results from Jenkins XRAY plugin to JIRA. I always get a message you can see at very bottom of this message.
Do I need to setup some API keys or something?
Do you have some solution for this?
Thanks a lot for help!
------
Xray for JIRA config:
config alias: jira-server
hosting: server/data center
server address: https://xray.cloud.xpand-it.com
username: xyz
password: xyz
------
Connection: Success!
Xray: Results import task
Jira instance: jira-server
Format: JUnit XML
Parameters
Execution report file: abc.xml
Project key: ABC
Starting import task... ########################################################## #### Importing the execution results to Xray #### ########################################################## Starting to import results from test_results011ef2f33aff21a282aed2439b3edf56.xml ERROR: Step ‘Xray: Results Import Task’ failed: Unable to confirm Result of the upload..... Upload Failed! Status:404 Response:<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><title>Error</title></head><body><pre>Cannot POST /rest/raven/1.0/import/execution/junit</pre></body></html> Finished: FAILURE
Solved by switching hosting: server/data center to CLOUD.
I am also facing same issue . The above answer is not resolving the issue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Raghavendra Rao Put output from Jenkins here so we can see details.
Also check that you already have API Key generated https://confluence.xpand-it.com/display/XRAYCLOUD/Global+Settings%3A+API+Keys
Use the API key credentials from JIRA in Jenkins (Xray Configuration)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Starting XRAY: Results Import Task... ########################################################## #### Xray is importing the feature files #### ########################################################## File: F:\selenium-cucumber\target\cucumber-reports\cucumber-json-report.json Starting to import results from cucumber-json-report.json ERROR: Step ‘Xray: Results Import Task’ failed: Unable to confirm Result of the upload..... Upload Failed! Status:404 Response:<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><title>Oops, you've found a dead link. - JIRA</title><script type="text/javascript">contextPath = "";</script><link type='text/css' rel='stylesheet' href='/static-assets/metal-all.css' media='all'><script src='/static-assets/jquery-min.js'></script><script src='/static-assets/metal-all.js'></script><meta name="decorator" content="none" /></head><body class=" error-page error404"><script type="text/javascript">document.body.className += " js-enabled";</script><div id="page"><header id="header" role="banner"></header><!-- #header --><section id="content" role="main"><div class="aui-page-panel"><div class="aui-page-panel-inner"><section class="aui-page-panel-content lowerContent"><div id="error-state"><span class="error-type"></span><h1>Oops, you've found a dead link.</h1><ul><li>Go back to the <a href="javascript:window.history.back()">previous page</a></li><li>Go to the <a href="/secure/MyJiraHome.jspa">Home Page</a></li></ul></div></section><!-- .aui-page-panel-content --></div><!-- .aui-page-panel-inner --></div><!-- .aui-page-panel --></section><!-- #content --><footer id="footer" role="contentinfo"><section class="footer-body"><ul class="atlassian-footer"> <li> Atlassian Jira <a class="seo-link" rel="nofollow" href="https://www.atlassian.com/software/jira">Project Management Software</a> <span id="footer-build-information">(v8.6.0#806000-<span title='737bcc05e3687605702e76b312ace69277496331' data-commit-id='737bcc05e3687605702e76b312ace69277496331}'>sha1:737bcc0</span>)</span> </li> <li> <a id="about-link" rel="nofollow" href="/secure/AboutPage.jspa/secure/AboutPage.jspa">About Jira</a> </li> <li> <a id="footer-report-problem-link" rel="nofollow" href="/secure/CreateIssue!default.jspa">Report a problem</a> </li></ul> <p class="atlassian-footer"> <span class="licensemessagered"> Powered by a free Atlassian <a rel='nofollow' href='http://www.atlassian.com/software/jira'>Jira evaluation license</a>. Please consider <a rel='nofollow' href='/plugins/servlet/applications/versions-licenses'>purchasing it</a> today. </span> </p><div id="footer-logo"><a href="http://www.atlassian.com/" rel="nofollow">Atlassian</a></div></section></footer><!-- #footer --></div><!-- #page --></body></html> Finished: FAILURE
I am trying to connect using jira server.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When i am trying to connect JIRA Cloud. It is not even login into XRAY Jira
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am facing a similar issue with some different log details? I putting the logs below. Any suggestion would be appreciated.
Starting to import results from cucumber-report.json
ERROR: Step ‘Xray: Results Import Task’ failed: Unable to confirm Result of the upload..... Upload Failed! Status:202 Response:{"error":"Import results request timed out! The import task is still running on the background."}
Finished: FAILURE
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Having the same problem since May 15 :(
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Abhishek Pal Singh and @Joao Nuno Madeira Machado ,
Whenever an Xray customer does a request to the Xray Rest API, this request goes to a job queue that will process each job in order of entry. So, if the queue is empty, your request is processed almost immediately but when it happens a peak of requests, if the queue is full (or it already has some processes to run) it's normal that it takes more time to process your request because in this case the job is not processed immediately and it's waiting for their turn to be processed.
So, if the queue is full or almost full, it takes more time to process your request, and after some time our Server returns the message "Import results request timed out! The import task is still running on the background.", that means it was not possible to get a response (regarding the import request) in time from our server (timeout), but the request will be processed in the background and you should get the results imported as expected.
Note that it doesn't depend exactly on your side and the files you're trying to import, but mainly on the status of the queue at that time that is processing all the requests and the complexity of the previous requests that are being processed before your request.
If you are getting this message constantly it is best to contact the Xray Support (http://xraysupport.xpand-it.com ) so that we can investigate further.
Kind regards,
Rogério Paiva [Xray Support Team]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same failure, please help us out!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Mikhail Makarenko ,
Whenever an Xray customer does a request to the Xray Rest API, this request goes to a job queue that will process each job in order of entry. So, if the queue is empty, your request is processed almost immediately but when it happens a peak of requests, if the queue is full (or it already has some processes to run) it's normal that it takes more time to process your request because in this case the job is not processed immediately and it's waiting for their turn to be processed.
So, if the queue is full or almost full, it takes more time to process your request, and after some time our Server returns the message "Import results request timed out! The import task is still running on the background.", that means it was not possible to get a response (regarding the import request) in time from our server (timeout), but the request will be processed in the background and you should get the results imported as expected.
Note that it doesn't depend exactly on your side and the files you're trying to import, but mainly on the status of the queue at that time that is processing all the requests and the complexity of the previous requests that are being processed before your request.
If you are getting this message constantly it is best to contact the Xray Support (http://xraysupport.xpand-it.com ) so that we can investigate further.
Kind regards,
Rogério Paiva [Xray Support Team]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
can someone help on this issue as still facing the below error :
Unable to confirm Result of the upload..... Upload Failed! Status:404
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.