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

atlassian / smith / 236 / 1
18%
master: 18%

Build:
DEFAULT BRANCH: master
Ran 02 Apr 2017 02:13AM UTC
Files 3
Run time 0s
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

02 Apr 2017 01:59AM UTC coverage: 60.714%. Remained the same
236.1

push

travis-ci

ash2k
Rework processor-worker interaction

1. Interrupt backoff sleep if bundle needs to be rebuilt
2. Use channels instead of locks
3. Worker does not depend on processor directly
4. Fix datarace on waitgroup

==================
WARNING: DATA RACE
Write at 0x00c4202dbc54 by goroutine 75:
  internal/race.Write()
      /usr/local/Cellar/go/1.8/libexec/src/internal/race/race.go:41 +0x38
  sync.(*WaitGroup).Wait()
      /usr/local/Cellar/go/1.8/libexec/src/sync/waitgroup.go:129 +0x14b
  github.com/atlassian/smith/pkg/processor.(*BundleProcessor).Join()
      /Users/ash2k/gopath/src/github.com/atlassian/smith/pkg/processor/processor.go:56 +0x3e
  github.com/atlassian/smith/pkg/app.(*App).Run()
      /Users/ash2k/gopath/src/github.com/atlassian/smith/pkg/app/app.go:107 +0xe4d
  github.com/atlassian/smith/integration_tests.TestTprAttribute.func2()
      /Users/ash2k/gopath/src/github.com/atlassian/smith/integration_tests/tpr_attribute_test.go:99 +0xc2

Previous read at 0x00c4202dbc54 by goroutine 110:
  internal/race.Read()
      /usr/local/Cellar/go/1.8/libexec/src/internal/race/race.go:37 +0x38
  sync.(*WaitGroup).Add()
      /usr/local/Cellar/go/1.8/libexec/src/sync/waitgroup.go:71 +0x26b
  github.com/atlassian/smith/pkg/processor.(*BundleProcessor).Rebuild()
      /Users/ash2k/gopath/src/github.com/atlassian/smith/pkg/processor/processor.go:76 +0x3e0
  github.com/atlassian/smith/pkg/app.(*resourceEventHandler).rebuildByName()
      /Users/ash2k/gopath/src/github.com/atlassian/smith/pkg/app/resource_event_handler.go:52 +0x4b3
  github.com/atlassian/smith/pkg/app.(*resourceEventHandler).OnUpdate()
      /Users/ash2k/gopath/src/github.com/atlassian/smith/pkg/app/resource_event_handler.go:33 +0x16f
  github.com/atlassian/smith/vendor/k8s.io/client-go/tools/cache.(*processorListener).run()
      /Users/ash2k/gopath/src/github.com/atlassian/smith/vendor/k8s.io/client-go/tools/cache/shared_informer.go:545 +0x353

Goroutine 75 (running) created at:
  github.com/atlassian/smith/integration_tests.TestTprAttribute()
      /Users/ash2k/gopath/src/github.com/atlassian/smith/integration_tests/tpr_attribute_test.go:102 +0x658
  testing.tRunner()
      /usr/local/Cellar/go/1.8/libexec/src/testing/testing.go:657 +0x107

Goroutine 110 (finished) created at:
  github.com/atlassian/smith/vendor/k8s.io/client-go/tools/cache.(*sharedProcessor).run()
      /Users/ash2k/gopath/src/github.com/atlassian/smith/vendor/k8s.io/client-go/tools/cache/shared_informer.go:402 +0xe3
  github.com/atlassian/smith/vendor/k8s.io/client-go/tools/cache.(*sharedIndexInformer).Run()
      /Users/ash2k/gopath/src/github.com/atlassian/smith/vendor/k8s.io/client-go/tools/cache/shared_informer.go:212 +0x618
==================

102 of 168 relevant lines covered (60.71%)

17.77 hits per line

Source Files on job 236.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 236
  • Travis Job 236.1
  • 5469ce53 on github
  • Prev Job for on master (#232.1)
  • Next Job for on master (#239.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc