Blaine Young edited a comment on Bug JENKINS-25520

It happened again this morning. Here's the script trigger output:

Polling started on Nov 18, 2014 9:03:29 AM
Polling for the job InstallAndRunAllTests
Looking nodes where the poll can be run.
Looking for a candidate node to run the poll.
Looking for a node with no predefined label.
Trying to poll with the last built on node.

Polling on master.
The expected script execution code is 1
Evaluating the script:
#!/bin/bash

    1. Get the bldinfo file from all E-Boxes
      NONCONSISTENT=false
      boxes=(
      alpha
      beta
      charlie
      kilo
      lima
      mike
      november
      papa
      quebec
      romeo
      sierra
      )
      firstBox=${boxes[0]}
      for box in ${boxes[@]}; do
      scp user@$box:/usr/oec/bldinfo /tmp/bldinfo-$box
      if ! diff /tmp/bldinfo-$firstBox /tmp/bldinfo-$box; then
      NONCONSISTENT=true
      echo "Nonconsistent builds exist between $firstBox and $box" >&2
      break
      fi
      done

      DAILY_BUILD_ROOT=/dailyBuild/release
      NEWEST_BUILD_INFO="$(find "$DAILY_BUILD_ROOT" -maxdepth 3 -name bldinfo -exec ls -lt {} + | head -n 1 | awk '{ print $9 }')"

      if diff /tmp/bldinfo-$firstBox $NEWEST_BUILD_INFO && [ "$NONCONSISTENT" != "true" ]; then
      exit 0 # Nothing to do
      else
      exit 1 # Let's do something
      fi

      for box in ${boxes[@]}; do
      rm /tmp/bldinfo-$box
      done
      [ERROR] - Polling error...
      [ERROR] - Error message: 95

Any insight or help?

Since I've received no reply about someone working on this, I'll clear it and let you know if it happens again.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Reply via email to