[JIRA] (JENKINS-58923) Cannot browse result of tests when publishing several fitnesse result files on Windows

2019-08-17 Thread johannm...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Johann Moro edited a comment on  JENKINS-58923  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Cannot browse result of tests when publishing several fitnesse result files on Windows   
 

  
 
 
 
 

 
 I reproduced this on 1.28.I could try again on 1.29 although it doesn't appear yet in my Jenkins as an available upgrade. My company stages these so this isn't going to be immediate. The change in 1.29 doesn't seem relevant though.If that is relevant at all, we use Jenkins version 2.164.1 And to be complete, we use FitNesse version 20190628 to generate the xml files. Below if my full pipeline that reproduces this  (once the files are generated) :{code}pipeline {agent {label 'windows-agent'}stages {stage ('Repro') {steps {echo 'Make sure the files are in the Workspace'}}}post {always {step([$class: 'FitnesseResultsRecorder', fitnessePathToXmlResultsIn: 'fitnesse_*.xml'])}}}{code}  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201266.1565782125000.4445.1566055920141%40Atlassian.JIRA.


[JIRA] (JENKINS-58923) Cannot browse result of tests when publishing several fitnesse result files on Windows

2019-08-17 Thread johannm...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Johann Moro commented on  JENKINS-58923  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Cannot browse result of tests when publishing several fitnesse result files on Windows   
 

  
 
 
 
 

 
 I reproduced this on 1.28. I could try again on 1.29 although it doesn't appear yet in my Jenkins as an available upgrade. My company stages these so this isn't going to be immediate. The change in 1.29 doesn't seem relevant though. If that is relevant at all, we use Jenkins version 2.164.1 Below if my full pipeline that reproduces this: 

 

pipeline {
agent {
label 'windows-agent'
}
stages {
stage ('Repro') {
steps {
echo 'Make sure the files are in the Workspace'
}
}
}
post {
always {
step([$class: 'FitnesseResultsRecorder', fitnessePathToXmlResultsIn: 'fitnesse_*.xml'])
}
}
}
 

  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201266.1565782125000.4443.1566055680123%40Atlassian.JIRA.


[JIRA] (JENKINS-58430) Publishing two fitnesse xml files with same test name confuses the results

2019-08-16 Thread johannm...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Johann Moro commented on  JENKINS-58430  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Publishing two fitnesse xml files with same test name confuses the results   
 

  
 
 
 
 

 
 Note that this issue probably needs to be reproduced on Linux because JENKINS-58923 will prevent you from reproducing this on Windows.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200559.1562773241000.4066.1565965380057%40Atlassian.JIRA.


[JIRA] (JENKINS-58923) Cannot browse result of tests when publishing several fitnesse result files on Windows

2019-08-14 Thread johannm...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Johann Moro updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-58923  
 
 
  Cannot browse result of tests when publishing several fitnesse result files on Windows   
 

  
 
 
 
 

 
Change By: 
 Johann Moro  
 

  
 
 
 
 

 
 When you publish more than one fitnesse xml results in this way (pipeline):{code}step([$class: 'FitnesseResultsRecorder', fitnessePathToXmlResultsIn: 'fitnesse_*.xml']){code}On a linux agent, if you go to _FitNesse Results_, you get the links for the two results and you can click on them to browse them.The link resolves correctly to:http://localhost:8080/job/MyJob/5/fitnesseReport/fitnesse_linux.xml  !linux.png!  But on a Windows agent, the link points to a local disk folder as opposed to a http URLC:\jenkins\workspaces\MyJob\fitnesseReport/fitnesse_linux.xml  !windows.png!This means that the link does not resolve when Jenkins is running (as expected) on a remote machine.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201266.1565782125000.2610.1565782200403%40Atlassian.JIRA.


[JIRA] (JENKINS-58923) Cannot browse result of tests when publishing several fitnesse result files on Windows

2019-08-14 Thread johannm...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Johann Moro created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-58923  
 
 
  Cannot browse result of tests when publishing several fitnesse result files on Windows   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Attachments: 
 linux.png, windows.png  
 
 
Components: 
 fitnesse-plugin  
 
 
Created: 
 2019-08-14 11:28  
 
 
Labels: 
 plugin  
 
 
Priority: 
  Major  
 
 
Reporter: 
 Johann Moro  
 

  
 
 
 
 

 
 When you publish more than one fitnesse xml results in this way (pipeline): 

 
step([$class: 'FitnesseResultsRecorder', fitnessePathToXmlResultsIn: 'fitnesse_*.xml']) 

 On a linux agent, if you go to FitNesse Results, you get the links for the two results and you can click on them to browse them. The link resolves correctly to: http://localhost:8080/job/MyJob/5/fitnesseReport/fitnesse_linux.xml But on a Windows agent, the link points to a local disk folder as opposed to a http URL C:\jenkins\workspaces\MyJob\fitnesseReport/fitnesse_linux.xml This means that the link does not resolve when Jenkins is running (as expected) on a remote machine.  
 

  
 
 
 
 
 

[JIRA] (JENKINS-58430) Publishing two fitnesse xml files with same test name confuses the results

2019-07-11 Thread johannm...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Johann Moro updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-58430  
 
 
  Publishing two fitnesse xml files with same test name confuses the results   
 

  
 
 
 
 

 
Change By: 
 Johann Moro  
 

  
 
 
 
 

 
 * In one pipeline job, run the same FitNesse tests and generate 2 xml files. So for instance: ** FitNesse tests on Linux generates fitnesse_linux.xml ** FitNesse tests on Windows generates fitnesse_windows.xml The way the tests are generated is as follows (same for windows){code:java}java -jar ./fitnesse-standalone.jar -c "MySuite?suite&format=xml&includehtml" -b fitnesse_windows.xml{code} * Now in the pipeline job, the tests are published in this way:{code:java}step([$class: 'FitnesseResultsRecorder', fitnessePathToXmlResultsIn: 'fitnesse_*.xml']){code} * Then let's assume that MySuite.TestOne fails on Linux, when I go to see the Details of the failure from the FitNesseReport link in Jenkins, while TestOne shows as failed, the html details I can see from there actually shows the details of the windows run.To reproduce this issue, use the following pipeline. Run it once and them manually copy the two xml files attached into the workspace. Run it again and it should publish the FitNesse results.  My agent is a linux agent if that makes a difference. {code}pipeline {agent {label 'your-agent'}stages {stage ('Repro') {steps {echo 'Make sure the files are in the Workspace'}}}post {always {step([$class: 'FitnesseResultsRecorder', fitnessePathToXmlResultsIn: 'fitnesse_*.xml'])}}}{code}Once the results are published, you can see that the fitnesse_windows.xml has been successful while fitnesse_linux.xml has failed. You can see this in the FitNesse report that this is represented correctly: !FitNesseReport.png!  !Details-of-test-not-representing-failure.png.png|thumbnail! But if I click on the fitnesse_linux.xml and then on the Details link for test _BuysideEnterprise.Ims.MySuite.TestOne_ then it actually shows me the details of the run in fitnesse_windows.xml instead of the linux one. It looks like the details have been overridden.Therefore, while I see that the test has failed, I cannot see why as it is showing me the incorrect run details: !Details-of-test-not-representing-failure.png!   
 

  
 
 
 
 

 
 
 

 
 

[JIRA] (JENKINS-58430) Publishing two fitnesse xml files with same test name confuses the results

2019-07-11 Thread johannm...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Johann Moro updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-58430  
 
 
  Publishing two fitnesse xml files with same test name confuses the results   
 

  
 
 
 
 

 
Change By: 
 Johann Moro  
 
 
Attachment: 
 Details-of-test-not-representing-failure.png  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200559.1562773241000.7880.1562837400109%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-58430) Publishing two fitnesse xml files with same test name confuses the results

2019-07-11 Thread johannm...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Johann Moro updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-58430  
 
 
  Publishing two fitnesse xml files with same test name confuses the results   
 

  
 
 
 
 

 
Change By: 
 Johann Moro  
 

  
 
 
 
 

 
 * In one pipeline job, run the same FitNesse tests and generate 2 xml files. So for instance: ** FitNesse tests on Linux generates fitnesse_linux.xml ** FitNesse tests on Windows generates fitnesse_windows.xml The way the tests are generated is as follows (same for windows){code:java}java -jar ./fitnesse-standalone.jar -c "MySuite?suite&format=xml&includehtml" -b fitnesse_windows.xml{code} * Now in the pipeline job, the tests are published in this way:{code:java}step([$class: 'FitnesseResultsRecorder', fitnessePathToXmlResultsIn: 'fitnesse_*.xml']){code} * Then let's assume that MySuite.TestOne fails on Linux, when I go to see the Details of the failure from the FitNesseReport link in Jenkins, while TestOne shows as failed, the html details I can see from there actually shows the details of the windows run.To reproduce this issue, use the following pipeline. Run it once and them manually copy the two xml files attached into the workspace. Run it again and it should publish the FitNesse results.{code}pipeline {agent {label 'your-agent'}stages {stage ('Repro') {steps {echo 'Make sure the files are in the Workspace'}}}post {always {step([$class: 'FitnesseResultsRecorder', fitnessePathToXmlResultsIn: 'fitnesse_*.xml'])}}}{code}Once the results are published, you can see that the fitnesse_windows.xml has been successful while fitnesse_linux.xml has failed. You can see this in the FitNesse report that this is represented correctly:  !FitNesseReport.png!  !Details-of-test-not-representing-failure.png.png|thumbnail! But if I click on the fitnesse_linux.xml and then on the Details link for test _BuysideEnterprise.Ims.MySuite.TestOne_ then it actually shows me the details of the run in fitnesse_windows.xml instead of the linux one. It looks like the details have been overridden.Therefore, while I see that the test has failed, I cannot see why as it is showing me the incorrect run details: !Details-of-test-not-representing-failure.png!   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  

