Skip to content

Instantly share code, notes, and snippets.

@theckman
Created September 29, 2015 22:26
Show Gist options
  • Save theckman/14a2f90fb7dbe03dac06 to your computer and use it in GitHub Desktop.
Save theckman/14a2f90fb7dbe03dac06 to your computer and use it in GitHub Desktop.
? github.com/ctdk/goiardi [no test files]
=== RUN TestActorClient
--- PASS: TestActorClient (0.00s)
=== RUN TestActorUser
--- PASS: TestActorUser (0.00s)
PASS
ok github.com/ctdk/goiardi/actor 0.018s
=== RUN TestTimeSlewSuccess
--- PASS: TestTimeSlewSuccess (0.00s)
=== RUN TestTimeSlewFail
--- PASS: TestTimeSlewFail (0.00s)
PASS
ok github.com/ctdk/goiardi/authentication 0.014s
=== RUN TestGenerateRSAKeys
--- PASS: TestGenerateRSAKeys (1.14s)
=== RUN TestGoodPubKey
--- PASS: TestGoodPubKey (0.00s)
=== RUN TestWellFormedBogusPubKey
--- PASS: TestWellFormedBogusPubKey (0.00s)
=== RUN TestNumberPubKey
--- PASS: TestNumberPubKey (0.00s)
=== RUN TestRealBadPubKey
--- PASS: TestRealBadPubKey (0.00s)
=== RUN TestArrayPubKey
--- PASS: TestArrayPubKey (0.00s)
=== RUN TestMapPubKey
--- PASS: TestMapPubKey (0.00s)
=== RUN TestHashPasswd
--- PASS: TestHashPasswd (0.00s)
PASS
ok github.com/ctdk/goiardi/chefcrypto 1.152s
=== RUN TestGobEncodeDecode
--- PASS: TestGobEncodeDecode (0.00s)
=== RUN TestActionAtADistance
--- PASS: TestActionAtADistance (0.00s)
PASS
ok github.com/ctdk/goiardi/client 0.014s
? github.com/ctdk/goiardi/config [no test files]
? github.com/ctdk/goiardi/cookbook [no test files]
? github.com/ctdk/goiardi/databag [no test files]
=== RUN TestNew
--- PASS: TestNew (0.00s)
=== RUN TestSet
--- PASS: TestSet (0.00s)
=== RUN TestGet
--- PASS: TestGet (0.00s)
=== RUN TestDelete
--- PASS: TestDelete (0.00s)
=== RUN TestGetList
--- PASS: TestGetList (0.00s)
=== RUN TestSave
2015-09-29 15:10:36 -07:00 [INFO] [github.com/ctdk/goiardi/datastore] Data has changed, saving data store to disk
--- PASS: TestSave (0.00s)
=== RUN TestLoad
--- PASS: TestLoad (0.00s)
=== RUN TestSaveAndLoadData
2015-09-29 15:10:36 -07:00 [INFO] [github.com/ctdk/goiardi/datastore] Data has changed, saving data store to disk
--- PASS: TestSaveAndLoadData (0.00s)
=== RUN TestActionAtADistance
--- PASS: TestActionAtADistance (0.00s)
=== RUN TestCleanup
--- PASS: TestCleanup (0.00s)
PASS
ok github.com/ctdk/goiardi/datastore 0.020s
? github.com/ctdk/goiardi/environment [no test files]
? github.com/ctdk/goiardi/filestore [no test files]
=== RUN TestIndexObj
--- PASS: TestIndexObj (0.00s)
=== RUN TestSave
2015-09-29 15:10:36 -07:00 [INFO] [github.com/ctdk/goiardi/indexer] Index has changed, saving to disk
--- PASS: TestSave (0.00s)
=== RUN TestLoad
--- PASS: TestLoad (0.00s)
=== RUN TestCleanup
--- PASS: TestCleanup (0.00s)
PASS
ok github.com/ctdk/goiardi/indexer 0.018s
=== RUN TestLogEvent
--- PASS: TestLogEvent (0.04s)
PASS
ok github.com/ctdk/goiardi/loginfo 0.056s
=== RUN TestActionAtADistance
--- PASS: TestActionAtADistance (0.00s)
=== RUN TestNodeStatus
--- PASS: TestNodeStatus (0.00s)
PASS
ok github.com/ctdk/goiardi/node 0.018s
=== RUN TestReportCreation
--- PASS: TestReportCreation (0.00s)
=== RUN TestReportUpdating
--- PASS: TestReportUpdating (0.00s)
=== RUN TestReportListing
--- PASS: TestReportListing (0.00s)
PASS
ok github.com/ctdk/goiardi/report 0.012s
? github.com/ctdk/goiardi/role [no test files]
? github.com/ctdk/goiardi/sandbox [no test files]
=== RUN TestFoo
--- PASS: TestFoo (0.00s)
=== RUN TestSearchNode
--- FAIL: TestSearchNode (0.00s)
search_test.go:145: nothing returned from search
=== RUN TestSearchNodeAll
--- FAIL: TestSearchNodeAll (0.00s)
search_test.go:152: Incorrect number of items returned, expected 4, got 0 :: []
=== RUN TestSearchNodeFalse
--- PASS: TestSearchNodeFalse (0.00s)
=== RUN TestSearchNodeAttr
--- FAIL: TestSearchNodeAttr (0.00s)
search_test.go:166: Incorrect number of items returned, expected 1, got 0
=== RUN TestSearchNodeAttrExists
--- PASS: TestSearchNodeAttrExists (0.00s)
=== RUN TestSearchNodeAttrAndExists
--- FAIL: TestSearchNodeAttrAndExists (0.00s)
search_test.go:180: Incorrect number of items returned, expected 1, got 0
=== RUN TestSearchNodeAttrAndNotExists
--- PASS: TestSearchNodeAttrAndNotExists (0.00s)
=== RUN TestSearchRole
--- FAIL: TestSearchRole (0.00s)
panic: runtime error: index out of range [recovered]
panic: runtime error: index out of range
goroutine 75 [running]:
testing.tRunner.func1(0xc820086000)
/usr/local/Cellar/go/1.5.1/libexec/src/testing/testing.go:450 +0x171
github.com/ctdk/goiardi/search.TestSearchRole(0xc820086000)
/Users/tim/go/src/github.com/ctdk/goiardi/search/search_test.go:193 +0x203
testing.tRunner(0xc820086000, 0x79efe0)
/usr/local/Cellar/go/1.5.1/libexec/src/testing/testing.go:456 +0x98
created by testing.RunTests
/usr/local/Cellar/go/1.5.1/libexec/src/testing/testing.go:561 +0x86d
goroutine 1 [chan receive]:
testing.RunTests(0x61ccc8, 0x79ef20, 0x10, 0x10, 0xb64d00)
/usr/local/Cellar/go/1.5.1/libexec/src/testing/testing.go:562 +0x8ad
testing.(*M).Run(0xc82003ff08, 0x8)
/usr/local/Cellar/go/1.5.1/libexec/src/testing/testing.go:494 +0x70
main.main()
github.com/ctdk/goiardi/search/_test/_testmain.go:84 +0x116
goroutine 17 [syscall, locked to thread]:
runtime.goexit()
/usr/local/Cellar/go/1.5.1/libexec/src/runtime/asm_amd64.s:1696 +0x1
goroutine 55 [runnable]:
sync.runtime_Semacquire(0xc8200fa014)
/usr/local/Cellar/go/1.5.1/libexec/src/runtime/sema.go:43 +0x26
sync.(*Mutex).Lock(0xc8200fa010)
/usr/local/Cellar/go/1.5.1/libexec/src/sync/mutex.go:82 +0x1c4
sync.(*RWMutex).Lock(0xc8200fa010)
/usr/local/Cellar/go/1.5.1/libexec/src/sync/rwmutex.go:82 +0x30
github.com/ctdk/goiardi/indexer.(*FileIndex).SaveItem(0xc8200fa000, 0xb650c0, 0xc82015c240, 0x0, 0x0)
/Users/tim/go/src/github.com/ctdk/goiardi/indexer/file_index.go:117 +0x52
created by github.com/ctdk/goiardi/indexer.ReIndex
/Users/tim/go/src/github.com/ctdk/goiardi/indexer/indexer.go:149 +0xda
goroutine 57 [semacquire]:
sync.runtime_Semacquire(0xc8200fa014)
/usr/local/Cellar/go/1.5.1/libexec/src/runtime/sema.go:43 +0x26
sync.(*Mutex).Lock(0xc8200fa010)
/usr/local/Cellar/go/1.5.1/libexec/src/sync/mutex.go:82 +0x1c4
sync.(*RWMutex).Lock(0xc8200fa010)
/usr/local/Cellar/go/1.5.1/libexec/src/sync/rwmutex.go:82 +0x30
github.com/ctdk/goiardi/indexer.(*FileIndex).SaveItem(0xc8200fa000, 0xb64d78, 0xc8200e03f0, 0x0, 0x0)
/Users/tim/go/src/github.com/ctdk/goiardi/indexer/file_index.go:117 +0x52
created by github.com/ctdk/goiardi/indexer.ReIndex
/Users/tim/go/src/github.com/ctdk/goiardi/indexer/indexer.go:149 +0xda
goroutine 58 [semacquire]:
sync.runtime_Semacquire(0xc8200fa014)
/usr/local/Cellar/go/1.5.1/libexec/src/runtime/sema.go:43 +0x26
sync.(*Mutex).Lock(0xc8200fa010)
/usr/local/Cellar/go/1.5.1/libexec/src/sync/mutex.go:82 +0x1c4
sync.(*RWMutex).Lock(0xc8200fa010)
/usr/local/Cellar/go/1.5.1/libexec/src/sync/rwmutex.go:82 +0x30
github.com/ctdk/goiardi/indexer.(*FileIndex).SaveItem(0xc8200fa000, 0xb64ea8, 0xc82015cba0, 0x0, 0x0)
/Users/tim/go/src/github.com/ctdk/goiardi/indexer/file_index.go:117 +0x52
created by github.com/ctdk/goiardi/indexer.ReIndex
/Users/tim/go/src/github.com/ctdk/goiardi/indexer/indexer.go:149 +0xda
goroutine 66 [semacquire]:
sync.runtime_Semacquire(0xc8200fa014)
/usr/local/Cellar/go/1.5.1/libexec/src/runtime/sema.go:43 +0x26
sync.(*Mutex).Lock(0xc8200fa010)
/usr/local/Cellar/go/1.5.1/libexec/src/sync/mutex.go:82 +0x1c4
sync.(*RWMutex).Lock(0xc8200fa010)
/usr/local/Cellar/go/1.5.1/libexec/src/sync/rwmutex.go:82 +0x30
github.com/ctdk/goiardi/indexer.(*FileIndex).SaveItem(0xc8200fa000, 0xb64d40, 0xc82016a300, 0x0, 0x0)
/Users/tim/go/src/github.com/ctdk/goiardi/indexer/file_index.go:117 +0x52
created by github.com/ctdk/goiardi/indexer.ReIndex
/Users/tim/go/src/github.com/ctdk/goiardi/indexer/indexer.go:149 +0xda
goroutine 67 [semacquire]:
sync.runtime_Semacquire(0xc8200fa014)
/usr/local/Cellar/go/1.5.1/libexec/src/runtime/sema.go:43 +0x26
sync.(*Mutex).Lock(0xc8200fa010)
/usr/local/Cellar/go/1.5.1/libexec/src/sync/mutex.go:82 +0x1c4
sync.(*RWMutex).Lock(0xc8200fa010)
/usr/local/Cellar/go/1.5.1/libexec/src/sync/rwmutex.go:82 +0x30
github.com/ctdk/goiardi/indexer.(*FileIndex).SaveItem(0xc8200fa000, 0xb64d78, 0xc8200e04d0, 0x0, 0x0)
/Users/tim/go/src/github.com/ctdk/goiardi/indexer/file_index.go:117 +0x52
created by github.com/ctdk/goiardi/indexer.ReIndex
/Users/tim/go/src/github.com/ctdk/goiardi/indexer/indexer.go:149 +0xda
goroutine 68 [semacquire]:
sync.runtime_Semacquire(0xc8200fa014)
/usr/local/Cellar/go/1.5.1/libexec/src/runtime/sema.go:43 +0x26
sync.(*Mutex).Lock(0xc8200fa010)
/usr/local/Cellar/go/1.5.1/libexec/src/sync/mutex.go:82 +0x1c4
sync.(*RWMutex).Lock(0xc8200fa010)
/usr/local/Cellar/go/1.5.1/libexec/src/sync/rwmutex.go:82 +0x30
github.com/ctdk/goiardi/indexer.(*FileIndex).SaveItem(0xc8200fa000, 0xb64ea8, 0xc82015cae0, 0x0, 0x0)
/Users/tim/go/src/github.com/ctdk/goiardi/indexer/file_index.go:117 +0x52
created by github.com/ctdk/goiardi/indexer.ReIndex
/Users/tim/go/src/github.com/ctdk/goiardi/indexer/indexer.go:149 +0xda
goroutine 69 [semacquire]:
sync.runtime_Semacquire(0xc8200fa014)
/usr/local/Cellar/go/1.5.1/libexec/src/runtime/sema.go:43 +0x26
sync.(*Mutex).Lock(0xc8200fa010)
/usr/local/Cellar/go/1.5.1/libexec/src/sync/mutex.go:82 +0x1c4
sync.(*RWMutex).Lock(0xc8200fa010)
/usr/local/Cellar/go/1.5.1/libexec/src/sync/rwmutex.go:82 +0x30
github.com/ctdk/goiardi/indexer.(*FileIndex).SaveItem(0xc8200fa000, 0xb64f50, 0xc82016a600, 0x0, 0x0)
/Users/tim/go/src/github.com/ctdk/goiardi/indexer/file_index.go:117 +0x52
created by github.com/ctdk/goiardi/indexer.ReIndex
/Users/tim/go/src/github.com/ctdk/goiardi/indexer/indexer.go:149 +0xda
goroutine 70 [semacquire]:
sync.runtime_Semacquire(0xc8200fa014)
/usr/local/Cellar/go/1.5.1/libexec/src/runtime/sema.go:43 +0x26
sync.(*Mutex).Lock(0xc8200fa010)
/usr/local/Cellar/go/1.5.1/libexec/src/sync/mutex.go:82 +0x1c4
sync.(*RWMutex).Lock(0xc8200fa010)
/usr/local/Cellar/go/1.5.1/libexec/src/sync/rwmutex.go:82 +0x30
github.com/ctdk/goiardi/indexer.(*FileIndex).SaveItem(0xc8200fa000, 0xb650c0, 0xc82015c1e0, 0x0, 0x0)
/Users/tim/go/src/github.com/ctdk/goiardi/indexer/file_index.go:117 +0x52
created by github.com/ctdk/goiardi/indexer.ReIndex
/Users/tim/go/src/github.com/ctdk/goiardi/indexer/indexer.go:149 +0xda
FAIL github.com/ctdk/goiardi/search 0.041s
? github.com/ctdk/goiardi/serfin [no test files]
=== RUN TestShoveyCreation
--- PASS: TestShoveyCreation (0.00s)
PASS
ok github.com/ctdk/goiardi/shovey 0.012s
=== RUN TestNewUser
--- PASS: TestNewUser (0.00s)
=== RUN TestSetPasswd
--- PASS: TestSetPasswd (0.00s)
=== RUN TestGobEncodeDecode
--- PASS: TestGobEncodeDecode (0.00s)
PASS
ok github.com/ctdk/goiardi/user 0.009s
=== RUN TestObjURL
--- PASS: TestObjURL (0.00s)
=== RUN TestCustomObjURL
--- PASS: TestCustomObjURL (0.00s)
=== RUN TestCustomURL
--- PASS: TestCustomURL (0.00s)
=== RUN TestGerror
--- PASS: TestGerror (0.00s)
=== RUN TestFlatten
--- PASS: TestFlatten (0.00s)
=== RUN TestMapify
--- PASS: TestMapify (0.00s)
=== RUN TestIndexify
--- PASS: TestIndexify (0.00s)
=== RUN TestValidateName
--- PASS: TestValidateName (0.00s)
=== RUN TestValidateUserName
--- PASS: TestValidateUserName (0.00s)
=== RUN TestValidateDBagName
--- PASS: TestValidateDBagName (0.00s)
=== RUN TestValidateEnvName
--- PASS: TestValidateEnvName (0.00s)
=== RUN TestValidateAsVersion
--- PASS: TestValidateAsVersion (0.00s)
=== RUN TestValidateRunList
--- PASS: TestValidateRunList (0.00s)
validations_test.go:39: [recipe[qualified_recipe_name] recipe[versioned_qualified_recipe_name@1.0.0] recipe[versioned_qualified_recipe_name2@1.0] recipe[qualified_recipe_name::include.period] recipe[versioned_qualified_recipe_name::include.period@1.0.0] role[qualified_role_name] recipe[versioned_unqualified_recipe_name@1.0.0] recipe[unqualified_recipe_name]]
PASS
ok github.com/ctdk/goiardi/util 0.012s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment