Skip to content

Instantly share code, notes, and snippets.

@allenluce
Created June 4, 2015 22:50
Show Gist options
  • Save allenluce/cb6462c2bfa17c6ef870 to your computer and use it in GitHub Desktop.
Save allenluce/cb6462c2bfa17c6ef870 to your computer and use it in GitHub Desktop.
? rtb_go/lyfe-mobile/aux_data [no test files]
&{ff45781f-0316-41ef-b4e5-71238fca2f6e []}
PASS
ok rtb_go/lyfe-mobile/aws 0.222s
PASS
ok rtb_go/lyfe-mobile/blockers 0.006s
? rtb_go/lyfe-mobile/brightroll_proto [no test files]
# rtb_go/lyfe-mobile/campaign
./campaign_test.go:389: too many arguments in call to cpgnList.LoopFilter
./campaign_test.go:396: too many arguments in call to cpgnList.LoopFilter
./campaign_test.go:405: too many arguments in call to cpgnList.LoopFilter
./campaign_test.go:413: too many arguments in call to cpgnList.LoopFilter
./campaign_test.go:421: too many arguments in call to cpgnList.LoopFilter
./campaign_test.go:432: too many arguments in call to cpgnList.LoopFilter
FAIL rtb_go/lyfe-mobile/campaign [build failed]
? rtb_go/lyfe-mobile/compression [no test files]
? rtb_go/lyfe-mobile/configuration [no test files]
? rtb_go/lyfe-mobile/constants [no test files]
? rtb_go/lyfe-mobile/costs [no test files]
PASS
ok rtb_go/lyfe-mobile/database 0.020s
? rtb_go/lyfe-mobile/google_proto [no test files]
&{cac95d5b-9378-49d7-954e-c199f763ff54 []}
--- FAIL: TestDomainRules (83.01 seconds)
in_mem_test.go:38: correct
in_mem_test.go:42: Domain for atherbys should NOT be hashed
--- FAIL: TestAdDim (63.01 seconds)
in_mem_test.go:52: no reachable servers
in_mem_test.go:58: no reachable servers
in_mem_test.go:62: Expected dimension indexes: [3 19 4 6 11 16 10 15 20 21 7 9 12]
in_mem_test.go:63: Actual dimension indexes: []
--- FAIL: TestHandsetLookup (126.01 seconds)
in_mem_test.go:70: Wrong handset ID
in_mem_test.go:74: Wrong handset ID
in_mem_test.go:78: Wrong handset ID
in_mem_test.go:82: Wrong handset ID
--- FAIL: TestGetHandsetType (31.50 seconds)
in_mem_test.go:125: incorrect handset type returned
FAIL
exit status 1
FAIL rtb_go/lyfe-mobile/in_mem 497.337s
? rtb_go/lyfe-mobile/openx_proto [no test files]
--- FAIL: TestInmobiNativeParser (0.01 seconds)
parsers_test.go:67: 2
parsers_test.go:72: Width correct
parsers_test.go:78: Height correct
parsers_test.go:81: Ad IDs 10000 10000
parsers_test.go:89: Bidfloor matches
parsers_test.go:96: Native result is correct
parsers_test.go:109: Country correct
parsers_test.go:116: Region correct
parsers_test.go:120: Expected city: noblesville
parsers_test.go:121: Actual city: logansport
parsers_test.go:130: Bcats correct
parsers_test.go:137: battrs correct
FAIL
exit status 1
FAIL rtb_go/lyfe-mobile/parsers 0.035s
--- FAIL: TestGetCampaigns (31.50 seconds)
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x4db67e]
goroutine 24 [running]:
runtime.panic(0x8ace20, 0xddddd3)
/home/aluce/.gvm/gos/go1.3/src/pkg/runtime/panic.c:279 +0xf5
testing.func·006()
/home/aluce/.gvm/gos/go1.3/src/pkg/testing/testing.go:416 +0x176
runtime.panic(0x8ace20, 0xddddd3)
/home/aluce/.gvm/gos/go1.3/src/pkg/runtime/panic.c:248 +0x18d
labix.org/v2/mgo.(*Collection).Find(0xc2080c8b10, 0x7f36a0, 0xc2080c8b40, 0x7f2bfe46fc00)
/home/aluce/.gvm/pkgsets/go1.3/global/src/labix.org/v2/mgo/session.go:1592 +0xee
rtb_go/lyfe-mobile/receivers.(*Receiver).RetrieveCpgns(0x7f2bfe2f0e30, 0xc2080c8b10, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/aluce/.gvm/pkgsets/go1.3/global/src/rtb_go/lyfe-mobile/receivers/base_receiver.go:365 +0xbe
rtb_go/lyfe-mobile/receivers.TestGetCampaigns(0xc20804e6c0)
/home/aluce/.gvm/pkgsets/go1.3/global/src/rtb_go/lyfe-mobile/receivers/receiver_test.go:69 +0x2a8
testing.tRunner(0xc20804e6c0, 0xddb890)
/home/aluce/.gvm/gos/go1.3/src/pkg/testing/testing.go:422 +0x8b
created by testing.RunTests
/home/aluce/.gvm/gos/go1.3/src/pkg/testing/testing.go:504 +0x8db
goroutine 16 [chan receive]:
testing.RunTests(0xa239a8, 0xddb860, 0x3, 0x3, 0x88f101)
/home/aluce/.gvm/gos/go1.3/src/pkg/testing/testing.go:505 +0x923
testing.Main(0xa239a8, 0xddb860, 0x3, 0x3, 0xdfcb20, 0x0, 0x0, 0xdfcb20, 0x0, 0x0)
/home/aluce/.gvm/gos/go1.3/src/pkg/testing/testing.go:435 +0x84
main.main()
rtb_go/lyfe-mobile/receivers/_test/_testmain.go:51 +0x9c
goroutine 19 [finalizer wait]:
runtime.park(0x414790, 0xdf7070, 0xde0b49)
/home/aluce/.gvm/gos/go1.3/src/pkg/runtime/proc.c:1369 +0x89
runtime.parkunlock(0xdf7070, 0xde0b49)
/home/aluce/.gvm/gos/go1.3/src/pkg/runtime/proc.c:1385 +0x3b
runfinq()
/home/aluce/.gvm/gos/go1.3/src/pkg/runtime/mgc0.c:2644 +0xcf
runtime.goexit()
/home/aluce/.gvm/gos/go1.3/src/pkg/runtime/proc.c:1445
goroutine 17 [syscall]:
runtime.goexit()
/home/aluce/.gvm/gos/go1.3/src/pkg/runtime/proc.c:1445
goroutine 21 [chan receive]:
rtb_go/lyfe-mobile/ttlcache.func·001()
/home/aluce/.gvm/pkgsets/go1.3/global/src/rtb_go/lyfe-mobile/ttlcache/cache.go:132 +0x5b
created by rtb_go/lyfe-mobile/ttlcache.(*Cache).startCleanupTimer
/home/aluce/.gvm/pkgsets/go1.3/global/src/rtb_go/lyfe-mobile/ttlcache/cache.go:136 +0xb9
goroutine 25 [sleep]:
time.Sleep(0x1dcd6500)
/home/aluce/.gvm/gos/go1.3/src/pkg/runtime/time.goc:39 +0x31
labix.org/v2/mgo.(*mongoCluster).syncServersLoop(0xc2080ca0f0)
/home/aluce/.gvm/pkgsets/go1.3/global/src/labix.org/v2/mgo/cluster.go:360 +0x411
created by labix.org/v2/mgo.newCluster
/home/aluce/.gvm/pkgsets/go1.3/global/src/labix.org/v2/mgo/cluster.go:72 +0x153
goroutine 27 [IO wait]:
net.runtime_pollWait(0x7f2bfe47c658, 0x77, 0x0)
/home/aluce/.gvm/gos/go1.3/src/pkg/runtime/netpoll.goc:146 +0x66
net.(*pollDesc).Wait(0xc20802b2c0, 0x77, 0x0, 0x0)
/home/aluce/.gvm/gos/go1.3/src/pkg/net/fd_poll_runtime.go:84 +0x46
net.(*pollDesc).WaitWrite(0xc20802b2c0, 0x0, 0x0)
/home/aluce/.gvm/gos/go1.3/src/pkg/net/fd_poll_runtime.go:93 +0x42
net.(*netFD).Write(0xc20802b260, 0xc2080cc300, 0x3a, 0x100, 0x0, 0x7f2bfe47b660, 0xb)
/home/aluce/.gvm/gos/go1.3/src/pkg/net/fd_unix.go:325 +0x49c
net.(*conn).Write(0xc208038120, 0xc2080cc300, 0x3a, 0x100, 0x0, 0x0, 0x0)
/home/aluce/.gvm/gos/go1.3/src/pkg/net/net.go:130 +0xe7
labix.org/v2/mgo.(*mongoSocket).Query(0xc2080ce380, 0x7f2bfe2eaae8, 0x1, 0x1, 0x0, 0x0)
/home/aluce/.gvm/pkgsets/go1.3/global/src/labix.org/v2/mgo/socket.go:479 +0x19e2
labix.org/v2/mgo.(*mongoSocket).resetNonce(0xc2080ce380)
/home/aluce/.gvm/pkgsets/go1.3/global/src/labix.org/v2/mgo/auth.go:152 +0x257
labix.org/v2/mgo.newSocket(0xc2080ce0e0, 0x7f2bfe47cd78, 0xc208038120, 0x37e11d600, 0x1)
/home/aluce/.gvm/pkgsets/go1.3/global/src/labix.org/v2/mgo/socket.go:162 +0x2d8
labix.org/v2/mgo.(*mongoServer).Connect(0xc2080ce0e0, 0x37e11d600, 0xc208040540, 0x0, 0x0)
/home/aluce/.gvm/pkgsets/go1.3/global/src/labix.org/v2/mgo/server.go:176 +0x4e3
labix.org/v2/mgo.(*mongoServer).AcquireSocket(0xc2080ce0e0, 0x0, 0x37e11d600, 0xc208046a40, 0x1, 0x0, 0x0)
/home/aluce/.gvm/pkgsets/go1.3/global/src/labix.org/v2/mgo/server.go:126 +0x293
labix.org/v2/mgo.(*mongoServer).pinger(0xc2080ce0e0, 0xc2080ce001)
/home/aluce/.gvm/pkgsets/go1.3/global/src/labix.org/v2/mgo/server.go:287 +0x166
created by labix.org/v2/mgo.newServer
/home/aluce/.gvm/pkgsets/go1.3/global/src/labix.org/v2/mgo/server.go:87 +0xf1
exit status 2
FAIL rtb_go/lyfe-mobile/receivers 31.510s
--- FAIL: TestBurstMacros (0.00 seconds)
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x456816]
goroutine 22 [running]:
runtime.panic(0x82fe20, 0xce4e33)
/home/aluce/.gvm/gos/go1.3/src/pkg/runtime/panic.c:279 +0xf5
testing.func·006()
/home/aluce/.gvm/gos/go1.3/src/pkg/testing/testing.go:416 +0x176
runtime.panic(0x82fe20, 0xce4e33)
/home/aluce/.gvm/gos/go1.3/src/pkg/runtime/panic.c:248 +0x18d
rtb_go/lyfe-mobile/responders.TestBurstMacros(0xc20805c5a0)
/home/aluce/.gvm/pkgsets/go1.3/global/src/rtb_go/lyfe-mobile/responders/response_test.go:19 +0x446
testing.tRunner(0xc20805c5a0, 0xce3e00)
/home/aluce/.gvm/gos/go1.3/src/pkg/testing/testing.go:422 +0x8b
created by testing.RunTests
/home/aluce/.gvm/gos/go1.3/src/pkg/testing/testing.go:504 +0x8db
goroutine 16 [chan receive]:
testing.RunTests(0x97c408, 0xce3e00, 0xb, 0xb, 0x542401)
/home/aluce/.gvm/gos/go1.3/src/pkg/testing/testing.go:505 +0x923
testing.Main(0x97c408, 0xce3e00, 0xb, 0xb, 0xd00f20, 0x0, 0x0, 0xd00f20, 0x0, 0x0)
/home/aluce/.gvm/gos/go1.3/src/pkg/testing/testing.go:435 +0x84
main.main()
rtb_go/lyfe-mobile/responders/_test/_testmain.go:67 +0x9c
goroutine 19 [finalizer wait]:
runtime.park(0x414800, 0xcfb550, 0xce7ba9)
/home/aluce/.gvm/gos/go1.3/src/pkg/runtime/proc.c:1369 +0x89
runtime.parkunlock(0xcfb550, 0xce7ba9)
/home/aluce/.gvm/gos/go1.3/src/pkg/runtime/proc.c:1385 +0x3b
runfinq()
/home/aluce/.gvm/gos/go1.3/src/pkg/runtime/mgc0.c:2644 +0xcf
runtime.goexit()
/home/aluce/.gvm/gos/go1.3/src/pkg/runtime/proc.c:1445
goroutine 17 [syscall]:
runtime.goexit()
/home/aluce/.gvm/gos/go1.3/src/pkg/runtime/proc.c:1445
goroutine 21 [chan receive]:
rtb_go/lyfe-mobile/ttlcache.func·001()
/home/aluce/.gvm/pkgsets/go1.3/global/src/rtb_go/lyfe-mobile/ttlcache/cache.go:132 +0x5b
created by rtb_go/lyfe-mobile/ttlcache.(*Cache).startCleanupTimer
/home/aluce/.gvm/pkgsets/go1.3/global/src/rtb_go/lyfe-mobile/ttlcache/cache.go:136 +0xb9
exit status 2
FAIL rtb_go/lyfe-mobile/responders 0.007s
? rtb_go/lyfe-mobile/rtb_server [no test files]
PASS
ok rtb_go/lyfe-mobile/ttlcache 3.002s
PASS
ok rtb_go/lyfe-mobile/user_cache 0.016s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment