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

Symantec / Dominator / 815
37%
master: 39%

Build:
Build:
LAST BUILD BRANCH: filegen-lock
DEFAULT BRANCH: master
Ran 05 Mar 2020 05:41AM UTC
Jobs 1
Files 66
Run time 7s
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

05 Mar 2020 05:39AM UTC coverage: 36.715% (-1.9%) from 38.592%
815

Pull #653

travis-ci

web-flow
filegen locks to avoid concurrent map read+write

filegen has been observed to sometimes panic with the following error when registering several watches in a row.

each "register" call starts a goroutine which goes on to read from a map.

```
fatal error: concurrent map read and map write
 goroutine 158 [running]:
 runtime.throw(0x1405d8f, 0x21)
         GOROOT/src/runtime/panic.go:774 +0x72 fp=0xc0006d0ae0 sp=0xc0006d0ab0 pc=0x42f562
 runtime.mapaccess1_faststr(0x11c27a0, 0xc000737ef0, 0x1417f88, 0x2d, 0x0)
         GOROOT/src/runtime/map_faststr.go:21 +0x44f fp=0xc0006d0b50 sp=0xc0006d0ae0 pc=0x412baf
 github.com/Symantec/Dominator/lib/filegen.(*Manager).processPathDataInvalidations(0xc0004b54f0, 0x1417f88, 0x2d, 0xc000724360)
         external/com_github_symantec_dominator/lib/filegen/register.go:47 +0x6d fp=0xc0006d0fc0 sp=0xc0006d0b50 pc=0x102449d
 runtime.goexit()
         src/runtime/asm_amd64.s:1357 +0x1 fp=0xc0006d0fc8 sp=0xc0006d0fc0 pc=0x45f111
 created by github.com/Symantec/Dominator/lib/filegen.(*Manager).registerHashGeneratorForPath
         external/com_github_symantec_dominator/lib/filegen/register.go:41 +0x15d
```
Pull Request #653: filegen locks to avoid concurrent map read+write

380 of 380 new or added lines in 13 files covered. (100.0%)

1549 of 4219 relevant lines covered (36.71%)

5619.88 hits per line

Jobs
ID Job ID Ran Files Coverage
1 815.1 05 Mar 2020 05:41AM UTC 0
36.71
Travis Job 815.1
Source Files on build 815
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #815
  • Pull Request #653
  • PR Base - master (#813)
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