Subversion Repositories DevTools

Rev

Rev 7082 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7082 Rev 7176
Line 101... Line 101...
101
 
101
 
102
        /**accessor
102
        /**accessor
103
         */
103
         */
104
        int getRconId()
104
        int getRconId()
105
        {
105
        {
106
            mLogger.info("get_rcon_id returned {}", mRconId);
106
            mLogger.debug("get_rcon_id returned {}", mRconId);
107
            return mRconId;
107
            return mRconId;
108
        }
108
        }
109
 
109
 
110
        /**accessor
110
        /**accessor
111
         */
111
         */
Line 323... Line 323...
323
    /**
323
    /**
324
     * Notify all build threads of some activity
324
     * Notify all build threads of some activity
325
     * This will release all threads waiting on the ActiveBuildMonitor
325
     * This will release all threads waiting on the ActiveBuildMonitor
326
     */
326
     */
327
    public void notifyAllBuildThreads() {
327
    public void notifyAllBuildThreads() {
328
        mLogger.error("notifyAllBuildThreads");
328
        mLogger.warn("notifyAllBuildThreads");
329
        for (Iterator<ThreadIdentifier> it = mThreadCollection.iterator(); it.hasNext(); )
329
        for (Iterator<ThreadIdentifier> it = mThreadCollection.iterator(); it.hasNext(); )
330
        {
330
        {
331
            ThreadIdentifier threadIdentifier = it.next();
331
            ThreadIdentifier threadIdentifier = it.next();
332
 
332
 
333
            if (threadIdentifier.mThread.isAlive())
333
            if (threadIdentifier.mThread.isAlive())
Line 347... Line 347...
347
     * 
347
     * 
348
     *  @param  releaseManager - The release Manager instance
348
     *  @param  releaseManager - The release Manager instance
349
     *  @param  utf            - Unit Test information 
349
     *  @param  utf            - Unit Test information 
350
     */
350
     */
351
    private void lookForNewBuildDaemons (ReleaseManager releaseManager, String utf) {
351
    private void lookForNewBuildDaemons (ReleaseManager releaseManager, String utf) {
352
        mLogger.error("lookForNewBuildDaemons as {}", mHostname );
352
        mLogger.warn("lookForNewBuildDaemons as {}", mHostname );
353
        try
353
        try
354
        {
354
        {
355
            // Create a list of all machines that are configured to run on this machine
355
            // Create a list of all machines that are configured to run on this machine
356
            //
356
            //
357
            releaseManager.queryReleaseConfig(mHostname);
357
            releaseManager.queryReleaseConfig(mHostname);
Line 370... Line 370...
370
                    //  Ensure the Release is configured with exactly one master
370
                    //  Ensure the Release is configured with exactly one master
371
                    //
371
                    //
372
                    int masterCount = releaseManager.queryMasterCount( rc.getRtagId() );
372
                    int masterCount = releaseManager.queryMasterCount( rc.getRtagId() );
373
                    if ( masterCount != 1 )
373
                    if ( masterCount != 1 )
374
                    {
374
                    {
375
                        mLogger.error("BuildDaemon activating. Invalid Masters {} MasterCount: {}", rc.getRtagId(),  masterCount );
375
                        mLogger.warn("BuildDaemon activating. Invalid Masters {} MasterCount: {}", rc.getRtagId(),  masterCount );
376
                        continue;
376
                        continue;
377
                    }
377
                    }
378
                    
378
                    
379
                    mLogger.warn("BuildDaemon activating {} {} {}",rc.getRtagId(), rc.getRconId(), rc.getDaemonMode());
379
                    mLogger.warn("BuildDaemon activating {} {} {}",rc.getRtagId(), rc.getRconId(), rc.getDaemonMode());
380
                    
380
                    
Line 611... Line 611...
611
    {
611
    {
612
        while (sleepSecs > 0)
612
        while (sleepSecs > 0)
613
        {
613
        {
614
            if (mShutDown)
614
            if (mShutDown)
615
            {
615
            {
616
                mLogger.error("daemonSleepSecs detected termiantion request");
616
                mLogger.warn("daemonSleepSecs detected termination request");
617
                return true;
617
                return true;
618
            }
618
            }
619
            
619
            
620
            int sleepTime = sleepSecs;
620
            int sleepTime = sleepSecs;
621
            if (sleepTime > 5)
621
            if (sleepTime > 5)