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

Logparser pipeline step hangs .

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • log-parser-plugin
    • None
    • jenkins Version 2.462.1
      logparser plugin Version 2.3.5

      We have a logparser step in our pipeline.

      99% of the time the step takes under 1sec. but sometimes the logparser does not exit.

      and then the whole pipeline times out.

      No timeout. 

      14:50:32 No translation files to commit - exit
      [Pipeline] }
      [Pipeline] // script
      [Pipeline] }
      [Pipeline] // stage
      [Pipeline] stage
      [Pipeline] { (Declarative: Post Actions)
      [Pipeline] logParser
      [Pipeline] script
      [Pipeline] {

       

      Stage Logs (Declarative: Post Actions)  
          Console output (build log) parsing  (self time 484ms)    

       
      Time out: Logparser is not completed after 20min. 

      21:58:26 No translation files to commit - exit
      [Pipeline] }
      [Pipeline] // script
      [Pipeline] }
      [Pipeline] // stage
      [Pipeline] stage
      [Pipeline] { (Declarative: Post Actions)
      [Pipeline] logParser
      22:20:10 Cancelling nested steps due to timeout
      Stage Logs (Declarative: Post Actions) 
            Console output (build log) parsing (self time 21min 44s)

      Pipeline:
       

      post {       
      always {       
         step([$class: 'LogParserPublisher',
                   failBuildOnError: false, 
                   unstableOnWarning: false,     
                   parsingRulesPath: env.WORKSPACE + '\\Tools\\Jenkins\\logParsingRegex.txt',  
                 useProjectRule: false])

       

            mreinhardt Martin Reinhardt
            jens_lund_jensen Jens
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: