Closed Bug 1021600 Opened 10 years ago Closed 10 years ago

slave_health needs to be updated to manage b-linux64-hp boxes for "build" slaveclass

Categories

(Release Engineering :: General, defect, P2)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sbruno, Assigned: coop)

Details

Cron Daemon on cruncher has being sending the following notification:

Unknown slave_type for build: b-linux64-hp-0025
Unknown slave_type for build: b-linux64-hp-0026
Unknown slave_type for build: b-linux64-hp-0027
Unknown slave_type for build: b-linux64-hp-0028
Unknown slave_type for build: b-linux64-hp-0029

The script used for the cron'd notification (/home/buildduty/slave_health/slave_health.py on cruncher) needs to be updated to manage b-linux64-hp boxes for "build" slaveclass by updating the slave_state_rollup dict:


slave_state_rollup = {
# omissis
    'build': {
        'bld-centos5-64-vmw': {},
        'bld-centos6-hp': {},
        'bld-linux64-ec2': {},
        'bld-linux64-ix': {},
        'b-linux64-ix': {},
        'bld-linux64-spot': {},
        'linux-ix': {},
        'linux64-ix': {},
        'bld-lion-r5': {},
        'mw32-ix': {},
        'w64-ix': {},
        'b-2008-ix': {},
        'b-2008-sm': {},
        },
    'try': {
# omissis...
      }
# omissis...
    }
I guess changes are needed also to other slave_health files, similarly to what has been done here: http://hg.mozilla.org/build/slave_health/rev/464c8515bd12
Summary: slave_health.py needs to be updated to manage b-linux64-hp boxes for "build" slaveclass → needs to be updated to manage b-linux64-hp boxes for "build" slaveclass
Summary: needs to be updated to manage b-linux64-hp boxes for "build" slaveclass → slave_health needs to be updated to manage b-linux64-hp boxes for "build" slaveclass
There is discussion going on about having a Single Source of Truth for slaves (https://bugzilla.mozilla.org/show_bug.cgi?id=1020202#c4).

I guess when this is decided and implemented, slave_health should also use that source of info for the displayed information (and for notifications) instead of its own data sources for types of slaves.
Assignee: nobody → coop
Status: NEW → ASSIGNED
Priority: -- → P2
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Component: Tools → General
You need to log in before you can comment on or make changes to this bug.