[JIRA] (JENKINS-58430) Publishing two fitnesse xml files with same test name confuses the results

2019-07-11 Thread johannm...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Johann Moro updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-58430  
 
 
  Publishing two fitnesse xml files with same test name confuses the results   
 

  
 
 
 
 

 
Change By: 
 Johann Moro  
 
 
Attachment: 
 FitNesseReport.png  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200559.1562773241000.7879.1562837220258%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-58430) Publishing two fitnesse xml files with same test name confuses the results

2019-07-11 Thread johannm...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Johann Moro updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-58430  
 
 
  Publishing two fitnesse xml files with same test name confuses the results   
 

  
 
 
 
 

 
Change By: 
 Johann Moro  
 

  
 
 
 
 

 
 * In one pipeline job, run the same FitNesse tests and generate 2 xml files. So for instance:** FitNesse tests on Linux generates fitnesse_linux.xml** FitNesse tests on Windows generates fitnesse_windows.xmlThe way the tests are generated is as follows (same for windows){code:java}java -jar ./fitnesse-standalone.jar -c "MySuite?suite&format=xml&includehtml" -b fitnesse_windows.xml{code}  * Now in the pipeline job, the tests are published in this way:{code:java}  step([$class: 'FitnesseResultsRecorder', fitnessePathToXmlResultsIn: 'fitnesse_*.xml']){code}  * Then let's assume that MySuite.TestOne fails on Linux, when I go to see the Details of the failure from the FitNesseReport link in Jenkins, while TestOne shows as failed, the html details I can see from there actually shows the details of the windows run. To reproduce this issue, use the following pipeline. Run it once and them manually copy the two xml files attached into the workspace. Run it again and it should publish the FitNesse results.{code}pipeline {agent {label 'your-agent'}stages {stage ('Repro') {steps {echo 'Make sure the files are in the Workspace'}}}post {always {step([$class: 'FitnesseResultsRecorder', fitnessePathToXmlResultsIn: 'fitnesse_*.xml'])}}}{code}Once the results are published, you can see that the fitnesse_windows.xml has been successful while fitnesse_linux.xml has failed. You can see this in the FitNesse report that this is represented correctly:  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 
 

[JIRA] (JENKINS-58430) Publishing two fitnesse xml files with same test name confuses the results

2019-07-11 Thread johannm...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Johann Moro updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-58430  
 
 
  Publishing two fitnesse xml files with same test name confuses the results   
 

  
 
 
 
 

 
Change By: 
 Johann Moro  
 
 
Attachment: 
 fitnesse_linux.xml  
 
 
Attachment: 
 fitnesse_windows.xml  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.200559.1562773241000.7865.1562836860085%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-58430) Publishing two fitnesse xml files with same test name confuses the results

2019-07-10 Thread johannm...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Johann Moro created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-58430  
 
 
  Publishing two fitnesse xml files with same test name confuses the results   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Components: 
 fitnesse-plugin  
 
 
Created: 
 2019-07-10 15:40  
 
 
Labels: 
 plugin  
 
 
Priority: 
  Major  
 
 
Reporter: 
 Johann Moro  
 

  
 
 
 
 

 
 
 
In one pipeline job, run the same FitNesse tests and generate 2 xml files. So for instance: 
 
FitNesse tests on Linux generates fitnesse_linux.xml 
FitNesse tests on Windows generates fitnesse_windows.xml The way the tests are generated is as follows (same for windows) 

 

java -jar ./fitnesse-standalone.jar -c "MySuite?suite&format=xml&includehtml" -b fitnesse_windows.xml
 

 
  
Now in the pipeline job, the tests are published in this way: 

 
step([$class: 'FitnesseResult