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

IRC Bot should wait a bit before joining channels

    Details

    • Type: Improvement
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: ircbot-plugin
    • Labels:
      None
    • Environment:
      Hudson 1.359 on Linux inside Jetty, IRC Plugin v2.4
    • Similar Issues:

      Description

      We use an invite exclusion for the IRC bot based on a cloak that gets applied after the bot identifies to NickServ. The bot seems to try to identify, then join the channels before the network's services can apply the cloak, keeping the bot from joining the channel.

      It would be nice if the bot could wait for notification from services (I can't think of an IRC network agnostic way to do this), or at least sleep for a period of time after identifying to services.

        Attachments

        1. instant-messaging.hpi
          92 kB
          kutzi
        2. ircbot.hpi
          107 kB
          kutzi

          Issue Links

            Activity

            Hide
            rshelley rshelley added a comment -

            Upgraded to 1.382 and same issue persists. I wonder if it could be a issue that Hudson and my IRC server run on the same box?

            Show
            rshelley rshelley added a comment - Upgraded to 1.382 and same issue persists. I wonder if it could be a issue that Hudson and my IRC server run on the same box?
            Hide
            kutzi kutzi added a comment -

            rshelley: a stack dump of your Hudson server when it's currently trying to connect to your IRC server could help.

            What's the type of your IRC server?

            Show
            kutzi kutzi added a comment - rshelley: a stack dump of your Hudson server when it's currently trying to connect to your IRC server could help. What's the type of your IRC server?
            Hide
            rshelley rshelley added a comment -

            Tomcat stdout
            http://hudson.pastebin.com/hfYTJSii

            Thread Dump
            http://hudson.pastebin.com/hVbyhpDY

            IRC Server: Unreal 3.2

            Show
            rshelley rshelley added a comment - Tomcat stdout http://hudson.pastebin.com/hfYTJSii Thread Dump http://hudson.pastebin.com/hVbyhpDY IRC Server: Unreal 3.2
            Hide
            kutzi kutzi added a comment -

            Attached an ircbot.hpi which logs all server responses.
            Maybe you want to try it.

            Show
            kutzi kutzi added a comment - Attached an ircbot.hpi which logs all server responses. Maybe you want to try it.
            Hide
            kutzi kutzi added a comment -

            Fixed in IRC plugin 2.7

            rshelley: I believe what you see, is a different issue. If it persists please open a new JIRA issue for it.

            Show
            kutzi kutzi added a comment - Fixed in IRC plugin 2.7 rshelley: I believe what you see, is a different issue. If it persists please open a new JIRA issue for it.

              People

              • Assignee:
                kutzi kutzi
                Reporter:
                mwalling Mark Walling
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: