Page MenuHomePhabricator

[CI] Filter what is printed to the console and log it to files
ClosedPublic

Authored by Fabien on Jun 26 2020, 12:43.

Details

Summary

This diffs cleans up the console output from the shell trace, making it
easier to read the teamcity build log (the shell traces are printed to stderr,
generating warnings). It also generates a couple log files which are always
added to the artifacts:

  • A clean log which has the same content as the console output for thebuild
  • A full log that includes the traces removed from the console output.

Depends on D6735.

Test Plan

Run any CI build plan.
Check the build log is free from the shell traces and that the artifact
archives contains the 2 build log variants at its root.

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Fabien requested review of this revision.Jun 26 2020, 12:43
Fabien planned changes to this revision.Jun 26 2020, 12:43
Fabien added inline comments.
contrib/teamcity/build-configurations.py
242 ↗(On Diff #21798)

Note to reviewers: no longer needed thanks to asyncio

Fabien requested review of this revision.Jun 26 2020, 13:06
This revision is now accepted and ready to land.Jun 26 2020, 13:33