Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-60121

Silk Performer - Jenkins - Plot Results - Data series file path issue

      Issue: 

      On the job which created to execute the Silk performer test, we are seeing the success in getting the job triggering the Silk performer Workload model, but at the end of test of the we are not getting the plot of the  performance test results. Observed this is due to the Data series file path is not accepting the path given. Please find the screenshot as the same error shows for the whatever path we are entering, Kindly help me in proceeding further how the path for the data series file to be provided. Thanks Much in advance..! 

       

      Error Message: 

      ‘\\MachineName\Scripts_POC\result**.’ doesn’t match anything: ‘’ exists but not ‘\\MachineName\Scripts_POC\result**.

          [JENKINS-60121] Silk Performer - Jenkins - Plot Results - Data series file path issue

          Additional note on this issue: 

          I have attempted to define the xml file or time series data of the silkperformer test in the following method, but nothing has not been recognised in jenkins and throws me Doesn't exists error as mentioned in description, 

           

          1. Define exact result file report path where the file is created by Silkperformer during the test. **
            1. During the test observed all results file for the build is being stored in  the Scripts folder itself by creating a new folder called results. Exact path of the overviewreport.xml is \\Machinename\Scripts_POC\result\OverviewReport\OverviewReport.xml and scripts/ project file stored in \\Machinename\Scripts_POC\. 
          2. Define File name with extension from where Jenkins needs to extract result for Plot. 
            1. Also tried with definition as OverviewReport.xml and no luck. 
          3. Define the workspace directory path. 
            1. I am not able to use this path as the workspace doesn't have any files available after the completion of test, hence i cannot try this option. 

          Chandrakumar Sekar added a comment - Additional note on this issue:  I have attempted to define the xml file or time series data of the silkperformer test in the following method, but nothing has not been recognised in jenkins and throws me Doesn't exists error as mentioned in description,    Define exact result file report path where the file is created by Silkperformer during the test.  ** During the test observed all results file for the build is being stored in  the Scripts folder itself by creating a new folder called results. Exact path of the overviewreport.xml is \\Machinename\Scripts_POC\result\OverviewReport\OverviewReport.xml and scripts/ project file stored in \\Machinename\Scripts_POC\.  Define File name with extension from where Jenkins needs to extract result for Plot.   Also tried with definition as OverviewReport.xml and no luck.  Define the workspace directory path.   I am not able to use this path as the workspace doesn't have any files available after the completion of test, hence i cannot try this option. 

          Mihai Virag added a comment -

          Hi,

          Have you did also this step?

           

          Mihai Virag added a comment - Hi, Have you did also this step?  

          Mihai Virag added a comment -

          Mihai Virag added a comment -

          Chandrakumar Sekar added a comment - - edited

          Hello Mihai,

           

          Thanks for info. Have tried this step in my personal laptop, but getting an error while configuring the archive files itself. Attached the screenshot for your reference. 

          Also, proceeded further in running test which is giving the same error as well. Error Log below, 

          Script and project Path is: C:\Users\chand\Documents\Silk Performer 20.0\Projects\WebProject 

          Kindly advise further. 

          Archiving artifacts
          ‘WebProject/*/.’ doesn’t match anything: even ‘WebProject’ doesn’t exist
          ERROR: Step ‘Archive the artifacts’ failed: No artifacts found that match the file pattern "WebProject/*/.". Configuration error?
          Recording plot data
          Finished: FAILURE

           

           

          Chandrakumar Sekar added a comment - - edited Hello Mihai,   Thanks for info. Have tried this step in my personal laptop, but getting an error while configuring the archive files itself. Attached the screenshot for your reference.  Also, proceeded further in running test which is giving the same error as well. Error Log below,  Script and project Path is: C:\Users\chand\Documents\Silk Performer 20.0\Projects\WebProject  Kindly advise further.  Archiving artifacts ‘WebProject/* / .’ doesn’t match anything: even ‘WebProject’ doesn’t exist ERROR: Step ‘Archive the artifacts’ failed: No artifacts found that match the file pattern "WebProject/* / .". Configuration error? Recording plot data Finished: FAILURE    

          Mihai Virag added a comment - - edited

          As to understand correctly, are you using Master-Slave configuration or you have only Master?

          Mihai Virag added a comment - - edited As to understand correctly, are you using Master-Slave configuration or you have only Master?

          I am using Master-Salve Configuration.. 

          Chandrakumar Sekar added a comment - I am using Master-Salve Configuration.. 

          Hi Mihai Virag, 

           

          Could you please let me know if you have any updates for me on this case? 

          Chandrakumar Sekar added a comment - Hi Mihai Virag,    Could you please let me know if you have any updates for me on this case? 

          Mihai Virag added a comment -

          Hi Chandrakumar Sekar,

          Two things:

          1. "Archive the artifacts" use - "WebProject/*/" (without '.')

          2. "Plot build data"
           "Number of builds to include" - you should use  more builds, with only one you will get only a Point in the graph, in the example it used 10
           "Data series file" - "WebProject/result/OverviewReport/OverviewReport.xml"

          Mihai Virag added a comment - Hi Chandrakumar Sekar, Two things: 1. "Archive the artifacts" use - "WebProject/* / " (without '.') 2. "Plot build data"  "Number of builds to include" - you should use  more builds, with only one you will get only a Point in the graph, in the example it used 10  "Data series file" - "WebProject/result/OverviewReport/OverviewReport.xml"

          Thanks for an update. I will check and work on the provided input and keep you posted with an outcome. 

          Chandrakumar Sekar added a comment - Thanks for an update. I will check and work on the provided input and keep you posted with an outcome. 

          Hello Mihai Virag, 

           

          I tried with the solution suggested however it shows an error while configuring the archive the artifacts and as well at end of the test as well. Please find the below the logs from Jenkins, 

           

          build Screenshot: Build_config_13112019.jpg

          Build Output Snap: 

          Processing results using Jenkins' success criteria.

          Processing results using Jenkins' success criteria.

          checking Success Criterion : All, Summary General, Transactions in "All" user type Succeeded. checking Success Criterion : All, Summary General, Errors in "All" user type Succeeded

          Could not add overview report action.

          Archiving artifacts‘WebProject/*/’ doesn’t match anything, but ‘’ does. Perhaps that’s what you mean?

          ERROR: Step ‘Archive the artifacts’ failed: No artifacts found that match the file pattern "WebProject/*/". Configuration error?

          Recording plot data

          Finished: FAILURE 

          Chandrakumar Sekar added a comment - Hello Mihai Virag,    I tried with the solution suggested however it shows an error while configuring the archive the artifacts and as well at end of the test as well. Please find the below the logs from Jenkins,    build Screenshot: Build_config_13112019.jpg Build Output Snap:  Processing results using Jenkins' success criteria. Processing results using Jenkins' success criteria. checking Success Criterion : All, Summary General, Transactions in "All" user type Succeeded. checking Success Criterion : All, Summary General, Errors in "All" user type Succeeded Could not add overview report action. Archiving artifacts‘WebProject/*/’ doesn’t match anything, but ‘’ does. Perhaps that’s what you mean? ERROR: Step ‘Archive the artifacts’ failed: No artifacts found that match the file pattern "WebProject/*/". Configuration error? Recording plot data Finished: FAILURE 

          Mihai Virag added a comment -

          You should use a "Source Code Management" for your project, svn or git as explained in the demo. If not, the project is not in workspace of jenkins and the archiving will not work, so jenkins is unable to copy/access results file from slave to master.

          Mihai Virag added a comment - You should use a "Source Code Management" for your project, svn or git as explained in the demo. If not, the project is not in workspace of jenkins and the archiving will not work, so jenkins is unable to copy/access results file from slave to master.

          Okay. Currently, I am not using any SCM for this activity, as i have started with a POC (Proof of Concept) on integration between the Silk Performer & jenkin to enable the CI CD approach in my testing life cycle. Probably let me look for getting the Git or SVN access and configure the same to try it out further. 

           

          May be will take sometime to get back with an update on this space. Appreciate your prompt response on this case, so far. 

          Chandrakumar Sekar added a comment - Okay. Currently, I am not using any SCM for this activity, as i have started with a POC (Proof of Concept) on integration between the Silk Performer & jenkin to enable the CI CD approach in my testing life cycle. Probably let me look for getting the Git or SVN access and configure the same to try it out further.    May be will take sometime to get back with an update on this space. Appreciate your prompt response on this case, so far. 

          Hello Mihai, 

           

          Im able to get the files stored in workspace and using the files in workspace, the plot are created in jenkins. So good to close this JIRA. 

           

          But before closing this JIRa, could you please help me to understand files are getting archived and plots are created with SCM and not locally? 

          Chandrakumar Sekar added a comment - Hello Mihai,    Im able to get the files stored in workspace and using the files in workspace, the plot are created in jenkins. So good to close this JIRA.    But before closing this JIRa, could you please help me to understand files are getting archived and plots are created with SCM and not locally? 

          Mihai Virag added a comment -

          yes, the files are getting archived and plots generated via the Silk Performer Jenkins Plugin

          Mihai Virag added a comment - yes, the files are getting archived and plots generated via the Silk Performer Jenkins Plugin

            mihai_virag Mihai Virag
            chandru_s Chandrakumar Sekar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: