Page MenuHomePhabricator

Automatic Benthos unittests in Puppet CI
Closed, ResolvedPublic

Description

Multiple SRE teams make use of Benthos configurations checked into Puppet (example)

These configs are essentially data transformation code, and usually include inline unittesting on sample data.

So let's test.

Event Timeline

Change #1103375 had a related patch set uploaded (by CDanis; author: CDanis):

[integration/config@master] operations-puppet: add benthos

https://gerrit.wikimedia.org/r/1103375

Change #1103382 had a related patch set uploaded (by CDanis; author: CDanis):

[operations/puppet@production] benthos: webrequest_live: fix unittest failure

https://gerrit.wikimedia.org/r/1103382

Change #1103383 had a related patch set uploaded (by CDanis; author: CDanis):

[operations/puppet@production] WIP: Benthos tests in CI

https://gerrit.wikimedia.org/r/1103383

Change #1103375 merged by jenkins-bot:

[integration/config@master] operations-puppet: add benthos

https://gerrit.wikimedia.org/r/1103375

Mentioned in SAL (#wikimedia-releng) [2024-12-13T16:32:37Z] <James_F> Docker: Build/deploy-ing operations-puppet:0.9.5 image with benthos, for T382156

Change #1103384 had a related patch set uploaded (by Jforrester; author: Jforrester):

[integration/config@master] jjb: [operations-puppet-tests-buster] Bump to image 0.9.5 with benthos

https://gerrit.wikimedia.org/r/1103384

Mentioned in SAL (#wikimedia-releng) [2024-12-13T16:40:37Z] <James_F> Jenkins: Pushing new version of operations-puppet-tests-buster for T382156

Change #1103384 merged by jenkins-bot:

[integration/config@master] jjb: [operations-puppet-tests-bullseye] Bump to image 0.9.5 with benthos

https://gerrit.wikimedia.org/r/1103384

Change #1103383 merged by CDanis:

[operations/puppet@production] Run profile::benthos::instance unittests in CI

https://gerrit.wikimedia.org/r/1103383

CDanis claimed this task.

Merged and tested: a successful run on a fix to an existing unittest that was failing at HEAD, and also to a pending patch with a typo.

Change #1103382 merged by CDanis:

[operations/puppet@production] benthos: webrequest_live: fix unittest failure

https://gerrit.wikimedia.org/r/1103382