Giter Club home page Giter Club logo

sequoia's Issues

Building mobile test causes go panic

This is the command used

./sequoia -test tests/mobile/test_sg.yml -scope tests/mobile/scope_1sg_1cbs.yml --expose_ports --skip_teardown --skip_test --network cbl

I ran it once to get rid of the noise, and this is the result of the second run (the first run also ended in the same way but with a lot more noise). Here is the resulting output:

→ parsed tests/mobile/scope_1sg_1cbs.yml
→ parsed tests/mobile/test_sg.yml
→ Creating network: cbl
→ parsed providers/docker/options.yml
→ start couchbase http://cbs.st:8091
[2018-07-28T08:29:56+09:00, martin/wait:75a78c] -c cbs.st:8091 -t 120
[pull] appropriate/curl
[pull] sequoiatools/couchbase-cli:5.0
[2018-07-28T08:30:15+09:00, sequoiatools/couchbase-cli:a0e7ac] node-init -c cbs.st -u Administrator -p password --node-init-data-path /opt/couchbase/var/lib/couchbase/data --node-init-index-path /opt/couchbase/var/lib/couchbase/data --node-init-analytics-path /opt/couchbase/var/lib/couchbase/data
[2018-07-28T08:30:30+09:00, sequoiatools/couchbase-cli:b2e2df] cluster-init -c cbs.st --cluster-username Administrator --cluster-password password --cluster-port 8091 --cluster-ramsize 1598 --services data
[2018-07-28T08:30:33+09:00, sequoiatools/couchbase-cli:7a8e6b] user-manage -c cbs.st -u Administrator -p password --rbac-username data-bucket --rbac-password password --roles admin --auth-domain local --set
[2018-07-28T08:30:36+09:00, sequoiatools/couchbase-cli:9dd9fb] rebalance -c cbs.st -u Administrator -p password
########## Cluster config ##################

kv : 1 ===== > [172.19.0.2:8091]

[2018-07-28T08:30:42+09:00, sequoiatools/couchbase-cli:a02de0] bucket-create -c cbs.st -u Administrator -p password --bucket data-bucket --bucket-ramsize 1598 --bucket-type couchbase --bucket-replica 1 --enable-flush 1 --wait
→ parsed providers/docker/options.yml
panic: runtime error: index out of range

goroutine 1 [running]:
github.com/couchbaselabs/sequoia/lib.BuildArgsForMobileVersion(0x0, 0x0, 0x14, 0x0, 0x3)
/Users/borrrden/go/src/github.com/couchbaselabs/sequoia/lib/provider.go:918 +0x18a
github.com/couchbaselabs/sequoia/lib.(*DockerProvider).BuildMobileContainer(0xc4200dc900, 0xc4203522d0, 0x14e1f9f, 0xb, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/borrrden/go/src/github.com/couchbaselabs/sequoia/lib/provider.go:494 +0x31b
github.com/couchbaselabs/sequoia/lib.(*DockerProvider).ProvideSyncGateways(0xc4200dc900, 0xc4201b2450, 0x1, 0x1)
/Users/borrrden/go/src/github.com/couchbaselabs/sequoia/lib/provider.go:563 +0xac
github.com/couchbaselabs/sequoia/lib.(*Scope).SetupMobile(0xc420108dc0)
/Users/borrrden/go/src/github.com/couchbaselabs/sequoia/lib/scope.go:144 +0x138
github.com/couchbaselabs/sequoia/lib.(*Test).Run(0xc4200ad380, 0xc4201e0000, 0x1, 0x1, 0xc4201f4000, 0x1, 0x1, 0xc4201b2450, 0x1, 0x1, ...)
/Users/borrrden/go/src/github.com/couchbaselabs/sequoia/lib/test.go:189 +0x134
main.main()
/Users/borrrden/go/src/github.com/couchbaselabs/sequoia/run.go:17 +0x222

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.