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

log parser plugin fails on slave node

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • log-parser-plugin
    • Operating system: Ubuntu 16.04
      java version "9-ea"
      Java(TM) SE Runtime Environment (build 9-ea+134)
      Java HotSpot(TM) 64-Bit Server VM (build 9-ea+134, mixed mode)
      Jenkins ver. 2.7.4
      Log parser plugin 2.0

      Steps taken:
      1. I installed the log parser plugin,
      2. Setup my rules file on the master.
      3. created a job/build to run on a slave
      4. For this job, setup post-build actions with console output log parsing
      5. mark build failed on error
      6. Use global rules
      7. selected my rule file.

      When I execute the job, the job runs successfully however the log parsing failed.
      Clicking on the Parsed Console Output option, I get the following.

      ERROR: Failed to parse console log
      java.io.IOException: Remote call on centos7 failed

      So it looks like the log parser plugin cannot communicate with the slave node to get log output.

      Please help, this is so frustrating when things don't work as they should.

      Below is the output of the error in the jenkins.log

      Oct 08, 2016 11:13:36 AM hudson.plugins.logparser.LogParserPublisher perform
      SEVERE: log-parser plugin ERROR: Cannot parse log POCProject/TestJob #19
      java.io.IOException: Remote call on centos7 failed
      at hudson.remoting.Channel.call(Channel.java:789)
      at hudson.plugins.logparser.LogParserStatusComputer.computeStatusMatches(LogParserStatusComputer.java:47)
      at hudson.plugins.logparser.LogParserStatusComputer.<init>(LogParserStatusComputer.java:36)

        1. Selection_008.jpg
          Selection_008.jpg
          10 kB
        2. Selection_007.jpg
          Selection_007.jpg
          11 kB
        3. Selection_006.jpg
          Selection_006.jpg
          11 kB

            mreinhardt Martin Reinhardt
            stephanvdm77 Stephan van der Merwe
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: