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

atlassian / smith / 236
18%

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

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%)

35.52 hits per line

Jobs
ID Job ID Ran Files Coverage
1 236.1 02 Apr 2017 02:13AM UTC 0
60.71
Travis Job 236.1
2 236.2 02 Apr 2017 02:15AM UTC 0
60.71
Travis Job 236.2
Source Files on build 236
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #236
  • 5469ce53 on github
  • Prev Build on master (#232)
  • Next Build on master (#239)
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