platform icon indicating copy to clipboard operation
platform copied to clipboard

Report warnings in Buildkite

Open paul-butcher opened this issue 3 years ago • 2 comments

I have noticed a few warnings in builds, but in order to spot them, I have had to go hunting through all the output. Ideally, the buildkite pipeline should scan the outputs for things it can identify as warnings and annotate the step.

Examples from catalogue-pipeline:

https://buildkite.com/wellcomecollection/catalogue-pipeline/builds/6307#d53fdfd0-4860-4d3e-82de-68c7af205b6a/131-328

***Warning: The 'dockerImageCreationTask' has not been defined. Please configure this setting to have Docker images built.***

https://buildkite.com/wellcomecollection/catalogue-pipeline/builds/6307#77608886-ef3d-4310-9cf1-cad845ac93ce/131-373

 [SierraPhysicalLocationType$] WARN  b27252541: Unable to map Sierra location name to LocationType: Digitised Collections

https://buildkite.com/wellcomecollection/catalogue-pipeline/builds/6307#2a1385ab-ff5e-48e5-ae55-8b52e8128996/131-688

You are using weco-deploy version 5.6.10. However, version 5.6.37 is available.
You should consider upgrading via the 'pip install --upgrade weco-deploy' command.

https://buildkite.com/wellcomecollection/catalogue-pipeline/builds/6307#6924dad4-bbdc-498e-b5c3-1f4314607422/131-278 https://buildkite.com/wellcomecollection/catalogue-pipeline/builds/6307#6924dad4-bbdc-498e-b5c3-1f4314607422/131-306

[warn] there were 26 feature warnings; re-run with -feature for details
...
[warn] There may be incompatibilities among your library dependencies; run 'evicted' to see detailed eviction warnings.

paul-butcher avatar Mar 01 '22 09:03 paul-butcher