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

IRC Configurations Not Available

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: ircbot-plugin
    • Labels:
      None
    • Environment:
      Hudson 1.351
      Windows 2000
      Tomcat 5.5
      Java 1.6.01 JDK
    • Similar Issues:

      Description

      I installed the IRC plugin a few days ago and configured it for my environment and customized each build's config appropriately, and the IRC bot does connect to my IRC Server (and for a bit everything worked perfectly), however, somewhere along the way the configurations for each build got lost and I don't have the options on their individual configuration screens any longer. The configuration for the IRC client under the Manage Hudson > Configure System is also missing, however, the bot does connect to the server still (but doesn't do anything because each build's configuration is missing). When looking at the Manage Hudson > Manage Plugins > Installed it does show that Hudson IRC plugin is installed.

      Installed Plugins:
      http://screencast.com/t/NzA0MGE2ZDk

      Example project missing IRC options:
      http://screencast.com/t/YWU3YzdlO

      IRC Channel - Hudson is online:
      http://screencast.com/t/YzJiMzAxNWMt

        Attachments

          Issue Links

            Activity

            Hide
            rshelley rshelley added a comment -

            Same as before.

            I'm logging all my connections, user and service, and I never see the IRC bot connect. Instead, I see:

            Sep 1, 2010 3:01:22 PM hudson.plugins.im.IMConnectionProvider$ConnectorRunnable run
            INFO: Trying to reconnect
            Sep 1, 2010 3:01:22 PM hudson.plugins.ircbot.v2.IRCConnection connect
            INFO: connected to IRC
            Sep 1, 2010 3:01:22 PM hudson.plugins.ircbot.v2.IRCConnection getGroupChat
            INFO: Trying to join channel #welcome

            Out of curiosity, I connected to IRC manually with the same user and password, and my connect log shows the connection and the session is established. Funny thing is, if I stay connected, the IRC bot from Hudson will try to reconnect and fail saying the nick is already taken. Thinking that maybe the bot is connecting as a service, I check my services log and I see my ChanServ bot connect, but not the IRC bot from Hudson.

            Does the pIRCBot try to connect to IRC as a service or as a regular user?

            Show
            rshelley rshelley added a comment - Same as before. I'm logging all my connections, user and service, and I never see the IRC bot connect. Instead, I see: Sep 1, 2010 3:01:22 PM hudson.plugins.im.IMConnectionProvider$ConnectorRunnable run INFO: Trying to reconnect Sep 1, 2010 3:01:22 PM hudson.plugins.ircbot.v2.IRCConnection connect INFO: connected to IRC Sep 1, 2010 3:01:22 PM hudson.plugins.ircbot.v2.IRCConnection getGroupChat INFO: Trying to join channel #welcome Out of curiosity, I connected to IRC manually with the same user and password, and my connect log shows the connection and the session is established. Funny thing is, if I stay connected, the IRC bot from Hudson will try to reconnect and fail saying the nick is already taken. Thinking that maybe the bot is connecting as a service, I check my services log and I see my ChanServ bot connect, but not the IRC bot from Hudson. Does the pIRCBot try to connect to IRC as a service or as a regular user?
            Hide
            rshelley rshelley added a comment -

            It's timing out here:

            // TODO: how to check that join was successful (channelJoined is called later -
            // how long should we possibly wait until we declare that join was unsuccessful?)
            this.bots.add(new Bot(new IRCChannel(channel.getName(), this.pircConnection),
            this.descriptor.getNick(), this.descriptor.getHost(),
            this.descriptor.getCommandPrefix(), this.authentication));

            The Plugin will keep trying to reconnect, but something about the connection isn't going through. I've tried messaging the plugin's nick from my account while the plugin attempts to connect and it doesn't register as being connected. I'm not sure if the connection failed but it thinks it hasn't so it seems to be trying to join a channel and timing out. I'm not sure though...

            Show
            rshelley rshelley added a comment - It's timing out here: // TODO: how to check that join was successful (channelJoined is called later - // how long should we possibly wait until we declare that join was unsuccessful?) this.bots.add(new Bot(new IRCChannel(channel.getName(), this.pircConnection), this.descriptor.getNick(), this.descriptor.getHost(), this.descriptor.getCommandPrefix(), this.authentication)); The Plugin will keep trying to reconnect, but something about the connection isn't going through. I've tried messaging the plugin's nick from my account while the plugin attempts to connect and it doesn't register as being connected. I'm not sure if the connection failed but it thinks it hasn't so it seems to be trying to join a channel and timing out. I'm not sure though...
            Hide
            kutzi kutzi added a comment -

            Wait, we are talking about 2 different issues now:
            I) IRC configuration options not available
            II) ircbot cannot connect - which is a new issues AFAIR

            Any updates on I?

            Regarding II, as a wild guess: has this anything to do with JENKINS-6600?
            If not please open a new issue for that problem.

            Show
            kutzi kutzi added a comment - Wait, we are talking about 2 different issues now: I) IRC configuration options not available II) ircbot cannot connect - which is a new issues AFAIR Any updates on I? Regarding II, as a wild guess: has this anything to do with JENKINS-6600 ? If not please open a new issue for that problem.
            Hide
            rshelley rshelley added a comment -

            Gah! Sorry! Yes! The configs ARE available again in both the Hudson Configure and job Configure screens, and yes on JENKINS-600 with my current issue. I'll follow up there. Sorry for the confusion, and thanks for the effort you've put in to following up on this issue!

            Show
            rshelley rshelley added a comment - Gah! Sorry! Yes! The configs ARE available again in both the Hudson Configure and job Configure screens, and yes on JENKINS-600 with my current issue. I'll follow up there. Sorry for the confusion, and thanks for the effort you've put in to following up on this issue!
            Hide
            kutzi kutzi added a comment -

            Thanks for retesting this

            Show
            kutzi kutzi added a comment - Thanks for retesting this

              People

              • Assignee:
                kutzi kutzi
                Reporter:
                rshelley rshelley
              • Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: