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

atlassian / smith / 234
61%
master: 18%

Build:
Build:
LAST BUILD BRANCH: fix-nil-pointer-deref
DEFAULT BRANCH: master
Ran 01 Apr 2017 11:44PM UTC
Jobs 2
Files 3
Run time 3min
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
234

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/atlas... (continued)

102 of 168 relevant lines covered (60.71%)

35.55 hits per line

Jobs
ID Job ID Ran Files Coverage
1 234.1 01 Apr 2017 11:44PM UTC 0
60.71
Travis Job 234.1
2 234.2 01 Apr 2017 11:47PM UTC 0
60.71
Travis Job 234.2
Source Files on build 234
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #234
  • 052b5638 on github
  • Prev Build on no-locks (#233)
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