• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

projectatomic / atomic-reactor / 3623
96%

Build:
DEFAULT BRANCH: master
Ran 12 Jul 2017 09:57AM UTC
Jobs 3
Files 61
Run time 52s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
3623

push

travis-ci

twaugh
logging: Add 'arch' to all log output

To help with multiplexing orchestrator logs and worker build logs,
add an 'arch' component to the log output.

Orchestrator has no 'arch' and outputs a '-'.

This is done by using the LoggerAdapter for the worker builds.  Instead
of littering LoggerAdapter all of the git tree, just use a custom LogFormatter
and default arch to '-' for the orchestrator logs.

Output goes from:

2017-07-07 16:10:52,214 - atomic_reactor.plugins.orchestrate_build - INFO - platform x86_64 will use cluster worker_x86_64
2017-07-07 16:10:52,214 - atomic_reactor.plugins.orchestrate_build - INFO - x86_64 - created build worker-build-x86_64
2017-07-07 16:10:52,215 - atomic_reactor.plugins.orchestrate_build - INFO - <generator object <genexpr> at 0x7f8fbe0a6460>

To:

2017-07-07 16:10:52,214 platform:- - atomic_reactor.plugins.orchestrate_build - INFO - platform x86_64 will use cluster worker_x86_64
2017-07-07 16:10:52,214 platform:- - atomic_reactor.plugins.orchestrate_build - INFO - x86_64 - created build worker-build-x86_64
2017-07-07 16:10:52,215 platform:x86_64 - atomic_reactor.plugins.orchestrate_build - INFO - <generator object <genexpr> at 0x7f8fbe0a6460>

Unit test updated to parse the capture log and verify record.arch is set correctly.

This change only affects atomic_reactor project logging.  Other modules are not
impacted and will not have the 'arch' set (ie Docker output).

[V2] small requested cleanups
[V3] revert log info line change
     fix testcase failure
[V4] add log format as a constant to import

Signed-off-by: Don Zickus <dzickus@redhat.com>

4756 of 5136 relevant lines covered (92.6%)

2.71 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3623.1 12 Jul 2017 09:57AM UTC 0
92.13
Travis Job 3623.1
2 3623.2 12 Jul 2017 09:58AM UTC 0
89.45
Travis Job 3623.2
3 3623.3 12 Jul 2017 09:58AM UTC 0
89.45
Travis Job 3623.3
Source Files on build 3623
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3623
  • 49f5103c on github
  • Prev Build on master (#3622)
  • Next Build on master (#3633)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc