Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wip: refactor functions #1

Open
wants to merge 57 commits into
base: master
Choose a base branch
from
Open

wip: refactor functions #1

wants to merge 57 commits into from

Conversation

craicoverflow
Copy link
Owner

Description

Related Issue

Motivation and Context

How This Has Been Tested

Screenshots (if appropriate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Refactoring or add test (improvements in base code or adds test coverage to functionality)

Checklist

  • Make sure you are requesting to pull a topic/feature/bugfix branch (right side). If pulling from your own
    fork, don't request your master!
  • Make sure you are making a pull request against the master branch (left side). Also, you should start
    your branch off our latest master.
  • My change requires a change to the documentation.
    • If you've changed APIs, describe what needs to be updated in the documentation.
    • If new config option added, ensure that it can be set via ENV variable
  • I have updated the documentation accordingly.
  • Modules and vendor dependencies have been updated; run go mod tidy && go mod vendor
  • When updating library version must provide reason/explanation for this update.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • Check your code additions will not fail linting checks:
    • go fmt -s
    • go vet

buger and others added 2 commits June 25, 2021 14:15
Should simplify release pipeline, do not use symlinks
…s#3586)

The problem is that when you add two APIs to a key without policy, they are using same redis key for quota. In policy case, it uses allowance scope and for each API, it stores in different redis key. 

This is how we generate redis key:
https://github.com/TykTechnologies/tyk/blob/047733bd92e150c110be0d3afa8c2a4106ea3699/gateway/session_manager.go#L257

Briefly, when two APIs key without policy and per api enabled `quotaScope` is `""`, that is the issue.
@craicoverflow craicoverflow force-pushed the refactor branch 7 times, most recently from f55c73a to 0fbe675 Compare June 27, 2021 10:07
@github-actions
Copy link

💥 CI tests failed 🙈

CI test log

go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk
?   	github.com/TykTechnologies/tyk	[no test files]
go vet github.com/TykTechnologies/tyk
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/apidef
ok  	github.com/TykTechnologies/tyk/apidef	0.064s	coverage: 22.8% of statements
go vet github.com/TykTechnologies/tyk/apidef
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/apidef/adapter
ok  	github.com/TykTechnologies/tyk/apidef/adapter	0.137s	coverage: 86.4% of statements
go vet github.com/TykTechnologies/tyk/apidef/adapter
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/apidef/importer
ok  	github.com/TykTechnologies/tyk/apidef/importer	0.066s	coverage: 65.6% of statements
go vet github.com/TykTechnologies/tyk/apidef/importer
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/certs
ok  	github.com/TykTechnologies/tyk/certs	4.557s	coverage: 56.5% of statements
go vet github.com/TykTechnologies/tyk/certs
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/checkup
?   	github.com/TykTechnologies/tyk/checkup	[no test files]
go vet github.com/TykTechnologies/tyk/checkup
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/cli
?   	github.com/TykTechnologies/tyk/cli	[no test files]
go vet github.com/TykTechnologies/tyk/cli
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/cli/bundler
ok  	github.com/TykTechnologies/tyk/cli/bundler	0.055s	coverage: 70.7% of statements
go vet github.com/TykTechnologies/tyk/cli/bundler
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/cli/importer
?   	github.com/TykTechnologies/tyk/cli/importer	[no test files]
go vet github.com/TykTechnologies/tyk/cli/importer
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/cli/linter
ok  	github.com/TykTechnologies/tyk/cli/linter	0.294s	coverage: 89.8% of statements
go vet github.com/TykTechnologies/tyk/cli/linter
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/config
ok  	github.com/TykTechnologies/tyk/config	0.164s	coverage: 69.9% of statements
go vet github.com/TykTechnologies/tyk/config
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/coprocess
?   	github.com/TykTechnologies/tyk/coprocess	[no test files]
go vet github.com/TykTechnologies/tyk/coprocess
go test -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/coprocess/grpc
ok  	github.com/TykTechnologies/tyk/coprocess/grpc	8.494s	coverage: [no statements]
go vet github.com/TykTechnologies/tyk/coprocess/grpc
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/coprocess/python
ok  	github.com/TykTechnologies/tyk/coprocess/python	12.219s	coverage: [no statements]
go vet github.com/TykTechnologies/tyk/coprocess/python
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/ctx
?   	github.com/TykTechnologies/tyk/ctx	[no test files]
go vet github.com/TykTechnologies/tyk/ctx
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/dlpython
ok  	github.com/TykTechnologies/tyk/dlpython	0.334s	coverage: 54.5% of statements
go vet github.com/TykTechnologies/tyk/dlpython
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/dnscache
ok  	github.com/TykTechnologies/tyk/dnscache	11.691s	coverage: 82.5% of statements
go vet github.com/TykTechnologies/tyk/dnscache
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/gateway
time="Jun 27 10:07:12" level=info msg="Rich plugins are disabled" prefix=coprocess
--- FAIL: TestReloadLoop_handler (0.10s)
    testutil.go:194: Timedout waiting for reload to be queue
FAIL
coverage: 65.3% of statements
FAIL	github.com/TykTechnologies/tyk/gateway	297.990s
FAIL
Test Failed

gofmt

config/config.go
gateway/mw_method_transform.go
gateway/mw_request_size_limit.go
gateway/mw_transform_jq.go

goimports

config/config.go
gateway/mw_method_transform.go
gateway/mw_request_size_limit.go
gateway/mw_transform_jq.go

If the above are ok, please look at the run or in the Checks tab.

@craicoverflow craicoverflow force-pushed the refactor branch 2 times, most recently from b6889f0 to 0eda81f Compare June 27, 2021 10:24
@github-actions
Copy link

💥 CI tests failed 🙈

CI test log

go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk
?   	github.com/TykTechnologies/tyk	[no test files]
go vet github.com/TykTechnologies/tyk
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/apidef
ok  	github.com/TykTechnologies/tyk/apidef	0.067s	coverage: 22.8% of statements
go vet github.com/TykTechnologies/tyk/apidef
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/apidef/adapter
ok  	github.com/TykTechnologies/tyk/apidef/adapter	0.124s	coverage: 86.4% of statements
go vet github.com/TykTechnologies/tyk/apidef/adapter
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/apidef/importer
ok  	github.com/TykTechnologies/tyk/apidef/importer	0.065s	coverage: 65.6% of statements
go vet github.com/TykTechnologies/tyk/apidef/importer
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/certs
ok  	github.com/TykTechnologies/tyk/certs	4.601s	coverage: 56.5% of statements
go vet github.com/TykTechnologies/tyk/certs
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/checkup
?   	github.com/TykTechnologies/tyk/checkup	[no test files]
go vet github.com/TykTechnologies/tyk/checkup
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/cli
?   	github.com/TykTechnologies/tyk/cli	[no test files]
go vet github.com/TykTechnologies/tyk/cli
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/cli/bundler
ok  	github.com/TykTechnologies/tyk/cli/bundler	0.066s	coverage: 70.7% of statements
go vet github.com/TykTechnologies/tyk/cli/bundler
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/cli/importer
?   	github.com/TykTechnologies/tyk/cli/importer	[no test files]
go vet github.com/TykTechnologies/tyk/cli/importer
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/cli/linter
ok  	github.com/TykTechnologies/tyk/cli/linter	0.297s	coverage: 89.8% of statements
go vet github.com/TykTechnologies/tyk/cli/linter
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/config
ok  	github.com/TykTechnologies/tyk/config	0.177s	coverage: 69.9% of statements
go vet github.com/TykTechnologies/tyk/config
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/coprocess
?   	github.com/TykTechnologies/tyk/coprocess	[no test files]
go vet github.com/TykTechnologies/tyk/coprocess
go test -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/coprocess/grpc
ok  	github.com/TykTechnologies/tyk/coprocess/grpc	8.521s	coverage: [no statements]
go vet github.com/TykTechnologies/tyk/coprocess/grpc
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/coprocess/python
ok  	github.com/TykTechnologies/tyk/coprocess/python	12.217s	coverage: [no statements]
go vet github.com/TykTechnologies/tyk/coprocess/python
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/ctx
?   	github.com/TykTechnologies/tyk/ctx	[no test files]
go vet github.com/TykTechnologies/tyk/ctx
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/dlpython
ok  	github.com/TykTechnologies/tyk/dlpython	0.352s	coverage: 54.5% of statements
go vet github.com/TykTechnologies/tyk/dlpython
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/dnscache
ok  	github.com/TykTechnologies/tyk/dnscache	11.687s	coverage: 82.5% of statements
go vet github.com/TykTechnologies/tyk/dnscache
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/gateway
time="Jun 27 10:28:13" level=info msg="Rich plugins are disabled" prefix=coprocess
--- FAIL: TestPublicKeyPinning (3.64s)
    --- FAIL: TestPublicKeyPinning/Enable_Common_Name_check (0.79s)
        cert_go1.10_test.go:198: [0] Expected status code `200` got `500. {
                "error": "There was a problem proxying the request"
            }`. 
FAIL
coverage: 65.3% of statements
FAIL	github.com/TykTechnologies/tyk/gateway	297.286s
FAIL
Test Failed

gofmt

config/config.go
gateway/mw_method_transform.go
gateway/mw_request_size_limit.go
gateway/mw_transform_jq.go

goimports

config/config.go
gateway/mw_method_transform.go
gateway/mw_request_size_limit.go
gateway/mw_transform_jq.go

If the above are ok, please look at the run or in the Checks tab.

This is primarily a refactoring to no longer return interface
and perform logic based off the type assertion

This also reduces the number of return values in some functions for
simplicity
@github-actions
Copy link

💥 CI tests failed 🙈

CI test log

go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk
?   	github.com/TykTechnologies/tyk	[no test files]
go vet github.com/TykTechnologies/tyk
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/apidef
ok  	github.com/TykTechnologies/tyk/apidef	0.063s	coverage: 22.8% of statements
go vet github.com/TykTechnologies/tyk/apidef
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/apidef/adapter
ok  	github.com/TykTechnologies/tyk/apidef/adapter	0.135s	coverage: 86.4% of statements
go vet github.com/TykTechnologies/tyk/apidef/adapter
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/apidef/importer
ok  	github.com/TykTechnologies/tyk/apidef/importer	0.065s	coverage: 65.6% of statements
go vet github.com/TykTechnologies/tyk/apidef/importer
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/certs
ok  	github.com/TykTechnologies/tyk/certs	5.313s	coverage: 56.5% of statements
go vet github.com/TykTechnologies/tyk/certs
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/checkup
?   	github.com/TykTechnologies/tyk/checkup	[no test files]
go vet github.com/TykTechnologies/tyk/checkup
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/cli
?   	github.com/TykTechnologies/tyk/cli	[no test files]
go vet github.com/TykTechnologies/tyk/cli
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/cli/bundler
ok  	github.com/TykTechnologies/tyk/cli/bundler	0.067s	coverage: 70.7% of statements
go vet github.com/TykTechnologies/tyk/cli/bundler
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/cli/importer
?   	github.com/TykTechnologies/tyk/cli/importer	[no test files]
go vet github.com/TykTechnologies/tyk/cli/importer
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/cli/linter
ok  	github.com/TykTechnologies/tyk/cli/linter	0.294s	coverage: 89.8% of statements
go vet github.com/TykTechnologies/tyk/cli/linter
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/config
ok  	github.com/TykTechnologies/tyk/config	0.167s	coverage: 69.9% of statements
go vet github.com/TykTechnologies/tyk/config
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/coprocess
?   	github.com/TykTechnologies/tyk/coprocess	[no test files]
go vet github.com/TykTechnologies/tyk/coprocess
go test -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/coprocess/grpc
ok  	github.com/TykTechnologies/tyk/coprocess/grpc	8.657s	coverage: [no statements]
go vet github.com/TykTechnologies/tyk/coprocess/grpc
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/coprocess/python
ok  	github.com/TykTechnologies/tyk/coprocess/python	12.254s	coverage: [no statements]
go vet github.com/TykTechnologies/tyk/coprocess/python
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/ctx
?   	github.com/TykTechnologies/tyk/ctx	[no test files]
go vet github.com/TykTechnologies/tyk/ctx
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/dlpython
ok  	github.com/TykTechnologies/tyk/dlpython	0.332s	coverage: 54.5% of statements
go vet github.com/TykTechnologies/tyk/dlpython
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/dnscache
ok  	github.com/TykTechnologies/tyk/dnscache	11.692s	coverage: 82.5% of statements
go vet github.com/TykTechnologies/tyk/dnscache
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/gateway
time="Jun 27 10:58:28" level=info msg="Rich plugins are disabled" prefix=coprocess
coverage: 65.0% of statements
panic: test timed out after 5m0s

goroutine 13702 [running]:
testing.(*M).startAlarm.func1()
	/opt/hostedtoolcache/go/1.15.13/x64/src/testing/testing.go:1618 +0x11f
created by time.goFunc
	/opt/hostedtoolcache/go/1.15.13/x64/src/time/sleep.go:167 +0x52

goroutine 1 [chan receive]:
testing.(*T).Run(0xc000344d80, 0x2619770, 0x22, 0x26b1890, 0x1)
	/opt/hostedtoolcache/go/1.15.13/x64/src/testing/testing.go:1169 +0x5f4
testing.runTests.func1(0xc000344d80)
	/opt/hostedtoolcache/go/1.15.13/x64/src/testing/testing.go:1439 +0xa7
testing.tRunner(0xc000344d80, 0xc0005bb850)
	/opt/hostedtoolcache/go/1.15.13/x64/src/testing/testing.go:1123 +0x203
testing.runTests(0xc0002ac100, 0x37cb1c0, 0x148, 0x148, 0xc02e34a038afcad7, 0x45e399b23c, 0x394e780, 0x64)
	/opt/hostedtoolcache/go/1.15.13/x64/src/testing/testing.go:1437 +0x613
testing.(*M).Run(0xc000170c80, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/testing/testing.go:1345 +0x3b4
github.com/TykTechnologies/tyk/gateway.InitTestMain(0x2ae1120, 0xc0000b4010, 0xc000170c80, 0x0, 0x0, 0x0, 0x0)
	/home/runner/work/tyk/tyk/gateway/testutil.go:308 +0xfae
github.com/TykTechnologies/tyk/gateway.TestMain(0xc000170c80)
	/home/runner/work/tyk/tyk/gateway/gateway_test.go:38 +0x76
main.main()
	_testmain.go:1021 +0x372

goroutine 21 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc00012b000, 0xc000095b00)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 22 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc00012b020, 0xc000095b40)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 23 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc00012b040, 0xc000095b80)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 24 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc00012b050, 0xc000095bc0)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 25 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc00012b060, 0xc000095c00)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 26 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc00012b070, 0xc000095c40)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 27 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc00012b080, 0xc000095c80)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 28 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc00012b090, 0xc000095cc0)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 29 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc00012b0a0, 0xc000095d00)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 30 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc00012b0b0, 0xc000095d40)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 33 [select, 5 minutes]:
github.com/pmylund/go-cache.(*janitor).Run(0xc0004e1950, 0xc00016fb00)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 34 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc0004e1970, 0xc00016fb40)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 35 [select, 5 minutes]:
github.com/pmylund/go-cache.(*janitor).Run(0xc0004e1980, 0xc00016fb80)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 36 [select, 5 minutes]:
github.com/pmylund/go-cache.(*janitor).Run(0xc0004e1990, 0xc00016fbc0)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 37 [select, 5 minutes]:
github.com/pmylund/go-cache.(*janitor).Run(0xc0004e19a0, 0xc00016fc80)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 38 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc0004e1ba0, 0xc00016fd00)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 39 [IO wait]:
internal/poll.runtime_pollWait(0x7f0cdec61318, 0x72, 0xc00006c6c0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000128098, 0x72, 0x200, 0x200, 0xc00185c750)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).ReadMsg(0xc000128080, 0xc0009cb600, 0x200, 0x200, 0xc00185c750, 0x28, 0x28, 0x0, 0x0, 0x0, ...)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_unix.go:242 +0x2b6
net.(*netFD).readMsg(0xc000128080, 0xc0009cb600, 0x200, 0x200, 0xc00185c750, 0x28, 0x28, 0x7f0cdec61348, 0x420db1, 0xc00009cc00, ...)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/fd_posix.go:67 +0xa6
net.(*UDPConn).readMsg(0xc000010118, 0xc0009cb600, 0x200, 0x200, 0xc00185c750, 0x28, 0x28, 0x28, 0x7f0cdf27e108, 0xc00185c750, ...)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/udpsock_posix.go:59 +0xba
net.(*UDPConn).ReadMsgUDP(0xc000010118, 0xc0009cb600, 0x200, 0x200, 0xc00185c750, 0x28, 0x28, 0x0, 0x4395790, 0xc00006cb30, ...)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/udpsock.go:139 +0xc5
github.com/miekg/dns.ReadFromSessionUDP(0xc000010118, 0xc0009cb600, 0x200, 0x200, 0x0, 0x0, 0x394e780, 0xc000032000)
	/home/runner/go/pkg/mod/github.com/miekg/dns@v1.0.14/udp.go:42 +0x136
github.com/miekg/dns.(*Server).readUDP(0xc000353560, 0xc000010118, 0x77359400, 0x0, 0x0, 0xc00006cc88, 0x4a3f18, 0xc00035362c, 0xc0ffffffff)
	/home/runner/go/pkg/mod/github.com/miekg/dns@v1.0.14/server.go:720 +0x12c
github.com/miekg/dns.(*defaultReader).ReadUDP(0xc000010130, 0xc000010118, 0x77359400, 0x7f0cb4e47418, 0xc001514820, 0x1, 0x0, 0x2ab73c0, 0xc001514820)
	/home/runner/go/pkg/mod/github.com/miekg/dns@v1.0.14/server.go:169 +0x73
github.com/miekg/dns.(*Server).serveUDP(0xc000353560, 0xc000010118, 0x0, 0x0)
	/home/runner/go/pkg/mod/github.com/miekg/dns@v1.0.14/server.go:531 +0x274
github.com/miekg/dns.(*Server).ActivateAndServe(0xc000353560, 0x0, 0x0)
	/home/runner/go/pkg/mod/github.com/miekg/dns@v1.0.14/server.go:395 +0x435
github.com/TykTechnologies/tyk/test.InitDNSMock.func2(0xc000296840, 0xc000353560)
	/home/runner/work/tyk/tyk/test/dns.go:191 +0x39
created by github.com/TykTechnologies/tyk/test.InitDNSMock
	/home/runner/work/tyk/tyk/test/dns.go:190 +0x508

goroutine 4 [IO wait]:
internal/poll.runtime_pollWait(0x7f0cdec61230, 0x72, 0x72)
	/opt/hostedtoolcache/go/1.15.13/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000128118, 0x72, 0x0, 0x0, 0x25e7983)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Accept(0xc000128100, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_unix.go:394 +0x2fe
net.(*netFD).accept(0xc000128100, 0x45c62a, 0xc000093980, 0xc000252ce0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/fd_unix.go:172 +0x58
net.(*TCPListener).accept(0xc0002ac8c0, 0x482d5b, 0xd66e14f5ee, 0x258f3482)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/tcpsock_posix.go:139 +0x50
net.(*TCPListener).Accept(0xc0002ac8c0, 0x4875ec, 0x4562ae, 0xc00006dcd0, 0x47d980)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/tcpsock.go:261 +0x8e
net/http.(*Server).Serve(0xc000252c40, 0x2ad8fe0, 0xc0002ac8c0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/server.go:2937 +0x414
net/http.(*Server).ListenAndServe(0xc000252c40, 0x1, 0x1)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/server.go:2866 +0x106
github.com/TykTechnologies/tyk/gateway.InitTestMain.func1(0xc000252c40)
	/home/runner/work/tyk/tyk/gateway/testutil.go:270 +0x55
created by github.com/TykTechnologies/tyk/gateway.InitTestMain
	/home/runner/work/tyk/tyk/gateway/testutil.go:269 +0x965

goroutine 8 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc000442530, 0xc0001eacc0)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 41 [select]:
github.com/TykTechnologies/tyk/gateway.(*HostCheckerManager).CheckActivePollerLoop(0x394e400, 0x2ae1120, 0xc0000b4010)
	/home/runner/work/tyk/tyk/gateway/host_checker_manager.go:109 +0x23e
created by github.com/TykTechnologies/tyk/gateway.(*HostCheckerManager).Start
	/home/runner/work/tyk/tyk/gateway/host_checker_manager.go:87 +0xc5

goroutine 42 [select]:
github.com/TykTechnologies/tyk/gateway.initHealthCheck.func1(0x2ae1120, 0xc0000b4010)
	/home/runner/work/tyk/tyk/gateway/health_check.go:83 +0x291
created by github.com/TykTechnologies/tyk/gateway.initHealthCheck
	/home/runner/work/tyk/tyk/gateway/health_check.go:73 +0x7d

goroutine 9 [chan send, 2 minutes]:
github.com/Jeffail/tunny.(*workerWrapper).Loop(0xc0003bb080)
	/home/runner/go/pkg/mod/github.com/!jeffail/tunny@v0.0.0-20171107125207-452a8e97d6a3/worker.go:61 +0x19a
created by github.com/Jeffail/tunny.(*workerWrapper).Open
	/home/runner/go/pkg/mod/github.com/!jeffail/tunny@v0.0.0-20171107125207-452a8e97d6a3/worker.go:80 +0x1b4

goroutine 10 [chan send, 2 minutes]:
github.com/Jeffail/tunny.(*workerWrapper).Loop(0xc0003bb0b0)
	/home/runner/go/pkg/mod/github.com/!jeffail/tunny@v0.0.0-20171107125207-452a8e97d6a3/worker.go:61 +0x19a
created by github.com/Jeffail/tunny.(*workerWrapper).Open
	/home/runner/go/pkg/mod/github.com/!jeffail/tunny@v0.0.0-20171107125207-452a8e97d6a3/worker.go:80 +0x1b4

goroutine 43 [select]:
github.com/TykTechnologies/tyk/gateway.(*RedisAnalyticsHandler).recordWorker(0x3951d20)
	/home/runner/work/tyk/tyk/gateway/analytics.go:262 +0x3ec
created by github.com/TykTechnologies/tyk/gateway.(*RedisAnalyticsHandler).Init
	/home/runner/work/tyk/tyk/gateway/analytics.go:216 +0x5d5

goroutine 11 [select, 2 minutes]:
github.com/TykTechnologies/tyk/gateway.(*HostUptimeChecker).HostCheckLoop(0xc0002e6090, 0x2ae1120, 0xc0000b4010)
	/home/runner/work/tyk/tyk/gateway/host_checker.go:107 +0x1dd
created by github.com/TykTechnologies/tyk/gateway.(*HostUptimeChecker).Start
	/home/runner/work/tyk/tyk/gateway/host_checker.go:377 +0xf4

goroutine 44 [select]:
github.com/TykTechnologies/tyk/gateway.(*RedisAnalyticsHandler).recordWorker(0x3951d20)
	/home/runner/work/tyk/tyk/gateway/analytics.go:262 +0x3ec
created by github.com/TykTechnologies/tyk/gateway.(*RedisAnalyticsHandler).Init
	/home/runner/work/tyk/tyk/gateway/analytics.go:216 +0x5d5

goroutine 12 [select, 2 minutes]:
github.com/TykTechnologies/tyk/gateway.(*HostUptimeChecker).HostReporter(0xc0002e6090, 0x2ae1120, 0xc0000b4010)
	/home/runner/work/tyk/tyk/gateway/host_checker.go:147 +0x253
created by github.com/TykTechnologies/tyk/gateway.(*HostUptimeChecker).Start
	/home/runner/work/tyk/tyk/gateway/host_checker.go:379 +0x18f

goroutine 45 [select]:
github.com/TykTechnologies/tyk/gateway.RedisPurger.PurgeLoop(0x2b1fbc0, 0xc0002acbc0, 0x2ae1120, 0xc0000b4010)
	/home/runner/work/tyk/tyk/gateway/redis_analytics_purger.go:27 +0x1e5
created by github.com/TykTechnologies/tyk/gateway.setupGlobals.func1
	/home/runner/work/tyk/tyk/gateway/server.go:211 +0xf8

goroutine 46 [select]:
github.com/TykTechnologies/tyk/gateway.flushNetworkAnalytics(0x2ae1120, 0xc0000b4010)
	/home/runner/work/tyk/tyk/gateway/proxy_muxer.go:208 +0x869
created by github.com/TykTechnologies/tyk/gateway.setupGlobals
	/home/runner/work/tyk/tyk/gateway/server.go:226 +0x1dc5

goroutine 15 [select]:
github.com/TykTechnologies/tyk/storage.ConnectToRedis(0x2ae1120, 0xc0000b4010, 0x26b0b28)
	/home/runner/work/tyk/tyk/storage/redis_cluster.go:167 +0x2d6
created by github.com/TykTechnologies/tyk/gateway.InitTestMain
	/home/runner/work/tyk/tyk/gateway/testutil.go:292 +0xbeb

goroutine 8872 [semacquire, 1 minutes]:
sync.runtime_Semacquire(0xc00059b528)
	/opt/hostedtoolcache/go/1.15.13/x64/src/runtime/sema.go:56 +0x45
sync.(*WaitGroup).Wait(0xc00059b520)
	/opt/hostedtoolcache/go/1.15.13/x64/src/sync/waitgroup.go:130 +0xe5
github.com/TykTechnologies/tyk/gateway.waitTimeout.func1(0xc001020660, 0xc00059b520)
	/home/runner/work/tyk/tyk/gateway/mw_http_signature_validation_test.go:114 +0x6d
created by github.com/TykTechnologies/tyk/gateway.waitTimeout
	/home/runner/work/tyk/tyk/gateway/mw_http_signature_validation_test.go:112 +0x8d

goroutine 16 [select]:
github.com/go-redis/redis/v8/internal/pool.(*ConnPool).reaper(0xc0000dc320, 0xdf8475800)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/internal/pool/pool.go:453 +0x196
created by github.com/go-redis/redis/v8/internal/pool.NewConnPool
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/internal/pool/pool.go:107 +0x3ce

goroutine 69 [select]:
github.com/go-redis/redis/v8/internal/pool.(*ConnPool).reaper(0xc0000dcdc0, 0xdf8475800)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/internal/pool/pool.go:453 +0x196
created by github.com/go-redis/redis/v8/internal/pool.NewConnPool
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/internal/pool/pool.go:107 +0x3ce

goroutine 73 [select]:
github.com/go-redis/redis/v8/internal/pool.(*ConnPool).reaper(0xc0000dcf00, 0xdf8475800)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/internal/pool/pool.go:453 +0x196
created by github.com/go-redis/redis/v8/internal/pool.NewConnPool
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/internal/pool/pool.go:107 +0x3ce

goroutine 53 [IO wait]:
internal/poll.runtime_pollWait(0x7f0cdec60e90, 0x72, 0x2ab9d80)
	/opt/hostedtoolcache/go/1.15.13/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000170d18, 0x72, 0x2ab9d00, 0x37d3c18, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000170d00, 0xc000264000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc000170d00, 0xc000264000, 0x1000, 0x1000, 0x10a, 0x5, 0x420db1)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc0000b88c0, 0xc000264000, 0x1000, 0x1000, 0x4a4e46, 0xc000356ba0, 0xc000de5040)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/net.go:182 +0xec
bufio.(*Reader).fill(0xc000356ba0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/bufio/bufio.go:101 +0x1af
bufio.(*Reader).ReadSlice(0xc000356ba0, 0xc00044970a, 0x0, 0xc000063000, 0xc000897850, 0x47ff65, 0x7f0cdec60e98)
	/opt/hostedtoolcache/go/1.15.13/x64/src/bufio/bufio.go:360 +0x9b
github.com/go-redis/redis/v8/internal/proto.(*Reader).readLine(0xc000512780, 0xc000170d00, 0x26b6000, 0xc0002c4aa8, 0xc000897888, 0xc000897860)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/internal/proto/reader.go:72 +0x71
github.com/go-redis/redis/v8/internal/proto.(*Reader).ReadLine(0xc000512780, 0xc000897860, 0x4deb05, 0x0, 0x0, 0xc000897cf8)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/internal/proto/reader.go:58 +0x3d
github.com/go-redis/redis/v8/internal/proto.(*Reader).ReadReply(0xc000512780, 0x26b2810, 0xc0008979e0, 0x6e7165, 0xc0000b88c0, 0x0)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/internal/proto/reader.go:96 +0x56
github.com/go-redis/redis/v8.(*Cmd).readReply(...)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/command.go:318
github.com/go-redis/redis/v8.(*PubSub).ReceiveTimeout.func1(0xc000512780, 0x0, 0x0)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/pubsub.go:379 +0x79
github.com/go-redis/redis/v8/internal/pool.(*Conn).WithReader.func1(0x2ae1120, 0xc0000b4010, 0x2af7b40, 0x43934e0, 0x0, 0x0)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/internal/pool/conn.go:73 +0x11c
github.com/go-redis/redis/v8/internal.WithSpan(0x2ae1120, 0xc0000b4010, 0x25ef320, 0xb, 0xc000897bb0, 0x0, 0x0)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/internal/util.go:67 +0x297
github.com/go-redis/redis/v8/internal/pool.(*Conn).WithReader(0xc0004dceb0, 0x2ae1120, 0xc0000b4010, 0x0, 0xc000897c70, 0x0, 0x0)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/internal/pool/conn.go:69 +0xa9
github.com/go-redis/redis/v8.(*PubSub).ReceiveTimeout(0xc000170a00, 0x2ae1120, 0xc0000b4010, 0x0, 0x2355880, 0xc000fd7180, 0x0, 0x0)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/pubsub.go:378 +0x11f
github.com/go-redis/redis/v8.(*PubSub).Receive(...)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/pubsub.go:394
github.com/TykTechnologies/tyk/storage.(*RedisCluster).StartPubSubHandler(0xc0002b8e58, 0x2608a46, 0x19, 0x26b22b0, 0x0, 0x0)
	/home/runner/work/tyk/tyk/storage/redis_cluster.go:823 +0x22f
github.com/TykTechnologies/tyk/gateway.startPubSubLoop()
	/home/runner/work/tyk/tyk/gateway/redis_signals.go:59 +0xbe
created by github.com/TykTechnologies/tyk/gateway.InitTestMain
	/home/runner/work/tyk/tyk/gateway/testutil.go:304 +0xce5

goroutine 54 [select]:
github.com/TykTechnologies/tyk/gateway.reloadLoop(0x2ae1120, 0xc0000b4010, 0xc000423140, 0xc000010010, 0x1, 0x1)
	/home/runner/work/tyk/tyk/gateway/server.go:769 +0x2ce
created by github.com/TykTechnologies/tyk/gateway.InitTestMain
	/home/runner/work/tyk/tyk/gateway/testutil.go:305 +0xe51

goroutine 55 [select]:
github.com/TykTechnologies/tyk/gateway.reloadQueueLoop(0x2ae1120, 0xc0000b4010, 0xc000010050, 0x1, 0x1)
	/home/runner/work/tyk/tyk/gateway/server.go:814 +0x156
created by github.com/TykTechnologies/tyk/gateway.InitTestMain
	/home/runner/work/tyk/tyk/gateway/testutil.go:306 +0xf85

goroutine 56 [sleep]:
time.Sleep(0x4c4b40)
	/opt/hostedtoolcache/go/1.15.13/x64/src/runtime/time.go:188 +0xbf
github.com/TykTechnologies/tyk/gateway.reloadSimulation()
	/home/runner/work/tyk/tyk/gateway/testutil.go:346 +0xc5
created by github.com/TykTechnologies/tyk/gateway.InitTestMain
	/home/runner/work/tyk/tyk/gateway/testutil.go:307 +0xf9d

goroutine 8788 [select]:
github.com/jensneuse/graphql-go-tools/pkg/subscription.(*Handler).handleKeepAlive(0xc0003ab9f0, 0x2ae1120, 0xc0000b4010)
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/graphql-go-tools@v1.6.2-0.20210609111804-af8c15678972/pkg/subscription/handler.go:351 +0x15e
created by github.com/jensneuse/graphql-go-tools/pkg/subscription.(*Handler).Handle
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/graphql-go-tools@v1.6.2-0.20210609111804-af8c15678972/pkg/subscription/handler.go:139 +0x325

goroutine 2345 [IO wait, 4 minutes]:
internal/poll.runtime_pollWait(0x7f0cb448c438, 0x72, 0x2ab9d80)
	/opt/hostedtoolcache/go/1.15.13/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc0007eaf98, 0x72, 0x2ab9d00, 0x37d3c18, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc0007eaf80, 0xc000b88000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc0007eaf80, 0xc000b88000, 0x1000, 0x1000, 0x69ffea, 0xc0007eaf80, 0xc000b89000)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc000010f28, 0xc000b88000, 0x1000, 0x1000, 0x5d, 0x1000, 0x5d)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/net.go:182 +0xec
bufio.(*Reader).fill(0xc0008ef860)
	/opt/hostedtoolcache/go/1.15.13/x64/src/bufio/bufio.go:101 +0x1af
bufio.(*Reader).Peek(0xc0008ef860, 0x4, 0x0, 0x0, 0x1, 0x8, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/bufio/bufio.go:139 +0xa5
github.com/valyala/fasthttp.(*Server).serveConn(0xc00049c6c0, 0x2af2f00, 0xc000010f28, 0x0, 0x0)
	/home/runner/go/pkg/mod/github.com/valyala/fasthttp@v1.15.1/server.go:2016 +0x29f0
github.com/valyala/fasthttp.(*workerPool).workerFunc(0xc000f70460, 0xc001093080)
	/home/runner/go/pkg/mod/github.com/valyala/fasthttp@v1.15.1/workerpool.go:223 +0x10a
github.com/valyala/fasthttp.(*workerPool).getCh.func1(0xc000f70460, 0xc001093080, 0x22b0900, 0xc001093080)
	/home/runner/go/pkg/mod/github.com/valyala/fasthttp@v1.15.1/workerpool.go:195 +0x45
created by github.com/valyala/fasthttp.(*workerPool).getCh
	/home/runner/go/pkg/mod/github.com/valyala/fasthttp@v1.15.1/workerpool.go:194 +0x1b8

goroutine 62 [chan receive]:
github.com/TykTechnologies/drl.(*Cache).startCleanupTimer.func1(0xc000284900, 0xc00028a840)
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/drl@v0.0.0-20190905191955-cc541aa8e3e1/ttlcache.go:85 +0x3f
created by github.com/TykTechnologies/drl.(*Cache).startCleanupTimer
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/drl@v0.0.0-20190905191955-cc541aa8e3e1/ttlcache.go:82 +0x89

goroutine 63 [sleep]:
time.Sleep(0x12a05f200)
	/opt/hostedtoolcache/go/1.15.13/x64/src/runtime/time.go:188 +0xbf
github.com/TykTechnologies/drl.(*DRL).Init.func1(0xc000299450)
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/drl@v0.0.0-20190905191955-cc541aa8e3e1/drl.go:50 +0x78
created by github.com/TykTechnologies/drl.(*DRL).Init
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/drl@v0.0.0-20190905191955-cc541aa8e3e1/drl.go:45 +0x185

goroutine 64 [sleep]:
time.Sleep(0x77359400)
	/opt/hostedtoolcache/go/1.15.13/x64/src/runtime/time.go:188 +0xbf
github.com/TykTechnologies/tyk/gateway.startRateLimitNotifications.func1(0x2)
	/home/runner/work/tyk/tyk/gateway/distributed_rate_limiter.go:38 +0xda
created by github.com/TykTechnologies/tyk/gateway.startRateLimitNotifications
	/home/runner/work/tyk/tyk/gateway/distributed_rate_limiter.go:29 +0x172

goroutine 12602 [select]:
net/http.(*persistConn).readLoop(0xc001394fc0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:2167 +0xf3b
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 6061 [select, 3 minutes]:
golang.org/x/net/http2.(*serverConn).serve(0xc000027980)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20200602114024-627f9648deb9/http2/server.go:859 +0xc0c
golang.org/x/net/http2.(*Server).ServeConn(0xc000680fc0, 0x2af2ba0, 0xc0010a4900, 0xc0004bda20)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20200602114024-627f9648deb9/http2/server.go:472 +0xdc5
golang.org/x/net/http2/h2c.h2cHandler.ServeHTTP(0x2ab98a0, 0xc000a3aa20, 0xc000680fc0, 0x2ad92a0, 0xc0004eb6c0, 0xc000115b00)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20200602114024-627f9648deb9/http2/h2c/h2c.go:87 +0x29c
net/http.serverHandler.ServeHTTP(0xc0004eafc0, 0x2ad92a0, 0xc0004eb6c0, 0xc000115b00)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/server.go:2843 +0xcb
net/http.(*conn).serve(0xc000d40a00, 0x2ae10e0, 0xc000965700)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/server.go:1925 +0x84d
created by net/http.(*Server).Serve
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/server.go:2969 +0x5d4

goroutine 2344 [select, 4 minutes]:
net/http.(*persistConn).writeLoop(0xc0005fe7e0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:1716 +0xc31

goroutine 87 [IO wait, 2 minutes]:
internal/poll.runtime_pollWait(0x7f0cdec60cc0, 0x72, 0x72)
	/opt/hostedtoolcache/go/1.15.13/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc001329618, 0x72, 0x0, 0x0, 0x25e7983)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Accept(0xc001329600, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_unix.go:394 +0x2fe
net.(*netFD).accept(0xc001329600, 0x45c62a, 0xc0002f5800, 0xc000253760)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/fd_unix.go:172 +0x58
net.(*TCPListener).accept(0xc00137b980, 0x482d5b, 0xb039ddf756, 0x20819e4e)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/tcpsock_posix.go:139 +0x50
net.(*TCPListener).Accept(0xc00137b980, 0x4875ec, 0x4562ae, 0xc000c14d58, 0x47d980)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/tcpsock.go:261 +0x8e
net/http.(*Server).Serve(0xc0002536c0, 0x2ad8fe0, 0xc00137b980, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/server.go:2937 +0x414
github.com/TykTechnologies/tyk/gateway.TykNewSingleHostReverseProxy.func1.2(0xc0002536c0, 0x2ad8fe0, 0xc00137b980)
	/home/runner/work/tyk/tyk/gateway/reverse_proxy.go:217 +0x69
created by github.com/TykTechnologies/tyk/gateway.TykNewSingleHostReverseProxy.func1
	/home/runner/work/tyk/tyk/gateway/reverse_proxy.go:216 +0x29c

goroutine 533 [chan receive, 4 minutes]:
github.com/TykTechnologies/leakybucket/memorycache.(*Cache).startCleanupTimer.func1(0xc000682240, 0xc000b7cfc0)
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/leakybucket@v0.0.0-20170301023702-71692c943e3c/memorycache/cache.go:69 +0x3f
created by github.com/TykTechnologies/leakybucket/memorycache.(*Cache).startCleanupTimer
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/leakybucket@v0.0.0-20170301023702-71692c943e3c/memorycache/cache.go:66 +0x89

goroutine 13633 [select]:
net/http.(*Server).Shutdown(0xc0004eb340, 0x2ae1160, 0xc0013b0a80, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/server.go:2716 +0x2f6
github.com/TykTechnologies/tyk/gateway.(*proxyMux).swap(0x394e580, 0xc0017f4f28)
	/home/runner/work/tyk/tyk/gateway/proxy_muxer.go:333 +0x466
github.com/TykTechnologies/tyk/gateway.(*Test).Close(0xc000c8b000)
	/home/runner/work/tyk/tyk/gateway/testutil.go:978 +0x125
github.com/TykTechnologies/tyk/gateway.TestProcessKeySpaceChangesForOauth.func1(0xc0008f9500)
	/home/runner/work/tyk/tyk/gateway/rpc_storage_handler_test.go:141 +0x7a6
testing.tRunner(0xc0008f9500, 0xc0010b9a80)
	/opt/hostedtoolcache/go/1.15.13/x64/src/testing/testing.go:1123 +0x203
created by testing.(*T).Run
	/opt/hostedtoolcache/go/1.15.13/x64/src/testing/testing.go:1168 +0x5bc

goroutine 12581 [select]:
net/http.(*persistConn).readLoop(0xc0010bb680)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:2167 +0xf3b
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 12633 [select]:
net/http.(*persistConn).readLoop(0xc001395c20)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:2167 +0xf3b
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 9987 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc000ff7da0, 0xc000b0fe00)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 5473 [IO wait, 3 minutes]:
internal/poll.runtime_pollWait(0x7f0cb448cd48, 0x72, 0x72)
	/opt/hostedtoolcache/go/1.15.13/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000e62718, 0x72, 0x0, 0x0, 0x25e7983)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Accept(0xc000e62700, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_unix.go:394 +0x2fe
net.(*netFD).accept(0xc000e62700, 0x45c600, 0xc000027c80, 0x8)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/fd_unix.go:172 +0x58
net.(*TCPListener).accept(0xc000d68e00, 0xc000112fc0, 0x0, 0x28df30c3)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/tcpsock_posix.go:139 +0x50
net.(*TCPListener).Accept(0xc000d68e00, 0xc00095ad50, 0x4562ae, 0xc00095ad20, 0x47d980)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/tcpsock.go:261 +0x8e
net/http.(*Server).Serve(0xc0004ea8c0, 0x2ad8fe0, 0xc000d68e00, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/server.go:2937 +0x414
net/http/httptest.(*Server).goServe.func1(0xc000112fc0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/httptest/server.go:308 +0xd9
created by net/http/httptest.(*Server).goServe
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/httptest/server.go:306 +0x6a

goroutine 12627 [select]:
net/http.(*persistConn).writeLoop(0xc0013957a0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:1716 +0xc31

goroutine 12590 [select]:
net/http.(*persistConn).writeLoop(0xc0010bbb00)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:1716 +0xc31

goroutine 5511 [IO wait, 3 minutes]:
internal/poll.runtime_pollWait(0x7f0cb44af420, 0x72, 0x2ab9d80)
	/opt/hostedtoolcache/go/1.15.13/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc0009d0118, 0x72, 0x2ab9d00, 0x37d3c18, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc0009d0100, 0xc0005ec000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc0009d0100, 0xc0005ec000, 0x1000, 0x1000, 0x5bf0e8, 0x0, 0x2388d20)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc000e22020, 0xc0005ec000, 0x1000, 0x1000, 0xc001216180, 0xc000969948, 0x4197d9)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/net.go:182 +0xec
net/http.(*persistConn).Read(0xc000a6d200, 0xc0005ec000, 0x1000, 0x1000, 0x1, 0x0, 0xc0009699e0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:1894 +0xe8
bufio.(*Reader).fill(0xc00070a3c0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/bufio/bufio.go:101 +0x1af
bufio.(*Reader).Peek(0xc00070a3c0, 0x1, 0x0, 0x1, 0x1, 0x0, 0xc0010206c0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/bufio/bufio.go:139 +0xa5
net/http.(*persistConn).readLoop(0xc000a6d200)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:2047 +0x2b3
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 2329 [IO wait, 4 minutes]:
internal/poll.runtime_pollWait(0x7f0cb448c520, 0x72, 0x2ab9d80)
	/opt/hostedtoolcache/go/1.15.13/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000b46818, 0x72, 0x2ab9d00, 0x37d3c18, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000b46800, 0xc000b82000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc000b46800, 0xc000b82000, 0x1000, 0x1000, 0x5d, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc00049a278, 0xc000b82000, 0x1000, 0x1000, 0xc0004d0c60, 0xc0002d7948, 0x4197d9)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/net.go:182 +0xec
net/http.(*persistConn).Read(0xc000a7f0e0, 0xc000b82000, 0x1000, 0x1000, 0x1, 0x0, 0x2)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:1894 +0xe8
bufio.(*Reader).fill(0xc0008ef740)
	/opt/hostedtoolcache/go/1.15.13/x64/src/bufio/bufio.go:101 +0x1af
bufio.(*Reader).Peek(0xc0008ef740, 0x1, 0x2, 0x0, 0x0, 0x0, 0xc000b1c540)
	/opt/hostedtoolcache/go/1.15.13/x64/src/bufio/bufio.go:139 +0xa5
net/http.(*persistConn).readLoop(0xc000a7f0e0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:2047 +0x2b3
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 12483 [select]:
net/http.(*persistConn).writeLoop(0xc001395440)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:1716 +0xc31

goroutine 5912 [IO wait, 3 minutes]:
internal/poll.runtime_pollWait(0x7f0cdec60a08, 0x72, 0x2ab9d80)
	/opt/hostedtoolcache/go/1.15.13/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc001303218, 0x72, 0x2ab9d00, 0x37d3c18, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc001303200, 0xc0003f1000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc001303200, 0xc0003f1000, 0x1000, 0x1000, 0x9, 0x45d31c, 0x21bbc00)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc000e22008, 0xc0003f1000, 0x1000, 0x1000, 0xc0006741b8, 0x4876ec, 0x4a205f)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/net.go:182 +0xec
net/http.(*connReader).Read(0xc0006741b0, 0xc0003f1000, 0x1000, 0x1000, 0x1, 0x9, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/server.go:798 +0x263
bufio.(*Reader).Read(0xc001484420, 0xc00056eab8, 0x9, 0x9, 0x9, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/bufio/bufio.go:227 +0x7c7
io.(*multiReader).Read(0xc00021e0e0, 0xc00056eab8, 0x9, 0x9, 0xc00056eab0, 0x10401, 0xc000000000)
	/opt/hostedtoolcache/go/1.15.13/x64/src/io/multi.go:26 +0xfa
golang.org/x/net/http2/h2c.(*rwConn).Read(0xc00093eab0, 0xc00056eab8, 0x9, 0x9, 0x10401, 0x1040100000000, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20200602114024-627f9648deb9/http2/h2c/h2c.go:287 +0x7a
io.ReadAtLeast(0x7f0ca631cbf8, 0xc00093eab0, 0xc00056eab8, 0x9, 0x9, 0x9, 0xc00096bd00, 0x47dd17, 0xc00096bf78)
	/opt/hostedtoolcache/go/1.15.13/x64/src/io/io.go:314 +0x9d
io.ReadFull(...)
	/opt/hostedtoolcache/go/1.15.13/x64/src/io/io.go:333
golang.org/x/net/http2.readFrameHeader(0xc00056eab8, 0x9, 0x9, 0x7f0ca631cbf8, 0xc00093eab0, 0x0, 0x0, 0xc00096beb4, 0x2)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20200602114024-627f9648deb9/http2/frame.go:237 +0xb1
golang.org/x/net/http2.(*Framer).ReadFrame(0xc00056ea80, 0xc00096beb0, 0x2, 0x0, 0x1)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20200602114024-627f9648deb9/http2/frame.go:492 +0xff
golang.org/x/net/http2.(*serverConn).readFrames(0xc0008f8180)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20200602114024-627f9648deb9/http2/server.go:745 +0xfc
created by golang.org/x/net/http2.(*serverConn).serve
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20200602114024-627f9648deb9/http2/server.go:851 +0x865

goroutine 2347 [sleep]:
time.Sleep(0x3b9aca00)
	/opt/hostedtoolcache/go/1.15.13/x64/src/runtime/time.go:188 +0xbf
github.com/valyala/fasthttp.updateServerDate.func1()
	/home/runner/go/pkg/mod/github.com/valyala/fasthttp@v1.15.1/header.go:1396 +0x38
created by github.com/valyala/fasthttp.updateServerDate
	/home/runner/go/pkg/mod/github.com/valyala/fasthttp@v1.15.1/header.go:1394 +0x48

goroutine 6075 [IO wait, 3 minutes]:
internal/poll.runtime_pollWait(0x7f0cb4e4bfe0, 0x72, 0x2ab9d80)
	/opt/hostedtoolcache/go/1.15.13/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc00080c398, 0x72, 0x2ab9d00, 0x37d3c18, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc00080c380, 0xc00076a000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc00080c380, 0xc00076a000, 0x1000, 0x1000, 0x4641a0, 0x0, 0xc0004bf988)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc000010470, 0xc00076a000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/net.go:182 +0xec
bufio.(*Reader).Read(0xc000b5c7e0, 0xc000253298, 0x9, 0x9, 0x0, 0xc0004bff50, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/bufio/bufio.go:227 +0x7c7
io.ReadAtLeast(0x2ab31e0, 0xc000b5c7e0, 0xc000253298, 0x9, 0x9, 0x9, 0x2ab3501, 0xc0000a8030, 0xc001076140)
	/opt/hostedtoolcache/go/1.15.13/x64/src/io/io.go:314 +0x9d
io.ReadFull(...)
	/opt/hostedtoolcache/go/1.15.13/x64/src/io/io.go:333
golang.org/x/net/http2.readFrameHeader(0xc000253298, 0x9, 0x9, 0x2ab31e0, 0xc000b5c7e0, 0x0, 0xc000000000, 0x1c, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20200602114024-627f9648deb9/http2/frame.go:237 +0xb1
golang.org/x/net/http2.(*Framer).ReadFrame(0xc000253260, 0xc00118fda0, 0x0, 0x0, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20200602114024-627f9648deb9/http2/frame.go:492 +0xff
golang.org/x/net/http2.(*clientConnReadLoop).run(0xc0004bffb8, 0x0, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20200602114024-627f9648deb9/http2/transport.go:1794 +0x1bd
golang.org/x/net/http2.(*ClientConn).readLoop(0xc0012ae180)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20200602114024-627f9648deb9/http2/transport.go:1716 +0xbe
created by golang.org/x/net/http2.(*Transport).newClientConn
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20200602114024-627f9648deb9/http2/transport.go:695 +0xc3e

goroutine 8820 [select]:
github.com/jensneuse/graphql-go-tools/pkg/subscription.(*Handler).handleKeepAlive(0xc0005b7b30, 0x2ae1120, 0xc0000b4010)
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/graphql-go-tools@v1.6.2-0.20210609111804-af8c15678972/pkg/subscription/handler.go:351 +0x15e
created by github.com/jensneuse/graphql-go-tools/pkg/subscription.(*Handler).Handle
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/graphql-go-tools@v1.6.2-0.20210609111804-af8c15678972/pkg/subscription/handler.go:139 +0x325

goroutine 3665 [select, 3 minutes]:
net/http.(*persistConn).readLoop(0xc0014110e0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:2167 +0xf3b
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 5917 [IO wait, 3 minutes]:
internal/poll.runtime_pollWait(0x7f0cb4e4bc40, 0x72, 0x2ab9d80)
	/opt/hostedtoolcache/go/1.15.13/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000170298, 0x72, 0x2ab9d00, 0x37d3c18, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000170280, 0xc000800000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc000170280, 0xc000800000, 0x1000, 0x1000, 0x9, 0x45d31c, 0x21bbc00)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc000e22038, 0xc000800000, 0x1000, 0x1000, 0xc00093f538, 0x4876ec, 0x4a205f)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/net.go:182 +0xec
net/http.(*connReader).Read(0xc00093f530, 0xc000800000, 0x1000, 0x1000, 0x1, 0x9, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/server.go:798 +0x263
bufio.(*Reader).Read(0xc000b96300, 0xc0004eb0d8, 0x9, 0x9, 0x9, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/bufio/bufio.go:227 +0x7c7
io.(*multiReader).Read(0xc000b9a820, 0xc0004eb0d8, 0x9, 0x9, 0xc0004eb0d0, 0x10401, 0xc000000000)
	/opt/hostedtoolcache/go/1.15.13/x64/src/io/multi.go:26 +0xfa
golang.org/x/net/http2/h2c.(*rwConn).Read(0xc001184540, 0xc0004eb0d8, 0x9, 0x9, 0x10401, 0x1040100000000, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20200602114024-627f9648deb9/http2/h2c/h2c.go:287 +0x7a
io.ReadAtLeast(0x7f0ca631cbf8, 0xc001184540, 0xc0004eb0d8, 0x9, 0x9, 0x9, 0xc000957d00, 0x47dd17, 0xc000957f78)
	/opt/hostedtoolcache/go/1.15.13/x64/src/io/io.go:314 +0x9d
io.ReadFull(...)
	/opt/hostedtoolcache/go/1.15.13/x64/src/io/io.go:333
golang.org/x/net/http2.readFrameHeader(0xc0004eb0d8, 0x9, 0x9, 0x7f0ca631cbf8, 0xc001184540, 0x0, 0x0, 0xc000957eb4, 0x2)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20200602114024-627f9648deb9/http2/frame.go:237 +0xb1
golang.org/x/net/http2.(*Framer).ReadFrame(0xc0004eb0a0, 0xc000957eb0, 0x2, 0x0, 0x1)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20200602114024-627f9648deb9/http2/frame.go:492 +0xff
golang.org/x/net/http2.(*serverConn).readFrames(0xc0012af380)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20200602114024-627f9648deb9/http2/server.go:745 +0xfc
created by golang.org/x/net/http2.(*serverConn).serve
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20200602114024-627f9648deb9/http2/server.go:851 +0x865

goroutine 2330 [select, 4 minutes]:
net/http.(*persistConn).writeLoop(0xc000a7f0e0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:1716 +0xc31

goroutine 12663 [select]:
net/http.(*persistConn).writeLoop(0xc0013bc7e0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:1716 +0xc31

goroutine 3645 [select, 3 minutes]:
net/http.(*persistConn).writeLoop(0xc0013bc6c0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:1716 +0xc31

goroutine 3644 [select, 3 minutes]:
net/http.(*persistConn).readLoop(0xc0013bc6c0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:2167 +0xf3b
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 5876 [select, 3 minutes]:
golang.org/x/net/http2.(*serverConn).serve(0xc0008f8180)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20200602114024-627f9648deb9/http2/server.go:859 +0xc0c
golang.org/x/net/http2.(*Server).ServeConn(0xc00143da80, 0x2af2ba0, 0xc00093eab0, 0xc0004bd9f0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20200602114024-627f9648deb9/http2/server.go:472 +0xdc5
golang.org/x/net/http2/h2c.h2cHandler.ServeHTTP(0x2ab3900, 0xc00049afb8, 0xc00143da80, 0x2ad92a0, 0xc00056e0e0, 0xc000426500)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20200602114024-627f9648deb9/http2/h2c/h2c.go:87 +0x29c
github.com/TykTechnologies/tyk/gateway.(*h2cWrapper).ServeHTTP(0xc000b9a680, 0x2ad92a0, 0xc00056e0e0, 0xc000426500)
	/home/runner/work/tyk/tyk/gateway/proxy_muxer.go:40 +0x90
net/http.serverHandler.ServeHTTP(0xc0004ea9a0, 0x2ad92a0, 0xc00056e0e0, 0xc000426500)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/server.go:2843 +0xcb
net/http.(*conn).serve(0xc000d401e0, 0x2ae10e0, 0xc00016e040)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/server.go:1925 +0x84d
created by net/http.(*Server).Serve
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/server.go:2969 +0x5d4

goroutine 12502 [select]:
net/http.(*persistConn).readLoop(0xc0000f39e0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:2167 +0xf3b
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 3666 [select, 3 minutes]:
net/http.(*persistConn).writeLoop(0xc0014110e0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:1716 +0xc31

goroutine 12582 [select]:
net/http.(*persistConn).writeLoop(0xc0010bb680)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:1716 +0xc31

goroutine 2346 [IO wait, 4 minutes]:
internal/poll.runtime_pollWait(0x7f0cb448c8c0, 0x72, 0x2ab9d80)
	/opt/hostedtoolcache/go/1.15.13/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc0007eb018, 0x72, 0x2ab9d00, 0x37d3c18, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc0007eb000, 0xc000b09000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc0007eb000, 0xc000b09000, 0x1000, 0x1000, 0x69ffea, 0xc0007eb000, 0xc000b0a000)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc000010f30, 0xc000b09000, 0x1000, 0x1000, 0x5d, 0x1000, 0x5d)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/net.go:182 +0xec
bufio.(*Reader).fill(0xc000afaae0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/bufio/bufio.go:101 +0x1af
bufio.(*Reader).Peek(0xc000afaae0, 0x4, 0x0, 0x0, 0x1, 0x8, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/bufio/bufio.go:139 +0xa5
github.com/valyala/fasthttp.(*Server).serveConn(0xc00049c6c0, 0x2af2f00, 0xc000010f30, 0x0, 0x0)
	/home/runner/go/pkg/mod/github.com/valyala/fasthttp@v1.15.1/server.go:2016 +0x29f0
github.com/valyala/fasthttp.(*workerPool).workerFunc(0xc000f70460, 0xc0010930c0)
	/home/runner/go/pkg/mod/github.com/valyala/fasthttp@v1.15.1/workerpool.go:223 +0x10a
github.com/valyala/fasthttp.(*workerPool).getCh.func1(0xc000f70460, 0xc0010930c0, 0x22b0900, 0xc0010930c0)
	/home/runner/go/pkg/mod/github.com/valyala/fasthttp@v1.15.1/workerpool.go:195 +0x45
created by github.com/valyala/fasthttp.(*workerPool).getCh
	/home/runner/go/pkg/mod/github.com/valyala/fasthttp@v1.15.1/workerpool.go:194 +0x1b8

goroutine 8880 [semacquire, 1 minutes]:
sync.runtime_Semacquire(0xc00034e218)
	/opt/hostedtoolcache/go/1.15.13/x64/src/runtime/sema.go:56 +0x45
sync.(*WaitGroup).Wait(0xc00034e210)
	/opt/hostedtoolcache/go/1.15.13/x64/src/sync/waitgroup.go:130 +0xe5
github.com/TykTechnologies/tyk/gateway.waitTimeout.func1(0xc001020de0, 0xc00034e210)
	/home/runner/work/tyk/tyk/gateway/mw_http_signature_validation_test.go:114 +0x6d
created by github.com/TykTechnologies/tyk/gateway.waitTimeout
	/home/runner/work/tyk/tyk/gateway/mw_http_signature_validation_test.go:112 +0x8d

goroutine 13698 [IO wait]:
internal/poll.runtime_pollWait(0x7f0cb4e4c0c8, 0x72, 0x2ab9d80)
	/opt/hostedtoolcache/go/1.15.13/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc001328898, 0x72, 0x2ab9d00, 0x37d3c18, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc001328880, 0xc0005e2000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc001328880, 0xc0005e2000, 0x1000, 0x1000, 0xd6a9d0999a, 0x45d31c, 0x21bbc00)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc000e22068, 0xc0005e2000, 0x1000, 0x1000, 0xc00063ae48, 0x4876ec, 0x4a205f)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/net.go:182 +0xec
net/http.(*connReader).Read(0xc00063ae40, 0xc0005e2000, 0x1000, 0x1000, 0x1, 0x0, 0xc001328898)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/server.go:798 +0x263
bufio.(*Reader).fill(0xc0013b0720)
	/opt/hostedtoolcache/go/1.15.13/x64/src/bufio/bufio.go:101 +0x1af
bufio.(*Reader).Peek(0xc0013b0720, 0x4, 0x460c34be03, 0x394e780, 0x0, 0x0, 0x394e780)
	/opt/hostedtoolcache/go/1.15.13/x64/src/bufio/bufio.go:139 +0xa5
net/http.(*conn).serve(0xc0001e3360, 0x2ae10e0, 0xc000b38400)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/server.go:1950 +0xab5
created by net/http.(*Server).Serve
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/server.go:2969 +0x5d4

goroutine 13453 [sleep]:
time.Sleep(0x574fbde6000)
	/opt/hostedtoolcache/go/1.15.13/x64/src/runtime/time.go:188 +0xbf
github.com/TykTechnologies/tyk/gateway.APIDefinitionLoader.compileCircuitBreakerPathSpec.func1.1(0xc000021de0, 0x1770, 0xc000ae3360)
	/home/runner/work/tyk/tyk/gateway/api_definition.go:782 +0xf3
created by github.com/TykTechnologies/tyk/gateway.APIDefinitionLoader.compileCircuitBreakerPathSpec.func1
	/home/runner/work/tyk/tyk/gateway/api_definition.go:780 +0x748

goroutine 13416 [select]:
github.com/miekg/dns.(*Server).worker(0xc000353560, 0xc00179b300)
	/home/runner/go/pkg/mod/github.com/miekg/dns@v1.0.14/server.go:262 +0x289
created by github.com/miekg/dns.(*Server).spawnWorker
	/home/runner/go/pkg/mod/github.com/miekg/dns@v1.0.14/server.go:283 +0xb1

goroutine 12537 [select]:
net/http.(*persistConn).writeLoop(0xc0010ba900)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:1716 +0xc31

goroutine 12634 [select]:
net/http.(*persistConn).writeLoop(0xc001395c20)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:1716 +0xc31

goroutine 12503 [select]:
net/http.(*persistConn).writeLoop(0xc0000f39e0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:1716 +0xc31

goroutine 5911 [IO wait, 3 minutes]:
internal/poll.runtime_pollWait(0x7f0cb424a250, 0x72, 0x2ab9d80)
	/opt/hostedtoolcache/go/1.15.13/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000e62798, 0x72, 0x2ab9d00, 0x37d3c18, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000e62780, 0xc0008fb000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc000e62780, 0xc0008fb000, 0x1000, 0x1000, 0x4641a0, 0x0, 0xc00095b988)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc00049b0e0, 0xc0008fb000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/net.go:182 +0xec
bufio.(*Reader).Read(0xc00070a360, 0xc0004eaab8, 0x9, 0x9, 0x0, 0xc00095bf50, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/bufio/bufio.go:227 +0x7c7
io.ReadAtLeast(0x2ab31e0, 0xc00070a360, 0xc0004eaab8, 0x9, 0x9, 0x9, 0x2ab3501, 0xc0000a8030, 0xc00163c460)
	/opt/hostedtoolcache/go/1.15.13/x64/src/io/io.go:314 +0x9d
io.ReadFull(...)
	/opt/hostedtoolcache/go/1.15.13/x64/src/io/io.go:333
golang.org/x/net/http2.readFrameHeader(0xc0004eaab8, 0x9, 0x9, 0x2ab31e0, 0xc00070a360, 0x0, 0xc000000000, 0x1c, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20200602114024-627f9648deb9/http2/frame.go:237 +0xb1
golang.org/x/net/http2.(*Framer).ReadFrame(0xc0004eaa80, 0xc00093f9e0, 0x0, 0x0, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20200602114024-627f9648deb9/http2/frame.go:492 +0xff
golang.org/x/net/http2.(*clientConnReadLoop).run(0xc00095bfb8, 0x0, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20200602114024-627f9648deb9/http2/transport.go:1794 +0x1bd
golang.org/x/net/http2.(*ClientConn).readLoop(0xc0012af080)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20200602114024-627f9648deb9/http2/transport.go:1716 +0xbe
created by golang.org/x/net/http2.(*Transport).newClientConn
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20200602114024-627f9648deb9/http2/transport.go:695 +0xc3e

goroutine 12603 [select]:
net/http.(*persistConn).writeLoop(0xc001394fc0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:1716 +0xc31

goroutine 3804 [select]:
github.com/TykTechnologies/tyk/gateway.initHealthCheck.func1(0x2ae10e0, 0xc000965080)
	/home/runner/work/tyk/tyk/gateway/health_check.go:83 +0x291
created by github.com/TykTechnologies/tyk/gateway.initHealthCheck
	/home/runner/work/tyk/tyk/gateway/health_check.go:73 +0x7d

goroutine 1726 [chan send]:
github.com/TykTechnologies/tyk/gateway.TestGroupResetHandler.func1.1(0x2355880, 0xc000298280)
	/home/runner/work/tyk/tyk/gateway/api_test.go:1386 +0x291
github.com/TykTechnologies/tyk/storage.(*RedisCluster).StartPubSubHandler(0xc00094cb40, 0x2608a46, 0x19, 0xc000c13f90, 0x0, 0x0)
	/home/runner/work/tyk/tyk/storage/redis_cluster.go:830 +0x40e
github.com/TykTechnologies/tyk/gateway.TestGroupResetHandler.func1(0xc00094cb40, 0xc0010202a0, 0xc001521800, 0xc001020300)
	/home/runner/work/tyk/tyk/gateway/api_test.go:1376 +0xa5
created by github.com/TykTechnologies/tyk/gateway.TestGroupResetHandler
	/home/runner/work/tyk/tyk/gateway/api_test.go:1375 +0x125

goroutine 8909 [semacquire, 1 minutes]:
sync.runtime_Semacquire(0xc000ea84d8)
	/opt/hostedtoolcache/go/1.15.13/x64/src/runtime/sema.go:56 +0x45
sync.(*WaitGroup).Wait(0xc000ea84d0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/sync/waitgroup.go:130 +0xe5
github.com/TykTechnologies/tyk/gateway.waitTimeout.func1(0xc000a7b6e0, 0xc000ea84d0)
	/home/runner/work/tyk/tyk/gateway/mw_http_signature_validation_test.go:114 +0x6d
created by github.com/TykTechnologies/tyk/gateway.waitTimeout
	/home/runner/work/tyk/tyk/gateway/mw_http_signature_validation_test.go:112 +0x8d

goroutine 2343 [IO wait, 4 minutes]:
internal/poll.runtime_pollWait(0x7f0cb448c608, 0x72, 0x2ab9d80)
	/opt/hostedtoolcache/go/1.15.13/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc0007eaf18, 0x72, 0x2ab9d00, 0x37d3c18, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc0007eaf00, 0xc000801000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc0007eaf00, 0xc000801000, 0x1000, 0x1000, 0x5d, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc000010f20, 0xc000801000, 0x1000, 0x1000, 0xc00157f7c0, 0xc0007f1948, 0x4197d9)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/net.go:182 +0xec
net/http.(*persistConn).Read(0xc0005fe7e0, 0xc000801000, 0x1000, 0x1000, 0x1, 0x0, 0x2)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:1894 +0xe8
bufio.(*Reader).fill(0xc000afa9c0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/bufio/bufio.go:101 +0x1af
bufio.(*Reader).Peek(0xc000afa9c0, 0x1, 0x2, 0x0, 0x0, 0x0, 0xc000b1c660)
	/opt/hostedtoolcache/go/1.15.13/x64/src/bufio/bufio.go:139 +0xa5
net/http.(*persistConn).readLoop(0xc0005fe7e0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:2047 +0x2b3
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 13699 [select]:
net/http.(*persistConn).readLoop(0xc0008686c0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:2167 +0xf3b
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 8895 [semacquire, 1 minutes]:
sync.runtime_Semacquire(0xc000697b98)
	/opt/hostedtoolcache/go/1.15.13/x64/src/runtime/sema.go:56 +0x45
sync.(*WaitGroup).Wait(0xc000697b90)
	/opt/hostedtoolcache/go/1.15.13/x64/src/sync/waitgroup.go:130 +0xe5
github.com/TykTechnologies/tyk/gateway.waitTimeout.func1(0xc000a9b620, 0xc000697b90)
	/home/runner/work/tyk/tyk/gateway/mw_http_signature_validation_test.go:114 +0x6d
created by github.com/TykTechnologies/tyk/gateway.waitTimeout
	/home/runner/work/tyk/tyk/gateway/mw_http_signature_validation_test.go:112 +0x8d

goroutine 5500 [IO wait, 3 minutes]:
internal/poll.runtime_pollWait(0x7f0cb448ca90, 0x72, 0x2ab9d80)
	/opt/hostedtoolcache/go/1.15.13/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000128398, 0x72, 0x2ab9d00, 0x37d3c18, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000128380, 0xc000570000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc000128380, 0xc000570000, 0x1000, 0x1000, 0x423e9a, 0x45d31c, 0x21bbc00)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc000011098, 0xc000570000, 0x1000, 0x1000, 0xc000c06188, 0x4876ec, 0x4a205f)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/net.go:182 +0xec
net/http.(*connReader).Read(0xc000c06180, 0xc000570000, 0x1000, 0x1000, 0x1, 0x0, 0x2)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/server.go:798 +0x263
bufio.(*Reader).fill(0xc00068fc20)
	/opt/hostedtoolcache/go/1.15.13/x64/src/bufio/bufio.go:101 +0x1af
bufio.(*Reader).ReadSlice(0xc00068fc20, 0xc000114f0a, 0xc000114f00, 0x80, 0xc000114f00, 0x45d31c, 0xc0002d9608)
	/opt/hostedtoolcache/go/1.15.13/x64/src/bufio/bufio.go:360 +0x9b
bufio.(*Reader).ReadLine(0xc00068fc20, 0x7f0cdf27e108, 0xc000427e00, 0xc000427e00, 0x1, 0xc000063000, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/bufio/bufio.go:389 +0x45
net/textproto.(*Reader).readLineSlice(0xc00061aa80, 0xc000427e00, 0xc000128380, 0x8, 0x0, 0x449e01)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/textproto/reader.go:58 +0xa5
net/textproto.(*Reader).ReadLine(...)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/textproto/reader.go:39
net/http.readRequest(0xc00068fc20, 0x0, 0xc000427e00, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/request.go:1012 +0xa8
net/http.(*conn).readRequest(0xc000a40a00, 0x2ae10e0, 0xc000797a00, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/server.go:984 +0x345
net/http.(*conn).serve(0xc000a40a00, 0x2ae10e0, 0xc000797a00)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/server.go:1851 +0x4ef
created by net/http.(*Server).Serve
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/server.go:2969 +0x5d4

goroutine 12536 [select]:
net/http.(*persistConn).readLoop(0xc0010ba900)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:2167 +0xf3b
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 12626 [select]:
net/http.(*persistConn).readLoop(0xc0013957a0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:2167 +0xf3b
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 5885 [select, 3 minutes]:
golang.org/x/net/http2.(*serverConn).serve(0xc0012af380)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20200602114024-627f9648deb9/http2/server.go:859 +0xc0c
golang.org/x/net/http2.(*Server).ServeConn(0xc0009d84c0, 0x2af2ba0, 0xc001184540, 0xc0004c3a20)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20200602114024-627f9648deb9/http2/server.go:472 +0xdc5
golang.org/x/net/http2/h2c.h2cHandler.ServeHTTP(0x2ab98a0, 0xc0009db830, 0xc0009d84c0, 0x2ad92a0, 0xc00056f340, 0xc000427a00)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20200602114024-627f9648deb9/http2/h2c/h2c.go:87 +0x29c
net/http.serverHandler.ServeHTTP(0xc0004ea620, 0x2ad92a0, 0xc00056f340, 0xc000427a00)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/server.go:2843 +0xcb
net/http.(*conn).serve(0xc000d406e0, 0x2ae10e0, 0xc00016eb80)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/server.go:1925 +0x84d
created by net/http.(*Server).Serve
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/server.go:2969 +0x5d4

goroutine 8854 [semacquire, 1 minutes]:
sync.runtime_Semacquire(0xc000152b98)
	/opt/hostedtoolcache/go/1.15.13/x64/src/runtime/sema.go:56 +0x45
sync.(*WaitGroup).Wait(0xc000152b90)
	/opt/hostedtoolcache/go/1.15.13/x64/src/sync/waitgroup.go:130 +0xe5
github.com/TykTechnologies/tyk/gateway.waitTimeout.func1(0xc000986a20, 0xc000152b90)
	/home/runner/work/tyk/tyk/gateway/mw_http_signature_validation_test.go:114 +0x6d
created by github.com/TykTechnologies/tyk/gateway.waitTimeout
	/home/runner/work/tyk/tyk/gateway/mw_http_signature_validation_test.go:112 +0x8d

goroutine 13700 [select]:
net/http.(*persistConn).writeLoop(0xc0008686c0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:1716 +0xc31

goroutine 5884 [IO wait, 3 minutes]:
internal/poll.runtime_pollWait(0x7f0cb4e4b988, 0x72, 0x2ab9d80)
	/opt/hostedtoolcache/go/1.15.13/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc001303998, 0x72, 0x2ab9d00, 0x37d3c18, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc001303980, 0xc0008de000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc001303980, 0xc0008de000, 0x1000, 0x1000, 0x4641a0, 0x0, 0xc0002d2988)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc000e22010, 0xc0008de000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/net.go:182 +0xec
bufio.(*Reader).Read(0xc000b96240, 0xc00056f298, 0x9, 0x9, 0x0, 0xc0002d2f50, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/bufio/bufio.go:227 +0x7c7
io.ReadAtLeast(0x2ab31e0, 0xc000b96240, 0xc00056f298, 0x9, 0x9, 0x9, 0x2ab3501, 0xc0000a8030, 0xc000ee4780)
	/opt/hostedtoolcache/go/1.15.13/x64/src/io/io.go:314 +0x9d
io.ReadFull(...)
	/opt/hostedtoolcache/go/1.15.13/x64/src/io/io.go:333
golang.org/x/net/http2.readFrameHeader(0xc00056f298, 0x9, 0x9, 0x2ab31e0, 0xc000b96240, 0x0, 0xc000000000, 0x1c, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20200602114024-627f9648deb9/http2/frame.go:237 +0xb1
golang.org/x/net/http2.(*Framer).ReadFrame(0xc00056f260, 0xc001184960, 0x0, 0x0, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20200602114024-627f9648deb9/http2/frame.go:492 +0xff
golang.org/x/net/http2.(*clientConnReadLoop).run(0xc0002d2fb8, 0x0, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20200602114024-627f9648deb9/http2/transport.go:1794 +0x1bd
golang.org/x/net/http2.(*ClientConn).readLoop(0xc0008f8600)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20200602114024-627f9648deb9/http2/transport.go:1716 +0xbe
created by golang.org/x/net/http2.(*Transport).newClientConn
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20200602114024-627f9648deb9/http2/transport.go:695 +0xc3e

goroutine 12662 [select]:
net/http.(*persistConn).readLoop(0xc0013bc7e0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:2167 +0xf3b
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 13666 [sleep]:
time.Sleep(0x3b9aca00)
	/opt/hostedtoolcache/go/1.15.13/x64/src/runtime/time.go:188 +0xbf
github.com/TykTechnologies/tyk/gateway.TestReverseProxyWebSocketCancelation.func2(0x2ad92a0, 0xc00019cc40, 0xc000115800)
	/home/runner/work/tyk/tyk/gateway/reverse_proxy_test.go:1020 +0x61c
net/http.HandlerFunc.ServeHTTP(0xc00104dcc0, 0x2ad92a0, 0xc00019cc40, 0xc000115800)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/server.go:2042 +0x52
net/http.serverHandler.ServeHTTP(0xc0005e15e0, 0x2ad92a0, 0xc00019cc40, 0xc000115800)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/server.go:2843 +0xcb
net/http.(*conn).serve(0xc000669f40, 0x2ae10e0, 0xc00104dfc0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/server.go:1925 +0x84d
created by net/http.(*Server).Serve
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/server.go:2969 +0x5d4

goroutine 5512 [select, 3 minutes]:
net/http.(*persistConn).writeLoop(0xc000a6d200)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:1716 +0xc31

goroutine 8864 [semacquire, 1 minutes]:
sync.runtime_Semacquire(0xc0005c6e68)
	/opt/hostedtoolcache/go/1.15.13/x64/src/runtime/sema.go:56 +0x45
sync.(*WaitGroup).Wait(0xc0005c6e60)
	/opt/hostedtoolcache/go/1.15.13/x64/src/sync/waitgroup.go:130 +0xe5
github.com/TykTechnologies/tyk/gateway.waitTimeout.func1(0xc000987f80, 0xc0005c6e60)
	/home/runner/work/tyk/tyk/gateway/mw_http_signature_validation_test.go:114 +0x6d
created by github.com/TykTechnologies/tyk/gateway.waitTimeout
	/home/runner/work/tyk/tyk/gateway/mw_http_signature_validation_test.go:112 +0x8d

goroutine 12482 [select]:
net/http.(*persistConn).readLoop(0xc001395440)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:2167 +0xf3b
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 6065 [IO wait, 3 minutes]:
internal/poll.runtime_pollWait(0x7f0cb44afa78, 0x72, 0x2ab9d80)
	/opt/hostedtoolcache/go/1.15.13/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000e02998, 0x72, 0x2ab9d00, 0x37d3c18, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000e02980, 0xc00019a000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc000e02980, 0xc00019a000, 0x1000, 0x1000, 0xf, 0x45d31c, 0x21bbc00)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc00049a3b0, 0xc00019a000, 0x1000, 0x1000, 0xc0010a4818, 0x4876ec, 0x4a205f)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/net.go:182 +0xec
net/http.(*connReader).Read(0xc0010a4810, 0xc00019a000, 0x1000, 0x1000, 0x1, 0x9, 0xc0004d52d8)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/server.go:798 +0x263
bufio.(*Reader).Read(0xc000a538c0, 0xc0004eb998, 0x9, 0x9, 0x9, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/bufio/bufio.go:227 +0x7c7
io.(*multiReader).Read(0xc00060fe40, 0xc0004eb998, 0x9, 0x9, 0xc0004eb990, 0x10401, 0xc000000000)
	/opt/hostedtoolcache/go/1.15.13/x64/src/io/multi.go:26 +0xfa
golang.org/x/net/http2/h2c.(*rwConn).Read(0xc0010a4900, 0xc0004eb998, 0x9, 0x9, 0x10401, 0x1040100000000, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20200602114024-627f9648deb9/http2/h2c/h2c.go:287 +0x7a
io.ReadAtLeast(0x7f0ca631cbf8, 0xc0010a4900, 0xc0004eb998, 0x9, 0x9, 0x9, 0xc000777d00, 0x47dc97, 0xc000777f28)
	/opt/hostedtoolcache/go/1.15.13/x64/src/io/io.go:314 +0x9d
io.ReadFull(...)
	/opt/hostedtoolcache/go/1.15.13/x64/src/io/io.go:333
golang.org/x/net/http2.readFrameHeader(0xc0004eb998, 0x9, 0x9, 0x7f0ca631cbf8, 0xc0010a4900, 0x0, 0x0, 0xc000777e30, 0x2)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20200602114024-627f9648deb9/http2/frame.go:237 +0xb1
golang.org/x/net/http2.(*Framer).ReadFrame(0xc0004eb960, 0xc000777eb0, 0x2, 0x0, 0x1)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20200602114024-627f9648deb9/http2/frame.go:492 +0xff
golang.org/x/net/http2.(*serverConn).readFrames(0xc000027980)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20200602114024-627f9648deb9/http2/server.go:745 +0xfc
created by golang.org/x/net/http2.(*serverConn).serve
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20200602114024-627f9648deb9/http2/server.go:851 +0x865

goroutine 12589 [select]:
net/http.(*persistConn).readLoop(0xc0010bbb00)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:2167 +0xf3b
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 12968 [IO wait]:
internal/poll.runtime_pollWait(0x7f0cdec60838, 0x72, 0x72)
	/opt/hostedtoolcache/go/1.15.13/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc00080c598, 0x72, 0x0, 0x0, 0x25e7983)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Accept(0xc00080c580, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/internal/poll/fd_unix.go:394 +0x2fe
net.(*netFD).accept(0xc00080c580, 0x8, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/fd_unix.go:172 +0x58
net.(*TCPListener).accept(0xc000c9f100, 0xc000c12f50, 0x6e73cd, 0xc000e228b0)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/tcpsock_posix.go:139 +0x50
net.(*TCPListener).Accept(0xc000c9f100, 0xc00004afb0, 0x8, 0x8, 0x8)
	/opt/hostedtoolcache/go/1.15.13/x64/src/net/tcpsock.go:261 +0x8e
github.com/TykTechnologies/tyk/gateway.TestTCPDial_with_service_discovery.func2(0x2ad8fe0, 0xc000c9f100, 0x25e5301, 0x5)
	/home/runner/work/tyk/tyk/gateway/proxy_muxer_test.go:48 +0xb6
created by github.com/TykTechnologies/tyk/gateway.TestTCPDial_with_service_discovery
	/home/runner/work/tyk/tyk/gateway/proxy_muxer_test.go:46 +0x31f

goroutine 12979 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc001828120, 0xc0013732c0)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 13417 [select]:
github.com/miekg/dns.(*Server).worker(0xc000353560, 0xc00179b380)
	/home/runner/go/pkg/mod/github.com/miekg/dns@v1.0.14/server.go:262 +0x289
created by github.com/miekg/dns.(*Server).spawnWorker
	/home/runner/go/pkg/mod/github.com/miekg/dns@v1.0.14/server.go:283 +0xb1

goroutine 13632 [chan receive]:
testing.(*T).Run(0xc0008f8d80, 0x25f6241, 0x10, 0xc0010b9a80, 0x37887d1)
	/opt/hostedtoolcache/go/1.15.13/x64/src/testing/testing.go:1169 +0x5f4
github.com/TykTechnologies/tyk/gateway.TestProcessKeySpaceChangesForOauth(0xc0008f8d80)
	/home/runner/work/tyk/tyk/gateway/rpc_storage_handler_test.go:78 +0x27c
testing.tRunner(0xc0008f8d80, 0x26b1890)
	/opt/hostedtoolcache/go/1.15.13/x64/src/testing/testing.go:1123 +0x203
created by testing.(*T).Run
	/opt/hostedtoolcache/go/1.15.13/x64/src/testing/testing.go:1168 +0x5bc

goroutine 13688 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc0016d5610, 0xc0016db9c0)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106
FAIL	github.com/TykTechnologies/tyk/gateway	300.296s
FAIL
Test Failed

gofmt

config/config.go
gateway/mw_method_transform.go
gateway/mw_request_size_limit.go
gateway/mw_transform_jq.go

goimports

config/config.go
gateway/mw_method_transform.go
gateway/mw_request_size_limit.go
gateway/mw_transform_jq.go

If the above are ok, please look at the run or in the Checks tab.

alephnull and others added 14 commits June 30, 2021 12:31
…est upgrades, python bindings (TykTechnologies#3577)

 add  .g/w/sync-automation.yml

:robot: Beep, boop, this PR has been generated by [automation](https://github.com/TykTechnologies/gromit/blob/master/cmd/policy.go) because commits on `master`  need to be propagated to other branches  as per the current repository policy.

## Policy for tyk
Commmits affecting these files will be ported as listed below.
- bin/unlock-agent.sh
- .goreleaser.yml
- Dockerfileg.std
- Dockerfile.slim
- aws/byol.pkr.hcl
- .github/workflows/release.yml
- .github/workflows/del-env.yml
- integration/terraform/outputs.tf
- install/before_install.sh
- install/post_install.sh
- install/post_remove.sh
- images/*

### Backports

| Source branch | Destination branch |
|---------------|--------------------|
| release-3.0.5 | releng/release-3-lts |
| release-3.1.2 | releng/release-3.1 |
| release-3.2.0 | releng/release-3.2 |

The destination branches have to be manually merged to their respective ancestors.



### Forward ports

No forward port branch for release engineering has been configured on tyk.


Thank you for reading this far. Since this PR is generated by automation, if there are inconsistencies in the information provided above, they are bugs and merging this PR will probably do some damage. Please log a jira in the TD project citing this PR.
* fix CORS pass through for GraphQL

* add tests for GQL proxy only options passthrough

* cors passthrough for UDG

Co-authored-by: Sergey Petrunin <spetrunin@users.noreply.github.com>
* add name to a graphql subgraph entity

* expose methods for creating looping url from api name
add more tests
* add updated_at field to a supergraph config

* change tabs to spaces
<!-- Provide a general summary of your changes in the Title above -->

## Description
Fix grpc bidirectional streaming functionality

## Related Issue
https://tyktech.atlassian.net/browse/TT-2693

## Motivation and Context
fix https://tyktech.atlassian.net/browse/TT-2693

## How This Has Been Tested
The same as reported in the ticket

## Screenshots (if appropriate)

## Types of changes
<!-- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Refactoring or add test (improvements in base code or adds test coverage to functionality)

## Checklist
<!-- Go over all the following points, and put an `x` in all the boxes that apply -->
<!-- If you're unsure about any of these, don't hesitate to ask; we're here to help! -->
- [ ] Make sure you are requesting to **pull a topic/feature/bugfix branch** (right side). If pulling from your own
      fork, don't request your `master`!
- [ ] Make sure you are making a pull request against the **`master` branch** (left side). Also, you should start
      *your branch* off *our latest `master`*.
- [ ] My change requires a change to the documentation.
  - [ ] If you've changed APIs, describe what needs to be updated in the documentation.
  - [ ] If new config option added, ensure that it can be set via ENV variable
- [ ] I have updated the documentation accordingly.
- [ ] Modules and vendor dependencies have been updated; run `go mod tidy && go mod vendor`
- [ ] When updating library version must provide reason/explanation for this update.
- [ ] I have added tests to cover my changes.
- [ ] All new and existing tests passed.
- [ ] Check your code additions will not fail linting checks:
  - [ ] `go fmt -s`
  - [ ] `go vet`
## Motivation and Context
Before this PR, goplugins with dependencies were only supported via `vendor` in the plugin source. With this PR, we will support go.mod and `vendor` in the plugin source.

The pluginpath trickery has been removed as it was poorly understood and the behaviour has changed between 1.12 and 1.15. I do not think it achieved the desired purpose of allowing for plugins to be reloaded anyway.

## Implementation
Use tyk's go.mod at build-time to cache tyk's dependencies in `$PLUGIN_BUILD_PATH`.
At runtime, if the plugin has a go.mod file, it will be used to overwrite the cache above
At runtime, if the plugin has a vendor dir, it will override the cache above.

## How This Has Been Tested
This has been tested with with smoke test plugin only. The smoke test does not use any dependencies and so is not a complete test. 

## Types of changes
<!-- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Refactoring or add test (improvements in base code or adds test coverage to functionality)

## Checklist
<!-- Go over all the following points, and put an `x` in all the boxes that apply -->
<!-- If you're unsure about any of these, don't hesitate to ask; we're here to help! -->
- [x] Make sure you are requesting to **pull a topic/feature/bugfix branch** (right side). If pulling from your own
      fork, don't request your `master`!
- [x] Make sure you are making a pull request against the **`master` branch** (left side). Also, you should start
      *your branch* off *our latest `master`*.
- [x] My change requires a change to the documentation.
  - [ ] If you've changed APIs, describe what needs to be updated in the documentation.
  - [ ] If new config option added, ensure that it can be set via ENV variable
- [ ] I have updated the documentation accordingly.
- [ ] Modules and vendor dependencies have been updated; run `go mod tidy && go mod vendor`
- [ ] When updating library version must provide reason/explanation for this update.
- [x] I have added tests to cover my changes.
- [ ] All new and existing tests passed.
- [ ] Check your code additions will not fail linting checks:
  - [ ] `go fmt -s`
  - [ ] `go vet`
This deadlock specifically happened on high load  when using gRPC middleware in MDCB environment.
But such issue theoretically could have happened in another piece of code. 
The following change should eliminate the whole class of such issues, since it removes all mutexes in favor of immutable data structures. 

We had a lot of changes with concurrency fixes recently.
One of them was TykTechnologies#3304
But after one more which adds session cloning https://github.com/TykTechnologies/tyk/pull/3377/files

Technically speaking TykTechnologies#3377 change kinda canceled TykTechnologies#3304 changes, since if you're cloning your object, you make data immutable and thread safe, but devil in details...
First I reverted TykTechnologies#3304 changes, which simplifies code, and makes it faster since mutexes no longer used.
Also, I found that TykTechnologies#3377 had issues in some places where it continued using original session instead of clone.
Additionally, fixed Clone method itself, since it could miss new session fields.



## Related Issue
<!-- This project only accepts pull requests related to open issues -->
<!-- If suggesting a new feature or change, please discuss it in an issue first -->
<!-- If fixing a bug, there should be an issue describing it with steps to reproduce -->
<!-- Please link to the issue here -->

## Motivation and Context
<!-- Why is this change required? What problem does it solve? -->

## How This Has Been Tested
<!-- Please describe in detail how you tested your changes -->
<!-- Include details of your testing environment, and the tests you ran to see how your change affects other areas of
the code, etc. -->

## Screenshots (if appropriate)

## Types of changes
<!-- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Refactoring or add test (improvements in base code or adds test coverage to functionality)

## Checklist
<!-- Go over all the following points, and put an `x` in all the boxes that apply -->
<!-- If you're unsure about any of these, don't hesitate to ask; we're here to help! -->
- [ ] Make sure you are requesting to **pull a topic/feature/bugfix branch** (right side). If pulling from your own
      fork, don't request your `master`!
- [ ] Make sure you are making a pull request against the **`master` branch** (left side). Also, you should start
      *your branch* off *our latest `master`*.
- [ ] My change requires a change to the documentation.
  - [ ] If you've changed APIs, describe what needs to be updated in the documentation.
  - [ ] If new config option added, ensure that it can be set via ENV variable
- [ ] I have updated the documentation accordingly.
- [ ] Modules and vendor dependencies have been updated; run `go mod tidy && go mod vendor`
- [ ] When updating library version must provide reason/explanation for this update.
- [ ] I have added tests to cover my changes.
- [ ] All new and existing tests passed.
- [x] Check your code additions will not fail linting checks:
  - [ ] `go fmt -s`
  - [ ] `go vet`
<!-- Provide a general summary of your changes in the Title above -->

## Description
<!-- Describe your changes in detail -->

## Related Issue
<!-- This project only accepts pull requests related to open issues -->
<!-- If suggesting a new feature or change, please discuss it in an issue first -->
<!-- If fixing a bug, there should be an issue describing it with steps to reproduce -->
<!-- Please link to the issue here -->

## Motivation and Context
<!-- Why is this change required? What problem does it solve? -->

## How This Has Been Tested
<!-- Please describe in detail how you tested your changes -->
<!-- Include details of your testing environment, and the tests you ran to see how your change affects other areas of
the code, etc. -->

## Screenshots (if appropriate)

## Types of changes
<!-- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Refactoring or add test (improvements in base code or adds test coverage to functionality)

## Checklist
<!-- Go over all the following points, and put an `x` in all the boxes that apply -->
<!-- If you're unsure about any of these, don't hesitate to ask; we're here to help! -->
- [ ] Make sure you are requesting to **pull a topic/feature/bugfix branch** (right side). If pulling from your own
      fork, don't request your `master`!
- [ ] Make sure you are making a pull request against the **`master` branch** (left side). Also, you should start
      *your branch* off *our latest `master`*.
- [ ] My change requires a change to the documentation.
  - [ ] If you've changed APIs, describe what needs to be updated in the documentation.
  - [ ] If new config option added, ensure that it can be set via ENV variable
- [ ] I have updated the documentation accordingly.
- [ ] Modules and vendor dependencies have been updated; run `go mod tidy && go mod vendor`
- [ ] When updating library version must provide reason/explanation for this update.
- [ ] I have added tests to cover my changes.
- [ ] All new and existing tests passed.
- [ ] Check your code additions will not fail linting checks:
  - [ ] `go fmt -s`
  - [ ] `go vet`
…Technologies#3619)

The session given to `ResetQuota` is empty. So, it prevents calling allowance scoped quota counters to remain same.
* add subscription capability for api playground

* fix graphql playground test

Co-authored-by: Sergey Petrunin <neyasut@gmail.com>
Co-authored-by: Sergey Petrunin <spetrunin@users.noreply.github.com>
Co-authored-by: Sergey Petrunin <spetrunin@users.noreply.github.com>
* reference local lib
run go mod tidy

* WIP

* fix engine params
store context in api spec
add canceling of context before apis reload

* move canceling subs to be executed before replacing api list

* populate subscription config for graphql data source

* add subscriptions config for subgraphs
rename adapter.supergraphDataSourceConfigs to subgraphDataSourceConfigs
fix adapter tests

* change reverse proxy to be able to use subscriptions with internal apis

* update graphql-go-tools with reference to feat/refactor-subscriptions

* add engine config adapter tests examples for internal graphql api

* skip GraphQLExecutor in json marshalling

* refactor reverse proxy handle graphql

* do not write a status code on a hijaked connection

* move canceling engine context to APISpec.Release

* use in memory listener to handle internal api

* make sure that request body is readable after graphql middleware

* cleanup

* add linter fixes

* remove setting hostname for request to internal api

* upgrade graphql-go-tools
letzya and others added 22 commits August 19, 2021 22:53
…ykTechnologies#2965)

* Add murmur64 to the example as it's preferred setting over murmur3

* fix quote

Co-Authored-By: Artem Hluvchynskyi <excieve@gmail.com>

Co-authored-by: Ahmet Soormally <ahmet@mangomm.co.uk>
Co-authored-by: Artem Hluvchynskyi <excieve@gmail.com>
Co-authored-by: Furkan Senharputlu <furkan_senharputlu@hotmail.com>
…ykTechnologies#3194)

* Added a warning  for session lifetime

* Update checkup.go

* Update checkup.go

Co-authored-by: Furkan Senharputlu <furkan_senharputlu@hotmail.com>
* TT-1455 - json parser added latest version

* TT-1455 - run go mod vendor

* code cleanup

* moved out vendors folder
<!-- Provide a general summary of your changes in the Title above -->

## Description
<!-- Describe your changes in detail -->
fix wrong log description
## Related Issue
<!-- This project only accepts pull requests related to open issues -->
<!-- If suggesting a new feature or change, please discuss it in an issue first -->
<!-- If fixing a bug, there should be an issue describing it with steps to reproduce -->
<!-- Please link to the issue here -->

## Motivation and Context
<!-- Why is this change required? What problem does it solve? -->

## How This Has Been Tested
<!-- Please describe in detail how you tested your changes -->
<!-- Include details of your testing environment, and the tests you ran to see how your change affects other areas of
the code, etc. -->

## Screenshots (if appropriate)

## Types of changes
<!-- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
- [√] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)

## Checklist
<!-- Go over all the following points, and put an `x` in all the boxes that apply -->
<!-- If you're unsure about any of these, don't hesitate to ask; we're here to help! -->
- [ ] Make sure you are requesting to **pull a topic/feature/bugfix branch** (right side). If pulling from your own
      fork, don't request your `master`!
- [√] Make sure you are making a pull request against the **`master` branch** (left side). Also, you should start
      *your branch* off *our latest `master`*.
- [ ] My change requires a change to the documentation.
  - [ ] If you've changed APIs, describe what needs to be updated in the documentation.
  - [ ] If new config option added, ensure that it can be set via ENV variable
- [ ] I have updated the documentation accordingly.
- [ ] Modules and vendor dependencies have been updated; run `go mod tidy && go mod vendor`
- [ ] When updating library version must provide reason/explanation for this update.
- [ ] I have added tests to cover my changes.
- [ ] All new and existing tests passed.
- [ √] Check your code additions will not fail linting checks:
  - [√ ] `go fmt -s`
  - [ √] `go vet`
…nologies#3221)

Co-authored-by: Furkan Senharputlu <furkan_senharputlu@hotmail.com>

Improves the analytics record data.
@github-actions
Copy link

💥 CI tests failed 🙈

CI test log

go: downloading github.com/getkin/kin-openapi v0.32.0
go: downloading github.com/ghodss/yaml v1.0.0
go: downloading gopkg.in/yaml.v2 v2.3.0
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk
?   	github.com/TykTechnologies/tyk	[no test files]
go vet github.com/TykTechnologies/tyk
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/apidef
ok  	github.com/TykTechnologies/tyk/apidef	0.088s	coverage: 20.4% of statements
go vet github.com/TykTechnologies/tyk/apidef
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/apidef/adapter
ok  	github.com/TykTechnologies/tyk/apidef/adapter	0.134s	coverage: 87.3% of statements
go vet github.com/TykTechnologies/tyk/apidef/adapter
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/apidef/importer
ok  	github.com/TykTechnologies/tyk/apidef/importer	0.073s	coverage: 65.6% of statements
go vet github.com/TykTechnologies/tyk/apidef/importer
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/apidef/oas
ok  	github.com/TykTechnologies/tyk/apidef/oas	0.045s	coverage: 90.0% of statements
go vet github.com/TykTechnologies/tyk/apidef/oas
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/certs
ok  	github.com/TykTechnologies/tyk/certs	4.470s	coverage: 56.5% of statements
go vet github.com/TykTechnologies/tyk/certs
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/checkup
?   	github.com/TykTechnologies/tyk/checkup	[no test files]
go vet github.com/TykTechnologies/tyk/checkup
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/cli
?   	github.com/TykTechnologies/tyk/cli	[no test files]
go vet github.com/TykTechnologies/tyk/cli
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/cli/bundler
ok  	github.com/TykTechnologies/tyk/cli/bundler	0.074s	coverage: 70.7% of statements
go vet github.com/TykTechnologies/tyk/cli/bundler
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/cli/importer
?   	github.com/TykTechnologies/tyk/cli/importer	[no test files]
go vet github.com/TykTechnologies/tyk/cli/importer
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/cli/linter
ok  	github.com/TykTechnologies/tyk/cli/linter	0.300s	coverage: 89.8% of statements
go vet github.com/TykTechnologies/tyk/cli/linter
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/config
ok  	github.com/TykTechnologies/tyk/config	0.174s	coverage: 69.9% of statements
go vet github.com/TykTechnologies/tyk/config
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/coprocess
?   	github.com/TykTechnologies/tyk/coprocess	[no test files]
go vet github.com/TykTechnologies/tyk/coprocess
go test -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/coprocess/grpc
ok  	github.com/TykTechnologies/tyk/coprocess/grpc	8.485s	coverage: [no statements]
go vet github.com/TykTechnologies/tyk/coprocess/grpc
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/coprocess/python
ok  	github.com/TykTechnologies/tyk/coprocess/python	12.201s	coverage: [no statements]
go vet github.com/TykTechnologies/tyk/coprocess/python
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/ctx
?   	github.com/TykTechnologies/tyk/ctx	[no test files]
go vet github.com/TykTechnologies/tyk/ctx
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/dlpython
ok  	github.com/TykTechnologies/tyk/dlpython	0.319s	coverage: 54.5% of statements
go vet github.com/TykTechnologies/tyk/dlpython
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/dnscache
ok  	github.com/TykTechnologies/tyk/dnscache	11.699s	coverage: 82.5% of statements
go vet github.com/TykTechnologies/tyk/dnscache
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/gateway
time="Aug 26 08:00:33" level=info msg="Rich plugins are disabled" prefix=coprocess
coverage: 65.0% of statements
panic: test timed out after 5m0s

goroutine 13902 [running]:
testing.(*M).startAlarm.func1()
	/opt/hostedtoolcache/go/1.15.15/x64/src/testing/testing.go:1618 +0x11f
created by time.goFunc
	/opt/hostedtoolcache/go/1.15.15/x64/src/time/sleep.go:167 +0x52

goroutine 1 [chan receive]:
testing.(*T).Run(0xc0003c6600, 0x271cae2, 0x22, 0x27b6d88, 0x1)
	/opt/hostedtoolcache/go/1.15.15/x64/src/testing/testing.go:1169 +0x5f4
testing.runTests.func1(0xc0003c6600)
	/opt/hostedtoolcache/go/1.15.15/x64/src/testing/testing.go:1439 +0xa7
testing.tRunner(0xc0003c6600, 0xc000533850)
	/opt/hostedtoolcache/go/1.15.15/x64/src/testing/testing.go:1123 +0x203
testing.runTests(0xc00036e800, 0x3935dc0, 0x14d, 0x14d, 0xc041f0b3514cd9f3, 0x45e4be9dee, 0x3abafa0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/testing/testing.go:1437 +0x613
testing.(*M).Run(0xc00010a280, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/testing/testing.go:1345 +0x3b4
github.com/TykTechnologies/tyk/gateway.InitTestMain(0x2c01dc0, 0xc0000a6010, 0xc00010a280, 0x0, 0x0, 0x0, 0x0)
	/home/runner/work/tyk/tyk/gateway/testutil.go:308 +0xfae
github.com/TykTechnologies/tyk/gateway.TestMain(0xc00010a280)
	/home/runner/work/tyk/tyk/gateway/gateway_test.go:38 +0x76
main.main()
	_testmain.go:1033 +0x372

goroutine 19 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc00024d8e0, 0xc00023af40)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 20 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc00024d900, 0xc00023af80)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 21 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc00024d920, 0xc00023afc0)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 22 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc00024d930, 0xc00023b000)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 23 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc00024d940, 0xc00023b040)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 24 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc00024d950, 0xc00023b080)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 25 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc00024d960, 0xc00023b0c0)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 26 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc00024d970, 0xc00023b100)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 27 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc00024d980, 0xc00023b140)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 28 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc00024d990, 0xc00023b180)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 6 [select, 5 minutes]:
github.com/pmylund/go-cache.(*janitor).Run(0xc000361060, 0xc00007df40)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 7 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc000414010, 0xc00023a000)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 8 [select, 5 minutes]:
github.com/pmylund/go-cache.(*janitor).Run(0xc000414020, 0xc00023a040)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 9 [select, 5 minutes]:
github.com/pmylund/go-cache.(*janitor).Run(0xc000414030, 0xc00023a080)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 10 [select, 5 minutes]:
github.com/pmylund/go-cache.(*janitor).Run(0xc000414230, 0xc00023a140)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 11 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc000414c40, 0xc00023a1c0)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 12 [IO wait]:
internal/poll.runtime_pollWait(0x7f5128ff7298, 0x72, 0xc00006e6c0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc00010a398, 0x72, 0x200, 0x200, 0xc000ceecc0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).ReadMsg(0xc00010a380, 0xc0003d9400, 0x200, 0x200, 0xc000ceecc0, 0x28, 0x28, 0x0, 0x0, 0x0, ...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:242 +0x2b6
net.(*netFD).readMsg(0xc00010a380, 0xc0003d9400, 0x200, 0x200, 0xc000ceecc0, 0x28, 0x28, 0x7f5128ff72c8, 0x420db1, 0xc000062c00, ...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_posix.go:67 +0xa6
net.(*UDPConn).readMsg(0xc000010258, 0xc0003d9400, 0x200, 0x200, 0xc000ceecc0, 0x28, 0x28, 0x28, 0x7f5129711108, 0xc000ceecc0, ...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/udpsock_posix.go:59 +0xba
net.(*UDPConn).ReadMsgUDP(0xc000010258, 0xc0003d9400, 0x200, 0x200, 0xc000ceecc0, 0x28, 0x28, 0x0, 0x45021f0, 0xc00006eb30, ...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/udpsock.go:139 +0xc5
github.com/miekg/dns.ReadFromSessionUDP(0xc000010258, 0xc0003d9400, 0x200, 0x200, 0x0, 0x0, 0x3abafa0, 0xc000032000)
	/home/runner/go/pkg/mod/github.com/miekg/dns@v1.0.14/udp.go:42 +0x136
github.com/miekg/dns.(*Server).readUDP(0xc0003fc900, 0xc000010258, 0x77359400, 0x0, 0x0, 0xc00006ec88, 0x4a4198, 0xc0003fc9cc, 0xc0ffffffff)
	/home/runner/go/pkg/mod/github.com/miekg/dns@v1.0.14/server.go:720 +0x12c
github.com/miekg/dns.(*defaultReader).ReadUDP(0xc000010270, 0xc000010258, 0x77359400, 0x7f50f9fcac58, 0xc00016b540, 0x1, 0x0, 0x2bd6c20, 0xc00016b540)
	/home/runner/go/pkg/mod/github.com/miekg/dns@v1.0.14/server.go:169 +0x73
github.com/miekg/dns.(*Server).serveUDP(0xc0003fc900, 0xc000010258, 0x0, 0x0)
	/home/runner/go/pkg/mod/github.com/miekg/dns@v1.0.14/server.go:531 +0x274
github.com/miekg/dns.(*Server).ActivateAndServe(0xc0003fc900, 0x0, 0x0)
	/home/runner/go/pkg/mod/github.com/miekg/dns@v1.0.14/server.go:395 +0x435
github.com/TykTechnologies/tyk/test.InitDNSMock.func2(0xc000392e40, 0xc0003fc900)
	/home/runner/work/tyk/tyk/test/dns.go:191 +0x39
created by github.com/TykTechnologies/tyk/test.InitDNSMock
	/home/runner/work/tyk/tyk/test/dns.go:190 +0x508

goroutine 31 [IO wait]:
internal/poll.runtime_pollWait(0x7f5128ff71b0, 0x72, 0x72)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc00010a418, 0x72, 0x0, 0x0, 0x26e926e)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Accept(0xc00010a400, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:394 +0x2fe
net.(*netFD).accept(0xc00010a400, 0x45c62a, 0xc000001680, 0xc000412340)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_unix.go:172 +0x58
net.(*TCPListener).accept(0xc00040ec20, 0x482d5b, 0xa53ff710db, 0x26ebce97)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/tcpsock_posix.go:139 +0x50
net.(*TCPListener).Accept(0xc00040ec20, 0x4875ec, 0x4562ae, 0xc00006fcd0, 0x47d980)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/tcpsock.go:261 +0x8e
net/http.(*Server).Serve(0xc0004122a0, 0x2bf9a00, 0xc00040ec20, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:2937 +0x414
net/http.(*Server).ListenAndServe(0xc0004122a0, 0x1, 0x1)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:2866 +0x106
github.com/TykTechnologies/tyk/gateway.InitTestMain.func1(0xc0004122a0)
	/home/runner/work/tyk/tyk/gateway/testutil.go:270 +0x55
created by github.com/TykTechnologies/tyk/gateway.InitTestMain
	/home/runner/work/tyk/tyk/gateway/testutil.go:269 +0x965

goroutine 13 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc00004e6b0, 0xc00023aec0)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 36 [select]:
github.com/TykTechnologies/tyk/gateway.(*HostCheckerManager).CheckActivePollerLoop(0x3ababc0, 0x2c01dc0, 0xc0000a6010)
	/home/runner/work/tyk/tyk/gateway/host_checker_manager.go:109 +0x23e
created by github.com/TykTechnologies/tyk/gateway.(*HostCheckerManager).Start
	/home/runner/work/tyk/tyk/gateway/host_checker_manager.go:87 +0xc5

goroutine 37 [select]:
github.com/TykTechnologies/tyk/gateway.initHealthCheck.func1(0x2c01dc0, 0xc0000a6010)
	/home/runner/work/tyk/tyk/gateway/health_check.go:83 +0x291
created by github.com/TykTechnologies/tyk/gateway.initHealthCheck
	/home/runner/work/tyk/tyk/gateway/health_check.go:73 +0x7d

goroutine 14 [chan send, 2 minutes]:
github.com/Jeffail/tunny.(*workerWrapper).Loop(0xc000341920)
	/home/runner/go/pkg/mod/github.com/!jeffail/tunny@v0.0.0-20171107125207-452a8e97d6a3/worker.go:61 +0x19a
created by github.com/Jeffail/tunny.(*workerWrapper).Open
	/home/runner/go/pkg/mod/github.com/!jeffail/tunny@v0.0.0-20171107125207-452a8e97d6a3/worker.go:80 +0x1b4

goroutine 38 [select]:
github.com/TykTechnologies/tyk/gateway.(*RedisAnalyticsHandler).recordWorker(0x3abe560)
	/home/runner/work/tyk/tyk/gateway/analytics.go:262 +0x3ec
created by github.com/TykTechnologies/tyk/gateway.(*RedisAnalyticsHandler).Init
	/home/runner/work/tyk/tyk/gateway/analytics.go:216 +0x5d5

goroutine 15 [chan send, 2 minutes]:
github.com/Jeffail/tunny.(*workerWrapper).Loop(0xc000341950)
	/home/runner/go/pkg/mod/github.com/!jeffail/tunny@v0.0.0-20171107125207-452a8e97d6a3/worker.go:61 +0x19a
created by github.com/Jeffail/tunny.(*workerWrapper).Open
	/home/runner/go/pkg/mod/github.com/!jeffail/tunny@v0.0.0-20171107125207-452a8e97d6a3/worker.go:80 +0x1b4

goroutine 39 [select]:
github.com/TykTechnologies/tyk/gateway.(*RedisAnalyticsHandler).recordWorker(0x3abe560)
	/home/runner/work/tyk/tyk/gateway/analytics.go:262 +0x3ec
created by github.com/TykTechnologies/tyk/gateway.(*RedisAnalyticsHandler).Init
	/home/runner/work/tyk/tyk/gateway/analytics.go:216 +0x5d5

goroutine 16 [select, 2 minutes]:
github.com/TykTechnologies/tyk/gateway.(*HostUptimeChecker).HostCheckLoop(0xc00018cab0, 0x2c01dc0, 0xc0000a6010)
	/home/runner/work/tyk/tyk/gateway/host_checker.go:107 +0x1dd
created by github.com/TykTechnologies/tyk/gateway.(*HostUptimeChecker).Start
	/home/runner/work/tyk/tyk/gateway/host_checker.go:377 +0xf4

goroutine 40 [select]:
github.com/TykTechnologies/tyk/gateway.RedisPurger.PurgeLoop(0x2c42320, 0xc00036e780, 0x2c01dc0, 0xc0000a6010)
	/home/runner/work/tyk/tyk/gateway/redis_analytics_purger.go:27 +0x1e5
created by github.com/TykTechnologies/tyk/gateway.setupGlobals.func1
	/home/runner/work/tyk/tyk/gateway/server.go:212 +0xf8

goroutine 50 [select, 2 minutes]:
github.com/TykTechnologies/tyk/gateway.(*HostUptimeChecker).HostReporter(0xc00018cab0, 0x2c01dc0, 0xc0000a6010)
	/home/runner/work/tyk/tyk/gateway/host_checker.go:147 +0x253
created by github.com/TykTechnologies/tyk/gateway.(*HostUptimeChecker).Start
	/home/runner/work/tyk/tyk/gateway/host_checker.go:379 +0x18f

goroutine 41 [select]:
github.com/TykTechnologies/tyk/gateway.flushNetworkAnalytics(0x2c01dc0, 0xc0000a6010)
	/home/runner/work/tyk/tyk/gateway/proxy_muxer.go:208 +0x869
created by github.com/TykTechnologies/tyk/gateway.setupGlobals
	/home/runner/work/tyk/tyk/gateway/server.go:227 +0x1dc5

goroutine 71 [sleep]:
time.Sleep(0x4c4b40)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/time.go:188 +0xbf
github.com/TykTechnologies/tyk/gateway.reloadSimulation()
	/home/runner/work/tyk/tyk/gateway/testutil.go:346 +0xc5
created by github.com/TykTechnologies/tyk/gateway.InitTestMain
	/home/runner/work/tyk/tyk/gateway/testutil.go:307 +0xf9d

goroutine 70 [select]:
github.com/TykTechnologies/tyk/gateway.reloadQueueLoop(0x2c01dc0, 0xc0000a6010, 0xc0000aa500, 0x1, 0x1)
	/home/runner/work/tyk/tyk/gateway/server.go:817 +0x156
created by github.com/TykTechnologies/tyk/gateway.InitTestMain
	/home/runner/work/tyk/tyk/gateway/testutil.go:306 +0xf85

goroutine 69 [select]:
github.com/TykTechnologies/tyk/gateway.reloadLoop(0x2c01dc0, 0xc0000a6010, 0xc0003922a0, 0xc0000aa4f8, 0x1, 0x1)
	/home/runner/work/tyk/tyk/gateway/server.go:772 +0x2ce
created by github.com/TykTechnologies/tyk/gateway.InitTestMain
	/home/runner/work/tyk/tyk/gateway/testutil.go:305 +0xe51

goroutine 68 [IO wait]:
internal/poll.runtime_pollWait(0x7f5128ff6e10, 0x72, 0x2bd96a0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc00010a698, 0x72, 0x2bd9600, 0x393e898, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc00010a680, 0xc00030c000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc00010a680, 0xc00030c000, 0x1000, 0x1000, 0xa, 0x5, 0x420db1)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc000010068, 0xc00030c000, 0x1000, 0x1000, 0x4a50c6, 0xc0000ade60, 0xc000398480)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/net.go:182 +0xec
bufio.(*Reader).fill(0xc0000ade60)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:101 +0x1af
bufio.(*Reader).ReadSlice(0xc0000ade60, 0xc000d9c10a, 0x0, 0xc000942400, 0xc000def850, 0x47ff65, 0x7f5128ff6e18)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:360 +0x9b
github.com/go-redis/redis/v8/internal/proto.(*Reader).readLine(0xc00040e200, 0xc00010a680, 0x27bb500, 0xc0003c61a8, 0xc000def888, 0xc000def860)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/internal/proto/reader.go:72 +0x71
github.com/go-redis/redis/v8/internal/proto.(*Reader).ReadLine(0xc00040e200, 0xc000def860, 0x4ded85, 0x0, 0x0, 0xc000defcf8)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/internal/proto/reader.go:58 +0x3d
github.com/go-redis/redis/v8/internal/proto.(*Reader).ReadReply(0xc00040e200, 0x27b7d30, 0xc000def9e0, 0x6ea445, 0xc000010068, 0x0)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/internal/proto/reader.go:96 +0x56
github.com/go-redis/redis/v8.(*Cmd).readReply(...)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/command.go:318
github.com/go-redis/redis/v8.(*PubSub).ReceiveTimeout.func1(0xc00040e200, 0x0, 0x0)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/pubsub.go:379 +0x79
github.com/go-redis/redis/v8/internal/pool.(*Conn).WithReader.func1(0x2c01dc0, 0xc0000a6010, 0x2c19220, 0x44ffd18, 0x0, 0x0)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/internal/pool/conn.go:73 +0x11c
github.com/go-redis/redis/v8/internal.WithSpan(0x2c01dc0, 0xc0000a6010, 0x26f0f20, 0xb, 0xc000defbb0, 0x0, 0x0)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/internal/util.go:67 +0x297
github.com/go-redis/redis/v8/internal/pool.(*Conn).WithReader(0xc0003ec2d0, 0x2c01dc0, 0xc0000a6010, 0x0, 0xc000defc70, 0x0, 0x0)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/internal/pool/conn.go:69 +0xa9
github.com/go-redis/redis/v8.(*PubSub).ReceiveTimeout(0xc00010a000, 0x2c01dc0, 0xc0000a6010, 0x0, 0x2441aa0, 0xc0010c2230, 0x0, 0x0)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/pubsub.go:378 +0x11f
github.com/go-redis/redis/v8.(*PubSub).Receive(...)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/pubsub.go:394
github.com/TykTechnologies/tyk/storage.(*RedisCluster).StartPubSubHandler(0xc0005f4658, 0x270b3d1, 0x19, 0x27b77c0, 0x0, 0x0)
	/home/runner/work/tyk/tyk/storage/redis_cluster.go:823 +0x22f
github.com/TykTechnologies/tyk/gateway.startPubSubLoop()
	/home/runner/work/tyk/tyk/gateway/redis_signals.go:59 +0xbe
created by github.com/TykTechnologies/tyk/gateway.InitTestMain
	/home/runner/work/tyk/tyk/gateway/testutil.go:304 +0xce5

goroutine 5682 [IO wait, 3 minutes]:
internal/poll.runtime_pollWait(0x7f50f9fd9ae0, 0x72, 0x2bd96a0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc00019c198, 0x72, 0x2bd9600, 0x393e898, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc00019c180, 0xc000f7c000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc00019c180, 0xc000f7c000, 0x1000, 0x1000, 0x5bf368, 0x0, 0x2476d00)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc00100a038, 0xc000f7c000, 0x1000, 0x1000, 0xc0003b8620, 0xc00084d948, 0x4197d9)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/net.go:182 +0xec
net/http.(*persistConn).Read(0xc0009d78c0, 0xc000f7c000, 0x1000, 0x1000, 0x1, 0x0, 0xc00084d9e0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1894 +0xe8
bufio.(*Reader).fill(0xc00126a720)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:101 +0x1af
bufio.(*Reader).Peek(0xc00126a720, 0x1, 0x0, 0x1, 0x1, 0x0, 0xc000fd6600)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:139 +0xa5
net/http.(*persistConn).readLoop(0xc0009d78c0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2047 +0x2b3
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 43 [select]:
github.com/go-redis/redis/v8/internal/pool.(*ConnPool).reaper(0xc00027a3c0, 0xdf8475800)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/internal/pool/pool.go:453 +0x196
created by github.com/go-redis/redis/v8/internal/pool.NewConnPool
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/internal/pool/pool.go:107 +0x3ce

goroutine 58 [select]:
github.com/TykTechnologies/tyk/storage.ConnectToRedis(0x2c01dc0, 0xc0000a6010, 0x27b5fb8)
	/home/runner/work/tyk/tyk/storage/redis_cluster.go:167 +0x2d6
created by github.com/TykTechnologies/tyk/gateway.InitTestMain
	/home/runner/work/tyk/tyk/gateway/testutil.go:292 +0xbeb

goroutine 44 [select]:
github.com/go-redis/redis/v8/internal/pool.(*ConnPool).reaper(0xc00027a500, 0xdf8475800)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/internal/pool/pool.go:453 +0x196
created by github.com/go-redis/redis/v8/internal/pool.NewConnPool
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/internal/pool/pool.go:107 +0x3ce

goroutine 48 [select]:
github.com/go-redis/redis/v8/internal/pool.(*ConnPool).reaper(0xc00027a8c0, 0xdf8475800)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/internal/pool/pool.go:453 +0x196
created by github.com/go-redis/redis/v8/internal/pool.NewConnPool
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/internal/pool/pool.go:107 +0x3ce

goroutine 13917 [IO wait]:
internal/poll.runtime_pollWait(0x7f50f972ffb8, 0x72, 0x72)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc0011f2818, 0x72, 0x0, 0x0, 0x26e926e)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Accept(0xc0011f2800, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:394 +0x2fe
net.(*netFD).accept(0xc0011f2800, 0xc000810d50, 0x420db1, 0x229f660)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_unix.go:172 +0x58
net.(*TCPListener).accept(0xc00089a480, 0xc00063ee70, 0xc00063ee70, 0xc0008d0a40)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/tcpsock_posix.go:139 +0x50
net.(*TCPListener).Accept(0xc00089a480, 0xc00063ee70, 0xc000810dc0, 0x5bee10, 0xc00063ee90)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/tcpsock.go:261 +0x8e
net/http.(*Server).Serve(0xc0008d09a0, 0x2bf9a00, 0xc00089a480, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:2937 +0x414
created by github.com/TykTechnologies/tyk/gateway.(*proxyMux).serve
	/home/runner/work/tyk/tyk/gateway/proxy_muxer.go:422 +0xad4

goroutine 3840 [select, 3 minutes]:
net/http.(*persistConn).readLoop(0xc001267c20)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2167 +0xf3b
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 77 [chan receive]:
github.com/TykTechnologies/drl.(*Cache).startCleanupTimer.func1(0xc000264060, 0xc0002f8270)
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/drl@v0.0.0-20190905191955-cc541aa8e3e1/ttlcache.go:85 +0x3f
created by github.com/TykTechnologies/drl.(*Cache).startCleanupTimer
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/drl@v0.0.0-20190905191955-cc541aa8e3e1/ttlcache.go:82 +0x89

goroutine 78 [sleep]:
time.Sleep(0x12a05f200)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/time.go:188 +0xbf
github.com/TykTechnologies/drl.(*DRL).Init.func1(0xc00035bd10)
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/drl@v0.0.0-20190905191955-cc541aa8e3e1/drl.go:50 +0x78
created by github.com/TykTechnologies/drl.(*DRL).Init
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/drl@v0.0.0-20190905191955-cc541aa8e3e1/drl.go:45 +0x185

goroutine 79 [sleep]:
time.Sleep(0x77359400)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/time.go:188 +0xbf
github.com/TykTechnologies/tyk/gateway.startRateLimitNotifications.func1(0x2)
	/home/runner/work/tyk/tyk/gateway/distributed_rate_limiter.go:38 +0xda
created by github.com/TykTechnologies/tyk/gateway.startRateLimitNotifications
	/home/runner/work/tyk/tyk/gateway/distributed_rate_limiter.go:29 +0x172

goroutine 12792 [select]:
net/http.(*persistConn).readLoop(0xc001872d80)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2167 +0xf3b
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 103 [IO wait, 2 minutes]:
internal/poll.runtime_pollWait(0x7f5128ff6c40, 0x72, 0x72)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc0011f3618, 0x72, 0x0, 0x0, 0x26e926e)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Accept(0xc0011f3600, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:394 +0x2fe
net.(*netFD).accept(0xc0011f3600, 0x45c62a, 0xc0002d7080, 0xc000412180)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_unix.go:172 +0x58
net.(*TCPListener).accept(0xc0012532a0, 0x482d5b, 0x7fa90d1d00, 0xc5ae4bc)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/tcpsock_posix.go:139 +0x50
net.(*TCPListener).Accept(0xc0012532a0, 0x4875ec, 0x4562ae, 0xc000c40d58, 0x47d980)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/tcpsock.go:261 +0x8e
net/http.(*Server).Serve(0xc0004120e0, 0x2bf9a00, 0xc0012532a0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:2937 +0x414
github.com/TykTechnologies/tyk/gateway.TykNewSingleHostReverseProxy.func1.2(0xc0004120e0, 0x2bf9a00, 0xc0012532a0)
	/home/runner/work/tyk/tyk/gateway/reverse_proxy.go:216 +0x69
created by github.com/TykTechnologies/tyk/gateway.TykNewSingleHostReverseProxy.func1
	/home/runner/work/tyk/tyk/gateway/reverse_proxy.go:215 +0x29c

goroutine 6058 [select, 3 minutes]:
golang.org/x/net/http2.(*serverConn).serve(0xc001330a80)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/server.go:859 +0xc0c
golang.org/x/net/http2.(*Server).ServeConn(0xc00007de40, 0x2c13fc0, 0xc0005ca2a0, 0xc0007619f0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/server.go:472 +0xdc5
golang.org/x/net/http2/h2c.h2cHandler.ServeHTTP(0x2bd3000, 0xc0005a6e28, 0xc00007de40, 0x2bf9cc0, 0xc00078c0e0, 0xc000116600)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/h2c/h2c.go:87 +0x309
github.com/TykTechnologies/tyk/gateway.(*h2cWrapper).ServeHTTP(0xc0001f4d80, 0x2bf9cc0, 0xc00078c0e0, 0xc000116600)
	/home/runner/work/tyk/tyk/gateway/proxy_muxer.go:40 +0x90
net/http.serverHandler.ServeHTTP(0xc000982fc0, 0x2bf9cc0, 0xc00078c0e0, 0xc000116600)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:2843 +0xcb
net/http.(*conn).serve(0xc00026a000, 0x2c01d80, 0xc000a6e080)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:1925 +0x84d
created by net/http.(*Server).Serve
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:2969 +0x5d4

goroutine 2521 [IO wait, 4 minutes]:
internal/poll.runtime_pollWait(0x7f50f97c33a8, 0x72, 0x2bd96a0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc0010d2318, 0x72, 0x2bd9600, 0x393e898, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc0010d2300, 0xc00157c000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc0010d2300, 0xc00157c000, 0x1000, 0x1000, 0x6a026a, 0xc0010d2300, 0xc00157d000)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc0005a60e0, 0xc00157c000, 0x1000, 0x1000, 0x5d, 0x1000, 0x5d)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/net.go:182 +0xec
bufio.(*Reader).fill(0xc000e937a0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:101 +0x1af
bufio.(*Reader).Peek(0xc000e937a0, 0x4, 0x0, 0x0, 0x1, 0x8, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:139 +0xa5
github.com/valyala/fasthttp.(*Server).serveConn(0xc000cda000, 0x2c14320, 0xc0005a60e0, 0x0, 0x0)
	/home/runner/go/pkg/mod/github.com/valyala/fasthttp@v1.15.1/server.go:2016 +0x29f0
github.com/valyala/fasthttp.(*workerPool).workerFunc(0xc001265e00, 0xc000d1a2c0)
	/home/runner/go/pkg/mod/github.com/valyala/fasthttp@v1.15.1/workerpool.go:223 +0x10a
github.com/valyala/fasthttp.(*workerPool).getCh.func1(0xc001265e00, 0xc000d1a2c0, 0x2394de0, 0xc000d1a2c0)
	/home/runner/go/pkg/mod/github.com/valyala/fasthttp@v1.15.1/workerpool.go:195 +0x45
created by github.com/valyala/fasthttp.(*workerPool).getCh
	/home/runner/go/pkg/mod/github.com/valyala/fasthttp@v1.15.1/workerpool.go:194 +0x1b8

goroutine 12663 [select]:
net/http.(*persistConn).readLoop(0xc0001ed0e0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2167 +0xf3b
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 9102 [semacquire, 1 minutes]:
sync.runtime_Semacquire(0xc000a1c458)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/sema.go:56 +0x45
sync.(*WaitGroup).Wait(0xc000a1c450)
	/opt/hostedtoolcache/go/1.15.15/x64/src/sync/waitgroup.go:130 +0xe5
github.com/TykTechnologies/tyk/gateway.waitTimeout.func1(0xc000cdcba0, 0xc000a1c450)
	/home/runner/work/tyk/tyk/gateway/mw_http_signature_validation_test.go:114 +0x6d
created by github.com/TykTechnologies/tyk/gateway.waitTimeout
	/home/runner/work/tyk/tyk/gateway/mw_http_signature_validation_test.go:112 +0x8d

goroutine 2520 [IO wait, 4 minutes]:
internal/poll.runtime_pollWait(0x7f50f97c31d8, 0x72, 0x2bd96a0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000f7bb98, 0x72, 0x2bd9600, 0x393e898, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000f7bb80, 0xc00157b000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc000f7bb80, 0xc00157b000, 0x1000, 0x1000, 0x6a026a, 0xc000f7bb80, 0xc0007a1000)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc0005a60c0, 0xc00157b000, 0x1000, 0x1000, 0x5d, 0x1000, 0x5d)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/net.go:182 +0xec
bufio.(*Reader).fill(0xc000e93740)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:101 +0x1af
bufio.(*Reader).Peek(0xc000e93740, 0x4, 0x0, 0x0, 0x1, 0x8, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:139 +0xa5
github.com/valyala/fasthttp.(*Server).serveConn(0xc000cda000, 0x2c14320, 0xc0005a60c0, 0x0, 0x0)
	/home/runner/go/pkg/mod/github.com/valyala/fasthttp@v1.15.1/server.go:2016 +0x29f0
github.com/valyala/fasthttp.(*workerPool).workerFunc(0xc001265e00, 0xc000d1a2a0)
	/home/runner/go/pkg/mod/github.com/valyala/fasthttp@v1.15.1/workerpool.go:223 +0x10a
github.com/valyala/fasthttp.(*workerPool).getCh.func1(0xc001265e00, 0xc000d1a2a0, 0x2394de0, 0xc000d1a2a0)
	/home/runner/go/pkg/mod/github.com/valyala/fasthttp@v1.15.1/workerpool.go:195 +0x45
created by github.com/valyala/fasthttp.(*workerPool).getCh
	/home/runner/go/pkg/mod/github.com/valyala/fasthttp@v1.15.1/workerpool.go:194 +0x1b8

goroutine 12649 [select]:
net/http.(*persistConn).writeLoop(0xc000cdf320)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1716 +0xc31

goroutine 6077 [IO wait, 3 minutes]:
internal/poll.runtime_pollWait(0x7f50f97c3748, 0x72, 0x2bd96a0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000d12018, 0x72, 0x2bd9600, 0x393e898, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000d12000, 0xc000d4a000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc000d12000, 0xc000d4a000, 0x1000, 0x1000, 0x4641a0, 0x0, 0xc0008aa988)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc0005a6ed8, 0xc000d4a000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/net.go:182 +0xec
bufio.(*Reader).Read(0xc000800ea0, 0xc0009830d8, 0x9, 0x9, 0x0, 0xc0008aaf50, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:227 +0x7c7
io.ReadAtLeast(0x2bd28c0, 0xc000800ea0, 0xc0009830d8, 0x9, 0x9, 0x9, 0x2bd2c01, 0xc00009a030, 0xc0012817b0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/io/io.go:314 +0x9d
io.ReadFull(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/io/io.go:333
golang.org/x/net/http2.readFrameHeader(0xc0009830d8, 0x9, 0x9, 0x2bd28c0, 0xc000800ea0, 0x0, 0xc000000000, 0x1c, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/frame.go:237 +0xb1
golang.org/x/net/http2.(*Framer).ReadFrame(0xc0009830a0, 0xc0007fb200, 0x0, 0x0, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/frame.go:492 +0xff
golang.org/x/net/http2.(*clientConnReadLoop).run(0xc0008aafb8, 0x0, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/transport.go:1819 +0x1bd
golang.org/x/net/http2.(*ClientConn).readLoop(0xc00130b980)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/transport.go:1741 +0xbe
created by golang.org/x/net/http2.(*Transport).newClientConn
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/transport.go:705 +0xcc7

goroutine 6258 [IO wait, 3 minutes]:
internal/poll.runtime_pollWait(0x7f50f971fe08, 0x72, 0x2bd96a0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000dbf718, 0x72, 0x2bd9600, 0x393e898, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000dbf700, 0xc0006ea000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc000dbf700, 0xc0006ea000, 0x1000, 0x1000, 0x9, 0x45d31c, 0x2297ca0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc0005a6130, 0xc0006ea000, 0x1000, 0x1000, 0xc00162b088, 0x4876ec, 0x4a22df)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/net.go:182 +0xec
net/http.(*connReader).Read(0xc00162b080, 0xc0006ea000, 0x1000, 0x1000, 0x1, 0x9, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:798 +0x263
bufio.(*Reader).Read(0xc001353440, 0xc0000d38b8, 0x9, 0x9, 0x9, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:227 +0x7c7
io.(*multiReader).Read(0xc000eca6e0, 0xc0000d38b8, 0x9, 0x9, 0xc0000d38b0, 0x10401, 0xc000000000)
	/opt/hostedtoolcache/go/1.15.15/x64/src/io/multi.go:26 +0xfa
golang.org/x/net/http2/h2c.(*rwConn).Read(0xc00162b170, 0xc0000d38b8, 0x9, 0x9, 0x10401, 0x1040100000000, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/h2c/h2c.go:293 +0x7a
io.ReadAtLeast(0x7f50f9534a28, 0xc00162b170, 0xc0000d38b8, 0x9, 0x9, 0x9, 0xc0008abd00, 0x47dd17, 0xc0008abf78)
	/opt/hostedtoolcache/go/1.15.15/x64/src/io/io.go:314 +0x9d
io.ReadFull(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/io/io.go:333
golang.org/x/net/http2.readFrameHeader(0xc0000d38b8, 0x9, 0x9, 0x7f50f9534a28, 0xc00162b170, 0x0, 0x0, 0xc0008abeb4, 0x2)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/frame.go:237 +0xb1
golang.org/x/net/http2.(*Framer).ReadFrame(0xc0000d3880, 0xc0008abeb0, 0x2, 0x0, 0x1)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/frame.go:492 +0xff
golang.org/x/net/http2.(*serverConn).readFrames(0xc00096bc80)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/server.go:745 +0xfc
created by golang.org/x/net/http2.(*serverConn).serve
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/server.go:851 +0x865

goroutine 12747 [select]:
net/http.(*persistConn).writeLoop(0xc000913c20)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1716 +0xc31

goroutine 13882 [select]:
net/http.(*persistConn).writeLoop(0xc0009d7b00)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1716 +0xc31

goroutine 519 [chan receive, 4 minutes]:
github.com/TykTechnologies/leakybucket/memorycache.(*Cache).startCleanupTimer.func1(0xc000b86120, 0xc000612c00)
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/leakybucket@v0.0.0-20170301023702-71692c943e3c/memorycache/cache.go:69 +0x3f
created by github.com/TykTechnologies/leakybucket/memorycache.(*Cache).startCleanupTimer
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/leakybucket@v0.0.0-20170301023702-71692c943e3c/memorycache/cache.go:66 +0x89

goroutine 1769 [chan send]:
github.com/TykTechnologies/tyk/gateway.TestGroupResetHandler.func1.1(0x2441aa0, 0xc0010c2280)
	/home/runner/work/tyk/tyk/gateway/api_test.go:1418 +0x291
github.com/TykTechnologies/tyk/storage.(*RedisCluster).StartPubSubHandler(0xc0009c0c40, 0x270b3d1, 0x19, 0xc000516f90, 0x0, 0x0)
	/home/runner/work/tyk/tyk/storage/redis_cluster.go:830 +0x40e
github.com/TykTechnologies/tyk/gateway.TestGroupResetHandler.func1(0xc0009c0c40, 0xc000fd6180, 0xc000c46600, 0xc000fd61e0)
	/home/runner/work/tyk/tyk/gateway/api_test.go:1408 +0xa5
created by github.com/TykTechnologies/tyk/gateway.TestGroupResetHandler
	/home/runner/work/tyk/tyk/gateway/api_test.go:1407 +0x125

goroutine 12746 [select]:
net/http.(*persistConn).readLoop(0xc000913c20)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2167 +0xf3b
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 12787 [select]:
net/http.(*persistConn).writeLoop(0xc001872900)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1716 +0xc31

goroutine 13116 [IO wait]:
internal/poll.runtime_pollWait(0x7f50f971fb50, 0x72, 0x72)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc001592318, 0x72, 0x0, 0x0, 0x26e926e)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Accept(0xc001592300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:394 +0x2fe
net.(*netFD).accept(0xc001592300, 0x8, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_unix.go:172 +0x58
net.(*TCPListener).accept(0xc000fc5420, 0xc00080df50, 0x6ea6ad, 0xc00100ae38)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/tcpsock_posix.go:139 +0x50
net.(*TCPListener).Accept(0xc000fc5420, 0xc000b58410, 0x8, 0x8, 0x8)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/tcpsock.go:261 +0x8e
github.com/TykTechnologies/tyk/gateway.TestTCPDial_with_service_discovery.func2(0x2bf9a00, 0xc000fc5420, 0x26e6aff, 0x5)
	/home/runner/work/tyk/tyk/gateway/proxy_muxer_test.go:48 +0xb6
created by github.com/TykTechnologies/tyk/gateway.TestTCPDial_with_service_discovery
	/home/runner/work/tyk/tyk/gateway/proxy_muxer_test.go:46 +0x31f

goroutine 13566 [select]:
github.com/miekg/dns.(*Server).worker(0xc0003fc900, 0xc0011f2c00)
	/home/runner/go/pkg/mod/github.com/miekg/dns@v1.0.14/server.go:262 +0x289
created by github.com/miekg/dns.(*Server).spawnWorker
	/home/runner/go/pkg/mod/github.com/miekg/dns@v1.0.14/server.go:283 +0xb1

goroutine 13881 [IO wait]:
internal/poll.runtime_pollWait(0x7f50f971f7b0, 0x72, 0x2bd96a0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000d13d98, 0x72, 0x2bd9600, 0x393e898, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000d13d80, 0xc00142c000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc000d13d80, 0xc00142c000, 0x1000, 0x1000, 0x294, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc00100b3a8, 0xc00142c000, 0x1000, 0x1000, 0xc00171ced0, 0xc00189f948, 0x4197d9)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/net.go:182 +0xec
net/http.(*persistConn).Read(0xc0009d7b00, 0xc00142c000, 0x1000, 0x1000, 0x1, 0x0, 0xc00189f9e0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1894 +0xe8
bufio.(*Reader).fill(0xc000b94720)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:101 +0x1af
bufio.(*Reader).Peek(0xc000b94720, 0x1, 0x0, 0x1, 0x1, 0x0, 0xc0007304e0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:139 +0xa5
net/http.(*persistConn).readLoop(0xc0009d7b00)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2047 +0x2b3
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 2518 [IO wait, 4 minutes]:
internal/poll.runtime_pollWait(0x7f50f97c3578, 0x72, 0x2bd96a0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000f7bb18, 0x72, 0x2bd9600, 0x393e898, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000f7bb00, 0xc00156b000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc000f7bb00, 0xc00156b000, 0x1000, 0x1000, 0x5d, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc0005a6090, 0xc00156b000, 0x1000, 0x1000, 0xc001448fc0, 0xc00055d948, 0x4197d9)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/net.go:182 +0xec
net/http.(*persistConn).Read(0xc0009d6240, 0xc00156b000, 0x1000, 0x1000, 0x1, 0x0, 0x2)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1894 +0xe8
bufio.(*Reader).fill(0xc000e93620)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:101 +0x1af
bufio.(*Reader).Peek(0xc000e93620, 0x1, 0x2, 0x0, 0x0, 0x0, 0xc0009fafc0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:139 +0xa5
net/http.(*persistConn).readLoop(0xc0009d6240)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2047 +0x2b3
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 3861 [select, 3 minutes]:
net/http.(*persistConn).writeLoop(0xc000cdeea0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1716 +0xc31

goroutine 2519 [select, 4 minutes]:
net/http.(*persistConn).writeLoop(0xc0009d6240)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1716 +0xc31

goroutine 5675 [IO wait, 3 minutes]:
internal/poll.runtime_pollWait(0x7f50f972f6a8, 0x72, 0x72)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000dbf018, 0x72, 0x0, 0x0, 0x26e926e)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Accept(0xc000dbf000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:394 +0x2fe
net.(*netFD).accept(0xc000dbf000, 0x45c600, 0xc001331800, 0x8)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_unix.go:172 +0x58
net.(*TCPListener).accept(0xc000e33220, 0xc0001b98f0, 0x0, 0xf669f98)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/tcpsock_posix.go:139 +0x50
net.(*TCPListener).Accept(0xc000e33220, 0xc000375d50, 0x4562ae, 0xc000375d20, 0x47d980)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/tcpsock.go:261 +0x8e
net/http.(*Server).Serve(0xc00078c9a0, 0x2bf9a00, 0xc000e33220, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:2937 +0x414
net/http/httptest.(*Server).goServe.func1(0xc0001b98f0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/httptest/server.go:308 +0xd9
created by net/http/httptest.(*Server).goServe
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/httptest/server.go:306 +0x6a

goroutine 9084 [semacquire, 1 minutes]:
sync.runtime_Semacquire(0xc0009b1988)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/sema.go:56 +0x45
sync.(*WaitGroup).Wait(0xc0009b1980)
	/opt/hostedtoolcache/go/1.15.15/x64/src/sync/waitgroup.go:130 +0xe5
github.com/TykTechnologies/tyk/gateway.waitTimeout.func1(0xc000b629c0, 0xc0009b1980)
	/home/runner/work/tyk/tyk/gateway/mw_http_signature_validation_test.go:114 +0x6d
created by github.com/TykTechnologies/tyk/gateway.waitTimeout
	/home/runner/work/tyk/tyk/gateway/mw_http_signature_validation_test.go:112 +0x8d

goroutine 13131 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc001536600, 0xc0013a1f80)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 12822 [select]:
net/http.(*persistConn).readLoop(0xc00028bd40)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2167 +0xf3b
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 2510 [select, 4 minutes]:
net/http.(*persistConn).writeLoop(0xc00028aa20)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1716 +0xc31

goroutine 2509 [IO wait, 4 minutes]:
internal/poll.runtime_pollWait(0x7f50f97c3918, 0x72, 0x2bd96a0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000eb3b98, 0x72, 0x2bd9600, 0x393e898, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000eb3b80, 0xc000ba7000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc000eb3b80, 0xc000ba7000, 0x1000, 0x1000, 0x5d, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc00100ad10, 0xc000ba7000, 0x1000, 0x1000, 0xc0003b9d00, 0xc000559948, 0x4197d9)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/net.go:182 +0xec
net/http.(*persistConn).Read(0xc00028aa20, 0xc000ba7000, 0x1000, 0x1000, 0x1, 0x0, 0x2)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1894 +0xe8
bufio.(*Reader).fill(0xc000ef6e40)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:101 +0x1af
bufio.(*Reader).Peek(0xc000ef6e40, 0x1, 0x2, 0x0, 0x0, 0x0, 0xc0009faf00)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:139 +0xa5
net/http.(*persistConn).readLoop(0xc00028aa20)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2047 +0x2b3
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 12793 [select]:
net/http.(*persistConn).writeLoop(0xc001872d80)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1716 +0xc31

goroutine 5683 [select, 3 minutes]:
net/http.(*persistConn).writeLoop(0xc0009d78c0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1716 +0xc31

goroutine 13915 [chan receive]:
testing.(*T).Run(0xc0005dbe00, 0x26f80d0, 0x10, 0xc00024d540, 0x38f2b02)
	/opt/hostedtoolcache/go/1.15.15/x64/src/testing/testing.go:1169 +0x5f4
github.com/TykTechnologies/tyk/gateway.TestProcessKeySpaceChangesForOauth(0xc0005dbe00)
	/home/runner/work/tyk/tyk/gateway/rpc_storage_handler_test.go:82 +0x27c
testing.tRunner(0xc0005dbe00, 0x27b6d88)
	/opt/hostedtoolcache/go/1.15.15/x64/src/testing/testing.go:1123 +0x203
created by testing.(*T).Run
	/opt/hostedtoolcache/go/1.15.15/x64/src/testing/testing.go:1168 +0x5bc

goroutine 9099 [semacquire, 1 minutes]:
sync.runtime_Semacquire(0xc000209568)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/sema.go:56 +0x45
sync.(*WaitGroup).Wait(0xc000209560)
	/opt/hostedtoolcache/go/1.15.15/x64/src/sync/waitgroup.go:130 +0xe5
github.com/TykTechnologies/tyk/gateway.waitTimeout.func1(0xc000cdca20, 0xc000209560)
	/home/runner/work/tyk/tyk/gateway/mw_http_signature_validation_test.go:114 +0x6d
created by github.com/TykTechnologies/tyk/gateway.waitTimeout
	/home/runner/work/tyk/tyk/gateway/mw_http_signature_validation_test.go:112 +0x8d

goroutine 2522 [sleep]:
time.Sleep(0x3b9aca00)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/time.go:188 +0xbf
github.com/valyala/fasthttp.updateServerDate.func1()
	/home/runner/go/pkg/mod/github.com/valyala/fasthttp@v1.15.1/header.go:1396 +0x38
created by github.com/valyala/fasthttp.updateServerDate
	/home/runner/go/pkg/mod/github.com/valyala/fasthttp@v1.15.1/header.go:1394 +0x48

goroutine 9011 [select]:
github.com/jensneuse/graphql-go-tools/pkg/subscription.(*Handler).handleKeepAlive(0xc00035b3b0, 0x2c01dc0, 0xc0000a6010)
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/graphql-go-tools@v1.6.2-0.20210812125449-1d05c608ae43/pkg/subscription/handler.go:351 +0x15e
created by github.com/jensneuse/graphql-go-tools/pkg/subscription.(*Handler).Handle
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/graphql-go-tools@v1.6.2-0.20210812125449-1d05c608ae43/pkg/subscription/handler.go:139 +0x325

goroutine 3860 [select, 3 minutes]:
net/http.(*persistConn).readLoop(0xc000cdeea0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2167 +0xf3b
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 13650 [sleep]:
time.Sleep(0x574fbde6000)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/time.go:188 +0xbf
github.com/TykTechnologies/tyk/gateway.APIDefinitionLoader.compileCircuitBreakerPathSpec.func1.1(0xc000daf718, 0x1770, 0xc001160640)
	/home/runner/work/tyk/tyk/gateway/api_definition.go:819 +0xf3
created by github.com/TykTechnologies/tyk/gateway.APIDefinitionLoader.compileCircuitBreakerPathSpec.func1
	/home/runner/work/tyk/tyk/gateway/api_definition.go:817 +0x748

goroutine 6078 [select, 3 minutes]:
golang.org/x/net/http2.(*serverConn).serve(0xc00130bb00)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/server.go:859 +0xc0c
golang.org/x/net/http2.(*Server).ServeConn(0xc000a6e640, 0x2c13fc0, 0xc000fc31d0, 0xc00075da20)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/server.go:472 +0xdc5
golang.org/x/net/http2/h2c.h2cHandler.ServeHTTP(0x2bd9180, 0xc0009197d0, 0xc000a6e640, 0x2bf9cc0, 0xc0009835e0, 0xc000d53700)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/h2c/h2c.go:87 +0x309
net/http.serverHandler.ServeHTTP(0xc0000d28c0, 0x2bf9cc0, 0xc0009835e0, 0xc000d53700)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:2843 +0xcb
net/http.(*conn).serve(0xc0011601e0, 0x2c01d80, 0xc0011dcf80)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:1925 +0x84d
created by net/http.(*Server).Serve
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:2969 +0x5d4

goroutine 13920 [runnable]:
github.com/TykTechnologies/circuitbreaker.(*Breaker).Subscribe.func1(0xc00119d3e0, 0xc00099d880)
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/circuitbreaker@v2.2.2+incompatible/circuitbreaker.go:201
created by github.com/TykTechnologies/circuitbreaker.(*Breaker).Subscribe
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/circuitbreaker@v2.2.2+incompatible/circuitbreaker.go:201 +0x9f

goroutine 12786 [select]:
net/http.(*persistConn).readLoop(0xc001872900)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2167 +0xf3b
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 12648 [select]:
net/http.(*persistConn).readLoop(0xc000cdf320)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2167 +0xf3b
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 6086 [IO wait, 3 minutes]:
internal/poll.runtime_pollWait(0x7f50f97c3830, 0x72, 0x2bd96a0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc00019d198, 0x72, 0x2bd9600, 0x393e898, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc00019d180, 0xc000641000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc00019d180, 0xc000641000, 0x1000, 0x1000, 0x9, 0x45d31c, 0x2297ca0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc0005a6f08, 0xc000641000, 0x1000, 0x1000, 0xc000fc3118, 0x4876ec, 0x4a22df)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/net.go:182 +0xec
net/http.(*connReader).Read(0xc000fc3110, 0xc000641000, 0x1000, 0x1000, 0x1, 0x9, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:798 +0x263
bufio.(*Reader).Read(0xc000b86c00, 0xc000983df8, 0x9, 0x9, 0x9, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:227 +0x7c7
io.(*multiReader).Read(0xc0001f4f00, 0xc000983df8, 0x9, 0x9, 0xc000983df0, 0x10401, 0xc000000000)
	/opt/hostedtoolcache/go/1.15.15/x64/src/io/multi.go:26 +0xfa
golang.org/x/net/http2/h2c.(*rwConn).Read(0xc000fc31d0, 0xc000983df8, 0x9, 0x9, 0x10401, 0x1040100000000, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/h2c/h2c.go:293 +0x7a
io.ReadAtLeast(0x7f50f9534a28, 0xc000fc31d0, 0xc000983df8, 0x9, 0x9, 0x9, 0xc000377d00, 0x47dd17, 0xc000377f78)
	/opt/hostedtoolcache/go/1.15.15/x64/src/io/io.go:314 +0x9d
io.ReadFull(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/io/io.go:333
golang.org/x/net/http2.readFrameHeader(0xc000983df8, 0x9, 0x9, 0x7f50f9534a28, 0xc000fc31d0, 0x0, 0x0, 0xc000377eb4, 0x2)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/frame.go:237 +0xb1
golang.org/x/net/http2.(*Framer).ReadFrame(0xc000983dc0, 0xc000377eb0, 0x2, 0x0, 0x1)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/frame.go:492 +0xff
golang.org/x/net/http2.(*serverConn).readFrames(0xc00130bb00)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/server.go:745 +0xfc
created by golang.org/x/net/http2.(*serverConn).serve
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/server.go:851 +0x865

goroutine 12761 [select]:
net/http.(*persistConn).writeLoop(0xc00108bc20)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1716 +0xc31

goroutine 13916 [runnable]:
github.com/TykTechnologies/tyk/gateway.APIDefinitionLoader.getExtendedPathSpecs(0xc000325133, 0x7, 0x0, 0x0, 0x0, 0x0, 0x0, 0x44ffd18, 0x0, 0x0, ...)
	/home/runner/work/tyk/tyk/gateway/api_definition.go:1036 +0x12ad
github.com/TykTechnologies/tyk/gateway.APIDefinitionLoader.MakeSpec(0xc001035500, 0x0, 0x0)
	/home/runner/work/tyk/tyk/gateway/api_definition.go:351 +0x18c8
github.com/TykTechnologies/tyk/gateway.APIDefinitionLoader.FromDir(0xc0000435c0, 0x17, 0xc000db8000, 0x1a4ac25, 0x78)
	/home/runner/work/tyk/tyk/gateway/api_definition.go:548 +0x5bd
github.com/TykTechnologies/tyk/gateway.syncAPISpecs(0x39a3764, 0x1, 0x2c6)
	/home/runner/work/tyk/tyk/gateway/server.go:312 +0x111b
github.com/TykTechnologies/tyk/gateway.DoReload()
	/home/runner/work/tyk/tyk/gateway/server.go:741 +0x1d5
github.com/TykTechnologies/tyk/gateway.startServer()
	/home/runner/work/tyk/tyk/gateway/server.go:1517 +0x98a
github.com/TykTechnologies/tyk/gateway.(*Test).Start(0xc001529c00)
	/home/runner/work/tyk/tyk/gateway/testutil.go:925 +0x2fb
github.com/TykTechnologies/tyk/gateway.StartTest(0x0, 0x0, 0x0, 0x0)
	/home/runner/work/tyk/tyk/gateway/testutil.go:1080 +0xc5
github.com/TykTechnologies/tyk/gateway.TestProcessKeySpaceChangesForOauth.func1(0xc000484600)
	/home/runner/work/tyk/tyk/gateway/rpc_storage_handler_test.go:83 +0x8e
testing.tRunner(0xc000484600, 0xc00024d540)
	/opt/hostedtoolcache/go/1.15.15/x64/src/testing/testing.go:1123 +0x203
created by testing.(*T).Run
	/opt/hostedtoolcache/go/1.15.15/x64/src/testing/testing.go:1168 +0x5bc

goroutine 6062 [IO wait, 3 minutes]:
internal/poll.runtime_pollWait(0x7f50f971fef0, 0x72, 0x2bd96a0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000d12098, 0x72, 0x2bd9600, 0x393e898, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000d12080, 0xc0006dc000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc000d12080, 0xc0006dc000, 0x1000, 0x1000, 0x9, 0x45d31c, 0x2297ca0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc00100a060, 0xc0006dc000, 0x1000, 0x1000, 0xc0005ca1e8, 0x4876ec, 0x4a22df)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/net.go:182 +0xec
net/http.(*connReader).Read(0xc0005ca1e0, 0xc0006dc000, 0x1000, 0x1000, 0x1, 0x9, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:798 +0x263
bufio.(*Reader).Read(0xc001944120, 0xc00078cd58, 0x9, 0x9, 0x9, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:227 +0x7c7
io.(*multiReader).Read(0xc00013e100, 0xc00078cd58, 0x9, 0x9, 0xc00078cd50, 0x10401, 0xc000000000)
	/opt/hostedtoolcache/go/1.15.15/x64/src/io/multi.go:26 +0xfa
golang.org/x/net/http2/h2c.(*rwConn).Read(0xc0005ca2a0, 0xc00078cd58, 0x9, 0x9, 0x10401, 0x1040100000000, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/h2c/h2c.go:293 +0x7a
io.ReadAtLeast(0x7f50f9534a28, 0xc0005ca2a0, 0xc00078cd58, 0x9, 0x9, 0x9, 0xc00075bd00, 0x47dd17, 0xc00075bf78)
	/opt/hostedtoolcache/go/1.15.15/x64/src/io/io.go:314 +0x9d
io.ReadFull(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/io/io.go:333
golang.org/x/net/http2.readFrameHeader(0xc00078cd58, 0x9, 0x9, 0x7f50f9534a28, 0xc0005ca2a0, 0x0, 0x0, 0xc00075beb4, 0x2)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/frame.go:237 +0xb1
golang.org/x/net/http2.(*Framer).ReadFrame(0xc00078cd20, 0xc00075beb0, 0x2, 0x0, 0x1)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/frame.go:492 +0xff
golang.org/x/net/http2.(*serverConn).readFrames(0xc001330a80)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/server.go:745 +0xfc
created by golang.org/x/net/http2.(*serverConn).serve
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/server.go:851 +0x865

goroutine 9057 [semacquire, 1 minutes]:
sync.runtime_Semacquire(0xc000dae648)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/sema.go:56 +0x45
sync.(*WaitGroup).Wait(0xc000dae640)
	/opt/hostedtoolcache/go/1.15.15/x64/src/sync/waitgroup.go:130 +0xe5
github.com/TykTechnologies/tyk/gateway.waitTimeout.func1(0xc0010fc0c0, 0xc000dae640)
	/home/runner/work/tyk/tyk/gateway/mw_http_signature_validation_test.go:114 +0x6d
created by github.com/TykTechnologies/tyk/gateway.waitTimeout
	/home/runner/work/tyk/tyk/gateway/mw_http_signature_validation_test.go:112 +0x8d

goroutine 12709 [select]:
net/http.(*persistConn).readLoop(0xc000981320)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2167 +0xf3b
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 12741 [select]:
net/http.(*persistConn).writeLoop(0xc0009137a0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1716 +0xc31

goroutine 5680 [IO wait, 3 minutes]:
internal/poll.runtime_pollWait(0x7f50f972f790, 0x72, 0x2bd96a0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000fa4118, 0x72, 0x2bd9600, 0x393e898, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000fa4100, 0xc0005a0000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc000fa4100, 0xc0005a0000, 0x1000, 0x1000, 0x423e9a, 0x45d31c, 0x2297ca0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc0005a70a8, 0xc0005a0000, 0x1000, 0x1000, 0xc00095a938, 0x4876ec, 0x4a22df)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/net.go:182 +0xec
net/http.(*connReader).Read(0xc00095a930, 0xc0005a0000, 0x1000, 0x1000, 0x1, 0x0, 0x2)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:798 +0x263
bufio.(*Reader).fill(0xc000c9aae0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:101 +0x1af
bufio.(*Reader).ReadSlice(0xc000c9aae0, 0x229f60a, 0x0, 0x0, 0xc00095aa50, 0x30, 0xc000eff608)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:360 +0x9b
bufio.(*Reader).ReadLine(0xc000c9aae0, 0x7f51297117d0, 0xc000845300, 0xc000845300, 0x0, 0xc00008dc00, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:389 +0x45
net/textproto.(*Reader).readLineSlice(0xc00095aa50, 0xc000845300, 0xc000fa4100, 0x8, 0x0, 0x449e01)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/textproto/reader.go:58 +0xa5
net/textproto.(*Reader).ReadLine(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/textproto/reader.go:39
net/http.readRequest(0xc000c9aae0, 0x0, 0xc000845300, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/request.go:1012 +0xa8
net/http.(*conn).readRequest(0xc001193f40, 0x2c01d80, 0xc00138e980, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:984 +0x345
net/http.(*conn).serve(0xc001193f40, 0x2c01d80, 0xc00138e980)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:1851 +0x4ef
created by net/http.(*Server).Serve
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:2969 +0x5d4

goroutine 3991 [select]:
github.com/TykTechnologies/tyk/gateway.initHealthCheck.func1(0x2c01d80, 0xc000a6efc0)
	/home/runner/work/tyk/tyk/gateway/health_check.go:83 +0x291
created by github.com/TykTechnologies/tyk/gateway.initHealthCheck
	/home/runner/work/tyk/tyk/gateway/health_check.go:73 +0x7d

goroutine 13553 [select]:
github.com/miekg/dns.(*Server).worker(0xc0003fc900, 0xc000dbf300)
	/home/runner/go/pkg/mod/github.com/miekg/dns@v1.0.14/server.go:262 +0x289
created by github.com/miekg/dns.(*Server).spawnWorker
	/home/runner/go/pkg/mod/github.com/miekg/dns@v1.0.14/server.go:283 +0xb1

goroutine 13851 [IO wait]:
internal/poll.runtime_pollWait(0x7f50f972fed0, 0x72, 0x2bd96a0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc0011f2198, 0x72, 0x2bd9600, 0x393e898, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc0011f2180, 0xc000f48000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc0011f2180, 0xc000f48000, 0x1000, 0x1000, 0xc0008eb870, 0x45d31c, 0x2297ca0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc0000aa0e0, 0xc000f48000, 0x1000, 0x1000, 0xc0016fc188, 0x4876ec, 0x4a22df)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/net.go:182 +0xec
net/http.(*connReader).Read(0xc0016fc180, 0xc000f48000, 0x1000, 0x1000, 0x1, 0x0, 0xc0011f2198)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:798 +0x263
bufio.(*Reader).fill(0xc00063d320)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:101 +0x1af
bufio.(*Reader).Peek(0xc00063d320, 0x4, 0x45fa6bb3f6, 0x3abafa0, 0x0, 0x0, 0x3abafa0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:139 +0xa5
net/http.(*conn).serve(0xc001876280, 0x2c01d80, 0xc000fc80c0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:1950 +0xab5
created by net/http.(*Server).Serve
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:2969 +0x5d4

goroutine 9044 [select]:
github.com/jensneuse/graphql-go-tools/pkg/subscription.(*Handler).handleKeepAlive(0xc00035b450, 0x2c01dc0, 0xc0000a6010)
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/graphql-go-tools@v1.6.2-0.20210812125449-1d05c608ae43/pkg/subscription/handler.go:351 +0x15e
created by github.com/jensneuse/graphql-go-tools/pkg/subscription.(*Handler).Handle
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/graphql-go-tools@v1.6.2-0.20210812125449-1d05c608ae43/pkg/subscription/handler.go:139 +0x325

goroutine 6237 [IO wait, 3 minutes]:
internal/poll.runtime_pollWait(0x7f50f972fde8, 0x72, 0x2bd96a0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000dbf598, 0x72, 0x2bd9600, 0x393e898, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000dbf580, 0xc0006c7000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc000dbf580, 0xc0006c7000, 0x1000, 0x1000, 0x4641a0, 0x0, 0xc0008ad988)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc0005a6040, 0xc0006c7000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/net.go:182 +0xec
bufio.(*Reader).Read(0xc001353380, 0xc0000d2738, 0x9, 0x9, 0x0, 0xc0008adf50, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:227 +0x7c7
io.ReadAtLeast(0x2bd28c0, 0xc001353380, 0xc0000d2738, 0x9, 0x9, 0x9, 0x2bd2c01, 0xc00009a030, 0xc001038620)
	/opt/hostedtoolcache/go/1.15.15/x64/src/io/io.go:314 +0x9d
io.ReadFull(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/io/io.go:333
golang.org/x/net/http2.readFrameHeader(0xc0000d2738, 0x9, 0x9, 0x2bd28c0, 0xc001353380, 0x0, 0xc000000000, 0x1c, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/frame.go:237 +0xb1
golang.org/x/net/http2.(*Framer).ReadFrame(0xc0000d2700, 0xc00162b5c0, 0x0, 0x0, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/frame.go:492 +0xff
golang.org/x/net/http2.(*clientConnReadLoop).run(0xc0008adfb8, 0x0, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/transport.go:1819 +0x1bd
golang.org/x/net/http2.(*ClientConn).readLoop(0xc00096b800)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/transport.go:1741 +0xbe
created by golang.org/x/net/http2.(*Transport).newClientConn
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/transport.go:705 +0xcc7

goroutine 13921 [runnable]:
github.com/TykTechnologies/tyk/gateway.APIDefinitionLoader.compileCircuitBreakerPathSpec.func1(0xc00099d880, 0xc00140a000, 0xc0003252b8, 0x4, 0xc001044000, 0xc00118a6e0)
	/home/runner/work/tyk/tyk/gateway/api_definition.go:807
created by github.com/TykTechnologies/tyk/gateway.APIDefinitionLoader.compileCircuitBreakerPathSpec
	/home/runner/work/tyk/tyk/gateway/api_definition.go:807 +0x4fe

goroutine 6238 [select, 3 minutes]:
golang.org/x/net/http2.(*serverConn).serve(0xc00096bc80)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/server.go:859 +0xc0c
golang.org/x/net/http2.(*Server).ServeConn(0xc000f3cb00, 0x2c13fc0, 0xc00162b170, 0xc000ef9a20)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/server.go:472 +0xdc5
golang.org/x/net/http2/h2c.h2cHandler.ServeHTTP(0x2bd9180, 0xc000748a80, 0xc000f3cb00, 0x2bf9cc0, 0xc0000d2c40, 0xc000ff5f00)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/h2c/h2c.go:87 +0x309
net/http.serverHandler.ServeHTTP(0xc000412a80, 0x2bf9cc0, 0xc0000d2c40, 0xc000ff5f00)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:2843 +0xcb
net/http.(*conn).serve(0xc00118ad20, 0x2c01d80, 0xc000fc8240)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:1925 +0x84d
created by net/http.(*Server).Serve
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:2969 +0x5d4

goroutine 12710 [select]:
net/http.(*persistConn).writeLoop(0xc000981320)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1716 +0xc31

goroutine 3841 [select, 3 minutes]:
net/http.(*persistConn).writeLoop(0xc001267c20)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1716 +0xc31

goroutine 9138 [semacquire, 1 minutes]:
sync.runtime_Semacquire(0xc001141108)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/sema.go:56 +0x45
sync.(*WaitGroup).Wait(0xc001141100)
	/opt/hostedtoolcache/go/1.15.15/x64/src/sync/waitgroup.go:130 +0xe5
github.com/TykTechnologies/tyk/gateway.waitTimeout.func1(0xc000cddaa0, 0xc001141100)
	/home/runner/work/tyk/tyk/gateway/mw_http_signature_validation_test.go:114 +0x6d
created by github.com/TykTechnologies/tyk/gateway.waitTimeout
	/home/runner/work/tyk/tyk/gateway/mw_http_signature_validation_test.go:112 +0x8d

goroutine 12823 [select]:
net/http.(*persistConn).writeLoop(0xc00028bd40)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1716 +0xc31

goroutine 9078 [semacquire, 1 minutes]:
sync.runtime_Semacquire(0xc0003244d8)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/sema.go:56 +0x45
sync.(*WaitGroup).Wait(0xc0003244d0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/sync/waitgroup.go:130 +0xe5
github.com/TykTechnologies/tyk/gateway.waitTimeout.func1(0xc0010eec00, 0xc0003244d0)
	/home/runner/work/tyk/tyk/gateway/mw_http_signature_validation_test.go:114 +0x6d
created by github.com/TykTechnologies/tyk/gateway.waitTimeout
	/home/runner/work/tyk/tyk/gateway/mw_http_signature_validation_test.go:112 +0x8d

goroutine 6085 [IO wait, 3 minutes]:
internal/poll.runtime_pollWait(0x7f50f972fb30, 0x72, 0x2bd96a0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000d12518, 0x72, 0x2bd9600, 0x393e898, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000d12500, 0xc0006c6000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc000d12500, 0xc0006c6000, 0x1000, 0x1000, 0x4641a0, 0x0, 0xc0008ae988)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc00100a0b0, 0xc0006c6000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/net.go:182 +0xec
bufio.(*Reader).Read(0xc000c7c2a0, 0xc00078d0d8, 0x9, 0x9, 0x0, 0xc0008aef50, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:227 +0x7c7
io.ReadAtLeast(0x2bd28c0, 0xc000c7c2a0, 0xc00078d0d8, 0x9, 0x9, 0x9, 0x2bd2c01, 0xc00009a030, 0xc0012816d0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/io/io.go:314 +0x9d
io.ReadFull(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/io/io.go:333
golang.org/x/net/http2.readFrameHeader(0xc00078d0d8, 0x9, 0x9, 0x2bd28c0, 0xc000c7c2a0, 0x0, 0xc000000000, 0x1c, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/frame.go:237 +0xb1
golang.org/x/net/http2.(*Framer).ReadFrame(0xc00078d0a0, 0xc0007faf60, 0x0, 0x0, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/frame.go:492 +0xff
golang.org/x/net/http2.(*clientConnReadLoop).run(0xc0008aefb8, 0x0, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/transport.go:1819 +0x1bd
golang.org/x/net/http2.(*ClientConn).readLoop(0xc00096a600)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/transport.go:1741 +0xbe
created by golang.org/x/net/http2.(*Transport).newClientConn
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/transport.go:705 +0xcc7

goroutine 12740 [select]:
net/http.(*persistConn).readLoop(0xc0009137a0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2167 +0xf3b
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 12664 [select]:
net/http.(*persistConn).writeLoop(0xc0001ed0e0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1716 +0xc31

goroutine 12760 [select]:
net/http.(*persistConn).readLoop(0xc00108bc20)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2167 +0xf3b
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 10187 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc00157fc50, 0xc0013be940)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 13898 [sleep]:
time.Sleep(0x3b9aca00)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/time.go:188 +0xbf
github.com/TykTechnologies/tyk/gateway.TestReverseProxyWebSocketCancelation.func2(0x2bf9cc0, 0xc001420d20, 0xc000845c00)
	/home/runner/work/tyk/tyk/gateway/reverse_proxy_test.go:1099 +0x61c
net/http.HandlerFunc.ServeHTTP(0xc00143dd00, 0x2bf9cc0, 0xc001420d20, 0xc000845c00)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:2042 +0x52
net/http.serverHandler.ServeHTTP(0xc001420a80, 0x2bf9cc0, 0xc001420d20, 0xc000845c00)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:2843 +0xcb
net/http.(*conn).serve(0xc000f8c460, 0x2c01d80, 0xc00143de00)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:1925 +0x84d
created by net/http.(*Server).Serve
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:2969 +0x5d4

goroutine 13869 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc00178d670, 0xc001793380)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106
FAIL	github.com/TykTechnologies/tyk/gateway	300.325s
FAIL
Test Failed

gofmt

gateway/mw_method_transform.go
gateway/mw_request_size_limit.go
gateway/mw_transform_jq.go

goimports

gateway/mw_method_transform.go
gateway/mw_request_size_limit.go
gateway/mw_transform_jq.go

If the above are ok, please look at the run or in the Checks tab.

Sergey Petrunin and others added 2 commits August 27, 2021 11:43
* write failing tests

* fix test to proper fail

* add placeholder for on before execute hook

* implement on before execute hook for engine v2
extract graphql middleware parts to be reusable
store session in a new background context passed to engine

* change before execute to before start hook
refactor granular access mw to avoid failing static checks

* skip graphql checks for keyless api

* improve error handling in OnBeforeStart hook of mw_graphql
fix logging in GraphqlComplexityChecker
extract errors into vars

* reference latest graphql-go-tools

* fix graphql middleware tests
add depth limit test case for engine v2

* fix changed field names

* fix complexity test

* fix mw_graphl_granular_access_test

Co-authored-by: Patric Vormstein <pvormstein@googlemail.com>
@github-actions
Copy link

💥 CI tests failed 🙈

CI test log

go: downloading github.com/TykTechnologies/graphql-go-tools v1.6.2-0.20210826094453-7375417588e2
go: downloading github.com/getkin/kin-openapi v0.32.0
go: downloading github.com/tidwall/gjson v1.8.1
go: downloading github.com/tidwall/pretty v1.2.0
go: downloading github.com/tidwall/match v1.0.3
go: downloading github.com/ghodss/yaml v1.0.0
go: downloading gopkg.in/yaml.v2 v2.3.0
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk
?   	github.com/TykTechnologies/tyk	[no test files]
go vet github.com/TykTechnologies/tyk
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/apidef
ok  	github.com/TykTechnologies/tyk/apidef	0.073s	coverage: 20.4% of statements
go vet github.com/TykTechnologies/tyk/apidef
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/apidef/adapter
ok  	github.com/TykTechnologies/tyk/apidef/adapter	0.137s	coverage: 87.3% of statements
go vet github.com/TykTechnologies/tyk/apidef/adapter
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/apidef/importer
ok  	github.com/TykTechnologies/tyk/apidef/importer	0.063s	coverage: 65.6% of statements
go vet github.com/TykTechnologies/tyk/apidef/importer
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/apidef/oas
ok  	github.com/TykTechnologies/tyk/apidef/oas	0.043s	coverage: 90.0% of statements
go vet github.com/TykTechnologies/tyk/apidef/oas
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/certs
ok  	github.com/TykTechnologies/tyk/certs	4.774s	coverage: 56.5% of statements
go vet github.com/TykTechnologies/tyk/certs
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/checkup
?   	github.com/TykTechnologies/tyk/checkup	[no test files]
go vet github.com/TykTechnologies/tyk/checkup
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/cli
?   	github.com/TykTechnologies/tyk/cli	[no test files]
go vet github.com/TykTechnologies/tyk/cli
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/cli/bundler
ok  	github.com/TykTechnologies/tyk/cli/bundler	0.063s	coverage: 70.7% of statements
go vet github.com/TykTechnologies/tyk/cli/bundler
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/cli/importer
?   	github.com/TykTechnologies/tyk/cli/importer	[no test files]
go vet github.com/TykTechnologies/tyk/cli/importer
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/cli/linter
ok  	github.com/TykTechnologies/tyk/cli/linter	0.286s	coverage: 89.8% of statements
go vet github.com/TykTechnologies/tyk/cli/linter
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/config
ok  	github.com/TykTechnologies/tyk/config	0.174s	coverage: 69.9% of statements
go vet github.com/TykTechnologies/tyk/config
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/coprocess
?   	github.com/TykTechnologies/tyk/coprocess	[no test files]
go vet github.com/TykTechnologies/tyk/coprocess
go test -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/coprocess/grpc
ok  	github.com/TykTechnologies/tyk/coprocess/grpc	7.835s	coverage: [no statements]
go vet github.com/TykTechnologies/tyk/coprocess/grpc
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/coprocess/python
ok  	github.com/TykTechnologies/tyk/coprocess/python	12.277s	coverage: [no statements]
go vet github.com/TykTechnologies/tyk/coprocess/python
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/ctx
?   	github.com/TykTechnologies/tyk/ctx	[no test files]
go vet github.com/TykTechnologies/tyk/ctx
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/dlpython
ok  	github.com/TykTechnologies/tyk/dlpython	0.341s	coverage: 54.5% of statements
go vet github.com/TykTechnologies/tyk/dlpython
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/dnscache
ok  	github.com/TykTechnologies/tyk/dnscache	11.697s	coverage: 82.5% of statements
go vet github.com/TykTechnologies/tyk/dnscache
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/gateway
time="Aug 27 08:54:57" level=info msg="Rich plugins are disabled" prefix=coprocess
coverage: 65.4% of statements
panic: test timed out after 5m0s

goroutine 14020 [running]:
testing.(*M).startAlarm.func1()
	/opt/hostedtoolcache/go/1.15.15/x64/src/testing/testing.go:1618 +0x11f
created by time.goFunc
	/opt/hostedtoolcache/go/1.15.15/x64/src/time/sleep.go:167 +0x52

goroutine 1 [chan receive]:
testing.(*T).Run(0xc0005f8d80, 0x272b8b8, 0x22, 0x27c5dd0, 0x1)
	/opt/hostedtoolcache/go/1.15.15/x64/src/testing/testing.go:1169 +0x5f4
testing.runTests.func1(0xc0005f8d80)
	/opt/hostedtoolcache/go/1.15.15/x64/src/testing/testing.go:1439 +0xa7
testing.tRunner(0xc0005f8d80, 0xc000523850)
	/opt/hostedtoolcache/go/1.15.15/x64/src/testing/testing.go:1123 +0x203
testing.runTests(0xc00000e880, 0x394ae00, 0x14d, 0x14d, 0xc0424843456e3d0b, 0x45e3c68fb2, 0x3ad01c0, 0x2d2d2d0a3d635a75)
	/opt/hostedtoolcache/go/1.15.15/x64/src/testing/testing.go:1437 +0x613
testing.(*M).Run(0xc00019e000, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/testing/testing.go:1345 +0x3b4
github.com/TykTechnologies/tyk/gateway.InitTestMain(0x2c126a0, 0xc0000a6010, 0xc00019e000, 0x0, 0x0, 0x0, 0x0)
	/home/runner/work/tyk/tyk/gateway/testutil.go:308 +0xfae
github.com/TykTechnologies/tyk/gateway.TestMain(0xc00019e000)
	/home/runner/work/tyk/tyk/gateway/gateway_test.go:38 +0x76
main.main()
	_testmain.go:1033 +0x372

goroutine 19 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc00024f8c0, 0xc00023cf40)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 20 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc00024f8e0, 0xc00023cf80)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 21 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc00024f900, 0xc00023cfc0)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 22 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc00024f910, 0xc00023d000)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 23 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc00024f920, 0xc00023d040)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 24 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc00024f930, 0xc00023d080)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 25 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc00024f940, 0xc00023d0c0)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 26 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc00024f950, 0xc00023d100)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 27 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc00024f960, 0xc00023d140)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 28 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc00024f970, 0xc00023d180)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 30 [select, 5 minutes]:
github.com/pmylund/go-cache.(*janitor).Run(0xc0004b3b70, 0xc00023c480)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 31 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc0004b3b90, 0xc00023c4c0)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 32 [select, 5 minutes]:
github.com/pmylund/go-cache.(*janitor).Run(0xc0004b3ba0, 0xc00023c500)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 33 [select, 5 minutes]:
github.com/pmylund/go-cache.(*janitor).Run(0xc0004b3bb0, 0xc00023c540)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 34 [select, 5 minutes]:
github.com/pmylund/go-cache.(*janitor).Run(0xc0004b3bc0, 0xc00023c600)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 35 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc0004b3de0, 0xc00023c680)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 7 [IO wait]:
internal/poll.runtime_pollWait(0x7f3f0154f118, 0x72, 0xc0005066c0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc00019e498, 0x72, 0x200, 0x200, 0xc0017d7d40)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).ReadMsg(0xc00019e480, 0xc0003cb400, 0x200, 0x200, 0xc0017d7d40, 0x28, 0x28, 0x0, 0x0, 0x0, ...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:242 +0x2b6
net.(*netFD).readMsg(0xc00019e480, 0xc0003cb400, 0x200, 0x200, 0xc0017d7d40, 0x28, 0x28, 0x7f3f0154f148, 0x420db1, 0xc000062800, ...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_posix.go:67 +0xa6
net.(*UDPConn).readMsg(0xc000010280, 0xc0003cb400, 0x200, 0x200, 0xc0017d7d40, 0x28, 0x28, 0x28, 0x7f3f01b5b7d0, 0xc0017d7d40, ...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/udpsock_posix.go:59 +0xba
net.(*UDPConn).ReadMsgUDP(0xc000010280, 0xc0003cb400, 0x200, 0x200, 0xc0017d7d40, 0x28, 0x28, 0x0, 0x4517548, 0xc000506b30, ...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/udpsock.go:139 +0xc5
github.com/miekg/dns.ReadFromSessionUDP(0xc000010280, 0xc0003cb400, 0x200, 0x200, 0x0, 0x0, 0x3ad01c0, 0xc000032000)
	/home/runner/go/pkg/mod/github.com/miekg/dns@v1.0.14/udp.go:42 +0x136
github.com/miekg/dns.(*Server).readUDP(0xc0000e6900, 0xc000010280, 0x77359400, 0x0, 0x0, 0xc000506c88, 0x4a4198, 0xc0000e69cc, 0xc0ffffffff)
	/home/runner/go/pkg/mod/github.com/miekg/dns@v1.0.14/server.go:720 +0x12c
github.com/miekg/dns.(*defaultReader).ReadUDP(0xc000010298, 0xc000010280, 0x77359400, 0x7f3ed8564618, 0xc00033b7c0, 0x1, 0x0, 0x2be7420, 0xc00033b7c0)
	/home/runner/go/pkg/mod/github.com/miekg/dns@v1.0.14/server.go:169 +0x73
github.com/miekg/dns.(*Server).serveUDP(0xc0000e6900, 0xc000010280, 0x0, 0x0)
	/home/runner/go/pkg/mod/github.com/miekg/dns@v1.0.14/server.go:531 +0x274
github.com/miekg/dns.(*Server).ActivateAndServe(0xc0000e6900, 0x0, 0x0)
	/home/runner/go/pkg/mod/github.com/miekg/dns@v1.0.14/server.go:395 +0x435
github.com/TykTechnologies/tyk/test.InitDNSMock.func2(0xc00008b4a0, 0xc0000e6900)
	/home/runner/work/tyk/tyk/test/dns.go:191 +0x39
created by github.com/TykTechnologies/tyk/test.InitDNSMock
	/home/runner/work/tyk/tyk/test/dns.go:190 +0x508

goroutine 36 [IO wait]:
internal/poll.runtime_pollWait(0x7f3f0154f030, 0x72, 0x72)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc00019e518, 0x72, 0x0, 0x0, 0x26f7fd1)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Accept(0xc00019e500, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:394 +0x2fe
net.(*netFD).accept(0xc00019e500, 0x45c62a, 0xc00008e480, 0xc0003f6420)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_unix.go:172 +0x58
net.(*TCPListener).accept(0xc0005a2960, 0x482d5b, 0xd3501aaebf, 0x21681a4f)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/tcpsock_posix.go:139 +0x50
net.(*TCPListener).Accept(0xc0005a2960, 0x4875ec, 0x4562ae, 0xc000507cd0, 0x47d980)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/tcpsock.go:261 +0x8e
net/http.(*Server).Serve(0xc0003f6380, 0x2c0a1e0, 0xc0005a2960, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:2937 +0x414
net/http.(*Server).ListenAndServe(0xc0003f6380, 0x1, 0x1)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:2866 +0x106
github.com/TykTechnologies/tyk/gateway.InitTestMain.func1(0xc0003f6380)
	/home/runner/work/tyk/tyk/gateway/testutil.go:270 +0x55
created by github.com/TykTechnologies/tyk/gateway.InitTestMain
	/home/runner/work/tyk/tyk/gateway/testutil.go:269 +0x965

goroutine 41 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc0004b2490, 0xc00007c2c0)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 8 [select]:
github.com/TykTechnologies/tyk/gateway.(*HostCheckerManager).CheckActivePollerLoop(0x3acfde0, 0x2c126a0, 0xc0000a6010)
	/home/runner/work/tyk/tyk/gateway/host_checker_manager.go:109 +0x23e
created by github.com/TykTechnologies/tyk/gateway.(*HostCheckerManager).Start
	/home/runner/work/tyk/tyk/gateway/host_checker_manager.go:87 +0xc5

goroutine 9 [select]:
github.com/TykTechnologies/tyk/gateway.initHealthCheck.func1(0x2c126a0, 0xc0000a6010)
	/home/runner/work/tyk/tyk/gateway/health_check.go:83 +0x291
created by github.com/TykTechnologies/tyk/gateway.initHealthCheck
	/home/runner/work/tyk/tyk/gateway/health_check.go:73 +0x7d

goroutine 42 [chan send, 2 minutes]:
github.com/Jeffail/tunny.(*workerWrapper).Loop(0xc00003d080)
	/home/runner/go/pkg/mod/github.com/!jeffail/tunny@v0.0.0-20171107125207-452a8e97d6a3/worker.go:61 +0x19a
created by github.com/Jeffail/tunny.(*workerWrapper).Open
	/home/runner/go/pkg/mod/github.com/!jeffail/tunny@v0.0.0-20171107125207-452a8e97d6a3/worker.go:80 +0x1b4

goroutine 10 [select]:
github.com/TykTechnologies/tyk/gateway.(*RedisAnalyticsHandler).recordWorker(0x3ad3780)
	/home/runner/work/tyk/tyk/gateway/analytics.go:262 +0x3ec
created by github.com/TykTechnologies/tyk/gateway.(*RedisAnalyticsHandler).Init
	/home/runner/work/tyk/tyk/gateway/analytics.go:216 +0x5d5

goroutine 43 [chan send, 2 minutes]:
github.com/Jeffail/tunny.(*workerWrapper).Loop(0xc00003d0b0)
	/home/runner/go/pkg/mod/github.com/!jeffail/tunny@v0.0.0-20171107125207-452a8e97d6a3/worker.go:61 +0x19a
created by github.com/Jeffail/tunny.(*workerWrapper).Open
	/home/runner/go/pkg/mod/github.com/!jeffail/tunny@v0.0.0-20171107125207-452a8e97d6a3/worker.go:80 +0x1b4

goroutine 11 [select]:
github.com/TykTechnologies/tyk/gateway.(*RedisAnalyticsHandler).recordWorker(0x3ad3780)
	/home/runner/work/tyk/tyk/gateway/analytics.go:262 +0x3ec
created by github.com/TykTechnologies/tyk/gateway.(*RedisAnalyticsHandler).Init
	/home/runner/work/tyk/tyk/gateway/analytics.go:216 +0x5d5

goroutine 44 [select, 2 minutes]:
github.com/TykTechnologies/tyk/gateway.(*HostUptimeChecker).HostCheckLoop(0xc0005ee090, 0x2c126a0, 0xc0000a6010)
	/home/runner/work/tyk/tyk/gateway/host_checker.go:107 +0x1dd
created by github.com/TykTechnologies/tyk/gateway.(*HostUptimeChecker).Start
	/home/runner/work/tyk/tyk/gateway/host_checker.go:377 +0xf4

goroutine 12 [select]:
github.com/TykTechnologies/tyk/gateway.RedisPurger.PurgeLoop(0x2c52f80, 0xc0005a2c40, 0x2c126a0, 0xc0000a6010)
	/home/runner/work/tyk/tyk/gateway/redis_analytics_purger.go:27 +0x1e5
created by github.com/TykTechnologies/tyk/gateway.setupGlobals.func1
	/home/runner/work/tyk/tyk/gateway/server.go:212 +0xf8

goroutine 45 [select, 2 minutes]:
github.com/TykTechnologies/tyk/gateway.(*HostUptimeChecker).HostReporter(0xc0005ee090, 0x2c126a0, 0xc0000a6010)
	/home/runner/work/tyk/tyk/gateway/host_checker.go:147 +0x253
created by github.com/TykTechnologies/tyk/gateway.(*HostUptimeChecker).Start
	/home/runner/work/tyk/tyk/gateway/host_checker.go:379 +0x18f

goroutine 13 [select]:
github.com/TykTechnologies/tyk/gateway.flushNetworkAnalytics(0x2c126a0, 0xc0000a6010)
	/home/runner/work/tyk/tyk/gateway/proxy_muxer.go:208 +0x869
created by github.com/TykTechnologies/tyk/gateway.setupGlobals
	/home/runner/work/tyk/tyk/gateway/server.go:227 +0x1dc5

goroutine 74 [IO wait]:
internal/poll.runtime_pollWait(0x7f3f0154ec90, 0x72, 0x2be9ec0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc00019e998, 0x72, 0x2be9e00, 0x39538d8, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc00019e980, 0xc000372000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc00019e980, 0xc000372000, 0x1000, 0x1000, 0xa, 0x5, 0x420db1)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc000010058, 0xc000372000, 0x1000, 0x1000, 0x4a50c6, 0xc0000acf60, 0xc0004f2b60)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/net.go:182 +0xec
bufio.(*Reader).fill(0xc0000acf60)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:101 +0x1af
bufio.(*Reader).ReadSlice(0xc0000acf60, 0xc000f0f00a, 0x0, 0xc000062c00, 0xc000887850, 0x47ff65, 0x7f3f0154ec98)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:360 +0x9b
github.com/go-redis/redis/v8/internal/proto.(*Reader).readLine(0xc0005a2180, 0xc00019e980, 0x27ca600, 0xc00027c028, 0xc000887888, 0xc000887860)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/internal/proto/reader.go:72 +0x71
github.com/go-redis/redis/v8/internal/proto.(*Reader).ReadLine(0xc0005a2180, 0xc000887860, 0x4ded85, 0x0, 0x0, 0xc000887cf8)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/internal/proto/reader.go:58 +0x3d
github.com/go-redis/redis/v8/internal/proto.(*Reader).ReadReply(0xc0005a2180, 0x27c6d78, 0xc0008879e0, 0x6ea445, 0xc000010058, 0x0)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/internal/proto/reader.go:96 +0x56
github.com/go-redis/redis/v8.(*Cmd).readReply(...)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/command.go:318
github.com/go-redis/redis/v8.(*PubSub).ReceiveTimeout.func1(0xc0005a2180, 0x0, 0x0)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/pubsub.go:379 +0x79
github.com/go-redis/redis/v8/internal/pool.(*Conn).WithReader.func1(0x2c126a0, 0xc0000a6010, 0x2c29cc0, 0x4514f18, 0x0, 0x0)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/internal/pool/conn.go:73 +0x11c
github.com/go-redis/redis/v8/internal.WithSpan(0x2c126a0, 0xc0000a6010, 0x26ffc95, 0xb, 0xc000887bb0, 0x0, 0x0)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/internal/util.go:67 +0x297
github.com/go-redis/redis/v8/internal/pool.(*Conn).WithReader(0xc0001085a0, 0x2c126a0, 0xc0000a6010, 0x0, 0xc000887c70, 0x0, 0x0)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/internal/pool/conn.go:69 +0xa9
github.com/go-redis/redis/v8.(*PubSub).ReceiveTimeout(0xc00019e400, 0x2c126a0, 0xc0000a6010, 0x0, 0x244f560, 0xc00155cd70, 0x0, 0x0)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/pubsub.go:378 +0x11f
github.com/go-redis/redis/v8.(*PubSub).Receive(...)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/pubsub.go:394
github.com/TykTechnologies/tyk/storage.(*RedisCluster).StartPubSubHandler(0xc0002dfe58, 0x271a18b, 0x19, 0x27c6808, 0x0, 0x0)
	/home/runner/work/tyk/tyk/storage/redis_cluster.go:823 +0x22f
github.com/TykTechnologies/tyk/gateway.startPubSubLoop()
	/home/runner/work/tyk/tyk/gateway/redis_signals.go:59 +0xbe
created by github.com/TykTechnologies/tyk/gateway.InitTestMain
	/home/runner/work/tyk/tyk/gateway/testutil.go:304 +0xce5

goroutine 51 [select]:
github.com/TykTechnologies/tyk/storage.ConnectToRedis(0x2c126a0, 0xc0000a6010, 0x27c5000)
	/home/runner/work/tyk/tyk/storage/redis_cluster.go:167 +0x2d6
created by github.com/TykTechnologies/tyk/gateway.InitTestMain
	/home/runner/work/tyk/tyk/gateway/testutil.go:292 +0xbeb

goroutine 75 [select]:
github.com/TykTechnologies/tyk/gateway.reloadLoop(0x2c126a0, 0xc0000a6010, 0xc00008a0c0, 0xc0000aa580, 0x1, 0x1)
	/home/runner/work/tyk/tyk/gateway/server.go:772 +0x2ce
created by github.com/TykTechnologies/tyk/gateway.InitTestMain
	/home/runner/work/tyk/tyk/gateway/testutil.go:305 +0xe51

goroutine 52 [select]:
github.com/go-redis/redis/v8/internal/pool.(*ConnPool).reaper(0xc00020c280, 0xdf8475800)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/internal/pool/pool.go:453 +0x196
created by github.com/go-redis/redis/v8/internal/pool.NewConnPool
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/internal/pool/pool.go:107 +0x3ce

goroutine 66 [select]:
github.com/go-redis/redis/v8/internal/pool.(*ConnPool).reaper(0xc00020cdc0, 0xdf8475800)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/internal/pool/pool.go:453 +0x196
created by github.com/go-redis/redis/v8/internal/pool.NewConnPool
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/internal/pool/pool.go:107 +0x3ce

goroutine 70 [select]:
github.com/go-redis/redis/v8/internal/pool.(*ConnPool).reaper(0xc00020cf00, 0xdf8475800)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/internal/pool/pool.go:453 +0x196
created by github.com/go-redis/redis/v8/internal/pool.NewConnPool
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/internal/pool/pool.go:107 +0x3ce

goroutine 76 [select]:
github.com/TykTechnologies/tyk/gateway.reloadQueueLoop(0x2c126a0, 0xc0000a6010, 0xc0000aa588, 0x1, 0x1)
	/home/runner/work/tyk/tyk/gateway/server.go:817 +0x156
created by github.com/TykTechnologies/tyk/gateway.InitTestMain
	/home/runner/work/tyk/tyk/gateway/testutil.go:306 +0xf85

goroutine 2479 [IO wait, 4 minutes]:
internal/poll.runtime_pollWait(0x7f3ed1c7b348, 0x72, 0x2be9ec0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc0014f8d98, 0x72, 0x2be9e00, 0x39538d8, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc0014f8d80, 0xc000b40000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc0014f8d80, 0xc000b40000, 0x1000, 0x1000, 0x5d, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc0000aa530, 0xc000b40000, 0x1000, 0x1000, 0xc001526d80, 0xc0005c7948, 0x4197d9)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/net.go:182 +0xec
net/http.(*persistConn).Read(0xc00067e120, 0xc000b40000, 0x1000, 0x1000, 0x1, 0x0, 0x2)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1894 +0xe8
bufio.(*Reader).fill(0xc0015330e0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:101 +0x1af
bufio.(*Reader).Peek(0xc0015330e0, 0x1, 0x2, 0x0, 0x0, 0x0, 0xc00008acc0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:139 +0xa5
net/http.(*persistConn).readLoop(0xc00067e120)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2047 +0x2b3
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 77 [sleep]:
time.Sleep(0x4c4b40)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/time.go:188 +0xbf
github.com/TykTechnologies/tyk/gateway.reloadSimulation()
	/home/runner/work/tyk/tyk/gateway/testutil.go:346 +0xc5
created by github.com/TykTechnologies/tyk/gateway.InitTestMain
	/home/runner/work/tyk/tyk/gateway/testutil.go:307 +0xf9d

goroutine 6219 [select, 3 minutes]:
golang.org/x/net/http2.(*serverConn).serve(0xc000aeac00)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/server.go:859 +0xc0c
golang.org/x/net/http2.(*Server).ServeConn(0xc000dd5500, 0x2c24ae0, 0xc000cea240, 0xc000715a20)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/server.go:472 +0xdc5
golang.org/x/net/http2/h2c.h2cHandler.ServeHTTP(0x2be99a0, 0xc0013019b0, 0xc000dd5500, 0x2c0a4a0, 0xc001154ee0, 0xc00018ac00)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/h2c/h2c.go:87 +0x309
net/http.serverHandler.ServeHTTP(0xc000a2cee0, 0x2c0a4a0, 0xc001154ee0, 0xc00018ac00)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:2843 +0xcb
net/http.(*conn).serve(0xc0008f0140, 0x2c12660, 0xc000a4c3c0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:1925 +0x84d
created by net/http.(*Server).Serve
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:2969 +0x5d4

goroutine 12820 [select]:
net/http.(*persistConn).readLoop(0xc0009c2360)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2167 +0xf3b
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 83 [chan receive]:
github.com/TykTechnologies/drl.(*Cache).startCleanupTimer.func1(0xc00007f800, 0xc00025a7e0)
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/drl@v0.0.0-20190905191955-cc541aa8e3e1/ttlcache.go:85 +0x3f
created by github.com/TykTechnologies/drl.(*Cache).startCleanupTimer
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/drl@v0.0.0-20190905191955-cc541aa8e3e1/ttlcache.go:82 +0x89

goroutine 84 [sleep]:
time.Sleep(0x12a05f200)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/time.go:188 +0xbf
github.com/TykTechnologies/drl.(*DRL).Init.func1(0xc000547f90)
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/drl@v0.0.0-20190905191955-cc541aa8e3e1/drl.go:50 +0x78
created by github.com/TykTechnologies/drl.(*DRL).Init
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/drl@v0.0.0-20190905191955-cc541aa8e3e1/drl.go:45 +0x185

goroutine 85 [sleep]:
time.Sleep(0x77359400)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/time.go:188 +0xbf
github.com/TykTechnologies/tyk/gateway.startRateLimitNotifications.func1(0x2)
	/home/runner/work/tyk/tyk/gateway/distributed_rate_limiter.go:38 +0xda
created by github.com/TykTechnologies/tyk/gateway.startRateLimitNotifications
	/home/runner/work/tyk/tyk/gateway/distributed_rate_limiter.go:29 +0x172

goroutine 6032 [select, 3 minutes]:
golang.org/x/net/http2.(*serverConn).serve(0xc000d75e00)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/server.go:859 +0xc0c
golang.org/x/net/http2.(*Server).ServeConn(0xc000a6d300, 0x2c24ae0, 0xc0007022a0, 0xc000b459f0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/server.go:472 +0xdc5
golang.org/x/net/http2/h2c.h2cHandler.ServeHTTP(0x2be3800, 0xc000d78b60, 0xc000a6d300, 0x2c0a4a0, 0xc001296460, 0xc000974a00)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/h2c/h2c.go:87 +0x309
github.com/TykTechnologies/tyk/gateway.(*h2cWrapper).ServeHTTP(0xc00114c340, 0x2c0a4a0, 0xc001296460, 0xc000974a00)
	/home/runner/work/tyk/tyk/gateway/proxy_muxer.go:40 +0x90
net/http.serverHandler.ServeHTTP(0xc000a2c540, 0x2c0a4a0, 0xc001296460, 0xc000974a00)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:2843 +0xcb
net/http.(*conn).serve(0xc000e3e1e0, 0x2c12660, 0xc001278040)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:1925 +0x84d
created by net/http.(*Server).Serve
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:2969 +0x5d4

goroutine 62 [IO wait, 2 minutes]:
internal/poll.runtime_pollWait(0x7f3f0154eac0, 0x72, 0x72)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000dbf618, 0x72, 0x0, 0x0, 0x26f7fd1)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Accept(0xc000dbf600, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:394 +0x2fe
net.(*netFD).accept(0xc000dbf600, 0x45c62a, 0xc0007f0000, 0xc0000d3760)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_unix.go:172 +0x58
net.(*TCPListener).accept(0xc000e2d300, 0x482d5b, 0xadc0d973c1, 0xe7fe8ed)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/tcpsock_posix.go:139 +0x50
net.(*TCPListener).Accept(0xc000e2d300, 0x4875ec, 0x4562ae, 0xc00016fd58, 0x47d980)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/tcpsock.go:261 +0x8e
net/http.(*Server).Serve(0xc0000d36c0, 0x2c0a1e0, 0xc000e2d300, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:2937 +0x414
github.com/TykTechnologies/tyk/gateway.TykNewSingleHostReverseProxy.func1.2(0xc0000d36c0, 0x2c0a1e0, 0xc000e2d300)
	/home/runner/work/tyk/tyk/gateway/reverse_proxy.go:216 +0x69
created by github.com/TykTechnologies/tyk/gateway.TykNewSingleHostReverseProxy.func1
	/home/runner/work/tyk/tyk/gateway/reverse_proxy.go:215 +0x29c

goroutine 13160 [IO wait]:
internal/poll.runtime_pollWait(0x7f3ed1c7a950, 0x72, 0x72)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc00010b598, 0x72, 0x0, 0x0, 0x26f7fd1)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Accept(0xc00010b580, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:394 +0x2fe
net.(*netFD).accept(0xc00010b580, 0x8, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_unix.go:172 +0x58
net.(*TCPListener).accept(0xc000780c40, 0xc00016af50, 0x6ea6ad, 0xc000010328)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/tcpsock_posix.go:139 +0x50
net.(*TCPListener).Accept(0xc000780c40, 0xc0003b16f8, 0x8, 0x8, 0x8)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/tcpsock.go:261 +0x8e
github.com/TykTechnologies/tyk/gateway.TestTCPDial_with_service_discovery.func2(0x2c0a1e0, 0xc000780c40, 0x26f5862, 0x5)
	/home/runner/work/tyk/tyk/gateway/proxy_muxer_test.go:48 +0xb6
created by github.com/TykTechnologies/tyk/gateway.TestTCPDial_with_service_discovery
	/home/runner/work/tyk/tyk/gateway/proxy_muxer_test.go:46 +0x31f

goroutine 12764 [select]:
net/http.(*persistConn).writeLoop(0xc000401200)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1716 +0xc31

goroutine 12706 [select]:
net/http.(*persistConn).readLoop(0xc001eb67e0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2167 +0xf3b
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 12786 [select]:
net/http.(*persistConn).readLoop(0xc001668000)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2167 +0xf3b
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 13984 [IO wait]:
internal/poll.runtime_pollWait(0x7f3ed1c7b260, 0x72, 0x2be9ec0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000afa818, 0x72, 0x2be9e00, 0x39538d8, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000afa800, 0xc000637000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc000afa800, 0xc000637000, 0x1000, 0x1000, 0xc000791870, 0x45d31c, 0x22a4620)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc000528138, 0xc000637000, 0x1000, 0x1000, 0xc000f13478, 0x4876ec, 0x4a22df)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/net.go:182 +0xec
net/http.(*connReader).Read(0xc000f13470, 0xc000637000, 0x1000, 0x1000, 0x1, 0x0, 0xc000afa818)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:798 +0x263
bufio.(*Reader).fill(0xc000f109c0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:101 +0x1af
bufio.(*Reader).Peek(0xc000f109c0, 0x4, 0x45ffd3e693, 0x3ad01c0, 0x0, 0x0, 0x3ad01c0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:139 +0xa5
net/http.(*conn).serve(0xc0009f2f00, 0x2c12660, 0xc000cec240)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:1950 +0xab5
created by net/http.(*Server).Serve
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:2969 +0x5d4

goroutine 1794 [chan send]:
github.com/TykTechnologies/tyk/gateway.TestGroupResetHandler.func1.1(0x244f560, 0xc0020ba050)
	/home/runner/work/tyk/tyk/gateway/api_test.go:1418 +0x291
github.com/TykTechnologies/tyk/storage.(*RedisCluster).StartPubSubHandler(0xc000a65c80, 0x271a18b, 0x19, 0xc000073f90, 0x0, 0x0)
	/home/runner/work/tyk/tyk/storage/redis_cluster.go:830 +0x40e
github.com/TykTechnologies/tyk/gateway.TestGroupResetHandler.func1(0xc000a65c80, 0xc0008ef380, 0xc000d74480, 0xc0008ef3e0)
	/home/runner/work/tyk/tyk/gateway/api_test.go:1408 +0xa5
created by github.com/TykTechnologies/tyk/gateway.TestGroupResetHandler
	/home/runner/work/tyk/tyk/gateway/api_test.go:1407 +0x125

goroutine 12667 [select]:
net/http.(*persistConn).readLoop(0xc00070cc60)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2167 +0xf3b
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 12858 [select]:
net/http.(*persistConn).readLoop(0xc001eb65a0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2167 +0xf3b
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 6070 [select, 3 minutes]:
golang.org/x/net/http2.(*serverConn).serve(0xc000a4e000)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/server.go:859 +0xc0c
golang.org/x/net/http2.(*Server).ServeConn(0xc001278500, 0x2c24ae0, 0xc000702690, 0xc000b43a20)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/server.go:472 +0xdc5
golang.org/x/net/http2/h2c.h2cHandler.ServeHTTP(0x2be99a0, 0xc000672570, 0xc001278500, 0x2c0a4a0, 0xc001296fc0, 0xc000974e00)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/h2c/h2c.go:87 +0x309
net/http.serverHandler.ServeHTTP(0xc000a2c380, 0x2c0a4a0, 0xc001296fc0, 0xc000974e00)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:2843 +0xcb
net/http.(*conn).serve(0xc000e3e5a0, 0x2c12660, 0xc001278240)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:1925 +0x84d
created by net/http.(*Server).Serve
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:2969 +0x5d4

goroutine 2512 [select, 4 minutes]:
net/http.(*persistConn).writeLoop(0xc00053ea20)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1716 +0xc31

goroutine 12827 [select]:
net/http.(*persistConn).writeLoop(0xc0009c27e0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1716 +0xc31

goroutine 6068 [IO wait, 3 minutes]:
internal/poll.runtime_pollWait(0x7f3ed1c7b090, 0x72, 0x2be9ec0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc0011f3918, 0x72, 0x2be9e00, 0x39538d8, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc0011f3900, 0xc0005a9000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc0011f3900, 0xc0005a9000, 0x1000, 0x1000, 0xa, 0x45d31c, 0x22a4620)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc000010010, 0xc0005a9000, 0x1000, 0x1000, 0xc0007021b8, 0x4876ec, 0x4a22df)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/net.go:182 +0xec
net/http.(*connReader).Read(0xc0007021b0, 0xc0005a9000, 0x1000, 0x1000, 0x1, 0x9, 0xc0004ae760)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:798 +0x263
bufio.(*Reader).Read(0xc0011c6c00, 0xc001296b98, 0x9, 0x9, 0x9, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:227 +0x7c7
io.(*multiReader).Read(0xc000868180, 0xc001296b98, 0x9, 0x9, 0xc001296b90, 0x10401, 0xc000000000)
	/opt/hostedtoolcache/go/1.15.15/x64/src/io/multi.go:26 +0xfa
golang.org/x/net/http2/h2c.(*rwConn).Read(0xc0007022a0, 0xc001296b98, 0x9, 0x9, 0x10401, 0x1040100000000, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/h2c/h2c.go:293 +0x7a
io.ReadAtLeast(0x7f3ed1c5a5f0, 0xc0007022a0, 0xc001296b98, 0x9, 0x9, 0x9, 0xc000b49d00, 0x47dd17, 0xc000b49f78)
	/opt/hostedtoolcache/go/1.15.15/x64/src/io/io.go:314 +0x9d
io.ReadFull(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/io/io.go:333
golang.org/x/net/http2.readFrameHeader(0xc001296b98, 0x9, 0x9, 0x7f3ed1c5a5f0, 0xc0007022a0, 0x0, 0x0, 0xc000b49eb4, 0x2)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/frame.go:237 +0xb1
golang.org/x/net/http2.(*Framer).ReadFrame(0xc001296b60, 0xc000b49eb0, 0x2, 0x0, 0x1)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/frame.go:492 +0xff
golang.org/x/net/http2.(*serverConn).readFrames(0xc000d75e00)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/server.go:745 +0xfc
created by golang.org/x/net/http2.(*serverConn).serve
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/server.go:851 +0x865

goroutine 9035 [select]:
github.com/jensneuse/graphql-go-tools/pkg/subscription.(*Handler).handleKeepAlive(0xc00189cf00, 0x2c126a0, 0xc0000a6010)
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/graphql-go-tools@v1.6.2-0.20210826094453-7375417588e2/pkg/subscription/handler.go:368 +0x15e
created by github.com/jensneuse/graphql-go-tools/pkg/subscription.(*Handler).Handle
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/graphql-go-tools@v1.6.2-0.20210826094453-7375417588e2/pkg/subscription/handler.go:138 +0x325

goroutine 12763 [select]:
net/http.(*persistConn).readLoop(0xc000401200)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2167 +0xf3b
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 6223 [IO wait, 3 minutes]:
internal/poll.runtime_pollWait(0x7f3ed184dc20, 0x72, 0x2be9ec0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000a9e418, 0x72, 0x2be9e00, 0x39538d8, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000a9e400, 0xc0007b2000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc000a9e400, 0xc0007b2000, 0x1000, 0x1000, 0xf, 0x45d31c, 0x22a4620)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc000d78000, 0xc0007b2000, 0x1000, 0x1000, 0xc000cea158, 0x4876ec, 0x4a22df)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/net.go:182 +0xec
net/http.(*connReader).Read(0xc000cea150, 0xc0007b2000, 0x1000, 0x1000, 0x1, 0x9, 0xc0012e3160)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:798 +0x263
bufio.(*Reader).Read(0xc0010ee3c0, 0xc0011556f8, 0x9, 0x9, 0x9, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:227 +0x7c7
io.(*multiReader).Read(0xc000e59bc0, 0xc0011556f8, 0x9, 0x9, 0xc0011556f0, 0x10401, 0xc000000000)
	/opt/hostedtoolcache/go/1.15.15/x64/src/io/multi.go:26 +0xfa
golang.org/x/net/http2/h2c.(*rwConn).Read(0xc000cea240, 0xc0011556f8, 0x9, 0x9, 0x10401, 0x1040100000000, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/h2c/h2c.go:293 +0x7a
io.ReadAtLeast(0x7f3ed1c5a5f0, 0xc000cea240, 0xc0011556f8, 0x9, 0x9, 0x9, 0xc0005b6d00, 0x47dd17, 0xc0005b6f78)
	/opt/hostedtoolcache/go/1.15.15/x64/src/io/io.go:314 +0x9d
io.ReadFull(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/io/io.go:333
golang.org/x/net/http2.readFrameHeader(0xc0011556f8, 0x9, 0x9, 0x7f3ed1c5a5f0, 0xc000cea240, 0x0, 0x0, 0xc0005b6eb4, 0x2)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/frame.go:237 +0xb1
golang.org/x/net/http2.(*Framer).ReadFrame(0xc0011556c0, 0xc0005b6eb0, 0x2, 0x0, 0x1)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/frame.go:492 +0xff
golang.org/x/net/http2.(*serverConn).readFrames(0xc000aeac00)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/server.go:745 +0xfc
created by golang.org/x/net/http2.(*serverConn).serve
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/server.go:851 +0x865

goroutine 12707 [select]:
net/http.(*persistConn).writeLoop(0xc001eb67e0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1716 +0xc31

goroutine 6063 [IO wait, 3 minutes]:
internal/poll.runtime_pollWait(0x7f3f0154e468, 0x72, 0x2be9ec0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc0011f3b98, 0x72, 0x2be9e00, 0x39538d8, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc0011f3b80, 0xc0001cc000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc0011f3b80, 0xc0001cc000, 0x1000, 0x1000, 0xd, 0x45d31c, 0x22a4620)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc000010020, 0xc0001cc000, 0x1000, 0x1000, 0xc0007025d8, 0x4876ec, 0x4a22df)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/net.go:182 +0xec
net/http.(*connReader).Read(0xc0007025d0, 0xc0001cc000, 0x1000, 0x1000, 0xc00017f5c0, 0x4, 0x464920)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:798 +0x263
bufio.(*Reader).Read(0xc000854780, 0xc0012976f8, 0x9, 0x9, 0x9, 0x8, 0x4)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:227 +0x7c7
io.(*multiReader).Read(0xc000868260, 0xc0012976f8, 0x9, 0x9, 0xc0012976f0, 0x400000301, 0x3)
	/opt/hostedtoolcache/go/1.15.15/x64/src/io/multi.go:26 +0xfa
golang.org/x/net/http2/h2c.(*rwConn).Read(0xc000702690, 0xc0012976f8, 0x9, 0x9, 0x400000301, 0x30100000003, 0x300000004)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/h2c/h2c.go:293 +0x7a
io.ReadAtLeast(0x7f3ed1c5a5f0, 0xc000702690, 0xc0012976f8, 0x9, 0x9, 0x9, 0xc0005b0d00, 0x47dd17, 0xc0005b0f78)
	/opt/hostedtoolcache/go/1.15.15/x64/src/io/io.go:314 +0x9d
io.ReadFull(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/io/io.go:333
golang.org/x/net/http2.readFrameHeader(0xc0012976f8, 0x9, 0x9, 0x7f3ed1c5a5f0, 0xc000702690, 0x0, 0x0, 0xc0005b0eb4, 0x2)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/frame.go:237 +0xb1
golang.org/x/net/http2.(*Framer).ReadFrame(0xc0012976c0, 0xc0005b0eb0, 0x2, 0x0, 0x1)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/frame.go:492 +0xff
golang.org/x/net/http2.(*serverConn).readFrames(0xc000a4e000)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/server.go:745 +0xfc
created by golang.org/x/net/http2.(*serverConn).serve
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/server.go:851 +0x865

goroutine 9136 [semacquire, 1 minutes]:
sync.runtime_Semacquire(0xc000323f68)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/sema.go:56 +0x45
sync.(*WaitGroup).Wait(0xc000323f60)
	/opt/hostedtoolcache/go/1.15.15/x64/src/sync/waitgroup.go:130 +0xe5
github.com/TykTechnologies/tyk/gateway.waitTimeout.func1(0xc000bd6d20, 0xc000323f60)
	/home/runner/work/tyk/tyk/gateway/mw_http_signature_validation_test.go:114 +0x6d
created by github.com/TykTechnologies/tyk/gateway.waitTimeout
	/home/runner/work/tyk/tyk/gateway/mw_http_signature_validation_test.go:112 +0x8d

goroutine 529 [chan receive, 4 minutes]:
github.com/TykTechnologies/leakybucket/memorycache.(*Cache).startCleanupTimer.func1(0xc000aecf00, 0xc0006c4660)
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/leakybucket@v0.0.0-20170301023702-71692c943e3c/memorycache/cache.go:69 +0x3f
created by github.com/TykTechnologies/leakybucket/memorycache.(*Cache).startCleanupTimer
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/leakybucket@v0.0.0-20170301023702-71692c943e3c/memorycache/cache.go:66 +0x89

goroutine 3965 [select]:
github.com/TykTechnologies/tyk/gateway.initHealthCheck.func1(0x2c12660, 0xc000d29ec0)
	/home/runner/work/tyk/tyk/gateway/health_check.go:83 +0x291
created by github.com/TykTechnologies/tyk/gateway.initHealthCheck
	/home/runner/work/tyk/tyk/gateway/health_check.go:73 +0x7d

goroutine 2514 [IO wait, 4 minutes]:
internal/poll.runtime_pollWait(0x7f3ed1c7ab20, 0x72, 0x2be9ec0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc0014f8e98, 0x72, 0x2be9e00, 0x39538d8, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc0014f8e80, 0xc00062d000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc0014f8e80, 0xc00062d000, 0x1000, 0x1000, 0x6a026a, 0xc0014f8e80, 0xc000b4a000)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc0000aa568, 0xc00062d000, 0x1000, 0x1000, 0x5d, 0x1000, 0x5d)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/net.go:182 +0xec
bufio.(*Reader).fill(0xc0010fb4a0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:101 +0x1af
bufio.(*Reader).Peek(0xc0010fb4a0, 0x4, 0x0, 0x0, 0x1, 0x8, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:139 +0xa5
github.com/valyala/fasthttp.(*Server).serveConn(0xc000524000, 0x2c24e40, 0xc0000aa568, 0x0, 0x0)
	/home/runner/go/pkg/mod/github.com/valyala/fasthttp@v1.15.1/server.go:2016 +0x29f0
github.com/valyala/fasthttp.(*workerPool).workerFunc(0xc0012ee460, 0xc0015ba340)
	/home/runner/go/pkg/mod/github.com/valyala/fasthttp@v1.15.1/workerpool.go:223 +0x10a
github.com/valyala/fasthttp.(*workerPool).getCh.func1(0xc0012ee460, 0xc0015ba340, 0x23a2340, 0xc0015ba340)
	/home/runner/go/pkg/mod/github.com/valyala/fasthttp@v1.15.1/workerpool.go:195 +0x45
created by github.com/valyala/fasthttp.(*workerPool).getCh
	/home/runner/go/pkg/mod/github.com/valyala/fasthttp@v1.15.1/workerpool.go:194 +0x1b8

goroutine 14007 [runnable]:
text/template.parseFiles(0xc001211640, 0xc000f9fc40, 0x2, 0x2, 0x2, 0xc000f9fc40, 0x1)
	/opt/hostedtoolcache/go/1.15.15/x64/src/text/template/helper.go:69 +0x105
text/template.ParseFiles(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/text/template/helper.go:38
github.com/TykTechnologies/tyk/gateway.readGraphqlPlaygroundTemplate()
	/home/runner/work/tyk/tyk/gateway/api_loader.go:745 +0x473
github.com/TykTechnologies/tyk/gateway.setupGlobals(0x2c12660, 0xc001210580)
	/home/runner/work/tyk/tyk/gateway/server.go:269 +0x1317
github.com/TykTechnologies/tyk/gateway.(*Test).Start(0xc0009ff000)
	/home/runner/work/tyk/tyk/gateway/testutil.go:928 +0x3b0
github.com/TykTechnologies/tyk/gateway.StartTest(0x0, 0x0, 0x0, 0x0)
	/home/runner/work/tyk/tyk/gateway/testutil.go:1080 +0xc5
github.com/TykTechnologies/tyk/gateway.TestProcessKeySpaceChangesForOauth.func1(0xc0010a0000)
	/home/runner/work/tyk/tyk/gateway/rpc_storage_handler_test.go:83 +0x8e
testing.tRunner(0xc0010a0000, 0xc0003582c0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/testing/testing.go:1123 +0x203
created by testing.(*T).Run
	/opt/hostedtoolcache/go/1.15.15/x64/src/testing/testing.go:1168 +0x5bc

goroutine 6234 [IO wait, 3 minutes]:
internal/poll.runtime_pollWait(0x7f3ed85ca8e0, 0x72, 0x2be9ec0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc0014f9198, 0x72, 0x2be9e00, 0x39538d8, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc0014f9180, 0xc00086b000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc0014f9180, 0xc00086b000, 0x1000, 0x1000, 0x4641a0, 0x0, 0xc0005d6988)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc0000101f0, 0xc00086b000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/net.go:182 +0xec
bufio.(*Reader).Read(0xc001687c20, 0xc000a2cb98, 0x9, 0x9, 0x0, 0xc0005d6f50, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:227 +0x7c7
io.ReadAtLeast(0x2be30a0, 0xc001687c20, 0xc000a2cb98, 0x9, 0x9, 0x9, 0x2be3401, 0xc00009a030, 0xc000c662e0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/io/io.go:314 +0x9d
io.ReadFull(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/io/io.go:333
golang.org/x/net/http2.readFrameHeader(0xc000a2cb98, 0x9, 0x9, 0x2be30a0, 0xc001687c20, 0x0, 0xc000000000, 0x1c, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/frame.go:237 +0xb1
golang.org/x/net/http2.(*Framer).ReadFrame(0xc000a2cb60, 0xc000cea8a0, 0x0, 0x0, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/frame.go:492 +0xff
golang.org/x/net/http2.(*clientConnReadLoop).run(0xc0005d6fb8, 0x0, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/transport.go:1819 +0x1bd
golang.org/x/net/http2.(*ClientConn).readLoop(0xc000350480)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/transport.go:1741 +0xbe
created by golang.org/x/net/http2.(*Transport).newClientConn
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/transport.go:705 +0xcc7

goroutine 5667 [IO wait, 3 minutes]:
internal/poll.runtime_pollWait(0x7f3ed1c2c180, 0x72, 0x2be9ec0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000afa918, 0x72, 0x2be9e00, 0x39538d8, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000afa900, 0xc0005e6000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc000afa900, 0xc0005e6000, 0x1000, 0x1000, 0x423e9a, 0x45d31c, 0x22a4620)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc0005280a0, 0xc0005e6000, 0x1000, 0x1000, 0xc00169a488, 0x4876ec, 0x4a22df)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/net.go:182 +0xec
net/http.(*connReader).Read(0xc00169a480, 0xc0005e6000, 0x1000, 0x1000, 0x1, 0x0, 0x2)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:798 +0x263
bufio.(*Reader).fill(0xc000d2e360)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:101 +0x1af
bufio.(*Reader).ReadSlice(0xc000d2e360, 0xc00132820a, 0xc001328200, 0x80, 0xc001328200, 0x45d31c, 0xc000621608)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:360 +0x9b
bufio.(*Reader).ReadLine(0xc000d2e360, 0x7f3f01b5b108, 0xc000975a00, 0xc000975a00, 0x1, 0xc000356c00, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:389 +0x45
net/textproto.(*Reader).readLineSlice(0xc00169a4b0, 0xc000975a00, 0xc000afa900, 0x8, 0x0, 0x449e01)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/textproto/reader.go:58 +0xa5
net/textproto.(*Reader).ReadLine(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/textproto/reader.go:39
net/http.readRequest(0xc000d2e360, 0x0, 0xc000975a00, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/request.go:1012 +0xa8
net/http.(*conn).readRequest(0xc000e3e460, 0x2c12660, 0xc000af00c0, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:984 +0x345
net/http.(*conn).serve(0xc000e3e460, 0x2c12660, 0xc000af00c0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:1851 +0x4ef
created by net/http.(*Server).Serve
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:2969 +0x5d4

goroutine 9127 [semacquire, 1 minutes]:
sync.runtime_Semacquire(0xc0011191c8)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/sema.go:56 +0x45
sync.(*WaitGroup).Wait(0xc0011191c0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/sync/waitgroup.go:130 +0xe5
github.com/TykTechnologies/tyk/gateway.waitTimeout.func1(0xc000bd6300, 0xc0011191c0)
	/home/runner/work/tyk/tyk/gateway/mw_http_signature_validation_test.go:114 +0x6d
created by github.com/TykTechnologies/tyk/gateway.waitTimeout
	/home/runner/work/tyk/tyk/gateway/mw_http_signature_validation_test.go:112 +0x8d

goroutine 12734 [select]:
net/http.(*persistConn).readLoop(0xc0009c3d40)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2167 +0xf3b
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 13973 [select]:
net/http.(*persistConn).readLoop(0xc001b66900)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2167 +0xf3b
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 12859 [select]:
net/http.(*persistConn).writeLoop(0xc001eb65a0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1716 +0xc31

goroutine 2515 [sleep]:
time.Sleep(0x3b9aca00)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/time.go:188 +0xbf
github.com/valyala/fasthttp.updateServerDate.func1()
	/home/runner/go/pkg/mod/github.com/valyala/fasthttp@v1.15.1/header.go:1396 +0x38
created by github.com/valyala/fasthttp.updateServerDate
	/home/runner/go/pkg/mod/github.com/valyala/fasthttp@v1.15.1/header.go:1394 +0x48

goroutine 14008 [IO wait]:
internal/poll.runtime_pollWait(0x7f3ed184db38, 0x72, 0x72)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000a9e198, 0x72, 0x0, 0x0, 0x26f7fd1)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Accept(0xc000a9e180, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:394 +0x2fe
net.(*netFD).accept(0xc000a9e180, 0xc00088dd50, 0x420db1, 0x22abfe0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_unix.go:172 +0x58
net.(*TCPListener).accept(0xc000bb6080, 0xc00049e780, 0xc00049e780, 0xc0015925e0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/tcpsock_posix.go:139 +0x50
net.(*TCPListener).Accept(0xc000bb6080, 0xc00049e780, 0xc00088ddc0, 0x5bee10, 0xc00049e7a0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/tcpsock.go:261 +0x8e
net/http.(*Server).Serve(0xc001592540, 0x2c0a1e0, 0xc000bb6080, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:2937 +0x414
created by github.com/TykTechnologies/tyk/gateway.(*proxyMux).serve
	/home/runner/work/tyk/tyk/gateway/proxy_muxer.go:422 +0xad4

goroutine 9088 [select]:
github.com/jensneuse/graphql-go-tools/pkg/subscription.(*Handler).handleKeepAlive(0xc0015a2690, 0x2c126a0, 0xc0000a6010)
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/graphql-go-tools@v1.6.2-0.20210826094453-7375417588e2/pkg/subscription/handler.go:368 +0x15e
created by github.com/jensneuse/graphql-go-tools/pkg/subscription.(*Handler).Handle
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/graphql-go-tools@v1.6.2-0.20210826094453-7375417588e2/pkg/subscription/handler.go:138 +0x325

goroutine 9053 [select]:
github.com/jensneuse/graphql-go-tools/pkg/subscription.(*Handler).handleKeepAlive(0xc00155dea0, 0x2c126a0, 0xc0000a6010)
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/graphql-go-tools@v1.6.2-0.20210826094453-7375417588e2/pkg/subscription/handler.go:368 +0x15e
created by github.com/jensneuse/graphql-go-tools/pkg/subscription.(*Handler).Handle
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/graphql-go-tools@v1.6.2-0.20210826094453-7375417588e2/pkg/subscription/handler.go:138 +0x325

goroutine 13682 [sleep]:
time.Sleep(0x574fbde6000)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/time.go:188 +0xbf
github.com/TykTechnologies/tyk/gateway.APIDefinitionLoader.compileCircuitBreakerPathSpec.func1.1(0xc00043e020, 0x1770, 0xc00191a460)
	/home/runner/work/tyk/tyk/gateway/api_definition.go:819 +0xf3
created by github.com/TykTechnologies/tyk/gateway.APIDefinitionLoader.compileCircuitBreakerPathSpec.func1
	/home/runner/work/tyk/tyk/gateway/api_definition.go:817 +0x748

goroutine 2511 [IO wait, 4 minutes]:
internal/poll.runtime_pollWait(0x7f3ed1c7ac08, 0x72, 0x2be9ec0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000af5918, 0x72, 0x2be9e00, 0x39538d8, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000af5900, 0xc0015e7000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc000af5900, 0xc0015e7000, 0x1000, 0x1000, 0x5d, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc000528320, 0xc0015e7000, 0x1000, 0x1000, 0xc0012637d0, 0xc000717948, 0x4197d9)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/net.go:182 +0xec
net/http.(*persistConn).Read(0xc00053ea20, 0xc0015e7000, 0x1000, 0x1000, 0x1, 0x0, 0x2)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1894 +0xe8
bufio.(*Reader).fill(0xc000fe9c20)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:101 +0x1af
bufio.(*Reader).Peek(0xc000fe9c20, 0x1, 0x2, 0x0, 0x0, 0x0, 0xc001054960)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:139 +0xa5
net/http.(*persistConn).readLoop(0xc00053ea20)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2047 +0x2b3
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 14018 [select]:
net/http.(*persistConn).writeLoop(0xc000b84000)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1716 +0xc31

goroutine 2481 [IO wait, 4 minutes]:
internal/poll.runtime_pollWait(0x7f3ed1c7afa8, 0x72, 0x2be9ec0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc0014f8e18, 0x72, 0x2be9e00, 0x39538d8, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc0014f8e00, 0xc000630000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc0014f8e00, 0xc000630000, 0x1000, 0x1000, 0x6a026a, 0xc0014f8e00, 0xc000631000)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc0000aa540, 0xc000630000, 0x1000, 0x1000, 0x5d, 0x1000, 0x5d)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/net.go:182 +0xec
bufio.(*Reader).fill(0xc0011c64e0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:101 +0x1af
bufio.(*Reader).Peek(0xc0011c64e0, 0x4, 0x0, 0x0, 0x1, 0x8, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:139 +0xa5
github.com/valyala/fasthttp.(*Server).serveConn(0xc000524000, 0x2c24e40, 0xc0000aa540, 0x0, 0x0)
	/home/runner/go/pkg/mod/github.com/valyala/fasthttp@v1.15.1/server.go:2016 +0x29f0
github.com/valyala/fasthttp.(*workerPool).workerFunc(0xc0012ee460, 0xc0015ba320)
	/home/runner/go/pkg/mod/github.com/valyala/fasthttp@v1.15.1/workerpool.go:223 +0x10a
github.com/valyala/fasthttp.(*workerPool).getCh.func1(0xc0012ee460, 0xc0015ba320, 0x23a2340, 0xc0015ba320)
	/home/runner/go/pkg/mod/github.com/valyala/fasthttp@v1.15.1/workerpool.go:195 +0x45
created by github.com/valyala/fasthttp.(*workerPool).getCh
	/home/runner/go/pkg/mod/github.com/valyala/fasthttp@v1.15.1/workerpool.go:194 +0x1b8

goroutine 12826 [select]:
net/http.(*persistConn).readLoop(0xc0009c27e0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2167 +0xf3b
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 13603 [select]:
github.com/miekg/dns.(*Server).worker(0xc0000e6900, 0xc000da1e80)
	/home/runner/go/pkg/mod/github.com/miekg/dns@v1.0.14/server.go:262 +0x289
created by github.com/miekg/dns.(*Server).spawnWorker
	/home/runner/go/pkg/mod/github.com/miekg/dns@v1.0.14/server.go:283 +0xb1

goroutine 12735 [select]:
net/http.(*persistConn).writeLoop(0xc0009c3d40)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1716 +0xc31

goroutine 3824 [select, 3 minutes]:
net/http.(*persistConn).writeLoop(0xc000401e60)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1716 +0xc31

goroutine 5655 [IO wait, 3 minutes]:
internal/poll.runtime_pollWait(0x7f3ed85ca628, 0x72, 0x72)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000bd0b18, 0x72, 0x0, 0x0, 0x26f7fd1)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Accept(0xc000bd0b00, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:394 +0x2fe
net.(*netFD).accept(0xc000bd0b00, 0x45c600, 0xc000f78c00, 0x8)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_unix.go:172 +0x58
net.(*TCPListener).accept(0xc000c25d40, 0xc00021d030, 0x0, 0x35e52714)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/tcpsock_posix.go:139 +0x50
net.(*TCPListener).Accept(0xc000c25d40, 0xc000500d50, 0x4562ae, 0xc000500d20, 0x47d980)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/tcpsock.go:261 +0x8e
net/http.(*Server).Serve(0xc000a2c0e0, 0x2c0a1e0, 0xc000c25d40, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:2937 +0x414
net/http/httptest.(*Server).goServe.func1(0xc00021d030)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/httptest/server.go:308 +0xd9
created by net/http/httptest.(*Server).goServe
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/httptest/server.go:306 +0x6a

goroutine 12668 [select]:
net/http.(*persistConn).writeLoop(0xc00070cc60)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1716 +0xc31

goroutine 2480 [select, 4 minutes]:
net/http.(*persistConn).writeLoop(0xc00067e120)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1716 +0xc31

goroutine 13974 [select]:
net/http.(*persistConn).writeLoop(0xc001b66900)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1716 +0xc31

goroutine 12787 [select]:
net/http.(*persistConn).writeLoop(0xc001668000)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1716 +0xc31

goroutine 9028 [select]:
github.com/jensneuse/graphql-go-tools/pkg/subscription.(*Handler).handleKeepAlive(0xc00189cd20, 0x2c126a0, 0xc0000a6010)
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/graphql-go-tools@v1.6.2-0.20210826094453-7375417588e2/pkg/subscription/handler.go:368 +0x15e
created by github.com/jensneuse/graphql-go-tools/pkg/subscription.(*Handler).Handle
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/graphql-go-tools@v1.6.2-0.20210826094453-7375417588e2/pkg/subscription/handler.go:138 +0x325

goroutine 9006 [select]:
github.com/jensneuse/graphql-go-tools/pkg/subscription.(*Handler).handleKeepAlive(0xc00029ebe0, 0x2c126a0, 0xc0000a6010)
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/graphql-go-tools@v1.6.2-0.20210826094453-7375417588e2/pkg/subscription/handler.go:368 +0x15e
created by github.com/jensneuse/graphql-go-tools/pkg/subscription.(*Handler).Handle
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/graphql-go-tools@v1.6.2-0.20210826094453-7375417588e2/pkg/subscription/handler.go:138 +0x325

goroutine 12806 [select]:
net/http.(*persistConn).readLoop(0xc001668900)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2167 +0xf3b
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 13936 [sleep]:
time.Sleep(0x3b9aca00)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/time.go:188 +0xbf
github.com/TykTechnologies/tyk/gateway.TestReverseProxyWebSocketCancelation.func2(0x2c0a4a0, 0xc001593420, 0xc00018ad00)
	/home/runner/work/tyk/tyk/gateway/reverse_proxy_test.go:1099 +0x61c
net/http.HandlerFunc.ServeHTTP(0xc00129fe40, 0x2c0a4a0, 0xc001593420, 0xc00018ad00)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:2042 +0x52
net/http.serverHandler.ServeHTTP(0xc001592fc0, 0x2c0a4a0, 0xc001593420, 0xc00018ad00)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:2843 +0xcb
net/http.(*conn).serve(0xc00173c3c0, 0x2c12660, 0xc0014fa040)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:1925 +0x84d
created by net/http.(*Server).Serve
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:2969 +0x5d4

goroutine 9110 [semacquire, 1 minutes]:
sync.runtime_Semacquire(0xc000f5b2f8)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/sema.go:56 +0x45
sync.(*WaitGroup).Wait(0xc000f5b2f0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/sync/waitgroup.go:130 +0xe5
github.com/TykTechnologies/tyk/gateway.waitTimeout.func1(0xc0010aac00, 0xc000f5b2f0)
	/home/runner/work/tyk/tyk/gateway/mw_http_signature_validation_test.go:114 +0x6d
created by github.com/TykTechnologies/tyk/gateway.waitTimeout
	/home/runner/work/tyk/tyk/gateway/mw_http_signature_validation_test.go:112 +0x8d

goroutine 14031 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc000fc5b60, 0xc0012115c0)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 3831 [select, 3 minutes]:
net/http.(*persistConn).writeLoop(0xc0009c2480)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1716 +0xc31

goroutine 12807 [select]:
net/http.(*persistConn).writeLoop(0xc001668900)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1716 +0xc31

goroutine 3823 [select, 3 minutes]:
net/http.(*persistConn).readLoop(0xc000401e60)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2167 +0xf3b
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 5665 [select, 3 minutes]:
net/http.(*persistConn).writeLoop(0xc0009537a0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1716 +0xc31

goroutine 3830 [select, 3 minutes]:
net/http.(*persistConn).readLoop(0xc0009c2480)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2167 +0xf3b
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 13188 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc000a376d0, 0xc0015e8400)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 10207 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc001148490, 0xc00120e100)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 12821 [select]:
net/http.(*persistConn).writeLoop(0xc0009c2360)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1716 +0xc31

goroutine 5664 [IO wait, 3 minutes]:
internal/poll.runtime_pollWait(0x7f3ed1c2d000, 0x72, 0x2be9ec0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000dbef98, 0x72, 0x2be9e00, 0x39538d8, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000dbef80, 0xc001139000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc000dbef80, 0xc001139000, 0x1000, 0x1000, 0x5bf368, 0x0, 0x2484840)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc000d78f48, 0xc001139000, 0x1000, 0x1000, 0xc00164f740, 0xc0005c9948, 0x4197d9)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/net.go:182 +0xec
net/http.(*persistConn).Read(0xc0009537a0, 0xc001139000, 0x1000, 0x1000, 0x1, 0x0, 0xc0005c99e0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1894 +0xe8
bufio.(*Reader).fill(0xc0007e3920)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:101 +0x1af
bufio.(*Reader).Peek(0xc0007e3920, 0x1, 0x0, 0x1, 0x1, 0x0, 0xc0010963c0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:139 +0xa5
net/http.(*persistConn).readLoop(0xc0009537a0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2047 +0x2b3
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 9141 [semacquire, 1 minutes]:
sync.runtime_Semacquire(0xc00075d0b8)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/sema.go:56 +0x45
sync.(*WaitGroup).Wait(0xc00075d0b0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/sync/waitgroup.go:130 +0xe5
github.com/TykTechnologies/tyk/gateway.waitTimeout.func1(0xc0009ea300, 0xc00075d0b0)
	/home/runner/work/tyk/tyk/gateway/mw_http_signature_validation_test.go:114 +0x6d
created by github.com/TykTechnologies/tyk/gateway.waitTimeout
	/home/runner/work/tyk/tyk/gateway/mw_http_signature_validation_test.go:112 +0x8d

goroutine 9160 [semacquire, 1 minutes]:
sync.runtime_Semacquire(0xc000d12318)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/sema.go:56 +0x45
sync.(*WaitGroup).Wait(0xc000d12310)
	/opt/hostedtoolcache/go/1.15.15/x64/src/sync/waitgroup.go:130 +0xe5
github.com/TykTechnologies/tyk/gateway.waitTimeout.func1(0xc000d03c80, 0xc000d12310)
	/home/runner/work/tyk/tyk/gateway/mw_http_signature_validation_test.go:114 +0x6d
created by github.com/TykTechnologies/tyk/gateway.waitTimeout
	/home/runner/work/tyk/tyk/gateway/mw_http_signature_validation_test.go:112 +0x8d

goroutine 6062 [IO wait, 3 minutes]:
internal/poll.runtime_pollWait(0x7f3ed1c7b430, 0x72, 0x2be9ec0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000af5098, 0x72, 0x2be9e00, 0x39538d8, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000af5080, 0xc000675000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc000af5080, 0xc000675000, 0x1000, 0x1000, 0x4641a0, 0x0, 0xc00016b988)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc000d78bd0, 0xc000675000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/net.go:182 +0xec
bufio.(*Reader).Read(0xc001157bc0, 0xc000a2c9d8, 0x9, 0x9, 0x0, 0xc00016bf50, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:227 +0x7c7
io.ReadAtLeast(0x2be30a0, 0xc001157bc0, 0xc000a2c9d8, 0x9, 0x9, 0x9, 0x2be3401, 0xc00009a030, 0xc000f14150)
	/opt/hostedtoolcache/go/1.15.15/x64/src/io/io.go:314 +0x9d
io.ReadFull(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/io/io.go:333
golang.org/x/net/http2.readFrameHeader(0xc000a2c9d8, 0x9, 0x9, 0x2be30a0, 0xc001157bc0, 0x0, 0xc000000000, 0x1c, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/frame.go:237 +0xb1
golang.org/x/net/http2.(*Framer).ReadFrame(0xc000a2c9a0, 0xc000702a80, 0x0, 0x0, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/frame.go:492 +0xff
golang.org/x/net/http2.(*clientConnReadLoop).run(0xc00016bfb8, 0x0, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/transport.go:1819 +0x1bd
golang.org/x/net/http2.(*ClientConn).readLoop(0xc000120600)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/transport.go:1741 +0xbe
created by golang.org/x/net/http2.(*Transport).newClientConn
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/transport.go:705 +0xcc7

goroutine 13942 [chan receive]:
testing.(*T).Run(0xc000aeec00, 0x2714958, 0x17, 0xc0003582c0, 0x3907201)
	/opt/hostedtoolcache/go/1.15.15/x64/src/testing/testing.go:1169 +0x5f4
github.com/TykTechnologies/tyk/gateway.TestProcessKeySpaceChangesForOauth(0xc000aeec00)
	/home/runner/work/tyk/tyk/gateway/rpc_storage_handler_test.go:82 +0x27c
testing.tRunner(0xc000aeec00, 0x27c5dd0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/testing/testing.go:1123 +0x203
created by testing.(*T).Run
	/opt/hostedtoolcache/go/1.15.15/x64/src/testing/testing.go:1168 +0x5bc

goroutine 6056 [IO wait, 3 minutes]:
internal/poll.runtime_pollWait(0x7f3f0154e550, 0x72, 0x2be9ec0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000af4c18, 0x72, 0x2be9e00, 0x39538d8, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000af4c00, 0xc000983000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc000af4c00, 0xc000983000, 0x1000, 0x1000, 0x4641a0, 0x0, 0xc00016d988)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc000d78bb0, 0xc000983000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/net.go:182 +0xec
bufio.(*Reader).Read(0xc001157aa0, 0xc000a2c658, 0x9, 0x9, 0x0, 0xc00016df50, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:227 +0x7c7
io.ReadAtLeast(0x2be30a0, 0xc001157aa0, 0xc000a2c658, 0x9, 0x9, 0x9, 0x2be3401, 0xc00009a030, 0xc000f14300)
	/opt/hostedtoolcache/go/1.15.15/x64/src/io/io.go:314 +0x9d
io.ReadFull(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/io/io.go:333
golang.org/x/net/http2.readFrameHeader(0xc000a2c658, 0x9, 0x9, 0x2be30a0, 0xc001157aa0, 0x0, 0xc000000000, 0x1c, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/frame.go:237 +0xb1
golang.org/x/net/http2.(*Framer).ReadFrame(0xc000a2c620, 0xc000702d50, 0x0, 0x0, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/frame.go:492 +0xff
golang.org/x/net/http2.(*clientConnReadLoop).run(0xc00016dfb8, 0x0, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/transport.go:1819 +0x1bd
golang.org/x/net/http2.(*ClientConn).readLoop(0xc000120000)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/transport.go:1741 +0xbe
created by golang.org/x/net/http2.(*Transport).newClientConn
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/transport.go:705 +0xcc7

goroutine 14025 [select]:
github.com/TykTechnologies/tyk/gateway.initHealthCheck.func1(0x2c12660, 0xc001210580)
	/home/runner/work/tyk/tyk/gateway/health_check.go:83 +0x291
created by github.com/TykTechnologies/tyk/gateway.initHealthCheck
	/home/runner/work/tyk/tyk/gateway/health_check.go:73 +0x7d

goroutine 14023 [chan receive]:
github.com/TykTechnologies/circuitbreaker.(*Breaker).Subscribe.func1(0xc0009ea6c0, 0xc000e8a000)
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/circuitbreaker@v2.2.2+incompatible/circuitbreaker.go:202 +0x47
created by github.com/TykTechnologies/circuitbreaker.(*Breaker).Subscribe
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/circuitbreaker@v2.2.2+incompatible/circuitbreaker.go:201 +0x9f

goroutine 9100 [semacquire, 1 minutes]:
sync.runtime_Semacquire(0xc0008de928)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/sema.go:56 +0x45
sync.(*WaitGroup).Wait(0xc0008de920)
	/opt/hostedtoolcache/go/1.15.15/x64/src/sync/waitgroup.go:130 +0xe5
github.com/TykTechnologies/tyk/gateway.waitTimeout.func1(0xc001097ec0, 0xc0008de920)
	/home/runner/work/tyk/tyk/gateway/mw_http_signature_validation_test.go:114 +0x6d
created by github.com/TykTechnologies/tyk/gateway.waitTimeout
	/home/runner/work/tyk/tyk/gateway/mw_http_signature_validation_test.go:112 +0x8d

goroutine 14024 [chan receive]:
github.com/TykTechnologies/tyk/gateway.APIDefinitionLoader.compileCircuitBreakerPathSpec.func1(0xc000e8a000, 0xc00033e480, 0xc0002c8f38, 0x4, 0xc00220b600, 0xc00191bcc0)
	/home/runner/work/tyk/tyk/gateway/api_definition.go:809 +0xa8
created by github.com/TykTechnologies/tyk/gateway.APIDefinitionLoader.compileCircuitBreakerPathSpec
	/home/runner/work/tyk/tyk/gateway/api_definition.go:807 +0x4fe

goroutine 13602 [select]:
github.com/miekg/dns.(*Server).worker(0xc0000e6900, 0xc000da1e00)
	/home/runner/go/pkg/mod/github.com/miekg/dns@v1.0.14/server.go:262 +0x289
created by github.com/miekg/dns.(*Server).spawnWorker
	/home/runner/go/pkg/mod/github.com/miekg/dns@v1.0.14/server.go:283 +0xb1

goroutine 13985 [select]:
net/http.(*persistConn).readLoop(0xc000b84000)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2167 +0xf3b
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 13994 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc0001d1340, 0xc00181c0c0)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106
FAIL	github.com/TykTechnologies/tyk/gateway	300.301s
FAIL
Test Failed

gofmt

gateway/mw_method_transform.go
gateway/mw_request_size_limit.go
gateway/mw_transform_jq.go

goimports

gateway/mw_method_transform.go
gateway/mw_request_size_limit.go
gateway/mw_transform_jq.go

If the above are ok, please look at the run or in the Checks tab.

alephnull and others added 3 commits August 30, 2021 16:50
## Description
This PR is end result of a long chain of decisions. The immediate problem is that due to a bug in the release engineering code version 3.0.6 has a bug whereby the systemd service file is lost on upgrade. Since it is not possible to fix the releng bug in released packages, a workaround has been implemented.

This PR is dependant on the the install scripts being templates in tyk-ci/wf-gen. 

## Related Issue
https://tyktech.atlassian.net/browse/TT-3932

## How This Has Been Tested
See the status in the _Checks_ tab.

# Merging
This commit needs to be cherry-picked to release-3-lts, release-4 and any other active release branches. If the tykbot cherry pick fails, create a fresh PR instead of a rebase.

<!-- Automatic merging will be performed for the following branches when this PR is merged to master. -->

<!-- | Repo          | Branches                 | -->
<!-- |---------------|--------------------------| -->
<!-- | tyk           | release-3.2              | -->
<!-- | tyk-analytics | release-3.2              | -->
<!-- | tyk-pump      | release-0.8, release-1.0 | -->
<!-- | tyk-sink      | release-1.7, release-1.8 | -->

<!-- Please cherry pick this into the following branches: -->

<!-- | Repo          | Branches                 | -->
<!-- |---------------|--------------------------| -->
<!-- | tyk           | release-3, release-3-lts | -->
<!-- | tyk-analytics | release-3, release-3-lts | -->
## Description
https://tyktech.atlassian.net/wiki/spaces/EN/pages/1180237826/Version+management+in+releng

This change needs to be merged to all release branches.

## Related Issue
https://tyktech.atlassian.net/browse/TD-553

## How This Has Been Tested
Tested in last handover to QA.

## Types of changes
<!-- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Refactoring or add test (improvements in base code or adds test coverage to functionality)

## Checklist
<!-- Go over all the following points, and put an `x` in all the boxes that apply -->
<!-- If you're unsure about any of these, don't hesitate to ask; we're here to help! -->
- [x] Make sure you are requesting to **pull a topic/feature/bugfix branch** (right side). If pulling from your own
      fork, don't request your `master`!
- [x] Make sure you are making a pull request against the **`master` branch** (left side). Also, you should start
      *your branch* off *our latest `master`*.
- [ ] My change requires a change to the documentation.
  - [ ] If you've changed APIs, describe what needs to be updated in the documentation.
  - [ ] If new config option added, ensure that it can be set via ENV variable
- [ ] I have updated the documentation accordingly.
- [ ] Modules and vendor dependencies have been updated; run `go mod tidy && go mod vendor`
- [ ] When updating library version must provide reason/explanation for this update.
- [ ] I have added tests to cover my changes.
- [ ] All new and existing tests passed.
- [ ] Check your code additions will not fail linting checks:
  - [ ] `go fmt -s`
  - [ ] `go vet`
@github-actions
Copy link

💥 CI tests failed 🙈

CI test log

go: downloading github.com/TykTechnologies/graphql-go-tools v1.6.2-0.20210826094453-7375417588e2
go: downloading github.com/tidwall/gjson v1.8.1
go: downloading github.com/tidwall/pretty v1.2.0
go: downloading github.com/getkin/kin-openapi v0.32.0
go: downloading github.com/tidwall/match v1.0.3
go: downloading github.com/ghodss/yaml v1.0.0
go: downloading gopkg.in/yaml.v2 v2.3.0
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk
?   	github.com/TykTechnologies/tyk	[no test files]
go vet github.com/TykTechnologies/tyk
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/apidef
ok  	github.com/TykTechnologies/tyk/apidef	0.074s	coverage: 20.4% of statements
go vet github.com/TykTechnologies/tyk/apidef
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/apidef/adapter
ok  	github.com/TykTechnologies/tyk/apidef/adapter	0.137s	coverage: 87.3% of statements
go vet github.com/TykTechnologies/tyk/apidef/adapter
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/apidef/importer
ok  	github.com/TykTechnologies/tyk/apidef/importer	0.073s	coverage: 65.6% of statements
go vet github.com/TykTechnologies/tyk/apidef/importer
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/apidef/oas
ok  	github.com/TykTechnologies/tyk/apidef/oas	0.043s	coverage: 90.0% of statements
go vet github.com/TykTechnologies/tyk/apidef/oas
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/certs
ok  	github.com/TykTechnologies/tyk/certs	6.314s	coverage: 56.5% of statements
go vet github.com/TykTechnologies/tyk/certs
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/checkup
?   	github.com/TykTechnologies/tyk/checkup	[no test files]
go vet github.com/TykTechnologies/tyk/checkup
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/cli
?   	github.com/TykTechnologies/tyk/cli	[no test files]
go vet github.com/TykTechnologies/tyk/cli
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/cli/bundler
ok  	github.com/TykTechnologies/tyk/cli/bundler	0.065s	coverage: 70.7% of statements
go vet github.com/TykTechnologies/tyk/cli/bundler
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/cli/importer
?   	github.com/TykTechnologies/tyk/cli/importer	[no test files]
go vet github.com/TykTechnologies/tyk/cli/importer
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/cli/linter
ok  	github.com/TykTechnologies/tyk/cli/linter	0.308s	coverage: 89.8% of statements
go vet github.com/TykTechnologies/tyk/cli/linter
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/config
ok  	github.com/TykTechnologies/tyk/config	0.174s	coverage: 69.9% of statements
go vet github.com/TykTechnologies/tyk/config
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/coprocess
?   	github.com/TykTechnologies/tyk/coprocess	[no test files]
go vet github.com/TykTechnologies/tyk/coprocess
go test -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/coprocess/grpc
ok  	github.com/TykTechnologies/tyk/coprocess/grpc	8.594s	coverage: [no statements]
go vet github.com/TykTechnologies/tyk/coprocess/grpc
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/coprocess/python
ok  	github.com/TykTechnologies/tyk/coprocess/python	12.306s	coverage: [no statements]
go vet github.com/TykTechnologies/tyk/coprocess/python
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/ctx
?   	github.com/TykTechnologies/tyk/ctx	[no test files]
go vet github.com/TykTechnologies/tyk/ctx
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/dlpython
ok  	github.com/TykTechnologies/tyk/dlpython	0.343s	coverage: 54.5% of statements
go vet github.com/TykTechnologies/tyk/dlpython
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/dnscache
ok  	github.com/TykTechnologies/tyk/dnscache	11.699s	coverage: 82.5% of statements
go vet github.com/TykTechnologies/tyk/dnscache
go test -race -timeout 5m -coverprofile=test.cov github.com/TykTechnologies/tyk/gateway
time="Aug 31 09:08:42" level=info msg="Rich plugins are disabled" prefix=coprocess
coverage: 64.3% of statements
panic: test timed out after 5m0s

goroutine 13749 [running]:
testing.(*M).startAlarm.func1()
	/opt/hostedtoolcache/go/1.15.15/x64/src/testing/testing.go:1618 +0x11f
created by time.goFunc
	/opt/hostedtoolcache/go/1.15.15/x64/src/time/sleep.go:167 +0x52

goroutine 1 [chan receive]:
testing.(*T).Run(0xc0000f7080, 0x27233be, 0x1e, 0x27c5738, 0x1)
	/opt/hostedtoolcache/go/1.15.15/x64/src/testing/testing.go:1169 +0x5f4
testing.runTests.func1(0xc0000f7080)
	/opt/hostedtoolcache/go/1.15.15/x64/src/testing/testing.go:1439 +0xa7
testing.tRunner(0xc0000f7080, 0xc000523850)
	/opt/hostedtoolcache/go/1.15.15/x64/src/testing/testing.go:1123 +0x203
testing.runTests(0xc0004b26c0, 0x394ae00, 0x14d, 0x14d, 0xc0439a918e0e88f0, 0x45e44a7d6b, 0x3ad01c0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/testing/testing.go:1437 +0x613
testing.(*M).Run(0xc000092200, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/testing/testing.go:1345 +0x3b4
github.com/TykTechnologies/tyk/gateway.InitTestMain(0x2c126a0, 0xc00011e010, 0xc000092200, 0x0, 0x0, 0x0, 0x0)
	/home/runner/work/tyk/tyk/gateway/testutil.go:308 +0xfae
github.com/TykTechnologies/tyk/gateway.TestMain(0xc000092200)
	/home/runner/work/tyk/tyk/gateway/gateway_test.go:38 +0x76
main.main()
	_testmain.go:1033 +0x372

goroutine 19 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc0002478e0, 0xc000234f40)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 20 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc000247900, 0xc000234f80)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 21 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc000247920, 0xc000234fc0)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 22 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc000247930, 0xc000235000)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 23 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc000247940, 0xc000235040)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 24 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc000247950, 0xc000235080)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 25 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc000247960, 0xc0002350c0)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 26 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc000247970, 0xc000235100)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 27 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc000247980, 0xc000235140)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 28 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc000247990, 0xc000235180)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 32 [select]:
github.com/TykTechnologies/tyk/gateway.initHealthCheck.func1(0x2c126a0, 0xc00011e010)
	/home/runner/work/tyk/tyk/gateway/health_check.go:83 +0x291
created by github.com/TykTechnologies/tyk/gateway.initHealthCheck
	/home/runner/work/tyk/tyk/gateway/health_check.go:73 +0x7d

goroutine 7 [select, 5 minutes]:
github.com/pmylund/go-cache.(*janitor).Run(0xc0003cdb70, 0xc00039cf00)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 8 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc0003cdb90, 0xc00039cf40)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 9 [select, 5 minutes]:
github.com/pmylund/go-cache.(*janitor).Run(0xc0003cdba0, 0xc00039cf80)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 10 [select, 5 minutes]:
github.com/pmylund/go-cache.(*janitor).Run(0xc0003cdbb0, 0xc00039cfc0)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 11 [select, 5 minutes]:
github.com/pmylund/go-cache.(*janitor).Run(0xc0003cdbc0, 0xc00039d080)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 12 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc0003cdde0, 0xc00039d100)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 13 [IO wait]:
internal/poll.runtime_pollWait(0x7fe1bd1cf158, 0x72, 0xc00076f6c0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000092318, 0x72, 0x200, 0x200, 0xc000ff2600)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).ReadMsg(0xc000092300, 0xc001c45a00, 0x200, 0x200, 0xc000ff2600, 0x28, 0x28, 0x0, 0x0, 0x0, ...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:242 +0x2b6
net.(*netFD).readMsg(0xc000092300, 0xc001c45a00, 0x200, 0x200, 0xc000ff2600, 0x28, 0x28, 0x7fe1bd1cf188, 0x420db1, 0xc000105c00, ...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_posix.go:67 +0xa6
net.(*UDPConn).readMsg(0xc000122680, 0xc001c45a00, 0x200, 0x200, 0xc000ff2600, 0x28, 0x28, 0x28, 0x7fe1bd7c0108, 0xc000ff2600, ...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/udpsock_posix.go:59 +0xba
net.(*UDPConn).ReadMsgUDP(0xc000122680, 0xc001c45a00, 0x200, 0x200, 0xc000ff2600, 0x28, 0x28, 0x0, 0x4517550, 0xc00076fb30, ...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/udpsock.go:139 +0xc5
github.com/miekg/dns.ReadFromSessionUDP(0xc000122680, 0xc001c45a00, 0x200, 0x200, 0x0, 0x0, 0x3ad01c0, 0xc000032000)
	/home/runner/go/pkg/mod/github.com/miekg/dns@v1.0.14/udp.go:42 +0x136
github.com/miekg/dns.(*Server).readUDP(0xc00015fe60, 0xc000122680, 0x77359400, 0x0, 0x0, 0xc00076fc88, 0x4a4198, 0xc00015ff2c, 0xc0ffffffff)
	/home/runner/go/pkg/mod/github.com/miekg/dns@v1.0.14/server.go:720 +0x12c
github.com/miekg/dns.(*defaultReader).ReadUDP(0xc000122698, 0xc000122680, 0x77359400, 0x7fe1943597e0, 0xc000090370, 0x1, 0x0, 0x2be7420, 0xc000090370)
	/home/runner/go/pkg/mod/github.com/miekg/dns@v1.0.14/server.go:169 +0x73
github.com/miekg/dns.(*Server).serveUDP(0xc00015fe60, 0xc000122680, 0x0, 0x0)
	/home/runner/go/pkg/mod/github.com/miekg/dns@v1.0.14/server.go:531 +0x274
github.com/miekg/dns.(*Server).ActivateAndServe(0xc00015fe60, 0x0, 0x0)
	/home/runner/go/pkg/mod/github.com/miekg/dns@v1.0.14/server.go:395 +0x435
github.com/TykTechnologies/tyk/test.InitDNSMock.func2(0xc00009a900, 0xc00015fe60)
	/home/runner/work/tyk/tyk/test/dns.go:191 +0x39
created by github.com/TykTechnologies/tyk/test.InitDNSMock
	/home/runner/work/tyk/tyk/test/dns.go:190 +0x508

goroutine 14 [IO wait]:
internal/poll.runtime_pollWait(0x7fe1bd1cf070, 0x72, 0x72)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000196018, 0x72, 0x0, 0x0, 0x26f7fd1)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Accept(0xc000196000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:394 +0x2fe
net.(*netFD).accept(0xc000196000, 0x45c62a, 0xc000001980, 0xc000390420)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_unix.go:172 +0x58
net.(*TCPListener).accept(0xc0004b2000, 0x482d5b, 0xca8e828851, 0x220a6d21)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/tcpsock_posix.go:139 +0x50
net.(*TCPListener).Accept(0xc0004b2000, 0x4875ec, 0x4562ae, 0xc0004f6cd0, 0x47d980)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/tcpsock.go:261 +0x8e
net/http.(*Server).Serve(0xc000390380, 0x2c0a1e0, 0xc0004b2000, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:2937 +0x414
net/http.(*Server).ListenAndServe(0xc000390380, 0x1, 0xc000000001)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:2866 +0x106
github.com/TykTechnologies/tyk/gateway.InitTestMain.func1(0xc000390380)
	/home/runner/work/tyk/tyk/gateway/testutil.go:270 +0x55
created by github.com/TykTechnologies/tyk/gateway.InitTestMain
	/home/runner/work/tyk/tyk/gateway/testutil.go:269 +0x965

goroutine 35 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc00004eee0, 0xc00039cbc0)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 31 [select]:
github.com/TykTechnologies/tyk/gateway.(*HostCheckerManager).CheckActivePollerLoop(0x3acfde0, 0x2c126a0, 0xc00011e010)
	/home/runner/work/tyk/tyk/gateway/host_checker_manager.go:109 +0x23e
created by github.com/TykTechnologies/tyk/gateway.(*HostCheckerManager).Start
	/home/runner/work/tyk/tyk/gateway/host_checker_manager.go:87 +0xc5

goroutine 36 [chan send, 2 minutes]:
github.com/Jeffail/tunny.(*workerWrapper).Loop(0xc000117650)
	/home/runner/go/pkg/mod/github.com/!jeffail/tunny@v0.0.0-20171107125207-452a8e97d6a3/worker.go:61 +0x19a
created by github.com/Jeffail/tunny.(*workerWrapper).Open
	/home/runner/go/pkg/mod/github.com/!jeffail/tunny@v0.0.0-20171107125207-452a8e97d6a3/worker.go:80 +0x1b4

goroutine 37 [chan send, 5 minutes]:
github.com/Jeffail/tunny.(*workerWrapper).Loop(0xc0001176b0)
	/home/runner/go/pkg/mod/github.com/!jeffail/tunny@v0.0.0-20171107125207-452a8e97d6a3/worker.go:51 +0xcf
created by github.com/Jeffail/tunny.(*workerWrapper).Open
	/home/runner/go/pkg/mod/github.com/!jeffail/tunny@v0.0.0-20171107125207-452a8e97d6a3/worker.go:80 +0x1b4

goroutine 33 [select]:
github.com/TykTechnologies/tyk/gateway.(*RedisAnalyticsHandler).recordWorker(0x3ad3780)
	/home/runner/work/tyk/tyk/gateway/analytics.go:262 +0x3ec
created by github.com/TykTechnologies/tyk/gateway.(*RedisAnalyticsHandler).Init
	/home/runner/work/tyk/tyk/gateway/analytics.go:216 +0x5d5

goroutine 38 [select, 2 minutes]:
github.com/TykTechnologies/tyk/gateway.(*HostUptimeChecker).HostCheckLoop(0xc000186bd0, 0x2c126a0, 0xc00011e010)
	/home/runner/work/tyk/tyk/gateway/host_checker.go:107 +0x1dd
created by github.com/TykTechnologies/tyk/gateway.(*HostUptimeChecker).Start
	/home/runner/work/tyk/tyk/gateway/host_checker.go:377 +0xf4

goroutine 50 [select]:
github.com/TykTechnologies/tyk/gateway.(*RedisAnalyticsHandler).recordWorker(0x3ad3780)
	/home/runner/work/tyk/tyk/gateway/analytics.go:262 +0x3ec
created by github.com/TykTechnologies/tyk/gateway.(*RedisAnalyticsHandler).Init
	/home/runner/work/tyk/tyk/gateway/analytics.go:216 +0x5d5

goroutine 39 [select, 2 minutes]:
github.com/TykTechnologies/tyk/gateway.(*HostUptimeChecker).HostReporter(0xc000186bd0, 0x2c126a0, 0xc00011e010)
	/home/runner/work/tyk/tyk/gateway/host_checker.go:147 +0x253
created by github.com/TykTechnologies/tyk/gateway.(*HostUptimeChecker).Start
	/home/runner/work/tyk/tyk/gateway/host_checker.go:379 +0x18f

goroutine 51 [select]:
github.com/TykTechnologies/tyk/gateway.RedisPurger.PurgeLoop(0x2c52f80, 0xc0004b2340, 0x2c126a0, 0xc00011e010)
	/home/runner/work/tyk/tyk/gateway/redis_analytics_purger.go:27 +0x1e5
created by github.com/TykTechnologies/tyk/gateway.setupGlobals.func1
	/home/runner/work/tyk/tyk/gateway/server.go:212 +0xf8

goroutine 52 [select]:
github.com/TykTechnologies/tyk/gateway.flushNetworkAnalytics(0x2c126a0, 0xc00011e010)
	/home/runner/work/tyk/tyk/gateway/proxy_muxer.go:208 +0x869
created by github.com/TykTechnologies/tyk/gateway.setupGlobals
	/home/runner/work/tyk/tyk/gateway/server.go:227 +0x1dc5

goroutine 12782 [select]:
net/http.(*persistConn).writeLoop(0xc0006407e0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1716 +0xc31

goroutine 13743 [select]:
github.com/TykTechnologies/tyk/gateway.initHealthCheck.func1(0x2c12660, 0xc0006e6940)
	/home/runner/work/tyk/tyk/gateway/health_check.go:83 +0x291
created by github.com/TykTechnologies/tyk/gateway.initHealthCheck
	/home/runner/work/tyk/tyk/gateway/health_check.go:73 +0x7d

goroutine 2504 [select, 4 minutes]:
net/http.(*persistConn).writeLoop(0xc0005fa360)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1716 +0xc31

goroutine 6064 [IO wait, 3 minutes]:
internal/poll.runtime_pollWait(0x7fe1943b82f0, 0x72, 0x2be9ec0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000c98018, 0x72, 0x2be9e00, 0x39538d8, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000c98000, 0xc000820000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc000c98000, 0xc000820000, 0x1000, 0x1000, 0x9, 0x45d31c, 0x22a4620)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc0010e4020, 0xc000820000, 0x1000, 0x1000, 0xc0002f0368, 0x4876ec, 0x4a22df)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/net.go:182 +0xec
net/http.(*connReader).Read(0xc0002f0360, 0xc000820000, 0x1000, 0x1000, 0x1, 0x9, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:798 +0x263
bufio.(*Reader).Read(0xc00160afc0, 0xc000633378, 0x9, 0x9, 0x9, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:227 +0x7c7
io.(*multiReader).Read(0xc000020140, 0xc000633378, 0x9, 0x9, 0xc000633370, 0x10401, 0xc000000000)
	/opt/hostedtoolcache/go/1.15.15/x64/src/io/multi.go:26 +0xfa
golang.org/x/net/http2/h2c.(*rwConn).Read(0xc0002f08d0, 0xc000633378, 0x9, 0x9, 0x10401, 0x1040100000000, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/h2c/h2c.go:293 +0x7a
io.ReadAtLeast(0x7fe18d0e75d0, 0xc0002f08d0, 0xc000633378, 0x9, 0x9, 0x9, 0xc0006bbd00, 0x47dd17, 0xc0006bbf78)
	/opt/hostedtoolcache/go/1.15.15/x64/src/io/io.go:314 +0x9d
io.ReadFull(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/io/io.go:333
golang.org/x/net/http2.readFrameHeader(0xc000633378, 0x9, 0x9, 0x7fe18d0e75d0, 0xc0002f08d0, 0x0, 0x0, 0xc0006bbeb4, 0x2)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/frame.go:237 +0xb1
golang.org/x/net/http2.(*Framer).ReadFrame(0xc000633340, 0xc0006bbeb0, 0x2, 0x0, 0x1)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/frame.go:492 +0xff
golang.org/x/net/http2.(*serverConn).readFrames(0xc00032cd80)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/server.go:745 +0xfc
created by golang.org/x/net/http2.(*serverConn).serve
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/server.go:851 +0x865

goroutine 61 [select]:
github.com/TykTechnologies/tyk/storage.ConnectToRedis(0x2c126a0, 0xc00011e010, 0x27c5000)
	/home/runner/work/tyk/tyk/storage/redis_cluster.go:167 +0x2d6
created by github.com/TykTechnologies/tyk/gateway.InitTestMain
	/home/runner/work/tyk/tyk/gateway/testutil.go:292 +0xbeb

goroutine 62 [select]:
github.com/go-redis/redis/v8/internal/pool.(*ConnPool).reaper(0xc0000a2640, 0xdf8475800)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/internal/pool/pool.go:453 +0x196
created by github.com/go-redis/redis/v8/internal/pool.NewConnPool
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/internal/pool/pool.go:107 +0x3ce

goroutine 66 [select]:
github.com/go-redis/redis/v8/internal/pool.(*ConnPool).reaper(0xc0000a2aa0, 0xdf8475800)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/internal/pool/pool.go:453 +0x196
created by github.com/go-redis/redis/v8/internal/pool.NewConnPool
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/internal/pool/pool.go:107 +0x3ce

goroutine 70 [select]:
github.com/go-redis/redis/v8/internal/pool.(*ConnPool).reaper(0xc0000a2b40, 0xdf8475800)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/internal/pool/pool.go:453 +0x196
created by github.com/go-redis/redis/v8/internal/pool.NewConnPool
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/internal/pool/pool.go:107 +0x3ce

goroutine 74 [IO wait]:
internal/poll.runtime_pollWait(0x7fe1bd1cecd0, 0x72, 0x2be9ec0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000092a98, 0x72, 0x2be9e00, 0x39538d8, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000092a80, 0xc00022e000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc000092a80, 0xc00022e000, 0x1000, 0x1000, 0xa, 0x5, 0x420db1)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc0000100c0, 0xc00022e000, 0x1000, 0x1000, 0x4a50c6, 0xc00025e9c0, 0xc000a46120)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/net.go:182 +0xec
bufio.(*Reader).fill(0xc00025e9c0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:101 +0x1af
bufio.(*Reader).ReadSlice(0xc00025e9c0, 0xc001b2ae0a, 0x0, 0x3ad1640, 0xc001b45850, 0x47ff65, 0x7fe1bd1cecd8)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:360 +0x9b
github.com/go-redis/redis/v8/internal/proto.(*Reader).readLine(0xc00043c3a0, 0xc000092a80, 0x27ca600, 0xc0000f6aa8, 0xc001b45888, 0xc001b45860)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/internal/proto/reader.go:72 +0x71
github.com/go-redis/redis/v8/internal/proto.(*Reader).ReadLine(0xc00043c3a0, 0xc001b45860, 0x4ded85, 0x0, 0x0, 0xc001b45cf8)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/internal/proto/reader.go:58 +0x3d
github.com/go-redis/redis/v8/internal/proto.(*Reader).ReadReply(0xc00043c3a0, 0x27c6d78, 0xc001b459e0, 0x6ea445, 0xc0000100c0, 0x0)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/internal/proto/reader.go:96 +0x56
github.com/go-redis/redis/v8.(*Cmd).readReply(...)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/command.go:318
github.com/go-redis/redis/v8.(*PubSub).ReceiveTimeout.func1(0xc00043c3a0, 0x0, 0x0)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/pubsub.go:379 +0x79
github.com/go-redis/redis/v8/internal/pool.(*Conn).WithReader.func1(0x2c126a0, 0xc00011e010, 0x2c29cc0, 0x4514f18, 0x0, 0x0)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/internal/pool/conn.go:73 +0x11c
github.com/go-redis/redis/v8/internal.WithSpan(0x2c126a0, 0xc00011e010, 0x26ffc95, 0xb, 0xc001b45bb0, 0x0, 0x0)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/internal/util.go:67 +0x297
github.com/go-redis/redis/v8/internal/pool.(*Conn).WithReader(0xc0003ea500, 0x2c126a0, 0xc00011e010, 0x0, 0xc001b45c70, 0x0, 0x0)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/internal/pool/conn.go:69 +0xa9
github.com/go-redis/redis/v8.(*PubSub).ReceiveTimeout(0xc000092000, 0x2c126a0, 0xc00011e010, 0x0, 0x244f560, 0xc001886190, 0x0, 0x0)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/pubsub.go:378 +0x11f
github.com/go-redis/redis/v8.(*PubSub).Receive(...)
	/home/runner/go/pkg/mod/github.com/go-redis/redis/v8@v8.3.1/pubsub.go:394
github.com/TykTechnologies/tyk/storage.(*RedisCluster).StartPubSubHandler(0xc0002d9658, 0x271a18b, 0x19, 0x27c6808, 0x0, 0x0)
	/home/runner/work/tyk/tyk/storage/redis_cluster.go:823 +0x22f
github.com/TykTechnologies/tyk/gateway.startPubSubLoop()
	/home/runner/work/tyk/tyk/gateway/redis_signals.go:59 +0xbe
created by github.com/TykTechnologies/tyk/gateway.InitTestMain
	/home/runner/work/tyk/tyk/gateway/testutil.go:304 +0xce5

goroutine 75 [select]:
github.com/TykTechnologies/tyk/gateway.reloadLoop(0x2c126a0, 0xc00011e010, 0xc00009b3e0, 0xc000122490, 0x1, 0x1)
	/home/runner/work/tyk/tyk/gateway/server.go:772 +0x2ce
created by github.com/TykTechnologies/tyk/gateway.InitTestMain
	/home/runner/work/tyk/tyk/gateway/testutil.go:305 +0xe51

goroutine 76 [select]:
github.com/TykTechnologies/tyk/gateway.reloadQueueLoop(0x2c126a0, 0xc00011e010, 0xc000122498, 0x1, 0x1)
	/home/runner/work/tyk/tyk/gateway/server.go:817 +0x156
created by github.com/TykTechnologies/tyk/gateway.InitTestMain
	/home/runner/work/tyk/tyk/gateway/testutil.go:306 +0xf85

goroutine 77 [sleep]:
time.Sleep(0x4c4b40)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/time.go:188 +0xbf
github.com/TykTechnologies/tyk/gateway.reloadSimulation()
	/home/runner/work/tyk/tyk/gateway/testutil.go:346 +0xc5
created by github.com/TykTechnologies/tyk/gateway.InitTestMain
	/home/runner/work/tyk/tyk/gateway/testutil.go:307 +0xf9d

goroutine 12781 [select]:
net/http.(*persistConn).readLoop(0xc0006407e0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2167 +0xf3b
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 83 [chan receive]:
github.com/TykTechnologies/drl.(*Cache).startCleanupTimer.func1(0xc000124cc0, 0xc000342780)
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/drl@v0.0.0-20190905191955-cc541aa8e3e1/ttlcache.go:85 +0x3f
created by github.com/TykTechnologies/drl.(*Cache).startCleanupTimer
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/drl@v0.0.0-20190905191955-cc541aa8e3e1/ttlcache.go:82 +0x89

goroutine 84 [sleep]:
time.Sleep(0x12a05f200)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/time.go:188 +0xbf
github.com/TykTechnologies/drl.(*DRL).Init.func1(0xc00049d8b0)
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/drl@v0.0.0-20190905191955-cc541aa8e3e1/drl.go:50 +0x78
created by github.com/TykTechnologies/drl.(*DRL).Init
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/drl@v0.0.0-20190905191955-cc541aa8e3e1/drl.go:45 +0x185

goroutine 85 [sleep]:
time.Sleep(0x77359400)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/time.go:188 +0xbf
github.com/TykTechnologies/tyk/gateway.startRateLimitNotifications.func1(0x2)
	/home/runner/work/tyk/tyk/gateway/distributed_rate_limiter.go:38 +0xda
created by github.com/TykTechnologies/tyk/gateway.startRateLimitNotifications
	/home/runner/work/tyk/tyk/gateway/distributed_rate_limiter.go:29 +0x172

goroutine 494 [chan receive, 4 minutes]:
github.com/TykTechnologies/leakybucket/memorycache.(*Cache).startCleanupTimer.func1(0xc0010e1560, 0xc000baa480)
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/leakybucket@v0.0.0-20170301023702-71692c943e3c/memorycache/cache.go:69 +0x3f
created by github.com/TykTechnologies/leakybucket/memorycache.(*Cache).startCleanupTimer
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/leakybucket@v0.0.0-20170301023702-71692c943e3c/memorycache/cache.go:66 +0x89

goroutine 2521 [IO wait, 4 minutes]:
internal/poll.runtime_pollWait(0x7fe18dd0d108, 0x72, 0x2be9ec0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000a9e598, 0x72, 0x2be9e00, 0x39538d8, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000a9e580, 0xc0005c0000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc000a9e580, 0xc0005c0000, 0x1000, 0x1000, 0x6a026a, 0xc000a9e580, 0xc0005c1000)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc0006b8440, 0xc0005c0000, 0x1000, 0x1000, 0x5d, 0x1000, 0x5d)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/net.go:182 +0xec
bufio.(*Reader).fill(0xc000994d20)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:101 +0x1af
bufio.(*Reader).Peek(0xc000994d20, 0x4, 0x0, 0x0, 0x1, 0x8, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:139 +0xa5
github.com/valyala/fasthttp.(*Server).serveConn(0xc000e4c240, 0x2c24e40, 0xc0006b8440, 0x0, 0x0)
	/home/runner/go/pkg/mod/github.com/valyala/fasthttp@v1.15.1/server.go:2016 +0x29f0
github.com/valyala/fasthttp.(*workerPool).workerFunc(0xc000f0c000, 0xc000211e00)
	/home/runner/go/pkg/mod/github.com/valyala/fasthttp@v1.15.1/workerpool.go:223 +0x10a
github.com/valyala/fasthttp.(*workerPool).getCh.func1(0xc000f0c000, 0xc000211e00, 0x23a2340, 0xc000211e00)
	/home/runner/go/pkg/mod/github.com/valyala/fasthttp@v1.15.1/workerpool.go:195 +0x45
created by github.com/valyala/fasthttp.(*workerPool).getCh
	/home/runner/go/pkg/mod/github.com/valyala/fasthttp@v1.15.1/workerpool.go:194 +0x1b8

goroutine 44 [IO wait, 2 minutes]:
internal/poll.runtime_pollWait(0x7fe1bd1ceb00, 0x72, 0x72)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000ddb798, 0x72, 0x0, 0x0, 0x26f7fd1)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Accept(0xc000ddb780, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:394 +0x2fe
net.(*netFD).accept(0xc000ddb780, 0x45c62a, 0xc00038f080, 0xc000391bc0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_unix.go:172 +0x58
net.(*TCPListener).accept(0xc000e432e0, 0x482d5b, 0xa53c0908c1, 0x104f2d2d)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/tcpsock_posix.go:139 +0x50
net.(*TCPListener).Accept(0xc000e432e0, 0x4875ec, 0x4562ae, 0xc0004e4d58, 0x47d980)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/tcpsock.go:261 +0x8e
net/http.(*Server).Serve(0xc000391b20, 0x2c0a1e0, 0xc000e432e0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:2937 +0x414
github.com/TykTechnologies/tyk/gateway.TykNewSingleHostReverseProxy.func1.2(0xc000391b20, 0x2c0a1e0, 0xc000e432e0)
	/home/runner/work/tyk/tyk/gateway/reverse_proxy.go:216 +0x69
created by github.com/TykTechnologies/tyk/gateway.TykNewSingleHostReverseProxy.func1
	/home/runner/work/tyk/tyk/gateway/reverse_proxy.go:215 +0x29c

goroutine 13742 [chan receive]:
github.com/TykTechnologies/tyk/gateway.APIDefinitionLoader.compileCircuitBreakerPathSpec.func1(0xc000c42000, 0xc000e41b00, 0xc000378f18, 0x4, 0xc00099e880, 0xc0014a8640)
	/home/runner/work/tyk/tyk/gateway/api_definition.go:809 +0xa8
created by github.com/TykTechnologies/tyk/gateway.APIDefinitionLoader.compileCircuitBreakerPathSpec
	/home/runner/work/tyk/tyk/gateway/api_definition.go:807 +0x4fe

goroutine 12775 [select]:
net/http.(*persistConn).writeLoop(0xc000640360)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1716 +0xc31

goroutine 9012 [select]:
github.com/jensneuse/graphql-go-tools/pkg/subscription.(*Handler).handleKeepAlive(0xc000100460, 0x2c126a0, 0xc00011e010)
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/graphql-go-tools@v1.6.2-0.20210826094453-7375417588e2/pkg/subscription/handler.go:368 +0x15e
created by github.com/jensneuse/graphql-go-tools/pkg/subscription.(*Handler).Handle
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/graphql-go-tools@v1.6.2-0.20210826094453-7375417588e2/pkg/subscription/handler.go:138 +0x325

goroutine 6075 [IO wait, 3 minutes]:
internal/poll.runtime_pollWait(0x7fe18dd36950, 0x72, 0x2be9ec0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc001620818, 0x72, 0x2be9e00, 0x39538d8, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc001620800, 0xc000683000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc001620800, 0xc000683000, 0x1000, 0x1000, 0x4641a0, 0x0, 0xc0004f1988)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc000011da0, 0xc000683000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/net.go:182 +0xec
bufio.(*Reader).Read(0xc000b085a0, 0xc0009ca738, 0x9, 0x9, 0x0, 0xc0004f1f50, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:227 +0x7c7
io.ReadAtLeast(0x2be30a0, 0xc000b085a0, 0xc0009ca738, 0x9, 0x9, 0x9, 0x2be3401, 0xc000112030, 0xc00001c930)
	/opt/hostedtoolcache/go/1.15.15/x64/src/io/io.go:314 +0x9d
io.ReadFull(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/io/io.go:333
golang.org/x/net/http2.readFrameHeader(0xc0009ca738, 0x9, 0x9, 0x2be30a0, 0xc000b085a0, 0x0, 0xc000000000, 0x1c, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/frame.go:237 +0xb1
golang.org/x/net/http2.(*Framer).ReadFrame(0xc0009ca700, 0xc00072dd70, 0x0, 0x0, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/frame.go:492 +0xff
golang.org/x/net/http2.(*clientConnReadLoop).run(0xc0004f1fb8, 0x0, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/transport.go:1819 +0x1bd
golang.org/x/net/http2.(*ClientConn).readLoop(0xc00135dc80)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/transport.go:1741 +0xbe
created by golang.org/x/net/http2.(*Transport).newClientConn
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/transport.go:705 +0xcc7

goroutine 9102 [select]:
github.com/jensneuse/graphql-go-tools/pkg/subscription.(*Handler).handleKeepAlive(0xc0000f41e0, 0x2c126a0, 0xc00011e010)
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/graphql-go-tools@v1.6.2-0.20210826094453-7375417588e2/pkg/subscription/handler.go:368 +0x15e
created by github.com/jensneuse/graphql-go-tools/pkg/subscription.(*Handler).Handle
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/graphql-go-tools@v1.6.2-0.20210826094453-7375417588e2/pkg/subscription/handler.go:138 +0x325

goroutine 5681 [IO wait, 3 minutes]:
internal/poll.runtime_pollWait(0x7fe18d660c38, 0x72, 0x2be9ec0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc0007e8d98, 0x72, 0x2be9e00, 0x39538d8, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc0007e8d80, 0xc0008fb000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc0007e8d80, 0xc0008fb000, 0x1000, 0x1000, 0x5bf368, 0x0, 0x2484840)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc0006b9200, 0xc0008fb000, 0x1000, 0x1000, 0xc0011c4270, 0xc0006bd948, 0x4197d9)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/net.go:182 +0xec
net/http.(*persistConn).Read(0xc0015b25a0, 0xc0008fb000, 0x1000, 0x1000, 0x1, 0x0, 0xc0006bd9e0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1894 +0xe8
bufio.(*Reader).fill(0xc0010e0d20)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:101 +0x1af
bufio.(*Reader).Peek(0xc0010e0d20, 0x1, 0x0, 0x1, 0x1, 0x0, 0xc0008b5140)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:139 +0xa5
net/http.(*persistConn).readLoop(0xc0015b25a0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2047 +0x2b3
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 13729 [IO wait]:
internal/poll.runtime_pollWait(0x7fe18d660b50, 0x72, 0x2be9ec0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000ddb418, 0x72, 0x2be9e00, 0x39538d8, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000ddb400, 0xc000719000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc000ddb400, 0xc000719000, 0x1000, 0x1000, 0x17a, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc000122dc0, 0xc000719000, 0x1000, 0x1000, 0xc000ae9780, 0xc00079b948, 0x4197d9)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/net.go:182 +0xec
net/http.(*persistConn).Read(0xc0015b2b40, 0xc000719000, 0x1000, 0x1000, 0x1, 0x0, 0xc00079b9e0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1894 +0xe8
bufio.(*Reader).fill(0xc0018b36e0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:101 +0x1af
bufio.(*Reader).Peek(0xc0018b36e0, 0x1, 0x0, 0x1, 0x1, 0x0, 0xc0012be480)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:139 +0xa5
net/http.(*persistConn).readLoop(0xc0015b2b40)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2047 +0x2b3
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 1776 [chan send]:
github.com/TykTechnologies/tyk/gateway.TestGroupResetHandler.func1.1(0x244f560, 0xc000091cc0)
	/home/runner/work/tyk/tyk/gateway/api_test.go:1418 +0x291
github.com/TykTechnologies/tyk/storage.(*RedisCluster).StartPubSubHandler(0xc000a9aea0, 0x271a18b, 0x19, 0xc000b36f90, 0x0, 0x0)
	/home/runner/work/tyk/tyk/storage/redis_cluster.go:830 +0x40e
github.com/TykTechnologies/tyk/gateway.TestGroupResetHandler.func1(0xc000a9aea0, 0xc00009ac00, 0xc000e12000, 0xc00009ac60)
	/home/runner/work/tyk/tyk/gateway/api_test.go:1408 +0xa5
created by github.com/TykTechnologies/tyk/gateway.TestGroupResetHandler
	/home/runner/work/tyk/tyk/gateway/api_test.go:1407 +0x125

goroutine 2523 [sleep]:
time.Sleep(0x3b9aca00)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/time.go:188 +0xbf
github.com/valyala/fasthttp.updateServerDate.func1()
	/home/runner/go/pkg/mod/github.com/valyala/fasthttp@v1.15.1/header.go:1396 +0x38
created by github.com/valyala/fasthttp.updateServerDate
	/home/runner/go/pkg/mod/github.com/valyala/fasthttp@v1.15.1/header.go:1394 +0x48

goroutine 9089 [semacquire, 1 minutes]:
sync.runtime_Semacquire(0xc000a5a648)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/sema.go:56 +0x45
sync.(*WaitGroup).Wait(0xc000a5a640)
	/opt/hostedtoolcache/go/1.15.15/x64/src/sync/waitgroup.go:130 +0xe5
github.com/TykTechnologies/tyk/gateway.waitTimeout.func1(0xc00154d860, 0xc000a5a640)
	/home/runner/work/tyk/tyk/gateway/mw_http_signature_validation_test.go:114 +0x6d
created by github.com/TykTechnologies/tyk/gateway.waitTimeout
	/home/runner/work/tyk/tyk/gateway/mw_http_signature_validation_test.go:112 +0x8d

goroutine 3845 [select, 3 minutes]:
net/http.(*persistConn).readLoop(0xc0008eefc0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2167 +0xf3b
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 9036 [select]:
github.com/jensneuse/graphql-go-tools/pkg/subscription.(*Handler).handleKeepAlive(0xc000100c30, 0x2c126a0, 0xc00011e010)
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/graphql-go-tools@v1.6.2-0.20210826094453-7375417588e2/pkg/subscription/handler.go:368 +0x15e
created by github.com/jensneuse/graphql-go-tools/pkg/subscription.(*Handler).Handle
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/graphql-go-tools@v1.6.2-0.20210826094453-7375417588e2/pkg/subscription/handler.go:138 +0x325

goroutine 13768 [runnable]:
github.com/jensneuse/graphql-go-tools/pkg/lexer.(*Lexer).Read(0xc0006b8408, 0x20, 0xc0700000bde, 0x4000000040, 0x3000000005)
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/graphql-go-tools@v1.6.2-0.20210826094453-7375417588e2/pkg/lexer/lexer.go:21 +0x570
github.com/jensneuse/graphql-go-tools/pkg/astparser.(*Parser).tokenize(0xc0018ebc18)
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/graphql-go-tools@v1.6.2-0.20210826094453-7375417588e2/pkg/astparser/parser.go:130 +0xad
github.com/jensneuse/graphql-go-tools/pkg/astparser.(*Parser).Parse(0xc0018ebc18, 0xc00042af00, 0xc000af7530)
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/graphql-go-tools@v1.6.2-0.20210826094453-7375417588e2/pkg/astparser/parser.go:121 +0xd7
github.com/jensneuse/graphql-go-tools/pkg/asttransform.MergeDefinitionWithBaseSchema(0xc00042af00, 0x4b8, 0xe0)
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/graphql-go-tools@v1.6.2-0.20210826094453-7375417588e2/pkg/asttransform/baseschema.go:15 +0x2dc
github.com/jensneuse/graphql-go-tools/pkg/engine/plan.(*LocalTypeFieldExtractor).baseSchema(0xc0018eebf8, 0xc00086da9b)
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/graphql-go-tools@v1.6.2-0.20210826094453-7375417588e2/pkg/engine/plan/local_type_field_extractor.go:172 +0x41a
github.com/jensneuse/graphql-go-tools/pkg/engine/plan.(*LocalTypeFieldExtractor).addRootNodes(0xc0018eebf8, 0x1a, 0x1, 0xc0018ee5d0)
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/graphql-go-tools@v1.6.2-0.20210826094453-7375417588e2/pkg/engine/plan/local_type_field_extractor.go:128 +0xcf
github.com/jensneuse/graphql-go-tools/pkg/engine/plan.(*LocalTypeFieldExtractor).getAllRootNodes(0xc0018eebf8, 0xc0006b8198, 0xc000af6bd0, 0xc0013da000)
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/graphql-go-tools@v1.6.2-0.20210826094453-7375417588e2/pkg/engine/plan/local_type_field_extractor.go:43 +0x14b
github.com/jensneuse/graphql-go-tools/pkg/engine/plan.(*LocalTypeFieldExtractor).GetAllNodes(0xc0018eebf8, 0x4b8, 0x120, 0xc00086d9e0, 0x105, 0x120, 0x105)
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/graphql-go-tools@v1.6.2-0.20210826094453-7375417588e2/pkg/engine/plan/local_type_field_extractor.go:32 +0x3d
github.com/jensneuse/graphql-go-tools/pkg/graphql/federation.(*EngineConfigV2Factory).engineConfigDataSources(0xc0018f0288, 0xc000a14a00, 0xc000e5cdc0, 0x4, 0x6, 0x0)
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/graphql-go-tools@v1.6.2-0.20210826094453-7375417588e2/pkg/graphql/federation/federation_config.go:148 +0x499
github.com/jensneuse/graphql-go-tools/pkg/graphql/federation.(*EngineConfigV2Factory).EngineV2Configuration(0xc0018f0288, 0xc000a14a00, 0x0, 0x4514f18, 0x0, 0x0, 0x4514f18, 0x0, 0x0, 0x0, ...)
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/graphql-go-tools@v1.6.2-0.20210826094453-7375417588e2/pkg/graphql/federation/federation_config.go:70 +0x308
github.com/TykTechnologies/tyk/apidef/adapter.(*GraphQLConfigAdapter).createV2ConfigForSupergraphExecutionMode(0xc0018f0840, 0x0, 0x0, 0x0)
	/home/runner/work/tyk/tyk/apidef/adapter/graphql_config_adapter.go:70 +0x1ca
github.com/TykTechnologies/tyk/apidef/adapter.(*GraphQLConfigAdapter).EngineConfigV2(0xc0018f0840, 0xc000a5a6d0, 0xa, 0x3992390)
	/home/runner/work/tyk/tyk/apidef/adapter/graphql_config_adapter.go:56 +0x191
github.com/TykTechnologies/tyk/gateway.(*GraphQLMiddleware).initGraphQLEngineV2(0xc0000fdde0, 0xc000c254c0)
	/home/runner/work/tyk/tyk/gateway/mw_graphql.go:166 +0x267
github.com/TykTechnologies/tyk/gateway.(*GraphQLMiddleware).Init(0xc0000fdde0)
	/home/runner/work/tyk/tyk/gateway/mw_graphql.go:79 +0x825
github.com/TykTechnologies/tyk/gateway.createMiddleware(0x2c26280, 0xc0000fdde0, 0xc000000db6)
	/home/runner/work/tyk/tyk/gateway/middleware.go:94 +0xd1
github.com/TykTechnologies/tyk/gateway.mwAppendEnabled(0xc0018f1f98, 0x2c26280, 0xc0000fdde0, 0x0)
	/home/runner/work/tyk/tyk/gateway/middleware.go:184 +0xa5
github.com/TykTechnologies/tyk/gateway.processSpec(0xc0012d8000, 0xc001b7acf0, 0xc0018f90f0, 0xc00019f080, 0xc00049ff80, 0xc000123e50)
	/home/runner/work/tyk/tyk/gateway/api_loader.go:424 +0x2a31
github.com/TykTechnologies/tyk/gateway.loadHTTPService(0xc0012d8000, 0xc001b7acf0, 0xc0018f90f0, 0xc0009cd8c0, 0xc00108f5b8, 0x0)
	/home/runner/work/tyk/tyk/gateway/api_loader.go:682 +0x638
github.com/TykTechnologies/tyk/gateway.loadApps.func2(0xc0018f9038, 0xc001b7ac90, 0x300, 0xc001b7acc0, 0xc001b7acf0, 0xc0018f90f0, 0xc0009cd8c0)
	/home/runner/work/tyk/tyk/gateway/api_loader.go:858 +0x425
github.com/TykTechnologies/tyk/gateway.loadApps(0xc001d3ba00, 0x3, 0x3)
	/home/runner/work/tyk/tyk/gateway/api_loader.go:862 +0x66b
github.com/TykTechnologies/tyk/gateway.loadGlobalApps()
	/home/runner/work/tyk/tyk/gateway/api_loader.go:624 +0x12c
github.com/TykTechnologies/tyk/gateway.DoReload()
	/home/runner/work/tyk/tyk/gateway/server.go:752 +0x2f2
github.com/TykTechnologies/tyk/gateway.LoadAPI(0xc001901898, 0x3, 0x3, 0x0, 0x0, 0x0)
	/home/runner/work/tyk/tyk/gateway/testutil.go:1380 +0x59a
github.com/TykTechnologies/tyk/gateway.TestGraphQL_InternalDataSource.func5(0xc000aa4900)
	/home/runner/work/tyk/tyk/gateway/reverse_proxy_test.go:805 +0x1ab
testing.tRunner(0xc000aa4900, 0xc001083be0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/testing/testing.go:1123 +0x203
created by testing.(*T).Run
	/opt/hostedtoolcache/go/1.15.15/x64/src/testing/testing.go:1168 +0x5bc

goroutine 9155 [semacquire, 1 minutes]:
sync.runtime_Semacquire(0xc000b66118)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/sema.go:56 +0x45
sync.(*WaitGroup).Wait(0xc000b66110)
	/opt/hostedtoolcache/go/1.15.15/x64/src/sync/waitgroup.go:130 +0xe5
github.com/TykTechnologies/tyk/gateway.waitTimeout.func1(0xc000efa600, 0xc000b66110)
	/home/runner/work/tyk/tyk/gateway/mw_http_signature_validation_test.go:114 +0x6d
created by github.com/TykTechnologies/tyk/gateway.waitTimeout
	/home/runner/work/tyk/tyk/gateway/mw_http_signature_validation_test.go:112 +0x8d

goroutine 9127 [semacquire, 1 minutes]:
sync.runtime_Semacquire(0xc0003a0528)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/sema.go:56 +0x45
sync.(*WaitGroup).Wait(0xc0003a0520)
	/opt/hostedtoolcache/go/1.15.15/x64/src/sync/waitgroup.go:130 +0xe5
github.com/TykTechnologies/tyk/gateway.waitTimeout.func1(0xc0008ab1a0, 0xc0003a0520)
	/home/runner/work/tyk/tyk/gateway/mw_http_signature_validation_test.go:114 +0x6d
created by github.com/TykTechnologies/tyk/gateway.waitTimeout
	/home/runner/work/tyk/tyk/gateway/mw_http_signature_validation_test.go:112 +0x8d

goroutine 12837 [select]:
net/http.(*persistConn).writeLoop(0xc001966ea0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1716 +0xc31

goroutine 13725 [chan receive]:
github.com/paulbellamy/ratecounter.(*RateCounter).run.func1(0xc00039d040)
	/home/runner/go/pkg/mod/github.com/paulbellamy/ratecounter@v0.2.0/ratecounter.go:51 +0xe9
created by github.com/paulbellamy/ratecounter.(*RateCounter).run
	/home/runner/go/pkg/mod/github.com/paulbellamy/ratecounter@v0.2.0/ratecounter.go:48 +0x7b

goroutine 12820 [select]:
net/http.(*persistConn).readLoop(0xc00040a900)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2167 +0xf3b
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 6080 [IO wait, 3 minutes]:
internal/poll.runtime_pollWait(0x7fe18dd0d930, 0x72, 0x2be9ec0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc001620998, 0x72, 0x2be9e00, 0x39538d8, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc001620980, 0xc000589000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc001620980, 0xc000589000, 0x1000, 0x1000, 0x4641a0, 0x0, 0xc0004f3988)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc000011db8, 0xc000589000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/net.go:182 +0xec
bufio.(*Reader).Read(0xc000b086c0, 0xc0009caab8, 0x9, 0x9, 0x0, 0xc0004f3f50, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:227 +0x7c7
io.ReadAtLeast(0x2be30a0, 0xc000b086c0, 0xc0009caab8, 0x9, 0x9, 0x9, 0x2be3401, 0xc000112030, 0xc00001c880)
	/opt/hostedtoolcache/go/1.15.15/x64/src/io/io.go:314 +0x9d
io.ReadFull(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/io/io.go:333
golang.org/x/net/http2.readFrameHeader(0xc0009caab8, 0x9, 0x9, 0x2be30a0, 0xc000b086c0, 0x0, 0xc000000000, 0x1c, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/frame.go:237 +0xb1
golang.org/x/net/http2.(*Framer).ReadFrame(0xc0009caa80, 0xc00072daa0, 0x0, 0x0, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/frame.go:492 +0xff
golang.org/x/net/http2.(*clientConnReadLoop).run(0xc0004f3fb8, 0x0, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/transport.go:1819 +0x1bd
golang.org/x/net/http2.(*ClientConn).readLoop(0xc0010c3980)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/transport.go:1741 +0xbe
created by golang.org/x/net/http2.(*Transport).newClientConn
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/transport.go:705 +0xcc7

goroutine 10220 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc000384420, 0xc000dec340)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 2522 [IO wait, 4 minutes]:
internal/poll.runtime_pollWait(0x7fe18dd0cc80, 0x72, 0x2be9ec0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000a9e618, 0x72, 0x2be9e00, 0x39538d8, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000a9e600, 0xc00163e000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc000a9e600, 0xc00163e000, 0x1000, 0x1000, 0x6a026a, 0xc000a9e600, 0xc00163f000)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc0006b8448, 0xc00163e000, 0x1000, 0x1000, 0x5d, 0x1000, 0x5d)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/net.go:182 +0xec
bufio.(*Reader).fill(0xc000a9aa80)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:101 +0x1af
bufio.(*Reader).Peek(0xc000a9aa80, 0x4, 0x0, 0x0, 0x1, 0x8, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:139 +0xa5
github.com/valyala/fasthttp.(*Server).serveConn(0xc000e4c240, 0x2c24e40, 0xc0006b8448, 0x0, 0x0)
	/home/runner/go/pkg/mod/github.com/valyala/fasthttp@v1.15.1/server.go:2016 +0x29f0
github.com/valyala/fasthttp.(*workerPool).workerFunc(0xc000f0c000, 0xc000211e20)
	/home/runner/go/pkg/mod/github.com/valyala/fasthttp@v1.15.1/workerpool.go:223 +0x10a
github.com/valyala/fasthttp.(*workerPool).getCh.func1(0xc000f0c000, 0xc000211e20, 0x23a2340, 0xc000211e20)
	/home/runner/go/pkg/mod/github.com/valyala/fasthttp@v1.15.1/workerpool.go:195 +0x45
created by github.com/valyala/fasthttp.(*workerPool).getCh
	/home/runner/go/pkg/mod/github.com/valyala/fasthttp@v1.15.1/workerpool.go:194 +0x1b8

goroutine 2503 [IO wait, 4 minutes]:
internal/poll.runtime_pollWait(0x7fe18dd0cd68, 0x72, 0x2be9ec0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc001620218, 0x72, 0x2be9e00, 0x39538d8, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc001620200, 0xc00163c000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc001620200, 0xc00163c000, 0x1000, 0x1000, 0x5d, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc0010e4120, 0xc00163c000, 0x1000, 0x1000, 0xc000de08b0, 0xc0004ed948, 0x4197d9)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/net.go:182 +0xec
net/http.(*persistConn).Read(0xc0005fa360, 0xc00163c000, 0x1000, 0x1000, 0x1, 0x0, 0x2)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1894 +0xe8
bufio.(*Reader).fill(0xc000a9a9c0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:101 +0x1af
bufio.(*Reader).Peek(0xc000a9a9c0, 0x1, 0x2, 0x0, 0x0, 0x0, 0xc0007605a0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:139 +0xa5
net/http.(*persistConn).readLoop(0xc0005fa360)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2047 +0x2b3
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 12867 [select]:
net/http.(*persistConn).writeLoop(0xc001966900)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1716 +0xc31

goroutine 12736 [select]:
net/http.(*persistConn).writeLoop(0xc0005fb7a0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1716 +0xc31

goroutine 13610 [select]:
github.com/miekg/dns.(*Server).worker(0xc00015fe60, 0xc0017f5380)
	/home/runner/go/pkg/mod/github.com/miekg/dns@v1.0.14/server.go:262 +0x289
created by github.com/miekg/dns.(*Server).spawnWorker
	/home/runner/go/pkg/mod/github.com/miekg/dns@v1.0.14/server.go:283 +0xb1

goroutine 5682 [select, 3 minutes]:
net/http.(*persistConn).writeLoop(0xc0015b25a0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1716 +0xc31

goroutine 2519 [IO wait, 4 minutes]:
internal/poll.runtime_pollWait(0x7fe18dd0d3c0, 0x72, 0x2be9ec0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000a9e518, 0x72, 0x2be9e00, 0x39538d8, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000a9e500, 0xc0005be000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc000a9e500, 0xc0005be000, 0x1000, 0x1000, 0x5d, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc0006b8430, 0xc0005be000, 0x1000, 0x1000, 0xc001238b40, 0xc0004e7948, 0x4197d9)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/net.go:182 +0xec
net/http.(*persistConn).Read(0xc000e5aea0, 0xc0005be000, 0x1000, 0x1000, 0x1, 0x0, 0x2)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1894 +0xe8
bufio.(*Reader).fill(0xc000994ba0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:101 +0x1af
bufio.(*Reader).Peek(0xc000994ba0, 0x1, 0x2, 0x0, 0x0, 0x0, 0xc00009bb60)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:139 +0xa5
net/http.(*persistConn).readLoop(0xc000e5aea0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2047 +0x2b3
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 12774 [select]:
net/http.(*persistConn).readLoop(0xc000640360)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2167 +0xf3b
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 12866 [select]:
net/http.(*persistConn).readLoop(0xc001966900)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2167 +0xf3b
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 6254 [IO wait, 3 minutes]:
internal/poll.runtime_pollWait(0x7fe1bd1ce848, 0x72, 0x2be9ec0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000c86f18, 0x72, 0x2be9e00, 0x39538d8, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000c86f00, 0xc000676000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc000c86f00, 0xc000676000, 0x1000, 0x1000, 0xf, 0x45d31c, 0x22a4620)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc0010e4f28, 0xc000676000, 0x1000, 0x1000, 0xc000f5e668, 0x4876ec, 0x4a22df)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/net.go:182 +0xec
net/http.(*connReader).Read(0xc000f5e660, 0xc000676000, 0x1000, 0x1000, 0x1, 0x9, 0xc000292ae8)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:798 +0x263
bufio.(*Reader).Read(0xc0011348a0, 0xc0009cb6f8, 0x9, 0x9, 0x9, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:227 +0x7c7
io.(*multiReader).Read(0xc0000173e0, 0xc0009cb6f8, 0x9, 0x9, 0xc0009cb6f0, 0x10401, 0xc000000000)
	/opt/hostedtoolcache/go/1.15.15/x64/src/io/multi.go:26 +0xfa
golang.org/x/net/http2/h2c.(*rwConn).Read(0xc000f5e780, 0xc0009cb6f8, 0x9, 0x9, 0x10401, 0x1040100000000, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/h2c/h2c.go:293 +0x7a
io.ReadAtLeast(0x7fe18d0e75d0, 0xc000f5e780, 0xc0009cb6f8, 0x9, 0x9, 0x9, 0xc0004dfd00, 0x47dd17, 0xc0004dff78)
	/opt/hostedtoolcache/go/1.15.15/x64/src/io/io.go:314 +0x9d
io.ReadFull(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/io/io.go:333
golang.org/x/net/http2.readFrameHeader(0xc0009cb6f8, 0x9, 0x9, 0x7fe18d0e75d0, 0xc000f5e780, 0x0, 0x0, 0xc0004dfeb4, 0x2)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/frame.go:237 +0xb1
golang.org/x/net/http2.(*Framer).ReadFrame(0xc0009cb6c0, 0xc0004dfeb0, 0x2, 0x0, 0x1)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/frame.go:492 +0xff
golang.org/x/net/http2.(*serverConn).readFrames(0xc00135d680)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/server.go:745 +0xfc
created by golang.org/x/net/http2.(*serverConn).serve
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/server.go:851 +0x865

goroutine 2520 [select, 4 minutes]:
net/http.(*persistConn).writeLoop(0xc000e5aea0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1716 +0xc31

goroutine 13741 [chan receive]:
github.com/TykTechnologies/circuitbreaker.(*Breaker).Subscribe.func1(0xc0012be060, 0xc000c42000)
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/circuitbreaker@v2.2.2+incompatible/circuitbreaker.go:202 +0x47
created by github.com/TykTechnologies/circuitbreaker.(*Breaker).Subscribe
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/circuitbreaker@v2.2.2+incompatible/circuitbreaker.go:201 +0x9f

goroutine 12706 [select]:
net/http.(*persistConn).writeLoop(0xc001070ea0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1716 +0xc31

goroutine 5665 [IO wait, 3 minutes]:
internal/poll.runtime_pollWait(0x7fe18d661378, 0x72, 0x2be9ec0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000196298, 0x72, 0x2be9e00, 0x39538d8, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000196280, 0xc00134c000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc000196280, 0xc00134c000, 0x1000, 0x1000, 0x423e9a, 0x45d31c, 0x22a4620)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc0010e4018, 0xc00134c000, 0x1000, 0x1000, 0xc000d1aea8, 0x4876ec, 0x4a22df)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/net.go:182 +0xec
net/http.(*connReader).Read(0xc000d1aea0, 0xc00134c000, 0x1000, 0x1000, 0x1, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:798 +0x263
bufio.(*Reader).fill(0xc000cfa720)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:101 +0x1af
bufio.(*Reader).ReadSlice(0xc000cfa720, 0xc0008bc70a, 0xc0008bc700, 0x80, 0xc0008bc700, 0x45d31c, 0xc0006bf608)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:360 +0x9b
bufio.(*Reader).ReadLine(0xc000cfa720, 0x7fe1bd7c0108, 0xc0008bd600, 0xc0008bd600, 0x1, 0x3ad1640, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:389 +0x45
net/textproto.(*Reader).readLineSlice(0xc00062bb00, 0xc0008bd600, 0xc000196280, 0x8, 0x0, 0x449e01)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/textproto/reader.go:58 +0xa5
net/textproto.(*Reader).ReadLine(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/textproto/reader.go:39
net/http.readRequest(0xc000cfa720, 0x0, 0xc0008bd600, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/request.go:1012 +0xa8
net/http.(*conn).readRequest(0xc00103c0a0, 0x2c12660, 0xc0008d8200, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:984 +0x345
net/http.(*conn).serve(0xc00103c0a0, 0x2c12660, 0xc0008d8200)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:1851 +0x4ef
created by net/http.(*Server).Serve
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:2969 +0x5d4

goroutine 3846 [select, 3 minutes]:
net/http.(*persistConn).writeLoop(0xc0008eefc0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1716 +0xc31

goroutine 9162 [semacquire, 1 minutes]:
sync.runtime_Semacquire(0xc000f147b8)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/sema.go:56 +0x45
sync.(*WaitGroup).Wait(0xc000f147b0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/sync/waitgroup.go:130 +0xe5
github.com/TykTechnologies/tyk/gateway.waitTimeout.func1(0xc000efad20, 0xc000f147b0)
	/home/runner/work/tyk/tyk/gateway/mw_http_signature_validation_test.go:114 +0x6d
created by github.com/TykTechnologies/tyk/gateway.waitTimeout
	/home/runner/work/tyk/tyk/gateway/mw_http_signature_validation_test.go:112 +0x8d

goroutine 6087 [IO wait, 3 minutes]:
internal/poll.runtime_pollWait(0x7fe18d660fd8, 0x72, 0x2be9ec0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000c98318, 0x72, 0x2be9e00, 0x39538d8, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000c98300, 0xc000999000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc000c98300, 0xc000999000, 0x1000, 0x1000, 0xa, 0x45d31c, 0x22a4620)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc0010e40e8, 0xc000999000, 0x1000, 0x1000, 0xc0001da638, 0x4876ec, 0x4a22df)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/net.go:182 +0xec
net/http.(*connReader).Read(0xc0001da630, 0xc000999000, 0x1000, 0x1000, 0x1, 0x9, 0xc0003647c0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:798 +0x263
bufio.(*Reader).Read(0xc000124720, 0xc000633b58, 0x9, 0x9, 0x9, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:227 +0x7c7
io.(*multiReader).Read(0xc0000202c0, 0xc000633b58, 0x9, 0x9, 0xc000633b50, 0x10401, 0xc000000000)
	/opt/hostedtoolcache/go/1.15.15/x64/src/io/multi.go:26 +0xfa
golang.org/x/net/http2/h2c.(*rwConn).Read(0xc0001da990, 0xc000633b58, 0x9, 0x9, 0x10401, 0x1040100000000, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/h2c/h2c.go:293 +0x7a
io.ReadAtLeast(0x7fe18d0e75d0, 0xc0001da990, 0xc000633b58, 0x9, 0x9, 0x9, 0xc00006dd00, 0x47dd17, 0xc00006df78)
	/opt/hostedtoolcache/go/1.15.15/x64/src/io/io.go:314 +0x9d
io.ReadFull(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/io/io.go:333
golang.org/x/net/http2.readFrameHeader(0xc000633b58, 0x9, 0x9, 0x7fe18d0e75d0, 0xc0001da990, 0x0, 0x0, 0xc00006deb4, 0x2)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/frame.go:237 +0xb1
golang.org/x/net/http2.(*Framer).ReadFrame(0xc000633b20, 0xc00006deb0, 0x2, 0x0, 0x1)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/frame.go:492 +0xff
golang.org/x/net/http2.(*serverConn).readFrames(0xc00032cf00)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/server.go:745 +0xfc
created by golang.org/x/net/http2.(*serverConn).serve
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/server.go:851 +0x865

goroutine 12675 [select]:
net/http.(*persistConn).writeLoop(0xc000a3b200)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1716 +0xc31

goroutine 9017 [select]:
github.com/jensneuse/graphql-go-tools/pkg/subscription.(*Handler).handleKeepAlive(0xc0000f45f0, 0x2c126a0, 0xc00011e010)
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/graphql-go-tools@v1.6.2-0.20210826094453-7375417588e2/pkg/subscription/handler.go:368 +0x15e
created by github.com/jensneuse/graphql-go-tools/pkg/subscription.(*Handler).Handle
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/graphql-go-tools@v1.6.2-0.20210826094453-7375417588e2/pkg/subscription/handler.go:138 +0x325

goroutine 12821 [select]:
net/http.(*persistConn).writeLoop(0xc00040a900)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1716 +0xc31

goroutine 3995 [select]:
github.com/TykTechnologies/tyk/gateway.initHealthCheck.func1(0x2c12660, 0xc00063a440)
	/home/runner/work/tyk/tyk/gateway/health_check.go:83 +0x291
created by github.com/TykTechnologies/tyk/gateway.initHealthCheck
	/home/runner/work/tyk/tyk/gateway/health_check.go:73 +0x7d

goroutine 12797 [select]:
net/http.(*persistConn).writeLoop(0xc000212120)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1716 +0xc31

goroutine 12735 [select]:
net/http.(*persistConn).readLoop(0xc0005fb7a0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2167 +0xf3b
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 9132 [semacquire, 1 minutes]:
sync.runtime_Semacquire(0xc0000f96a8)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/sema.go:56 +0x45
sync.(*WaitGroup).Wait(0xc0000f96a0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/sync/waitgroup.go:130 +0xe5
github.com/TykTechnologies/tyk/gateway.waitTimeout.func1(0xc0008ab980, 0xc0000f96a0)
	/home/runner/work/tyk/tyk/gateway/mw_http_signature_validation_test.go:114 +0x6d
created by github.com/TykTechnologies/tyk/gateway.waitTimeout
	/home/runner/work/tyk/tyk/gateway/mw_http_signature_validation_test.go:112 +0x8d

goroutine 13746 [select]:
net/http.(*persistConn).writeLoop(0xc0015b2b40)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1716 +0xc31

goroutine 6083 [select, 3 minutes]:
golang.org/x/net/http2.(*serverConn).serve(0xc00032cf00)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/server.go:859 +0xc0c
golang.org/x/net/http2.(*Server).ServeConn(0xc00039d700, 0x2c24ae0, 0xc0001da990, 0xc000775a20)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/server.go:472 +0xdc5
golang.org/x/net/http2/h2c.h2cHandler.ServeHTTP(0x2be99a0, 0xc000bfb230, 0xc00039d700, 0x2c0a4a0, 0xc000633880, 0xc00009f200)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/h2c/h2c.go:87 +0x309
net/http.serverHandler.ServeHTTP(0xc0009ca460, 0x2c0a4a0, 0xc000633880, 0xc00009f200)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:2843 +0xcb
net/http.(*conn).serve(0xc001180460, 0x2c12660, 0xc001302340)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:1925 +0x84d
created by net/http.(*Server).Serve
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:2969 +0x5d4

goroutine 6234 [IO wait, 3 minutes]:
internal/poll.runtime_pollWait(0x7fe18d661290, 0x72, 0x2be9ec0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc0008b0418, 0x72, 0x2be9e00, 0x39538d8, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc0008b0400, 0xc000623000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc0008b0400, 0xc000623000, 0x1000, 0x1000, 0x4641a0, 0x0, 0xc0006c1988)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc0000100c8, 0xc000623000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/net.go:182 +0xec
bufio.(*Reader).Read(0xc000124900, 0xc000633ed8, 0x9, 0x9, 0x0, 0xc0006c1f50, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:227 +0x7c7
io.ReadAtLeast(0x2be30a0, 0xc000124900, 0xc000633ed8, 0x9, 0x9, 0x9, 0x2be3401, 0xc000112030, 0xc00098b8f0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/io/io.go:314 +0x9d
io.ReadFull(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/io/io.go:333
golang.org/x/net/http2.readFrameHeader(0xc000633ed8, 0x9, 0x9, 0x2be30a0, 0xc000124900, 0x0, 0xc000000000, 0x1c, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/frame.go:237 +0xb1
golang.org/x/net/http2.(*Framer).ReadFrame(0xc000633ea0, 0xc000f5ed50, 0x0, 0x0, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/frame.go:492 +0xff
golang.org/x/net/http2.(*clientConnReadLoop).run(0xc0006c1fb8, 0x0, 0x0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/transport.go:1819 +0x1bd
golang.org/x/net/http2.(*ClientConn).readLoop(0xc000aeb080)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/transport.go:1741 +0xbe
created by golang.org/x/net/http2.(*Transport).newClientConn
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/transport.go:705 +0xcc7

goroutine 12796 [select]:
net/http.(*persistConn).readLoop(0xc000212120)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2167 +0xf3b
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 13737 [chan receive]:
testing.(*T).Run(0xc000aa5080, 0x2713b49, 0x16, 0xc001083be0, 0x1)
	/opt/hostedtoolcache/go/1.15.15/x64/src/testing/testing.go:1169 +0x5f4
github.com/TykTechnologies/tyk/gateway.TestGraphQL_InternalDataSource(0xc000aa5080)
	/home/runner/work/tyk/tyk/gateway/reverse_proxy_test.go:778 +0x37d
testing.tRunner(0xc000aa5080, 0x27c5738)
	/opt/hostedtoolcache/go/1.15.15/x64/src/testing/testing.go:1123 +0x203
created by testing.(*T).Run
	/opt/hostedtoolcache/go/1.15.15/x64/src/testing/testing.go:1168 +0x5bc

goroutine 6060 [select, 3 minutes]:
golang.org/x/net/http2.(*serverConn).serve(0xc00032cd80)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/server.go:859 +0xc0c
golang.org/x/net/http2.(*Server).ServeConn(0xc0006e7f80, 0x2c24ae0, 0xc0002f08d0, 0xc0007759f0)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/server.go:472 +0xdc5
golang.org/x/net/http2/h2c.h2cHandler.ServeHTTP(0x2be3800, 0xc000011d50, 0xc0006e7f80, 0x2c0a4a0, 0xc000632000, 0xc00009ea00)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/h2c/h2c.go:87 +0x309
github.com/TykTechnologies/tyk/gateway.(*h2cWrapper).ServeHTTP(0xc001231400, 0x2c0a4a0, 0xc000632000, 0xc00009ea00)
	/home/runner/work/tyk/tyk/gateway/proxy_muxer.go:40 +0x90
net/http.serverHandler.ServeHTTP(0xc0009ca620, 0x2c0a4a0, 0xc000632000, 0xc00009ea00)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:2843 +0xcb
net/http.(*conn).serve(0xc000450500, 0x2c12660, 0xc001302040)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:1925 +0x84d
created by net/http.(*Server).Serve
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:2969 +0x5d4

goroutine 12674 [select]:
net/http.(*persistConn).readLoop(0xc000a3b200)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2167 +0xf3b
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 13611 [select]:
github.com/miekg/dns.(*Server).worker(0xc00015fe60, 0xc0017f5480)
	/home/runner/go/pkg/mod/github.com/miekg/dns@v1.0.14/server.go:262 +0x289
created by github.com/miekg/dns.(*Server).spawnWorker
	/home/runner/go/pkg/mod/github.com/miekg/dns@v1.0.14/server.go:283 +0xb1

goroutine 12689 [select]:
net/http.(*persistConn).readLoop(0xc001070ea0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2167 +0xf3b
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 6250 [select, 3 minutes]:
golang.org/x/net/http2.(*serverConn).serve(0xc00135d680)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/server.go:859 +0xc0c
golang.org/x/net/http2.(*Server).ServeConn(0xc00036e280, 0x2c24ae0, 0xc000f5e780, 0xc001641a20)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/server.go:472 +0xdc5
golang.org/x/net/http2/h2c.h2cHandler.ServeHTTP(0x2be99a0, 0xc0011580c0, 0xc00036e280, 0x2c0a4a0, 0xc0009cb260, 0xc00009fd00)
	/home/runner/go/pkg/mod/golang.org/x/net@v0.0.0-20210226172049-e18ecbb05110/http2/h2c/h2c.go:87 +0x309
net/http.serverHandler.ServeHTTP(0xc0009ca9a0, 0x2c0a4a0, 0xc0009cb260, 0xc00009fd00)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:2843 +0xcb
net/http.(*conn).serve(0xc0013b8280, 0x2c12660, 0xc000877940)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:1925 +0x84d
created by net/http.(*Server).Serve
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:2969 +0x5d4

goroutine 3823 [select, 3 minutes]:
net/http.(*persistConn).readLoop(0xc0005fb440)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2167 +0xf3b
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 12836 [select]:
net/http.(*persistConn).readLoop(0xc001966ea0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2167 +0xf3b
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1715 +0xc0c

goroutine 13738 [IO wait]:
internal/poll.runtime_pollWait(0x7fe18dd0d2d8, 0x72, 0x72)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc0008b1018, 0x72, 0x0, 0x0, 0x26f7fd1)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Accept(0xc0008b1000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:394 +0x2fe
net.(*netFD).accept(0xc0008b1000, 0xc00006ed50, 0x420db1, 0x22abfe0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_unix.go:172 +0x58
net.(*TCPListener).accept(0xc00093af80, 0xc0015e7590, 0xc0015e7590, 0xc0009ca260)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/tcpsock_posix.go:139 +0x50
net.(*TCPListener).Accept(0xc00093af80, 0xc0015e7590, 0xc00006edc0, 0x5bee10, 0xc0015e75b0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/tcpsock.go:261 +0x8e
net/http.(*Server).Serve(0xc0009ca1c0, 0x2c0a1e0, 0xc00093af80, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:2937 +0x414
created by github.com/TykTechnologies/tyk/gateway.(*proxyMux).serve
	/home/runner/work/tyk/tyk/gateway/proxy_muxer.go:422 +0xad4

goroutine 5673 [IO wait, 3 minutes]:
internal/poll.runtime_pollWait(0x7fe18dd0d760, 0x72, 0x72)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000c56b98, 0x72, 0x0, 0x0, 0x26f7fd1)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Accept(0xc000c56b80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:394 +0x2fe
net.(*netFD).accept(0xc000c56b80, 0x45c600, 0xc000aebb00, 0x8)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_unix.go:172 +0x58
net.(*TCPListener).accept(0xc000d120e0, 0xc00025a000, 0x0, 0x1836649d)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/tcpsock_posix.go:139 +0x50
net.(*TCPListener).Accept(0xc000d120e0, 0xc0004e5d50, 0x4562ae, 0xc0004e5d20, 0x47d980)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/tcpsock.go:261 +0x8e
net/http.(*Server).Serve(0xc0009ca000, 0x2c0a1e0, 0xc000d120e0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:2937 +0x414
net/http/httptest.(*Server).goServe.func1(0xc00025a000)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/httptest/server.go:308 +0xd9
created by net/http/httptest.(*Server).goServe
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/httptest/server.go:306 +0x6a

goroutine 3824 [select, 3 minutes]:
net/http.(*persistConn).writeLoop(0xc0005fb440)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:2346 +0x1d4
created by net/http.(*Transport).dialConn
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/transport.go:1716 +0xc31

goroutine 9076 [select]:
github.com/jensneuse/graphql-go-tools/pkg/subscription.(*Handler).handleKeepAlive(0xc00102be50, 0x2c126a0, 0xc00011e010)
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/graphql-go-tools@v1.6.2-0.20210826094453-7375417588e2/pkg/subscription/handler.go:368 +0x15e
created by github.com/jensneuse/graphql-go-tools/pkg/subscription.(*Handler).Handle
	/home/runner/go/pkg/mod/github.com/!tyk!technologies/graphql-go-tools@v1.6.2-0.20210826094453-7375417588e2/pkg/subscription/handler.go:138 +0x325

goroutine 9143 [semacquire, 1 minutes]:
sync.runtime_Semacquire(0xc00031bad8)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/sema.go:56 +0x45
sync.(*WaitGroup).Wait(0xc00031bad0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/sync/waitgroup.go:130 +0xe5
github.com/TykTechnologies/tyk/gateway.waitTimeout.func1(0xc000dc6ae0, 0xc00031bad0)
	/home/runner/work/tyk/tyk/gateway/mw_http_signature_validation_test.go:114 +0x6d
created by github.com/TykTechnologies/tyk/gateway.waitTimeout
	/home/runner/work/tyk/tyk/gateway/mw_http_signature_validation_test.go:112 +0x8d

goroutine 13684 [sleep]:
time.Sleep(0x574fbde6000)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/time.go:188 +0xbf
github.com/TykTechnologies/tyk/gateway.APIDefinitionLoader.compileCircuitBreakerPathSpec.func1.1(0xc001580000, 0x1770, 0xc001930be0)
	/home/runner/work/tyk/tyk/gateway/api_definition.go:819 +0xf3
created by github.com/TykTechnologies/tyk/gateway.APIDefinitionLoader.compileCircuitBreakerPathSpec.func1
	/home/runner/work/tyk/tyk/gateway/api_definition.go:817 +0x748

goroutine 13158 [IO wait]:
internal/poll.runtime_pollWait(0x7fe1943b8b18, 0x72, 0x72)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc0007e8018, 0x72, 0x0, 0x0, 0x26f7fd1)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Accept(0xc0007e8000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:394 +0x2fe
net.(*netFD).accept(0xc0007e8000, 0x8, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_unix.go:172 +0x58
net.(*TCPListener).accept(0xc000f4cd00, 0xc000958f50, 0x6ea6ad, 0xc0006b93d0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/tcpsock_posix.go:139 +0x50
net.(*TCPListener).Accept(0xc000f4cd00, 0xc00031a3c8, 0x8, 0x8, 0x8)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/tcpsock.go:261 +0x8e
github.com/TykTechnologies/tyk/gateway.TestTCPDial_with_service_discovery.func2(0x2c0a1e0, 0xc000f4cd00, 0x26f5862, 0x5)
	/home/runner/work/tyk/tyk/gateway/proxy_muxer_test.go:48 +0xb6
created by github.com/TykTechnologies/tyk/gateway.TestTCPDial_with_service_discovery
	/home/runner/work/tyk/tyk/gateway/proxy_muxer_test.go:46 +0x31f

goroutine 13735 [IO wait]:
internal/poll.runtime_pollWait(0x7fe18d6611a8, 0x72, 0x2be9ec0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc0008b0e98, 0x72, 0x2be9e00, 0x39538d8, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:87 +0xe6
internal/poll.(*pollDesc).waitRead(...)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc0008b0e80, 0xc001a79000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/internal/poll/fd_unix.go:159 +0x23f
net.(*netFD).Read(0xc0008b0e80, 0xc001a79000, 0x1000, 0x1000, 0xc000799870, 0x45d31c, 0x22a4620)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/fd_posix.go:55 +0x66
net.(*conn).Read(0xc0010e4c00, 0xc001a79000, 0x1000, 0x1000, 0xc000711988, 0x4876ec, 0x4a22df)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/net.go:182 +0xec
net/http.(*connReader).Read(0xc000711980, 0xc001a79000, 0x1000, 0x1000, 0x1, 0x0, 0xc0008b0e98)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:798 +0x263
bufio.(*Reader).fill(0xc001588000)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:101 +0x1af
bufio.(*Reader).Peek(0xc001588000, 0x4, 0x45f854f5e9, 0x3ad01c0, 0x0, 0x0, 0x3ad01c0)
	/opt/hostedtoolcache/go/1.15.15/x64/src/bufio/bufio.go:139 +0xa5
net/http.(*conn).serve(0xc00094cc80, 0x2c12660, 0xc000e71780)
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:1950 +0xab5
created by net/http.(*Server).Serve
	/opt/hostedtoolcache/go/1.15.15/x64/src/net/http/server.go:2969 +0x5d4

goroutine 13180 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc0002cb8d0, 0xc000d03100)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106

goroutine 13765 [select]:
github.com/pmylund/go-cache.(*janitor).Run(0xc0000e8400, 0xc0006e7440)
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1079 +0x15e
created by github.com/pmylund/go-cache.runJanitor
	/home/runner/go/pkg/mod/github.com/pmylund/go-cache@v2.1.0+incompatible/cache.go:1099 +0x106
FAIL	github.com/TykTechnologies/tyk/gateway	300.324s
FAIL
Test Failed

gofmt

gateway/mw_method_transform.go
gateway/mw_request_size_limit.go
gateway/mw_transform_jq.go

goimports

gateway/mw_method_transform.go
gateway/mw_request_size_limit.go
gateway/mw_transform_jq.go

If the above are ok, please look at the run or in the Checks tab.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet