Created
May 25, 2016 18:20
-
-
Save samuelkarp/702b6f555001227792da6d7f2449f885 to your computer and use it in GitHub Desktop.
awslogs: Race detector output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ go test -v -race -timeout=5s ./daemon/logger/awslogs/... -run TestCollectBatchMaxTotalBytes | |
=== RUN TestCollectBatchMaxTotalBytes | |
================== | |
WARNING: DATA RACE | |
Read by goroutine 14: | |
github.com/docker/docker/daemon/logger/awslogs.TestCollectBatchMaxTotalBytes.func3() | |
/home/local/ANT/skarp/go/src/github.com/docker/docker/daemon/logger/awslogs/cloudwatchlogs_test.go:613 +0x260 | |
Previous write by goroutine 9: | |
github.com/docker/docker/daemon/logger/awslogs.(*logStream).collectBatch() | |
/home/local/ANT/skarp/go/src/github.com/docker/docker/daemon/logger/awslogs/cloudwatchlogs.go:264 +0x65a | |
Goroutine 14 (running) created at: | |
github.com/docker/docker/daemon/logger/awslogs.TestCollectBatchMaxTotalBytes() | |
/home/local/ANT/skarp/go/src/github.com/docker/docker/daemon/logger/awslogs/cloudwatchlogs_test.go:629 +0x6c5 | |
testing.tRunner() | |
/home/local/ANT/skarp/.gobin/go/src/testing/testing.go:473 +0xdc | |
Goroutine 9 (running) created at: | |
github.com/docker/docker/daemon/logger/awslogs.TestCollectBatchMaxTotalBytes() | |
/home/local/ANT/skarp/go/src/github.com/docker/docker/daemon/logger/awslogs/cloudwatchlogs_test.go:598 +0x500 | |
testing.tRunner() | |
/home/local/ANT/skarp/.gobin/go/src/testing/testing.go:473 +0xdc | |
================== | |
================== | |
WARNING: DATA RACE | |
Read by goroutine 14: | |
github.com/docker/docker/daemon/logger/awslogs.TestCollectBatchMaxTotalBytes.func3() | |
/home/local/ANT/skarp/go/src/github.com/docker/docker/daemon/logger/awslogs/cloudwatchlogs_test.go:614 +0x280 | |
Previous write by goroutine 9: | |
github.com/docker/docker/daemon/logger/awslogs.(*logStream).collectBatch() | |
/home/local/ANT/skarp/go/src/github.com/docker/docker/daemon/logger/awslogs/cloudwatchlogs.go:263 +0x519 | |
Goroutine 14 (running) created at: | |
github.com/docker/docker/daemon/logger/awslogs.TestCollectBatchMaxTotalBytes() | |
/home/local/ANT/skarp/go/src/github.com/docker/docker/daemon/logger/awslogs/cloudwatchlogs_test.go:629 +0x6c5 | |
testing.tRunner() | |
/home/local/ANT/skarp/.gobin/go/src/testing/testing.go:473 +0xdc | |
Goroutine 9 (running) created at: | |
github.com/docker/docker/daemon/logger/awslogs.TestCollectBatchMaxTotalBytes() | |
/home/local/ANT/skarp/go/src/github.com/docker/docker/daemon/logger/awslogs/cloudwatchlogs_test.go:598 +0x500 | |
testing.tRunner() | |
/home/local/ANT/skarp/.gobin/go/src/testing/testing.go:473 +0xdc | |
================== | |
================== | |
WARNING: DATA RACE | |
Read by goroutine 14: | |
github.com/docker/docker/daemon/logger/awslogs.TestCollectBatchMaxTotalBytes.func3() | |
/home/local/ANT/skarp/go/src/github.com/docker/docker/daemon/logger/awslogs/cloudwatchlogs_test.go:614 +0x291 | |
Previous write by goroutine 9: | |
github.com/docker/docker/daemon/logger/awslogs.(*logStream).collectBatch() | |
/home/local/ANT/skarp/go/src/github.com/docker/docker/daemon/logger/awslogs/cloudwatchlogs.go:262 +0x3d8 | |
Goroutine 14 (running) created at: | |
github.com/docker/docker/daemon/logger/awslogs.TestCollectBatchMaxTotalBytes() | |
/home/local/ANT/skarp/go/src/github.com/docker/docker/daemon/logger/awslogs/cloudwatchlogs_test.go:629 +0x6c5 | |
testing.tRunner() | |
/home/local/ANT/skarp/.gobin/go/src/testing/testing.go:473 +0xdc | |
Goroutine 9 (running) created at: | |
github.com/docker/docker/daemon/logger/awslogs.TestCollectBatchMaxTotalBytes() | |
/home/local/ANT/skarp/go/src/github.com/docker/docker/daemon/logger/awslogs/cloudwatchlogs_test.go:598 +0x500 | |
testing.tRunner() | |
/home/local/ANT/skarp/.gobin/go/src/testing/testing.go:473 +0xdc | |
================== | |
--- PASS: TestCollectBatchMaxTotalBytes (0.01s) | |
PASS | |
Found 3 data race(s) | |
exit status 66 | |
FAIL github.com/docker/docker/daemon/logger/awslogs 1.023s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment