Venafi PKI Monitoring Secrets Engine for HashiCorp Vault that enforces security policy and provides certificate visiblity to the enterprise.
Mozilla Public License 2.0
19
stars
9
forks
source link
Scheduler test failing on Jenkins #48
Closed
arykalin closed 4 years ago
PROBLEM SUMMARY Scheduler test failing on Jenkins
STEPS TO REPRODUCE Run test on jenkins
EXPECTED RESULTS test passed
ACTUAL RESULTS === RUN Test_scheduler_concurency vCert: 2020/04/25 01:25:12 VENAFI_IMPORT: running control import queue vCert: 2020/04/25 01:25:12 Can get policy map: policy map does not exists vCert: 2020/04/25 01:25:12 VENAFI_IMPORT: running control import queue vCert: 2020/04/25 01:25:12 Can get policy map: policy map does not exists vCert: 2020/04/25 01:25:12 VENAFI_IMPORT: running control import queue ...... vCert: 2020/04/25 01:25:22 VENAFI_IMPORT: Couldn't get list of roles Vault is sealed vCert: 2020/04/25 01:25:22 VENAFI_IMPORT: running control import queue vCert: 2020/04/25 01:25:22 VENAFI_IMPORT: Couldn't get list of roles Vault is sealed vCert: 2020/04/25 01:25:22 VENAFI_IMPORT: running control import queue vCert: 2020/04/25 01:25:22 VENAFI_SCHEDULER: duplicated task fillqueue-test-import vCert: 2020/04/25 01:25:22 VENAFI_IMPORT: finished running control import queue panic: test timed out after 6m0s goroutine 67138 [running]: testing.(M).startAlarm.func1() /usr/local/go/src/testing/testing.go:1377 +0xdf created by time.goFunc /usr/local/go/src/time/sleep.go:168 +0x44 goroutine 1 [chan receive]: testing.(T).Run(0xc000f39f00, 0x118b841, 0x19, 0x11e1260, 0x48bc01) /usr/local/go/src/testing/testing.go:961 +0x377 testing.runTests.func1(0xc0001cc500) /usr/local/go/src/testing/testing.go:1202 +0x78 testing.tRunner(0xc0001cc500, 0xc000223dc0) /usr/local/go/src/testing/testing.go:909 +0xc9 testing.runTests(0xc0002e0d80, 0x1ac55e0, 0x34, 0x34, 0x0) /usr/local/go/src/testing/testing.go:1200 +0x2a7 testing.(M).Run(0xc000173700, 0x0) /usr/local/go/src/testing/testing.go:1117 +0x176 main.main() _testmain.go:146 +0x135 1:23 goroutine 5 [syscall, 5 minutes]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:147 +0x9c os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x22 created by os/signal.init.0 /usr/local/go/src/os/signal/signal_unix.go:29 +0x41 goroutine 34 [select, 5 minutes]: github.com/armon/go-metrics.(InmemSignal).run(0xc00031d000) /go/pkg/mod/github.com/armon/go-metrics@v0.3.0/inmem_signal.go:64 +0xb3 created by github.com/armon/go-metrics.NewInmemSignal /go/pkg/mod/github.com/armon/go-metrics@v0.3.0/inmem_signal.go:38 +0x13e goroutine 19123 [semacquire]: sync.runtime_SemacquireMutex(0xc001c13724, 0x46fb00, 0x1) /usr/local/go/src/runtime/sema.go:71 +0x47 sync.(Mutex).lockSlow(0xc001c13720) /usr/local/go/src/sync/mutex.go:138 +0xfc sync.(Mutex).Lock(...) /usr/local/go/src/sync/mutex.go:81 sync.(RWMutex).Lock(0xc001c13720) /usr/local/go/src/sync/rwmutex.go:98 +0x97 github.com/Venafi/vault-pki-monitor-venafi/plugin/pki.(taskStorageStruct).register(0xc001c13700, 0xc001bb3d80, 0xb, 0xc001c60030, 0x1, 0x34630b8a000) /vault-pki-monitor-venafi/plugin/pki/scheduler.go:40 +0x51 github.com/Venafi/vault-pki-monitor-venafi/plugin/pki.Test_scheduler_concurency.func1(0xc001c13700, 0xc001850af8, 0x37) /vault-pki-monitor-venafi/plugin/pki/scheduler_test.go:86 +0x67 created by github.com/Venafi/vault-pki-monitor-venafi/plugin/pki.Test_scheduler_concurency /vault-pki-monitor-venafi/plugin/pki/scheduler_test.go:81 +0xa1 ENVIRONMENT DETAILS
COMMENTS/WORKAROUNDS On local machine test passed