buildbot starts even with puppet warnings

RESOLVED WORKSFORME

Status

P3
normal
RESOLVED WORKSFORME
7 years ago
5 years ago

People

(Reporter: catlee, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [puppet])

(Reporter)

Description

7 years ago
On a linux slave:

/usr/sbin/puppetd --server=scl-production-puppet.build.scl1.mozilla.com  --test ; echo $?
warning: Not using cache on failed catalog
warning: Configuration could not be instantiated: Could not find dependency Package[nrpe] for File[/etc/nagios/nrpe.cfg] at /etc/puppet/manifests/modules/nagios/manifests/service.pp:46
0

We need to detect this and prevent buildbot from starting.
Priority: -- → P3
Newer puppets do better with exit statuses.  The /etc/init.d/puppet looks for ^err:, and could be easily extended to also look for ^warning:
Product: mozilla.org → Release Engineering
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.