Skip to content

Instantly share code, notes, and snippets.

@allenluce
Created June 4, 2015 22:26
Show Gist options
  • Save allenluce/f82bbe587e5d64ca2189 to your computer and use it in GitHub Desktop.
Save allenluce/f82bbe587e5d64ca2189 to your computer and use it in GitHub Desktop.
? rtb_go/lyfe-mobile/aux_data [no test files]
&{b4d5cc5e-2a99-44a4-b212-5bd115dd02ee []}
PASS
ok rtb_go/lyfe-mobile/aws 0.372s
--- FAIL: TestBlockers (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=0x80 pc=0x447d18]
goroutine 22 [running]:
runtime.panic(0x74f860, 0xb6eb13)
/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(0x74f860, 0xb6eb13)
/home/aluce/.gvm/gos/go1.3/src/pkg/runtime/panic.c:248 +0x18d
rtb_go/lyfe-mobile/blockers.(*MockParser).GetBcat(0xc208000b70, 0x0, 0x0, 0x0)
<autogenerated>:24 +0x58
rtb_go/lyfe-mobile/blockers.MainBlocker(0x7f718f2e1ac8, 0xc208026580, 0x7f718f2e1b30, 0xc208000b70, 0x0, 0x0)
/home/aluce/.gvm/pkgsets/go1.3/global/src/rtb_go/lyfe-mobile/blockers/blockers.go:31 +0x33
rtb_go/lyfe-mobile/blockers.(*GenericBlocker).BlockBanner(0x7f718f155f10, 0x7f718f2e1ac8, 0xc208026580, 0x7f718f2e1b30, 0xc208000b70, 0xc20803a730)
/home/aluce/.gvm/pkgsets/go1.3/global/src/rtb_go/lyfe-mobile/blockers/blockers.go:64 +0x52
rtb_go/lyfe-mobile/blockers.TestBlockers(0xc20804e000)
/home/aluce/.gvm/pkgsets/go1.3/global/src/rtb_go/lyfe-mobile/blockers/blockers_test.go:67 +0xd0
testing.tRunner(0xc20804e000, 0xb685d0)
/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(0x847460, 0xb685d0, 0x1, 0x1, 0xc20803a601)
/home/aluce/.gvm/gos/go1.3/src/pkg/testing/testing.go:505 +0x923
testing.Main(0x847460, 0xb685d0, 0x1, 0x1, 0xb8a8e0, 0x0, 0x0, 0xb8a8e0, 0x0, 0x0)
/home/aluce/.gvm/gos/go1.3/src/pkg/testing/testing.go:435 +0x84
main.main()
rtb_go/lyfe-mobile/blockers/_test/_testmain.go:47 +0x9c
goroutine 19 [finalizer wait]:
runtime.park(0x414780, 0xb85210, 0xb71889)
/home/aluce/.gvm/gos/go1.3/src/pkg/runtime/proc.c:1369 +0x89
runtime.parkunlock(0xb85210, 0xb71889)
/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/blockers 0.016s
? 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.021s
? rtb_go/lyfe-mobile/google_proto [no test files]
&{8857f171-ddf6-4be2-9b01-43e7bf4ca8ec []}
--- FAIL: TestDomainRules (83.03 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 (96.51 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 456.293s
? rtb_go/lyfe-mobile/openx_proto [no test files]
--- FAIL: TestInmobiNativeParser (23.02 seconds)
parsers_test.go:67: 21
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 69.067s
--- 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=0x4db58e]
goroutine 24 [running]:
runtime.panic(0x8acd40, 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(0x8acd40, 0xddddd3)
/home/aluce/.gvm/gos/go1.3/src/pkg/runtime/panic.c:248 +0x18d
labix.org/v2/mgo.(*Collection).Find(0xc2080c8ab0, 0x7f35c0, 0xc2080c8ae0, 0x7f202231fc00)
/home/aluce/.gvm/pkgsets/go1.3/global/src/labix.org/v2/mgo/session.go:1592 +0xee
rtb_go/lyfe-mobile/receivers.(*Receiver).RetrieveCpgns(0x7f20221a0e30, 0xc2080c8ab0, 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:65 +0x1bd
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(0xa23828, 0xddb860, 0x3, 0x3, 0x88f001)
/home/aluce/.gvm/gos/go1.3/src/pkg/testing/testing.go:505 +0x923
testing.Main(0xa23828, 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(0x7f202232c658, 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).connect(0xc20802b260, 0x0, 0x0, 0x7f202232cd20, 0xc208046b80, 0x0, 0x0)
/home/aluce/.gvm/gos/go1.3/src/pkg/net/fd_unix.go:104 +0x17a
net.(*netFD).dial(0xc20802b260, 0x7f202232ccd0, 0x0, 0x7f202232ccd0, 0xc2080c86f0, 0xecd02b1ef, 0x361e8ec8, 0xdf91e0, 0xa23948, 0x0, ...)
/home/aluce/.gvm/gos/go1.3/src/pkg/net/sock_posix.go:121 +0x3b2
net.socket(0x929db0, 0x3, 0x2, 0x1, 0x0, 0xc2080c8600, 0x7f202232ccd0, 0x0, 0x7f202232ccd0, 0xc2080c86f0, ...)
/home/aluce/.gvm/gos/go1.3/src/pkg/net/sock_posix.go:91 +0x424
net.internetSocket(0x929db0, 0x3, 0x7f202232ccd0, 0x0, 0x7f202232ccd0, 0xc2080c86f0, 0xecd02b1ef, 0x361e8ec8, 0xdf91e0, 0x1, ...)
/home/aluce/.gvm/gos/go1.3/src/pkg/net/ipsock_posix.go:137 +0x161
net.dialTCP(0x929db0, 0x3, 0x0, 0xc2080c86f0, 0xecd02b1ef, 0x361e8ec8, 0xdf91e0, 0x7f202219a8d8, 0x0, 0x0)
/home/aluce/.gvm/gos/go1.3/src/pkg/net/tcpsock_posix.go:156 +0x13a
net.dialSingle(0x929db0, 0x3, 0xc2080468e0, 0x14, 0x0, 0x0, 0x7f202232cc40, 0xc2080c86f0, 0xecd02b1ef, 0x361e8ec8, ...)
/home/aluce/.gvm/gos/go1.3/src/pkg/net/dial.go:238 +0x3ef
net.func·016(0xecd02b1ef, 0x361e8ec8, 0xdf91e0, 0x0, 0x0, 0x0, 0x0)
/home/aluce/.gvm/gos/go1.3/src/pkg/net/dial.go:164 +0x132
net.dial(0x929db0, 0x3, 0x7f202232cc40, 0xc2080c86f0, 0x7f202219ab58, 0xecd02b1ef, 0x361e8ec8, 0xdf91e0, 0x0, 0x0, ...)
/home/aluce/.gvm/gos/go1.3/src/pkg/net/fd_unix.go:40 +0x75
net.(*Dialer).Dial(0xc20803ea80, 0x929db0, 0x3, 0xc2080468e0, 0x14, 0x0, 0x0, 0x0, 0x0)
/home/aluce/.gvm/gos/go1.3/src/pkg/net/dial.go:171 +0x44f
net.DialTimeout(0x929db0, 0x3, 0xc2080468e0, 0x14, 0x37e11d600, 0x0, 0x0, 0x0, 0x0)
/home/aluce/.gvm/gos/go1.3/src/pkg/net/dial.go:151 +0xda
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:161 +0x23d
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.511s
--- 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
--- FAIL: TestAeropsikeRetrieval (0.01 seconds)
cache_test.go:107: Could not set key in aerospike: Namespace not found
FAIL
exit status 1
FAIL rtb_go/lyfe-mobile/user_cache 0.010s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment