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

slave keeps giving traceback while executing job

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • core
    • None

      I just added two new slaves (both Ubuntu Lucid/10.04) and both of them give me a traceback half-way through running a build job. The same build job works fine on just about everything else.

      The traceback is at: http://pastebin.com/7Rb9arwk

      But you can also see it at:

      http://hudson.drizzle.org/job/drizzle-build-ubuntu10.04-64bit/3/console

      Also looks like another job that used to work before I upgraded to latest hudson is now broken:

      hudson.drizzle.org/job/drizzle-build-ubuntu910-64bit/234/console

      I'm guessing from the traceback that it's trying to make some nice links for me, and it's not working out.

          [JENKINS-6414] slave keeps giving traceback while executing job

          Monty Taylor added a comment -

          I reverted this change:

          Index: core/src/main/java/hudson/console/UrlAnnotator.java
          ===================================================================
          — core/src/main/java/hudson/console/UrlAnnotator.java (revision 30512)
          +++ core/src/main/java/hudson/console/UrlAnnotator.java (working copy)
          @@ -42,7 +42,7 @@
          */
          private static final Pattern URL = Pattern.compile("\\b(http|https|ftp)://[^\\s<>]+[^\\s<>,:\"'()\\[
          ]=]");

          • private static final String OPEN = "'\"()[]<>";
          • private static final String CLOSE= "'\")(][><";
            + private static final String OPEN = "'\"([<";
            + private static final String CLOSE= "'\")]>";
            }
            }

          and it fixes the problem. Not sure what the full cause was - but the log section it dies on is:

          make[1]: Entering directory `/home/hudson/hudson/workspace/drizzle-build-ubuntu10.04-32bit/po'
          make update-po
          make[2]: Entering directory `/home/hudson/hudson/workspace/drizzle-build-ubuntu10.04-32bit/po'
          make drizzle.pot-update
          make[3]: Entering directory `/home/hudson/hudson/workspace/drizzle-build-ubuntu10.04-32bit/po'
          sed -e '/^#/d' remove-potcdate.sin > t-remove-potcdate.sed
          mv t-remove-potcdate.sed remove-potcdate.sed
          if LC_ALL=C grep 'GNU drizzle' ../* 2>/dev/null | grep -v 'libtool:' >/dev/null; then \
          package_gnu='GNU '; \
          else \
          package_gnu=''; \
          fi; \
          if test -n 'http://translations.launchpad.net/drizzle' || test 'http://bugs.launchpad.net/drizzle' = '@'PACKAGE_BUGREPORT'@'; then \
          msgid_bugs_address='http://translations.launchpad.net/drizzle'; \
          else \
          msgid_bugs_address='http://bugs.launchpad.net/drizzle'; \
          fi; \
          case `/usr/bin/xgettext --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
          '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \
          /usr/bin/xgettext --no-location --default-domain=drizzle --directory=.. \
          --add-comments=TRANSLATORS: --keyword=_ --keyword=N_ \
          --files-from=./POTFILES.in \
          --copyright-holder='Sun Microsystems' \
          --msgid-bugs-address="$msgid_bugs_address" \
          ;; \
          *) \
          /usr/bin/xgettext --no-location --default-domain=drizzle --directory=.. \
          --add-comments=TRANSLATORS: --keyword=_ --keyword=N_ \
          --files-from=./POTFILES.in \
          --copyright-holder='Sun Microsystems' \
          --package-name="${package_gnu}drizzle" \
          --package-version='2010.05.1516' \
          --msgid-bugs-address="$msgid_bugs_address" \
          ;; \
          esac

          The processed log prints as far as:

          if test -n 'http://translations.launchpad.net/drizzle' || test 'http://bugs.launchpad.net/drizzle' = '@'PACKAGE_BUGREPORT'@'; then \

          And then has the death.

          Monty Taylor added a comment - I reverted this change: Index: core/src/main/java/hudson/console/UrlAnnotator.java =================================================================== — core/src/main/java/hudson/console/UrlAnnotator.java (revision 30512) +++ core/src/main/java/hudson/console/UrlAnnotator.java (working copy) @@ -42,7 +42,7 @@ */ private static final Pattern URL = Pattern.compile("\\b(http|https|ftp):// [^\\s<>] +[^\\s<>,:\"'()\\[ ]=]"); private static final String OPEN = "'\"()[]<>"; private static final String CLOSE= "'\")(][><"; + private static final String OPEN = "'\"([<"; + private static final String CLOSE= "'\")]>"; } } and it fixes the problem. Not sure what the full cause was - but the log section it dies on is: make [1] : Entering directory `/home/hudson/hudson/workspace/drizzle-build-ubuntu10.04-32bit/po' make update-po make [2] : Entering directory `/home/hudson/hudson/workspace/drizzle-build-ubuntu10.04-32bit/po' make drizzle.pot-update make [3] : Entering directory `/home/hudson/hudson/workspace/drizzle-build-ubuntu10.04-32bit/po' sed -e '/^#/d' remove-potcdate.sin > t-remove-potcdate.sed mv t-remove-potcdate.sed remove-potcdate.sed if LC_ALL=C grep 'GNU drizzle' ../* 2>/dev/null | grep -v 'libtool:' >/dev/null; then \ package_gnu='GNU '; \ else \ package_gnu=''; \ fi; \ if test -n 'http://translations.launchpad.net/drizzle' || test 'http://bugs.launchpad.net/drizzle' = '@'PACKAGE_BUGREPORT'@'; then \ msgid_bugs_address='http://translations.launchpad.net/drizzle'; \ else \ msgid_bugs_address='http://bugs.launchpad.net/drizzle'; \ fi; \ case `/usr/bin/xgettext --version | sed 1q | sed -e 's,^ [^0-9] *,,'` in \ '' | 0. [0-9] | 0. [0-9] .* | 0.1 [0-5] | 0.1 [0-5] .* | 0.16 | 0.16. [0-1] *) \ /usr/bin/xgettext --no-location --default-domain=drizzle --directory=.. \ --add-comments=TRANSLATORS: --keyword=_ --keyword=N_ \ --files-from=./POTFILES.in \ --copyright-holder='Sun Microsystems' \ --msgid-bugs-address="$msgid_bugs_address" \ ;; \ *) \ /usr/bin/xgettext --no-location --default-domain=drizzle --directory=.. \ --add-comments=TRANSLATORS: --keyword=_ --keyword=N_ \ --files-from=./POTFILES.in \ --copyright-holder='Sun Microsystems' \ --package-name="${package_gnu}drizzle" \ --package-version='2010.05.1516' \ --msgid-bugs-address="$msgid_bugs_address" \ ;; \ esac The processed log prints as far as: if test -n 'http://translations.launchpad.net/drizzle' || test 'http://bugs.launchpad.net/drizzle' = '@'PACKAGE_BUGREPORT'@'; then \ And then has the death.

            Unassigned Unassigned
            sdirector Monty Taylor
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: