Skip to content

Instantly share code, notes, and snippets.

@allenluce
Created June 3, 2015 18:35
Show Gist options
  • Save allenluce/b0d33fb4c9f41292fbb7 to your computer and use it in GitHub Desktop.
Save allenluce/b0d33fb4c9f41292fbb7 to your computer and use it in GitHub Desktop.
? rtb_go/lyfe-mobile/aux_data [no test files]
# rtb_go/lyfe-mobile/blockers
./blockers_test.go:29: type MockBanner has both field and method named IsBadv
./blockers_test.go:37: type MockBanner has both field and method named IsBattr
./blockers_test.go:41: type MockBanner has both field and method named IsCustBlock
./blockers_test.go:53: type MockBanner has both field and method named HasBcat
FAIL rtb_go/lyfe-mobile/blockers [build failed]
? 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]
&{e22aae44-ae3b-4225-becc-fc4865c2103a []}
--- FAIL: TestVastGet (5.21 seconds)
external_cache_test.go:19: {XMLName:{Space: Local:} Version: Ad:{Inline:{Creatives:{Creative:{Linear:{Duration: Events:{Tracking:[]} VideoClicks:{ClickThrough:} MediaFiles:{MediaFile:[]}}}} AdSystem: AdTitle: Impression:[]} Id:}}
external_cache_test.go:21: Tag not found in cache.
external_cache_test.go:24: <VAST version=""><Ad id=""><InLine><Creatives><Creative><Linear><Duration></Duration><TrackingEvents></TrackingEvents><VideoClicks><ClickThrough></ClickThrough></VideoClicks><MediaFiles></MediaFiles></Linear></Creative></Creatives><AdSystem></AdSystem><AdTitle></AdTitle></InLine></Ad></VAST>
panic: runtime error: index out of range [recovered]
panic: runtime error: index out of range
goroutine 22 [running]:
runtime.panic(0x7af900, 0xc285fc)
/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(0x7af900, 0xc285fc)
/home/aluce/.gvm/gos/go1.3/src/pkg/runtime/panic.c:248 +0x18d
rtb_go/lyfe-mobile/aws.AWSAutoDiscover(0xc208025650, 0x0, 0x0)
/home/aluce/.gvm/pkgsets/go1.3/global/src/rtb_go/lyfe-mobile/aws/aws.go:104 +0xefb
rtb_go/lyfe-mobile/in_mem.RetreiveAwsInfo(0x0, 0x0)
/home/aluce/.gvm/pkgsets/go1.3/global/src/rtb_go/lyfe-mobile/in_mem/internal_maps.go:475 +0x30
rtb_go/lyfe-mobile/in_mem.GetEC2DNS(0x0, 0x0)
/home/aluce/.gvm/pkgsets/go1.3/global/src/rtb_go/lyfe-mobile/in_mem/internal_maps.go:505 +0x40
rtb_go/lyfe-mobile/in_mem.GetTag(0x884650, 0x22, 0x7f6870, 0x5, 0x0, 0x0, 0xc208000fb8, 0x4, 0xc208000ff8, 0x3, ...)
/home/aluce/.gvm/pkgsets/go1.3/global/src/rtb_go/lyfe-mobile/in_mem/vast_tag.go:175 +0x430
rtb_go/lyfe-mobile/in_mem.TestVastGet(0xc2080a4000)
/home/aluce/.gvm/pkgsets/go1.3/global/src/rtb_go/lyfe-mobile/in_mem/external_cache_test.go:26 +0x3d3
testing.tRunner(0xc2080a4000, 0xc26b20)
/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(0x8d9058, 0xc26b20, 0xa, 0xa, 0x1)
/home/aluce/.gvm/gos/go1.3/src/pkg/testing/testing.go:505 +0x923
testing.Main(0x8d9058, 0xc26b20, 0xa, 0xa, 0xc44340, 0x0, 0x0, 0xc44340, 0x0, 0x0)
/home/aluce/.gvm/gos/go1.3/src/pkg/testing/testing.go:435 +0x84
main.main()
rtb_go/lyfe-mobile/in_mem/_test/_testmain.go:65 +0x9c
goroutine 19 [finalizer wait]:
runtime.park(0x4147f0, 0xc3ee30, 0xc2ac29)
/home/aluce/.gvm/gos/go1.3/src/pkg/runtime/proc.c:1369 +0x89
runtime.parkunlock(0xc3ee30, 0xc2ac29)
/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 35 [runnable]:
net/http.(*persistConn).readLoop(0xc20803c790)
/home/aluce/.gvm/gos/go1.3/src/pkg/net/http/transport.go:868 +0x829
created by net/http.(*Transport).dialConn
/home/aluce/.gvm/gos/go1.3/src/pkg/net/http/transport.go:600 +0x93f
goroutine 26 [IO wait]:
net.runtime_pollWait(0x7ffa5f822888, 0x72, 0x0)
/home/aluce/.gvm/gos/go1.3/src/pkg/runtime/netpoll.goc:146 +0x66
net.(*pollDesc).Wait(0xc20802b4f0, 0x72, 0x0, 0x0)
/home/aluce/.gvm/gos/go1.3/src/pkg/net/fd_poll_runtime.go:84 +0x46
net.(*pollDesc).WaitRead(0xc20802b4f0, 0x0, 0x0)
/home/aluce/.gvm/gos/go1.3/src/pkg/net/fd_poll_runtime.go:89 +0x42
net.(*netFD).Read(0xc20802b490, 0xc208062000, 0x1000, 0x1000, 0x0, 0x7ffa5f821760, 0xb)
/home/aluce/.gvm/gos/go1.3/src/pkg/net/fd_unix.go:232 +0x34c
net.(*conn).Read(0xc208038098, 0xc208062000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/home/aluce/.gvm/gos/go1.3/src/pkg/net/net.go:122 +0xe7
net/http.noteEOFReader.Read(0x7ffa5f823258, 0xc208038098, 0xc20803c3c8, 0xc208062000, 0x1000, 0x1000, 0xc52280, 0x0, 0x0)
/home/aluce/.gvm/gos/go1.3/src/pkg/net/http/transport.go:1203 +0x72
net/http.(*noteEOFReader).Read(0xc208056960, 0xc208062000, 0x1000, 0x1000, 0xc2080a47a0, 0x0, 0x0)
<autogenerated>:124 +0xca
bufio.(*Reader).fill(0xc208005020)
/home/aluce/.gvm/gos/go1.3/src/pkg/bufio/bufio.go:97 +0x1b3
bufio.(*Reader).Peek(0xc208005020, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/aluce/.gvm/gos/go1.3/src/pkg/bufio/bufio.go:132 +0x101
net/http.(*persistConn).readLoop(0xc20803c370)
/home/aluce/.gvm/gos/go1.3/src/pkg/net/http/transport.go:782 +0x95
created by net/http.(*Transport).dialConn
/home/aluce/.gvm/gos/go1.3/src/pkg/net/http/transport.go:600 +0x93f
goroutine 27 [select]:
net/http.(*persistConn).writeLoop(0xc20803c370)
/home/aluce/.gvm/gos/go1.3/src/pkg/net/http/transport.go:885 +0x38f
created by net/http.(*Transport).dialConn
/home/aluce/.gvm/gos/go1.3/src/pkg/net/http/transport.go:601 +0x957
goroutine 36 [select]:
net/http.(*persistConn).writeLoop(0xc20803c790)
/home/aluce/.gvm/gos/go1.3/src/pkg/net/http/transport.go:885 +0x38f
created by net/http.(*Transport).dialConn
/home/aluce/.gvm/gos/go1.3/src/pkg/net/http/transport.go:601 +0x957
exit status 2
FAIL rtb_go/lyfe-mobile/in_mem 5.222s
? 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.052s
--- FAIL: TestGetCampaigns (20.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=0x4db5ee]
goroutine 24 [running]:
runtime.panic(0x8acda0, 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(0x8acda0, 0xddddd3)
/home/aluce/.gvm/gos/go1.3/src/pkg/runtime/panic.c:248 +0x18d
labix.org/v2/mgo.(*Collection).Find(0xc2080c6600, 0x7f3620, 0xc2080c6630, 0x7fc8c2d72c80)
/home/aluce/.gvm/pkgsets/go1.3/global/src/labix.org/v2/mgo/session.go:1592 +0xee
rtb_go/lyfe-mobile/receivers.(*Receiver).RetrieveCpgns(0x7fc8c2bf3e30, 0xc2080c6600, 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 +0x1c9
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(0xa23848, 0xddb860, 0x3, 0x3, 0x88f101)
/home/aluce/.gvm/gos/go1.3/src/pkg/testing/testing.go:505 +0x923
testing.Main(0xa23848, 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 [semacquire]:
sync.runtime_Semacquire(0xc208052ddc)
/home/aluce/.gvm/gos/go1.3/src/pkg/runtime/sema.goc:199 +0x30
sync.(*WaitGroup).Wait(0xc2080487e0)
/home/aluce/.gvm/gos/go1.3/src/pkg/sync/waitgroup.go:129 +0x14b
labix.org/v2/mgo.(*mongoCluster).syncServersIteration(0xc2080c80f0, 0x0)
/home/aluce/.gvm/pkgsets/go1.3/global/src/labix.org/v2/mgo/cluster.go:473 +0x3b5
labix.org/v2/mgo.(*mongoCluster).syncServersLoop(0xc2080c80f0)
/home/aluce/.gvm/pkgsets/go1.3/global/src/labix.org/v2/mgo/cluster.go:329 +0x1e1
created by labix.org/v2/mgo.newCluster
/home/aluce/.gvm/pkgsets/go1.3/global/src/labix.org/v2/mgo/cluster.go:72 +0x153
goroutine 26 [sleep]:
time.Sleep(0x1dcd6500)
/home/aluce/.gvm/gos/go1.3/src/pkg/runtime/time.goc:39 +0x31
labix.org/v2/mgo.(*mongoCluster).syncServer(0xc2080c80f0, 0xc2080ce0e0, 0x30, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/aluce/.gvm/pkgsets/go1.3/global/src/labix.org/v2/mgo/cluster.go:167 +0x31f
labix.org/v2/mgo.func·007()
/home/aluce/.gvm/pkgsets/go1.3/global/src/labix.org/v2/mgo/cluster.go:444 +0x59e
created by labix.org/v2/mgo.func·008
/home/aluce/.gvm/pkgsets/go1.3/global/src/labix.org/v2/mgo/cluster.go:466 +0x14c
goroutine 27 [IO wait]:
net.runtime_pollWait(0x7fc8c2d7f658, 0x77, 0x0)
/home/aluce/.gvm/gos/go1.3/src/pkg/runtime/netpoll.goc:146 +0x66
net.(*pollDesc).Wait(0xc20802b250, 0x77, 0x0, 0x0)
/home/aluce/.gvm/gos/go1.3/src/pkg/net/fd_poll_runtime.go:84 +0x46
net.(*pollDesc).WaitWrite(0xc20802b250, 0x0, 0x0)
/home/aluce/.gvm/gos/go1.3/src/pkg/net/fd_poll_runtime.go:93 +0x42
net.(*netFD).Write(0xc20802b1f0, 0xc2080ca100, 0x3a, 0x100, 0x0, 0x7fc8c2d7e660, 0xb)
/home/aluce/.gvm/gos/go1.3/src/pkg/net/fd_unix.go:325 +0x49c
net.(*conn).Write(0xc208038100, 0xc2080ca100, 0x3a, 0x100, 0x0, 0x0, 0x0)
/home/aluce/.gvm/gos/go1.3/src/pkg/net/net.go:130 +0xe7
labix.org/v2/mgo.(*mongoSocket).Query(0xc2080ce1c0, 0x7fc8c2bedae8, 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(0xc2080ce1c0)
/home/aluce/.gvm/pkgsets/go1.3/global/src/labix.org/v2/mgo/auth.go:152 +0x257
labix.org/v2/mgo.newSocket(0xc2080ce0e0, 0x7fc8c2d7fc70, 0xc208038100, 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, 0xc2080cc240, 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, 0xc2080489c0, 0x0, 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 20.011s
--- 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(0x82ffa0, 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(0x82ffa0, 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(0x97c688, 0xce3e00, 0xb, 0xb, 0x542401)
/home/aluce/.gvm/gos/go1.3/src/pkg/testing/testing.go:505 +0x923
testing.Main(0x97c688, 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.006s
? rtb_go/lyfe-mobile/rtb_server [no test files]
# rtb_go/lyfe-mobile/ttlcache
./cache_test.go:11: unknown Cache field 'items' in struct literal
./cache_test.go:32: unknown Cache field 'items' in struct literal
./item_test.go:9: cannot use "blahblah" (type string) as type []byte in field value
./item_test.go:28: cannot use "blahblah" (type string) as type []byte in field value
FAIL rtb_go/lyfe-mobile/ttlcache [build failed]
# rtb_go/lyfe-mobile/user_cache
./cache_test.go:4: import "rtb_go/lyfe-mobile/user_cache" while compiling that package (import cycle)
FAIL rtb_go/lyfe-mobile/user_cache [build failed]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment