-
Bug
-
Resolution: Unresolved
-
Minor
-
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])
[JENKINS-73671] Logparser pipeline step hangs .
Description |
Original:
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] { {code:java} Stage Logs (Declarative: Post Actions) Console output (build log) parsing (self time 484ms) {code} 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 {code:java} Stage Logs (Declarative: Post Actions) Console output (build log) parsing (self time 21min 44s){code} Pipeline: {code:java} post { always { step([$class: 'LogParserPublisher', failBuildOnError: false, unstableOnWarning: false, parsingRulesPath: env.WORKSPACE + '\\Tools\\Jenkins\\logParsingRegex.txt', useProjectRule: false]){code} |
New:
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. ** {code:java} 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] {{code} {code:java} Stage Logs (Declarative: Post Actions) Console output (build log) parsing (self time 484ms) {code} Time out: Logparser is not completed after 20min. ** {code:java} 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{code} {code:java} Stage Logs (Declarative: Post Actions) Console output (build log) parsing (self time 21min 44s){code} Pipeline: {code:java} post { always { step([$class: 'LogParserPublisher', failBuildOnError: false, unstableOnWarning: false, parsingRulesPath: env.WORKSPACE + '\\Tools\\Jenkins\\logParsingRegex.txt', useProjectRule: false]){code} |
Description |
Original:
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. ** {code:java} 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] {{code} {code:java} Stage Logs (Declarative: Post Actions) Console output (build log) parsing (self time 484ms) {code} Time out: Logparser is not completed after 20min. ** {code:java} 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{code} {code:java} Stage Logs (Declarative: Post Actions) Console output (build log) parsing (self time 21min 44s){code} Pipeline: {code:java} post { always { step([$class: 'LogParserPublisher', failBuildOnError: false, unstableOnWarning: false, parsingRulesPath: env.WORKSPACE + '\\Tools\\Jenkins\\logParsingRegex.txt', useProjectRule: false]){code} |
New:
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. {code:java} 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] {{code} {code:java} Stage Logs (Declarative: Post Actions) Console output (build log) parsing (self time 484ms) {code} Time out: Logparser is not completed after 20min. {code:java} 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{code} {code:java} Stage Logs (Declarative: Post Actions) Console output (build log) parsing (self time 21min 44s){code} Pipeline: {code:java} post { always { step([$class: 'LogParserPublisher', failBuildOnError: false, unstableOnWarning: false, parsingRulesPath: env.WORKSPACE + '\\Tools\\Jenkins\\logParsingRegex.txt', useProjectRule: false]){code} |
some jenkins log