[JIRA] (JENKINS-55215) Log from cmake/ctest steps isn't fully captured on OsX

2019-03-27 Thread fifteenknots...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Martin Weber commented on  JENKINS-55215  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Log from cmake/ctest steps isn't fully captured on OsX   
 

  
 
 
 
 

 
 I tried to reproduce this on a remote Linux agent by generationg lots of output. Pipeline script: 

 

node('linux') {
timestamps {
stage('all') {
   echo 'Hello World'
   sh label: 'ls', script: 'ls -lgGR /bin /lib /lib64 /opt /usr'
}
}
}
 

 Unfortunately, I could not reproduce the issue. Could you try to runs the script on an OSX agent to verify whether it is related to cmakebuilder or to pipeline?  
 

  
 
 
 
 

 
 
 

 
 
 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.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-55215) Log from cmake/ctest steps isn't fully captured on OsX

2019-03-27 Thread fifteenknots...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Martin Weber edited a comment on  JENKINS-55215  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Log from cmake/ctest steps isn't fully captured on OsX   
 

  
 
 
 
 

 
 I tried to reproduce this on a remote Linux agent by  generationg  generating  lots of output.Pipeline script:{code:java}node('linux') {timestamps {stage('all') {   echo 'Hello World'   sh label: 'ls', script: 'ls -lgGR /bin /lib /lib64 /opt /usr'}}}{code}Unfortunately, I could not reproduce the issue.Could you try to runs the script on an OSX agent to verify whether it is related to cmakebuilder or to pipeline?  
 

  
 
 
 
 

 
 
 

 
 
 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.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-55215) Log from cmake/ctest steps isn't fully captured on OsX

2019-01-15 Thread fifteenknots...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Martin Weber assigned an issue to Unassigned  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-55215  
 
 
  Log from cmake/ctest steps isn't fully captured on OsX   
 

  
 
 
 
 

 
Change By: 
 Martin Weber  
 
 
Assignee: 
 Martin Weber  
 

  
 
 
 
 

 
 
 

 
 
 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.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-55215) Log from cmake/ctest steps isn't fully captured on OsX

2019-01-06 Thread nekto1...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Marian Klymov commented on  JENKINS-55215  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Log from cmake/ctest steps isn't fully captured on OsX   
 

  
 
 
 
 

 
 I've tried on another project - sleep hasn't helped there     
 

  
 
 
 
 

 
 
 

 
 
 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.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-55215) Log from cmake/ctest steps isn't fully captured on OsX

2018-12-29 Thread nekto1...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Marian Klymov commented on  JENKINS-55215  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Log from cmake/ctest steps isn't fully captured on OsX   
 

  
 
 
 
 

 
 I've added sleep for 5 seconds in the end after sh 'umount...' Now log for ctest step is fully shown. But still 'sh' step starts in the middle of ctest output.    
 

  
 
 
 
 

 
 
 

 
 
 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.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-55215) Log from cmake/ctest steps isn't fully captured on OsX

2018-12-29 Thread fifteenknots...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Martin Weber updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-55215  
 
 
  Log from cmake/ctest steps isn't fully captured on OsX   
 

  
 
 
 
 

 
Change By: 
 Martin Weber  
 
 
Labels: 
 cmake log  pipeline  
 

  
 
 
 
 

 
 
 

 
 
 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.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-55215) Log from cmake/ctest steps isn't fully captured on OsX

2018-12-29 Thread fifteenknots...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Martin Weber commented on  JENKINS-55215  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Log from cmake/ctest steps isn't fully captured on OsX   
 

  
 
 
 
 

 
 Thanks for finding a related issue, I myself did not find one. The plugin does not do anything special to capture the build output. It just takes a TaskListener and a Launcher from the StepContext and passes the listener to the launcher. The listener is supposed to handle any build output. So I think this issue is related to JENKINS-32191, or at least to workflow plugin. Please note that JENKINS-32191 has been marked as resolved with  but the reason to resolve it is just a guess. Have you tried with inserting a 'sleep 3' command into your script as a workaround?    
 

  
 
 
 
 

 
 
 

 
 
 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.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-55215) Log from cmake/ctest steps isn't fully captured on OsX

2018-12-27 Thread nekto1...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Marian Klymov commented on  JENKINS-55215  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Log from cmake/ctest steps isn't fully captured on OsX   
 

  
 
 
 
 

 
 Output isn't fully showing even STDOUT. Maybe it has something to do with https://issues.jenkins-ci.org/browse/JENKINS-32191 ?    
 

  
 
 
 
 

 
 
 

 
 
 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.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-55215) Log from cmake/ctest steps isn't fully captured on OsX

2018-12-17 Thread fifteenknots...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Martin Weber commented on  JENKINS-55215  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Log from cmake/ctest steps isn't fully captured on OsX   
 

  
 
 
 
 

 
 Could it be that ANY output written to STDERR is missing in the logs?  
 

  
 
 
 
 

 
 
 

 
 
 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.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-55215) Log from cmake/ctest steps isn't fully captured on OsX

2018-12-16 Thread nekto1...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Marian Klymov created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-55215  
 
 
  Log from cmake/ctest steps isn't fully captured on OsX   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Martin Weber  
 
 
Attachments: 
 log_race.png, log_race2.png, log_race3.png  
 
 
Components: 
 cmakebuilder-plugin  
 
 
Created: 
 2018-12-16 12:27  
 
 
Environment: 
 Jenkins 2.150.1  CMake plugin 2.6.0  Pipeline 2.6  macOS 10.13.6  Remoting version: 3.27  
 
 
Labels: 
 log cmake  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 Marian Klymov  
 

  
 
 
 
 

 
 After some updates I've noticed that console isn't showing full log for cmake build and ctest run steps. "try { ... cmakeBuild buildDir: ..., cmakeArgs: cmake_params, generator: 'Xcode', installation: '(default)', sourceDir: source_dir, steps: [[args: '--config '+BuildConfiguration+' -- -j 4 -quiet', withCmake: true]] if (RunTests.toBoolean())  { ctest arguments: '-C '+BuildConfiguration+' --output-on-failure', installation: '(default)', workingDir: ... } } finally { sh 'umount ${WORKSPACE}/mnt/ThirdParties || true' }" I'm attaching examples. In one case there were failing unittests, but 'sh' step is shown in the middle of ctest log. In other cases with successful unittests log is missing last steps and some additional info from ctest.